~ubuntu-branches/debian/squeeze/libxss/squeeze

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau, Brice Goglin, Julien Cristau
  • Date: 2008-03-21 12:26:06 UTC
  • mfrom: (1.1.2 upstream) (2.1.7 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080321122606-svh7vdso7fwv4t6t
Tags: 1:1.1.3-1
[ Brice Goglin ]
* Add upstream URL to debian/copyright.
* Replace the obsolete ${Source-Version} with ${binary:Version}.

[ Julien Cristau ]
* New upstream release.
* Update debian/copyright from upstream's new COPYING file.
* Remove Branden from Uploaders with his permission, and add myself.
* Don't build-depend on packages with a -1 debian revision.
* Bump Standards-Version to 3.7.3.
* Drop the XS- prefix from Vcs-* control fields.

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 libXScrnSaver 1.1.0.
 
3
# Generated by GNU Autoconf 2.61 for libXScrnSaver 1.1.3.
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='libXScrnSaver'
425
730
PACKAGE_TARNAME='libXScrnSaver'
426
 
PACKAGE_VERSION='1.1.0'
427
 
PACKAGE_STRING='libXScrnSaver 1.1.0'
 
731
PACKAGE_VERSION='1.1.3'
 
732
PACKAGE_STRING='libXScrnSaver 1.1.3'
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 XSCRNSAVER_CFLAGS XSCRNSAVER_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
am__isrc
 
812
CYGPATH_W
 
813
PACKAGE
 
814
VERSION
 
815
ACLOCAL
 
816
AUTOCONF
 
817
AUTOMAKE
 
818
AUTOHEADER
 
819
MAKEINFO
 
820
install_sh
 
821
STRIP
 
822
INSTALL_STRIP_PROGRAM
 
823
mkdir_p
 
824
AWK
 
825
SET_MAKE
 
826
am__leading_dot
 
827
AMTAR
 
828
am__tar
 
829
am__untar
 
830
MAINTAINER_MODE_TRUE
 
831
MAINTAINER_MODE_FALSE
 
832
MAINT
 
833
CC
 
834
CFLAGS
 
835
LDFLAGS
 
836
CPPFLAGS
 
837
ac_ct_CC
 
838
EXEEXT
 
839
OBJEXT
 
840
DEPDIR
 
841
am__include
 
842
am__quote
 
843
AMDEP_TRUE
 
844
AMDEP_FALSE
 
845
AMDEPBACKSLASH
 
846
CCDEPMODE
 
847
am__fastdepCC_TRUE
 
848
am__fastdepCC_FALSE
 
849
build
 
850
build_cpu
 
851
build_vendor
 
852
build_os
 
853
host
 
854
host_cpu
 
855
host_vendor
 
856
host_os
 
857
SED
 
858
GREP
 
859
EGREP
 
860
LN_S
 
861
ECHO
 
862
AR
 
863
RANLIB
 
864
DSYMUTIL
 
865
NMEDIT
 
866
CPP
 
867
CXX
 
868
CXXFLAGS
 
869
ac_ct_CXX
 
870
CXXDEPMODE
 
871
am__fastdepCXX_TRUE
 
872
am__fastdepCXX_FALSE
 
873
CXXCPP
 
874
F77
 
875
FFLAGS
 
876
ac_ct_F77
 
877
LIBTOOL
 
878
PKG_CONFIG
 
879
XSCRNSAVER_CFLAGS
 
880
XSCRNSAVER_LIBS
 
881
LINT
 
882
LINT_FLAGS
 
883
LINT_TRUE
 
884
LINT_FALSE
 
885
LINTLIB
 
886
MAKE_LINT_LIB_TRUE
 
887
MAKE_LINT_LIB_FALSE
 
888
MALLOC_ZERO_CFLAGS
 
889
XMALLOC_ZERO_CFLAGS
 
890
XTMALLOC_ZERO_CFLAGS
 
891
APP_MAN_SUFFIX
 
892
LIB_MAN_SUFFIX
 
893
FILE_MAN_SUFFIX
 
894
MISC_MAN_SUFFIX
 
895
DRIVER_MAN_SUFFIX
 
896
ADMIN_MAN_SUFFIX
 
897
APP_MAN_DIR
 
898
LIB_MAN_DIR
 
899
FILE_MAN_DIR
 
900
MISC_MAN_DIR
 
901
DRIVER_MAN_DIR
 
902
ADMIN_MAN_DIR
 
903
LIBOBJS
 
904
LTLIBOBJS'
468
905
ac_subst_files=''
 
906
      ac_precious_vars='build_alias
 
907
host_alias
 
908
target_alias
 
909
CC
 
910
CFLAGS
 
911
LDFLAGS
 
912
LIBS
 
913
CPPFLAGS
 
914
CPP
 
915
CXX
 
916
CXXFLAGS
 
917
CCC
 
918
CXXCPP
 
919
F77
 
920
FFLAGS
 
921
PKG_CONFIG
 
922
XSCRNSAVER_CFLAGS
 
923
XSCRNSAVER_LIBS'
 
924
 
469
925
 
470
926
# Initialize some variables set by options.
471
927
ac_init_help=
492
948
# and all the variables that are supposed to be based on exec_prefix
493
949
# by default will actually change.
494
950
# Use braces instead of parens because sh, perl, etc. also accept them.
 
951
# (The list follows the same order as the GNU Coding Standards.)
495
952
bindir='${exec_prefix}/bin'
496
953
sbindir='${exec_prefix}/sbin'
497
954
libexecdir='${exec_prefix}/libexec'
498
 
datadir='${prefix}/share'
 
955
datarootdir='${prefix}/share'
 
956
datadir='${datarootdir}'
499
957
sysconfdir='${prefix}/etc'
500
958
sharedstatedir='${prefix}/com'
501
959
localstatedir='${prefix}/var'
502
 
libdir='${exec_prefix}/lib'
503
960
includedir='${prefix}/include'
504
961
oldincludedir='/usr/include'
505
 
infodir='${prefix}/info'
506
 
mandir='${prefix}/man'
 
962
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
963
infodir='${datarootdir}/info'
 
964
htmldir='${docdir}'
 
965
dvidir='${docdir}'
 
966
pdfdir='${docdir}'
 
967
psdir='${docdir}'
 
968
libdir='${exec_prefix}/lib'
 
969
localedir='${datarootdir}/locale'
 
970
mandir='${datarootdir}/man'
507
971
 
508
972
ac_prev=
 
973
ac_dashdash=
509
974
for ac_option
510
975
do
511
976
  # If the previous option needs an argument, assign it.
512
977
  if test -n "$ac_prev"; then
513
 
    eval "$ac_prev=\$ac_option"
 
978
    eval $ac_prev=\$ac_option
514
979
    ac_prev=
515
980
    continue
516
981
  fi
517
982
 
518
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
983
  case $ac_option in
 
984
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
985
  *)    ac_optarg=yes ;;
 
986
  esac
519
987
 
520
988
  # Accept the important Cygnus configure options, so we can diagnose typos.
521
989
 
522
 
  case $ac_option in
 
990
  case $ac_dashdash$ac_option in
 
991
  --)
 
992
    ac_dashdash=yes ;;
523
993
 
524
994
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
525
995
    ac_prev=bindir ;;
541
1011
  --config-cache | -C)
542
1012
    cache_file=config.cache ;;
543
1013
 
544
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1014
  -datadir | --datadir | --datadi | --datad)
545
1015
    ac_prev=datadir ;;
546
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
547
 
  | --da=*)
 
1016
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
548
1017
    datadir=$ac_optarg ;;
549
1018
 
 
1019
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1020
  | --dataroo | --dataro | --datar)
 
1021
    ac_prev=datarootdir ;;
 
1022
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1023
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1024
    datarootdir=$ac_optarg ;;
 
1025
 
550
1026
  -disable-* | --disable-*)
551
1027
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552
1028
    # Reject names that are not valid shell variable names.
553
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1029
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
554
1030
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555
1031
   { (exit 1); exit 1; }; }
556
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557
 
    eval "enable_$ac_feature=no" ;;
 
1032
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1033
    eval enable_$ac_feature=no ;;
 
1034
 
 
1035
  -docdir | --docdir | --docdi | --doc | --do)
 
1036
    ac_prev=docdir ;;
 
1037
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1038
    docdir=$ac_optarg ;;
 
1039
 
 
1040
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1041
    ac_prev=dvidir ;;
 
1042
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1043
    dvidir=$ac_optarg ;;
558
1044
 
559
1045
  -enable-* | --enable-*)
560
1046
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561
1047
    # Reject names that are not valid shell variable names.
562
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1048
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
563
1049
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564
1050
   { (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'" ;;
 
1051
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
 
1052
    eval enable_$ac_feature=\$ac_optarg ;;
571
1053
 
572
1054
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573
1055
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
594
1076
  -host=* | --host=* | --hos=* | --ho=*)
595
1077
    host_alias=$ac_optarg ;;
596
1078
 
 
1079
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1080
    ac_prev=htmldir ;;
 
1081
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1082
  | --ht=*)
 
1083
    htmldir=$ac_optarg ;;
 
1084
 
597
1085
  -includedir | --includedir | --includedi | --included | --include \
598
1086
  | --includ | --inclu | --incl | --inc)
599
1087
    ac_prev=includedir ;;
618
1106
  | --libexe=* | --libex=* | --libe=*)
619
1107
    libexecdir=$ac_optarg ;;
620
1108
 
 
1109
  -localedir | --localedir | --localedi | --localed | --locale)
 
1110
    ac_prev=localedir ;;
 
1111
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1112
    localedir=$ac_optarg ;;
 
1113
 
621
1114
  -localstatedir | --localstatedir | --localstatedi | --localstated \
622
 
  | --localstate | --localstat | --localsta | --localst \
623
 
  | --locals | --local | --loca | --loc | --lo)
 
1115
  | --localstate | --localstat | --localsta | --localst | --locals)
624
1116
    ac_prev=localstatedir ;;
625
1117
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1118
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
628
1119
    localstatedir=$ac_optarg ;;
629
1120
 
630
1121
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
689
1180
  | --progr-tra=* | --program-tr=* | --program-t=*)
690
1181
    program_transform_name=$ac_optarg ;;
691
1182
 
 
1183
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1184
    ac_prev=pdfdir ;;
 
1185
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1186
    pdfdir=$ac_optarg ;;
 
1187
 
 
1188
  -psdir | --psdir | --psdi | --psd | --ps)
 
1189
    ac_prev=psdir ;;
 
1190
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1191
    psdir=$ac_optarg ;;
 
1192
 
692
1193
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693
1194
  | -silent | --silent | --silen | --sile | --sil)
694
1195
    silent=yes ;;
741
1242
  -with-* | --with-*)
742
1243
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743
1244
    # Reject names that are not valid shell variable names.
744
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1245
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
745
1246
      { echo "$as_me: error: invalid package name: $ac_package" >&2
746
1247
   { (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'" ;;
 
1248
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1249
    eval with_$ac_package=\$ac_optarg ;;
753
1250
 
754
1251
  -without-* | --without-*)
755
1252
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756
1253
    # Reject names that are not valid shell variable names.
757
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1254
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
758
1255
      { echo "$as_me: error: invalid package name: $ac_package" >&2
759
1256
   { (exit 1); exit 1; }; }
760
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
761
 
    eval "with_$ac_package=no" ;;
 
1257
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
 
1258
    eval with_$ac_package=no ;;
762
1259
 
763
1260
  --x)
764
1261
    # Obsolete; use --with-x.
789
1286
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790
1287
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791
1288
   { (exit 1); exit 1; }; }
792
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793
 
    eval "$ac_envvar='$ac_optarg'"
 
1289
    eval $ac_envvar=\$ac_optarg
794
1290
    export $ac_envvar ;;
795
1291
 
796
1292
  *)
810
1306
   { (exit 1); exit 1; }; }
811
1307
fi
812
1308
 
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
 
1309
# Be sure to have absolute directory names.
 
1310
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1311
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1312
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1313
                libdir localedir mandir
 
1314
do
 
1315
  eval ac_val=\$$ac_var
 
1316
  case $ac_val in
 
1317
    [\\/$]* | ?:[\\/]* )  continue;;
 
1318
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1319
  esac
 
1320
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1321
   { (exit 1); exit 1; }; }
834
1322
done
835
1323
 
836
1324
# There might be people who depend on the old broken behavior: `$host'
857
1345
test "$silent" = yes && exec 6>/dev/null
858
1346
 
859
1347
 
 
1348
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1349
ac_ls_di=`ls -di .` &&
 
1350
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1351
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1352
   { (exit 1); exit 1; }; }
 
1353
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1354
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1355
   { (exit 1); exit 1; }; }
 
1356
 
 
1357
 
860
1358
# Find the source files, if location was not specified.
861
1359
if test -z "$srcdir"; then
862
1360
  ac_srcdir_defaulted=yes
863
 
  # Try the directory containing this script, then its parent.
864
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
 
1361
  # Try the directory containing this script, then the parent directory.
 
1362
  ac_confdir=`$as_dirname -- "$0" ||
865
1363
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866
1364
         X"$0" : 'X\(//\)[^/]' \| \
867
1365
         X"$0" : 'X\(//\)$' \| \
868
 
         X"$0" : 'X\(/\)' \| \
869
 
         .     : '\(.\)' 2>/dev/null ||
 
1366
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
1367
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'`
 
1368
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1369
            s//\1/
 
1370
            q
 
1371
          }
 
1372
          /^X\(\/\/\)[^/].*/{
 
1373
            s//\1/
 
1374
            q
 
1375
          }
 
1376
          /^X\(\/\/\)$/{
 
1377
            s//\1/
 
1378
            q
 
1379
          }
 
1380
          /^X\(\/\).*/{
 
1381
            s//\1/
 
1382
            q
 
1383
          }
 
1384
          s/.*/./; q'`
876
1385
  srcdir=$ac_confdir
877
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1386
  if test ! -r "$srcdir/$ac_unique_file"; then
878
1387
    srcdir=..
879
1388
  fi
880
1389
else
881
1390
  ac_srcdir_defaulted=no
882
1391
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_XSCRNSAVER_CFLAGS_set=${XSCRNSAVER_CFLAGS+set}
953
 
ac_env_XSCRNSAVER_CFLAGS_value=$XSCRNSAVER_CFLAGS
954
 
ac_cv_env_XSCRNSAVER_CFLAGS_set=${XSCRNSAVER_CFLAGS+set}
955
 
ac_cv_env_XSCRNSAVER_CFLAGS_value=$XSCRNSAVER_CFLAGS
956
 
ac_env_XSCRNSAVER_LIBS_set=${XSCRNSAVER_LIBS+set}
957
 
ac_env_XSCRNSAVER_LIBS_value=$XSCRNSAVER_LIBS
958
 
ac_cv_env_XSCRNSAVER_LIBS_set=${XSCRNSAVER_LIBS+set}
959
 
ac_cv_env_XSCRNSAVER_LIBS_value=$XSCRNSAVER_LIBS
 
1392
if test ! -r "$srcdir/$ac_unique_file"; then
 
1393
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1394
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1395
   { (exit 1); exit 1; }; }
 
1396
fi
 
1397
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1398
ac_abs_confdir=`(
 
1399
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1400
   { (exit 1); exit 1; }; }
 
1401
        pwd)`
 
1402
# When building in place, set srcdir=.
 
1403
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1404
  srcdir=.
 
1405
fi
 
1406
# Remove unnecessary trailing slashes from srcdir.
 
1407
# Double slashes in file names in object file debugging info
 
1408
# mess up M-x gdb in Emacs.
 
1409
case $srcdir in
 
1410
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1411
esac
 
1412
for ac_var in $ac_precious_vars; do
 
1413
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1414
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1415
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1416
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1417
done
960
1418
 
961
1419
#
962
1420
# Report the --help message.
965
1423
  # Omit some internal or obsolete options to make the list less imposing.
966
1424
  # This message is too long to be a string in the A/UX 3.1 sh.
967
1425
  cat <<_ACEOF
968
 
\`configure' configures libXScrnSaver 1.1.0 to adapt to many kinds of systems.
 
1426
\`configure' configures libXScrnSaver 1.1.3 to adapt to many kinds of systems.
969
1427
 
970
1428
Usage: $0 [OPTION]... [VAR=VALUE]...
971
1429
 
985
1443
  -n, --no-create         do not create output files
986
1444
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
987
1445
 
988
 
_ACEOF
989
 
 
990
 
  cat <<_ACEOF
991
1446
Installation directories:
992
1447
  --prefix=PREFIX         install architecture-independent files in PREFIX
993
1448
                          [$ac_default_prefix]
1005
1460
  --bindir=DIR           user executables [EPREFIX/bin]
1006
1461
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1007
1462
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1008
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1009
1463
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1010
1464
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1011
1465
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1012
1466
  --libdir=DIR           object code libraries [EPREFIX/lib]
1013
1467
  --includedir=DIR       C header files [PREFIX/include]
1014
1468
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1015
 
  --infodir=DIR          info documentation [PREFIX/info]
1016
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1469
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
 
1470
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
 
1471
  --infodir=DIR          info documentation [DATAROOTDIR/info]
 
1472
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
 
1473
  --mandir=DIR           man documentation [DATAROOTDIR/man]
 
1474
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libXScrnSaver]
 
1475
  --htmldir=DIR          html documentation [DOCDIR]
 
1476
  --dvidir=DIR           dvi documentation [DOCDIR]
 
1477
  --pdfdir=DIR           pdf documentation [DOCDIR]
 
1478
  --psdir=DIR            ps documentation [DOCDIR]
1017
1479
_ACEOF
1018
1480
 
1019
1481
  cat <<\_ACEOF
1031
1493
 
1032
1494
if test -n "$ac_init_help"; then
1033
1495
  case $ac_init_help in
1034
 
     short | recursive ) echo "Configuration of libXScrnSaver 1.1.0:";;
 
1496
     short | recursive ) echo "Configuration of libXScrnSaver 1.1.3:";;
1035
1497
   esac
1036
1498
  cat <<\_ACEOF
1037
1499
 
1042
1504
                          (and sometimes confusing) to the casual installer
1043
1505
  --disable-dependency-tracking  speeds up one-time build
1044
1506
  --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]
 
1507
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1508
  --enable-static[=PKGS]  build static libraries [default=yes]
1049
1509
  --enable-fast-install[=PKGS]
1050
1510
                          optimize for fast installation [default=yes]
1051
1511
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
1512
  --enable-lint-library   Create lint library (default: disabled)
1052
1513
  --enable-malloc0returnsnull
1053
1514
                          malloc(0) returns NULL (default: auto)
1054
1515
 
1058
1519
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1059
1520
  --with-pic              try to use only PIC/non-PIC objects [default=use
1060
1521
                          both]
1061
 
  --with-tags[=TAGS]
1062
 
                          include additional configurations [automatic]
 
1522
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1523
  --with-lint             Use a lint-style source code checker (default:
 
1524
                          disabled)
1063
1525
  --with-release-version=STRING
1064
1526
                          Use release version string in package name
1065
1527
 
1068
1530
  CFLAGS      C compiler flags
1069
1531
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1070
1532
              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>
 
1533
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1534
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1535
              you have headers in a nonstandard directory <include dir>
1073
1536
  CPP         C preprocessor
1074
1537
  CXX         C++ compiler command
1075
1538
  CXXFLAGS    C++ compiler flags
1087
1550
 
1088
1551
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
1089
1552
_ACEOF
 
1553
ac_status=$?
1090
1554
fi
1091
1555
 
1092
1556
if test "$ac_init_help" = "recursive"; then
1093
1557
  # If there are subdirs, report their specific --help.
1094
 
  ac_popdir=`pwd`
1095
1558
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1096
 
    test -d $ac_dir || continue
 
1559
    test -d "$ac_dir" || continue
1097
1560
    ac_builddir=.
1098
1561
 
1099
 
if test "$ac_dir" != .; then
 
1562
case "$ac_dir" in
 
1563
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1564
*)
1100
1565
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1101
 
  # A "../" for each directory in $ac_dir_suffix.
1102
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1103
 
else
1104
 
  ac_dir_suffix= ac_top_builddir=
1105
 
fi
 
1566
  # A ".." for each directory in $ac_dir_suffix.
 
1567
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1568
  case $ac_top_builddir_sub in
 
1569
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1570
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1571
  esac ;;
 
1572
esac
 
1573
ac_abs_top_builddir=$ac_pwd
 
1574
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1575
# for backward compatibility:
 
1576
ac_top_builddir=$ac_top_build_prefix
1106
1577
 
1107
1578
case $srcdir in
1108
 
  .)  # No --srcdir option.  We are building in place.
 
1579
  .)  # We are building in place.
1109
1580
    ac_srcdir=.
1110
 
    if test -z "$ac_top_builddir"; then
1111
 
       ac_top_srcdir=.
1112
 
    else
1113
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1114
 
    fi ;;
1115
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1581
    ac_top_srcdir=$ac_top_builddir_sub
 
1582
    ac_abs_top_srcdir=$ac_pwd ;;
 
1583
  [\\/]* | ?:[\\/]* )  # Absolute name.
1116
1584
    ac_srcdir=$srcdir$ac_dir_suffix;
1117
 
    ac_top_srcdir=$srcdir ;;
1118
 
  *) # Relative path.
1119
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1120
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1121
 
esac
1122
 
 
1123
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1124
 
# the directories may not exist.
1125
 
case `pwd` in
1126
 
.) ac_abs_builddir="$ac_dir";;
1127
 
*)
1128
 
  case "$ac_dir" in
1129
 
  .) ac_abs_builddir=`pwd`;;
1130
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1131
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1132
 
  esac;;
1133
 
esac
1134
 
case $ac_abs_builddir in
1135
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1136
 
*)
1137
 
  case ${ac_top_builddir}. in
1138
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1139
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1140
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1141
 
  esac;;
1142
 
esac
1143
 
case $ac_abs_builddir in
1144
 
.) ac_abs_srcdir=$ac_srcdir;;
1145
 
*)
1146
 
  case $ac_srcdir in
1147
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1148
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1149
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1150
 
  esac;;
1151
 
esac
1152
 
case $ac_abs_builddir in
1153
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1154
 
*)
1155
 
  case $ac_top_srcdir in
1156
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1157
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1158
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1159
 
  esac;;
1160
 
esac
1161
 
 
1162
 
    cd $ac_dir
1163
 
    # Check for guested configure; otherwise get Cygnus style configure.
1164
 
    if test -f $ac_srcdir/configure.gnu; then
1165
 
      echo
1166
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1167
 
    elif test -f $ac_srcdir/configure; then
1168
 
      echo
1169
 
      $SHELL $ac_srcdir/configure  --help=recursive
1170
 
    elif test -f $ac_srcdir/configure.ac ||
1171
 
           test -f $ac_srcdir/configure.in; then
1172
 
      echo
1173
 
      $ac_configure --help
 
1585
    ac_top_srcdir=$srcdir
 
1586
    ac_abs_top_srcdir=$srcdir ;;
 
1587
  *) # Relative name.
 
1588
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1589
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1590
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1591
esac
 
1592
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1593
 
 
1594
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1595
    # Check for guested configure.
 
1596
    if test -f "$ac_srcdir/configure.gnu"; then
 
1597
      echo &&
 
1598
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1599
    elif test -f "$ac_srcdir/configure"; then
 
1600
      echo &&
 
1601
      $SHELL "$ac_srcdir/configure" --help=recursive
1174
1602
    else
1175
1603
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1176
 
    fi
1177
 
    cd $ac_popdir
 
1604
    fi || ac_status=$?
 
1605
    cd "$ac_pwd" || { ac_status=$?; break; }
1178
1606
  done
1179
1607
fi
1180
1608
 
1181
 
test -n "$ac_init_help" && exit 0
 
1609
test -n "$ac_init_help" && exit $ac_status
1182
1610
if $ac_init_version; then
1183
1611
  cat <<\_ACEOF
1184
 
libXScrnSaver configure 1.1.0
1185
 
generated by GNU Autoconf 2.59
 
1612
libXScrnSaver configure 1.1.3
 
1613
generated by GNU Autoconf 2.61
1186
1614
 
1187
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1615
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1616
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1188
1617
This configure script is free software; the Free Software Foundation
1189
1618
gives unlimited permission to copy, distribute and modify it.
1190
1619
_ACEOF
1191
 
  exit 0
 
1620
  exit
1192
1621
fi
1193
 
exec 5>config.log
1194
 
cat >&5 <<_ACEOF
 
1622
cat >config.log <<_ACEOF
1195
1623
This file contains any messages produced by compilers while
1196
1624
running configure, to aid debugging if configure makes a mistake.
1197
1625
 
1198
 
It was created by libXScrnSaver $as_me 1.1.0, which was
1199
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1626
It was created by libXScrnSaver $as_me 1.1.3, which was
 
1627
generated by GNU Autoconf 2.61.  Invocation command line was
1200
1628
 
1201
1629
  $ $0 $@
1202
1630
 
1203
1631
_ACEOF
 
1632
exec 5>>config.log
1204
1633
{
1205
1634
cat <<_ASUNAME
1206
1635
## --------- ##
1219
1648
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1220
1649
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1221
1650
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1222
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1651
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1223
1652
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1224
1653
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1225
1654
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1233
1662
  test -z "$as_dir" && as_dir=.
1234
1663
  echo "PATH: $as_dir"
1235
1664
done
 
1665
IFS=$as_save_IFS
1236
1666
 
1237
1667
} >&5
1238
1668
 
1254
1684
ac_configure_args=
1255
1685
ac_configure_args0=
1256
1686
ac_configure_args1=
1257
 
ac_sep=
1258
1687
ac_must_keep_next=false
1259
1688
for ac_pass in 1 2
1260
1689
do
1265
1694
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1266
1695
    | -silent | --silent | --silen | --sile | --sil)
1267
1696
      continue ;;
1268
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
 
1697
    *\'*)
1269
1698
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1270
1699
    esac
1271
1700
    case $ac_pass in
1287
1716
          -* ) ac_must_keep_next=true ;;
1288
1717
        esac
1289
1718
      fi
1290
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1291
 
      # Get rid of the leading space.
1292
 
      ac_sep=" "
 
1719
      ac_configure_args="$ac_configure_args '$ac_arg'"
1293
1720
      ;;
1294
1721
    esac
1295
1722
  done
1300
1727
# When interrupted or exit'd, cleanup temporary files, and complete
1301
1728
# config.log.  We remove comments because anyway the quotes in there
1302
1729
# would cause problems or look ugly.
1303
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1304
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1730
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1731
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1305
1732
trap 'exit_status=$?
1306
1733
  # Save into config.log some information that might help in debugging.
1307
1734
  {
1314
1741
_ASBOX
1315
1742
    echo
1316
1743
    # The following way of writing the cache mishandles newlines in values,
1317
 
{
 
1744
(
 
1745
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1746
    eval ac_val=\$$ac_var
 
1747
    case $ac_val in #(
 
1748
    *${as_nl}*)
 
1749
      case $ac_var in #(
 
1750
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
1751
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1752
      esac
 
1753
      case $ac_var in #(
 
1754
      _ | IFS | as_nl) ;; #(
 
1755
      *) $as_unset $ac_var ;;
 
1756
      esac ;;
 
1757
    esac
 
1758
  done
1318
1759
  (set) 2>&1 |
1319
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1320
 
    *ac_space=\ *)
 
1760
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1761
    *${as_nl}ac_space=\ *)
1321
1762
      sed -n \
1322
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1323
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1324
 
      ;;
 
1763
        "s/'\''/'\''\\\\'\'''\''/g;
 
1764
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1765
      ;; #(
1325
1766
    *)
1326
 
      sed -n \
1327
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1767
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1328
1768
      ;;
1329
 
    esac;
1330
 
}
 
1769
    esac |
 
1770
    sort
 
1771
)
1331
1772
    echo
1332
1773
 
1333
1774
    cat <<\_ASBOX
1338
1779
    echo
1339
1780
    for ac_var in $ac_subst_vars
1340
1781
    do
1341
 
      eval ac_val=$`echo $ac_var`
1342
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1782
      eval ac_val=\$$ac_var
 
1783
      case $ac_val in
 
1784
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1785
      esac
 
1786
      echo "$ac_var='\''$ac_val'\''"
1343
1787
    done | sort
1344
1788
    echo
1345
1789
 
1346
1790
    if test -n "$ac_subst_files"; then
1347
1791
      cat <<\_ASBOX
1348
 
## ------------- ##
1349
 
## Output files. ##
1350
 
## ------------- ##
 
1792
## ------------------- ##
 
1793
## File substitutions. ##
 
1794
## ------------------- ##
1351
1795
_ASBOX
1352
1796
      echo
1353
1797
      for ac_var in $ac_subst_files
1354
1798
      do
1355
 
        eval ac_val=$`echo $ac_var`
1356
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1799
        eval ac_val=\$$ac_var
 
1800
        case $ac_val in
 
1801
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1802
        esac
 
1803
        echo "$ac_var='\''$ac_val'\''"
1357
1804
      done | sort
1358
1805
      echo
1359
1806
    fi
1365
1812
## ----------- ##
1366
1813
_ASBOX
1367
1814
      echo
1368
 
      sed "/^$/d" confdefs.h | sort
 
1815
      cat confdefs.h
1369
1816
      echo
1370
1817
    fi
1371
1818
    test "$ac_signal" != 0 &&
1372
1819
      echo "$as_me: caught signal $ac_signal"
1373
1820
    echo "$as_me: exit $exit_status"
1374
1821
  } >&5
1375
 
  rm -f core *.core &&
1376
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1822
  rm -f core *.core core.conftest.* &&
 
1823
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1377
1824
    exit $exit_status
1378
 
     ' 0
 
1825
' 0
1379
1826
for ac_signal in 1 2 13 15; do
1380
1827
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1381
1828
done
1382
1829
ac_signal=0
1383
1830
 
1384
1831
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1385
 
rm -rf conftest* confdefs.h
1386
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1387
 
echo >confdefs.h
 
1832
rm -f -r conftest* confdefs.h
1388
1833
 
1389
1834
# Predefined preprocessor variables.
1390
1835
 
1415
1860
 
1416
1861
# Let the site file select an alternate cache file if it wants to.
1417
1862
# Prefer explicitly selected file to automatically selected ones.
1418
 
if test -z "$CONFIG_SITE"; then
1419
 
  if test "x$prefix" != xNONE; then
1420
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1421
 
  else
1422
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1423
 
  fi
 
1863
if test -n "$CONFIG_SITE"; then
 
1864
  set x "$CONFIG_SITE"
 
1865
elif test "x$prefix" != xNONE; then
 
1866
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1867
else
 
1868
  set x "$ac_default_prefix/share/config.site" \
 
1869
        "$ac_default_prefix/etc/config.site"
1424
1870
fi
1425
 
for ac_site_file in $CONFIG_SITE; do
 
1871
shift
 
1872
for ac_site_file
 
1873
do
1426
1874
  if test -r "$ac_site_file"; then
1427
1875
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1428
1876
echo "$as_me: loading site script $ac_site_file" >&6;}
1438
1886
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1439
1887
echo "$as_me: loading cache $cache_file" >&6;}
1440
1888
    case $cache_file in
1441
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1442
 
      *)                      . ./$cache_file;;
 
1889
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
1890
      *)                      . "./$cache_file";;
1443
1891
    esac
1444
1892
  fi
1445
1893
else
1451
1899
# Check that the precious variables saved in the cache have kept the same
1452
1900
# value.
1453
1901
ac_cache_corrupted=false
1454
 
for ac_var in `(set) 2>&1 |
1455
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
1902
for ac_var in $ac_precious_vars; do
1456
1903
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1457
1904
  eval ac_new_set=\$ac_env_${ac_var}_set
1458
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1459
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
1905
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
1906
  eval ac_new_val=\$ac_env_${ac_var}_value
1460
1907
  case $ac_old_set,$ac_new_set in
1461
1908
    set,)
1462
1909
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1481
1928
  # Pass precious variables to config.status.
1482
1929
  if test "$ac_new_set" = set; then
1483
1930
    case $ac_new_val in
1484
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1485
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1931
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1486
1932
    *) ac_arg=$ac_var=$ac_new_val ;;
1487
1933
    esac
1488
1934
    case " $ac_configure_args " in
1499
1945
   { (exit 1); exit 1; }; }
1500
1946
fi
1501
1947
 
 
1948
 
 
1949
 
 
1950
 
 
1951
 
 
1952
 
 
1953
 
 
1954
 
 
1955
 
 
1956
 
 
1957
 
 
1958
 
 
1959
 
 
1960
 
 
1961
 
 
1962
 
 
1963
 
 
1964
 
 
1965
 
 
1966
 
 
1967
 
 
1968
 
 
1969
 
 
1970
 
 
1971
 
1502
1972
ac_ext=c
1503
1973
ac_cpp='$CPP $CPPFLAGS'
1504
1974
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1506
1976
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1507
1977
 
1508
1978
 
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
 
 
1534
 
am__api_version="1.9"
 
1979
am__api_version='1.10'
 
1980
 
1535
1981
ac_aux_dir=
1536
 
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1537
 
  if test -f $ac_dir/install-sh; then
 
1982
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
1983
  if test -f "$ac_dir/install-sh"; then
1538
1984
    ac_aux_dir=$ac_dir
1539
1985
    ac_install_sh="$ac_aux_dir/install-sh -c"
1540
1986
    break
1541
 
  elif test -f $ac_dir/install.sh; then
 
1987
  elif test -f "$ac_dir/install.sh"; then
1542
1988
    ac_aux_dir=$ac_dir
1543
1989
    ac_install_sh="$ac_aux_dir/install.sh -c"
1544
1990
    break
1545
 
  elif test -f $ac_dir/shtool; then
 
1991
  elif test -f "$ac_dir/shtool"; then
1546
1992
    ac_aux_dir=$ac_dir
1547
1993
    ac_install_sh="$ac_aux_dir/shtool install -c"
1548
1994
    break
1549
1995
  fi
1550
1996
done
1551
1997
if test -z "$ac_aux_dir"; then
1552
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1553
 
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
 
1998
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
1999
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1554
2000
   { (exit 1); exit 1; }; }
1555
2001
fi
1556
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1557
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1558
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
 
2002
 
 
2003
# These three variables are undocumented and unsupported,
 
2004
# and are intended to be withdrawn in a future Autoconf release.
 
2005
# They can cause serious problems if a builder's source tree is in a directory
 
2006
# whose full name contains unusual characters.
 
2007
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2008
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2009
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2010
 
1559
2011
 
1560
2012
# Find a good install program.  We prefer a C program (faster),
1561
2013
# so one script is as good as another.  But avoid the broken or
1570
2022
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1571
2023
# OS/2's system install, which has a completely different semantic
1572
2024
# ./install, which can be erroneously created by make from ./install.sh.
1573
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1574
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2025
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2026
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1575
2027
if test -z "$INSTALL"; then
1576
2028
if test "${ac_cv_path_install+set}" = set; then
1577
2029
  echo $ECHO_N "(cached) $ECHO_C" >&6
1593
2045
    # by default.
1594
2046
    for ac_prog in ginstall scoinst install; do
1595
2047
      for ac_exec_ext in '' $ac_executable_extensions; do
1596
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2048
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1597
2049
          if test $ac_prog = install &&
1598
2050
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1599
2051
            # AIX install.  It has an incompatible calling convention.
1612
2064
    ;;
1613
2065
esac
1614
2066
done
 
2067
IFS=$as_save_IFS
1615
2068
 
1616
2069
 
1617
2070
fi
1618
2071
  if test "${ac_cv_path_install+set}" = set; then
1619
2072
    INSTALL=$ac_cv_path_install
1620
2073
  else
1621
 
    # As a last resort, use the slow shell script.  We don't cache a
1622
 
    # path for INSTALL within a source directory, because that will
 
2074
    # As a last resort, use the slow shell script.  Don't cache a
 
2075
    # value for INSTALL within a source directory, because that will
1623
2076
    # break other packages using the cache if that directory is
1624
 
    # removed, or if the path is relative.
 
2077
    # removed, or if the value is a relative name.
1625
2078
    INSTALL=$ac_install_sh
1626
2079
  fi
1627
2080
fi
1628
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1629
 
echo "${ECHO_T}$INSTALL" >&6
 
2081
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2082
echo "${ECHO_T}$INSTALL" >&6; }
1630
2083
 
1631
2084
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1632
2085
# It thinks the first close brace ends the variable substitution.
1636
2089
 
1637
2090
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1638
2091
 
1639
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1640
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2092
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2093
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1641
2094
# Just in case
1642
2095
sleep 1
1643
2096
echo timestamp > conftest.file
1679
2132
Check your system clock" >&2;}
1680
2133
   { (exit 1); exit 1; }; }
1681
2134
fi
1682
 
echo "$as_me:$LINENO: result: yes" >&5
1683
 
echo "${ECHO_T}yes" >&6
 
2135
{ echo "$as_me:$LINENO: result: yes" >&5
 
2136
echo "${ECHO_T}yes" >&6; }
1684
2137
test "$program_prefix" != NONE &&
1685
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2138
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1686
2139
# Use a double $ so make ignores it.
1687
2140
test "$program_suffix" != NONE &&
1688
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
 
2141
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1689
2142
# Double any \ or $.  echo might interpret backslashes.
1690
2143
# By default was `s,x,x', remove it if useless.
1691
2144
cat <<\_ACEOF >conftest.sed
1692
2145
s/[\\$]/&&/g;s/;s,x,x,$//
1693
2146
_ACEOF
1694
2147
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1695
 
rm conftest.sed
 
2148
rm -f conftest.sed
1696
2149
 
1697
2150
# expand $ac_aux_dir to an absolute path
1698
2151
am_aux_dir=`cd $ac_aux_dir && pwd`
1707
2160
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1708
2161
fi
1709
2162
 
1710
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1711
 
  # We used to keeping the `.' as first argument, in order to
1712
 
  # allow $(mkdir_p) to be used without argument.  As in
1713
 
  #   $(mkdir_p) $(somedir)
1714
 
  # where $(somedir) is conditionally defined.  However this is wrong
1715
 
  # for two reasons:
1716
 
  #  1. if the package is installed by a user who cannot write `.'
1717
 
  #     make install will fail,
1718
 
  #  2. the above comment should most certainly read
1719
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1720
 
  #     so it does not work when $(somedir) is undefined and
1721
 
  #     $(DESTDIR) is not.
1722
 
  #  To support the latter case, we have to write
1723
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1724
 
  #  so the `.' trick is pointless.
1725
 
  mkdir_p='mkdir -p --'
 
2163
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2164
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2165
if test -z "$MKDIR_P"; then
 
2166
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2167
  echo $ECHO_N "(cached) $ECHO_C" >&6
1726
2168
else
1727
 
  # On NextStep and OpenStep, the `mkdir' command does not
1728
 
  # recognize any option.  It will interpret all options as
1729
 
  # directories to create, and then abort because `.' already
1730
 
  # exists.
1731
 
  for d in ./-p ./--version;
1732
 
  do
1733
 
    test -d $d && rmdir $d
1734
 
  done
1735
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1736
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1737
 
    mkdir_p='$(mkinstalldirs)'
 
2169
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2170
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2171
do
 
2172
  IFS=$as_save_IFS
 
2173
  test -z "$as_dir" && as_dir=.
 
2174
  for ac_prog in mkdir gmkdir; do
 
2175
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2176
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2177
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2178
             'mkdir (GNU coreutils) '* | \
 
2179
             'mkdir (coreutils) '* | \
 
2180
             'mkdir (fileutils) '4.1*)
 
2181
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2182
               break 3;;
 
2183
           esac
 
2184
         done
 
2185
       done
 
2186
done
 
2187
IFS=$as_save_IFS
 
2188
 
 
2189
fi
 
2190
 
 
2191
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2192
    MKDIR_P="$ac_cv_path_mkdir -p"
1738
2193
  else
1739
 
    mkdir_p='$(install_sh) -d'
 
2194
    # As a last resort, use the slow shell script.  Don't cache a
 
2195
    # value for MKDIR_P within a source directory, because that will
 
2196
    # break other packages using the cache if that directory is
 
2197
    # removed, or if the value is a relative name.
 
2198
    test -d ./--version && rmdir ./--version
 
2199
    MKDIR_P="$ac_install_sh -d"
1740
2200
  fi
1741
2201
fi
 
2202
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2203
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2204
 
 
2205
mkdir_p="$MKDIR_P"
 
2206
case $mkdir_p in
 
2207
  [\\/$]* | ?:[\\/]*) ;;
 
2208
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2209
esac
1742
2210
 
1743
2211
for ac_prog in gawk mawk nawk awk
1744
2212
do
1745
2213
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1746
2214
set dummy $ac_prog; ac_word=$2
1747
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1748
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2215
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2216
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1749
2217
if test "${ac_cv_prog_AWK+set}" = set; then
1750
2218
  echo $ECHO_N "(cached) $ECHO_C" >&6
1751
2219
else
1758
2226
  IFS=$as_save_IFS
1759
2227
  test -z "$as_dir" && as_dir=.
1760
2228
  for ac_exec_ext in '' $ac_executable_extensions; do
1761
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2229
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1762
2230
    ac_cv_prog_AWK="$ac_prog"
1763
2231
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1764
2232
    break 2
1765
2233
  fi
1766
2234
done
1767
2235
done
 
2236
IFS=$as_save_IFS
1768
2237
 
1769
2238
fi
1770
2239
fi
1771
2240
AWK=$ac_cv_prog_AWK
1772
2241
if test -n "$AWK"; then
1773
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1774
 
echo "${ECHO_T}$AWK" >&6
 
2242
  { echo "$as_me:$LINENO: result: $AWK" >&5
 
2243
echo "${ECHO_T}$AWK" >&6; }
1775
2244
else
1776
 
  echo "$as_me:$LINENO: result: no" >&5
1777
 
echo "${ECHO_T}no" >&6
 
2245
  { echo "$as_me:$LINENO: result: no" >&5
 
2246
echo "${ECHO_T}no" >&6; }
1778
2247
fi
1779
2248
 
 
2249
 
1780
2250
  test -n "$AWK" && break
1781
2251
done
1782
2252
 
1783
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1784
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1785
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1786
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
 
2253
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2254
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
 
2255
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2256
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1787
2257
  echo $ECHO_N "(cached) $ECHO_C" >&6
1788
2258
else
1789
2259
  cat >conftest.make <<\_ACEOF
 
2260
SHELL = /bin/sh
1790
2261
all:
1791
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2262
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1792
2263
_ACEOF
1793
2264
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1794
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1795
 
if test -n "$ac_maketemp"; then
1796
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1797
 
else
1798
 
  eval ac_cv_prog_make_${ac_make}_set=no
1799
 
fi
 
2265
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2266
  *@@@%%%=?*=@@@%%%*)
 
2267
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2268
  *)
 
2269
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2270
esac
1800
2271
rm -f conftest.make
1801
2272
fi
1802
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1803
 
  echo "$as_me:$LINENO: result: yes" >&5
1804
 
echo "${ECHO_T}yes" >&6
 
2273
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2274
  { echo "$as_me:$LINENO: result: yes" >&5
 
2275
echo "${ECHO_T}yes" >&6; }
1805
2276
  SET_MAKE=
1806
2277
else
1807
 
  echo "$as_me:$LINENO: result: no" >&5
1808
 
echo "${ECHO_T}no" >&6
 
2278
  { echo "$as_me:$LINENO: result: no" >&5
 
2279
echo "${ECHO_T}no" >&6; }
1809
2280
  SET_MAKE="MAKE=${MAKE-make}"
1810
2281
fi
1811
2282
 
1818
2289
fi
1819
2290
rmdir .tst 2>/dev/null
1820
2291
 
1821
 
# test to see if srcdir already configured
1822
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1823
 
   test -f $srcdir/config.status; then
1824
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2292
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2293
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2294
  # is not polluted with repeated "-I."
 
2295
  am__isrc=' -I$(srcdir)'
 
2296
  # test to see if srcdir already configured
 
2297
  if test -f $srcdir/config.status; then
 
2298
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1825
2299
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1826
2300
   { (exit 1); exit 1; }; }
 
2301
  fi
1827
2302
fi
1828
2303
 
1829
2304
# test whether we have cygpath
1838
2313
 
1839
2314
# Define the identity of the package.
1840
2315
 PACKAGE='libXScrnSaver'
1841
 
 VERSION='1.1.0'
 
2316
 VERSION='1.1.3'
1842
2317
 
1843
2318
 
1844
2319
cat >>confdefs.h <<_ACEOF
1866
2341
 
1867
2342
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1868
2343
 
1869
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2344
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1870
2345
 
1871
2346
# Installed binaries are usually stripped using `strip' when the user
1872
2347
# run `make install-strip'.  However `strip' might not be the right
1876
2351
  if test -n "$ac_tool_prefix"; then
1877
2352
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1878
2353
set dummy ${ac_tool_prefix}strip; ac_word=$2
1879
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1880
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2354
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2355
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1881
2356
if test "${ac_cv_prog_STRIP+set}" = set; then
1882
2357
  echo $ECHO_N "(cached) $ECHO_C" >&6
1883
2358
else
1890
2365
  IFS=$as_save_IFS
1891
2366
  test -z "$as_dir" && as_dir=.
1892
2367
  for ac_exec_ext in '' $ac_executable_extensions; do
1893
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2368
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1894
2369
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1895
2370
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1896
2371
    break 2
1897
2372
  fi
1898
2373
done
1899
2374
done
 
2375
IFS=$as_save_IFS
1900
2376
 
1901
2377
fi
1902
2378
fi
1903
2379
STRIP=$ac_cv_prog_STRIP
1904
2380
if test -n "$STRIP"; then
1905
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
1906
 
echo "${ECHO_T}$STRIP" >&6
 
2381
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
2382
echo "${ECHO_T}$STRIP" >&6; }
1907
2383
else
1908
 
  echo "$as_me:$LINENO: result: no" >&5
1909
 
echo "${ECHO_T}no" >&6
 
2384
  { echo "$as_me:$LINENO: result: no" >&5
 
2385
echo "${ECHO_T}no" >&6; }
1910
2386
fi
 
2387
 
1911
2388
 
1912
2389
fi
1913
2390
if test -z "$ac_cv_prog_STRIP"; then
1914
2391
  ac_ct_STRIP=$STRIP
1915
2392
  # Extract the first word of "strip", so it can be a program name with args.
1916
2393
set dummy strip; ac_word=$2
1917
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1918
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2394
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2395
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1919
2396
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1920
2397
  echo $ECHO_N "(cached) $ECHO_C" >&6
1921
2398
else
1928
2405
  IFS=$as_save_IFS
1929
2406
  test -z "$as_dir" && as_dir=.
1930
2407
  for ac_exec_ext in '' $ac_executable_extensions; do
1931
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2408
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1932
2409
    ac_cv_prog_ac_ct_STRIP="strip"
1933
2410
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1934
2411
    break 2
1935
2412
  fi
1936
2413
done
1937
2414
done
 
2415
IFS=$as_save_IFS
1938
2416
 
1939
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1940
2417
fi
1941
2418
fi
1942
2419
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1943
2420
if test -n "$ac_ct_STRIP"; then
1944
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1945
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2421
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2422
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
1946
2423
else
1947
 
  echo "$as_me:$LINENO: result: no" >&5
1948
 
echo "${ECHO_T}no" >&6
 
2424
  { echo "$as_me:$LINENO: result: no" >&5
 
2425
echo "${ECHO_T}no" >&6; }
1949
2426
fi
1950
2427
 
1951
 
  STRIP=$ac_ct_STRIP
 
2428
  if test "x$ac_ct_STRIP" = x; then
 
2429
    STRIP=":"
 
2430
  else
 
2431
    case $cross_compiling:$ac_tool_warned in
 
2432
yes:)
 
2433
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2434
whose name does not start with the host triplet.  If you think this
 
2435
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2436
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2437
whose name does not start with the host triplet.  If you think this
 
2438
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2439
ac_tool_warned=yes ;;
 
2440
esac
 
2441
    STRIP=$ac_ct_STRIP
 
2442
  fi
1952
2443
else
1953
2444
  STRIP="$ac_cv_prog_STRIP"
1954
2445
fi
1955
2446
 
1956
2447
fi
1957
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2448
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1958
2449
 
1959
2450
# We need awk for the "check" target.  The system "awk" is bad on
1960
2451
# some platforms.
1968
2459
 
1969
2460
 
1970
2461
 
1971
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1972
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1973
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 
2462
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2463
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
 
2464
    # Check whether --enable-maintainer-mode was given.
1974
2465
if test "${enable_maintainer_mode+set}" = set; then
1975
 
  enableval="$enable_maintainer_mode"
1976
 
  USE_MAINTAINER_MODE=$enableval
 
2466
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1977
2467
else
1978
2468
  USE_MAINTAINER_MODE=no
1979
 
fi;
1980
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1981
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1982
 
 
1983
 
 
1984
 
if test $USE_MAINTAINER_MODE = yes; then
 
2469
fi
 
2470
 
 
2471
  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2472
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
 
2473
   if test $USE_MAINTAINER_MODE = yes; then
1985
2474
  MAINTAINER_MODE_TRUE=
1986
2475
  MAINTAINER_MODE_FALSE='#'
1987
2476
else
1993
2482
 
1994
2483
 
1995
2484
 
1996
 
          ac_config_headers="$ac_config_headers config.h"
 
2485
ac_config_headers="$ac_config_headers config.h"
 
2486
 
 
2487
 
 
2488
# Require xorg-macros version 1.1.0 or newer for XORG_WITH_LINT macro
 
2489
 
 
2490
 
 
2491
        XORG_MACROS_needed_version=1.1
 
2492
        XORG_MACROS_needed_major=`echo $XORG_MACROS_needed_version | sed 's/\..*$//'`
 
2493
        XORG_MACROS_needed_minor=`echo $XORG_MACROS_needed_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
 
2494
        { echo "$as_me:$LINENO: checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}" >&5
 
2495
echo $ECHO_N "checking if xorg-macros used to generate configure is at least ${XORG_MACROS_needed_major}.${XORG_MACROS_needed_minor}... $ECHO_C" >&6; }
 
2496
        XORG_MACROS_version=1.1.6
 
2497
        XORG_MACROS_major=`echo $XORG_MACROS_version | sed 's/\..*$//'`
 
2498
        XORG_MACROS_minor=`echo $XORG_MACROS_version | sed -e 's/^[0-9]*\.//' -e 's/\..*$//'`
 
2499
        if test $XORG_MACROS_major -ne $XORG_MACROS_needed_major ; then
 
2500
                { { echo "$as_me:$LINENO: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&5
 
2501
echo "$as_me: error: configure built with incompatible version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.x" >&2;}
 
2502
   { (exit 1); exit 1; }; }
 
2503
        fi
 
2504
        if test $XORG_MACROS_minor -lt $XORG_MACROS_needed_minor ; then
 
2505
                { { echo "$as_me:$LINENO: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&5
 
2506
echo "$as_me: error: configure built with too old of a version of xorg-macros.m4 - requires version ${XORG_MACROS_major}.${XORG_MACROS_minor}.0 or newer" >&2;}
 
2507
   { (exit 1); exit 1; }; }
 
2508
        fi
 
2509
        { echo "$as_me:$LINENO: result: yes, $XORG_MACROS_version" >&5
 
2510
echo "${ECHO_T}yes, $XORG_MACROS_version" >&6; }
1997
2511
 
1998
2512
 
1999
2513
# Check for progs
2005
2519
if test -n "$ac_tool_prefix"; then
2006
2520
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2007
2521
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2008
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2009
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2522
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2523
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2010
2524
if test "${ac_cv_prog_CC+set}" = set; then
2011
2525
  echo $ECHO_N "(cached) $ECHO_C" >&6
2012
2526
else
2019
2533
  IFS=$as_save_IFS
2020
2534
  test -z "$as_dir" && as_dir=.
2021
2535
  for ac_exec_ext in '' $ac_executable_extensions; do
2022
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2536
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2023
2537
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2024
2538
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025
2539
    break 2
2026
2540
  fi
2027
2541
done
2028
2542
done
 
2543
IFS=$as_save_IFS
2029
2544
 
2030
2545
fi
2031
2546
fi
2032
2547
CC=$ac_cv_prog_CC
2033
2548
if test -n "$CC"; then
2034
 
  echo "$as_me:$LINENO: result: $CC" >&5
2035
 
echo "${ECHO_T}$CC" >&6
 
2549
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2550
echo "${ECHO_T}$CC" >&6; }
2036
2551
else
2037
 
  echo "$as_me:$LINENO: result: no" >&5
2038
 
echo "${ECHO_T}no" >&6
 
2552
  { echo "$as_me:$LINENO: result: no" >&5
 
2553
echo "${ECHO_T}no" >&6; }
2039
2554
fi
 
2555
 
2040
2556
 
2041
2557
fi
2042
2558
if test -z "$ac_cv_prog_CC"; then
2043
2559
  ac_ct_CC=$CC
2044
2560
  # Extract the first word of "gcc", so it can be a program name with args.
2045
2561
set dummy gcc; ac_word=$2
2046
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2047
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2562
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2563
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048
2564
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2049
2565
  echo $ECHO_N "(cached) $ECHO_C" >&6
2050
2566
else
2057
2573
  IFS=$as_save_IFS
2058
2574
  test -z "$as_dir" && as_dir=.
2059
2575
  for ac_exec_ext in '' $ac_executable_extensions; do
2060
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2576
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061
2577
    ac_cv_prog_ac_ct_CC="gcc"
2062
2578
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063
2579
    break 2
2064
2580
  fi
2065
2581
done
2066
2582
done
 
2583
IFS=$as_save_IFS
2067
2584
 
2068
2585
fi
2069
2586
fi
2070
2587
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2071
2588
if test -n "$ac_ct_CC"; then
2072
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2073
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2589
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2590
echo "${ECHO_T}$ac_ct_CC" >&6; }
2074
2591
else
2075
 
  echo "$as_me:$LINENO: result: no" >&5
2076
 
echo "${ECHO_T}no" >&6
 
2592
  { echo "$as_me:$LINENO: result: no" >&5
 
2593
echo "${ECHO_T}no" >&6; }
2077
2594
fi
2078
2595
 
2079
 
  CC=$ac_ct_CC
 
2596
  if test "x$ac_ct_CC" = x; then
 
2597
    CC=""
 
2598
  else
 
2599
    case $cross_compiling:$ac_tool_warned in
 
2600
yes:)
 
2601
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2602
whose name does not start with the host triplet.  If you think this
 
2603
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2604
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2605
whose name does not start with the host triplet.  If you think this
 
2606
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2607
ac_tool_warned=yes ;;
 
2608
esac
 
2609
    CC=$ac_ct_CC
 
2610
  fi
2080
2611
else
2081
2612
  CC="$ac_cv_prog_CC"
2082
2613
fi
2083
2614
 
2084
2615
if test -z "$CC"; then
2085
 
  if test -n "$ac_tool_prefix"; then
2086
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2616
          if test -n "$ac_tool_prefix"; then
 
2617
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2087
2618
set dummy ${ac_tool_prefix}cc; ac_word=$2
2088
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2089
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2619
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2620
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2090
2621
if test "${ac_cv_prog_CC+set}" = set; then
2091
2622
  echo $ECHO_N "(cached) $ECHO_C" >&6
2092
2623
else
2099
2630
  IFS=$as_save_IFS
2100
2631
  test -z "$as_dir" && as_dir=.
2101
2632
  for ac_exec_ext in '' $ac_executable_extensions; do
2102
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2633
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2103
2634
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2104
2635
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2105
2636
    break 2
2106
2637
  fi
2107
2638
done
2108
2639
done
 
2640
IFS=$as_save_IFS
2109
2641
 
2110
2642
fi
2111
2643
fi
2112
2644
CC=$ac_cv_prog_CC
2113
2645
if test -n "$CC"; then
2114
 
  echo "$as_me:$LINENO: result: $CC" >&5
2115
 
echo "${ECHO_T}$CC" >&6
2116
 
else
2117
 
  echo "$as_me:$LINENO: result: no" >&5
2118
 
echo "${ECHO_T}no" >&6
2119
 
fi
2120
 
 
2121
 
fi
2122
 
if test -z "$ac_cv_prog_CC"; then
2123
 
  ac_ct_CC=$CC
2124
 
  # Extract the first word of "cc", so it can be a program name with args.
2125
 
set dummy cc; ac_word=$2
2126
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2127
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2128
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2129
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2130
 
else
2131
 
  if test -n "$ac_ct_CC"; then
2132
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2133
 
else
2134
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135
 
for as_dir in $PATH
2136
 
do
2137
 
  IFS=$as_save_IFS
2138
 
  test -z "$as_dir" && as_dir=.
2139
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2140
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2141
 
    ac_cv_prog_ac_ct_CC="cc"
2142
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143
 
    break 2
 
2646
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2647
echo "${ECHO_T}$CC" >&6; }
 
2648
else
 
2649
  { echo "$as_me:$LINENO: result: no" >&5
 
2650
echo "${ECHO_T}no" >&6; }
 
2651
fi
 
2652
 
 
2653
 
2144
2654
  fi
2145
 
done
2146
 
done
2147
 
 
2148
 
fi
2149
 
fi
2150
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2151
 
if test -n "$ac_ct_CC"; then
2152
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2153
 
echo "${ECHO_T}$ac_ct_CC" >&6
2154
 
else
2155
 
  echo "$as_me:$LINENO: result: no" >&5
2156
 
echo "${ECHO_T}no" >&6
2157
 
fi
2158
 
 
2159
 
  CC=$ac_ct_CC
2160
 
else
2161
 
  CC="$ac_cv_prog_CC"
2162
 
fi
2163
 
 
2164
2655
fi
2165
2656
if test -z "$CC"; then
2166
2657
  # Extract the first word of "cc", so it can be a program name with args.
2167
2658
set dummy cc; ac_word=$2
2168
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2169
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2659
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2660
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170
2661
if test "${ac_cv_prog_CC+set}" = set; then
2171
2662
  echo $ECHO_N "(cached) $ECHO_C" >&6
2172
2663
else
2180
2671
  IFS=$as_save_IFS
2181
2672
  test -z "$as_dir" && as_dir=.
2182
2673
  for ac_exec_ext in '' $ac_executable_extensions; do
2183
 
  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
2184
2675
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185
2676
       ac_prog_rejected=yes
2186
2677
       continue
2191
2682
  fi
2192
2683
done
2193
2684
done
 
2685
IFS=$as_save_IFS
2194
2686
 
2195
2687
if test $ac_prog_rejected = yes; then
2196
2688
  # We found a bogon in the path, so make sure we never use it.
2208
2700
fi
2209
2701
CC=$ac_cv_prog_CC
2210
2702
if test -n "$CC"; then
2211
 
  echo "$as_me:$LINENO: result: $CC" >&5
2212
 
echo "${ECHO_T}$CC" >&6
 
2703
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2704
echo "${ECHO_T}$CC" >&6; }
2213
2705
else
2214
 
  echo "$as_me:$LINENO: result: no" >&5
2215
 
echo "${ECHO_T}no" >&6
 
2706
  { echo "$as_me:$LINENO: result: no" >&5
 
2707
echo "${ECHO_T}no" >&6; }
2216
2708
fi
 
2709
 
2217
2710
 
2218
2711
fi
2219
2712
if test -z "$CC"; then
2220
2713
  if test -n "$ac_tool_prefix"; then
2221
 
  for ac_prog in cl
 
2714
  for ac_prog in cl.exe
2222
2715
  do
2223
2716
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2224
2717
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2225
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2226
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2718
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2719
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2227
2720
if test "${ac_cv_prog_CC+set}" = set; then
2228
2721
  echo $ECHO_N "(cached) $ECHO_C" >&6
2229
2722
else
2236
2729
  IFS=$as_save_IFS
2237
2730
  test -z "$as_dir" && as_dir=.
2238
2731
  for ac_exec_ext in '' $ac_executable_extensions; do
2239
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2732
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2240
2733
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2241
2734
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242
2735
    break 2
2243
2736
  fi
2244
2737
done
2245
2738
done
 
2739
IFS=$as_save_IFS
2246
2740
 
2247
2741
fi
2248
2742
fi
2249
2743
CC=$ac_cv_prog_CC
2250
2744
if test -n "$CC"; then
2251
 
  echo "$as_me:$LINENO: result: $CC" >&5
2252
 
echo "${ECHO_T}$CC" >&6
 
2745
  { echo "$as_me:$LINENO: result: $CC" >&5
 
2746
echo "${ECHO_T}$CC" >&6; }
2253
2747
else
2254
 
  echo "$as_me:$LINENO: result: no" >&5
2255
 
echo "${ECHO_T}no" >&6
 
2748
  { echo "$as_me:$LINENO: result: no" >&5
 
2749
echo "${ECHO_T}no" >&6; }
2256
2750
fi
2257
2751
 
 
2752
 
2258
2753
    test -n "$CC" && break
2259
2754
  done
2260
2755
fi
2261
2756
if test -z "$CC"; then
2262
2757
  ac_ct_CC=$CC
2263
 
  for ac_prog in cl
 
2758
  for ac_prog in cl.exe
2264
2759
do
2265
2760
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2266
2761
set dummy $ac_prog; ac_word=$2
2267
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2268
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2762
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2763
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2269
2764
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2270
2765
  echo $ECHO_N "(cached) $ECHO_C" >&6
2271
2766
else
2278
2773
  IFS=$as_save_IFS
2279
2774
  test -z "$as_dir" && as_dir=.
2280
2775
  for ac_exec_ext in '' $ac_executable_extensions; do
2281
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2776
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2282
2777
    ac_cv_prog_ac_ct_CC="$ac_prog"
2283
2778
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284
2779
    break 2
2285
2780
  fi
2286
2781
done
2287
2782
done
 
2783
IFS=$as_save_IFS
2288
2784
 
2289
2785
fi
2290
2786
fi
2291
2787
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2292
2788
if test -n "$ac_ct_CC"; then
2293
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2294
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2789
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2790
echo "${ECHO_T}$ac_ct_CC" >&6; }
2295
2791
else
2296
 
  echo "$as_me:$LINENO: result: no" >&5
2297
 
echo "${ECHO_T}no" >&6
 
2792
  { echo "$as_me:$LINENO: result: no" >&5
 
2793
echo "${ECHO_T}no" >&6; }
2298
2794
fi
2299
2795
 
 
2796
 
2300
2797
  test -n "$ac_ct_CC" && break
2301
2798
done
2302
2799
 
2303
 
  CC=$ac_ct_CC
 
2800
  if test "x$ac_ct_CC" = x; then
 
2801
    CC=""
 
2802
  else
 
2803
    case $cross_compiling:$ac_tool_warned in
 
2804
yes:)
 
2805
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
2806
whose name does not start with the host triplet.  If you think this
 
2807
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
2808
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
2809
whose name does not start with the host triplet.  If you think this
 
2810
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2811
ac_tool_warned=yes ;;
 
2812
esac
 
2813
    CC=$ac_ct_CC
 
2814
  fi
2304
2815
fi
2305
2816
 
2306
2817
fi
2313
2824
   { (exit 1); exit 1; }; }
2314
2825
 
2315
2826
# Provide some information about the compiler.
2316
 
echo "$as_me:$LINENO:" \
2317
 
     "checking for C compiler version" >&5
 
2827
echo "$as_me:$LINENO: checking for C compiler version" >&5
2318
2828
ac_compiler=`set X $ac_compile; echo $2`
2319
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2320
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2321
 
  ac_status=$?
2322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323
 
  (exit $ac_status); }
2324
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2325
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2326
 
  ac_status=$?
2327
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328
 
  (exit $ac_status); }
2329
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2330
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
2829
{ (ac_try="$ac_compiler --version >&5"
 
2830
case "(($ac_try" in
 
2831
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2832
  *) ac_try_echo=$ac_try;;
 
2833
esac
 
2834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2835
  (eval "$ac_compiler --version >&5") 2>&5
 
2836
  ac_status=$?
 
2837
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2838
  (exit $ac_status); }
 
2839
{ (ac_try="$ac_compiler -v >&5"
 
2840
case "(($ac_try" in
 
2841
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2842
  *) ac_try_echo=$ac_try;;
 
2843
esac
 
2844
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2845
  (eval "$ac_compiler -v >&5") 2>&5
 
2846
  ac_status=$?
 
2847
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2848
  (exit $ac_status); }
 
2849
{ (ac_try="$ac_compiler -V >&5"
 
2850
case "(($ac_try" in
 
2851
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2852
  *) ac_try_echo=$ac_try;;
 
2853
esac
 
2854
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2855
  (eval "$ac_compiler -V >&5") 2>&5
2331
2856
  ac_status=$?
2332
2857
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333
2858
  (exit $ac_status); }
2352
2877
# Try to create an executable without -o first, disregard a.out.
2353
2878
# It will help us diagnose broken compilers, and finding out an intuition
2354
2879
# of exeext.
2355
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2356
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
 
2880
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2881
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2357
2882
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2358
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2359
 
  (eval $ac_link_default) 2>&5
 
2883
#
 
2884
# List of possible output files, starting from the most likely.
 
2885
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
 
2886
# only as a last resort.  b.out is created by i960 compilers.
 
2887
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
 
2888
#
 
2889
# The IRIX 6 linker writes into existing files which may not be
 
2890
# executable, retaining their permissions.  Remove them first so a
 
2891
# subsequent execution test works.
 
2892
ac_rmfiles=
 
2893
for ac_file in $ac_files
 
2894
do
 
2895
  case $ac_file in
 
2896
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2897
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
2898
  esac
 
2899
done
 
2900
rm -f $ac_rmfiles
 
2901
 
 
2902
if { (ac_try="$ac_link_default"
 
2903
case "(($ac_try" in
 
2904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2905
  *) ac_try_echo=$ac_try;;
 
2906
esac
 
2907
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2908
  (eval "$ac_link_default") 2>&5
2360
2909
  ac_status=$?
2361
2910
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362
2911
  (exit $ac_status); }; then
2363
 
  # Find the output, starting from the most likely.  This scheme is
2364
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2365
 
# resort.
2366
 
 
2367
 
# Be careful to initialize this variable, since it used to be cached.
2368
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2369
 
ac_cv_exeext=
2370
 
# b.out is created by i960 compilers.
2371
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
2912
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
2913
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
2914
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
2915
# so that the user can short-circuit this test for compilers unknown to
 
2916
# Autoconf.
 
2917
for ac_file in $ac_files ''
2372
2918
do
2373
2919
  test -f "$ac_file" || continue
2374
2920
  case $ac_file in
2375
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2376
 
        ;;
2377
 
    conftest.$ac_ext )
2378
 
        # This is the source file.
 
2921
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2379
2922
        ;;
2380
2923
    [ab].out )
2381
2924
        # We found the default executable, but exeext='' is most
2382
2925
        # certainly right.
2383
2926
        break;;
2384
2927
    *.* )
2385
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2386
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2387
 
        # but it would be cool to find out if it's true.  Does anybody
2388
 
        # maintain Libtool? --akim.
2389
 
        export ac_cv_exeext
 
2928
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
2929
        then :; else
 
2930
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
2931
        fi
 
2932
        # We set ac_cv_exeext here because the later test for it is not
 
2933
        # safe: cross compilers may not add the suffix if given an `-o'
 
2934
        # argument, so we may need to know it at that point already.
 
2935
        # Even if this section looks crufty: it has the advantage of
 
2936
        # actually working.
2390
2937
        break;;
2391
2938
    * )
2392
2939
        break;;
2393
2940
  esac
2394
2941
done
 
2942
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
2943
 
2395
2944
else
 
2945
  ac_file=''
 
2946
fi
 
2947
 
 
2948
{ echo "$as_me:$LINENO: result: $ac_file" >&5
 
2949
echo "${ECHO_T}$ac_file" >&6; }
 
2950
if test -z "$ac_file"; then
2396
2951
  echo "$as_me: failed program was:" >&5
2397
2952
sed 's/^/| /' conftest.$ac_ext >&5
2398
2953
 
2404
2959
fi
2405
2960
 
2406
2961
ac_exeext=$ac_cv_exeext
2407
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2408
 
echo "${ECHO_T}$ac_file" >&6
2409
2962
 
2410
 
# Check the compiler produces executables we can run.  If not, either
 
2963
# Check that the compiler produces executables we can run.  If not, either
2411
2964
# the compiler is broken, or we cross compile.
2412
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2413
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
2965
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2966
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2414
2967
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2415
2968
# If not cross compiling, check that we can run a simple program.
2416
2969
if test "$cross_compiling" != yes; then
2417
2970
  if { ac_try='./$ac_file'
2418
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2419
 
  (eval $ac_try) 2>&5
 
2971
  { (case "(($ac_try" in
 
2972
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2973
  *) ac_try_echo=$ac_try;;
 
2974
esac
 
2975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2976
  (eval "$ac_try") 2>&5
2420
2977
  ac_status=$?
2421
2978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422
2979
  (exit $ac_status); }; }; then
2435
2992
    fi
2436
2993
  fi
2437
2994
fi
2438
 
echo "$as_me:$LINENO: result: yes" >&5
2439
 
echo "${ECHO_T}yes" >&6
 
2995
{ echo "$as_me:$LINENO: result: yes" >&5
 
2996
echo "${ECHO_T}yes" >&6; }
2440
2997
 
2441
2998
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2442
2999
ac_clean_files=$ac_clean_files_save
2443
 
# Check the compiler produces executables we can run.  If not, either
 
3000
# Check that the compiler produces executables we can run.  If not, either
2444
3001
# the compiler is broken, or we cross compile.
2445
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2446
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2447
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2448
 
echo "${ECHO_T}$cross_compiling" >&6
 
3002
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3003
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
 
3004
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3005
echo "${ECHO_T}$cross_compiling" >&6; }
2449
3006
 
2450
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2451
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2452
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2453
 
  (eval $ac_link) 2>&5
 
3007
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3008
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3009
if { (ac_try="$ac_link"
 
3010
case "(($ac_try" in
 
3011
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3012
  *) ac_try_echo=$ac_try;;
 
3013
esac
 
3014
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3015
  (eval "$ac_link") 2>&5
2454
3016
  ac_status=$?
2455
3017
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456
3018
  (exit $ac_status); }; then
2461
3023
for ac_file in conftest.exe conftest conftest.*; do
2462
3024
  test -f "$ac_file" || continue
2463
3025
  case $ac_file in
2464
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3026
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2465
3027
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2466
 
          export ac_cv_exeext
2467
3028
          break;;
2468
3029
    * ) break;;
2469
3030
  esac
2477
3038
fi
2478
3039
 
2479
3040
rm -f conftest$ac_cv_exeext
2480
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2481
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3041
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3042
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2482
3043
 
2483
3044
rm -f conftest.$ac_ext
2484
3045
EXEEXT=$ac_cv_exeext
2485
3046
ac_exeext=$EXEEXT
2486
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2487
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3047
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3048
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2488
3049
if test "${ac_cv_objext+set}" = set; then
2489
3050
  echo $ECHO_N "(cached) $ECHO_C" >&6
2490
3051
else
2504
3065
}
2505
3066
_ACEOF
2506
3067
rm -f conftest.o conftest.obj
2507
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2508
 
  (eval $ac_compile) 2>&5
 
3068
if { (ac_try="$ac_compile"
 
3069
case "(($ac_try" in
 
3070
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3071
  *) ac_try_echo=$ac_try;;
 
3072
esac
 
3073
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3074
  (eval "$ac_compile") 2>&5
2509
3075
  ac_status=$?
2510
3076
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511
3077
  (exit $ac_status); }; then
2512
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3078
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3079
  test -f "$ac_file" || continue;
2513
3080
  case $ac_file in
2514
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3081
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2515
3082
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2516
3083
       break;;
2517
3084
  esac
2529
3096
 
2530
3097
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2531
3098
fi
2532
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2533
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3099
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3100
echo "${ECHO_T}$ac_cv_objext" >&6; }
2534
3101
OBJEXT=$ac_cv_objext
2535
3102
ac_objext=$OBJEXT
2536
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2537
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3103
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3104
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2538
3105
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2539
3106
  echo $ECHO_N "(cached) $ECHO_C" >&6
2540
3107
else
2557
3124
}
2558
3125
_ACEOF
2559
3126
rm -f conftest.$ac_objext
2560
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2561
 
  (eval $ac_compile) 2>conftest.er1
 
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
2562
3134
  ac_status=$?
2563
3135
  grep -v '^ *+' conftest.er1 >conftest.err
2564
3136
  rm -f conftest.er1
2565
3137
  cat conftest.err >&5
2566
3138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567
 
  (exit $ac_status); } &&
2568
 
         { ac_try='test -z "$ac_c_werror_flag"
2569
 
                         || test ! -s conftest.err'
2570
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571
 
  (eval $ac_try) 2>&5
2572
 
  ac_status=$?
2573
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574
 
  (exit $ac_status); }; } &&
2575
 
         { ac_try='test -s conftest.$ac_objext'
2576
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577
 
  (eval $ac_try) 2>&5
2578
 
  ac_status=$?
2579
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580
 
  (exit $ac_status); }; }; then
 
3139
  (exit $ac_status); } && {
 
3140
         test -z "$ac_c_werror_flag" ||
 
3141
         test ! -s conftest.err
 
3142
       } && test -s conftest.$ac_objext; then
2581
3143
  ac_compiler_gnu=yes
2582
3144
else
2583
3145
  echo "$as_me: failed program was:" >&5
2584
3146
sed 's/^/| /' conftest.$ac_ext >&5
2585
3147
 
2586
 
ac_compiler_gnu=no
 
3148
        ac_compiler_gnu=no
2587
3149
fi
2588
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3150
 
 
3151
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2589
3152
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2590
3153
 
2591
3154
fi
2592
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2593
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
 
3155
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3156
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2594
3157
GCC=`test $ac_compiler_gnu = yes && echo yes`
2595
3158
ac_test_CFLAGS=${CFLAGS+set}
2596
3159
ac_save_CFLAGS=$CFLAGS
2597
 
CFLAGS="-g"
2598
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2599
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3160
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3161
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2600
3162
if test "${ac_cv_prog_cc_g+set}" = set; then
2601
3163
  echo $ECHO_N "(cached) $ECHO_C" >&6
2602
3164
else
2603
 
  cat >conftest.$ac_ext <<_ACEOF
2604
 
/* confdefs.h.  */
2605
 
_ACEOF
2606
 
cat confdefs.h >>conftest.$ac_ext
2607
 
cat >>conftest.$ac_ext <<_ACEOF
2608
 
/* end confdefs.h.  */
2609
 
 
2610
 
int
2611
 
main ()
2612
 
{
2613
 
 
2614
 
  ;
2615
 
  return 0;
2616
 
}
2617
 
_ACEOF
2618
 
rm -f conftest.$ac_objext
2619
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2620
 
  (eval $ac_compile) 2>conftest.er1
2621
 
  ac_status=$?
2622
 
  grep -v '^ *+' conftest.er1 >conftest.err
2623
 
  rm -f conftest.er1
2624
 
  cat conftest.err >&5
2625
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626
 
  (exit $ac_status); } &&
2627
 
         { ac_try='test -z "$ac_c_werror_flag"
2628
 
                         || test ! -s conftest.err'
2629
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630
 
  (eval $ac_try) 2>&5
2631
 
  ac_status=$?
2632
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633
 
  (exit $ac_status); }; } &&
2634
 
         { ac_try='test -s conftest.$ac_objext'
2635
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636
 
  (eval $ac_try) 2>&5
2637
 
  ac_status=$?
2638
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639
 
  (exit $ac_status); }; }; then
2640
 
  ac_cv_prog_cc_g=yes
2641
 
else
2642
 
  echo "$as_me: failed program was:" >&5
2643
 
sed 's/^/| /' conftest.$ac_ext >&5
2644
 
 
2645
 
ac_cv_prog_cc_g=no
2646
 
fi
2647
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2648
 
fi
2649
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2650
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3165
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3166
   ac_c_werror_flag=yes
 
3167
   ac_cv_prog_cc_g=no
 
3168
   CFLAGS="-g"
 
3169
   cat >conftest.$ac_ext <<_ACEOF
 
3170
/* confdefs.h.  */
 
3171
_ACEOF
 
3172
cat confdefs.h >>conftest.$ac_ext
 
3173
cat >>conftest.$ac_ext <<_ACEOF
 
3174
/* end confdefs.h.  */
 
3175
 
 
3176
int
 
3177
main ()
 
3178
{
 
3179
 
 
3180
  ;
 
3181
  return 0;
 
3182
}
 
3183
_ACEOF
 
3184
rm -f conftest.$ac_objext
 
3185
if { (ac_try="$ac_compile"
 
3186
case "(($ac_try" in
 
3187
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3188
  *) ac_try_echo=$ac_try;;
 
3189
esac
 
3190
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3191
  (eval "$ac_compile") 2>conftest.er1
 
3192
  ac_status=$?
 
3193
  grep -v '^ *+' conftest.er1 >conftest.err
 
3194
  rm -f conftest.er1
 
3195
  cat conftest.err >&5
 
3196
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3197
  (exit $ac_status); } && {
 
3198
         test -z "$ac_c_werror_flag" ||
 
3199
         test ! -s conftest.err
 
3200
       } && test -s conftest.$ac_objext; then
 
3201
  ac_cv_prog_cc_g=yes
 
3202
else
 
3203
  echo "$as_me: failed program was:" >&5
 
3204
sed 's/^/| /' conftest.$ac_ext >&5
 
3205
 
 
3206
        CFLAGS=""
 
3207
      cat >conftest.$ac_ext <<_ACEOF
 
3208
/* confdefs.h.  */
 
3209
_ACEOF
 
3210
cat confdefs.h >>conftest.$ac_ext
 
3211
cat >>conftest.$ac_ext <<_ACEOF
 
3212
/* end confdefs.h.  */
 
3213
 
 
3214
int
 
3215
main ()
 
3216
{
 
3217
 
 
3218
  ;
 
3219
  return 0;
 
3220
}
 
3221
_ACEOF
 
3222
rm -f conftest.$ac_objext
 
3223
if { (ac_try="$ac_compile"
 
3224
case "(($ac_try" in
 
3225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3226
  *) ac_try_echo=$ac_try;;
 
3227
esac
 
3228
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3229
  (eval "$ac_compile") 2>conftest.er1
 
3230
  ac_status=$?
 
3231
  grep -v '^ *+' conftest.er1 >conftest.err
 
3232
  rm -f conftest.er1
 
3233
  cat conftest.err >&5
 
3234
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3235
  (exit $ac_status); } && {
 
3236
         test -z "$ac_c_werror_flag" ||
 
3237
         test ! -s conftest.err
 
3238
       } && test -s conftest.$ac_objext; then
 
3239
  :
 
3240
else
 
3241
  echo "$as_me: failed program was:" >&5
 
3242
sed 's/^/| /' conftest.$ac_ext >&5
 
3243
 
 
3244
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3245
         CFLAGS="-g"
 
3246
         cat >conftest.$ac_ext <<_ACEOF
 
3247
/* confdefs.h.  */
 
3248
_ACEOF
 
3249
cat confdefs.h >>conftest.$ac_ext
 
3250
cat >>conftest.$ac_ext <<_ACEOF
 
3251
/* end confdefs.h.  */
 
3252
 
 
3253
int
 
3254
main ()
 
3255
{
 
3256
 
 
3257
  ;
 
3258
  return 0;
 
3259
}
 
3260
_ACEOF
 
3261
rm -f conftest.$ac_objext
 
3262
if { (ac_try="$ac_compile"
 
3263
case "(($ac_try" in
 
3264
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3265
  *) ac_try_echo=$ac_try;;
 
3266
esac
 
3267
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3268
  (eval "$ac_compile") 2>conftest.er1
 
3269
  ac_status=$?
 
3270
  grep -v '^ *+' conftest.er1 >conftest.err
 
3271
  rm -f conftest.er1
 
3272
  cat conftest.err >&5
 
3273
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3274
  (exit $ac_status); } && {
 
3275
         test -z "$ac_c_werror_flag" ||
 
3276
         test ! -s conftest.err
 
3277
       } && test -s conftest.$ac_objext; then
 
3278
  ac_cv_prog_cc_g=yes
 
3279
else
 
3280
  echo "$as_me: failed program was:" >&5
 
3281
sed 's/^/| /' conftest.$ac_ext >&5
 
3282
 
 
3283
 
 
3284
fi
 
3285
 
 
3286
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3287
fi
 
3288
 
 
3289
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3290
fi
 
3291
 
 
3292
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3293
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3294
fi
 
3295
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3296
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2651
3297
if test "$ac_test_CFLAGS" = set; then
2652
3298
  CFLAGS=$ac_save_CFLAGS
2653
3299
elif test $ac_cv_prog_cc_g = yes; then
2663
3309
    CFLAGS=
2664
3310
  fi
2665
3311
fi
2666
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2667
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2668
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
 
3312
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3313
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3314
if test "${ac_cv_prog_cc_c89+set}" = set; then
2669
3315
  echo $ECHO_N "(cached) $ECHO_C" >&6
2670
3316
else
2671
 
  ac_cv_prog_cc_stdc=no
 
3317
  ac_cv_prog_cc_c89=no
2672
3318
ac_save_CC=$CC
2673
3319
cat >conftest.$ac_ext <<_ACEOF
2674
3320
/* confdefs.h.  */
2702
3348
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2703
3349
   function prototypes and stuff, but not '\xHH' hex character constants.
2704
3350
   These don't provoke an error unfortunately, instead are silently treated
2705
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3351
   as 'x'.  The following induces an error, until -std is added to get
2706
3352
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2707
3353
   array size at least.  It's necessary to write '\x00'==0 to get something
2708
 
   that's true only with -std1.  */
 
3354
   that's true only with -std.  */
2709
3355
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2710
3356
 
 
3357
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3358
   inside strings and character constants.  */
 
3359
#define FOO(x) 'x'
 
3360
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3361
 
2711
3362
int test (int i, double x);
2712
3363
struct s1 {int (*f) (int a);};
2713
3364
struct s2 {int (*f) (double a);};
2722
3373
  return 0;
2723
3374
}
2724
3375
_ACEOF
2725
 
# Don't try gcc -ansi; that turns off useful extensions and
2726
 
# breaks some systems' header files.
2727
 
# AIX                   -qlanglvl=ansi
2728
 
# Ultrix and OSF/1      -std1
2729
 
# HP-UX 10.20 and later -Ae
2730
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2731
 
# SVR4                  -Xc -D__EXTENSIONS__
2732
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3376
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3377
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2733
3378
do
2734
3379
  CC="$ac_save_CC $ac_arg"
2735
3380
  rm -f conftest.$ac_objext
2736
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2737
 
  (eval $ac_compile) 2>conftest.er1
 
3381
if { (ac_try="$ac_compile"
 
3382
case "(($ac_try" in
 
3383
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3384
  *) ac_try_echo=$ac_try;;
 
3385
esac
 
3386
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3387
  (eval "$ac_compile") 2>conftest.er1
2738
3388
  ac_status=$?
2739
3389
  grep -v '^ *+' conftest.er1 >conftest.err
2740
3390
  rm -f conftest.er1
2741
3391
  cat conftest.err >&5
2742
3392
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743
 
  (exit $ac_status); } &&
2744
 
         { ac_try='test -z "$ac_c_werror_flag"
2745
 
                         || test ! -s conftest.err'
2746
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747
 
  (eval $ac_try) 2>&5
2748
 
  ac_status=$?
2749
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750
 
  (exit $ac_status); }; } &&
2751
 
         { ac_try='test -s conftest.$ac_objext'
2752
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753
 
  (eval $ac_try) 2>&5
2754
 
  ac_status=$?
2755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756
 
  (exit $ac_status); }; }; then
2757
 
  ac_cv_prog_cc_stdc=$ac_arg
2758
 
break
 
3393
  (exit $ac_status); } && {
 
3394
         test -z "$ac_c_werror_flag" ||
 
3395
         test ! -s conftest.err
 
3396
       } && test -s conftest.$ac_objext; then
 
3397
  ac_cv_prog_cc_c89=$ac_arg
2759
3398
else
2760
3399
  echo "$as_me: failed program was:" >&5
2761
3400
sed 's/^/| /' conftest.$ac_ext >&5
2762
3401
 
 
3402
 
2763
3403
fi
2764
 
rm -f conftest.err conftest.$ac_objext
 
3404
 
 
3405
rm -f core conftest.err conftest.$ac_objext
 
3406
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2765
3407
done
2766
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3408
rm -f conftest.$ac_ext
2767
3409
CC=$ac_save_CC
2768
3410
 
2769
3411
fi
2770
 
 
2771
 
case "x$ac_cv_prog_cc_stdc" in
2772
 
  x|xno)
2773
 
    echo "$as_me:$LINENO: result: none needed" >&5
2774
 
echo "${ECHO_T}none needed" >&6 ;;
 
3412
# AC_CACHE_VAL
 
3413
case "x$ac_cv_prog_cc_c89" in
 
3414
  x)
 
3415
    { echo "$as_me:$LINENO: result: none needed" >&5
 
3416
echo "${ECHO_T}none needed" >&6; } ;;
 
3417
  xno)
 
3418
    { echo "$as_me:$LINENO: result: unsupported" >&5
 
3419
echo "${ECHO_T}unsupported" >&6; } ;;
2775
3420
  *)
2776
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2777
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2778
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3421
    CC="$CC $ac_cv_prog_cc_c89"
 
3422
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3423
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2779
3424
esac
2780
3425
 
2781
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2782
 
# in C++ we need to declare it.  In case someone uses the same compiler
2783
 
# for both compiling C and C++ we need to have the C++ compiler decide
2784
 
# the declaration of exit, since it's the most demanding environment.
2785
 
cat >conftest.$ac_ext <<_ACEOF
2786
 
#ifndef __cplusplus
2787
 
  choke me
2788
 
#endif
2789
 
_ACEOF
2790
 
rm -f conftest.$ac_objext
2791
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2792
 
  (eval $ac_compile) 2>conftest.er1
2793
 
  ac_status=$?
2794
 
  grep -v '^ *+' conftest.er1 >conftest.err
2795
 
  rm -f conftest.er1
2796
 
  cat conftest.err >&5
2797
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798
 
  (exit $ac_status); } &&
2799
 
         { ac_try='test -z "$ac_c_werror_flag"
2800
 
                         || test ! -s conftest.err'
2801
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2802
 
  (eval $ac_try) 2>&5
2803
 
  ac_status=$?
2804
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805
 
  (exit $ac_status); }; } &&
2806
 
         { ac_try='test -s conftest.$ac_objext'
2807
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2808
 
  (eval $ac_try) 2>&5
2809
 
  ac_status=$?
2810
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811
 
  (exit $ac_status); }; }; then
2812
 
  for ac_declaration in \
2813
 
   '' \
2814
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2815
 
   'extern "C" void std::exit (int); using std::exit;' \
2816
 
   'extern "C" void exit (int) throw ();' \
2817
 
   'extern "C" void exit (int);' \
2818
 
   'void exit (int);'
2819
 
do
2820
 
  cat >conftest.$ac_ext <<_ACEOF
2821
 
/* confdefs.h.  */
2822
 
_ACEOF
2823
 
cat confdefs.h >>conftest.$ac_ext
2824
 
cat >>conftest.$ac_ext <<_ACEOF
2825
 
/* end confdefs.h.  */
2826
 
$ac_declaration
2827
 
#include <stdlib.h>
2828
 
int
2829
 
main ()
2830
 
{
2831
 
exit (42);
2832
 
  ;
2833
 
  return 0;
2834
 
}
2835
 
_ACEOF
2836
 
rm -f conftest.$ac_objext
2837
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2838
 
  (eval $ac_compile) 2>conftest.er1
2839
 
  ac_status=$?
2840
 
  grep -v '^ *+' conftest.er1 >conftest.err
2841
 
  rm -f conftest.er1
2842
 
  cat conftest.err >&5
2843
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844
 
  (exit $ac_status); } &&
2845
 
         { ac_try='test -z "$ac_c_werror_flag"
2846
 
                         || test ! -s conftest.err'
2847
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848
 
  (eval $ac_try) 2>&5
2849
 
  ac_status=$?
2850
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851
 
  (exit $ac_status); }; } &&
2852
 
         { ac_try='test -s conftest.$ac_objext'
2853
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2854
 
  (eval $ac_try) 2>&5
2855
 
  ac_status=$?
2856
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2857
 
  (exit $ac_status); }; }; then
2858
 
  :
2859
 
else
2860
 
  echo "$as_me: failed program was:" >&5
2861
 
sed 's/^/| /' conftest.$ac_ext >&5
2862
 
 
2863
 
continue
2864
 
fi
2865
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2866
 
  cat >conftest.$ac_ext <<_ACEOF
2867
 
/* confdefs.h.  */
2868
 
_ACEOF
2869
 
cat confdefs.h >>conftest.$ac_ext
2870
 
cat >>conftest.$ac_ext <<_ACEOF
2871
 
/* end confdefs.h.  */
2872
 
$ac_declaration
2873
 
int
2874
 
main ()
2875
 
{
2876
 
exit (42);
2877
 
  ;
2878
 
  return 0;
2879
 
}
2880
 
_ACEOF
2881
 
rm -f conftest.$ac_objext
2882
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2883
 
  (eval $ac_compile) 2>conftest.er1
2884
 
  ac_status=$?
2885
 
  grep -v '^ *+' conftest.er1 >conftest.err
2886
 
  rm -f conftest.er1
2887
 
  cat conftest.err >&5
2888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889
 
  (exit $ac_status); } &&
2890
 
         { ac_try='test -z "$ac_c_werror_flag"
2891
 
                         || test ! -s conftest.err'
2892
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893
 
  (eval $ac_try) 2>&5
2894
 
  ac_status=$?
2895
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896
 
  (exit $ac_status); }; } &&
2897
 
         { ac_try='test -s conftest.$ac_objext'
2898
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899
 
  (eval $ac_try) 2>&5
2900
 
  ac_status=$?
2901
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902
 
  (exit $ac_status); }; }; then
2903
 
  break
2904
 
else
2905
 
  echo "$as_me: failed program was:" >&5
2906
 
sed 's/^/| /' conftest.$ac_ext >&5
2907
 
 
2908
 
fi
2909
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2910
 
done
2911
 
rm -f conftest*
2912
 
if test -n "$ac_declaration"; then
2913
 
  echo '#ifdef __cplusplus' >>confdefs.h
2914
 
  echo $ac_declaration      >>confdefs.h
2915
 
  echo '#endif'             >>confdefs.h
2916
 
fi
2917
 
 
2918
 
else
2919
 
  echo "$as_me: failed program was:" >&5
2920
 
sed 's/^/| /' conftest.$ac_ext >&5
2921
 
 
2922
 
fi
2923
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3426
 
2924
3427
ac_ext=c
2925
3428
ac_cpp='$CPP $CPPFLAGS'
2926
3429
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2928
3431
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2929
3432
DEPDIR="${am__leading_dot}deps"
2930
3433
 
2931
 
          ac_config_commands="$ac_config_commands depfiles"
 
3434
ac_config_commands="$ac_config_commands depfiles"
2932
3435
 
2933
3436
 
2934
3437
am_make=${MAKE-make}
2938
3441
.PHONY: am__doit
2939
3442
END
2940
3443
# If we don't find an include directive, just comment out the code.
2941
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2942
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3444
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3445
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2943
3446
am__include="#"
2944
3447
am__quote=
2945
3448
_am_result=none
2966
3469
fi
2967
3470
 
2968
3471
 
2969
 
echo "$as_me:$LINENO: result: $_am_result" >&5
2970
 
echo "${ECHO_T}$_am_result" >&6
 
3472
{ echo "$as_me:$LINENO: result: $_am_result" >&5
 
3473
echo "${ECHO_T}$_am_result" >&6; }
2971
3474
rm -f confinc confmf
2972
3475
 
2973
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3476
# Check whether --enable-dependency-tracking was given.
2974
3477
if test "${enable_dependency_tracking+set}" = set; then
2975
 
  enableval="$enable_dependency_tracking"
 
3478
  enableval=$enable_dependency_tracking;
 
3479
fi
2976
3480
 
2977
 
fi;
2978
3481
if test "x$enable_dependency_tracking" != xno; then
2979
3482
  am_depcomp="$ac_aux_dir/depcomp"
2980
3483
  AMDEPBACKSLASH='\'
2981
3484
fi
2982
 
 
2983
 
 
2984
 
if test "x$enable_dependency_tracking" != xno; then
 
3485
 if test "x$enable_dependency_tracking" != xno; then
2985
3486
  AMDEP_TRUE=
2986
3487
  AMDEP_FALSE='#'
2987
3488
else
2991
3492
 
2992
3493
 
2993
3494
 
2994
 
 
2995
3495
depcc="$CC"   am_compiler_list=
2996
3496
 
2997
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2998
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3497
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3498
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
2999
3499
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3000
3500
  echo $ECHO_N "(cached) $ECHO_C" >&6
3001
3501
else
3059
3559
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3060
3560
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3061
3561
         >/dev/null 2>conftest.err &&
 
3562
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3062
3563
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3063
3564
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3064
3565
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3084
3585
fi
3085
3586
 
3086
3587
fi
3087
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3088
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3588
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3589
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3089
3590
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3090
3591
 
3091
 
 
3092
 
 
3093
 
if
 
3592
 if
3094
3593
  test "x$enable_dependency_tracking" != xno \
3095
3594
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3096
3595
  am__fastdepCC_TRUE=
3101
3600
fi
3102
3601
 
3103
3602
 
3104
 
# Check whether --enable-shared or --disable-shared was given.
 
3603
# Check whether --enable-shared was given.
3105
3604
if test "${enable_shared+set}" = set; then
3106
 
  enableval="$enable_shared"
3107
 
  p=${PACKAGE-default}
 
3605
  enableval=$enable_shared; p=${PACKAGE-default}
3108
3606
    case $enableval in
3109
3607
    yes) enable_shared=yes ;;
3110
3608
    no) enable_shared=no ;;
3123
3621
    esac
3124
3622
else
3125
3623
  enable_shared=yes
3126
 
fi;
3127
 
 
3128
 
# Check whether --enable-static or --disable-static was given.
 
3624
fi
 
3625
 
 
3626
 
 
3627
# Check whether --enable-static was given.
3129
3628
if test "${enable_static+set}" = set; then
3130
 
  enableval="$enable_static"
3131
 
  p=${PACKAGE-default}
 
3629
  enableval=$enable_static; p=${PACKAGE-default}
3132
3630
    case $enableval in
3133
3631
    yes) enable_static=yes ;;
3134
3632
    no) enable_static=no ;;
3147
3645
    esac
3148
3646
else
3149
3647
  enable_static=yes
3150
 
fi;
3151
 
 
3152
 
# Check whether --enable-fast-install or --disable-fast-install was given.
 
3648
fi
 
3649
 
 
3650
 
 
3651
# Check whether --enable-fast-install was given.
3153
3652
if test "${enable_fast_install+set}" = set; then
3154
 
  enableval="$enable_fast_install"
3155
 
  p=${PACKAGE-default}
 
3653
  enableval=$enable_fast_install; p=${PACKAGE-default}
3156
3654
    case $enableval in
3157
3655
    yes) enable_fast_install=yes ;;
3158
3656
    no) enable_fast_install=no ;;
3171
3669
    esac
3172
3670
else
3173
3671
  enable_fast_install=yes
3174
 
fi;
 
3672
fi
 
3673
 
3175
3674
 
3176
3675
# Make sure we can run config.sub.
3177
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
3178
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3179
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
3676
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
3677
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3678
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3180
3679
   { (exit 1); exit 1; }; }
3181
3680
 
3182
 
echo "$as_me:$LINENO: checking build system type" >&5
3183
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
3681
{ echo "$as_me:$LINENO: checking build system type" >&5
 
3682
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3184
3683
if test "${ac_cv_build+set}" = set; then
3185
3684
  echo $ECHO_N "(cached) $ECHO_C" >&6
3186
3685
else
3187
 
  ac_cv_build_alias=$build_alias
3188
 
test -z "$ac_cv_build_alias" &&
3189
 
  ac_cv_build_alias=`$ac_config_guess`
3190
 
test -z "$ac_cv_build_alias" &&
 
3686
  ac_build_alias=$build_alias
 
3687
test "x$ac_build_alias" = x &&
 
3688
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
3689
test "x$ac_build_alias" = x &&
3191
3690
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3192
3691
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3193
3692
   { (exit 1); exit 1; }; }
3194
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3195
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3196
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
3693
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
3694
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3695
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3197
3696
   { (exit 1); exit 1; }; }
3198
3697
 
3199
3698
fi
3200
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3201
 
echo "${ECHO_T}$ac_cv_build" >&6
 
3699
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3700
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3701
case $ac_cv_build in
 
3702
*-*-*) ;;
 
3703
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3704
echo "$as_me: error: invalid value of canonical build" >&2;}
 
3705
   { (exit 1); exit 1; }; };;
 
3706
esac
3202
3707
build=$ac_cv_build
3203
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3204
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3205
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3206
 
 
3207
 
 
3208
 
echo "$as_me:$LINENO: checking host system type" >&5
3209
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
3708
ac_save_IFS=$IFS; IFS='-'
 
3709
set x $ac_cv_build
 
3710
shift
 
3711
build_cpu=$1
 
3712
build_vendor=$2
 
3713
shift; shift
 
3714
# Remember, the first character of IFS is used to create $*,
 
3715
# except with old shells:
 
3716
build_os=$*
 
3717
IFS=$ac_save_IFS
 
3718
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
3719
 
 
3720
 
 
3721
{ echo "$as_me:$LINENO: checking host system type" >&5
 
3722
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3210
3723
if test "${ac_cv_host+set}" = set; then
3211
3724
  echo $ECHO_N "(cached) $ECHO_C" >&6
3212
3725
else
3213
 
  ac_cv_host_alias=$host_alias
3214
 
test -z "$ac_cv_host_alias" &&
3215
 
  ac_cv_host_alias=$ac_cv_build_alias
3216
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3217
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3218
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
3726
  if test "x$host_alias" = x; then
 
3727
  ac_cv_host=$ac_cv_build
 
3728
else
 
3729
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
3730
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3731
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3219
3732
   { (exit 1); exit 1; }; }
 
3733
fi
3220
3734
 
3221
3735
fi
3222
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3223
 
echo "${ECHO_T}$ac_cv_host" >&6
 
3736
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3737
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3738
case $ac_cv_host in
 
3739
*-*-*) ;;
 
3740
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
3741
echo "$as_me: error: invalid value of canonical host" >&2;}
 
3742
   { (exit 1); exit 1; }; };;
 
3743
esac
3224
3744
host=$ac_cv_host
3225
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3226
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3227
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3228
 
 
3229
 
 
3230
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3231
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
 
3745
ac_save_IFS=$IFS; IFS='-'
 
3746
set x $ac_cv_host
 
3747
shift
 
3748
host_cpu=$1
 
3749
host_vendor=$2
 
3750
shift; shift
 
3751
# Remember, the first character of IFS is used to create $*,
 
3752
# except with old shells:
 
3753
host_os=$*
 
3754
IFS=$ac_save_IFS
 
3755
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
3756
 
 
3757
 
 
3758
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
3759
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3232
3760
if test "${lt_cv_path_SED+set}" = set; then
3233
3761
  echo $ECHO_N "(cached) $ECHO_C" >&6
3234
3762
else
3241
3769
  test -z "$as_dir" && as_dir=.
3242
3770
  for lt_ac_prog in sed gsed; do
3243
3771
    for ac_exec_ext in '' $ac_executable_extensions; do
3244
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
3772
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3245
3773
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3246
3774
      fi
3247
3775
    done
3248
3776
  done
3249
3777
done
 
3778
IFS=$as_save_IFS
3250
3779
lt_ac_max=0
3251
3780
lt_ac_count=0
3252
3781
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3281
3810
fi
3282
3811
 
3283
3812
SED=$lt_cv_path_SED
3284
 
echo "$as_me:$LINENO: result: $SED" >&5
3285
 
echo "${ECHO_T}$SED" >&6
3286
 
 
3287
 
echo "$as_me:$LINENO: checking for egrep" >&5
3288
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3289
 
if test "${ac_cv_prog_egrep+set}" = set; then
3290
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3291
 
else
3292
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3293
 
    then ac_cv_prog_egrep='grep -E'
3294
 
    else ac_cv_prog_egrep='egrep'
3295
 
    fi
3296
 
fi
3297
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3298
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3299
 
 EGREP=$ac_cv_prog_egrep
3300
 
 
3301
 
 
3302
 
 
3303
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
3813
 
 
3814
{ echo "$as_me:$LINENO: result: $SED" >&5
 
3815
echo "${ECHO_T}$SED" >&6; }
 
3816
 
 
3817
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
3818
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
 
3819
if test "${ac_cv_path_GREP+set}" = set; then
 
3820
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3821
else
 
3822
  # Extract the first word of "grep ggrep" to use in msg output
 
3823
if test -z "$GREP"; then
 
3824
set dummy grep ggrep; ac_prog_name=$2
 
3825
if test "${ac_cv_path_GREP+set}" = set; then
 
3826
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3827
else
 
3828
  ac_path_GREP_found=false
 
3829
# Loop through the user's path and test for each of PROGNAME-LIST
 
3830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3831
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3832
do
 
3833
  IFS=$as_save_IFS
 
3834
  test -z "$as_dir" && as_dir=.
 
3835
  for ac_prog in grep ggrep; do
 
3836
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3837
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
3838
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
3839
    # Check for GNU ac_path_GREP and select it if it is found.
 
3840
  # Check for GNU $ac_path_GREP
 
3841
case `"$ac_path_GREP" --version 2>&1` in
 
3842
*GNU*)
 
3843
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
3844
*)
 
3845
  ac_count=0
 
3846
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3847
  while :
 
3848
  do
 
3849
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3850
    mv "conftest.tmp" "conftest.in"
 
3851
    cp "conftest.in" "conftest.nl"
 
3852
    echo 'GREP' >> "conftest.nl"
 
3853
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3854
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3855
    ac_count=`expr $ac_count + 1`
 
3856
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
3857
      # Best one so far, save it but keep looking for a better one
 
3858
      ac_cv_path_GREP="$ac_path_GREP"
 
3859
      ac_path_GREP_max=$ac_count
 
3860
    fi
 
3861
    # 10*(2^10) chars as input seems more than enough
 
3862
    test $ac_count -gt 10 && break
 
3863
  done
 
3864
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3865
esac
 
3866
 
 
3867
 
 
3868
    $ac_path_GREP_found && break 3
 
3869
  done
 
3870
done
 
3871
 
 
3872
done
 
3873
IFS=$as_save_IFS
 
3874
 
 
3875
 
 
3876
fi
 
3877
 
 
3878
GREP="$ac_cv_path_GREP"
 
3879
if test -z "$GREP"; then
 
3880
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3881
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3882
   { (exit 1); exit 1; }; }
 
3883
fi
 
3884
 
 
3885
else
 
3886
  ac_cv_path_GREP=$GREP
 
3887
fi
 
3888
 
 
3889
 
 
3890
fi
 
3891
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
3892
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
3893
 GREP="$ac_cv_path_GREP"
 
3894
 
 
3895
 
 
3896
{ echo "$as_me:$LINENO: checking for egrep" >&5
 
3897
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
3898
if test "${ac_cv_path_EGREP+set}" = set; then
 
3899
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3900
else
 
3901
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
3902
   then ac_cv_path_EGREP="$GREP -E"
 
3903
   else
 
3904
     # Extract the first word of "egrep" to use in msg output
 
3905
if test -z "$EGREP"; then
 
3906
set dummy egrep; ac_prog_name=$2
 
3907
if test "${ac_cv_path_EGREP+set}" = set; then
 
3908
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3909
else
 
3910
  ac_path_EGREP_found=false
 
3911
# Loop through the user's path and test for each of PROGNAME-LIST
 
3912
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3913
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
3914
do
 
3915
  IFS=$as_save_IFS
 
3916
  test -z "$as_dir" && as_dir=.
 
3917
  for ac_prog in egrep; do
 
3918
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3919
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
3920
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
3921
    # Check for GNU ac_path_EGREP and select it if it is found.
 
3922
  # Check for GNU $ac_path_EGREP
 
3923
case `"$ac_path_EGREP" --version 2>&1` in
 
3924
*GNU*)
 
3925
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
3926
*)
 
3927
  ac_count=0
 
3928
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
3929
  while :
 
3930
  do
 
3931
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
3932
    mv "conftest.tmp" "conftest.in"
 
3933
    cp "conftest.in" "conftest.nl"
 
3934
    echo 'EGREP' >> "conftest.nl"
 
3935
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
3936
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
3937
    ac_count=`expr $ac_count + 1`
 
3938
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
3939
      # Best one so far, save it but keep looking for a better one
 
3940
      ac_cv_path_EGREP="$ac_path_EGREP"
 
3941
      ac_path_EGREP_max=$ac_count
 
3942
    fi
 
3943
    # 10*(2^10) chars as input seems more than enough
 
3944
    test $ac_count -gt 10 && break
 
3945
  done
 
3946
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
3947
esac
 
3948
 
 
3949
 
 
3950
    $ac_path_EGREP_found && break 3
 
3951
  done
 
3952
done
 
3953
 
 
3954
done
 
3955
IFS=$as_save_IFS
 
3956
 
 
3957
 
 
3958
fi
 
3959
 
 
3960
EGREP="$ac_cv_path_EGREP"
 
3961
if test -z "$EGREP"; then
 
3962
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
3963
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
3964
   { (exit 1); exit 1; }; }
 
3965
fi
 
3966
 
 
3967
else
 
3968
  ac_cv_path_EGREP=$EGREP
 
3969
fi
 
3970
 
 
3971
 
 
3972
   fi
 
3973
fi
 
3974
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
3975
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
3976
 EGREP="$ac_cv_path_EGREP"
 
3977
 
 
3978
 
 
3979
 
 
3980
# Check whether --with-gnu-ld was given.
3304
3981
if test "${with_gnu_ld+set}" = set; then
3305
 
  withval="$with_gnu_ld"
3306
 
  test "$withval" = no || with_gnu_ld=yes
 
3982
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3307
3983
else
3308
3984
  with_gnu_ld=no
3309
 
fi;
 
3985
fi
 
3986
 
3310
3987
ac_prog=ld
3311
3988
if test "$GCC" = yes; then
3312
3989
  # Check if gcc -print-prog-name=ld gives a path.
3313
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3314
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
3990
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
3991
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3315
3992
  case $host in
3316
3993
  *-*-mingw*)
3317
3994
    # gcc leaves a trailing carriage return which upsets mingw
3340
4017
    ;;
3341
4018
  esac
3342
4019
elif test "$with_gnu_ld" = yes; then
3343
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
3344
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
4020
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4021
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3345
4022
else
3346
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3347
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
4023
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4024
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3348
4025
fi
3349
4026
if test "${lt_cv_path_LD+set}" = set; then
3350
4027
  echo $ECHO_N "(cached) $ECHO_C" >&6
3377
4054
 
3378
4055
LD="$lt_cv_path_LD"
3379
4056
if test -n "$LD"; then
3380
 
  echo "$as_me:$LINENO: result: $LD" >&5
3381
 
echo "${ECHO_T}$LD" >&6
 
4057
  { echo "$as_me:$LINENO: result: $LD" >&5
 
4058
echo "${ECHO_T}$LD" >&6; }
3382
4059
else
3383
 
  echo "$as_me:$LINENO: result: no" >&5
3384
 
echo "${ECHO_T}no" >&6
 
4060
  { echo "$as_me:$LINENO: result: no" >&5
 
4061
echo "${ECHO_T}no" >&6; }
3385
4062
fi
3386
4063
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3387
4064
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3388
4065
   { (exit 1); exit 1; }; }
3389
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3390
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
4066
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4067
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3391
4068
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3392
4069
  echo $ECHO_N "(cached) $ECHO_C" >&6
3393
4070
else
3401
4078
  ;;
3402
4079
esac
3403
4080
fi
3404
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3405
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
4081
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4082
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3406
4083
with_gnu_ld=$lt_cv_prog_gnu_ld
3407
4084
 
3408
4085
 
3409
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3410
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 
4086
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4087
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3411
4088
if test "${lt_cv_ld_reload_flag+set}" = set; then
3412
4089
  echo $ECHO_N "(cached) $ECHO_C" >&6
3413
4090
else
3414
4091
  lt_cv_ld_reload_flag='-r'
3415
4092
fi
3416
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3417
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 
4093
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
4094
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3418
4095
reload_flag=$lt_cv_ld_reload_flag
3419
4096
case $reload_flag in
3420
4097
"" | " "*) ;;
3431
4108
    ;;
3432
4109
esac
3433
4110
 
3434
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3435
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
4111
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
 
4112
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3436
4113
if test "${lt_cv_path_NM+set}" = set; then
3437
4114
  echo $ECHO_N "(cached) $ECHO_C" >&6
3438
4115
else
3480
4157
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3481
4158
fi
3482
4159
fi
3483
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3484
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
 
4160
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4161
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3485
4162
NM="$lt_cv_path_NM"
3486
4163
 
3487
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3488
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
4164
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4165
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3489
4166
LN_S=$as_ln_s
3490
4167
if test "$LN_S" = "ln -s"; then
3491
 
  echo "$as_me:$LINENO: result: yes" >&5
3492
 
echo "${ECHO_T}yes" >&6
 
4168
  { echo "$as_me:$LINENO: result: yes" >&5
 
4169
echo "${ECHO_T}yes" >&6; }
3493
4170
else
3494
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3495
 
echo "${ECHO_T}no, using $LN_S" >&6
 
4171
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4172
echo "${ECHO_T}no, using $LN_S" >&6; }
3496
4173
fi
3497
4174
 
3498
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3499
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
4175
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4176
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
3500
4177
if test "${lt_cv_deplibs_check_method+set}" = set; then
3501
4178
  echo $ECHO_N "(cached) $ECHO_C" >&6
3502
4179
else
3515
4192
# whether `pass_all' will *always* work, you probably want this one.
3516
4193
 
3517
4194
case $host_os in
3518
 
aix4* | aix5*)
 
4195
aix[4-9]*)
3519
4196
  lt_cv_deplibs_check_method=pass_all
3520
4197
  ;;
3521
4198
 
3537
4214
 
3538
4215
mingw* | pw32*)
3539
4216
  # Base MSYS/MinGW do not provide the 'file' command needed by
3540
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3541
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3542
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4217
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4218
  # unless we find 'file', for example because we are cross-compiling.
 
4219
  if ( file / ) >/dev/null 2>&1; then
 
4220
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4221
    lt_cv_file_magic_cmd='func_win32_libid'
 
4222
  else
 
4223
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4224
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4225
  fi
3543
4226
  ;;
3544
4227
 
3545
4228
darwin* | rhapsody*)
3546
4229
  lt_cv_deplibs_check_method=pass_all
3547
4230
  ;;
3548
4231
 
3549
 
freebsd* | kfreebsd*-gnu | dragonfly*)
 
4232
freebsd* | dragonfly*)
3550
4233
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3551
4234
    case $host_cpu in
3552
4235
    i*86 )
3584
4267
  esac
3585
4268
  ;;
3586
4269
 
3587
 
interix3*)
 
4270
interix[3-9]*)
3588
4271
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3589
4272
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
3590
4273
  ;;
3600
4283
  ;;
3601
4284
 
3602
4285
# This must be Linux ELF.
3603
 
linux*)
 
4286
linux* | k*bsd*-gnu)
3604
4287
  lt_cv_deplibs_check_method=pass_all
3605
4288
  ;;
3606
4289
 
3607
 
netbsd*)
 
4290
netbsd* | netbsdelf*-gnu)
3608
4291
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3609
4292
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3610
4293
  else
3634
4317
  lt_cv_deplibs_check_method=pass_all
3635
4318
  ;;
3636
4319
 
 
4320
rdos*)
 
4321
  lt_cv_deplibs_check_method=pass_all
 
4322
  ;;
 
4323
 
3637
4324
solaris*)
3638
4325
  lt_cv_deplibs_check_method=pass_all
3639
4326
  ;;
3671
4358
esac
3672
4359
 
3673
4360
fi
3674
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3675
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
4361
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
4362
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3676
4363
file_magic_cmd=$lt_cv_file_magic_cmd
3677
4364
deplibs_check_method=$lt_cv_deplibs_check_method
3678
4365
test -z "$deplibs_check_method" && deplibs_check_method=unknown
3690
4377
compiler=$CC
3691
4378
 
3692
4379
 
3693
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
4380
# Check whether --enable-libtool-lock was given.
3694
4381
if test "${enable_libtool_lock+set}" = set; then
3695
 
  enableval="$enable_libtool_lock"
 
4382
  enableval=$enable_libtool_lock;
 
4383
fi
3696
4384
 
3697
 
fi;
3698
4385
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3699
4386
 
3700
4387
# Some flags need to be propagated to the compiler or linker for good
3721
4408
  ;;
3722
4409
*-*-irix6*)
3723
4410
  # Find out which ABI we are using.
3724
 
  echo '#line 3724 "configure"' > conftest.$ac_ext
 
4411
  echo '#line 4411 "configure"' > conftest.$ac_ext
3725
4412
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3726
4413
  (eval $ac_compile) 2>&5
3727
4414
  ac_status=$?
3756
4443
  rm -rf conftest*
3757
4444
  ;;
3758
4445
 
3759
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
4446
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
4447
s390*-*linux*|sparc*-*linux*)
3760
4448
  # Find out which ABI we are using.
3761
4449
  echo 'int i;' > conftest.$ac_ext
3762
4450
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3767
4455
    case `/usr/bin/file conftest.o` in
3768
4456
    *32-bit*)
3769
4457
      case $host in
 
4458
        x86_64-*kfreebsd*-gnu)
 
4459
          LD="${LD-ld} -m elf_i386_fbsd"
 
4460
          ;;
3770
4461
        x86_64-*linux*)
3771
4462
          LD="${LD-ld} -m elf_i386"
3772
4463
          ;;
3783
4474
      ;;
3784
4475
    *64-bit*)
3785
4476
      case $host in
 
4477
        x86_64-*kfreebsd*-gnu)
 
4478
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
4479
          ;;
3786
4480
        x86_64-*linux*)
3787
4481
          LD="${LD-ld} -m elf_x86_64"
3788
4482
          ;;
3806
4500
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3807
4501
  SAVE_CFLAGS="$CFLAGS"
3808
4502
  CFLAGS="$CFLAGS -belf"
3809
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3810
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
 
4503
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
4504
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3811
4505
if test "${lt_cv_cc_needs_belf+set}" = set; then
3812
4506
  echo $ECHO_N "(cached) $ECHO_C" >&6
3813
4507
else
3833
4527
}
3834
4528
_ACEOF
3835
4529
rm -f conftest.$ac_objext conftest$ac_exeext
3836
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3837
 
  (eval $ac_link) 2>conftest.er1
 
4530
if { (ac_try="$ac_link"
 
4531
case "(($ac_try" in
 
4532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4533
  *) ac_try_echo=$ac_try;;
 
4534
esac
 
4535
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4536
  (eval "$ac_link") 2>conftest.er1
3838
4537
  ac_status=$?
3839
4538
  grep -v '^ *+' conftest.er1 >conftest.err
3840
4539
  rm -f conftest.er1
3841
4540
  cat conftest.err >&5
3842
4541
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3843
 
  (exit $ac_status); } &&
3844
 
         { ac_try='test -z "$ac_c_werror_flag"
3845
 
                         || test ! -s conftest.err'
3846
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3847
 
  (eval $ac_try) 2>&5
3848
 
  ac_status=$?
3849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850
 
  (exit $ac_status); }; } &&
3851
 
         { ac_try='test -s conftest$ac_exeext'
3852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3853
 
  (eval $ac_try) 2>&5
3854
 
  ac_status=$?
3855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856
 
  (exit $ac_status); }; }; then
 
4542
  (exit $ac_status); } && {
 
4543
         test -z "$ac_c_werror_flag" ||
 
4544
         test ! -s conftest.err
 
4545
       } && test -s conftest$ac_exeext &&
 
4546
       $as_test_x conftest$ac_exeext; then
3857
4547
  lt_cv_cc_needs_belf=yes
3858
4548
else
3859
4549
  echo "$as_me: failed program was:" >&5
3860
4550
sed 's/^/| /' conftest.$ac_ext >&5
3861
4551
 
3862
 
lt_cv_cc_needs_belf=no
 
4552
        lt_cv_cc_needs_belf=no
3863
4553
fi
3864
 
rm -f conftest.err conftest.$ac_objext \
 
4554
 
 
4555
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3865
4556
      conftest$ac_exeext conftest.$ac_ext
3866
4557
     ac_ext=c
3867
4558
ac_cpp='$CPP $CPPFLAGS'
3870
4561
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3871
4562
 
3872
4563
fi
3873
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3874
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
 
4564
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
4565
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3875
4566
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3876
4567
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3877
4568
    CFLAGS="$SAVE_CFLAGS"
3889
4580
    *64-bit*)
3890
4581
      case $lt_cv_prog_gnu_ld in
3891
4582
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
3892
 
      *)    LD="${LD-ld} -64" ;;
 
4583
      *)
 
4584
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
4585
          LD="${LD-ld} -64"
 
4586
        fi
 
4587
        ;;
3893
4588
      esac
3894
4589
      ;;
3895
4590
    esac
3908
4603
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909
4604
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910
4605
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3911
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3912
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
4606
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4607
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3913
4608
# On Suns, sometimes $CPP names a directory.
3914
4609
if test -n "$CPP" && test -d "$CPP"; then
3915
4610
  CPP=
3943
4638
#endif
3944
4639
                     Syntax error
3945
4640
_ACEOF
3946
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3947
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4641
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4642
case "(($ac_try" in
 
4643
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4644
  *) ac_try_echo=$ac_try;;
 
4645
esac
 
4646
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4647
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3948
4648
  ac_status=$?
3949
4649
  grep -v '^ *+' conftest.er1 >conftest.err
3950
4650
  rm -f conftest.er1
3951
4651
  cat conftest.err >&5
3952
4652
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953
 
  (exit $ac_status); } >/dev/null; then
3954
 
  if test -s conftest.err; then
3955
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3956
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3957
 
  else
3958
 
    ac_cpp_err=
3959
 
  fi
3960
 
else
3961
 
  ac_cpp_err=yes
3962
 
fi
3963
 
if test -z "$ac_cpp_err"; then
 
4653
  (exit $ac_status); } >/dev/null && {
 
4654
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4655
         test ! -s conftest.err
 
4656
       }; then
3964
4657
  :
3965
4658
else
3966
4659
  echo "$as_me: failed program was:" >&5
3969
4662
  # Broken: fails on valid input.
3970
4663
continue
3971
4664
fi
 
4665
 
3972
4666
rm -f conftest.err conftest.$ac_ext
3973
4667
 
3974
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4668
  # OK, works on sane cases.  Now check whether nonexistent headers
3975
4669
  # can be detected and how.
3976
4670
  cat >conftest.$ac_ext <<_ACEOF
3977
4671
/* confdefs.h.  */
3981
4675
/* end confdefs.h.  */
3982
4676
#include <ac_nonexistent.h>
3983
4677
_ACEOF
3984
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3985
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4678
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4679
case "(($ac_try" in
 
4680
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4681
  *) ac_try_echo=$ac_try;;
 
4682
esac
 
4683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4684
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3986
4685
  ac_status=$?
3987
4686
  grep -v '^ *+' conftest.er1 >conftest.err
3988
4687
  rm -f conftest.er1
3989
4688
  cat conftest.err >&5
3990
4689
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991
 
  (exit $ac_status); } >/dev/null; then
3992
 
  if test -s conftest.err; then
3993
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3994
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3995
 
  else
3996
 
    ac_cpp_err=
3997
 
  fi
3998
 
else
3999
 
  ac_cpp_err=yes
4000
 
fi
4001
 
if test -z "$ac_cpp_err"; then
 
4690
  (exit $ac_status); } >/dev/null && {
 
4691
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4692
         test ! -s conftest.err
 
4693
       }; then
4002
4694
  # Broken: success on invalid input.
4003
4695
continue
4004
4696
else
4009
4701
ac_preproc_ok=:
4010
4702
break
4011
4703
fi
 
4704
 
4012
4705
rm -f conftest.err conftest.$ac_ext
4013
4706
 
4014
4707
done
4026
4719
else
4027
4720
  ac_cv_prog_CPP=$CPP
4028
4721
fi
4029
 
echo "$as_me:$LINENO: result: $CPP" >&5
4030
 
echo "${ECHO_T}$CPP" >&6
 
4722
{ echo "$as_me:$LINENO: result: $CPP" >&5
 
4723
echo "${ECHO_T}$CPP" >&6; }
4031
4724
ac_preproc_ok=false
4032
4725
for ac_c_preproc_warn_flag in '' yes
4033
4726
do
4050
4743
#endif
4051
4744
                     Syntax error
4052
4745
_ACEOF
4053
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4054
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4746
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4747
case "(($ac_try" in
 
4748
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4749
  *) ac_try_echo=$ac_try;;
 
4750
esac
 
4751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4752
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4055
4753
  ac_status=$?
4056
4754
  grep -v '^ *+' conftest.er1 >conftest.err
4057
4755
  rm -f conftest.er1
4058
4756
  cat conftest.err >&5
4059
4757
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060
 
  (exit $ac_status); } >/dev/null; then
4061
 
  if test -s conftest.err; then
4062
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4063
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4064
 
  else
4065
 
    ac_cpp_err=
4066
 
  fi
4067
 
else
4068
 
  ac_cpp_err=yes
4069
 
fi
4070
 
if test -z "$ac_cpp_err"; then
 
4758
  (exit $ac_status); } >/dev/null && {
 
4759
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4760
         test ! -s conftest.err
 
4761
       }; then
4071
4762
  :
4072
4763
else
4073
4764
  echo "$as_me: failed program was:" >&5
4076
4767
  # Broken: fails on valid input.
4077
4768
continue
4078
4769
fi
 
4770
 
4079
4771
rm -f conftest.err conftest.$ac_ext
4080
4772
 
4081
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4773
  # OK, works on sane cases.  Now check whether nonexistent headers
4082
4774
  # can be detected and how.
4083
4775
  cat >conftest.$ac_ext <<_ACEOF
4084
4776
/* confdefs.h.  */
4088
4780
/* end confdefs.h.  */
4089
4781
#include <ac_nonexistent.h>
4090
4782
_ACEOF
4091
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4092
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4783
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4784
case "(($ac_try" in
 
4785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4786
  *) ac_try_echo=$ac_try;;
 
4787
esac
 
4788
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4789
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4093
4790
  ac_status=$?
4094
4791
  grep -v '^ *+' conftest.er1 >conftest.err
4095
4792
  rm -f conftest.er1
4096
4793
  cat conftest.err >&5
4097
4794
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098
 
  (exit $ac_status); } >/dev/null; then
4099
 
  if test -s conftest.err; then
4100
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4101
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4102
 
  else
4103
 
    ac_cpp_err=
4104
 
  fi
4105
 
else
4106
 
  ac_cpp_err=yes
4107
 
fi
4108
 
if test -z "$ac_cpp_err"; then
 
4795
  (exit $ac_status); } >/dev/null && {
 
4796
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4797
         test ! -s conftest.err
 
4798
       }; then
4109
4799
  # Broken: success on invalid input.
4110
4800
continue
4111
4801
else
4116
4806
ac_preproc_ok=:
4117
4807
break
4118
4808
fi
 
4809
 
4119
4810
rm -f conftest.err conftest.$ac_ext
4120
4811
 
4121
4812
done
4138
4829
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4139
4830
 
4140
4831
 
4141
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4142
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
4832
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4833
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4143
4834
if test "${ac_cv_header_stdc+set}" = set; then
4144
4835
  echo $ECHO_N "(cached) $ECHO_C" >&6
4145
4836
else
4163
4854
}
4164
4855
_ACEOF
4165
4856
rm -f conftest.$ac_objext
4166
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4167
 
  (eval $ac_compile) 2>conftest.er1
 
4857
if { (ac_try="$ac_compile"
 
4858
case "(($ac_try" in
 
4859
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4860
  *) ac_try_echo=$ac_try;;
 
4861
esac
 
4862
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4863
  (eval "$ac_compile") 2>conftest.er1
4168
4864
  ac_status=$?
4169
4865
  grep -v '^ *+' conftest.er1 >conftest.err
4170
4866
  rm -f conftest.er1
4171
4867
  cat conftest.err >&5
4172
4868
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173
 
  (exit $ac_status); } &&
4174
 
         { ac_try='test -z "$ac_c_werror_flag"
4175
 
                         || test ! -s conftest.err'
4176
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177
 
  (eval $ac_try) 2>&5
4178
 
  ac_status=$?
4179
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180
 
  (exit $ac_status); }; } &&
4181
 
         { ac_try='test -s conftest.$ac_objext'
4182
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183
 
  (eval $ac_try) 2>&5
4184
 
  ac_status=$?
4185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186
 
  (exit $ac_status); }; }; then
 
4869
  (exit $ac_status); } && {
 
4870
         test -z "$ac_c_werror_flag" ||
 
4871
         test ! -s conftest.err
 
4872
       } && test -s conftest.$ac_objext; then
4187
4873
  ac_cv_header_stdc=yes
4188
4874
else
4189
4875
  echo "$as_me: failed program was:" >&5
4190
4876
sed 's/^/| /' conftest.$ac_ext >&5
4191
4877
 
4192
 
ac_cv_header_stdc=no
 
4878
        ac_cv_header_stdc=no
4193
4879
fi
4194
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4880
 
 
4881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4195
4882
 
4196
4883
if test $ac_cv_header_stdc = yes; then
4197
4884
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4247
4934
cat >>conftest.$ac_ext <<_ACEOF
4248
4935
/* end confdefs.h.  */
4249
4936
#include <ctype.h>
 
4937
#include <stdlib.h>
4250
4938
#if ((' ' & 0x0FF) == 0x020)
4251
4939
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4252
4940
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4266
4954
  for (i = 0; i < 256; i++)
4267
4955
    if (XOR (islower (i), ISLOWER (i))
4268
4956
        || toupper (i) != TOUPPER (i))
4269
 
      exit(2);
4270
 
  exit (0);
 
4957
      return 2;
 
4958
  return 0;
4271
4959
}
4272
4960
_ACEOF
4273
4961
rm -f conftest$ac_exeext
4274
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4275
 
  (eval $ac_link) 2>&5
 
4962
if { (ac_try="$ac_link"
 
4963
case "(($ac_try" in
 
4964
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4965
  *) ac_try_echo=$ac_try;;
 
4966
esac
 
4967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4968
  (eval "$ac_link") 2>&5
4276
4969
  ac_status=$?
4277
4970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278
4971
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4279
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4280
 
  (eval $ac_try) 2>&5
 
4972
  { (case "(($ac_try" in
 
4973
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4974
  *) ac_try_echo=$ac_try;;
 
4975
esac
 
4976
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4977
  (eval "$ac_try") 2>&5
4281
4978
  ac_status=$?
4282
4979
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283
4980
  (exit $ac_status); }; }; then
4290
4987
( exit $ac_status )
4291
4988
ac_cv_header_stdc=no
4292
4989
fi
4293
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4294
 
fi
4295
 
fi
4296
 
fi
4297
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4298
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
4990
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
4991
fi
 
4992
 
 
4993
 
 
4994
fi
 
4995
fi
 
4996
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4997
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4299
4998
if test $ac_cv_header_stdc = yes; then
4300
4999
 
4301
5000
cat >>confdefs.h <<\_ACEOF
4318
5017
                  inttypes.h stdint.h unistd.h
4319
5018
do
4320
5019
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4321
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4322
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4323
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5020
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5021
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5022
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4324
5023
  echo $ECHO_N "(cached) $ECHO_C" >&6
4325
5024
else
4326
5025
  cat >conftest.$ac_ext <<_ACEOF
4334
5033
#include <$ac_header>
4335
5034
_ACEOF
4336
5035
rm -f conftest.$ac_objext
4337
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4338
 
  (eval $ac_compile) 2>conftest.er1
 
5036
if { (ac_try="$ac_compile"
 
5037
case "(($ac_try" in
 
5038
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5039
  *) ac_try_echo=$ac_try;;
 
5040
esac
 
5041
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5042
  (eval "$ac_compile") 2>conftest.er1
4339
5043
  ac_status=$?
4340
5044
  grep -v '^ *+' conftest.er1 >conftest.err
4341
5045
  rm -f conftest.er1
4342
5046
  cat conftest.err >&5
4343
5047
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344
 
  (exit $ac_status); } &&
4345
 
         { ac_try='test -z "$ac_c_werror_flag"
4346
 
                         || test ! -s conftest.err'
4347
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4348
 
  (eval $ac_try) 2>&5
4349
 
  ac_status=$?
4350
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351
 
  (exit $ac_status); }; } &&
4352
 
         { ac_try='test -s conftest.$ac_objext'
4353
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4354
 
  (eval $ac_try) 2>&5
4355
 
  ac_status=$?
4356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357
 
  (exit $ac_status); }; }; then
 
5048
  (exit $ac_status); } && {
 
5049
         test -z "$ac_c_werror_flag" ||
 
5050
         test ! -s conftest.err
 
5051
       } && test -s conftest.$ac_objext; then
4358
5052
  eval "$as_ac_Header=yes"
4359
5053
else
4360
5054
  echo "$as_me: failed program was:" >&5
4361
5055
sed 's/^/| /' conftest.$ac_ext >&5
4362
5056
 
4363
 
eval "$as_ac_Header=no"
4364
 
fi
4365
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4366
 
fi
4367
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4368
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5057
        eval "$as_ac_Header=no"
 
5058
fi
 
5059
 
 
5060
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5061
fi
 
5062
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5063
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5064
echo "${ECHO_T}$ac_res" >&6; }
4369
5065
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4370
5066
  cat >>confdefs.h <<_ACEOF
4371
5067
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4380
5076
for ac_header in dlfcn.h
4381
5077
do
4382
5078
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4383
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4384
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
4385
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4386
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5079
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
5080
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5081
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5082
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4387
5083
  echo $ECHO_N "(cached) $ECHO_C" >&6
4388
5084
fi
4389
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4390
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5085
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5086
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5087
echo "${ECHO_T}$ac_res" >&6; }
4391
5088
else
4392
5089
  # Is the header compilable?
4393
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4394
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
5090
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
5091
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4395
5092
cat >conftest.$ac_ext <<_ACEOF
4396
5093
/* confdefs.h.  */
4397
5094
_ACEOF
4402
5099
#include <$ac_header>
4403
5100
_ACEOF
4404
5101
rm -f conftest.$ac_objext
4405
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4406
 
  (eval $ac_compile) 2>conftest.er1
 
5102
if { (ac_try="$ac_compile"
 
5103
case "(($ac_try" in
 
5104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5105
  *) ac_try_echo=$ac_try;;
 
5106
esac
 
5107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5108
  (eval "$ac_compile") 2>conftest.er1
4407
5109
  ac_status=$?
4408
5110
  grep -v '^ *+' conftest.er1 >conftest.err
4409
5111
  rm -f conftest.er1
4410
5112
  cat conftest.err >&5
4411
5113
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4412
 
  (exit $ac_status); } &&
4413
 
         { ac_try='test -z "$ac_c_werror_flag"
4414
 
                         || test ! -s conftest.err'
4415
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416
 
  (eval $ac_try) 2>&5
4417
 
  ac_status=$?
4418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419
 
  (exit $ac_status); }; } &&
4420
 
         { ac_try='test -s conftest.$ac_objext'
4421
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422
 
  (eval $ac_try) 2>&5
4423
 
  ac_status=$?
4424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425
 
  (exit $ac_status); }; }; then
 
5114
  (exit $ac_status); } && {
 
5115
         test -z "$ac_c_werror_flag" ||
 
5116
         test ! -s conftest.err
 
5117
       } && test -s conftest.$ac_objext; then
4426
5118
  ac_header_compiler=yes
4427
5119
else
4428
5120
  echo "$as_me: failed program was:" >&5
4429
5121
sed 's/^/| /' conftest.$ac_ext >&5
4430
5122
 
4431
 
ac_header_compiler=no
 
5123
        ac_header_compiler=no
4432
5124
fi
4433
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4434
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4435
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
5125
 
 
5126
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5127
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
5128
echo "${ECHO_T}$ac_header_compiler" >&6; }
4436
5129
 
4437
5130
# Is the header present?
4438
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4439
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
5131
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
5132
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4440
5133
cat >conftest.$ac_ext <<_ACEOF
4441
5134
/* confdefs.h.  */
4442
5135
_ACEOF
4445
5138
/* end confdefs.h.  */
4446
5139
#include <$ac_header>
4447
5140
_ACEOF
4448
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4449
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5141
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5142
case "(($ac_try" in
 
5143
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5144
  *) ac_try_echo=$ac_try;;
 
5145
esac
 
5146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5147
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4450
5148
  ac_status=$?
4451
5149
  grep -v '^ *+' conftest.er1 >conftest.err
4452
5150
  rm -f conftest.er1
4453
5151
  cat conftest.err >&5
4454
5152
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455
 
  (exit $ac_status); } >/dev/null; then
4456
 
  if test -s conftest.err; then
4457
 
    ac_cpp_err=$ac_c_preproc_warn_flag
4458
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4459
 
  else
4460
 
    ac_cpp_err=
4461
 
  fi
4462
 
else
4463
 
  ac_cpp_err=yes
4464
 
fi
4465
 
if test -z "$ac_cpp_err"; then
 
5153
  (exit $ac_status); } >/dev/null && {
 
5154
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5155
         test ! -s conftest.err
 
5156
       }; then
4466
5157
  ac_header_preproc=yes
4467
5158
else
4468
5159
  echo "$as_me: failed program was:" >&5
4470
5161
 
4471
5162
  ac_header_preproc=no
4472
5163
fi
 
5164
 
4473
5165
rm -f conftest.err conftest.$ac_ext
4474
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4475
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
5166
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
5167
echo "${ECHO_T}$ac_header_preproc" >&6; }
4476
5168
 
4477
5169
# So?  What about this header?
4478
5170
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4496
5188
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4497
5189
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4498
5190
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4499
 
    (
4500
 
      cat <<\_ASBOX
 
5191
    ( cat <<\_ASBOX
4501
5192
## ---------------------------------------------------------------------- ##
4502
5193
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
4503
5194
## ---------------------------------------------------------------------- ##
4504
5195
_ASBOX
4505
 
    ) |
4506
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
5196
     ) | sed "s/^/$as_me: WARNING:     /" >&2
4507
5197
    ;;
4508
5198
esac
4509
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
4510
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4511
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
 
5199
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
5200
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
5201
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4512
5202
  echo $ECHO_N "(cached) $ECHO_C" >&6
4513
5203
else
4514
5204
  eval "$as_ac_Header=\$ac_header_preproc"
4515
5205
fi
4516
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4517
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
5206
ac_res=`eval echo '${'$as_ac_Header'}'`
 
5207
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
5208
echo "${ECHO_T}$ac_res" >&6; }
4518
5209
 
4519
5210
fi
4520
5211
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4526
5217
 
4527
5218
done
4528
5219
 
4529
 
ac_ext=cc
 
5220
ac_ext=cpp
4530
5221
ac_cpp='$CXXCPP $CPPFLAGS'
4531
5222
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532
5223
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533
5224
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4534
 
if test -n "$ac_tool_prefix"; then
4535
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5225
if test -z "$CXX"; then
 
5226
  if test -n "$CCC"; then
 
5227
    CXX=$CCC
 
5228
  else
 
5229
    if test -n "$ac_tool_prefix"; then
 
5230
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4536
5231
  do
4537
5232
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4538
5233
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4539
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4540
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5234
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5235
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4541
5236
if test "${ac_cv_prog_CXX+set}" = set; then
4542
5237
  echo $ECHO_N "(cached) $ECHO_C" >&6
4543
5238
else
4550
5245
  IFS=$as_save_IFS
4551
5246
  test -z "$as_dir" && as_dir=.
4552
5247
  for ac_exec_ext in '' $ac_executable_extensions; do
4553
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5248
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554
5249
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4555
5250
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4556
5251
    break 2
4557
5252
  fi
4558
5253
done
4559
5254
done
 
5255
IFS=$as_save_IFS
4560
5256
 
4561
5257
fi
4562
5258
fi
4563
5259
CXX=$ac_cv_prog_CXX
4564
5260
if test -n "$CXX"; then
4565
 
  echo "$as_me:$LINENO: result: $CXX" >&5
4566
 
echo "${ECHO_T}$CXX" >&6
 
5261
  { echo "$as_me:$LINENO: result: $CXX" >&5
 
5262
echo "${ECHO_T}$CXX" >&6; }
4567
5263
else
4568
 
  echo "$as_me:$LINENO: result: no" >&5
4569
 
echo "${ECHO_T}no" >&6
 
5264
  { echo "$as_me:$LINENO: result: no" >&5
 
5265
echo "${ECHO_T}no" >&6; }
4570
5266
fi
4571
5267
 
 
5268
 
4572
5269
    test -n "$CXX" && break
4573
5270
  done
4574
5271
fi
4575
5272
if test -z "$CXX"; then
4576
5273
  ac_ct_CXX=$CXX
4577
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
 
5274
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4578
5275
do
4579
5276
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4580
5277
set dummy $ac_prog; ac_word=$2
4581
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
4582
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5278
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5279
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4583
5280
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4584
5281
  echo $ECHO_N "(cached) $ECHO_C" >&6
4585
5282
else
4592
5289
  IFS=$as_save_IFS
4593
5290
  test -z "$as_dir" && as_dir=.
4594
5291
  for ac_exec_ext in '' $ac_executable_extensions; do
4595
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5292
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4596
5293
    ac_cv_prog_ac_ct_CXX="$ac_prog"
4597
5294
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4598
5295
    break 2
4599
5296
  fi
4600
5297
done
4601
5298
done
 
5299
IFS=$as_save_IFS
4602
5300
 
4603
5301
fi
4604
5302
fi
4605
5303
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4606
5304
if test -n "$ac_ct_CXX"; then
4607
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4608
 
echo "${ECHO_T}$ac_ct_CXX" >&6
 
5305
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
5306
echo "${ECHO_T}$ac_ct_CXX" >&6; }
4609
5307
else
4610
 
  echo "$as_me:$LINENO: result: no" >&5
4611
 
echo "${ECHO_T}no" >&6
 
5308
  { echo "$as_me:$LINENO: result: no" >&5
 
5309
echo "${ECHO_T}no" >&6; }
4612
5310
fi
4613
5311
 
 
5312
 
4614
5313
  test -n "$ac_ct_CXX" && break
4615
5314
done
4616
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4617
 
 
4618
 
  CXX=$ac_ct_CXX
4619
 
fi
4620
 
 
4621
 
 
 
5315
 
 
5316
  if test "x$ac_ct_CXX" = x; then
 
5317
    CXX="g++"
 
5318
  else
 
5319
    case $cross_compiling:$ac_tool_warned in
 
5320
yes:)
 
5321
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
5322
whose name does not start with the host triplet.  If you think this
 
5323
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
5324
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
5325
whose name does not start with the host triplet.  If you think this
 
5326
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
5327
ac_tool_warned=yes ;;
 
5328
esac
 
5329
    CXX=$ac_ct_CXX
 
5330
  fi
 
5331
fi
 
5332
 
 
5333
  fi
 
5334
fi
4622
5335
# Provide some information about the compiler.
4623
 
echo "$as_me:$LINENO:" \
4624
 
     "checking for C++ compiler version" >&5
 
5336
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4625
5337
ac_compiler=`set X $ac_compile; echo $2`
4626
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4627
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
4628
 
  ac_status=$?
4629
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630
 
  (exit $ac_status); }
4631
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4632
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
4633
 
  ac_status=$?
4634
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635
 
  (exit $ac_status); }
4636
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4637
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
5338
{ (ac_try="$ac_compiler --version >&5"
 
5339
case "(($ac_try" in
 
5340
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5341
  *) ac_try_echo=$ac_try;;
 
5342
esac
 
5343
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5344
  (eval "$ac_compiler --version >&5") 2>&5
 
5345
  ac_status=$?
 
5346
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5347
  (exit $ac_status); }
 
5348
{ (ac_try="$ac_compiler -v >&5"
 
5349
case "(($ac_try" in
 
5350
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5351
  *) ac_try_echo=$ac_try;;
 
5352
esac
 
5353
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5354
  (eval "$ac_compiler -v >&5") 2>&5
 
5355
  ac_status=$?
 
5356
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5357
  (exit $ac_status); }
 
5358
{ (ac_try="$ac_compiler -V >&5"
 
5359
case "(($ac_try" in
 
5360
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5361
  *) ac_try_echo=$ac_try;;
 
5362
esac
 
5363
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5364
  (eval "$ac_compiler -V >&5") 2>&5
4638
5365
  ac_status=$?
4639
5366
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640
5367
  (exit $ac_status); }
4641
5368
 
4642
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4643
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
 
5369
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
5370
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4644
5371
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4645
5372
  echo $ECHO_N "(cached) $ECHO_C" >&6
4646
5373
else
4663
5390
}
4664
5391
_ACEOF
4665
5392
rm -f conftest.$ac_objext
4666
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4667
 
  (eval $ac_compile) 2>conftest.er1
 
5393
if { (ac_try="$ac_compile"
 
5394
case "(($ac_try" in
 
5395
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5396
  *) ac_try_echo=$ac_try;;
 
5397
esac
 
5398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5399
  (eval "$ac_compile") 2>conftest.er1
4668
5400
  ac_status=$?
4669
5401
  grep -v '^ *+' conftest.er1 >conftest.err
4670
5402
  rm -f conftest.er1
4671
5403
  cat conftest.err >&5
4672
5404
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673
 
  (exit $ac_status); } &&
4674
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4675
 
                         || test ! -s conftest.err'
4676
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4677
 
  (eval $ac_try) 2>&5
4678
 
  ac_status=$?
4679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680
 
  (exit $ac_status); }; } &&
4681
 
         { ac_try='test -s conftest.$ac_objext'
4682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4683
 
  (eval $ac_try) 2>&5
4684
 
  ac_status=$?
4685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686
 
  (exit $ac_status); }; }; then
 
5405
  (exit $ac_status); } && {
 
5406
         test -z "$ac_cxx_werror_flag" ||
 
5407
         test ! -s conftest.err
 
5408
       } && test -s conftest.$ac_objext; then
4687
5409
  ac_compiler_gnu=yes
4688
5410
else
4689
5411
  echo "$as_me: failed program was:" >&5
4690
5412
sed 's/^/| /' conftest.$ac_ext >&5
4691
5413
 
4692
 
ac_compiler_gnu=no
 
5414
        ac_compiler_gnu=no
4693
5415
fi
4694
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
5416
 
 
5417
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4695
5418
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4696
5419
 
4697
5420
fi
4698
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4699
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
 
5421
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
5422
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4700
5423
GXX=`test $ac_compiler_gnu = yes && echo yes`
4701
5424
ac_test_CXXFLAGS=${CXXFLAGS+set}
4702
5425
ac_save_CXXFLAGS=$CXXFLAGS
4703
 
CXXFLAGS="-g"
4704
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4705
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
 
5426
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
5427
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4706
5428
if test "${ac_cv_prog_cxx_g+set}" = set; then
4707
5429
  echo $ECHO_N "(cached) $ECHO_C" >&6
4708
5430
else
4709
 
  cat >conftest.$ac_ext <<_ACEOF
4710
 
/* confdefs.h.  */
4711
 
_ACEOF
4712
 
cat confdefs.h >>conftest.$ac_ext
4713
 
cat >>conftest.$ac_ext <<_ACEOF
4714
 
/* end confdefs.h.  */
4715
 
 
4716
 
int
4717
 
main ()
4718
 
{
4719
 
 
4720
 
  ;
4721
 
  return 0;
4722
 
}
4723
 
_ACEOF
4724
 
rm -f conftest.$ac_objext
4725
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4726
 
  (eval $ac_compile) 2>conftest.er1
4727
 
  ac_status=$?
4728
 
  grep -v '^ *+' conftest.er1 >conftest.err
4729
 
  rm -f conftest.er1
4730
 
  cat conftest.err >&5
4731
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732
 
  (exit $ac_status); } &&
4733
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4734
 
                         || test ! -s conftest.err'
4735
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736
 
  (eval $ac_try) 2>&5
4737
 
  ac_status=$?
4738
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739
 
  (exit $ac_status); }; } &&
4740
 
         { ac_try='test -s conftest.$ac_objext'
4741
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742
 
  (eval $ac_try) 2>&5
4743
 
  ac_status=$?
4744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745
 
  (exit $ac_status); }; }; then
4746
 
  ac_cv_prog_cxx_g=yes
4747
 
else
4748
 
  echo "$as_me: failed program was:" >&5
4749
 
sed 's/^/| /' conftest.$ac_ext >&5
4750
 
 
4751
 
ac_cv_prog_cxx_g=no
4752
 
fi
4753
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4754
 
fi
4755
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4756
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 
5431
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
5432
   ac_cxx_werror_flag=yes
 
5433
   ac_cv_prog_cxx_g=no
 
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
        CXXFLAGS=""
 
5473
      cat >conftest.$ac_ext <<_ACEOF
 
5474
/* confdefs.h.  */
 
5475
_ACEOF
 
5476
cat confdefs.h >>conftest.$ac_ext
 
5477
cat >>conftest.$ac_ext <<_ACEOF
 
5478
/* end confdefs.h.  */
 
5479
 
 
5480
int
 
5481
main ()
 
5482
{
 
5483
 
 
5484
  ;
 
5485
  return 0;
 
5486
}
 
5487
_ACEOF
 
5488
rm -f conftest.$ac_objext
 
5489
if { (ac_try="$ac_compile"
 
5490
case "(($ac_try" in
 
5491
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5492
  *) ac_try_echo=$ac_try;;
 
5493
esac
 
5494
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5495
  (eval "$ac_compile") 2>conftest.er1
 
5496
  ac_status=$?
 
5497
  grep -v '^ *+' conftest.er1 >conftest.err
 
5498
  rm -f conftest.er1
 
5499
  cat conftest.err >&5
 
5500
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5501
  (exit $ac_status); } && {
 
5502
         test -z "$ac_cxx_werror_flag" ||
 
5503
         test ! -s conftest.err
 
5504
       } && test -s conftest.$ac_objext; then
 
5505
  :
 
5506
else
 
5507
  echo "$as_me: failed program was:" >&5
 
5508
sed 's/^/| /' conftest.$ac_ext >&5
 
5509
 
 
5510
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5511
         CXXFLAGS="-g"
 
5512
         cat >conftest.$ac_ext <<_ACEOF
 
5513
/* confdefs.h.  */
 
5514
_ACEOF
 
5515
cat confdefs.h >>conftest.$ac_ext
 
5516
cat >>conftest.$ac_ext <<_ACEOF
 
5517
/* end confdefs.h.  */
 
5518
 
 
5519
int
 
5520
main ()
 
5521
{
 
5522
 
 
5523
  ;
 
5524
  return 0;
 
5525
}
 
5526
_ACEOF
 
5527
rm -f conftest.$ac_objext
 
5528
if { (ac_try="$ac_compile"
 
5529
case "(($ac_try" in
 
5530
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5531
  *) ac_try_echo=$ac_try;;
 
5532
esac
 
5533
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5534
  (eval "$ac_compile") 2>conftest.er1
 
5535
  ac_status=$?
 
5536
  grep -v '^ *+' conftest.er1 >conftest.err
 
5537
  rm -f conftest.er1
 
5538
  cat conftest.err >&5
 
5539
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5540
  (exit $ac_status); } && {
 
5541
         test -z "$ac_cxx_werror_flag" ||
 
5542
         test ! -s conftest.err
 
5543
       } && test -s conftest.$ac_objext; then
 
5544
  ac_cv_prog_cxx_g=yes
 
5545
else
 
5546
  echo "$as_me: failed program was:" >&5
 
5547
sed 's/^/| /' conftest.$ac_ext >&5
 
5548
 
 
5549
 
 
5550
fi
 
5551
 
 
5552
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5553
fi
 
5554
 
 
5555
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5556
fi
 
5557
 
 
5558
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5559
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
5560
fi
 
5561
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
5562
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4757
5563
if test "$ac_test_CXXFLAGS" = set; then
4758
5564
  CXXFLAGS=$ac_save_CXXFLAGS
4759
5565
elif test $ac_cv_prog_cxx_g = yes; then
4769
5575
    CXXFLAGS=
4770
5576
  fi
4771
5577
fi
4772
 
for ac_declaration in \
4773
 
   '' \
4774
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4775
 
   'extern "C" void std::exit (int); using std::exit;' \
4776
 
   'extern "C" void exit (int) throw ();' \
4777
 
   'extern "C" void exit (int);' \
4778
 
   'void exit (int);'
4779
 
do
4780
 
  cat >conftest.$ac_ext <<_ACEOF
4781
 
/* confdefs.h.  */
4782
 
_ACEOF
4783
 
cat confdefs.h >>conftest.$ac_ext
4784
 
cat >>conftest.$ac_ext <<_ACEOF
4785
 
/* end confdefs.h.  */
4786
 
$ac_declaration
4787
 
#include <stdlib.h>
4788
 
int
4789
 
main ()
4790
 
{
4791
 
exit (42);
4792
 
  ;
4793
 
  return 0;
4794
 
}
4795
 
_ACEOF
4796
 
rm -f conftest.$ac_objext
4797
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4798
 
  (eval $ac_compile) 2>conftest.er1
4799
 
  ac_status=$?
4800
 
  grep -v '^ *+' conftest.er1 >conftest.err
4801
 
  rm -f conftest.er1
4802
 
  cat conftest.err >&5
4803
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804
 
  (exit $ac_status); } &&
4805
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4806
 
                         || test ! -s conftest.err'
4807
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808
 
  (eval $ac_try) 2>&5
4809
 
  ac_status=$?
4810
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811
 
  (exit $ac_status); }; } &&
4812
 
         { ac_try='test -s conftest.$ac_objext'
4813
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4814
 
  (eval $ac_try) 2>&5
4815
 
  ac_status=$?
4816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817
 
  (exit $ac_status); }; }; then
4818
 
  :
4819
 
else
4820
 
  echo "$as_me: failed program was:" >&5
4821
 
sed 's/^/| /' conftest.$ac_ext >&5
4822
 
 
4823
 
continue
4824
 
fi
4825
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4826
 
  cat >conftest.$ac_ext <<_ACEOF
4827
 
/* confdefs.h.  */
4828
 
_ACEOF
4829
 
cat confdefs.h >>conftest.$ac_ext
4830
 
cat >>conftest.$ac_ext <<_ACEOF
4831
 
/* end confdefs.h.  */
4832
 
$ac_declaration
4833
 
int
4834
 
main ()
4835
 
{
4836
 
exit (42);
4837
 
  ;
4838
 
  return 0;
4839
 
}
4840
 
_ACEOF
4841
 
rm -f conftest.$ac_objext
4842
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4843
 
  (eval $ac_compile) 2>conftest.er1
4844
 
  ac_status=$?
4845
 
  grep -v '^ *+' conftest.er1 >conftest.err
4846
 
  rm -f conftest.er1
4847
 
  cat conftest.err >&5
4848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849
 
  (exit $ac_status); } &&
4850
 
         { ac_try='test -z "$ac_cxx_werror_flag"
4851
 
                         || test ! -s conftest.err'
4852
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853
 
  (eval $ac_try) 2>&5
4854
 
  ac_status=$?
4855
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856
 
  (exit $ac_status); }; } &&
4857
 
         { ac_try='test -s conftest.$ac_objext'
4858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859
 
  (eval $ac_try) 2>&5
4860
 
  ac_status=$?
4861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862
 
  (exit $ac_status); }; }; then
4863
 
  break
4864
 
else
4865
 
  echo "$as_me: failed program was:" >&5
4866
 
sed 's/^/| /' conftest.$ac_ext >&5
4867
 
 
4868
 
fi
4869
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4870
 
done
4871
 
rm -f conftest*
4872
 
if test -n "$ac_declaration"; then
4873
 
  echo '#ifdef __cplusplus' >>confdefs.h
4874
 
  echo $ac_declaration      >>confdefs.h
4875
 
  echo '#endif'             >>confdefs.h
4876
 
fi
4877
 
 
4878
 
ac_ext=cc
 
5578
ac_ext=cpp
4879
5579
ac_cpp='$CXXCPP $CPPFLAGS'
4880
5580
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4881
5581
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4883
5583
 
4884
5584
depcc="$CXX"  am_compiler_list=
4885
5585
 
4886
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4887
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5586
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5587
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
4888
5588
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
4889
5589
  echo $ECHO_N "(cached) $ECHO_C" >&6
4890
5590
else
4948
5648
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4949
5649
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4950
5650
         >/dev/null 2>conftest.err &&
 
5651
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4951
5652
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4952
5653
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4953
5654
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4973
5674
fi
4974
5675
 
4975
5676
fi
4976
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4977
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
5677
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5678
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4978
5679
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4979
5680
 
4980
 
 
4981
 
 
4982
 
if
 
5681
 if
4983
5682
  test "x$enable_dependency_tracking" != xno \
4984
5683
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4985
5684
  am__fastdepCXX_TRUE=
4995
5694
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
4996
5695
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
4997
5696
    (test "X$CXX" != "Xg++"))) ; then
4998
 
  ac_ext=cc
 
5697
  ac_ext=cpp
4999
5698
ac_cpp='$CXXCPP $CPPFLAGS'
5000
5699
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5001
5700
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5002
5701
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5003
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5004
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
 
5702
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
5703
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5005
5704
if test -z "$CXXCPP"; then
5006
5705
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5007
5706
  echo $ECHO_N "(cached) $ECHO_C" >&6
5031
5730
#endif
5032
5731
                     Syntax error
5033
5732
_ACEOF
5034
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5035
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5733
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5734
case "(($ac_try" in
 
5735
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5736
  *) ac_try_echo=$ac_try;;
 
5737
esac
 
5738
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5739
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5036
5740
  ac_status=$?
5037
5741
  grep -v '^ *+' conftest.er1 >conftest.err
5038
5742
  rm -f conftest.er1
5039
5743
  cat conftest.err >&5
5040
5744
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5041
 
  (exit $ac_status); } >/dev/null; then
5042
 
  if test -s conftest.err; then
5043
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5044
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5045
 
  else
5046
 
    ac_cpp_err=
5047
 
  fi
5048
 
else
5049
 
  ac_cpp_err=yes
5050
 
fi
5051
 
if test -z "$ac_cpp_err"; then
 
5745
  (exit $ac_status); } >/dev/null && {
 
5746
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5747
         test ! -s conftest.err
 
5748
       }; then
5052
5749
  :
5053
5750
else
5054
5751
  echo "$as_me: failed program was:" >&5
5057
5754
  # Broken: fails on valid input.
5058
5755
continue
5059
5756
fi
 
5757
 
5060
5758
rm -f conftest.err conftest.$ac_ext
5061
5759
 
5062
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5760
  # OK, works on sane cases.  Now check whether nonexistent headers
5063
5761
  # can be detected and how.
5064
5762
  cat >conftest.$ac_ext <<_ACEOF
5065
5763
/* confdefs.h.  */
5069
5767
/* end confdefs.h.  */
5070
5768
#include <ac_nonexistent.h>
5071
5769
_ACEOF
5072
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5073
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5770
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5771
case "(($ac_try" in
 
5772
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5773
  *) ac_try_echo=$ac_try;;
 
5774
esac
 
5775
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5776
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5074
5777
  ac_status=$?
5075
5778
  grep -v '^ *+' conftest.er1 >conftest.err
5076
5779
  rm -f conftest.er1
5077
5780
  cat conftest.err >&5
5078
5781
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079
 
  (exit $ac_status); } >/dev/null; then
5080
 
  if test -s conftest.err; then
5081
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5082
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5083
 
  else
5084
 
    ac_cpp_err=
5085
 
  fi
5086
 
else
5087
 
  ac_cpp_err=yes
5088
 
fi
5089
 
if test -z "$ac_cpp_err"; then
 
5782
  (exit $ac_status); } >/dev/null && {
 
5783
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5784
         test ! -s conftest.err
 
5785
       }; then
5090
5786
  # Broken: success on invalid input.
5091
5787
continue
5092
5788
else
5097
5793
ac_preproc_ok=:
5098
5794
break
5099
5795
fi
 
5796
 
5100
5797
rm -f conftest.err conftest.$ac_ext
5101
5798
 
5102
5799
done
5114
5811
else
5115
5812
  ac_cv_prog_CXXCPP=$CXXCPP
5116
5813
fi
5117
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
5118
 
echo "${ECHO_T}$CXXCPP" >&6
 
5814
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
5815
echo "${ECHO_T}$CXXCPP" >&6; }
5119
5816
ac_preproc_ok=false
5120
5817
for ac_cxx_preproc_warn_flag in '' yes
5121
5818
do
5138
5835
#endif
5139
5836
                     Syntax error
5140
5837
_ACEOF
5141
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5142
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5838
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5839
case "(($ac_try" in
 
5840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5841
  *) ac_try_echo=$ac_try;;
 
5842
esac
 
5843
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5844
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5143
5845
  ac_status=$?
5144
5846
  grep -v '^ *+' conftest.er1 >conftest.err
5145
5847
  rm -f conftest.er1
5146
5848
  cat conftest.err >&5
5147
5849
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148
 
  (exit $ac_status); } >/dev/null; then
5149
 
  if test -s conftest.err; then
5150
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5151
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5152
 
  else
5153
 
    ac_cpp_err=
5154
 
  fi
5155
 
else
5156
 
  ac_cpp_err=yes
5157
 
fi
5158
 
if test -z "$ac_cpp_err"; then
 
5850
  (exit $ac_status); } >/dev/null && {
 
5851
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5852
         test ! -s conftest.err
 
5853
       }; then
5159
5854
  :
5160
5855
else
5161
5856
  echo "$as_me: failed program was:" >&5
5164
5859
  # Broken: fails on valid input.
5165
5860
continue
5166
5861
fi
 
5862
 
5167
5863
rm -f conftest.err conftest.$ac_ext
5168
5864
 
5169
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
5865
  # OK, works on sane cases.  Now check whether nonexistent headers
5170
5866
  # can be detected and how.
5171
5867
  cat >conftest.$ac_ext <<_ACEOF
5172
5868
/* confdefs.h.  */
5176
5872
/* end confdefs.h.  */
5177
5873
#include <ac_nonexistent.h>
5178
5874
_ACEOF
5179
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5180
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
5875
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
5876
case "(($ac_try" in
 
5877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5878
  *) ac_try_echo=$ac_try;;
 
5879
esac
 
5880
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
5881
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5181
5882
  ac_status=$?
5182
5883
  grep -v '^ *+' conftest.er1 >conftest.err
5183
5884
  rm -f conftest.er1
5184
5885
  cat conftest.err >&5
5185
5886
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186
 
  (exit $ac_status); } >/dev/null; then
5187
 
  if test -s conftest.err; then
5188
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5189
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5190
 
  else
5191
 
    ac_cpp_err=
5192
 
  fi
5193
 
else
5194
 
  ac_cpp_err=yes
5195
 
fi
5196
 
if test -z "$ac_cpp_err"; then
 
5887
  (exit $ac_status); } >/dev/null && {
 
5888
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5889
         test ! -s conftest.err
 
5890
       }; then
5197
5891
  # Broken: success on invalid input.
5198
5892
continue
5199
5893
else
5204
5898
ac_preproc_ok=:
5205
5899
break
5206
5900
fi
 
5901
 
5207
5902
rm -f conftest.err conftest.$ac_ext
5208
5903
 
5209
5904
done
5219
5914
   { (exit 1); exit 1; }; }
5220
5915
fi
5221
5916
 
5222
 
ac_ext=cc
 
5917
ac_ext=cpp
5223
5918
ac_cpp='$CXXCPP $CPPFLAGS'
5224
5919
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225
5920
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5233
5928
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5234
5929
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5235
5930
if test -n "$ac_tool_prefix"; then
5236
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5931
  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
5237
5932
  do
5238
5933
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5239
5934
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5240
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5241
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5935
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5936
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5242
5937
if test "${ac_cv_prog_F77+set}" = set; then
5243
5938
  echo $ECHO_N "(cached) $ECHO_C" >&6
5244
5939
else
5251
5946
  IFS=$as_save_IFS
5252
5947
  test -z "$as_dir" && as_dir=.
5253
5948
  for ac_exec_ext in '' $ac_executable_extensions; do
5254
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5949
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255
5950
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5256
5951
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5257
5952
    break 2
5258
5953
  fi
5259
5954
done
5260
5955
done
 
5956
IFS=$as_save_IFS
5261
5957
 
5262
5958
fi
5263
5959
fi
5264
5960
F77=$ac_cv_prog_F77
5265
5961
if test -n "$F77"; then
5266
 
  echo "$as_me:$LINENO: result: $F77" >&5
5267
 
echo "${ECHO_T}$F77" >&6
 
5962
  { echo "$as_me:$LINENO: result: $F77" >&5
 
5963
echo "${ECHO_T}$F77" >&6; }
5268
5964
else
5269
 
  echo "$as_me:$LINENO: result: no" >&5
5270
 
echo "${ECHO_T}no" >&6
 
5965
  { echo "$as_me:$LINENO: result: no" >&5
 
5966
echo "${ECHO_T}no" >&6; }
5271
5967
fi
5272
5968
 
 
5969
 
5273
5970
    test -n "$F77" && break
5274
5971
  done
5275
5972
fi
5276
5973
if test -z "$F77"; then
5277
5974
  ac_ct_F77=$F77
5278
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
 
5975
  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
5279
5976
do
5280
5977
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5281
5978
set dummy $ac_prog; ac_word=$2
5282
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5283
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
5979
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5980
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5284
5981
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5285
5982
  echo $ECHO_N "(cached) $ECHO_C" >&6
5286
5983
else
5293
5990
  IFS=$as_save_IFS
5294
5991
  test -z "$as_dir" && as_dir=.
5295
5992
  for ac_exec_ext in '' $ac_executable_extensions; do
5296
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
5993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297
5994
    ac_cv_prog_ac_ct_F77="$ac_prog"
5298
5995
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5299
5996
    break 2
5300
5997
  fi
5301
5998
done
5302
5999
done
 
6000
IFS=$as_save_IFS
5303
6001
 
5304
6002
fi
5305
6003
fi
5306
6004
ac_ct_F77=$ac_cv_prog_ac_ct_F77
5307
6005
if test -n "$ac_ct_F77"; then
5308
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5309
 
echo "${ECHO_T}$ac_ct_F77" >&6
 
6006
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
 
6007
echo "${ECHO_T}$ac_ct_F77" >&6; }
5310
6008
else
5311
 
  echo "$as_me:$LINENO: result: no" >&5
5312
 
echo "${ECHO_T}no" >&6
 
6009
  { echo "$as_me:$LINENO: result: no" >&5
 
6010
echo "${ECHO_T}no" >&6; }
5313
6011
fi
5314
6012
 
 
6013
 
5315
6014
  test -n "$ac_ct_F77" && break
5316
6015
done
5317
6016
 
5318
 
  F77=$ac_ct_F77
 
6017
  if test "x$ac_ct_F77" = x; then
 
6018
    F77=""
 
6019
  else
 
6020
    case $cross_compiling:$ac_tool_warned in
 
6021
yes:)
 
6022
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6023
whose name does not start with the host triplet.  If you think this
 
6024
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6025
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6026
whose name does not start with the host triplet.  If you think this
 
6027
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6028
ac_tool_warned=yes ;;
 
6029
esac
 
6030
    F77=$ac_ct_F77
 
6031
  fi
5319
6032
fi
5320
6033
 
5321
6034
 
5322
6035
# Provide some information about the compiler.
5323
 
echo "$as_me:5323:" \
5324
 
     "checking for Fortran 77 compiler version" >&5
 
6036
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5325
6037
ac_compiler=`set X $ac_compile; echo $2`
5326
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5327
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5328
 
  ac_status=$?
5329
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330
 
  (exit $ac_status); }
5331
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5332
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5333
 
  ac_status=$?
5334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335
 
  (exit $ac_status); }
5336
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5337
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
 
6038
{ (ac_try="$ac_compiler --version >&5"
 
6039
case "(($ac_try" in
 
6040
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6041
  *) ac_try_echo=$ac_try;;
 
6042
esac
 
6043
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6044
  (eval "$ac_compiler --version >&5") 2>&5
 
6045
  ac_status=$?
 
6046
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6047
  (exit $ac_status); }
 
6048
{ (ac_try="$ac_compiler -v >&5"
 
6049
case "(($ac_try" in
 
6050
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6051
  *) ac_try_echo=$ac_try;;
 
6052
esac
 
6053
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6054
  (eval "$ac_compiler -v >&5") 2>&5
 
6055
  ac_status=$?
 
6056
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6057
  (exit $ac_status); }
 
6058
{ (ac_try="$ac_compiler -V >&5"
 
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_compiler -V >&5") 2>&5
5338
6065
  ac_status=$?
5339
6066
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340
6067
  (exit $ac_status); }
5344
6071
# input file.  (Note that this only needs to work for GNU compilers.)
5345
6072
ac_save_ext=$ac_ext
5346
6073
ac_ext=F
5347
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5348
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
 
6074
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
 
6075
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5349
6076
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5350
6077
  echo $ECHO_N "(cached) $ECHO_C" >&6
5351
6078
else
5358
6085
      end
5359
6086
_ACEOF
5360
6087
rm -f conftest.$ac_objext
5361
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5362
 
  (eval $ac_compile) 2>conftest.er1
 
6088
if { (ac_try="$ac_compile"
 
6089
case "(($ac_try" in
 
6090
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6091
  *) ac_try_echo=$ac_try;;
 
6092
esac
 
6093
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6094
  (eval "$ac_compile") 2>conftest.er1
5363
6095
  ac_status=$?
5364
6096
  grep -v '^ *+' conftest.er1 >conftest.err
5365
6097
  rm -f conftest.er1
5366
6098
  cat conftest.err >&5
5367
6099
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368
 
  (exit $ac_status); } &&
5369
 
         { ac_try='test -z "$ac_f77_werror_flag"
5370
 
                         || test ! -s conftest.err'
5371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5372
 
  (eval $ac_try) 2>&5
5373
 
  ac_status=$?
5374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375
 
  (exit $ac_status); }; } &&
5376
 
         { ac_try='test -s conftest.$ac_objext'
5377
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5378
 
  (eval $ac_try) 2>&5
5379
 
  ac_status=$?
5380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381
 
  (exit $ac_status); }; }; then
 
6100
  (exit $ac_status); } && {
 
6101
         test -z "$ac_f77_werror_flag" ||
 
6102
         test ! -s conftest.err
 
6103
       } && test -s conftest.$ac_objext; then
5382
6104
  ac_compiler_gnu=yes
5383
6105
else
5384
6106
  echo "$as_me: failed program was:" >&5
5385
6107
sed 's/^/| /' conftest.$ac_ext >&5
5386
6108
 
5387
 
ac_compiler_gnu=no
 
6109
        ac_compiler_gnu=no
5388
6110
fi
5389
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
6111
 
 
6112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5390
6113
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5391
6114
 
5392
6115
fi
5393
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5394
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
 
6116
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
 
6117
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5395
6118
ac_ext=$ac_save_ext
5396
6119
ac_test_FFLAGS=${FFLAGS+set}
5397
6120
ac_save_FFLAGS=$FFLAGS
5398
6121
FFLAGS=
5399
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5400
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
 
6122
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
 
6123
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5401
6124
if test "${ac_cv_prog_f77_g+set}" = set; then
5402
6125
  echo $ECHO_N "(cached) $ECHO_C" >&6
5403
6126
else
5408
6131
      end
5409
6132
_ACEOF
5410
6133
rm -f conftest.$ac_objext
5411
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5412
 
  (eval $ac_compile) 2>conftest.er1
 
6134
if { (ac_try="$ac_compile"
 
6135
case "(($ac_try" in
 
6136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6137
  *) ac_try_echo=$ac_try;;
 
6138
esac
 
6139
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
6140
  (eval "$ac_compile") 2>conftest.er1
5413
6141
  ac_status=$?
5414
6142
  grep -v '^ *+' conftest.er1 >conftest.err
5415
6143
  rm -f conftest.er1
5416
6144
  cat conftest.err >&5
5417
6145
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418
 
  (exit $ac_status); } &&
5419
 
         { ac_try='test -z "$ac_f77_werror_flag"
5420
 
                         || test ! -s conftest.err'
5421
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5422
 
  (eval $ac_try) 2>&5
5423
 
  ac_status=$?
5424
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425
 
  (exit $ac_status); }; } &&
5426
 
         { ac_try='test -s conftest.$ac_objext'
5427
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5428
 
  (eval $ac_try) 2>&5
5429
 
  ac_status=$?
5430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431
 
  (exit $ac_status); }; }; then
 
6146
  (exit $ac_status); } && {
 
6147
         test -z "$ac_f77_werror_flag" ||
 
6148
         test ! -s conftest.err
 
6149
       } && test -s conftest.$ac_objext; then
5432
6150
  ac_cv_prog_f77_g=yes
5433
6151
else
5434
6152
  echo "$as_me: failed program was:" >&5
5435
6153
sed 's/^/| /' conftest.$ac_ext >&5
5436
6154
 
5437
 
ac_cv_prog_f77_g=no
5438
 
fi
5439
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5440
 
 
5441
 
fi
5442
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5443
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
 
6155
        ac_cv_prog_f77_g=no
 
6156
fi
 
6157
 
 
6158
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6159
 
 
6160
fi
 
6161
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
 
6162
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5444
6163
if test "$ac_test_FFLAGS" = set; then
5445
6164
  FFLAGS=$ac_save_FFLAGS
5446
6165
elif test $ac_cv_prog_f77_g = yes; then
5467
6186
 
5468
6187
 
5469
6188
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5470
 
 
5471
6189
# find the maximum length of command line arguments
5472
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5473
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
 
6190
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6191
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5474
6192
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5475
6193
  echo $ECHO_N "(cached) $ECHO_C" >&6
5476
6194
else
5554
6272
    fi
5555
6273
    ;;
5556
6274
  *)
5557
 
    # If test is not a shell built-in, we'll probably end up computing a
5558
 
    # maximum length that is only half of the actual maximum length, but
5559
 
    # we can't tell.
5560
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5561
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6275
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6276
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6277
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6278
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6279
    else
 
6280
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6281
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5562
6282
               = "XX$teststring") >/dev/null 2>&1 &&
5563
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5564
 
            lt_cv_sys_max_cmd_len=$new_result &&
5565
 
            test $i != 17 # 1/2 MB should be enough
5566
 
    do
5567
 
      i=`expr $i + 1`
5568
 
      teststring=$teststring$teststring
5569
 
    done
5570
 
    teststring=
5571
 
    # Add a significant safety factor because C++ compilers can tack on massive
5572
 
    # amounts of additional arguments before passing them to the linker.
5573
 
    # It appears as though 1/2 is a usable value.
5574
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6283
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6284
              lt_cv_sys_max_cmd_len=$new_result &&
 
6285
              test $i != 17 # 1/2 MB should be enough
 
6286
      do
 
6287
        i=`expr $i + 1`
 
6288
        teststring=$teststring$teststring
 
6289
      done
 
6290
      teststring=
 
6291
      # Add a significant safety factor because C++ compilers can tack on massive
 
6292
      # amounts of additional arguments before passing them to the linker.
 
6293
      # It appears as though 1/2 is a usable value.
 
6294
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6295
    fi
5575
6296
    ;;
5576
6297
  esac
5577
6298
 
5578
6299
fi
5579
6300
 
5580
6301
if test -n $lt_cv_sys_max_cmd_len ; then
5581
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5582
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
 
6302
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6303
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5583
6304
else
5584
 
  echo "$as_me:$LINENO: result: none" >&5
5585
 
echo "${ECHO_T}none" >&6
 
6305
  { echo "$as_me:$LINENO: result: none" >&5
 
6306
echo "${ECHO_T}none" >&6; }
5586
6307
fi
5587
6308
 
5588
6309
 
5589
6310
 
5590
6311
 
 
6312
 
5591
6313
# Check for command to grab the raw symbol name followed by C symbol from nm.
5592
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5593
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6314
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6315
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5594
6316
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5595
6317
  echo $ECHO_N "(cached) $ECHO_C" >&6
5596
6318
else
5625
6347
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5626
6348
  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'"
5627
6349
  ;;
5628
 
linux*)
 
6350
linux* | k*bsd*-gnu)
5629
6351
  if test "$host_cpu" = ia64; then
5630
6352
    symcode='[ABCDGIRSTW]'
5631
6353
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5778
6500
    echo "$progname: failed program was:" >&5
5779
6501
    cat conftest.$ac_ext >&5
5780
6502
  fi
5781
 
  rm -f conftest* conftst*
 
6503
  rm -rf conftest* conftst*
5782
6504
 
5783
6505
  # Do not use the global_symbol_pipe unless it works.
5784
6506
  if test "$pipe_works" = yes; then
5794
6516
  lt_cv_sys_global_symbol_to_cdecl=
5795
6517
fi
5796
6518
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5797
 
  echo "$as_me:$LINENO: result: failed" >&5
5798
 
echo "${ECHO_T}failed" >&6
 
6519
  { echo "$as_me:$LINENO: result: failed" >&5
 
6520
echo "${ECHO_T}failed" >&6; }
5799
6521
else
5800
 
  echo "$as_me:$LINENO: result: ok" >&5
5801
 
echo "${ECHO_T}ok" >&6
 
6522
  { echo "$as_me:$LINENO: result: ok" >&5
 
6523
echo "${ECHO_T}ok" >&6; }
5802
6524
fi
5803
6525
 
5804
 
echo "$as_me:$LINENO: checking for objdir" >&5
5805
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6526
{ echo "$as_me:$LINENO: checking for objdir" >&5
 
6527
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5806
6528
if test "${lt_cv_objdir+set}" = set; then
5807
6529
  echo $ECHO_N "(cached) $ECHO_C" >&6
5808
6530
else
5816
6538
fi
5817
6539
rmdir .libs 2>/dev/null
5818
6540
fi
5819
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5820
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
6541
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
6542
echo "${ECHO_T}$lt_cv_objdir" >&6; }
5821
6543
objdir=$lt_cv_objdir
5822
6544
 
5823
6545
 
5868
6590
if test -n "$ac_tool_prefix"; then
5869
6591
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5870
6592
set dummy ${ac_tool_prefix}ar; ac_word=$2
5871
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5872
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6593
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6594
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5873
6595
if test "${ac_cv_prog_AR+set}" = set; then
5874
6596
  echo $ECHO_N "(cached) $ECHO_C" >&6
5875
6597
else
5882
6604
  IFS=$as_save_IFS
5883
6605
  test -z "$as_dir" && as_dir=.
5884
6606
  for ac_exec_ext in '' $ac_executable_extensions; do
5885
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6607
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886
6608
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5887
6609
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5888
6610
    break 2
5889
6611
  fi
5890
6612
done
5891
6613
done
 
6614
IFS=$as_save_IFS
5892
6615
 
5893
6616
fi
5894
6617
fi
5895
6618
AR=$ac_cv_prog_AR
5896
6619
if test -n "$AR"; then
5897
 
  echo "$as_me:$LINENO: result: $AR" >&5
5898
 
echo "${ECHO_T}$AR" >&6
 
6620
  { echo "$as_me:$LINENO: result: $AR" >&5
 
6621
echo "${ECHO_T}$AR" >&6; }
5899
6622
else
5900
 
  echo "$as_me:$LINENO: result: no" >&5
5901
 
echo "${ECHO_T}no" >&6
 
6623
  { echo "$as_me:$LINENO: result: no" >&5
 
6624
echo "${ECHO_T}no" >&6; }
5902
6625
fi
 
6626
 
5903
6627
 
5904
6628
fi
5905
6629
if test -z "$ac_cv_prog_AR"; then
5906
6630
  ac_ct_AR=$AR
5907
6631
  # Extract the first word of "ar", so it can be a program name with args.
5908
6632
set dummy ar; ac_word=$2
5909
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5910
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6633
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6634
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5911
6635
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5912
6636
  echo $ECHO_N "(cached) $ECHO_C" >&6
5913
6637
else
5920
6644
  IFS=$as_save_IFS
5921
6645
  test -z "$as_dir" && as_dir=.
5922
6646
  for ac_exec_ext in '' $ac_executable_extensions; do
5923
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6647
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5924
6648
    ac_cv_prog_ac_ct_AR="ar"
5925
6649
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5926
6650
    break 2
5927
6651
  fi
5928
6652
done
5929
6653
done
 
6654
IFS=$as_save_IFS
5930
6655
 
5931
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5932
6656
fi
5933
6657
fi
5934
6658
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5935
6659
if test -n "$ac_ct_AR"; then
5936
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5937
 
echo "${ECHO_T}$ac_ct_AR" >&6
 
6660
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6661
echo "${ECHO_T}$ac_ct_AR" >&6; }
5938
6662
else
5939
 
  echo "$as_me:$LINENO: result: no" >&5
5940
 
echo "${ECHO_T}no" >&6
 
6663
  { echo "$as_me:$LINENO: result: no" >&5
 
6664
echo "${ECHO_T}no" >&6; }
5941
6665
fi
5942
6666
 
5943
 
  AR=$ac_ct_AR
 
6667
  if test "x$ac_ct_AR" = x; then
 
6668
    AR="false"
 
6669
  else
 
6670
    case $cross_compiling:$ac_tool_warned in
 
6671
yes:)
 
6672
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6673
whose name does not start with the host triplet.  If you think this
 
6674
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6675
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6676
whose name does not start with the host triplet.  If you think this
 
6677
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6678
ac_tool_warned=yes ;;
 
6679
esac
 
6680
    AR=$ac_ct_AR
 
6681
  fi
5944
6682
else
5945
6683
  AR="$ac_cv_prog_AR"
5946
6684
fi
5948
6686
if test -n "$ac_tool_prefix"; then
5949
6687
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5950
6688
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5951
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5952
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6689
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6690
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953
6691
if test "${ac_cv_prog_RANLIB+set}" = set; then
5954
6692
  echo $ECHO_N "(cached) $ECHO_C" >&6
5955
6693
else
5962
6700
  IFS=$as_save_IFS
5963
6701
  test -z "$as_dir" && as_dir=.
5964
6702
  for ac_exec_ext in '' $ac_executable_extensions; do
5965
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6703
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5966
6704
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5967
6705
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5968
6706
    break 2
5969
6707
  fi
5970
6708
done
5971
6709
done
 
6710
IFS=$as_save_IFS
5972
6711
 
5973
6712
fi
5974
6713
fi
5975
6714
RANLIB=$ac_cv_prog_RANLIB
5976
6715
if test -n "$RANLIB"; then
5977
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
5978
 
echo "${ECHO_T}$RANLIB" >&6
 
6716
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6717
echo "${ECHO_T}$RANLIB" >&6; }
5979
6718
else
5980
 
  echo "$as_me:$LINENO: result: no" >&5
5981
 
echo "${ECHO_T}no" >&6
 
6719
  { echo "$as_me:$LINENO: result: no" >&5
 
6720
echo "${ECHO_T}no" >&6; }
5982
6721
fi
 
6722
 
5983
6723
 
5984
6724
fi
5985
6725
if test -z "$ac_cv_prog_RANLIB"; then
5986
6726
  ac_ct_RANLIB=$RANLIB
5987
6727
  # Extract the first word of "ranlib", so it can be a program name with args.
5988
6728
set dummy ranlib; ac_word=$2
5989
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5990
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6729
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6730
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5991
6731
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5992
6732
  echo $ECHO_N "(cached) $ECHO_C" >&6
5993
6733
else
6000
6740
  IFS=$as_save_IFS
6001
6741
  test -z "$as_dir" && as_dir=.
6002
6742
  for ac_exec_ext in '' $ac_executable_extensions; do
6003
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6743
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6004
6744
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6005
6745
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6006
6746
    break 2
6007
6747
  fi
6008
6748
done
6009
6749
done
 
6750
IFS=$as_save_IFS
6010
6751
 
6011
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6012
6752
fi
6013
6753
fi
6014
6754
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6015
6755
if test -n "$ac_ct_RANLIB"; then
6016
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6017
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
 
6756
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6757
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6018
6758
else
6019
 
  echo "$as_me:$LINENO: result: no" >&5
6020
 
echo "${ECHO_T}no" >&6
 
6759
  { echo "$as_me:$LINENO: result: no" >&5
 
6760
echo "${ECHO_T}no" >&6; }
6021
6761
fi
6022
6762
 
6023
 
  RANLIB=$ac_ct_RANLIB
 
6763
  if test "x$ac_ct_RANLIB" = x; then
 
6764
    RANLIB=":"
 
6765
  else
 
6766
    case $cross_compiling:$ac_tool_warned in
 
6767
yes:)
 
6768
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6769
whose name does not start with the host triplet.  If you think this
 
6770
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6771
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6772
whose name does not start with the host triplet.  If you think this
 
6773
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6774
ac_tool_warned=yes ;;
 
6775
esac
 
6776
    RANLIB=$ac_ct_RANLIB
 
6777
  fi
6024
6778
else
6025
6779
  RANLIB="$ac_cv_prog_RANLIB"
6026
6780
fi
6028
6782
if test -n "$ac_tool_prefix"; then
6029
6783
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6030
6784
set dummy ${ac_tool_prefix}strip; ac_word=$2
6031
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6032
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6785
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6786
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6033
6787
if test "${ac_cv_prog_STRIP+set}" = set; then
6034
6788
  echo $ECHO_N "(cached) $ECHO_C" >&6
6035
6789
else
6042
6796
  IFS=$as_save_IFS
6043
6797
  test -z "$as_dir" && as_dir=.
6044
6798
  for ac_exec_ext in '' $ac_executable_extensions; do
6045
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6799
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046
6800
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6047
6801
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6048
6802
    break 2
6049
6803
  fi
6050
6804
done
6051
6805
done
 
6806
IFS=$as_save_IFS
6052
6807
 
6053
6808
fi
6054
6809
fi
6055
6810
STRIP=$ac_cv_prog_STRIP
6056
6811
if test -n "$STRIP"; then
6057
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6058
 
echo "${ECHO_T}$STRIP" >&6
 
6812
  { echo "$as_me:$LINENO: result: $STRIP" >&5
 
6813
echo "${ECHO_T}$STRIP" >&6; }
6059
6814
else
6060
 
  echo "$as_me:$LINENO: result: no" >&5
6061
 
echo "${ECHO_T}no" >&6
 
6815
  { echo "$as_me:$LINENO: result: no" >&5
 
6816
echo "${ECHO_T}no" >&6; }
6062
6817
fi
 
6818
 
6063
6819
 
6064
6820
fi
6065
6821
if test -z "$ac_cv_prog_STRIP"; then
6066
6822
  ac_ct_STRIP=$STRIP
6067
6823
  # Extract the first word of "strip", so it can be a program name with args.
6068
6824
set dummy strip; ac_word=$2
6069
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6070
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
6825
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6826
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6071
6827
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6072
6828
  echo $ECHO_N "(cached) $ECHO_C" >&6
6073
6829
else
6080
6836
  IFS=$as_save_IFS
6081
6837
  test -z "$as_dir" && as_dir=.
6082
6838
  for ac_exec_ext in '' $ac_executable_extensions; do
6083
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
6839
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6084
6840
    ac_cv_prog_ac_ct_STRIP="strip"
6085
6841
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6086
6842
    break 2
6087
6843
  fi
6088
6844
done
6089
6845
done
 
6846
IFS=$as_save_IFS
6090
6847
 
6091
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6092
6848
fi
6093
6849
fi
6094
6850
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6095
6851
if test -n "$ac_ct_STRIP"; then
6096
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6097
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
6852
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6853
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6098
6854
else
6099
 
  echo "$as_me:$LINENO: result: no" >&5
6100
 
echo "${ECHO_T}no" >&6
 
6855
  { echo "$as_me:$LINENO: result: no" >&5
 
6856
echo "${ECHO_T}no" >&6; }
6101
6857
fi
6102
6858
 
6103
 
  STRIP=$ac_ct_STRIP
 
6859
  if test "x$ac_ct_STRIP" = x; then
 
6860
    STRIP=":"
 
6861
  else
 
6862
    case $cross_compiling:$ac_tool_warned in
 
6863
yes:)
 
6864
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
6865
whose name does not start with the host triplet.  If you think this
 
6866
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
6867
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
6868
whose name does not start with the host triplet.  If you think this
 
6869
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6870
ac_tool_warned=yes ;;
 
6871
esac
 
6872
    STRIP=$ac_ct_STRIP
 
6873
  fi
6104
6874
else
6105
6875
  STRIP="$ac_cv_prog_STRIP"
6106
6876
fi
6128
6898
test -z "$ac_objext" && ac_objext=o
6129
6899
 
6130
6900
# Determine commands to create old-style static archives.
6131
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
6901
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6132
6902
old_postinstall_cmds='chmod 644 $oldlib'
6133
6903
old_postuninstall_cmds=
6134
6904
 
6159
6929
case $deplibs_check_method in
6160
6930
file_magic*)
6161
6931
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6162
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6163
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
6932
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
6933
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6164
6934
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6165
6935
  echo $ECHO_N "(cached) $ECHO_C" >&6
6166
6936
else
6212
6982
 
6213
6983
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6214
6984
if test -n "$MAGIC_CMD"; then
6215
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6216
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
6985
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
6986
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6217
6987
else
6218
 
  echo "$as_me:$LINENO: result: no" >&5
6219
 
echo "${ECHO_T}no" >&6
 
6988
  { echo "$as_me:$LINENO: result: no" >&5
 
6989
echo "${ECHO_T}no" >&6; }
6220
6990
fi
6221
6991
 
6222
6992
if test -z "$lt_cv_path_MAGIC_CMD"; then
6223
6993
  if test -n "$ac_tool_prefix"; then
6224
 
    echo "$as_me:$LINENO: checking for file" >&5
6225
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
6994
    { echo "$as_me:$LINENO: checking for file" >&5
 
6995
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6226
6996
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6227
6997
  echo $ECHO_N "(cached) $ECHO_C" >&6
6228
6998
else
6274
7044
 
6275
7045
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6276
7046
if test -n "$MAGIC_CMD"; then
6277
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6278
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
7047
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7048
echo "${ECHO_T}$MAGIC_CMD" >&6; }
6279
7049
else
6280
 
  echo "$as_me:$LINENO: result: no" >&5
6281
 
echo "${ECHO_T}no" >&6
 
7050
  { echo "$as_me:$LINENO: result: no" >&5
 
7051
echo "${ECHO_T}no" >&6; }
6282
7052
fi
6283
7053
 
6284
7054
  else
6290
7060
  ;;
6291
7061
esac
6292
7062
 
 
7063
 
 
7064
  case $host_os in
 
7065
    rhapsody* | darwin*)
 
7066
    if test -n "$ac_tool_prefix"; then
 
7067
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7068
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7069
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7070
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7071
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7072
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7073
else
 
7074
  if test -n "$DSYMUTIL"; then
 
7075
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7076
else
 
7077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7078
for as_dir in $PATH
 
7079
do
 
7080
  IFS=$as_save_IFS
 
7081
  test -z "$as_dir" && as_dir=.
 
7082
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7083
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7084
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7085
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7086
    break 2
 
7087
  fi
 
7088
done
 
7089
done
 
7090
IFS=$as_save_IFS
 
7091
 
 
7092
fi
 
7093
fi
 
7094
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7095
if test -n "$DSYMUTIL"; then
 
7096
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7097
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
7098
else
 
7099
  { echo "$as_me:$LINENO: result: no" >&5
 
7100
echo "${ECHO_T}no" >&6; }
 
7101
fi
 
7102
 
 
7103
 
 
7104
fi
 
7105
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7106
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7107
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7108
set dummy dsymutil; ac_word=$2
 
7109
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7110
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7111
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7112
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7113
else
 
7114
  if test -n "$ac_ct_DSYMUTIL"; then
 
7115
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7116
else
 
7117
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7118
for as_dir in $PATH
 
7119
do
 
7120
  IFS=$as_save_IFS
 
7121
  test -z "$as_dir" && as_dir=.
 
7122
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7123
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7124
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7125
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7126
    break 2
 
7127
  fi
 
7128
done
 
7129
done
 
7130
IFS=$as_save_IFS
 
7131
 
 
7132
fi
 
7133
fi
 
7134
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7135
if test -n "$ac_ct_DSYMUTIL"; then
 
7136
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7137
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
7138
else
 
7139
  { echo "$as_me:$LINENO: result: no" >&5
 
7140
echo "${ECHO_T}no" >&6; }
 
7141
fi
 
7142
 
 
7143
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7144
    DSYMUTIL=":"
 
7145
  else
 
7146
    case $cross_compiling:$ac_tool_warned in
 
7147
yes:)
 
7148
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7149
whose name does not start with the host triplet.  If you think this
 
7150
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7151
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7152
whose name does not start with the host triplet.  If you think this
 
7153
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7154
ac_tool_warned=yes ;;
 
7155
esac
 
7156
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7157
  fi
 
7158
else
 
7159
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7160
fi
 
7161
 
 
7162
    if test -n "$ac_tool_prefix"; then
 
7163
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7164
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7165
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7166
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7167
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7168
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7169
else
 
7170
  if test -n "$NMEDIT"; then
 
7171
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7172
else
 
7173
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7174
for as_dir in $PATH
 
7175
do
 
7176
  IFS=$as_save_IFS
 
7177
  test -z "$as_dir" && as_dir=.
 
7178
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7179
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7180
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7181
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7182
    break 2
 
7183
  fi
 
7184
done
 
7185
done
 
7186
IFS=$as_save_IFS
 
7187
 
 
7188
fi
 
7189
fi
 
7190
NMEDIT=$ac_cv_prog_NMEDIT
 
7191
if test -n "$NMEDIT"; then
 
7192
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7193
echo "${ECHO_T}$NMEDIT" >&6; }
 
7194
else
 
7195
  { echo "$as_me:$LINENO: result: no" >&5
 
7196
echo "${ECHO_T}no" >&6; }
 
7197
fi
 
7198
 
 
7199
 
 
7200
fi
 
7201
if test -z "$ac_cv_prog_NMEDIT"; then
 
7202
  ac_ct_NMEDIT=$NMEDIT
 
7203
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7204
set dummy nmedit; ac_word=$2
 
7205
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7206
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7207
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7208
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7209
else
 
7210
  if test -n "$ac_ct_NMEDIT"; then
 
7211
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7212
else
 
7213
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7214
for as_dir in $PATH
 
7215
do
 
7216
  IFS=$as_save_IFS
 
7217
  test -z "$as_dir" && as_dir=.
 
7218
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7219
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7220
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7221
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7222
    break 2
 
7223
  fi
 
7224
done
 
7225
done
 
7226
IFS=$as_save_IFS
 
7227
 
 
7228
fi
 
7229
fi
 
7230
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7231
if test -n "$ac_ct_NMEDIT"; then
 
7232
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7233
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7234
else
 
7235
  { echo "$as_me:$LINENO: result: no" >&5
 
7236
echo "${ECHO_T}no" >&6; }
 
7237
fi
 
7238
 
 
7239
  if test "x$ac_ct_NMEDIT" = x; then
 
7240
    NMEDIT=":"
 
7241
  else
 
7242
    case $cross_compiling:$ac_tool_warned in
 
7243
yes:)
 
7244
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
7245
whose name does not start with the host triplet.  If you think this
 
7246
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
7247
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
7248
whose name does not start with the host triplet.  If you think this
 
7249
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7250
ac_tool_warned=yes ;;
 
7251
esac
 
7252
    NMEDIT=$ac_ct_NMEDIT
 
7253
  fi
 
7254
else
 
7255
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7256
fi
 
7257
 
 
7258
 
 
7259
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7260
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
7261
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7262
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7263
else
 
7264
  lt_cv_apple_cc_single_mod=no
 
7265
      if test -z "${LT_MULTI_MODULE}"; then
 
7266
   # By default we will add the -single_module flag. You can override
 
7267
   # by either setting the environment variable LT_MULTI_MODULE
 
7268
   # non-empty at configure time, or by adding -multi_module to the
 
7269
   # link flags.
 
7270
   echo "int foo(void){return 1;}" > conftest.c
 
7271
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7272
     -dynamiclib ${wl}-single_module conftest.c
 
7273
   if test -f libconftest.dylib; then
 
7274
     lt_cv_apple_cc_single_mod=yes
 
7275
     rm -rf libconftest.dylib*
 
7276
   fi
 
7277
   rm conftest.c
 
7278
      fi
 
7279
fi
 
7280
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7281
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
 
7282
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7283
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
7284
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7285
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7286
else
 
7287
  lt_cv_ld_exported_symbols_list=no
 
7288
      save_LDFLAGS=$LDFLAGS
 
7289
      echo "_main" > conftest.sym
 
7290
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7291
      cat >conftest.$ac_ext <<_ACEOF
 
7292
/* confdefs.h.  */
 
7293
_ACEOF
 
7294
cat confdefs.h >>conftest.$ac_ext
 
7295
cat >>conftest.$ac_ext <<_ACEOF
 
7296
/* end confdefs.h.  */
 
7297
 
 
7298
int
 
7299
main ()
 
7300
{
 
7301
 
 
7302
  ;
 
7303
  return 0;
 
7304
}
 
7305
_ACEOF
 
7306
rm -f conftest.$ac_objext conftest$ac_exeext
 
7307
if { (ac_try="$ac_link"
 
7308
case "(($ac_try" in
 
7309
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7310
  *) ac_try_echo=$ac_try;;
 
7311
esac
 
7312
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7313
  (eval "$ac_link") 2>conftest.er1
 
7314
  ac_status=$?
 
7315
  grep -v '^ *+' conftest.er1 >conftest.err
 
7316
  rm -f conftest.er1
 
7317
  cat conftest.err >&5
 
7318
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7319
  (exit $ac_status); } && {
 
7320
         test -z "$ac_c_werror_flag" ||
 
7321
         test ! -s conftest.err
 
7322
       } && test -s conftest$ac_exeext &&
 
7323
       $as_test_x conftest$ac_exeext; then
 
7324
  lt_cv_ld_exported_symbols_list=yes
 
7325
else
 
7326
  echo "$as_me: failed program was:" >&5
 
7327
sed 's/^/| /' conftest.$ac_ext >&5
 
7328
 
 
7329
        lt_cv_ld_exported_symbols_list=no
 
7330
fi
 
7331
 
 
7332
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7333
      conftest$ac_exeext conftest.$ac_ext
 
7334
   LDFLAGS="$save_LDFLAGS"
 
7335
 
 
7336
fi
 
7337
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7338
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7339
    case $host_os in
 
7340
    rhapsody* | darwin1.[0123])
 
7341
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7342
    darwin1.*)
 
7343
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7344
    darwin*)
 
7345
      # if running on 10.5 or later, the deployment target defaults
 
7346
      # to the OS version, if on x86, and 10.4, the deployment
 
7347
      # target defaults to 10.4. Don't you love it?
 
7348
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7349
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7350
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7351
   10.[012]*)
 
7352
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7353
   10.*)
 
7354
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7355
      esac
 
7356
    ;;
 
7357
  esac
 
7358
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7359
      _lt_dar_single_mod='$single_module'
 
7360
    fi
 
7361
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7362
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7363
    else
 
7364
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7365
    fi
 
7366
    if test "$DSYMUTIL" != ":"; then
 
7367
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7368
    else
 
7369
      _lt_dsymutil=
 
7370
    fi
 
7371
    ;;
 
7372
  esac
 
7373
 
 
7374
 
6293
7375
enable_dlopen=no
6294
7376
enable_win32_dll=no
6295
7377
 
6296
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 
7378
# Check whether --enable-libtool-lock was given.
6297
7379
if test "${enable_libtool_lock+set}" = set; then
6298
 
  enableval="$enable_libtool_lock"
 
7380
  enableval=$enable_libtool_lock;
 
7381
fi
6299
7382
 
6300
 
fi;
6301
7383
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6302
7384
 
6303
7385
 
6304
 
# Check whether --with-pic or --without-pic was given.
 
7386
# Check whether --with-pic was given.
6305
7387
if test "${with_pic+set}" = set; then
6306
 
  withval="$with_pic"
6307
 
  pic_mode="$withval"
 
7388
  withval=$with_pic; pic_mode="$withval"
6308
7389
else
6309
7390
  pic_mode=default
6310
 
fi;
 
7391
fi
 
7392
 
6311
7393
test -z "$pic_mode" && pic_mode=default
6312
7394
 
6313
7395
# Use C for the default configuration in the libtool script
6328
7410
objext=$objext
6329
7411
 
6330
7412
# Code to be used in simple compile tests
6331
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7413
lt_simple_compile_test_code="int some_variable = 0;"
6332
7414
 
6333
7415
# Code to be used in simple link tests
6334
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7416
lt_simple_link_test_code='int main(){return(0);}'
6335
7417
 
6336
7418
 
6337
7419
# If no C compiler was specified, use CC.
6346
7428
 
6347
7429
# save warnings/boilerplate of simple test code
6348
7430
ac_outfile=conftest.$ac_objext
6349
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7431
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6350
7432
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6351
7433
_lt_compiler_boilerplate=`cat conftest.err`
6352
7434
$rm conftest*
6353
7435
 
6354
7436
ac_outfile=conftest.$ac_objext
6355
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7437
echo "$lt_simple_link_test_code" >conftest.$ac_ext
6356
7438
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6357
7439
_lt_linker_boilerplate=`cat conftest.err`
6358
 
$rm conftest*
 
7440
$rm -r conftest*
6359
7441
 
6360
7442
 
6361
7443
 
6365
7447
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6366
7448
 
6367
7449
 
6368
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6369
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
7450
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7451
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6370
7452
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6371
7453
  echo $ECHO_N "(cached) $ECHO_C" >&6
6372
7454
else
6373
7455
  lt_cv_prog_compiler_rtti_exceptions=no
6374
7456
  ac_outfile=conftest.$ac_objext
6375
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7457
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6376
7458
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6377
7459
   # Insert the option either (1) after the last *FLAGS variable, or
6378
7460
   # (2) before a word containing "conftest.", or (3) at the end.
6383
7465
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6384
7466
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6385
7467
   -e 's:$: $lt_compiler_flag:'`
6386
 
   (eval echo "\"\$as_me:6386: $lt_compile\"" >&5)
 
7468
   (eval echo "\"\$as_me:7468: $lt_compile\"" >&5)
6387
7469
   (eval "$lt_compile" 2>conftest.err)
6388
7470
   ac_status=$?
6389
7471
   cat conftest.err >&5
6390
 
   echo "$as_me:6390: \$? = $ac_status" >&5
 
7472
   echo "$as_me:7472: \$? = $ac_status" >&5
6391
7473
   if (exit $ac_status) && test -s "$ac_outfile"; then
6392
7474
     # The compiler can only warn and ignore the option if not recognized
6393
7475
     # So say no if there are warnings other than the usual output.
6400
7482
   $rm conftest*
6401
7483
 
6402
7484
fi
6403
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6404
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
7485
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7486
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6405
7487
 
6406
7488
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6407
7489
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6415
7497
lt_prog_compiler_pic=
6416
7498
lt_prog_compiler_static=
6417
7499
 
6418
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6419
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
7500
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7501
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6420
7502
 
6421
7503
  if test "$GCC" = yes; then
6422
7504
    lt_prog_compiler_wl='-Wl,'
6438
7520
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6439
7521
      ;;
6440
7522
 
6441
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7523
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6442
7524
      # PIC is the default for these OSes.
6443
7525
      ;;
6444
7526
 
6445
 
    mingw* | pw32* | os2*)
 
7527
    mingw* | cygwin* | pw32* | os2*)
6446
7528
      # This hack is so that the source file can tell whether it is being
6447
7529
      # built for inclusion in a dll (and should export symbols for example).
 
7530
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7531
      # (--disable-auto-import) libraries
6448
7532
      lt_prog_compiler_pic='-DDLL_EXPORT'
6449
7533
      ;;
6450
7534
 
6454
7538
      lt_prog_compiler_pic='-fno-common'
6455
7539
      ;;
6456
7540
 
6457
 
    interix3*)
 
7541
    interix[3-9]*)
6458
7542
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6459
7543
      # Instead, we relocate shared libraries at runtime.
6460
7544
      ;;
6512
7596
       esac
6513
7597
       ;;
6514
7598
 
6515
 
    mingw* | pw32* | os2*)
 
7599
    mingw* | cygwin* | pw32* | os2*)
6516
7600
      # This hack is so that the source file can tell whether it is being
6517
7601
      # built for inclusion in a dll (and should export symbols for example).
6518
7602
      lt_prog_compiler_pic='-DDLL_EXPORT'
6545
7629
      lt_prog_compiler_static='-Bstatic'
6546
7630
      ;;
6547
7631
 
6548
 
    linux*)
 
7632
    linux* | k*bsd*-gnu)
6549
7633
      case $cc_basename in
6550
7634
      icc* | ecc*)
6551
7635
        lt_prog_compiler_wl='-Wl,'
6564
7648
        # All Alpha code is PIC.
6565
7649
        lt_prog_compiler_static='-non_shared'
6566
7650
        ;;
 
7651
      *)
 
7652
        case `$CC -V 2>&1 | sed 5q` in
 
7653
        *Sun\ C*)
 
7654
          # Sun C 5.9
 
7655
          lt_prog_compiler_pic='-KPIC'
 
7656
          lt_prog_compiler_static='-Bstatic'
 
7657
          lt_prog_compiler_wl='-Wl,'
 
7658
          ;;
 
7659
        *Sun\ F*)
 
7660
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7661
          lt_prog_compiler_pic='-KPIC'
 
7662
          lt_prog_compiler_static='-Bstatic'
 
7663
          lt_prog_compiler_wl=''
 
7664
          ;;
 
7665
        esac
 
7666
        ;;
6567
7667
      esac
6568
7668
      ;;
6569
7669
 
6573
7673
      lt_prog_compiler_static='-non_shared'
6574
7674
      ;;
6575
7675
 
 
7676
    rdos*)
 
7677
      lt_prog_compiler_static='-non_shared'
 
7678
      ;;
 
7679
 
6576
7680
    solaris*)
6577
7681
      lt_prog_compiler_pic='-KPIC'
6578
7682
      lt_prog_compiler_static='-Bstatic'
6625
7729
    esac
6626
7730
  fi
6627
7731
 
6628
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6629
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
7732
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
7733
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6630
7734
 
6631
7735
#
6632
7736
# Check to make sure the PIC flag actually works.
6633
7737
#
6634
7738
if test -n "$lt_prog_compiler_pic"; then
6635
7739
 
6636
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6637
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6638
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
 
7740
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
7741
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
7742
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
6639
7743
  echo $ECHO_N "(cached) $ECHO_C" >&6
6640
7744
else
6641
 
  lt_prog_compiler_pic_works=no
 
7745
  lt_cv_prog_compiler_pic_works=no
6642
7746
  ac_outfile=conftest.$ac_objext
6643
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7747
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6644
7748
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6645
7749
   # Insert the option either (1) after the last *FLAGS variable, or
6646
7750
   # (2) before a word containing "conftest.", or (3) at the end.
6651
7755
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6652
7756
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6653
7757
   -e 's:$: $lt_compiler_flag:'`
6654
 
   (eval echo "\"\$as_me:6654: $lt_compile\"" >&5)
 
7758
   (eval echo "\"\$as_me:7758: $lt_compile\"" >&5)
6655
7759
   (eval "$lt_compile" 2>conftest.err)
6656
7760
   ac_status=$?
6657
7761
   cat conftest.err >&5
6658
 
   echo "$as_me:6658: \$? = $ac_status" >&5
 
7762
   echo "$as_me:7762: \$? = $ac_status" >&5
6659
7763
   if (exit $ac_status) && test -s "$ac_outfile"; then
6660
7764
     # The compiler can only warn and ignore the option if not recognized
6661
7765
     # So say no if there are warnings other than the usual output.
6662
7766
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6663
7767
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6664
7768
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6665
 
       lt_prog_compiler_pic_works=yes
 
7769
       lt_cv_prog_compiler_pic_works=yes
6666
7770
     fi
6667
7771
   fi
6668
7772
   $rm conftest*
6669
7773
 
6670
7774
fi
6671
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6672
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
7775
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
7776
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
6673
7777
 
6674
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
7778
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
6675
7779
    case $lt_prog_compiler_pic in
6676
7780
     "" | " "*) ;;
6677
7781
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6696
7800
# Check to make sure the static flag actually works.
6697
7801
#
6698
7802
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6699
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6700
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6701
 
if test "${lt_prog_compiler_static_works+set}" = set; then
 
7803
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
7804
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
7805
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
6702
7806
  echo $ECHO_N "(cached) $ECHO_C" >&6
6703
7807
else
6704
 
  lt_prog_compiler_static_works=no
 
7808
  lt_cv_prog_compiler_static_works=no
6705
7809
   save_LDFLAGS="$LDFLAGS"
6706
7810
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6707
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7811
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
6708
7812
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6709
7813
     # The linker can only warn and ignore the option if not recognized
6710
7814
     # So say no if there are warnings
6714
7818
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6715
7819
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6716
7820
       if diff conftest.exp conftest.er2 >/dev/null; then
6717
 
         lt_prog_compiler_static_works=yes
 
7821
         lt_cv_prog_compiler_static_works=yes
6718
7822
       fi
6719
7823
     else
6720
 
       lt_prog_compiler_static_works=yes
 
7824
       lt_cv_prog_compiler_static_works=yes
6721
7825
     fi
6722
7826
   fi
6723
 
   $rm conftest*
 
7827
   $rm -r conftest*
6724
7828
   LDFLAGS="$save_LDFLAGS"
6725
7829
 
6726
7830
fi
6727
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6728
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
7831
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
7832
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
6729
7833
 
6730
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
7834
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
6731
7835
    :
6732
7836
else
6733
7837
    lt_prog_compiler_static=
6734
7838
fi
6735
7839
 
6736
7840
 
6737
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6738
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
7841
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
7842
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6739
7843
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6740
7844
  echo $ECHO_N "(cached) $ECHO_C" >&6
6741
7845
else
6744
7848
   mkdir conftest
6745
7849
   cd conftest
6746
7850
   mkdir out
6747
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7851
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6748
7852
 
6749
7853
   lt_compiler_flag="-o out/conftest2.$ac_objext"
6750
7854
   # Insert the option either (1) after the last *FLAGS variable, or
6755
7859
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6756
7860
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6757
7861
   -e 's:$: $lt_compiler_flag:'`
6758
 
   (eval echo "\"\$as_me:6758: $lt_compile\"" >&5)
 
7862
   (eval echo "\"\$as_me:7862: $lt_compile\"" >&5)
6759
7863
   (eval "$lt_compile" 2>out/conftest.err)
6760
7864
   ac_status=$?
6761
7865
   cat out/conftest.err >&5
6762
 
   echo "$as_me:6762: \$? = $ac_status" >&5
 
7866
   echo "$as_me:7866: \$? = $ac_status" >&5
6763
7867
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6764
7868
   then
6765
7869
     # The compiler can only warn and ignore the option if not recognized
6781
7885
   $rm conftest*
6782
7886
 
6783
7887
fi
6784
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6785
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
7888
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
7889
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6786
7890
 
6787
7891
 
6788
7892
hard_links="nottested"
6789
7893
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6790
7894
  # do not overwrite the value of need_locks provided by the user
6791
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6792
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
7895
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
7896
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6793
7897
  hard_links=yes
6794
7898
  $rm conftest*
6795
7899
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6796
7900
  touch conftest.a
6797
7901
  ln conftest.a conftest.b 2>&5 || hard_links=no
6798
7902
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6799
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
6800
 
echo "${ECHO_T}$hard_links" >&6
 
7903
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
7904
echo "${ECHO_T}$hard_links" >&6; }
6801
7905
  if test "$hard_links" = no; then
6802
7906
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6803
7907
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6807
7911
  need_locks=no
6808
7912
fi
6809
7913
 
6810
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6811
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
7914
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
7915
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6812
7916
 
6813
7917
  runpath_var=
6814
7918
  allow_undefined_flag=
6839
7943
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
6840
7944
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6841
7945
  # as well as any symbol that contains `d'.
6842
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
7946
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
6843
7947
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6844
7948
  # platforms (ab)use it in PIC code, but their linkers get confused if
6845
7949
  # the symbol is explicitly referenced.  Since portable code cannot
6846
7950
  # rely on this symbol name, it's probably fine to never include it in
6847
7951
  # preloaded symbol tables.
 
7952
  # Exclude shared library initialization/finalization symbols.
6848
7953
  extract_expsyms_cmds=
6849
7954
  # Just being paranoid about ensuring that cc_basename is set.
6850
7955
  for cc_temp in $compiler""; do
6903
8008
 
6904
8009
    # See if GNU ld supports shared libraries.
6905
8010
    case $host_os in
6906
 
    aix3* | aix4* | aix5*)
 
8011
    aix[3-9]*)
6907
8012
      # On AIX/PPC, the GNU linker is very broken
6908
8013
      if test "$host_cpu" != ia64; then
6909
8014
        ld_shlibs=no
6951
8056
      allow_undefined_flag=unsupported
6952
8057
      always_export_symbols=no
6953
8058
      enable_shared_with_static_runtimes=yes
6954
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
8059
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6955
8060
 
6956
8061
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6957
8062
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6969
8074
      fi
6970
8075
      ;;
6971
8076
 
6972
 
    interix3*)
 
8077
    interix[3-9]*)
6973
8078
      hardcode_direct=no
6974
8079
      hardcode_shlibpath_var=no
6975
8080
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6984
8089
      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'
6985
8090
      ;;
6986
8091
 
6987
 
    linux*)
 
8092
    gnu* | linux* | k*bsd*-gnu)
6988
8093
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6989
8094
        tmp_addflag=
6990
8095
        case $cc_basename,$host_cpu in
7002
8107
        ifc* | ifort*)                  # Intel Fortran compiler
7003
8108
          tmp_addflag=' -nofor_main' ;;
7004
8109
        esac
7005
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8110
        case `$CC -V 2>&1 | sed 5q` in
 
8111
        *Sun\ C*)                       # Sun C 5.9
 
8112
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
8113
          tmp_sharedflag='-G' ;;
 
8114
        *Sun\ F*)                       # Sun Fortran 8.3
 
8115
          tmp_sharedflag='-G' ;;
 
8116
        *)
 
8117
          tmp_sharedflag='-shared' ;;
 
8118
        esac
 
8119
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7006
8120
 
7007
8121
        if test $supports_anon_versioning = yes; then
7008
8122
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7009
8123
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7010
8124
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7011
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8125
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7012
8126
        fi
 
8127
        link_all_deplibs=no
7013
8128
      else
7014
8129
        ld_shlibs=no
7015
8130
      fi
7016
8131
      ;;
7017
8132
 
7018
 
    netbsd*)
 
8133
    netbsd* | netbsdelf*-gnu)
7019
8134
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7020
8135
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7021
8136
        wlarc=
7113
8228
      fi
7114
8229
      ;;
7115
8230
 
7116
 
    aix4* | aix5*)
 
8231
    aix[4-9]*)
7117
8232
      if test "$host_cpu" = ia64; then
7118
8233
        # On IA64, the linker does run time linking by default, so we don't
7119
8234
        # have to do anything special.
7133
8248
        # Test if we are trying to use run time linking or normal
7134
8249
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7135
8250
        # need to do runtime linking.
7136
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8251
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7137
8252
          for ld_flag in $LDFLAGS; do
7138
8253
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7139
8254
            aix_use_runtimelinking=yes
7167
8282
           strings "$collect2name" | grep resolve_lib_name >/dev/null
7168
8283
          then
7169
8284
          # We have reworked collect2
7170
 
          hardcode_direct=yes
 
8285
          :
7171
8286
          else
7172
8287
          # We have old collect2
7173
8288
          hardcode_direct=unsupported
7223
8338
}
7224
8339
_ACEOF
7225
8340
rm -f conftest.$ac_objext conftest$ac_exeext
7226
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7227
 
  (eval $ac_link) 2>conftest.er1
 
8341
if { (ac_try="$ac_link"
 
8342
case "(($ac_try" in
 
8343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8344
  *) ac_try_echo=$ac_try;;
 
8345
esac
 
8346
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8347
  (eval "$ac_link") 2>conftest.er1
7228
8348
  ac_status=$?
7229
8349
  grep -v '^ *+' conftest.er1 >conftest.err
7230
8350
  rm -f conftest.er1
7231
8351
  cat conftest.err >&5
7232
8352
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7233
 
  (exit $ac_status); } &&
7234
 
         { ac_try='test -z "$ac_c_werror_flag"
7235
 
                         || test ! -s conftest.err'
7236
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7237
 
  (eval $ac_try) 2>&5
7238
 
  ac_status=$?
7239
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240
 
  (exit $ac_status); }; } &&
7241
 
         { ac_try='test -s conftest$ac_exeext'
7242
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7243
 
  (eval $ac_try) 2>&5
7244
 
  ac_status=$?
7245
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246
 
  (exit $ac_status); }; }; then
 
8353
  (exit $ac_status); } && {
 
8354
         test -z "$ac_c_werror_flag" ||
 
8355
         test ! -s conftest.err
 
8356
       } && test -s conftest$ac_exeext &&
 
8357
       $as_test_x conftest$ac_exeext; then
7247
8358
 
7248
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7249
 
}'`
 
8359
lt_aix_libpath_sed='
 
8360
    /Import File Strings/,/^$/ {
 
8361
        /^0/ {
 
8362
            s/^0  *\(.*\)$/\1/
 
8363
            p
 
8364
        }
 
8365
    }'
 
8366
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7250
8367
# Check for a 64-bit object if we didn't find anything.
7251
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7252
 
}'`; fi
 
8368
if test -z "$aix_libpath"; then
 
8369
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8370
fi
7253
8371
else
7254
8372
  echo "$as_me: failed program was:" >&5
7255
8373
sed 's/^/| /' conftest.$ac_ext >&5
7256
8374
 
 
8375
 
7257
8376
fi
7258
 
rm -f conftest.err conftest.$ac_objext \
 
8377
 
 
8378
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7259
8379
      conftest$ac_exeext conftest.$ac_ext
7260
8380
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7261
8381
 
7284
8404
}
7285
8405
_ACEOF
7286
8406
rm -f conftest.$ac_objext conftest$ac_exeext
7287
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7288
 
  (eval $ac_link) 2>conftest.er1
 
8407
if { (ac_try="$ac_link"
 
8408
case "(($ac_try" in
 
8409
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8410
  *) ac_try_echo=$ac_try;;
 
8411
esac
 
8412
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8413
  (eval "$ac_link") 2>conftest.er1
7289
8414
  ac_status=$?
7290
8415
  grep -v '^ *+' conftest.er1 >conftest.err
7291
8416
  rm -f conftest.er1
7292
8417
  cat conftest.err >&5
7293
8418
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294
 
  (exit $ac_status); } &&
7295
 
         { ac_try='test -z "$ac_c_werror_flag"
7296
 
                         || test ! -s conftest.err'
7297
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298
 
  (eval $ac_try) 2>&5
7299
 
  ac_status=$?
7300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301
 
  (exit $ac_status); }; } &&
7302
 
         { ac_try='test -s conftest$ac_exeext'
7303
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7304
 
  (eval $ac_try) 2>&5
7305
 
  ac_status=$?
7306
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307
 
  (exit $ac_status); }; }; then
 
8419
  (exit $ac_status); } && {
 
8420
         test -z "$ac_c_werror_flag" ||
 
8421
         test ! -s conftest.err
 
8422
       } && test -s conftest$ac_exeext &&
 
8423
       $as_test_x conftest$ac_exeext; then
7308
8424
 
7309
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7310
 
}'`
 
8425
lt_aix_libpath_sed='
 
8426
    /Import File Strings/,/^$/ {
 
8427
        /^0/ {
 
8428
            s/^0  *\(.*\)$/\1/
 
8429
            p
 
8430
        }
 
8431
    }'
 
8432
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7311
8433
# Check for a 64-bit object if we didn't find anything.
7312
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
7313
 
}'`; fi
 
8434
if test -z "$aix_libpath"; then
 
8435
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8436
fi
7314
8437
else
7315
8438
  echo "$as_me: failed program was:" >&5
7316
8439
sed 's/^/| /' conftest.$ac_ext >&5
7317
8440
 
 
8441
 
7318
8442
fi
7319
 
rm -f conftest.err conftest.$ac_objext \
 
8443
 
 
8444
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7320
8445
      conftest$ac_exeext conftest.$ac_ext
7321
8446
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7322
8447
 
7362
8487
      # The linker will automatically build a .lib file if we build a DLL.
7363
8488
      old_archive_From_new_cmds='true'
7364
8489
      # FIXME: Should let the user specify the lib program.
7365
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8490
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7366
8491
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7367
8492
      enable_shared_with_static_runtimes=yes
7368
8493
      ;;
7395
8520
      link_all_deplibs=yes
7396
8521
    if test "$GCC" = yes ; then
7397
8522
        output_verbose_link_cmd='echo'
7398
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7399
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7400
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7401
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7402
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8523
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
8524
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
8525
        archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
8526
        module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
7403
8527
    else
7404
8528
      case $cc_basename in
7405
8529
        xlc*)
7406
8530
         output_verbose_link_cmd='echo'
7407
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8531
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7408
8532
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7409
8533
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7410
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
8534
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7411
8535
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7412
8536
          ;;
7413
8537
       *)
7447
8571
      ;;
7448
8572
 
7449
8573
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7450
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
8574
    freebsd* | dragonfly*)
7451
8575
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7452
8576
      hardcode_libdir_flag_spec='-R$libdir'
7453
8577
      hardcode_direct=yes
7549
8673
      link_all_deplibs=yes
7550
8674
      ;;
7551
8675
 
7552
 
    netbsd*)
 
8676
    netbsd* | netbsdelf*-gnu)
7553
8677
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7554
8678
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7555
8679
      else
7569
8693
      ;;
7570
8694
 
7571
8695
    openbsd*)
7572
 
      hardcode_direct=yes
7573
 
      hardcode_shlibpath_var=no
7574
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7575
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7576
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7577
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7578
 
        export_dynamic_flag_spec='${wl}-E'
 
8696
      if test -f /usr/libexec/ld.so; then
 
8697
        hardcode_direct=yes
 
8698
        hardcode_shlibpath_var=no
 
8699
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8700
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8701
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8702
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8703
          export_dynamic_flag_spec='${wl}-E'
 
8704
        else
 
8705
          case $host_os in
 
8706
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8707
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8708
             hardcode_libdir_flag_spec='-R$libdir'
 
8709
             ;;
 
8710
           *)
 
8711
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8712
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8713
             ;;
 
8714
          esac
 
8715
        fi
7579
8716
      else
7580
 
       case $host_os in
7581
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7582
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7583
 
           hardcode_libdir_flag_spec='-R$libdir'
7584
 
           ;;
7585
 
         *)
7586
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7587
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7588
 
           ;;
7589
 
       esac
 
8717
        ld_shlibs=no
7590
8718
      fi
7591
8719
      ;;
7592
8720
 
7645
8773
      case $host_os in
7646
8774
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7647
8775
      *)
7648
 
        # The compiler driver will combine linker options so we
7649
 
        # cannot just pass the convience library names through
7650
 
        # without $wl, iff we do not link with $LD.
7651
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8776
        # The compiler driver will combine and reorder linker options,
 
8777
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8778
        # but is careful enough not to reorder.
7652
8779
        # Supported since Solaris 2.6 (maybe 2.5.1?)
7653
 
        case $wlarc in
7654
 
        '')
7655
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7656
 
        *)
7657
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7658
 
        esac ;;
 
8780
        if test "$GCC" = yes; then
 
8781
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8782
        else
 
8783
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8784
        fi
 
8785
        ;;
7659
8786
      esac
7660
8787
      link_all_deplibs=yes
7661
8788
      ;;
7712
8839
      fi
7713
8840
      ;;
7714
8841
 
7715
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
8842
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7716
8843
      no_undefined_flag='${wl}-z,text'
7717
8844
      archive_cmds_need_lc=no
7718
8845
      hardcode_shlibpath_var=no
7765
8892
    esac
7766
8893
  fi
7767
8894
 
7768
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7769
 
echo "${ECHO_T}$ld_shlibs" >&6
 
8895
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
8896
echo "${ECHO_T}$ld_shlibs" >&6; }
7770
8897
test "$ld_shlibs" = no && can_build_shared=no
7771
8898
 
7772
8899
#
7786
8913
      # Test whether the compiler implicitly links with -lc since on some
7787
8914
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7788
8915
      # to ld, don't add -lc before -lgcc.
7789
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7790
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
8916
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
8917
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7791
8918
      $rm conftest*
7792
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8919
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7793
8920
 
7794
8921
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7795
8922
  (eval $ac_compile) 2>&5
7824
8951
        cat conftest.err 1>&5
7825
8952
      fi
7826
8953
      $rm conftest*
7827
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7828
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
8954
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
8955
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7829
8956
      ;;
7830
8957
    esac
7831
8958
  fi
7832
8959
  ;;
7833
8960
esac
7834
8961
 
7835
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7836
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
8962
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
8963
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7837
8964
library_names_spec=
7838
8965
libname_spec='lib$name'
7839
8966
soname_spec=
7847
8974
version_type=none
7848
8975
dynamic_linker="$host_os ld.so"
7849
8976
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
8977
 
7850
8978
if test "$GCC" = yes; then
7851
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7852
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
8979
  case $host_os in
 
8980
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
8981
    *) lt_awk_arg="/^libraries:/" ;;
 
8982
  esac
 
8983
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
8984
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
7853
8985
    # if the path contains ";" then we assume it to be the separator
7854
8986
    # otherwise default to the standard path separator (i.e. ":") - it is
7855
8987
    # assumed that no part of a normal pathname contains ";" but that should
7856
8988
    # okay in the real world where ";" in dirpaths is itself problematic.
7857
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
8989
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7858
8990
  else
7859
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
8991
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7860
8992
  fi
 
8993
  # Ok, now we have the path, separated by spaces, we can step through it
 
8994
  # and add multilib dir if necessary.
 
8995
  lt_tmp_lt_search_path_spec=
 
8996
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
8997
  for lt_sys_path in $lt_search_path_spec; do
 
8998
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
8999
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
9000
    else
 
9001
      test -d "$lt_sys_path" && \
 
9002
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
9003
    fi
 
9004
  done
 
9005
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9006
BEGIN {RS=" "; FS="/|\n";} {
 
9007
  lt_foo="";
 
9008
  lt_count=0;
 
9009
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
9010
    if ($lt_i != "" && $lt_i != ".") {
 
9011
      if ($lt_i == "..") {
 
9012
        lt_count++;
 
9013
      } else {
 
9014
        if (lt_count == 0) {
 
9015
          lt_foo="/" $lt_i lt_foo;
 
9016
        } else {
 
9017
          lt_count--;
 
9018
        }
 
9019
      }
 
9020
    }
 
9021
  }
 
9022
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
9023
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
9024
}'`
 
9025
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
7861
9026
else
7862
9027
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7863
9028
fi
7878
9043
  soname_spec='${libname}${release}${shared_ext}$major'
7879
9044
  ;;
7880
9045
 
7881
 
aix4* | aix5*)
 
9046
aix[4-9]*)
7882
9047
  version_type=linux
7883
9048
  need_lib_prefix=no
7884
9049
  need_version=no
8017
9182
  shlibpath_overrides_runpath=yes
8018
9183
  shlibpath_var=DYLD_LIBRARY_PATH
8019
9184
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8020
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8021
 
  if test "$GCC" = yes; then
8022
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8023
 
  else
8024
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8025
 
  fi
 
9185
 
 
9186
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8026
9187
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8027
9188
  ;;
8028
9189
 
8039
9200
  dynamic_linker=no
8040
9201
  ;;
8041
9202
 
8042
 
kfreebsd*-gnu)
8043
 
  version_type=linux
8044
 
  need_lib_prefix=no
8045
 
  need_version=no
8046
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8047
 
  soname_spec='${libname}${release}${shared_ext}$major'
8048
 
  shlibpath_var=LD_LIBRARY_PATH
8049
 
  shlibpath_overrides_runpath=no
8050
 
  hardcode_into_libs=yes
8051
 
  dynamic_linker='GNU ld.so'
8052
 
  ;;
8053
 
 
8054
9203
freebsd* | dragonfly*)
8055
9204
  # DragonFly does not have aout.  When/if they implement a new
8056
9205
  # versioning mechanism, adjust this.
8088
9237
    shlibpath_overrides_runpath=no
8089
9238
    hardcode_into_libs=yes
8090
9239
    ;;
8091
 
  freebsd*) # from 4.6 on
 
9240
  *) # from 4.6 on, and DragonFly
8092
9241
    shlibpath_overrides_runpath=yes
8093
9242
    hardcode_into_libs=yes
8094
9243
    ;;
8151
9300
  postinstall_cmds='chmod 555 $lib'
8152
9301
  ;;
8153
9302
 
8154
 
interix3*)
 
9303
interix[3-9]*)
8155
9304
  version_type=linux
8156
9305
  need_lib_prefix=no
8157
9306
  need_version=no
8206
9355
  ;;
8207
9356
 
8208
9357
# This must be Linux ELF.
8209
 
linux*)
 
9358
linux* | k*bsd*-gnu)
8210
9359
  version_type=linux
8211
9360
  need_lib_prefix=no
8212
9361
  need_version=no
8220
9369
  # before this can be enabled.
8221
9370
  hardcode_into_libs=yes
8222
9371
 
8223
 
  # find out which ABI we are using
8224
 
  libsuff=
8225
 
  case "$host_cpu" in
8226
 
  x86_64*|s390x*|powerpc64*)
8227
 
    echo '#line 8227 "configure"' > conftest.$ac_ext
8228
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8229
 
  (eval $ac_compile) 2>&5
8230
 
  ac_status=$?
8231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232
 
  (exit $ac_status); }; then
8233
 
      case `/usr/bin/file conftest.$ac_objext` in
8234
 
      *64-bit*)
8235
 
        libsuff=64
8236
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
8237
 
        ;;
8238
 
      esac
8239
 
    fi
8240
 
    rm -rf conftest*
8241
 
    ;;
8242
 
  esac
8243
 
 
8244
9372
  # Append ld.so.conf contents to the search path
8245
9373
  if test -f /etc/ld.so.conf; then
8246
 
    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' ' '`
8247
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
9374
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
9375
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8248
9376
  fi
8249
9377
 
8250
9378
  # We used to test for /lib/ld.so.1 and disable shared libraries on
8256
9384
  dynamic_linker='GNU/Linux ld.so'
8257
9385
  ;;
8258
9386
 
8259
 
knetbsd*-gnu)
 
9387
netbsdelf*-gnu)
8260
9388
  version_type=linux
8261
9389
  need_lib_prefix=no
8262
9390
  need_version=no
8265
9393
  shlibpath_var=LD_LIBRARY_PATH
8266
9394
  shlibpath_overrides_runpath=no
8267
9395
  hardcode_into_libs=yes
8268
 
  dynamic_linker='GNU ld.so'
 
9396
  dynamic_linker='NetBSD ld.elf_so'
8269
9397
  ;;
8270
9398
 
8271
9399
netbsd*)
8349
9477
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8350
9478
  ;;
8351
9479
 
 
9480
rdos*)
 
9481
  dynamic_linker=no
 
9482
  ;;
 
9483
 
8352
9484
solaris*)
8353
9485
  version_type=linux
8354
9486
  need_lib_prefix=no
8441
9573
  dynamic_linker=no
8442
9574
  ;;
8443
9575
esac
8444
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8445
 
echo "${ECHO_T}$dynamic_linker" >&6
 
9576
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
9577
echo "${ECHO_T}$dynamic_linker" >&6; }
8446
9578
test "$dynamic_linker" = no && can_build_shared=no
8447
9579
 
 
9580
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
9581
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9582
else
 
9583
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
9584
fi
 
9585
 
 
9586
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
9587
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
9588
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
9589
else
 
9590
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
9591
fi
 
9592
 
 
9593
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
9594
 
8448
9595
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8449
9596
if test "$GCC" = yes; then
8450
9597
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8451
9598
fi
8452
9599
 
8453
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8454
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
9600
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
9601
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8455
9602
hardcode_action=
8456
9603
if test -n "$hardcode_libdir_flag_spec" || \
8457
9604
   test -n "$runpath_var" || \
8475
9622
  # directories.
8476
9623
  hardcode_action=unsupported
8477
9624
fi
8478
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
8479
 
echo "${ECHO_T}$hardcode_action" >&6
 
9625
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
9626
echo "${ECHO_T}$hardcode_action" >&6; }
8480
9627
 
8481
9628
if test "$hardcode_action" = relink; then
8482
9629
  # Fast installation is not supported
8489
9636
 
8490
9637
striplib=
8491
9638
old_striplib=
8492
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8493
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
 
9639
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
9640
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8494
9641
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8495
9642
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8496
9643
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8497
 
  echo "$as_me:$LINENO: result: yes" >&5
8498
 
echo "${ECHO_T}yes" >&6
 
9644
  { echo "$as_me:$LINENO: result: yes" >&5
 
9645
echo "${ECHO_T}yes" >&6; }
8499
9646
else
8500
9647
# FIXME - insert some real tests, host_os isn't really good enough
8501
9648
  case $host_os in
8502
9649
   darwin*)
8503
9650
       if test -n "$STRIP" ; then
8504
9651
         striplib="$STRIP -x"
8505
 
         echo "$as_me:$LINENO: result: yes" >&5
8506
 
echo "${ECHO_T}yes" >&6
 
9652
         old_striplib="$STRIP -S"
 
9653
         { echo "$as_me:$LINENO: result: yes" >&5
 
9654
echo "${ECHO_T}yes" >&6; }
8507
9655
       else
8508
 
  echo "$as_me:$LINENO: result: no" >&5
8509
 
echo "${ECHO_T}no" >&6
 
9656
  { echo "$as_me:$LINENO: result: no" >&5
 
9657
echo "${ECHO_T}no" >&6; }
8510
9658
fi
8511
9659
       ;;
8512
9660
   *)
8513
 
  echo "$as_me:$LINENO: result: no" >&5
8514
 
echo "${ECHO_T}no" >&6
 
9661
  { echo "$as_me:$LINENO: result: no" >&5
 
9662
echo "${ECHO_T}no" >&6; }
8515
9663
    ;;
8516
9664
  esac
8517
9665
fi
8543
9691
 
8544
9692
  darwin*)
8545
9693
  # if libdl is installed we need to link against it
8546
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8547
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
9694
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
9695
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8548
9696
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8549
9697
  echo $ECHO_N "(cached) $ECHO_C" >&6
8550
9698
else
8557
9705
cat >>conftest.$ac_ext <<_ACEOF
8558
9706
/* end confdefs.h.  */
8559
9707
 
8560
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9708
/* Override any GCC internal prototype to avoid an error.
 
9709
   Use char because int might match the return type of a GCC
 
9710
   builtin and then its argument prototype would still apply.  */
8561
9711
#ifdef __cplusplus
8562
9712
extern "C"
8563
9713
#endif
8564
 
/* We use char because int might match the return type of a gcc2
8565
 
   builtin and then its argument prototype would still apply.  */
8566
9714
char dlopen ();
8567
9715
int
8568
9716
main ()
8569
9717
{
8570
 
dlopen ();
 
9718
return dlopen ();
8571
9719
  ;
8572
9720
  return 0;
8573
9721
}
8574
9722
_ACEOF
8575
9723
rm -f conftest.$ac_objext conftest$ac_exeext
8576
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8577
 
  (eval $ac_link) 2>conftest.er1
 
9724
if { (ac_try="$ac_link"
 
9725
case "(($ac_try" in
 
9726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9727
  *) ac_try_echo=$ac_try;;
 
9728
esac
 
9729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9730
  (eval "$ac_link") 2>conftest.er1
8578
9731
  ac_status=$?
8579
9732
  grep -v '^ *+' conftest.er1 >conftest.err
8580
9733
  rm -f conftest.er1
8581
9734
  cat conftest.err >&5
8582
9735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8583
 
  (exit $ac_status); } &&
8584
 
         { ac_try='test -z "$ac_c_werror_flag"
8585
 
                         || test ! -s conftest.err'
8586
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8587
 
  (eval $ac_try) 2>&5
8588
 
  ac_status=$?
8589
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590
 
  (exit $ac_status); }; } &&
8591
 
         { ac_try='test -s conftest$ac_exeext'
8592
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8593
 
  (eval $ac_try) 2>&5
8594
 
  ac_status=$?
8595
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596
 
  (exit $ac_status); }; }; then
 
9736
  (exit $ac_status); } && {
 
9737
         test -z "$ac_c_werror_flag" ||
 
9738
         test ! -s conftest.err
 
9739
       } && test -s conftest$ac_exeext &&
 
9740
       $as_test_x conftest$ac_exeext; then
8597
9741
  ac_cv_lib_dl_dlopen=yes
8598
9742
else
8599
9743
  echo "$as_me: failed program was:" >&5
8600
9744
sed 's/^/| /' conftest.$ac_ext >&5
8601
9745
 
8602
 
ac_cv_lib_dl_dlopen=no
 
9746
        ac_cv_lib_dl_dlopen=no
8603
9747
fi
8604
 
rm -f conftest.err conftest.$ac_objext \
 
9748
 
 
9749
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8605
9750
      conftest$ac_exeext conftest.$ac_ext
8606
9751
LIBS=$ac_check_lib_save_LIBS
8607
9752
fi
8608
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8609
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
9753
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
9754
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8610
9755
if test $ac_cv_lib_dl_dlopen = yes; then
8611
9756
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8612
9757
else
8620
9765
   ;;
8621
9766
 
8622
9767
  *)
8623
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
8624
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
9768
    { echo "$as_me:$LINENO: checking for shl_load" >&5
 
9769
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8625
9770
if test "${ac_cv_func_shl_load+set}" = set; then
8626
9771
  echo $ECHO_N "(cached) $ECHO_C" >&6
8627
9772
else
8648
9793
 
8649
9794
#undef shl_load
8650
9795
 
8651
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9796
/* Override any GCC internal prototype to avoid an error.
 
9797
   Use char because int might match the return type of a GCC
 
9798
   builtin and then its argument prototype would still apply.  */
8652
9799
#ifdef __cplusplus
8653
9800
extern "C"
8654
 
{
8655
9801
#endif
8656
 
/* We use char because int might match the return type of a gcc2
8657
 
   builtin and then its argument prototype would still apply.  */
8658
9802
char shl_load ();
8659
9803
/* The GNU C library defines this for functions which it implements
8660
9804
    to always fail with ENOSYS.  Some functions are actually named
8661
9805
    something starting with __ and the normal name is an alias.  */
8662
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
9806
#if defined __stub_shl_load || defined __stub___shl_load
8663
9807
choke me
8664
 
#else
8665
 
char (*f) () = shl_load;
8666
 
#endif
8667
 
#ifdef __cplusplus
8668
 
}
8669
9808
#endif
8670
9809
 
8671
9810
int
8672
9811
main ()
8673
9812
{
8674
 
return f != shl_load;
 
9813
return shl_load ();
8675
9814
  ;
8676
9815
  return 0;
8677
9816
}
8678
9817
_ACEOF
8679
9818
rm -f conftest.$ac_objext conftest$ac_exeext
8680
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8681
 
  (eval $ac_link) 2>conftest.er1
 
9819
if { (ac_try="$ac_link"
 
9820
case "(($ac_try" in
 
9821
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9822
  *) ac_try_echo=$ac_try;;
 
9823
esac
 
9824
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9825
  (eval "$ac_link") 2>conftest.er1
8682
9826
  ac_status=$?
8683
9827
  grep -v '^ *+' conftest.er1 >conftest.err
8684
9828
  rm -f conftest.er1
8685
9829
  cat conftest.err >&5
8686
9830
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8687
 
  (exit $ac_status); } &&
8688
 
         { ac_try='test -z "$ac_c_werror_flag"
8689
 
                         || test ! -s conftest.err'
8690
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691
 
  (eval $ac_try) 2>&5
8692
 
  ac_status=$?
8693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8694
 
  (exit $ac_status); }; } &&
8695
 
         { ac_try='test -s conftest$ac_exeext'
8696
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8697
 
  (eval $ac_try) 2>&5
8698
 
  ac_status=$?
8699
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700
 
  (exit $ac_status); }; }; then
 
9831
  (exit $ac_status); } && {
 
9832
         test -z "$ac_c_werror_flag" ||
 
9833
         test ! -s conftest.err
 
9834
       } && test -s conftest$ac_exeext &&
 
9835
       $as_test_x conftest$ac_exeext; then
8701
9836
  ac_cv_func_shl_load=yes
8702
9837
else
8703
9838
  echo "$as_me: failed program was:" >&5
8704
9839
sed 's/^/| /' conftest.$ac_ext >&5
8705
9840
 
8706
 
ac_cv_func_shl_load=no
 
9841
        ac_cv_func_shl_load=no
8707
9842
fi
8708
 
rm -f conftest.err conftest.$ac_objext \
 
9843
 
 
9844
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8709
9845
      conftest$ac_exeext conftest.$ac_ext
8710
9846
fi
8711
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8712
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
 
9847
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
9848
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8713
9849
if test $ac_cv_func_shl_load = yes; then
8714
9850
  lt_cv_dlopen="shl_load"
8715
9851
else
8716
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8717
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
9852
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
9853
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8718
9854
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8719
9855
  echo $ECHO_N "(cached) $ECHO_C" >&6
8720
9856
else
8727
9863
cat >>conftest.$ac_ext <<_ACEOF
8728
9864
/* end confdefs.h.  */
8729
9865
 
8730
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9866
/* Override any GCC internal prototype to avoid an error.
 
9867
   Use char because int might match the return type of a GCC
 
9868
   builtin and then its argument prototype would still apply.  */
8731
9869
#ifdef __cplusplus
8732
9870
extern "C"
8733
9871
#endif
8734
 
/* We use char because int might match the return type of a gcc2
8735
 
   builtin and then its argument prototype would still apply.  */
8736
9872
char shl_load ();
8737
9873
int
8738
9874
main ()
8739
9875
{
8740
 
shl_load ();
 
9876
return shl_load ();
8741
9877
  ;
8742
9878
  return 0;
8743
9879
}
8744
9880
_ACEOF
8745
9881
rm -f conftest.$ac_objext conftest$ac_exeext
8746
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8747
 
  (eval $ac_link) 2>conftest.er1
 
9882
if { (ac_try="$ac_link"
 
9883
case "(($ac_try" in
 
9884
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9885
  *) ac_try_echo=$ac_try;;
 
9886
esac
 
9887
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9888
  (eval "$ac_link") 2>conftest.er1
8748
9889
  ac_status=$?
8749
9890
  grep -v '^ *+' conftest.er1 >conftest.err
8750
9891
  rm -f conftest.er1
8751
9892
  cat conftest.err >&5
8752
9893
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753
 
  (exit $ac_status); } &&
8754
 
         { ac_try='test -z "$ac_c_werror_flag"
8755
 
                         || test ! -s conftest.err'
8756
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8757
 
  (eval $ac_try) 2>&5
8758
 
  ac_status=$?
8759
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760
 
  (exit $ac_status); }; } &&
8761
 
         { ac_try='test -s conftest$ac_exeext'
8762
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8763
 
  (eval $ac_try) 2>&5
8764
 
  ac_status=$?
8765
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766
 
  (exit $ac_status); }; }; then
 
9894
  (exit $ac_status); } && {
 
9895
         test -z "$ac_c_werror_flag" ||
 
9896
         test ! -s conftest.err
 
9897
       } && test -s conftest$ac_exeext &&
 
9898
       $as_test_x conftest$ac_exeext; then
8767
9899
  ac_cv_lib_dld_shl_load=yes
8768
9900
else
8769
9901
  echo "$as_me: failed program was:" >&5
8770
9902
sed 's/^/| /' conftest.$ac_ext >&5
8771
9903
 
8772
 
ac_cv_lib_dld_shl_load=no
 
9904
        ac_cv_lib_dld_shl_load=no
8773
9905
fi
8774
 
rm -f conftest.err conftest.$ac_objext \
 
9906
 
 
9907
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8775
9908
      conftest$ac_exeext conftest.$ac_ext
8776
9909
LIBS=$ac_check_lib_save_LIBS
8777
9910
fi
8778
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8779
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
 
9911
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
9912
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8780
9913
if test $ac_cv_lib_dld_shl_load = yes; then
8781
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
9914
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
8782
9915
else
8783
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
8784
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
9916
  { echo "$as_me:$LINENO: checking for dlopen" >&5
 
9917
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8785
9918
if test "${ac_cv_func_dlopen+set}" = set; then
8786
9919
  echo $ECHO_N "(cached) $ECHO_C" >&6
8787
9920
else
8808
9941
 
8809
9942
#undef dlopen
8810
9943
 
8811
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
9944
/* Override any GCC internal prototype to avoid an error.
 
9945
   Use char because int might match the return type of a GCC
 
9946
   builtin and then its argument prototype would still apply.  */
8812
9947
#ifdef __cplusplus
8813
9948
extern "C"
8814
 
{
8815
9949
#endif
8816
 
/* We use char because int might match the return type of a gcc2
8817
 
   builtin and then its argument prototype would still apply.  */
8818
9950
char dlopen ();
8819
9951
/* The GNU C library defines this for functions which it implements
8820
9952
    to always fail with ENOSYS.  Some functions are actually named
8821
9953
    something starting with __ and the normal name is an alias.  */
8822
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
9954
#if defined __stub_dlopen || defined __stub___dlopen
8823
9955
choke me
8824
 
#else
8825
 
char (*f) () = dlopen;
8826
 
#endif
8827
 
#ifdef __cplusplus
8828
 
}
8829
9956
#endif
8830
9957
 
8831
9958
int
8832
9959
main ()
8833
9960
{
8834
 
return f != dlopen;
 
9961
return dlopen ();
8835
9962
  ;
8836
9963
  return 0;
8837
9964
}
8838
9965
_ACEOF
8839
9966
rm -f conftest.$ac_objext conftest$ac_exeext
8840
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8841
 
  (eval $ac_link) 2>conftest.er1
 
9967
if { (ac_try="$ac_link"
 
9968
case "(($ac_try" in
 
9969
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9970
  *) ac_try_echo=$ac_try;;
 
9971
esac
 
9972
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9973
  (eval "$ac_link") 2>conftest.er1
8842
9974
  ac_status=$?
8843
9975
  grep -v '^ *+' conftest.er1 >conftest.err
8844
9976
  rm -f conftest.er1
8845
9977
  cat conftest.err >&5
8846
9978
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847
 
  (exit $ac_status); } &&
8848
 
         { ac_try='test -z "$ac_c_werror_flag"
8849
 
                         || test ! -s conftest.err'
8850
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8851
 
  (eval $ac_try) 2>&5
8852
 
  ac_status=$?
8853
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854
 
  (exit $ac_status); }; } &&
8855
 
         { ac_try='test -s conftest$ac_exeext'
8856
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8857
 
  (eval $ac_try) 2>&5
8858
 
  ac_status=$?
8859
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860
 
  (exit $ac_status); }; }; then
 
9979
  (exit $ac_status); } && {
 
9980
         test -z "$ac_c_werror_flag" ||
 
9981
         test ! -s conftest.err
 
9982
       } && test -s conftest$ac_exeext &&
 
9983
       $as_test_x conftest$ac_exeext; then
8861
9984
  ac_cv_func_dlopen=yes
8862
9985
else
8863
9986
  echo "$as_me: failed program was:" >&5
8864
9987
sed 's/^/| /' conftest.$ac_ext >&5
8865
9988
 
8866
 
ac_cv_func_dlopen=no
 
9989
        ac_cv_func_dlopen=no
8867
9990
fi
8868
 
rm -f conftest.err conftest.$ac_objext \
 
9991
 
 
9992
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8869
9993
      conftest$ac_exeext conftest.$ac_ext
8870
9994
fi
8871
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8872
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
 
9995
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
9996
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8873
9997
if test $ac_cv_func_dlopen = yes; then
8874
9998
  lt_cv_dlopen="dlopen"
8875
9999
else
8876
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8877
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
10000
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10001
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8878
10002
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8879
10003
  echo $ECHO_N "(cached) $ECHO_C" >&6
8880
10004
else
8887
10011
cat >>conftest.$ac_ext <<_ACEOF
8888
10012
/* end confdefs.h.  */
8889
10013
 
8890
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10014
/* Override any GCC internal prototype to avoid an error.
 
10015
   Use char because int might match the return type of a GCC
 
10016
   builtin and then its argument prototype would still apply.  */
8891
10017
#ifdef __cplusplus
8892
10018
extern "C"
8893
10019
#endif
8894
 
/* We use char because int might match the return type of a gcc2
8895
 
   builtin and then its argument prototype would still apply.  */
8896
10020
char dlopen ();
8897
10021
int
8898
10022
main ()
8899
10023
{
8900
 
dlopen ();
 
10024
return dlopen ();
8901
10025
  ;
8902
10026
  return 0;
8903
10027
}
8904
10028
_ACEOF
8905
10029
rm -f conftest.$ac_objext conftest$ac_exeext
8906
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8907
 
  (eval $ac_link) 2>conftest.er1
 
10030
if { (ac_try="$ac_link"
 
10031
case "(($ac_try" in
 
10032
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10033
  *) ac_try_echo=$ac_try;;
 
10034
esac
 
10035
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10036
  (eval "$ac_link") 2>conftest.er1
8908
10037
  ac_status=$?
8909
10038
  grep -v '^ *+' conftest.er1 >conftest.err
8910
10039
  rm -f conftest.er1
8911
10040
  cat conftest.err >&5
8912
10041
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913
 
  (exit $ac_status); } &&
8914
 
         { ac_try='test -z "$ac_c_werror_flag"
8915
 
                         || test ! -s conftest.err'
8916
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917
 
  (eval $ac_try) 2>&5
8918
 
  ac_status=$?
8919
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920
 
  (exit $ac_status); }; } &&
8921
 
         { ac_try='test -s conftest$ac_exeext'
8922
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8923
 
  (eval $ac_try) 2>&5
8924
 
  ac_status=$?
8925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926
 
  (exit $ac_status); }; }; then
 
10042
  (exit $ac_status); } && {
 
10043
         test -z "$ac_c_werror_flag" ||
 
10044
         test ! -s conftest.err
 
10045
       } && test -s conftest$ac_exeext &&
 
10046
       $as_test_x conftest$ac_exeext; then
8927
10047
  ac_cv_lib_dl_dlopen=yes
8928
10048
else
8929
10049
  echo "$as_me: failed program was:" >&5
8930
10050
sed 's/^/| /' conftest.$ac_ext >&5
8931
10051
 
8932
 
ac_cv_lib_dl_dlopen=no
 
10052
        ac_cv_lib_dl_dlopen=no
8933
10053
fi
8934
 
rm -f conftest.err conftest.$ac_objext \
 
10054
 
 
10055
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8935
10056
      conftest$ac_exeext conftest.$ac_ext
8936
10057
LIBS=$ac_check_lib_save_LIBS
8937
10058
fi
8938
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8939
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
 
10059
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10060
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8940
10061
if test $ac_cv_lib_dl_dlopen = yes; then
8941
10062
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8942
10063
else
8943
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8944
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
10064
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10065
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8945
10066
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8946
10067
  echo $ECHO_N "(cached) $ECHO_C" >&6
8947
10068
else
8954
10075
cat >>conftest.$ac_ext <<_ACEOF
8955
10076
/* end confdefs.h.  */
8956
10077
 
8957
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10078
/* Override any GCC internal prototype to avoid an error.
 
10079
   Use char because int might match the return type of a GCC
 
10080
   builtin and then its argument prototype would still apply.  */
8958
10081
#ifdef __cplusplus
8959
10082
extern "C"
8960
10083
#endif
8961
 
/* We use char because int might match the return type of a gcc2
8962
 
   builtin and then its argument prototype would still apply.  */
8963
10084
char dlopen ();
8964
10085
int
8965
10086
main ()
8966
10087
{
8967
 
dlopen ();
 
10088
return dlopen ();
8968
10089
  ;
8969
10090
  return 0;
8970
10091
}
8971
10092
_ACEOF
8972
10093
rm -f conftest.$ac_objext conftest$ac_exeext
8973
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8974
 
  (eval $ac_link) 2>conftest.er1
 
10094
if { (ac_try="$ac_link"
 
10095
case "(($ac_try" in
 
10096
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10097
  *) ac_try_echo=$ac_try;;
 
10098
esac
 
10099
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10100
  (eval "$ac_link") 2>conftest.er1
8975
10101
  ac_status=$?
8976
10102
  grep -v '^ *+' conftest.er1 >conftest.err
8977
10103
  rm -f conftest.er1
8978
10104
  cat conftest.err >&5
8979
10105
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980
 
  (exit $ac_status); } &&
8981
 
         { ac_try='test -z "$ac_c_werror_flag"
8982
 
                         || test ! -s conftest.err'
8983
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984
 
  (eval $ac_try) 2>&5
8985
 
  ac_status=$?
8986
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987
 
  (exit $ac_status); }; } &&
8988
 
         { ac_try='test -s conftest$ac_exeext'
8989
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8990
 
  (eval $ac_try) 2>&5
8991
 
  ac_status=$?
8992
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993
 
  (exit $ac_status); }; }; then
 
10106
  (exit $ac_status); } && {
 
10107
         test -z "$ac_c_werror_flag" ||
 
10108
         test ! -s conftest.err
 
10109
       } && test -s conftest$ac_exeext &&
 
10110
       $as_test_x conftest$ac_exeext; then
8994
10111
  ac_cv_lib_svld_dlopen=yes
8995
10112
else
8996
10113
  echo "$as_me: failed program was:" >&5
8997
10114
sed 's/^/| /' conftest.$ac_ext >&5
8998
10115
 
8999
 
ac_cv_lib_svld_dlopen=no
 
10116
        ac_cv_lib_svld_dlopen=no
9000
10117
fi
9001
 
rm -f conftest.err conftest.$ac_objext \
 
10118
 
 
10119
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9002
10120
      conftest$ac_exeext conftest.$ac_ext
9003
10121
LIBS=$ac_check_lib_save_LIBS
9004
10122
fi
9005
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9006
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
 
10123
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
10124
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9007
10125
if test $ac_cv_lib_svld_dlopen = yes; then
9008
10126
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9009
10127
else
9010
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9011
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
10128
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
10129
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9012
10130
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9013
10131
  echo $ECHO_N "(cached) $ECHO_C" >&6
9014
10132
else
9021
10139
cat >>conftest.$ac_ext <<_ACEOF
9022
10140
/* end confdefs.h.  */
9023
10141
 
9024
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
10142
/* Override any GCC internal prototype to avoid an error.
 
10143
   Use char because int might match the return type of a GCC
 
10144
   builtin and then its argument prototype would still apply.  */
9025
10145
#ifdef __cplusplus
9026
10146
extern "C"
9027
10147
#endif
9028
 
/* We use char because int might match the return type of a gcc2
9029
 
   builtin and then its argument prototype would still apply.  */
9030
10148
char dld_link ();
9031
10149
int
9032
10150
main ()
9033
10151
{
9034
 
dld_link ();
 
10152
return dld_link ();
9035
10153
  ;
9036
10154
  return 0;
9037
10155
}
9038
10156
_ACEOF
9039
10157
rm -f conftest.$ac_objext conftest$ac_exeext
9040
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9041
 
  (eval $ac_link) 2>conftest.er1
 
10158
if { (ac_try="$ac_link"
 
10159
case "(($ac_try" in
 
10160
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10161
  *) ac_try_echo=$ac_try;;
 
10162
esac
 
10163
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10164
  (eval "$ac_link") 2>conftest.er1
9042
10165
  ac_status=$?
9043
10166
  grep -v '^ *+' conftest.er1 >conftest.err
9044
10167
  rm -f conftest.er1
9045
10168
  cat conftest.err >&5
9046
10169
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047
 
  (exit $ac_status); } &&
9048
 
         { ac_try='test -z "$ac_c_werror_flag"
9049
 
                         || test ! -s conftest.err'
9050
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9051
 
  (eval $ac_try) 2>&5
9052
 
  ac_status=$?
9053
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054
 
  (exit $ac_status); }; } &&
9055
 
         { ac_try='test -s conftest$ac_exeext'
9056
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9057
 
  (eval $ac_try) 2>&5
9058
 
  ac_status=$?
9059
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060
 
  (exit $ac_status); }; }; then
 
10170
  (exit $ac_status); } && {
 
10171
         test -z "$ac_c_werror_flag" ||
 
10172
         test ! -s conftest.err
 
10173
       } && test -s conftest$ac_exeext &&
 
10174
       $as_test_x conftest$ac_exeext; then
9061
10175
  ac_cv_lib_dld_dld_link=yes
9062
10176
else
9063
10177
  echo "$as_me: failed program was:" >&5
9064
10178
sed 's/^/| /' conftest.$ac_ext >&5
9065
10179
 
9066
 
ac_cv_lib_dld_dld_link=no
 
10180
        ac_cv_lib_dld_dld_link=no
9067
10181
fi
9068
 
rm -f conftest.err conftest.$ac_objext \
 
10182
 
 
10183
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9069
10184
      conftest$ac_exeext conftest.$ac_ext
9070
10185
LIBS=$ac_check_lib_save_LIBS
9071
10186
fi
9072
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9073
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
 
10187
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
10188
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9074
10189
if test $ac_cv_lib_dld_dld_link = yes; then
9075
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
10190
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9076
10191
fi
9077
10192
 
9078
10193
 
9110
10225
    save_LIBS="$LIBS"
9111
10226
    LIBS="$lt_cv_dlopen_libs $LIBS"
9112
10227
 
9113
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9114
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
10228
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
10229
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9115
10230
if test "${lt_cv_dlopen_self+set}" = set; then
9116
10231
  echo $ECHO_N "(cached) $ECHO_C" >&6
9117
10232
else
9121
10236
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9122
10237
  lt_status=$lt_dlunknown
9123
10238
  cat > conftest.$ac_ext <<EOF
9124
 
#line 9124 "configure"
 
10239
#line 10239 "configure"
9125
10240
#include "confdefs.h"
9126
10241
 
9127
10242
#if HAVE_DLFCN_H
9205
10320
 
9206
10321
 
9207
10322
fi
9208
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9209
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
10323
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
10324
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9210
10325
 
9211
10326
    if test "x$lt_cv_dlopen_self" = xyes; then
9212
10327
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9213
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9214
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
10328
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
10329
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9215
10330
if test "${lt_cv_dlopen_self_static+set}" = set; then
9216
10331
  echo $ECHO_N "(cached) $ECHO_C" >&6
9217
10332
else
9221
10336
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9222
10337
  lt_status=$lt_dlunknown
9223
10338
  cat > conftest.$ac_ext <<EOF
9224
 
#line 9224 "configure"
 
10339
#line 10339 "configure"
9225
10340
#include "confdefs.h"
9226
10341
 
9227
10342
#if HAVE_DLFCN_H
9305
10420
 
9306
10421
 
9307
10422
fi
9308
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9309
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
10423
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
10424
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9310
10425
    fi
9311
10426
 
9312
10427
    CPPFLAGS="$save_CPPFLAGS"
9328
10443
 
9329
10444
 
9330
10445
# Report which library types will actually be built
9331
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9332
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9333
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
9334
 
echo "${ECHO_T}$can_build_shared" >&6
 
10446
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
10447
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
10448
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
10449
echo "${ECHO_T}$can_build_shared" >&6; }
9335
10450
 
9336
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9337
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
10451
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
10452
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9338
10453
test "$can_build_shared" = "no" && enable_shared=no
9339
10454
 
9340
10455
# On AIX, shared libraries and static libraries use the same namespace, and
9348
10463
  fi
9349
10464
  ;;
9350
10465
 
9351
 
aix4* | aix5*)
 
10466
aix[4-9]*)
9352
10467
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9353
10468
    test "$enable_shared" = yes && enable_static=no
9354
10469
  fi
9355
10470
    ;;
9356
10471
esac
9357
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
9358
 
echo "${ECHO_T}$enable_shared" >&6
 
10472
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
10473
echo "${ECHO_T}$enable_shared" >&6; }
9359
10474
 
9360
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9361
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
10475
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
10476
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9362
10477
# Make sure either enable_shared or enable_static is yes.
9363
10478
test "$enable_shared" = yes || enable_static=yes
9364
 
echo "$as_me:$LINENO: result: $enable_static" >&5
9365
 
echo "${ECHO_T}$enable_static" >&6
 
10479
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
10480
echo "${ECHO_T}$enable_static" >&6; }
9366
10481
 
9367
10482
# The else clause should only fire when bootstrapping the
9368
10483
# libtool distribution, otherwise you forgot to ship ltmain.sh
9404
10519
    predeps \
9405
10520
    postdeps \
9406
10521
    compiler_lib_search_path \
 
10522
    compiler_lib_search_dirs \
9407
10523
    archive_cmds \
9408
10524
    archive_expsym_cmds \
9409
10525
    postinstall_cmds \
9419
10535
    module_cmds \
9420
10536
    module_expsym_cmds \
9421
10537
    lt_cv_prog_compiler_c_o \
 
10538
    fix_srcfile_path \
9422
10539
    exclude_expsyms \
9423
10540
    include_expsyms; do
9424
10541
 
9463
10580
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9464
10581
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9465
10582
#
9466
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10583
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
9467
10584
# Free Software Foundation, Inc.
9468
10585
#
9469
10586
# This file is part of GNU Libtool:
9699
10816
# shared library.
9700
10817
postdeps=$lt_postdeps
9701
10818
 
 
10819
# The directories searched by this compiler when creating a shared
 
10820
# library
 
10821
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
10822
 
9702
10823
# The library search path used internally by the compiler when linking
9703
10824
# a shared library.
9704
10825
compiler_lib_search_path=$lt_compiler_lib_search_path
9787
10908
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9788
10909
 
9789
10910
# Fix the shell variable \$srcfile for the compiler.
9790
 
fix_srcfile_path="$fix_srcfile_path"
 
10911
fix_srcfile_path=$lt_fix_srcfile_path
9791
10912
 
9792
10913
# Set to yes if exported symbols are required.
9793
10914
always_export_symbols=$always_export_symbols
9854
10975
CC="$lt_save_CC"
9855
10976
 
9856
10977
 
9857
 
# Check whether --with-tags or --without-tags was given.
 
10978
# Check whether --with-tags was given.
9858
10979
if test "${with_tags+set}" = set; then
9859
 
  withval="$with_tags"
9860
 
  tagnames="$withval"
9861
 
fi;
 
10980
  withval=$with_tags; tagnames="$withval"
 
10981
fi
 
10982
 
9862
10983
 
9863
10984
if test -f "$ltmain" && test -n "$tagnames"; then
9864
10985
  if test ! -f "${ofile}"; then
9912
11033
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9913
11034
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9914
11035
            (test "X$CXX" != "Xg++"))) ; then
9915
 
          ac_ext=cc
 
11036
          ac_ext=cpp
9916
11037
ac_cpp='$CXXCPP $CPPFLAGS'
9917
11038
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9918
11039
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9947
11068
predeps_CXX=
9948
11069
postdeps_CXX=
9949
11070
compiler_lib_search_path_CXX=
 
11071
compiler_lib_search_dirs_CXX=
9950
11072
 
9951
11073
# Source file extension for C++ test sources.
9952
11074
ac_ext=cpp
9956
11078
objext_CXX=$objext
9957
11079
 
9958
11080
# Code to be used in simple compile tests
9959
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
11081
lt_simple_compile_test_code="int some_variable = 0;"
9960
11082
 
9961
11083
# Code to be used in simple link tests
9962
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
11084
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
9963
11085
 
9964
11086
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9965
11087
 
9975
11097
 
9976
11098
# save warnings/boilerplate of simple test code
9977
11099
ac_outfile=conftest.$ac_objext
9978
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
11100
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9979
11101
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9980
11102
_lt_compiler_boilerplate=`cat conftest.err`
9981
11103
$rm conftest*
9982
11104
 
9983
11105
ac_outfile=conftest.$ac_objext
9984
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
11106
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9985
11107
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9986
11108
_lt_linker_boilerplate=`cat conftest.err`
9987
 
$rm conftest*
 
11109
$rm -r conftest*
9988
11110
 
9989
11111
 
9990
11112
# Allow CC to be a program name with arguments.
10031
11153
  # Set up default GNU C++ configuration
10032
11154
 
10033
11155
 
10034
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
11156
# Check whether --with-gnu-ld was given.
10035
11157
if test "${with_gnu_ld+set}" = set; then
10036
 
  withval="$with_gnu_ld"
10037
 
  test "$withval" = no || with_gnu_ld=yes
 
11158
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
10038
11159
else
10039
11160
  with_gnu_ld=no
10040
 
fi;
 
11161
fi
 
11162
 
10041
11163
ac_prog=ld
10042
11164
if test "$GCC" = yes; then
10043
11165
  # Check if gcc -print-prog-name=ld gives a path.
10044
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10045
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
11166
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
11167
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
10046
11168
  case $host in
10047
11169
  *-*-mingw*)
10048
11170
    # gcc leaves a trailing carriage return which upsets mingw
10071
11193
    ;;
10072
11194
  esac
10073
11195
elif test "$with_gnu_ld" = yes; then
10074
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10075
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
11196
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
 
11197
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
10076
11198
else
10077
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10078
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
11199
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
11200
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
10079
11201
fi
10080
11202
if test "${lt_cv_path_LD+set}" = set; then
10081
11203
  echo $ECHO_N "(cached) $ECHO_C" >&6
10108
11230
 
10109
11231
LD="$lt_cv_path_LD"
10110
11232
if test -n "$LD"; then
10111
 
  echo "$as_me:$LINENO: result: $LD" >&5
10112
 
echo "${ECHO_T}$LD" >&6
 
11233
  { echo "$as_me:$LINENO: result: $LD" >&5
 
11234
echo "${ECHO_T}$LD" >&6; }
10113
11235
else
10114
 
  echo "$as_me:$LINENO: result: no" >&5
10115
 
echo "${ECHO_T}no" >&6
 
11236
  { echo "$as_me:$LINENO: result: no" >&5
 
11237
echo "${ECHO_T}no" >&6; }
10116
11238
fi
10117
11239
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10118
11240
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10119
11241
   { (exit 1); exit 1; }; }
10120
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10121
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
11242
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
11243
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
10122
11244
if test "${lt_cv_prog_gnu_ld+set}" = set; then
10123
11245
  echo $ECHO_N "(cached) $ECHO_C" >&6
10124
11246
else
10132
11254
  ;;
10133
11255
esac
10134
11256
fi
10135
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
10136
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
11257
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
11258
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
10137
11259
with_gnu_ld=$lt_cv_prog_gnu_ld
10138
11260
 
10139
11261
 
10183
11305
fi
10184
11306
 
10185
11307
# PORTME: fill in a description of your system's C++ link characteristics
10186
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10187
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
11308
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
11309
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10188
11310
ld_shlibs_CXX=yes
10189
11311
case $host_os in
10190
11312
  aix3*)
10191
11313
    # FIXME: insert proper C++ library support
10192
11314
    ld_shlibs_CXX=no
10193
11315
    ;;
10194
 
  aix4* | aix5*)
 
11316
  aix[4-9]*)
10195
11317
    if test "$host_cpu" = ia64; then
10196
11318
      # On IA64, the linker does run time linking by default, so we don't
10197
11319
      # have to do anything special.
10204
11326
      # Test if we are trying to use run time linking or normal
10205
11327
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10206
11328
      # need to do runtime linking.
10207
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
11329
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10208
11330
        for ld_flag in $LDFLAGS; do
10209
11331
          case $ld_flag in
10210
11332
          *-brtl*)
10240
11362
           strings "$collect2name" | grep resolve_lib_name >/dev/null
10241
11363
        then
10242
11364
          # We have reworked collect2
10243
 
          hardcode_direct_CXX=yes
 
11365
          :
10244
11366
        else
10245
11367
          # We have old collect2
10246
11368
          hardcode_direct_CXX=unsupported
10296
11418
}
10297
11419
_ACEOF
10298
11420
rm -f conftest.$ac_objext conftest$ac_exeext
10299
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10300
 
  (eval $ac_link) 2>conftest.er1
 
11421
if { (ac_try="$ac_link"
 
11422
case "(($ac_try" in
 
11423
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11424
  *) ac_try_echo=$ac_try;;
 
11425
esac
 
11426
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11427
  (eval "$ac_link") 2>conftest.er1
10301
11428
  ac_status=$?
10302
11429
  grep -v '^ *+' conftest.er1 >conftest.err
10303
11430
  rm -f conftest.er1
10304
11431
  cat conftest.err >&5
10305
11432
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306
 
  (exit $ac_status); } &&
10307
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10308
 
                         || test ! -s conftest.err'
10309
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10310
 
  (eval $ac_try) 2>&5
10311
 
  ac_status=$?
10312
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313
 
  (exit $ac_status); }; } &&
10314
 
         { ac_try='test -s conftest$ac_exeext'
10315
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10316
 
  (eval $ac_try) 2>&5
10317
 
  ac_status=$?
10318
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10319
 
  (exit $ac_status); }; }; then
 
11433
  (exit $ac_status); } && {
 
11434
         test -z "$ac_cxx_werror_flag" ||
 
11435
         test ! -s conftest.err
 
11436
       } && test -s conftest$ac_exeext &&
 
11437
       $as_test_x conftest$ac_exeext; then
10320
11438
 
10321
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10322
 
}'`
 
11439
lt_aix_libpath_sed='
 
11440
    /Import File Strings/,/^$/ {
 
11441
        /^0/ {
 
11442
            s/^0  *\(.*\)$/\1/
 
11443
            p
 
11444
        }
 
11445
    }'
 
11446
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10323
11447
# Check for a 64-bit object if we didn't find anything.
10324
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10325
 
}'`; fi
 
11448
if test -z "$aix_libpath"; then
 
11449
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11450
fi
10326
11451
else
10327
11452
  echo "$as_me: failed program was:" >&5
10328
11453
sed 's/^/| /' conftest.$ac_ext >&5
10329
11454
 
 
11455
 
10330
11456
fi
10331
 
rm -f conftest.err conftest.$ac_objext \
 
11457
 
 
11458
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10332
11459
      conftest$ac_exeext conftest.$ac_ext
10333
11460
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10334
11461
 
10358
11485
}
10359
11486
_ACEOF
10360
11487
rm -f conftest.$ac_objext conftest$ac_exeext
10361
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10362
 
  (eval $ac_link) 2>conftest.er1
 
11488
if { (ac_try="$ac_link"
 
11489
case "(($ac_try" in
 
11490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11491
  *) ac_try_echo=$ac_try;;
 
11492
esac
 
11493
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11494
  (eval "$ac_link") 2>conftest.er1
10363
11495
  ac_status=$?
10364
11496
  grep -v '^ *+' conftest.er1 >conftest.err
10365
11497
  rm -f conftest.er1
10366
11498
  cat conftest.err >&5
10367
11499
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368
 
  (exit $ac_status); } &&
10369
 
         { ac_try='test -z "$ac_cxx_werror_flag"
10370
 
                         || test ! -s conftest.err'
10371
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372
 
  (eval $ac_try) 2>&5
10373
 
  ac_status=$?
10374
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375
 
  (exit $ac_status); }; } &&
10376
 
         { ac_try='test -s conftest$ac_exeext'
10377
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10378
 
  (eval $ac_try) 2>&5
10379
 
  ac_status=$?
10380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381
 
  (exit $ac_status); }; }; then
 
11500
  (exit $ac_status); } && {
 
11501
         test -z "$ac_cxx_werror_flag" ||
 
11502
         test ! -s conftest.err
 
11503
       } && test -s conftest$ac_exeext &&
 
11504
       $as_test_x conftest$ac_exeext; then
10382
11505
 
10383
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10384
 
}'`
 
11506
lt_aix_libpath_sed='
 
11507
    /Import File Strings/,/^$/ {
 
11508
        /^0/ {
 
11509
            s/^0  *\(.*\)$/\1/
 
11510
            p
 
11511
        }
 
11512
    }'
 
11513
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10385
11514
# Check for a 64-bit object if we didn't find anything.
10386
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
10387
 
}'`; fi
 
11515
if test -z "$aix_libpath"; then
 
11516
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11517
fi
10388
11518
else
10389
11519
  echo "$as_me: failed program was:" >&5
10390
11520
sed 's/^/| /' conftest.$ac_ext >&5
10391
11521
 
 
11522
 
10392
11523
fi
10393
 
rm -f conftest.err conftest.$ac_objext \
 
11524
 
 
11525
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10394
11526
      conftest$ac_exeext conftest.$ac_ext
10395
11527
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10396
11528
 
10452
11584
    fi
10453
11585
  ;;
10454
11586
      darwin* | rhapsody*)
10455
 
        case $host_os in
10456
 
        rhapsody* | darwin1.[012])
10457
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
10458
 
         ;;
10459
 
       *) # Darwin 1.3 on
10460
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
10461
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10462
 
         else
10463
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
10464
 
             10.[012])
10465
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
10466
 
               ;;
10467
 
             10.*)
10468
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
10469
 
               ;;
10470
 
           esac
10471
 
         fi
10472
 
         ;;
10473
 
        esac
10474
11587
      archive_cmds_need_lc_CXX=no
10475
11588
      hardcode_direct_CXX=no
10476
11589
      hardcode_automatic_CXX=yes
10477
11590
      hardcode_shlibpath_var_CXX=unsupported
10478
11591
      whole_archive_flag_spec_CXX=''
10479
11592
      link_all_deplibs_CXX=yes
10480
 
 
10481
 
    if test "$GXX" = yes ; then
10482
 
      lt_int_apple_cc_single_mod=no
 
11593
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
11594
      if test "$GXX" = yes ; then
10483
11595
      output_verbose_link_cmd='echo'
10484
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
10485
 
       lt_int_apple_cc_single_mod=yes
 
11596
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
11597
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
11598
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
11599
      module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
11600
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
11601
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
11602
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
10486
11603
      fi
10487
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10488
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10489
 
      else
10490
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10491
 
        fi
10492
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10493
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10494
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
10495
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10496
 
          else
10497
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10498
 
          fi
10499
 
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10500
11604
      else
10501
11605
      case $cc_basename in
10502
11606
        xlc*)
10503
11607
         output_verbose_link_cmd='echo'
10504
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
11608
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10505
11609
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10506
11610
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10507
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
11611
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10508
11612
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10509
11613
          ;;
10510
11614
       *)
10538
11642
  freebsd-elf*)
10539
11643
    archive_cmds_need_lc_CXX=no
10540
11644
    ;;
10541
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
 
11645
  freebsd* | dragonfly*)
10542
11646
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10543
11647
    # conventions
10544
11648
    ld_shlibs_CXX=yes
10587
11691
      hardcode_libdir_separator_CXX=:
10588
11692
 
10589
11693
      case $host_cpu in
10590
 
      hppa*64*|ia64*)
10591
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10592
 
        ;;
 
11694
      hppa*64*|ia64*) ;;
10593
11695
      *)
10594
11696
        export_dynamic_flag_spec_CXX='${wl}-E'
10595
11697
        ;;
10657
11759
        ;;
10658
11760
    esac
10659
11761
    ;;
10660
 
  interix3*)
 
11762
  interix[3-9]*)
10661
11763
    hardcode_direct_CXX=no
10662
11764
    hardcode_shlibpath_var_CXX=no
10663
11765
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10697
11799
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10698
11800
    hardcode_libdir_separator_CXX=:
10699
11801
    ;;
10700
 
  linux*)
 
11802
  linux* | k*bsd*-gnu)
10701
11803
    case $cc_basename in
10702
11804
      KCC*)
10703
11805
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10749
11851
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10750
11852
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10751
11853
        ;;
10752
 
      pgCC*)
 
11854
      pgCC* | pgcpp*)
10753
11855
        # Portland Group C++ compiler
10754
11856
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
10755
11857
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
10777
11879
        # dependencies.
10778
11880
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
10779
11881
        ;;
 
11882
      *)
 
11883
        case `$CC -V 2>&1 | sed 5q` in
 
11884
        *Sun\ C*)
 
11885
          # Sun C++ 5.9
 
11886
          no_undefined_flag_CXX=' -zdefs'
 
11887
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11888
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
11889
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
11890
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
11891
 
 
11892
          # Not sure whether something based on
 
11893
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
11894
          # would be better.
 
11895
          output_verbose_link_cmd='echo'
 
11896
 
 
11897
          # Archives containing C++ object files must be created using
 
11898
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
11899
          # necessary to make sure instantiated templates are included
 
11900
          # in the archive.
 
11901
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
11902
          ;;
 
11903
        esac
 
11904
        ;;
10780
11905
    esac
10781
11906
    ;;
10782
11907
  lynxos*)
10799
11924
        ;;
10800
11925
    esac
10801
11926
    ;;
10802
 
  netbsd*)
 
11927
  netbsd* | netbsdelf*-gnu)
10803
11928
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10804
11929
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10805
11930
      wlarc=
10815
11940
    ld_shlibs_CXX=no
10816
11941
    ;;
10817
11942
  openbsd*)
10818
 
    hardcode_direct_CXX=yes
10819
 
    hardcode_shlibpath_var_CXX=no
10820
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
10821
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10822
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10823
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
10824
 
      export_dynamic_flag_spec_CXX='${wl}-E'
10825
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11943
    if test -f /usr/libexec/ld.so; then
 
11944
      hardcode_direct_CXX=yes
 
11945
      hardcode_shlibpath_var_CXX=no
 
11946
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
11947
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11948
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11949
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
11950
        export_dynamic_flag_spec_CXX='${wl}-E'
 
11951
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11952
      fi
 
11953
      output_verbose_link_cmd='echo'
 
11954
    else
 
11955
      ld_shlibs_CXX=no
10826
11956
    fi
10827
 
    output_verbose_link_cmd='echo'
10828
11957
    ;;
10829
11958
  osf3*)
10830
11959
    case $cc_basename in
10986
12115
        case $host_os in
10987
12116
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10988
12117
          *)
10989
 
            # The C++ compiler is used as linker so we must use $wl
10990
 
            # flag to pass the commands to the underlying system
10991
 
            # linker. We must also pass each convience library through
10992
 
            # to the system linker between allextract/defaultextract.
10993
 
            # The C++ compiler will combine linker options so we
10994
 
            # cannot just pass the convience library names through
10995
 
            # without $wl.
 
12118
            # The compiler driver will combine and reorder linker options,
 
12119
            # but understands `-z linker_flag'.
10996
12120
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10997
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
 
12121
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
10998
12122
            ;;
10999
12123
        esac
11000
12124
        link_all_deplibs_CXX=yes
11041
12165
          fi
11042
12166
 
11043
12167
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12168
          case $host_os in
 
12169
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12170
          *)
 
12171
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12172
            ;;
 
12173
          esac
11044
12174
        fi
11045
12175
        ;;
11046
12176
    esac
11121
12251
    ld_shlibs_CXX=no
11122
12252
    ;;
11123
12253
esac
11124
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11125
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12254
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12255
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11126
12256
test "$ld_shlibs_CXX" = no && can_build_shared=no
11127
12257
 
11128
12258
GCC_CXX="$GXX"
11129
12259
LD_CXX="$LD"
11130
12260
 
11131
 
 
11132
12261
cat > conftest.$ac_ext <<EOF
11133
12262
class Foo
11134
12263
{
11230
12359
 
11231
12360
$rm -f confest.$objext
11232
12361
 
 
12362
compiler_lib_search_dirs_CXX=
 
12363
if test -n "$compiler_lib_search_path_CXX"; then
 
12364
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
12365
fi
 
12366
 
11233
12367
# PORTME: override above test on systems where it is broken
11234
12368
case $host_os in
11235
 
interix3*)
 
12369
interix[3-9]*)
11236
12370
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
11237
12371
  # hack all around it, let's just trust "g++" to DTRT.
11238
12372
  predep_objects_CXX=
11240
12374
  postdeps_CXX=
11241
12375
  ;;
11242
12376
 
 
12377
linux*)
 
12378
  case `$CC -V 2>&1 | sed 5q` in
 
12379
  *Sun\ C*)
 
12380
    # Sun C++ 5.9
 
12381
    #
 
12382
    # The more standards-conforming stlport4 library is
 
12383
    # incompatible with the Cstd library. Avoid specifying
 
12384
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12385
    # -library=stlport4 depends on it.
 
12386
    case " $CXX $CXXFLAGS " in
 
12387
    *" -library=stlport4 "*)
 
12388
      solaris_use_stlport4=yes
 
12389
      ;;
 
12390
    esac
 
12391
    if test "$solaris_use_stlport4" != yes; then
 
12392
      postdeps_CXX='-library=Cstd -library=Crun'
 
12393
    fi
 
12394
    ;;
 
12395
  esac
 
12396
  ;;
 
12397
 
11243
12398
solaris*)
11244
12399
  case $cc_basename in
11245
12400
  CC*)
 
12401
    # The more standards-conforming stlport4 library is
 
12402
    # incompatible with the Cstd library. Avoid specifying
 
12403
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12404
    # -library=stlport4 depends on it.
 
12405
    case " $CXX $CXXFLAGS " in
 
12406
    *" -library=stlport4 "*)
 
12407
      solaris_use_stlport4=yes
 
12408
      ;;
 
12409
    esac
 
12410
 
11246
12411
    # Adding this requires a known-good setup of shared libraries for
11247
12412
    # Sun compiler versions before 5.6, else PIC objects from an old
11248
12413
    # archive will be linked into the output, leading to subtle bugs.
11249
 
    postdeps_CXX='-lCstd -lCrun'
 
12414
    if test "$solaris_use_stlport4" != yes; then
 
12415
      postdeps_CXX='-library=Cstd -library=Crun'
 
12416
    fi
11250
12417
    ;;
11251
12418
  esac
11252
12419
  ;;
11253
12420
esac
11254
12421
 
11255
 
 
11256
12422
case " $postdeps_CXX " in
11257
12423
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
11258
12424
esac
11261
12427
lt_prog_compiler_pic_CXX=
11262
12428
lt_prog_compiler_static_CXX=
11263
12429
 
11264
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11265
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
12430
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
12431
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
11266
12432
 
11267
12433
  # C++ specific cases for pic, static, wl, etc.
11268
12434
  if test "$GXX" = yes; then
11283
12449
      # like `-m68040'.
11284
12450
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
11285
12451
      ;;
11286
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12452
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11287
12453
      # PIC is the default for these OSes.
11288
12454
      ;;
11289
 
    mingw* | os2* | pw32*)
 
12455
    mingw* | cygwin* | os2* | pw32*)
11290
12456
      # This hack is so that the source file can tell whether it is being
11291
12457
      # built for inclusion in a dll (and should export symbols for example).
 
12458
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12459
      # (--disable-auto-import) libraries
11292
12460
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
11293
12461
      ;;
11294
12462
    darwin* | rhapsody*)
11300
12468
      # DJGPP does not support shared libraries at all
11301
12469
      lt_prog_compiler_pic_CXX=
11302
12470
      ;;
11303
 
    interix3*)
 
12471
    interix[3-9]*)
11304
12472
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11305
12473
      # Instead, we relocate shared libraries at runtime.
11306
12474
      ;;
11326
12494
    esac
11327
12495
  else
11328
12496
    case $host_os in
11329
 
      aix4* | aix5*)
 
12497
      aix[4-9]*)
11330
12498
        # All AIX code is PIC.
11331
12499
        if test "$host_cpu" = ia64; then
11332
12500
          # AIX 5 now supports IA64 processor
11366
12534
            ;;
11367
12535
        esac
11368
12536
        ;;
11369
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
 
12537
      freebsd* | dragonfly*)
11370
12538
        # FreeBSD uses GNU C++
11371
12539
        ;;
11372
12540
      hpux9* | hpux10* | hpux11*)
11409
12577
            ;;
11410
12578
        esac
11411
12579
        ;;
11412
 
      linux*)
 
12580
      linux* | k*bsd*-gnu)
11413
12581
        case $cc_basename in
11414
12582
          KCC*)
11415
12583
            # KAI C++ Compiler
11422
12590
            lt_prog_compiler_pic_CXX='-KPIC'
11423
12591
            lt_prog_compiler_static_CXX='-static'
11424
12592
            ;;
11425
 
          pgCC*)
 
12593
          pgCC* | pgcpp*)
11426
12594
            # Portland Group C++ compiler.
11427
12595
            lt_prog_compiler_wl_CXX='-Wl,'
11428
12596
            lt_prog_compiler_pic_CXX='-fpic'
11436
12604
            lt_prog_compiler_static_CXX='-non_shared'
11437
12605
            ;;
11438
12606
          *)
 
12607
            case `$CC -V 2>&1 | sed 5q` in
 
12608
            *Sun\ C*)
 
12609
              # Sun C++ 5.9
 
12610
              lt_prog_compiler_pic_CXX='-KPIC'
 
12611
              lt_prog_compiler_static_CXX='-Bstatic'
 
12612
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12613
              ;;
 
12614
            esac
11439
12615
            ;;
11440
12616
        esac
11441
12617
        ;;
11452
12628
            ;;
11453
12629
        esac
11454
12630
        ;;
11455
 
      netbsd*)
 
12631
      netbsd* | netbsdelf*-gnu)
11456
12632
        ;;
11457
12633
      osf3* | osf4* | osf5*)
11458
12634
        case $cc_basename in
11535
12711
    esac
11536
12712
  fi
11537
12713
 
11538
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
11539
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
 
12714
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
12715
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
11540
12716
 
11541
12717
#
11542
12718
# Check to make sure the PIC flag actually works.
11543
12719
#
11544
12720
if test -n "$lt_prog_compiler_pic_CXX"; then
11545
12721
 
11546
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
11547
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
11548
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
 
12722
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
12723
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
 
12724
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
11549
12725
  echo $ECHO_N "(cached) $ECHO_C" >&6
11550
12726
else
11551
 
  lt_prog_compiler_pic_works_CXX=no
 
12727
  lt_cv_prog_compiler_pic_works_CXX=no
11552
12728
  ac_outfile=conftest.$ac_objext
11553
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12729
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11554
12730
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
11555
12731
   # Insert the option either (1) after the last *FLAGS variable, or
11556
12732
   # (2) before a word containing "conftest.", or (3) at the end.
11561
12737
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11562
12738
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11563
12739
   -e 's:$: $lt_compiler_flag:'`
11564
 
   (eval echo "\"\$as_me:11564: $lt_compile\"" >&5)
 
12740
   (eval echo "\"\$as_me:12740: $lt_compile\"" >&5)
11565
12741
   (eval "$lt_compile" 2>conftest.err)
11566
12742
   ac_status=$?
11567
12743
   cat conftest.err >&5
11568
 
   echo "$as_me:11568: \$? = $ac_status" >&5
 
12744
   echo "$as_me:12744: \$? = $ac_status" >&5
11569
12745
   if (exit $ac_status) && test -s "$ac_outfile"; then
11570
12746
     # The compiler can only warn and ignore the option if not recognized
11571
12747
     # So say no if there are warnings other than the usual output.
11572
12748
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11573
12749
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11574
12750
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11575
 
       lt_prog_compiler_pic_works_CXX=yes
 
12751
       lt_cv_prog_compiler_pic_works_CXX=yes
11576
12752
     fi
11577
12753
   fi
11578
12754
   $rm conftest*
11579
12755
 
11580
12756
fi
11581
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
11582
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
 
12757
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
12758
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
11583
12759
 
11584
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
 
12760
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
11585
12761
    case $lt_prog_compiler_pic_CXX in
11586
12762
     "" | " "*) ;;
11587
12763
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
11606
12782
# Check to make sure the static flag actually works.
11607
12783
#
11608
12784
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
11609
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11610
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11611
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
 
12785
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
12786
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
12787
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
11612
12788
  echo $ECHO_N "(cached) $ECHO_C" >&6
11613
12789
else
11614
 
  lt_prog_compiler_static_works_CXX=no
 
12790
  lt_cv_prog_compiler_static_works_CXX=no
11615
12791
   save_LDFLAGS="$LDFLAGS"
11616
12792
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11617
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
12793
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11618
12794
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11619
12795
     # The linker can only warn and ignore the option if not recognized
11620
12796
     # So say no if there are warnings
11624
12800
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11625
12801
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11626
12802
       if diff conftest.exp conftest.er2 >/dev/null; then
11627
 
         lt_prog_compiler_static_works_CXX=yes
 
12803
         lt_cv_prog_compiler_static_works_CXX=yes
11628
12804
       fi
11629
12805
     else
11630
 
       lt_prog_compiler_static_works_CXX=yes
 
12806
       lt_cv_prog_compiler_static_works_CXX=yes
11631
12807
     fi
11632
12808
   fi
11633
 
   $rm conftest*
 
12809
   $rm -r conftest*
11634
12810
   LDFLAGS="$save_LDFLAGS"
11635
12811
 
11636
12812
fi
11637
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
11638
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
 
12813
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
12814
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
11639
12815
 
11640
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
 
12816
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
11641
12817
    :
11642
12818
else
11643
12819
    lt_prog_compiler_static_CXX=
11644
12820
fi
11645
12821
 
11646
12822
 
11647
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11648
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
12823
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
12824
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
11649
12825
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
11650
12826
  echo $ECHO_N "(cached) $ECHO_C" >&6
11651
12827
else
11654
12830
   mkdir conftest
11655
12831
   cd conftest
11656
12832
   mkdir out
11657
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12833
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11658
12834
 
11659
12835
   lt_compiler_flag="-o out/conftest2.$ac_objext"
11660
12836
   # Insert the option either (1) after the last *FLAGS variable, or
11665
12841
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11666
12842
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11667
12843
   -e 's:$: $lt_compiler_flag:'`
11668
 
   (eval echo "\"\$as_me:11668: $lt_compile\"" >&5)
 
12844
   (eval echo "\"\$as_me:12844: $lt_compile\"" >&5)
11669
12845
   (eval "$lt_compile" 2>out/conftest.err)
11670
12846
   ac_status=$?
11671
12847
   cat out/conftest.err >&5
11672
 
   echo "$as_me:11672: \$? = $ac_status" >&5
 
12848
   echo "$as_me:12848: \$? = $ac_status" >&5
11673
12849
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
11674
12850
   then
11675
12851
     # The compiler can only warn and ignore the option if not recognized
11691
12867
   $rm conftest*
11692
12868
 
11693
12869
fi
11694
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
11695
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
 
12870
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
12871
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
11696
12872
 
11697
12873
 
11698
12874
hard_links="nottested"
11699
12875
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
11700
12876
  # do not overwrite the value of need_locks provided by the user
11701
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11702
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
12877
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
12878
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
11703
12879
  hard_links=yes
11704
12880
  $rm conftest*
11705
12881
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11706
12882
  touch conftest.a
11707
12883
  ln conftest.a conftest.b 2>&5 || hard_links=no
11708
12884
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
11709
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
11710
 
echo "${ECHO_T}$hard_links" >&6
 
12885
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
12886
echo "${ECHO_T}$hard_links" >&6; }
11711
12887
  if test "$hard_links" = no; then
11712
12888
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11713
12889
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11717
12893
  need_locks=no
11718
12894
fi
11719
12895
 
11720
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11721
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
12896
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
12897
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11722
12898
 
11723
12899
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11724
12900
  case $host_os in
11725
 
  aix4* | aix5*)
 
12901
  aix[4-9]*)
11726
12902
    # If we're using GNU nm, then we don't want the "-C" option.
11727
12903
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
11728
12904
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11735
12911
    export_symbols_cmds_CXX="$ltdll_cmds"
11736
12912
  ;;
11737
12913
  cygwin* | mingw*)
11738
 
    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'
 
12914
    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'
 
12915
  ;;
 
12916
  linux* | k*bsd*-gnu)
 
12917
    link_all_deplibs_CXX=no
11739
12918
  ;;
11740
12919
  *)
11741
12920
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11742
12921
  ;;
11743
12922
  esac
 
12923
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11744
12924
 
11745
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11746
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
 
12925
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
12926
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
11747
12927
test "$ld_shlibs_CXX" = no && can_build_shared=no
11748
12928
 
11749
12929
#
11763
12943
      # Test whether the compiler implicitly links with -lc since on some
11764
12944
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11765
12945
      # to ld, don't add -lc before -lgcc.
11766
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11767
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
12946
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
12947
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11768
12948
      $rm conftest*
11769
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12949
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11770
12950
 
11771
12951
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11772
12952
  (eval $ac_compile) 2>&5
11801
12981
        cat conftest.err 1>&5
11802
12982
      fi
11803
12983
      $rm conftest*
11804
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11805
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
 
12984
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
12985
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
11806
12986
      ;;
11807
12987
    esac
11808
12988
  fi
11809
12989
  ;;
11810
12990
esac
11811
12991
 
11812
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11813
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
12992
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
12993
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11814
12994
library_names_spec=
11815
12995
libname_spec='lib$name'
11816
12996
soname_spec=
11824
13004
version_type=none
11825
13005
dynamic_linker="$host_os ld.so"
11826
13006
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11827
 
if test "$GCC" = yes; then
11828
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11829
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11830
 
    # if the path contains ";" then we assume it to be the separator
11831
 
    # otherwise default to the standard path separator (i.e. ":") - it is
11832
 
    # assumed that no part of a normal pathname contains ";" but that should
11833
 
    # okay in the real world where ";" in dirpaths is itself problematic.
11834
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11835
 
  else
11836
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11837
 
  fi
11838
 
else
11839
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11840
 
fi
 
13007
 
11841
13008
need_lib_prefix=unknown
11842
13009
hardcode_into_libs=no
11843
13010
 
11855
13022
  soname_spec='${libname}${release}${shared_ext}$major'
11856
13023
  ;;
11857
13024
 
11858
 
aix4* | aix5*)
 
13025
aix[4-9]*)
11859
13026
  version_type=linux
11860
13027
  need_lib_prefix=no
11861
13028
  need_version=no
11994
13161
  shlibpath_overrides_runpath=yes
11995
13162
  shlibpath_var=DYLD_LIBRARY_PATH
11996
13163
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11997
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11998
 
  if test "$GCC" = yes; then
11999
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12000
 
  else
12001
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12002
 
  fi
 
13164
 
12003
13165
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12004
13166
  ;;
12005
13167
 
12016
13178
  dynamic_linker=no
12017
13179
  ;;
12018
13180
 
12019
 
kfreebsd*-gnu)
12020
 
  version_type=linux
12021
 
  need_lib_prefix=no
12022
 
  need_version=no
12023
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12024
 
  soname_spec='${libname}${release}${shared_ext}$major'
12025
 
  shlibpath_var=LD_LIBRARY_PATH
12026
 
  shlibpath_overrides_runpath=no
12027
 
  hardcode_into_libs=yes
12028
 
  dynamic_linker='GNU ld.so'
12029
 
  ;;
12030
 
 
12031
13181
freebsd* | dragonfly*)
12032
13182
  # DragonFly does not have aout.  When/if they implement a new
12033
13183
  # versioning mechanism, adjust this.
12065
13215
    shlibpath_overrides_runpath=no
12066
13216
    hardcode_into_libs=yes
12067
13217
    ;;
12068
 
  freebsd*) # from 4.6 on
 
13218
  *) # from 4.6 on, and DragonFly
12069
13219
    shlibpath_overrides_runpath=yes
12070
13220
    hardcode_into_libs=yes
12071
13221
    ;;
12128
13278
  postinstall_cmds='chmod 555 $lib'
12129
13279
  ;;
12130
13280
 
12131
 
interix3*)
 
13281
interix[3-9]*)
12132
13282
  version_type=linux
12133
13283
  need_lib_prefix=no
12134
13284
  need_version=no
12183
13333
  ;;
12184
13334
 
12185
13335
# This must be Linux ELF.
12186
 
linux*)
 
13336
linux* | k*bsd*-gnu)
12187
13337
  version_type=linux
12188
13338
  need_lib_prefix=no
12189
13339
  need_version=no
12197
13347
  # before this can be enabled.
12198
13348
  hardcode_into_libs=yes
12199
13349
 
12200
 
  # find out which ABI we are using
12201
 
  libsuff=
12202
 
  case "$host_cpu" in
12203
 
  x86_64*|s390x*|powerpc64*)
12204
 
    echo '#line 12204 "configure"' > conftest.$ac_ext
12205
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12206
 
  (eval $ac_compile) 2>&5
12207
 
  ac_status=$?
12208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209
 
  (exit $ac_status); }; then
12210
 
      case `/usr/bin/file conftest.$ac_objext` in
12211
 
      *64-bit*)
12212
 
        libsuff=64
12213
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
12214
 
        ;;
12215
 
      esac
12216
 
    fi
12217
 
    rm -rf conftest*
12218
 
    ;;
12219
 
  esac
12220
 
 
12221
13350
  # Append ld.so.conf contents to the search path
12222
13351
  if test -f /etc/ld.so.conf; then
12223
 
    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' ' '`
12224
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
13352
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
13353
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12225
13354
  fi
12226
13355
 
12227
13356
  # We used to test for /lib/ld.so.1 and disable shared libraries on
12233
13362
  dynamic_linker='GNU/Linux ld.so'
12234
13363
  ;;
12235
13364
 
12236
 
knetbsd*-gnu)
 
13365
netbsdelf*-gnu)
12237
13366
  version_type=linux
12238
13367
  need_lib_prefix=no
12239
13368
  need_version=no
12242
13371
  shlibpath_var=LD_LIBRARY_PATH
12243
13372
  shlibpath_overrides_runpath=no
12244
13373
  hardcode_into_libs=yes
12245
 
  dynamic_linker='GNU ld.so'
 
13374
  dynamic_linker='NetBSD ld.elf_so'
12246
13375
  ;;
12247
13376
 
12248
13377
netbsd*)
12326
13455
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12327
13456
  ;;
12328
13457
 
 
13458
rdos*)
 
13459
  dynamic_linker=no
 
13460
  ;;
 
13461
 
12329
13462
solaris*)
12330
13463
  version_type=linux
12331
13464
  need_lib_prefix=no
12418
13551
  dynamic_linker=no
12419
13552
  ;;
12420
13553
esac
12421
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12422
 
echo "${ECHO_T}$dynamic_linker" >&6
 
13554
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
13555
echo "${ECHO_T}$dynamic_linker" >&6; }
12423
13556
test "$dynamic_linker" = no && can_build_shared=no
12424
13557
 
 
13558
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
13559
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13560
else
 
13561
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
13562
fi
 
13563
 
 
13564
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
13565
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
13566
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13567
else
 
13568
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
13569
fi
 
13570
 
 
13571
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
13572
 
12425
13573
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12426
13574
if test "$GCC" = yes; then
12427
13575
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12428
13576
fi
12429
13577
 
12430
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12431
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
13578
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
13579
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12432
13580
hardcode_action_CXX=
12433
13581
if test -n "$hardcode_libdir_flag_spec_CXX" || \
12434
13582
   test -n "$runpath_var_CXX" || \
12452
13600
  # directories.
12453
13601
  hardcode_action_CXX=unsupported
12454
13602
fi
12455
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
12456
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
 
13603
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
13604
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
12457
13605
 
12458
13606
if test "$hardcode_action_CXX" = relink; then
12459
13607
  # Fast installation is not supported
12505
13653
    predeps_CXX \
12506
13654
    postdeps_CXX \
12507
13655
    compiler_lib_search_path_CXX \
 
13656
    compiler_lib_search_dirs_CXX \
12508
13657
    archive_cmds_CXX \
12509
13658
    archive_expsym_cmds_CXX \
12510
13659
    postinstall_cmds_CXX \
12520
13669
    module_cmds_CXX \
12521
13670
    module_expsym_cmds_CXX \
12522
13671
    lt_cv_prog_compiler_c_o_CXX \
 
13672
    fix_srcfile_path_CXX \
12523
13673
    exclude_expsyms_CXX \
12524
13674
    include_expsyms_CXX; do
12525
13675
 
12752
13902
# shared library.
12753
13903
postdeps=$lt_postdeps_CXX
12754
13904
 
 
13905
# The directories searched by this compiler when creating a shared
 
13906
# library
 
13907
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
13908
 
12755
13909
# The library search path used internally by the compiler when linking
12756
13910
# a shared library.
12757
13911
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12840
13994
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12841
13995
 
12842
13996
# Fix the shell variable \$srcfile for the compiler.
12843
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
13997
fix_srcfile_path=$lt_fix_srcfile_path
12844
13998
 
12845
13999
# Set to yes if exported symbols are required.
12846
14000
always_export_symbols=$always_export_symbols_CXX
12931
14085
objext_F77=$objext
12932
14086
 
12933
14087
# Code to be used in simple compile tests
12934
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
14088
lt_simple_compile_test_code="\
 
14089
      subroutine t
 
14090
      return
 
14091
      end
 
14092
"
12935
14093
 
12936
14094
# Code to be used in simple link tests
12937
 
lt_simple_link_test_code="      program t\n      end\n"
 
14095
lt_simple_link_test_code="\
 
14096
      program t
 
14097
      end
 
14098
"
12938
14099
 
12939
14100
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12940
14101
 
12950
14111
 
12951
14112
# save warnings/boilerplate of simple test code
12952
14113
ac_outfile=conftest.$ac_objext
12953
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
14114
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12954
14115
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12955
14116
_lt_compiler_boilerplate=`cat conftest.err`
12956
14117
$rm conftest*
12957
14118
 
12958
14119
ac_outfile=conftest.$ac_objext
12959
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
14120
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12960
14121
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12961
14122
_lt_linker_boilerplate=`cat conftest.err`
12962
 
$rm conftest*
 
14123
$rm -r conftest*
12963
14124
 
12964
14125
 
12965
14126
# Allow CC to be a program name with arguments.
12978
14139
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12979
14140
 
12980
14141
 
12981
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12982
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12983
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
12984
 
echo "${ECHO_T}$can_build_shared" >&6
 
14142
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
14143
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
 
14144
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
14145
echo "${ECHO_T}$can_build_shared" >&6; }
12985
14146
 
12986
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12987
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
 
14147
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
14148
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12988
14149
test "$can_build_shared" = "no" && enable_shared=no
12989
14150
 
12990
14151
# On AIX, shared libraries and static libraries use the same namespace, and
12997
14158
    postinstall_cmds='$RANLIB $lib'
12998
14159
  fi
12999
14160
  ;;
13000
 
aix4* | aix5*)
 
14161
aix[4-9]*)
13001
14162
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13002
14163
    test "$enable_shared" = yes && enable_static=no
13003
14164
  fi
13004
14165
  ;;
13005
14166
esac
13006
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13007
 
echo "${ECHO_T}$enable_shared" >&6
 
14167
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
 
14168
echo "${ECHO_T}$enable_shared" >&6; }
13008
14169
 
13009
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13010
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
 
14170
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
14171
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
13011
14172
# Make sure either enable_shared or enable_static is yes.
13012
14173
test "$enable_shared" = yes || enable_static=yes
13013
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13014
 
echo "${ECHO_T}$enable_static" >&6
 
14174
{ echo "$as_me:$LINENO: result: $enable_static" >&5
 
14175
echo "${ECHO_T}$enable_static" >&6; }
13015
14176
 
13016
14177
GCC_F77="$G77"
13017
14178
LD_F77="$LD"
13020
14181
lt_prog_compiler_pic_F77=
13021
14182
lt_prog_compiler_static_F77=
13022
14183
 
13023
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13024
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
14184
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
14185
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13025
14186
 
13026
14187
  if test "$GCC" = yes; then
13027
14188
    lt_prog_compiler_wl_F77='-Wl,'
13043
14204
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13044
14205
      ;;
13045
14206
 
13046
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14207
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13047
14208
      # PIC is the default for these OSes.
13048
14209
      ;;
13049
14210
 
13050
 
    mingw* | pw32* | os2*)
 
14211
    mingw* | cygwin* | pw32* | os2*)
13051
14212
      # This hack is so that the source file can tell whether it is being
13052
14213
      # built for inclusion in a dll (and should export symbols for example).
 
14214
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14215
      # (--disable-auto-import) libraries
13053
14216
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13054
14217
      ;;
13055
14218
 
13059
14222
      lt_prog_compiler_pic_F77='-fno-common'
13060
14223
      ;;
13061
14224
 
13062
 
    interix3*)
 
14225
    interix[3-9]*)
13063
14226
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13064
14227
      # Instead, we relocate shared libraries at runtime.
13065
14228
      ;;
13117
14280
       esac
13118
14281
       ;;
13119
14282
 
13120
 
    mingw* | pw32* | os2*)
 
14283
    mingw* | cygwin* | pw32* | os2*)
13121
14284
      # This hack is so that the source file can tell whether it is being
13122
14285
      # built for inclusion in a dll (and should export symbols for example).
13123
14286
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13150
14313
      lt_prog_compiler_static_F77='-Bstatic'
13151
14314
      ;;
13152
14315
 
13153
 
    linux*)
 
14316
    linux* | k*bsd*-gnu)
13154
14317
      case $cc_basename in
13155
14318
      icc* | ecc*)
13156
14319
        lt_prog_compiler_wl_F77='-Wl,'
13169
14332
        # All Alpha code is PIC.
13170
14333
        lt_prog_compiler_static_F77='-non_shared'
13171
14334
        ;;
 
14335
      *)
 
14336
        case `$CC -V 2>&1 | sed 5q` in
 
14337
        *Sun\ C*)
 
14338
          # Sun C 5.9
 
14339
          lt_prog_compiler_pic_F77='-KPIC'
 
14340
          lt_prog_compiler_static_F77='-Bstatic'
 
14341
          lt_prog_compiler_wl_F77='-Wl,'
 
14342
          ;;
 
14343
        *Sun\ F*)
 
14344
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14345
          lt_prog_compiler_pic_F77='-KPIC'
 
14346
          lt_prog_compiler_static_F77='-Bstatic'
 
14347
          lt_prog_compiler_wl_F77=''
 
14348
          ;;
 
14349
        esac
 
14350
        ;;
13172
14351
      esac
13173
14352
      ;;
13174
14353
 
13178
14357
      lt_prog_compiler_static_F77='-non_shared'
13179
14358
      ;;
13180
14359
 
 
14360
    rdos*)
 
14361
      lt_prog_compiler_static_F77='-non_shared'
 
14362
      ;;
 
14363
 
13181
14364
    solaris*)
13182
14365
      lt_prog_compiler_pic_F77='-KPIC'
13183
14366
      lt_prog_compiler_static_F77='-Bstatic'
13230
14413
    esac
13231
14414
  fi
13232
14415
 
13233
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13234
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
 
14416
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 
14417
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
13235
14418
 
13236
14419
#
13237
14420
# Check to make sure the PIC flag actually works.
13238
14421
#
13239
14422
if test -n "$lt_prog_compiler_pic_F77"; then
13240
14423
 
13241
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13242
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13243
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
 
14424
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 
14425
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
 
14426
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
13244
14427
  echo $ECHO_N "(cached) $ECHO_C" >&6
13245
14428
else
13246
 
  lt_prog_compiler_pic_works_F77=no
 
14429
  lt_cv_prog_compiler_pic_works_F77=no
13247
14430
  ac_outfile=conftest.$ac_objext
13248
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14431
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13249
14432
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
13250
14433
   # Insert the option either (1) after the last *FLAGS variable, or
13251
14434
   # (2) before a word containing "conftest.", or (3) at the end.
13256
14439
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13257
14440
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13258
14441
   -e 's:$: $lt_compiler_flag:'`
13259
 
   (eval echo "\"\$as_me:13259: $lt_compile\"" >&5)
 
14442
   (eval echo "\"\$as_me:14442: $lt_compile\"" >&5)
13260
14443
   (eval "$lt_compile" 2>conftest.err)
13261
14444
   ac_status=$?
13262
14445
   cat conftest.err >&5
13263
 
   echo "$as_me:13263: \$? = $ac_status" >&5
 
14446
   echo "$as_me:14446: \$? = $ac_status" >&5
13264
14447
   if (exit $ac_status) && test -s "$ac_outfile"; then
13265
14448
     # The compiler can only warn and ignore the option if not recognized
13266
14449
     # So say no if there are warnings other than the usual output.
13267
14450
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13268
14451
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13269
14452
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13270
 
       lt_prog_compiler_pic_works_F77=yes
 
14453
       lt_cv_prog_compiler_pic_works_F77=yes
13271
14454
     fi
13272
14455
   fi
13273
14456
   $rm conftest*
13274
14457
 
13275
14458
fi
13276
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13277
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
 
14459
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 
14460
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
13278
14461
 
13279
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
 
14462
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
13280
14463
    case $lt_prog_compiler_pic_F77 in
13281
14464
     "" | " "*) ;;
13282
14465
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13301
14484
# Check to make sure the static flag actually works.
13302
14485
#
13303
14486
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
13304
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13305
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13306
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
 
14487
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
14488
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
14489
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
13307
14490
  echo $ECHO_N "(cached) $ECHO_C" >&6
13308
14491
else
13309
 
  lt_prog_compiler_static_works_F77=no
 
14492
  lt_cv_prog_compiler_static_works_F77=no
13310
14493
   save_LDFLAGS="$LDFLAGS"
13311
14494
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13312
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14495
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13313
14496
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13314
14497
     # The linker can only warn and ignore the option if not recognized
13315
14498
     # So say no if there are warnings
13319
14502
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13320
14503
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13321
14504
       if diff conftest.exp conftest.er2 >/dev/null; then
13322
 
         lt_prog_compiler_static_works_F77=yes
 
14505
         lt_cv_prog_compiler_static_works_F77=yes
13323
14506
       fi
13324
14507
     else
13325
 
       lt_prog_compiler_static_works_F77=yes
 
14508
       lt_cv_prog_compiler_static_works_F77=yes
13326
14509
     fi
13327
14510
   fi
13328
 
   $rm conftest*
 
14511
   $rm -r conftest*
13329
14512
   LDFLAGS="$save_LDFLAGS"
13330
14513
 
13331
14514
fi
13332
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
13333
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
 
14515
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 
14516
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
13334
14517
 
13335
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
 
14518
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
13336
14519
    :
13337
14520
else
13338
14521
    lt_prog_compiler_static_F77=
13339
14522
fi
13340
14523
 
13341
14524
 
13342
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13343
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
14525
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
14526
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13344
14527
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13345
14528
  echo $ECHO_N "(cached) $ECHO_C" >&6
13346
14529
else
13349
14532
   mkdir conftest
13350
14533
   cd conftest
13351
14534
   mkdir out
13352
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14535
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13353
14536
 
13354
14537
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13355
14538
   # Insert the option either (1) after the last *FLAGS variable, or
13360
14543
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13361
14544
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13362
14545
   -e 's:$: $lt_compiler_flag:'`
13363
 
   (eval echo "\"\$as_me:13363: $lt_compile\"" >&5)
 
14546
   (eval echo "\"\$as_me:14546: $lt_compile\"" >&5)
13364
14547
   (eval "$lt_compile" 2>out/conftest.err)
13365
14548
   ac_status=$?
13366
14549
   cat out/conftest.err >&5
13367
 
   echo "$as_me:13367: \$? = $ac_status" >&5
 
14550
   echo "$as_me:14550: \$? = $ac_status" >&5
13368
14551
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13369
14552
   then
13370
14553
     # The compiler can only warn and ignore the option if not recognized
13386
14569
   $rm conftest*
13387
14570
 
13388
14571
fi
13389
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13390
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
 
14572
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 
14573
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
13391
14574
 
13392
14575
 
13393
14576
hard_links="nottested"
13394
14577
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13395
14578
  # do not overwrite the value of need_locks provided by the user
13396
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13397
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
14579
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
14580
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13398
14581
  hard_links=yes
13399
14582
  $rm conftest*
13400
14583
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13401
14584
  touch conftest.a
13402
14585
  ln conftest.a conftest.b 2>&5 || hard_links=no
13403
14586
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13404
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
13405
 
echo "${ECHO_T}$hard_links" >&6
 
14587
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
14588
echo "${ECHO_T}$hard_links" >&6; }
13406
14589
  if test "$hard_links" = no; then
13407
14590
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13408
14591
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13412
14595
  need_locks=no
13413
14596
fi
13414
14597
 
13415
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13416
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
14598
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14599
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13417
14600
 
13418
14601
  runpath_var=
13419
14602
  allow_undefined_flag_F77=
13444
14627
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
13445
14628
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13446
14629
  # as well as any symbol that contains `d'.
13447
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
 
14630
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13448
14631
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13449
14632
  # platforms (ab)use it in PIC code, but their linkers get confused if
13450
14633
  # the symbol is explicitly referenced.  Since portable code cannot
13451
14634
  # rely on this symbol name, it's probably fine to never include it in
13452
14635
  # preloaded symbol tables.
 
14636
  # Exclude shared library initialization/finalization symbols.
13453
14637
  extract_expsyms_cmds=
13454
14638
  # Just being paranoid about ensuring that cc_basename is set.
13455
14639
  for cc_temp in $compiler""; do
13508
14692
 
13509
14693
    # See if GNU ld supports shared libraries.
13510
14694
    case $host_os in
13511
 
    aix3* | aix4* | aix5*)
 
14695
    aix[3-9]*)
13512
14696
      # On AIX/PPC, the GNU linker is very broken
13513
14697
      if test "$host_cpu" != ia64; then
13514
14698
        ld_shlibs_F77=no
13556
14740
      allow_undefined_flag_F77=unsupported
13557
14741
      always_export_symbols_F77=no
13558
14742
      enable_shared_with_static_runtimes_F77=yes
13559
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14743
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13560
14744
 
13561
14745
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13562
14746
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13574
14758
      fi
13575
14759
      ;;
13576
14760
 
13577
 
    interix3*)
 
14761
    interix[3-9]*)
13578
14762
      hardcode_direct_F77=no
13579
14763
      hardcode_shlibpath_var_F77=no
13580
14764
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13589
14773
      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'
13590
14774
      ;;
13591
14775
 
13592
 
    linux*)
 
14776
    gnu* | linux* | k*bsd*-gnu)
13593
14777
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13594
14778
        tmp_addflag=
13595
14779
        case $cc_basename,$host_cpu in
13607
14791
        ifc* | ifort*)                  # Intel Fortran compiler
13608
14792
          tmp_addflag=' -nofor_main' ;;
13609
14793
        esac
13610
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14794
        case `$CC -V 2>&1 | sed 5q` in
 
14795
        *Sun\ C*)                       # Sun C 5.9
 
14796
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14797
          tmp_sharedflag='-G' ;;
 
14798
        *Sun\ F*)                       # Sun Fortran 8.3
 
14799
          tmp_sharedflag='-G' ;;
 
14800
        *)
 
14801
          tmp_sharedflag='-shared' ;;
 
14802
        esac
 
14803
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13611
14804
 
13612
14805
        if test $supports_anon_versioning = yes; then
13613
14806
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13614
14807
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13615
14808
  $echo "local: *; };" >> $output_objdir/$libname.ver~
13616
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14809
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13617
14810
        fi
 
14811
        link_all_deplibs_F77=no
13618
14812
      else
13619
14813
        ld_shlibs_F77=no
13620
14814
      fi
13621
14815
      ;;
13622
14816
 
13623
 
    netbsd*)
 
14817
    netbsd* | netbsdelf*-gnu)
13624
14818
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13625
14819
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13626
14820
        wlarc=
13718
14912
      fi
13719
14913
      ;;
13720
14914
 
13721
 
    aix4* | aix5*)
 
14915
    aix[4-9]*)
13722
14916
      if test "$host_cpu" = ia64; then
13723
14917
        # On IA64, the linker does run time linking by default, so we don't
13724
14918
        # have to do anything special.
13738
14932
        # Test if we are trying to use run time linking or normal
13739
14933
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13740
14934
        # need to do runtime linking.
13741
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
14935
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13742
14936
          for ld_flag in $LDFLAGS; do
13743
14937
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13744
14938
            aix_use_runtimelinking=yes
13772
14966
           strings "$collect2name" | grep resolve_lib_name >/dev/null
13773
14967
          then
13774
14968
          # We have reworked collect2
13775
 
          hardcode_direct_F77=yes
 
14969
          :
13776
14970
          else
13777
14971
          # We have old collect2
13778
14972
          hardcode_direct_F77=unsupported
13818
15012
      end
13819
15013
_ACEOF
13820
15014
rm -f conftest.$ac_objext conftest$ac_exeext
13821
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13822
 
  (eval $ac_link) 2>conftest.er1
 
15015
if { (ac_try="$ac_link"
 
15016
case "(($ac_try" in
 
15017
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15018
  *) ac_try_echo=$ac_try;;
 
15019
esac
 
15020
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15021
  (eval "$ac_link") 2>conftest.er1
13823
15022
  ac_status=$?
13824
15023
  grep -v '^ *+' conftest.er1 >conftest.err
13825
15024
  rm -f conftest.er1
13826
15025
  cat conftest.err >&5
13827
15026
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828
 
  (exit $ac_status); } &&
13829
 
         { ac_try='test -z "$ac_f77_werror_flag"
13830
 
                         || test ! -s conftest.err'
13831
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832
 
  (eval $ac_try) 2>&5
13833
 
  ac_status=$?
13834
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835
 
  (exit $ac_status); }; } &&
13836
 
         { ac_try='test -s conftest$ac_exeext'
13837
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13838
 
  (eval $ac_try) 2>&5
13839
 
  ac_status=$?
13840
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841
 
  (exit $ac_status); }; }; then
 
15027
  (exit $ac_status); } && {
 
15028
         test -z "$ac_f77_werror_flag" ||
 
15029
         test ! -s conftest.err
 
15030
       } && test -s conftest$ac_exeext &&
 
15031
       $as_test_x conftest$ac_exeext; then
13842
15032
 
13843
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13844
 
}'`
 
15033
lt_aix_libpath_sed='
 
15034
    /Import File Strings/,/^$/ {
 
15035
        /^0/ {
 
15036
            s/^0  *\(.*\)$/\1/
 
15037
            p
 
15038
        }
 
15039
    }'
 
15040
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13845
15041
# Check for a 64-bit object if we didn't find anything.
13846
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13847
 
}'`; fi
 
15042
if test -z "$aix_libpath"; then
 
15043
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15044
fi
13848
15045
else
13849
15046
  echo "$as_me: failed program was:" >&5
13850
15047
sed 's/^/| /' conftest.$ac_ext >&5
13851
15048
 
 
15049
 
13852
15050
fi
13853
 
rm -f conftest.err conftest.$ac_objext \
 
15051
 
 
15052
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13854
15053
      conftest$ac_exeext conftest.$ac_ext
13855
15054
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13856
15055
 
13869
15068
      end
13870
15069
_ACEOF
13871
15070
rm -f conftest.$ac_objext conftest$ac_exeext
13872
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13873
 
  (eval $ac_link) 2>conftest.er1
 
15071
if { (ac_try="$ac_link"
 
15072
case "(($ac_try" in
 
15073
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15074
  *) ac_try_echo=$ac_try;;
 
15075
esac
 
15076
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
15077
  (eval "$ac_link") 2>conftest.er1
13874
15078
  ac_status=$?
13875
15079
  grep -v '^ *+' conftest.er1 >conftest.err
13876
15080
  rm -f conftest.er1
13877
15081
  cat conftest.err >&5
13878
15082
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879
 
  (exit $ac_status); } &&
13880
 
         { ac_try='test -z "$ac_f77_werror_flag"
13881
 
                         || test ! -s conftest.err'
13882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883
 
  (eval $ac_try) 2>&5
13884
 
  ac_status=$?
13885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886
 
  (exit $ac_status); }; } &&
13887
 
         { ac_try='test -s conftest$ac_exeext'
13888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13889
 
  (eval $ac_try) 2>&5
13890
 
  ac_status=$?
13891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892
 
  (exit $ac_status); }; }; then
 
15083
  (exit $ac_status); } && {
 
15084
         test -z "$ac_f77_werror_flag" ||
 
15085
         test ! -s conftest.err
 
15086
       } && test -s conftest$ac_exeext &&
 
15087
       $as_test_x conftest$ac_exeext; then
13893
15088
 
13894
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13895
 
}'`
 
15089
lt_aix_libpath_sed='
 
15090
    /Import File Strings/,/^$/ {
 
15091
        /^0/ {
 
15092
            s/^0  *\(.*\)$/\1/
 
15093
            p
 
15094
        }
 
15095
    }'
 
15096
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13896
15097
# Check for a 64-bit object if we didn't find anything.
13897
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
13898
 
}'`; fi
 
15098
if test -z "$aix_libpath"; then
 
15099
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15100
fi
13899
15101
else
13900
15102
  echo "$as_me: failed program was:" >&5
13901
15103
sed 's/^/| /' conftest.$ac_ext >&5
13902
15104
 
 
15105
 
13903
15106
fi
13904
 
rm -f conftest.err conftest.$ac_objext \
 
15107
 
 
15108
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13905
15109
      conftest$ac_exeext conftest.$ac_ext
13906
15110
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13907
15111
 
13947
15151
      # The linker will automatically build a .lib file if we build a DLL.
13948
15152
      old_archive_From_new_cmds_F77='true'
13949
15153
      # FIXME: Should let the user specify the lib program.
13950
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
15154
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
13951
15155
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13952
15156
      enable_shared_with_static_runtimes_F77=yes
13953
15157
      ;;
13980
15184
      link_all_deplibs_F77=yes
13981
15185
    if test "$GCC" = yes ; then
13982
15186
        output_verbose_link_cmd='echo'
13983
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13984
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13985
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13986
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13987
 
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15187
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
15188
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
15189
        archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
15190
        module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13988
15191
    else
13989
15192
      case $cc_basename in
13990
15193
        xlc*)
13991
15194
         output_verbose_link_cmd='echo'
13992
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15195
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
13993
15196
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13994
15197
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
13995
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
15198
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13996
15199
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13997
15200
          ;;
13998
15201
       *)
14032
15235
      ;;
14033
15236
 
14034
15237
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14035
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
15238
    freebsd* | dragonfly*)
14036
15239
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14037
15240
      hardcode_libdir_flag_spec_F77='-R$libdir'
14038
15241
      hardcode_direct_F77=yes
14134
15337
      link_all_deplibs_F77=yes
14135
15338
      ;;
14136
15339
 
14137
 
    netbsd*)
 
15340
    netbsd* | netbsdelf*-gnu)
14138
15341
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14139
15342
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14140
15343
      else
14154
15357
      ;;
14155
15358
 
14156
15359
    openbsd*)
14157
 
      hardcode_direct_F77=yes
14158
 
      hardcode_shlibpath_var_F77=no
14159
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14160
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14161
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14162
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14163
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15360
      if test -f /usr/libexec/ld.so; then
 
15361
        hardcode_direct_F77=yes
 
15362
        hardcode_shlibpath_var_F77=no
 
15363
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15364
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15365
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15366
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15367
          export_dynamic_flag_spec_F77='${wl}-E'
 
15368
        else
 
15369
          case $host_os in
 
15370
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15371
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15372
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15373
             ;;
 
15374
           *)
 
15375
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15376
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15377
             ;;
 
15378
          esac
 
15379
        fi
14164
15380
      else
14165
 
       case $host_os in
14166
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14167
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14168
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
14169
 
           ;;
14170
 
         *)
14171
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14172
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14173
 
           ;;
14174
 
       esac
 
15381
        ld_shlibs_F77=no
14175
15382
      fi
14176
15383
      ;;
14177
15384
 
14230
15437
      case $host_os in
14231
15438
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14232
15439
      *)
14233
 
        # The compiler driver will combine linker options so we
14234
 
        # cannot just pass the convience library names through
14235
 
        # without $wl, iff we do not link with $LD.
14236
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15440
        # The compiler driver will combine and reorder linker options,
 
15441
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15442
        # but is careful enough not to reorder.
14237
15443
        # Supported since Solaris 2.6 (maybe 2.5.1?)
14238
 
        case $wlarc in
14239
 
        '')
14240
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
14241
 
        *)
14242
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
14243
 
        esac ;;
 
15444
        if test "$GCC" = yes; then
 
15445
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15446
        else
 
15447
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15448
        fi
 
15449
        ;;
14244
15450
      esac
14245
15451
      link_all_deplibs_F77=yes
14246
15452
      ;;
14297
15503
      fi
14298
15504
      ;;
14299
15505
 
14300
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15506
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14301
15507
      no_undefined_flag_F77='${wl}-z,text'
14302
15508
      archive_cmds_need_lc_F77=no
14303
15509
      hardcode_shlibpath_var_F77=no
14350
15556
    esac
14351
15557
  fi
14352
15558
 
14353
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14354
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
 
15559
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 
15560
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
14355
15561
test "$ld_shlibs_F77" = no && can_build_shared=no
14356
15562
 
14357
15563
#
14371
15577
      # Test whether the compiler implicitly links with -lc since on some
14372
15578
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14373
15579
      # to ld, don't add -lc before -lgcc.
14374
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14375
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
15580
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
15581
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14376
15582
      $rm conftest*
14377
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15583
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14378
15584
 
14379
15585
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14380
15586
  (eval $ac_compile) 2>&5
14409
15615
        cat conftest.err 1>&5
14410
15616
      fi
14411
15617
      $rm conftest*
14412
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14413
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
 
15618
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 
15619
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
14414
15620
      ;;
14415
15621
    esac
14416
15622
  fi
14417
15623
  ;;
14418
15624
esac
14419
15625
 
14420
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14421
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
15626
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
15627
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14422
15628
library_names_spec=
14423
15629
libname_spec='lib$name'
14424
15630
soname_spec=
14432
15638
version_type=none
14433
15639
dynamic_linker="$host_os ld.so"
14434
15640
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14435
 
if test "$GCC" = yes; then
14436
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14437
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14438
 
    # if the path contains ";" then we assume it to be the separator
14439
 
    # otherwise default to the standard path separator (i.e. ":") - it is
14440
 
    # assumed that no part of a normal pathname contains ";" but that should
14441
 
    # okay in the real world where ";" in dirpaths is itself problematic.
14442
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14443
 
  else
14444
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14445
 
  fi
14446
 
else
14447
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14448
 
fi
 
15641
 
14449
15642
need_lib_prefix=unknown
14450
15643
hardcode_into_libs=no
14451
15644
 
14463
15656
  soname_spec='${libname}${release}${shared_ext}$major'
14464
15657
  ;;
14465
15658
 
14466
 
aix4* | aix5*)
 
15659
aix[4-9]*)
14467
15660
  version_type=linux
14468
15661
  need_lib_prefix=no
14469
15662
  need_version=no
14602
15795
  shlibpath_overrides_runpath=yes
14603
15796
  shlibpath_var=DYLD_LIBRARY_PATH
14604
15797
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14605
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14606
 
  if test "$GCC" = yes; then
14607
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14608
 
  else
14609
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
14610
 
  fi
 
15798
 
14611
15799
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14612
15800
  ;;
14613
15801
 
14624
15812
  dynamic_linker=no
14625
15813
  ;;
14626
15814
 
14627
 
kfreebsd*-gnu)
14628
 
  version_type=linux
14629
 
  need_lib_prefix=no
14630
 
  need_version=no
14631
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14632
 
  soname_spec='${libname}${release}${shared_ext}$major'
14633
 
  shlibpath_var=LD_LIBRARY_PATH
14634
 
  shlibpath_overrides_runpath=no
14635
 
  hardcode_into_libs=yes
14636
 
  dynamic_linker='GNU ld.so'
14637
 
  ;;
14638
 
 
14639
15815
freebsd* | dragonfly*)
14640
15816
  # DragonFly does not have aout.  When/if they implement a new
14641
15817
  # versioning mechanism, adjust this.
14673
15849
    shlibpath_overrides_runpath=no
14674
15850
    hardcode_into_libs=yes
14675
15851
    ;;
14676
 
  freebsd*) # from 4.6 on
 
15852
  *) # from 4.6 on, and DragonFly
14677
15853
    shlibpath_overrides_runpath=yes
14678
15854
    hardcode_into_libs=yes
14679
15855
    ;;
14736
15912
  postinstall_cmds='chmod 555 $lib'
14737
15913
  ;;
14738
15914
 
14739
 
interix3*)
 
15915
interix[3-9]*)
14740
15916
  version_type=linux
14741
15917
  need_lib_prefix=no
14742
15918
  need_version=no
14791
15967
  ;;
14792
15968
 
14793
15969
# This must be Linux ELF.
14794
 
linux*)
 
15970
linux* | k*bsd*-gnu)
14795
15971
  version_type=linux
14796
15972
  need_lib_prefix=no
14797
15973
  need_version=no
14805
15981
  # before this can be enabled.
14806
15982
  hardcode_into_libs=yes
14807
15983
 
14808
 
  # find out which ABI we are using
14809
 
  libsuff=
14810
 
  case "$host_cpu" in
14811
 
  x86_64*|s390x*|powerpc64*)
14812
 
    echo '#line 14812 "configure"' > conftest.$ac_ext
14813
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14814
 
  (eval $ac_compile) 2>&5
14815
 
  ac_status=$?
14816
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817
 
  (exit $ac_status); }; then
14818
 
      case `/usr/bin/file conftest.$ac_objext` in
14819
 
      *64-bit*)
14820
 
        libsuff=64
14821
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
14822
 
        ;;
14823
 
      esac
14824
 
    fi
14825
 
    rm -rf conftest*
14826
 
    ;;
14827
 
  esac
14828
 
 
14829
15984
  # Append ld.so.conf contents to the search path
14830
15985
  if test -f /etc/ld.so.conf; then
14831
 
    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' ' '`
14832
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
15986
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
15987
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14833
15988
  fi
14834
15989
 
14835
15990
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14841
15996
  dynamic_linker='GNU/Linux ld.so'
14842
15997
  ;;
14843
15998
 
14844
 
knetbsd*-gnu)
 
15999
netbsdelf*-gnu)
14845
16000
  version_type=linux
14846
16001
  need_lib_prefix=no
14847
16002
  need_version=no
14850
16005
  shlibpath_var=LD_LIBRARY_PATH
14851
16006
  shlibpath_overrides_runpath=no
14852
16007
  hardcode_into_libs=yes
14853
 
  dynamic_linker='GNU ld.so'
 
16008
  dynamic_linker='NetBSD ld.elf_so'
14854
16009
  ;;
14855
16010
 
14856
16011
netbsd*)
14934
16089
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14935
16090
  ;;
14936
16091
 
 
16092
rdos*)
 
16093
  dynamic_linker=no
 
16094
  ;;
 
16095
 
14937
16096
solaris*)
14938
16097
  version_type=linux
14939
16098
  need_lib_prefix=no
15026
16185
  dynamic_linker=no
15027
16186
  ;;
15028
16187
esac
15029
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15030
 
echo "${ECHO_T}$dynamic_linker" >&6
 
16188
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
16189
echo "${ECHO_T}$dynamic_linker" >&6; }
15031
16190
test "$dynamic_linker" = no && can_build_shared=no
15032
16191
 
 
16192
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
16193
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16194
else
 
16195
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
16196
fi
 
16197
 
 
16198
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
16199
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
16200
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16201
else
 
16202
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
16203
fi
 
16204
 
 
16205
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
16206
 
15033
16207
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15034
16208
if test "$GCC" = yes; then
15035
16209
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15036
16210
fi
15037
16211
 
15038
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15039
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
16212
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
16213
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15040
16214
hardcode_action_F77=
15041
16215
if test -n "$hardcode_libdir_flag_spec_F77" || \
15042
16216
   test -n "$runpath_var_F77" || \
15060
16234
  # directories.
15061
16235
  hardcode_action_F77=unsupported
15062
16236
fi
15063
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15064
 
echo "${ECHO_T}$hardcode_action_F77" >&6
 
16237
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 
16238
echo "${ECHO_T}$hardcode_action_F77" >&6; }
15065
16239
 
15066
16240
if test "$hardcode_action_F77" = relink; then
15067
16241
  # Fast installation is not supported
15113
16287
    predeps_F77 \
15114
16288
    postdeps_F77 \
15115
16289
    compiler_lib_search_path_F77 \
 
16290
    compiler_lib_search_dirs_F77 \
15116
16291
    archive_cmds_F77 \
15117
16292
    archive_expsym_cmds_F77 \
15118
16293
    postinstall_cmds_F77 \
15128
16303
    module_cmds_F77 \
15129
16304
    module_expsym_cmds_F77 \
15130
16305
    lt_cv_prog_compiler_c_o_F77 \
 
16306
    fix_srcfile_path_F77 \
15131
16307
    exclude_expsyms_F77 \
15132
16308
    include_expsyms_F77; do
15133
16309
 
15360
16536
# shared library.
15361
16537
postdeps=$lt_postdeps_F77
15362
16538
 
 
16539
# The directories searched by this compiler when creating a shared
 
16540
# library
 
16541
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 
16542
 
15363
16543
# The library search path used internally by the compiler when linking
15364
16544
# a shared library.
15365
16545
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
15448
16628
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15449
16629
 
15450
16630
# Fix the shell variable \$srcfile for the compiler.
15451
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16631
fix_srcfile_path=$lt_fix_srcfile_path
15452
16632
 
15453
16633
# Set to yes if exported symbols are required.
15454
16634
always_export_symbols=$always_export_symbols_F77
15498
16678
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15499
16679
 
15500
16680
 
15501
 
 
15502
16681
# Source file extension for Java test sources.
15503
16682
ac_ext=java
15504
16683
 
15507
16686
objext_GCJ=$objext
15508
16687
 
15509
16688
# Code to be used in simple compile tests
15510
 
lt_simple_compile_test_code="class foo {}\n"
 
16689
lt_simple_compile_test_code="class foo {}"
15511
16690
 
15512
16691
# Code to be used in simple link tests
15513
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
16692
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
15514
16693
 
15515
16694
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15516
16695
 
15526
16705
 
15527
16706
# save warnings/boilerplate of simple test code
15528
16707
ac_outfile=conftest.$ac_objext
15529
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16708
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15530
16709
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15531
16710
_lt_compiler_boilerplate=`cat conftest.err`
15532
16711
$rm conftest*
15533
16712
 
15534
16713
ac_outfile=conftest.$ac_objext
15535
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16714
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15536
16715
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15537
16716
_lt_linker_boilerplate=`cat conftest.err`
15538
 
$rm conftest*
 
16717
$rm -r conftest*
15539
16718
 
15540
16719
 
15541
16720
# Allow CC to be a program name with arguments.
15566
16745
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15567
16746
 
15568
16747
 
15569
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15570
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
16748
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
16749
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
15571
16750
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15572
16751
  echo $ECHO_N "(cached) $ECHO_C" >&6
15573
16752
else
15574
16753
  lt_cv_prog_compiler_rtti_exceptions=no
15575
16754
  ac_outfile=conftest.$ac_objext
15576
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16755
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15577
16756
   lt_compiler_flag="-fno-rtti -fno-exceptions"
15578
16757
   # Insert the option either (1) after the last *FLAGS variable, or
15579
16758
   # (2) before a word containing "conftest.", or (3) at the end.
15584
16763
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15585
16764
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15586
16765
   -e 's:$: $lt_compiler_flag:'`
15587
 
   (eval echo "\"\$as_me:15587: $lt_compile\"" >&5)
 
16766
   (eval echo "\"\$as_me:16766: $lt_compile\"" >&5)
15588
16767
   (eval "$lt_compile" 2>conftest.err)
15589
16768
   ac_status=$?
15590
16769
   cat conftest.err >&5
15591
 
   echo "$as_me:15591: \$? = $ac_status" >&5
 
16770
   echo "$as_me:16770: \$? = $ac_status" >&5
15592
16771
   if (exit $ac_status) && test -s "$ac_outfile"; then
15593
16772
     # The compiler can only warn and ignore the option if not recognized
15594
16773
     # So say no if there are warnings other than the usual output.
15601
16780
   $rm conftest*
15602
16781
 
15603
16782
fi
15604
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15605
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
16783
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
16784
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
15606
16785
 
15607
16786
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15608
16787
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15616
16795
lt_prog_compiler_pic_GCJ=
15617
16796
lt_prog_compiler_static_GCJ=
15618
16797
 
15619
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15620
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
16798
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
16799
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15621
16800
 
15622
16801
  if test "$GCC" = yes; then
15623
16802
    lt_prog_compiler_wl_GCJ='-Wl,'
15639
16818
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15640
16819
      ;;
15641
16820
 
15642
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16821
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15643
16822
      # PIC is the default for these OSes.
15644
16823
      ;;
15645
16824
 
15646
 
    mingw* | pw32* | os2*)
 
16825
    mingw* | cygwin* | pw32* | os2*)
15647
16826
      # This hack is so that the source file can tell whether it is being
15648
16827
      # built for inclusion in a dll (and should export symbols for example).
15649
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16828
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16829
      # (--disable-auto-import) libraries
 
16830
 
15650
16831
      ;;
15651
16832
 
15652
16833
    darwin* | rhapsody*)
15655
16836
      lt_prog_compiler_pic_GCJ='-fno-common'
15656
16837
      ;;
15657
16838
 
15658
 
    interix3*)
 
16839
    interix[3-9]*)
15659
16840
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15660
16841
      # Instead, we relocate shared libraries at runtime.
15661
16842
      ;;
15713
16894
       esac
15714
16895
       ;;
15715
16896
 
15716
 
    mingw* | pw32* | os2*)
 
16897
    mingw* | cygwin* | pw32* | os2*)
15717
16898
      # This hack is so that the source file can tell whether it is being
15718
16899
      # built for inclusion in a dll (and should export symbols for example).
15719
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
 
16900
 
15720
16901
      ;;
15721
16902
 
15722
16903
    hpux9* | hpux10* | hpux11*)
15746
16927
      lt_prog_compiler_static_GCJ='-Bstatic'
15747
16928
      ;;
15748
16929
 
15749
 
    linux*)
 
16930
    linux* | k*bsd*-gnu)
15750
16931
      case $cc_basename in
15751
16932
      icc* | ecc*)
15752
16933
        lt_prog_compiler_wl_GCJ='-Wl,'
15765
16946
        # All Alpha code is PIC.
15766
16947
        lt_prog_compiler_static_GCJ='-non_shared'
15767
16948
        ;;
 
16949
      *)
 
16950
        case `$CC -V 2>&1 | sed 5q` in
 
16951
        *Sun\ C*)
 
16952
          # Sun C 5.9
 
16953
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16954
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16955
          lt_prog_compiler_wl_GCJ='-Wl,'
 
16956
          ;;
 
16957
        *Sun\ F*)
 
16958
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16959
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16960
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16961
          lt_prog_compiler_wl_GCJ=''
 
16962
          ;;
 
16963
        esac
 
16964
        ;;
15768
16965
      esac
15769
16966
      ;;
15770
16967
 
15774
16971
      lt_prog_compiler_static_GCJ='-non_shared'
15775
16972
      ;;
15776
16973
 
 
16974
    rdos*)
 
16975
      lt_prog_compiler_static_GCJ='-non_shared'
 
16976
      ;;
 
16977
 
15777
16978
    solaris*)
15778
16979
      lt_prog_compiler_pic_GCJ='-KPIC'
15779
16980
      lt_prog_compiler_static_GCJ='-Bstatic'
15826
17027
    esac
15827
17028
  fi
15828
17029
 
15829
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15830
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
 
17030
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 
17031
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
15831
17032
 
15832
17033
#
15833
17034
# Check to make sure the PIC flag actually works.
15834
17035
#
15835
17036
if test -n "$lt_prog_compiler_pic_GCJ"; then
15836
17037
 
15837
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15838
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15839
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 
17038
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 
17039
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
 
17040
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
15840
17041
  echo $ECHO_N "(cached) $ECHO_C" >&6
15841
17042
else
15842
 
  lt_prog_compiler_pic_works_GCJ=no
 
17043
  lt_cv_prog_compiler_pic_works_GCJ=no
15843
17044
  ac_outfile=conftest.$ac_objext
15844
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17045
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15845
17046
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15846
17047
   # Insert the option either (1) after the last *FLAGS variable, or
15847
17048
   # (2) before a word containing "conftest.", or (3) at the end.
15852
17053
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15853
17054
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15854
17055
   -e 's:$: $lt_compiler_flag:'`
15855
 
   (eval echo "\"\$as_me:15855: $lt_compile\"" >&5)
 
17056
   (eval echo "\"\$as_me:17056: $lt_compile\"" >&5)
15856
17057
   (eval "$lt_compile" 2>conftest.err)
15857
17058
   ac_status=$?
15858
17059
   cat conftest.err >&5
15859
 
   echo "$as_me:15859: \$? = $ac_status" >&5
 
17060
   echo "$as_me:17060: \$? = $ac_status" >&5
15860
17061
   if (exit $ac_status) && test -s "$ac_outfile"; then
15861
17062
     # The compiler can only warn and ignore the option if not recognized
15862
17063
     # So say no if there are warnings other than the usual output.
15863
17064
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15864
17065
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15865
17066
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15866
 
       lt_prog_compiler_pic_works_GCJ=yes
 
17067
       lt_cv_prog_compiler_pic_works_GCJ=yes
15867
17068
     fi
15868
17069
   fi
15869
17070
   $rm conftest*
15870
17071
 
15871
17072
fi
15872
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15873
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
 
17073
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 
17074
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
15874
17075
 
15875
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
 
17076
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
15876
17077
    case $lt_prog_compiler_pic_GCJ in
15877
17078
     "" | " "*) ;;
15878
17079
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15897
17098
# Check to make sure the static flag actually works.
15898
17099
#
15899
17100
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
15900
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15901
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15902
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
 
17101
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
17102
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
17103
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
15903
17104
  echo $ECHO_N "(cached) $ECHO_C" >&6
15904
17105
else
15905
 
  lt_prog_compiler_static_works_GCJ=no
 
17106
  lt_cv_prog_compiler_static_works_GCJ=no
15906
17107
   save_LDFLAGS="$LDFLAGS"
15907
17108
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15908
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
17109
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15909
17110
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15910
17111
     # The linker can only warn and ignore the option if not recognized
15911
17112
     # So say no if there are warnings
15915
17116
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15916
17117
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15917
17118
       if diff conftest.exp conftest.er2 >/dev/null; then
15918
 
         lt_prog_compiler_static_works_GCJ=yes
 
17119
         lt_cv_prog_compiler_static_works_GCJ=yes
15919
17120
       fi
15920
17121
     else
15921
 
       lt_prog_compiler_static_works_GCJ=yes
 
17122
       lt_cv_prog_compiler_static_works_GCJ=yes
15922
17123
     fi
15923
17124
   fi
15924
 
   $rm conftest*
 
17125
   $rm -r conftest*
15925
17126
   LDFLAGS="$save_LDFLAGS"
15926
17127
 
15927
17128
fi
15928
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
15929
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
 
17129
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 
17130
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
15930
17131
 
15931
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
 
17132
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
15932
17133
    :
15933
17134
else
15934
17135
    lt_prog_compiler_static_GCJ=
15935
17136
fi
15936
17137
 
15937
17138
 
15938
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15939
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
 
17139
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
17140
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15940
17141
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15941
17142
  echo $ECHO_N "(cached) $ECHO_C" >&6
15942
17143
else
15945
17146
   mkdir conftest
15946
17147
   cd conftest
15947
17148
   mkdir out
15948
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
17149
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15949
17150
 
15950
17151
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15951
17152
   # Insert the option either (1) after the last *FLAGS variable, or
15956
17157
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15957
17158
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15958
17159
   -e 's:$: $lt_compiler_flag:'`
15959
 
   (eval echo "\"\$as_me:15959: $lt_compile\"" >&5)
 
17160
   (eval echo "\"\$as_me:17160: $lt_compile\"" >&5)
15960
17161
   (eval "$lt_compile" 2>out/conftest.err)
15961
17162
   ac_status=$?
15962
17163
   cat out/conftest.err >&5
15963
 
   echo "$as_me:15963: \$? = $ac_status" >&5
 
17164
   echo "$as_me:17164: \$? = $ac_status" >&5
15964
17165
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15965
17166
   then
15966
17167
     # The compiler can only warn and ignore the option if not recognized
15982
17183
   $rm conftest*
15983
17184
 
15984
17185
fi
15985
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15986
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
 
17186
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 
17187
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
15987
17188
 
15988
17189
 
15989
17190
hard_links="nottested"
15990
17191
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15991
17192
  # do not overwrite the value of need_locks provided by the user
15992
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15993
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
17193
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
17194
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15994
17195
  hard_links=yes
15995
17196
  $rm conftest*
15996
17197
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15997
17198
  touch conftest.a
15998
17199
  ln conftest.a conftest.b 2>&5 || hard_links=no
15999
17200
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16000
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16001
 
echo "${ECHO_T}$hard_links" >&6
 
17201
  { echo "$as_me:$LINENO: result: $hard_links" >&5
 
17202
echo "${ECHO_T}$hard_links" >&6; }
16002
17203
  if test "$hard_links" = no; then
16003
17204
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16004
17205
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16008
17209
  need_locks=no
16009
17210
fi
16010
17211
 
16011
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16012
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
17212
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
17213
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
16013
17214
 
16014
17215
  runpath_var=
16015
17216
  allow_undefined_flag_GCJ=
16040
17241
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16041
17242
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16042
17243
  # as well as any symbol that contains `d'.
16043
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
 
17244
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16044
17245
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16045
17246
  # platforms (ab)use it in PIC code, but their linkers get confused if
16046
17247
  # the symbol is explicitly referenced.  Since portable code cannot
16047
17248
  # rely on this symbol name, it's probably fine to never include it in
16048
17249
  # preloaded symbol tables.
 
17250
  # Exclude shared library initialization/finalization symbols.
16049
17251
  extract_expsyms_cmds=
16050
17252
  # Just being paranoid about ensuring that cc_basename is set.
16051
17253
  for cc_temp in $compiler""; do
16104
17306
 
16105
17307
    # See if GNU ld supports shared libraries.
16106
17308
    case $host_os in
16107
 
    aix3* | aix4* | aix5*)
 
17309
    aix[3-9]*)
16108
17310
      # On AIX/PPC, the GNU linker is very broken
16109
17311
      if test "$host_cpu" != ia64; then
16110
17312
        ld_shlibs_GCJ=no
16152
17354
      allow_undefined_flag_GCJ=unsupported
16153
17355
      always_export_symbols_GCJ=no
16154
17356
      enable_shared_with_static_runtimes_GCJ=yes
16155
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17357
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16156
17358
 
16157
17359
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
16158
17360
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16170
17372
      fi
16171
17373
      ;;
16172
17374
 
16173
 
    interix3*)
 
17375
    interix[3-9]*)
16174
17376
      hardcode_direct_GCJ=no
16175
17377
      hardcode_shlibpath_var_GCJ=no
16176
17378
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16185
17387
      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'
16186
17388
      ;;
16187
17389
 
16188
 
    linux*)
 
17390
    gnu* | linux* | k*bsd*-gnu)
16189
17391
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
16190
17392
        tmp_addflag=
16191
17393
        case $cc_basename,$host_cpu in
16203
17405
        ifc* | ifort*)                  # Intel Fortran compiler
16204
17406
          tmp_addflag=' -nofor_main' ;;
16205
17407
        esac
16206
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17408
        case `$CC -V 2>&1 | sed 5q` in
 
17409
        *Sun\ C*)                       # Sun C 5.9
 
17410
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17411
          tmp_sharedflag='-G' ;;
 
17412
        *Sun\ F*)                       # Sun Fortran 8.3
 
17413
          tmp_sharedflag='-G' ;;
 
17414
        *)
 
17415
          tmp_sharedflag='-shared' ;;
 
17416
        esac
 
17417
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16207
17418
 
16208
17419
        if test $supports_anon_versioning = yes; then
16209
17420
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
16210
17421
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16211
17422
  $echo "local: *; };" >> $output_objdir/$libname.ver~
16212
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17423
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16213
17424
        fi
 
17425
        link_all_deplibs_GCJ=no
16214
17426
      else
16215
17427
        ld_shlibs_GCJ=no
16216
17428
      fi
16217
17429
      ;;
16218
17430
 
16219
 
    netbsd*)
 
17431
    netbsd* | netbsdelf*-gnu)
16220
17432
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16221
17433
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16222
17434
        wlarc=
16314
17526
      fi
16315
17527
      ;;
16316
17528
 
16317
 
    aix4* | aix5*)
 
17529
    aix[4-9]*)
16318
17530
      if test "$host_cpu" = ia64; then
16319
17531
        # On IA64, the linker does run time linking by default, so we don't
16320
17532
        # have to do anything special.
16334
17546
        # Test if we are trying to use run time linking or normal
16335
17547
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16336
17548
        # need to do runtime linking.
16337
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
17549
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16338
17550
          for ld_flag in $LDFLAGS; do
16339
17551
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
16340
17552
            aix_use_runtimelinking=yes
16368
17580
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16369
17581
          then
16370
17582
          # We have reworked collect2
16371
 
          hardcode_direct_GCJ=yes
 
17583
          :
16372
17584
          else
16373
17585
          # We have old collect2
16374
17586
          hardcode_direct_GCJ=unsupported
16424
17636
}
16425
17637
_ACEOF
16426
17638
rm -f conftest.$ac_objext conftest$ac_exeext
16427
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16428
 
  (eval $ac_link) 2>conftest.er1
 
17639
if { (ac_try="$ac_link"
 
17640
case "(($ac_try" in
 
17641
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17642
  *) ac_try_echo=$ac_try;;
 
17643
esac
 
17644
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17645
  (eval "$ac_link") 2>conftest.er1
16429
17646
  ac_status=$?
16430
17647
  grep -v '^ *+' conftest.er1 >conftest.err
16431
17648
  rm -f conftest.er1
16432
17649
  cat conftest.err >&5
16433
17650
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434
 
  (exit $ac_status); } &&
16435
 
         { ac_try='test -z "$ac_c_werror_flag"
16436
 
                         || test ! -s conftest.err'
16437
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16438
 
  (eval $ac_try) 2>&5
16439
 
  ac_status=$?
16440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441
 
  (exit $ac_status); }; } &&
16442
 
         { ac_try='test -s conftest$ac_exeext'
16443
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444
 
  (eval $ac_try) 2>&5
16445
 
  ac_status=$?
16446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447
 
  (exit $ac_status); }; }; then
 
17651
  (exit $ac_status); } && {
 
17652
         test -z "$ac_c_werror_flag" ||
 
17653
         test ! -s conftest.err
 
17654
       } && test -s conftest$ac_exeext &&
 
17655
       $as_test_x conftest$ac_exeext; then
16448
17656
 
16449
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16450
 
}'`
 
17657
lt_aix_libpath_sed='
 
17658
    /Import File Strings/,/^$/ {
 
17659
        /^0/ {
 
17660
            s/^0  *\(.*\)$/\1/
 
17661
            p
 
17662
        }
 
17663
    }'
 
17664
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16451
17665
# Check for a 64-bit object if we didn't find anything.
16452
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16453
 
}'`; fi
 
17666
if test -z "$aix_libpath"; then
 
17667
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17668
fi
16454
17669
else
16455
17670
  echo "$as_me: failed program was:" >&5
16456
17671
sed 's/^/| /' conftest.$ac_ext >&5
16457
17672
 
 
17673
 
16458
17674
fi
16459
 
rm -f conftest.err conftest.$ac_objext \
 
17675
 
 
17676
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16460
17677
      conftest$ac_exeext conftest.$ac_ext
16461
17678
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16462
17679
 
16485
17702
}
16486
17703
_ACEOF
16487
17704
rm -f conftest.$ac_objext conftest$ac_exeext
16488
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16489
 
  (eval $ac_link) 2>conftest.er1
 
17705
if { (ac_try="$ac_link"
 
17706
case "(($ac_try" in
 
17707
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17708
  *) ac_try_echo=$ac_try;;
 
17709
esac
 
17710
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
17711
  (eval "$ac_link") 2>conftest.er1
16490
17712
  ac_status=$?
16491
17713
  grep -v '^ *+' conftest.er1 >conftest.err
16492
17714
  rm -f conftest.er1
16493
17715
  cat conftest.err >&5
16494
17716
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495
 
  (exit $ac_status); } &&
16496
 
         { ac_try='test -z "$ac_c_werror_flag"
16497
 
                         || test ! -s conftest.err'
16498
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16499
 
  (eval $ac_try) 2>&5
16500
 
  ac_status=$?
16501
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16502
 
  (exit $ac_status); }; } &&
16503
 
         { ac_try='test -s conftest$ac_exeext'
16504
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16505
 
  (eval $ac_try) 2>&5
16506
 
  ac_status=$?
16507
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508
 
  (exit $ac_status); }; }; then
 
17717
  (exit $ac_status); } && {
 
17718
         test -z "$ac_c_werror_flag" ||
 
17719
         test ! -s conftest.err
 
17720
       } && test -s conftest$ac_exeext &&
 
17721
       $as_test_x conftest$ac_exeext; then
16509
17722
 
16510
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16511
 
}'`
 
17723
lt_aix_libpath_sed='
 
17724
    /Import File Strings/,/^$/ {
 
17725
        /^0/ {
 
17726
            s/^0  *\(.*\)$/\1/
 
17727
            p
 
17728
        }
 
17729
    }'
 
17730
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16512
17731
# Check for a 64-bit object if we didn't find anything.
16513
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
16514
 
}'`; fi
 
17732
if test -z "$aix_libpath"; then
 
17733
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17734
fi
16515
17735
else
16516
17736
  echo "$as_me: failed program was:" >&5
16517
17737
sed 's/^/| /' conftest.$ac_ext >&5
16518
17738
 
 
17739
 
16519
17740
fi
16520
 
rm -f conftest.err conftest.$ac_objext \
 
17741
 
 
17742
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16521
17743
      conftest$ac_exeext conftest.$ac_ext
16522
17744
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16523
17745
 
16563
17785
      # The linker will automatically build a .lib file if we build a DLL.
16564
17786
      old_archive_From_new_cmds_GCJ='true'
16565
17787
      # FIXME: Should let the user specify the lib program.
16566
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
17788
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
16567
17789
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16568
17790
      enable_shared_with_static_runtimes_GCJ=yes
16569
17791
      ;;
16596
17818
      link_all_deplibs_GCJ=yes
16597
17819
    if test "$GCC" = yes ; then
16598
17820
        output_verbose_link_cmd='echo'
16599
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16600
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16601
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16602
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16603
 
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17821
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
17822
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
17823
        archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
 
17824
        module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
16604
17825
    else
16605
17826
      case $cc_basename in
16606
17827
        xlc*)
16607
17828
         output_verbose_link_cmd='echo'
16608
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17829
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16609
17830
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16610
17831
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16611
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17832
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16612
17833
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16613
17834
          ;;
16614
17835
       *)
16648
17869
      ;;
16649
17870
 
16650
17871
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16651
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
17872
    freebsd* | dragonfly*)
16652
17873
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16653
17874
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16654
17875
      hardcode_direct_GCJ=yes
16750
17971
      link_all_deplibs_GCJ=yes
16751
17972
      ;;
16752
17973
 
16753
 
    netbsd*)
 
17974
    netbsd* | netbsdelf*-gnu)
16754
17975
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16755
17976
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16756
17977
      else
16770
17991
      ;;
16771
17992
 
16772
17993
    openbsd*)
16773
 
      hardcode_direct_GCJ=yes
16774
 
      hardcode_shlibpath_var_GCJ=no
16775
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16776
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16777
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16778
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16779
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17994
      if test -f /usr/libexec/ld.so; then
 
17995
        hardcode_direct_GCJ=yes
 
17996
        hardcode_shlibpath_var_GCJ=no
 
17997
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17998
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17999
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
18000
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18001
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
18002
        else
 
18003
          case $host_os in
 
18004
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
18005
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
18006
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
18007
             ;;
 
18008
           *)
 
18009
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
18010
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
18011
             ;;
 
18012
          esac
 
18013
        fi
16780
18014
      else
16781
 
       case $host_os in
16782
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16783
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16784
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
16785
 
           ;;
16786
 
         *)
16787
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16788
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16789
 
           ;;
16790
 
       esac
 
18015
        ld_shlibs_GCJ=no
16791
18016
      fi
16792
18017
      ;;
16793
18018
 
16846
18071
      case $host_os in
16847
18072
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16848
18073
      *)
16849
 
        # The compiler driver will combine linker options so we
16850
 
        # cannot just pass the convience library names through
16851
 
        # without $wl, iff we do not link with $LD.
16852
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
18074
        # The compiler driver will combine and reorder linker options,
 
18075
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
18076
        # but is careful enough not to reorder.
16853
18077
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16854
 
        case $wlarc in
16855
 
        '')
16856
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16857
 
        *)
16858
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
16859
 
        esac ;;
 
18078
        if test "$GCC" = yes; then
 
18079
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
18080
        else
 
18081
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
18082
        fi
 
18083
        ;;
16860
18084
      esac
16861
18085
      link_all_deplibs_GCJ=yes
16862
18086
      ;;
16913
18137
      fi
16914
18138
      ;;
16915
18139
 
16916
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
18140
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16917
18141
      no_undefined_flag_GCJ='${wl}-z,text'
16918
18142
      archive_cmds_need_lc_GCJ=no
16919
18143
      hardcode_shlibpath_var_GCJ=no
16966
18190
    esac
16967
18191
  fi
16968
18192
 
16969
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16970
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
 
18193
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 
18194
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
16971
18195
test "$ld_shlibs_GCJ" = no && can_build_shared=no
16972
18196
 
16973
18197
#
16987
18211
      # Test whether the compiler implicitly links with -lc since on some
16988
18212
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16989
18213
      # to ld, don't add -lc before -lgcc.
16990
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16991
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
 
18214
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
18215
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16992
18216
      $rm conftest*
16993
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18217
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16994
18218
 
16995
18219
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16996
18220
  (eval $ac_compile) 2>&5
17025
18249
        cat conftest.err 1>&5
17026
18250
      fi
17027
18251
      $rm conftest*
17028
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17029
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
 
18252
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 
18253
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
17030
18254
      ;;
17031
18255
    esac
17032
18256
  fi
17033
18257
  ;;
17034
18258
esac
17035
18259
 
17036
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17037
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
18260
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
18261
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
17038
18262
library_names_spec=
17039
18263
libname_spec='lib$name'
17040
18264
soname_spec=
17048
18272
version_type=none
17049
18273
dynamic_linker="$host_os ld.so"
17050
18274
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17051
 
if test "$GCC" = yes; then
17052
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17053
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17054
 
    # if the path contains ";" then we assume it to be the separator
17055
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17056
 
    # assumed that no part of a normal pathname contains ";" but that should
17057
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17058
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17059
 
  else
17060
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17061
 
  fi
17062
 
else
17063
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17064
 
fi
 
18275
 
17065
18276
need_lib_prefix=unknown
17066
18277
hardcode_into_libs=no
17067
18278
 
17079
18290
  soname_spec='${libname}${release}${shared_ext}$major'
17080
18291
  ;;
17081
18292
 
17082
 
aix4* | aix5*)
 
18293
aix[4-9]*)
17083
18294
  version_type=linux
17084
18295
  need_lib_prefix=no
17085
18296
  need_version=no
17218
18429
  shlibpath_overrides_runpath=yes
17219
18430
  shlibpath_var=DYLD_LIBRARY_PATH
17220
18431
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17221
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
17222
 
  if test "$GCC" = yes; then
17223
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
17224
 
  else
17225
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
17226
 
  fi
 
18432
 
17227
18433
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17228
18434
  ;;
17229
18435
 
17240
18446
  dynamic_linker=no
17241
18447
  ;;
17242
18448
 
17243
 
kfreebsd*-gnu)
17244
 
  version_type=linux
17245
 
  need_lib_prefix=no
17246
 
  need_version=no
17247
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17248
 
  soname_spec='${libname}${release}${shared_ext}$major'
17249
 
  shlibpath_var=LD_LIBRARY_PATH
17250
 
  shlibpath_overrides_runpath=no
17251
 
  hardcode_into_libs=yes
17252
 
  dynamic_linker='GNU ld.so'
17253
 
  ;;
17254
 
 
17255
18449
freebsd* | dragonfly*)
17256
18450
  # DragonFly does not have aout.  When/if they implement a new
17257
18451
  # versioning mechanism, adjust this.
17289
18483
    shlibpath_overrides_runpath=no
17290
18484
    hardcode_into_libs=yes
17291
18485
    ;;
17292
 
  freebsd*) # from 4.6 on
 
18486
  *) # from 4.6 on, and DragonFly
17293
18487
    shlibpath_overrides_runpath=yes
17294
18488
    hardcode_into_libs=yes
17295
18489
    ;;
17352
18546
  postinstall_cmds='chmod 555 $lib'
17353
18547
  ;;
17354
18548
 
17355
 
interix3*)
 
18549
interix[3-9]*)
17356
18550
  version_type=linux
17357
18551
  need_lib_prefix=no
17358
18552
  need_version=no
17407
18601
  ;;
17408
18602
 
17409
18603
# This must be Linux ELF.
17410
 
linux*)
 
18604
linux* | k*bsd*-gnu)
17411
18605
  version_type=linux
17412
18606
  need_lib_prefix=no
17413
18607
  need_version=no
17421
18615
  # before this can be enabled.
17422
18616
  hardcode_into_libs=yes
17423
18617
 
17424
 
  # find out which ABI we are using
17425
 
  libsuff=
17426
 
  case "$host_cpu" in
17427
 
  x86_64*|s390x*|powerpc64*)
17428
 
    echo '#line 17428 "configure"' > conftest.$ac_ext
17429
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17430
 
  (eval $ac_compile) 2>&5
17431
 
  ac_status=$?
17432
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433
 
  (exit $ac_status); }; then
17434
 
      case `/usr/bin/file conftest.$ac_objext` in
17435
 
      *64-bit*)
17436
 
        libsuff=64
17437
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
17438
 
        ;;
17439
 
      esac
17440
 
    fi
17441
 
    rm -rf conftest*
17442
 
    ;;
17443
 
  esac
17444
 
 
17445
18618
  # Append ld.so.conf contents to the search path
17446
18619
  if test -f /etc/ld.so.conf; then
17447
 
    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' ' '`
17448
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
18620
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
18621
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17449
18622
  fi
17450
18623
 
17451
18624
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17457
18630
  dynamic_linker='GNU/Linux ld.so'
17458
18631
  ;;
17459
18632
 
17460
 
knetbsd*-gnu)
 
18633
netbsdelf*-gnu)
17461
18634
  version_type=linux
17462
18635
  need_lib_prefix=no
17463
18636
  need_version=no
17466
18639
  shlibpath_var=LD_LIBRARY_PATH
17467
18640
  shlibpath_overrides_runpath=no
17468
18641
  hardcode_into_libs=yes
17469
 
  dynamic_linker='GNU ld.so'
 
18642
  dynamic_linker='NetBSD ld.elf_so'
17470
18643
  ;;
17471
18644
 
17472
18645
netbsd*)
17550
18723
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17551
18724
  ;;
17552
18725
 
 
18726
rdos*)
 
18727
  dynamic_linker=no
 
18728
  ;;
 
18729
 
17553
18730
solaris*)
17554
18731
  version_type=linux
17555
18732
  need_lib_prefix=no
17642
18819
  dynamic_linker=no
17643
18820
  ;;
17644
18821
esac
17645
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17646
 
echo "${ECHO_T}$dynamic_linker" >&6
 
18822
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
18823
echo "${ECHO_T}$dynamic_linker" >&6; }
17647
18824
test "$dynamic_linker" = no && can_build_shared=no
17648
18825
 
 
18826
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
18827
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18828
else
 
18829
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 
18830
fi
 
18831
 
 
18832
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
18833
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
18834
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18835
else
 
18836
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 
18837
fi
 
18838
 
 
18839
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
18840
 
17649
18841
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17650
18842
if test "$GCC" = yes; then
17651
18843
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17652
18844
fi
17653
18845
 
17654
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17655
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
18846
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
18847
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17656
18848
hardcode_action_GCJ=
17657
18849
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17658
18850
   test -n "$runpath_var_GCJ" || \
17676
18868
  # directories.
17677
18869
  hardcode_action_GCJ=unsupported
17678
18870
fi
17679
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
17680
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
 
18871
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 
18872
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
17681
18873
 
17682
18874
if test "$hardcode_action_GCJ" = relink; then
17683
18875
  # Fast installation is not supported
17729
18921
    predeps_GCJ \
17730
18922
    postdeps_GCJ \
17731
18923
    compiler_lib_search_path_GCJ \
 
18924
    compiler_lib_search_dirs_GCJ \
17732
18925
    archive_cmds_GCJ \
17733
18926
    archive_expsym_cmds_GCJ \
17734
18927
    postinstall_cmds_GCJ \
17744
18937
    module_cmds_GCJ \
17745
18938
    module_expsym_cmds_GCJ \
17746
18939
    lt_cv_prog_compiler_c_o_GCJ \
 
18940
    fix_srcfile_path_GCJ \
17747
18941
    exclude_expsyms_GCJ \
17748
18942
    include_expsyms_GCJ; do
17749
18943
 
17976
19170
# shared library.
17977
19171
postdeps=$lt_postdeps_GCJ
17978
19172
 
 
19173
# The directories searched by this compiler when creating a shared
 
19174
# library
 
19175
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 
19176
 
17979
19177
# The library search path used internally by the compiler when linking
17980
19178
# a shared library.
17981
19179
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18064
19262
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18065
19263
 
18066
19264
# Fix the shell variable \$srcfile for the compiler.
18067
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
19265
fix_srcfile_path=$lt_fix_srcfile_path
18068
19266
 
18069
19267
# Set to yes if exported symbols are required.
18070
19268
always_export_symbols=$always_export_symbols_GCJ
18113
19311
      RC)
18114
19312
 
18115
19313
 
18116
 
 
18117
19314
# Source file extension for RC test sources.
18118
19315
ac_ext=rc
18119
19316
 
18122
19319
objext_RC=$objext
18123
19320
 
18124
19321
# Code to be used in simple compile tests
18125
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
19322
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
18126
19323
 
18127
19324
# Code to be used in simple link tests
18128
19325
lt_simple_link_test_code="$lt_simple_compile_test_code"
18141
19338
 
18142
19339
# save warnings/boilerplate of simple test code
18143
19340
ac_outfile=conftest.$ac_objext
18144
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19341
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18145
19342
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18146
19343
_lt_compiler_boilerplate=`cat conftest.err`
18147
19344
$rm conftest*
18148
19345
 
18149
19346
ac_outfile=conftest.$ac_objext
18150
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19347
echo "$lt_simple_link_test_code" >conftest.$ac_ext
18151
19348
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18152
19349
_lt_linker_boilerplate=`cat conftest.err`
18153
 
$rm conftest*
 
19350
$rm -r conftest*
18154
19351
 
18155
19352
 
18156
19353
# Allow CC to be a program name with arguments.
18210
19407
    predeps_RC \
18211
19408
    postdeps_RC \
18212
19409
    compiler_lib_search_path_RC \
 
19410
    compiler_lib_search_dirs_RC \
18213
19411
    archive_cmds_RC \
18214
19412
    archive_expsym_cmds_RC \
18215
19413
    postinstall_cmds_RC \
18225
19423
    module_cmds_RC \
18226
19424
    module_expsym_cmds_RC \
18227
19425
    lt_cv_prog_compiler_c_o_RC \
 
19426
    fix_srcfile_path_RC \
18228
19427
    exclude_expsyms_RC \
18229
19428
    include_expsyms_RC; do
18230
19429
 
18457
19656
# shared library.
18458
19657
postdeps=$lt_postdeps_RC
18459
19658
 
 
19659
# The directories searched by this compiler when creating a shared
 
19660
# library
 
19661
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 
19662
 
18460
19663
# The library search path used internally by the compiler when linking
18461
19664
# a shared library.
18462
19665
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18545
19748
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18546
19749
 
18547
19750
# Fix the shell variable \$srcfile for the compiler.
18548
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19751
fix_srcfile_path=$lt_fix_srcfile_path
18549
19752
 
18550
19753
# Set to yes if exported symbols are required.
18551
19754
always_export_symbols=$always_export_symbols_RC
18652
19855
        if test -n "$ac_tool_prefix"; then
18653
19856
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18654
19857
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18655
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18656
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19858
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19859
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18657
19860
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
18658
19861
  echo $ECHO_N "(cached) $ECHO_C" >&6
18659
19862
else
18668
19871
  IFS=$as_save_IFS
18669
19872
  test -z "$as_dir" && as_dir=.
18670
19873
  for ac_exec_ext in '' $ac_executable_extensions; do
18671
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18672
19875
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18673
19876
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18674
19877
    break 2
18675
19878
  fi
18676
19879
done
18677
19880
done
 
19881
IFS=$as_save_IFS
18678
19882
 
18679
19883
  ;;
18680
19884
esac
18681
19885
fi
18682
19886
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18683
 
 
18684
19887
if test -n "$PKG_CONFIG"; then
18685
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
18686
 
echo "${ECHO_T}$PKG_CONFIG" >&6
 
19888
  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
19889
echo "${ECHO_T}$PKG_CONFIG" >&6; }
18687
19890
else
18688
 
  echo "$as_me:$LINENO: result: no" >&5
18689
 
echo "${ECHO_T}no" >&6
 
19891
  { echo "$as_me:$LINENO: result: no" >&5
 
19892
echo "${ECHO_T}no" >&6; }
18690
19893
fi
 
19894
 
18691
19895
 
18692
19896
fi
18693
19897
if test -z "$ac_cv_path_PKG_CONFIG"; then
18694
19898
  ac_pt_PKG_CONFIG=$PKG_CONFIG
18695
19899
  # Extract the first word of "pkg-config", so it can be a program name with args.
18696
19900
set dummy pkg-config; ac_word=$2
18697
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
18698
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19901
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19902
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18699
19903
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
18700
19904
  echo $ECHO_N "(cached) $ECHO_C" >&6
18701
19905
else
18710
19914
  IFS=$as_save_IFS
18711
19915
  test -z "$as_dir" && as_dir=.
18712
19916
  for ac_exec_ext in '' $ac_executable_extensions; do
18713
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19917
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18714
19918
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18715
19919
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18716
19920
    break 2
18717
19921
  fi
18718
19922
done
18719
19923
done
 
19924
IFS=$as_save_IFS
18720
19925
 
18721
19926
  ;;
18722
19927
esac
18723
19928
fi
18724
19929
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18725
 
 
18726
19930
if test -n "$ac_pt_PKG_CONFIG"; then
18727
 
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
18728
 
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
19931
  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
19932
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
18729
19933
else
18730
 
  echo "$as_me:$LINENO: result: no" >&5
18731
 
echo "${ECHO_T}no" >&6
 
19934
  { echo "$as_me:$LINENO: result: no" >&5
 
19935
echo "${ECHO_T}no" >&6; }
18732
19936
fi
18733
19937
 
18734
 
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
19938
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
19939
    PKG_CONFIG=""
 
19940
  else
 
19941
    case $cross_compiling:$ac_tool_warned in
 
19942
yes:)
 
19943
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 
19944
whose name does not start with the host triplet.  If you think this
 
19945
configuration is useful to you, please write to autoconf@gnu.org." >&5
 
19946
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 
19947
whose name does not start with the host triplet.  If you think this
 
19948
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
19949
ac_tool_warned=yes ;;
 
19950
esac
 
19951
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
19952
  fi
18735
19953
else
18736
19954
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18737
19955
fi
18739
19957
fi
18740
19958
if test -n "$PKG_CONFIG"; then
18741
19959
        _pkg_min_version=0.9.0
18742
 
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
18743
 
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
19960
        { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
19961
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
18744
19962
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18745
 
                echo "$as_me:$LINENO: result: yes" >&5
18746
 
echo "${ECHO_T}yes" >&6
 
19963
                { echo "$as_me:$LINENO: result: yes" >&5
 
19964
echo "${ECHO_T}yes" >&6; }
18747
19965
        else
18748
 
                echo "$as_me:$LINENO: result: no" >&5
18749
 
echo "${ECHO_T}no" >&6
 
19966
                { echo "$as_me:$LINENO: result: no" >&5
 
19967
echo "${ECHO_T}no" >&6; }
18750
19968
                PKG_CONFIG=""
18751
19969
        fi
18752
19970
 
18753
19971
fi
18754
19972
 
18755
19973
pkg_failed=no
18756
 
echo "$as_me:$LINENO: checking for XSCRNSAVER" >&5
18757
 
echo $ECHO_N "checking for XSCRNSAVER... $ECHO_C" >&6
 
19974
{ echo "$as_me:$LINENO: checking for XSCRNSAVER" >&5
 
19975
echo $ECHO_N "checking for XSCRNSAVER... $ECHO_C" >&6; }
18758
19976
 
18759
19977
if test -n "$PKG_CONFIG"; then
18760
19978
    if test -n "$XSCRNSAVER_CFLAGS"; then
18842
20060
and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
18843
20061
See the pkg-config man page for more details.
18844
20062
 
18845
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
20063
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18846
20064
See \`config.log' for more details." >&5
18847
20065
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
18848
20066
is in your PATH or set the PKG_CONFIG environment variable to the full
18852
20070
and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
18853
20071
See the pkg-config man page for more details.
18854
20072
 
18855
 
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
20073
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18856
20074
See \`config.log' for more details." >&2;}
18857
20075
   { (exit 1); exit 1; }; }
18858
20076
else
18859
20077
        XSCRNSAVER_CFLAGS=$pkg_cv_XSCRNSAVER_CFLAGS
18860
20078
        XSCRNSAVER_LIBS=$pkg_cv_XSCRNSAVER_LIBS
18861
 
        echo "$as_me:$LINENO: result: yes" >&5
18862
 
echo "${ECHO_T}yes" >&6
 
20079
        { echo "$as_me:$LINENO: result: yes" >&5
 
20080
echo "${ECHO_T}yes" >&6; }
18863
20081
        :
18864
20082
fi
18865
20083
 
18867
20085
 
18868
20086
 
18869
20087
 
18870
 
# Check whether --enable-malloc0returnsnull or --disable-malloc0returnsnull was given.
 
20088
 
 
20089
# Allow checking code with lint, sparse, etc.
 
20090
 
 
20091
# Check whether --with-lint was given.
 
20092
if test "${with_lint+set}" = set; then
 
20093
  withval=$with_lint; use_lint=$withval
 
20094
else
 
20095
  use_lint=no
 
20096
fi
 
20097
 
 
20098
if test "x$use_lint" = "xyes" ; then
 
20099
        LINT="lint"
 
20100
else
 
20101
        LINT="$use_lint"
 
20102
fi
 
20103
if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
 
20104
    case $LINT in
 
20105
        lint|*/lint)
 
20106
            case $host_os in
 
20107
                solaris*)
 
20108
                        LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
 
20109
                        ;;
 
20110
            esac
 
20111
            ;;
 
20112
    esac
 
20113
fi
 
20114
 
 
20115
 
 
20116
 
 
20117
 if test x$LINT != xno; then
 
20118
  LINT_TRUE=
 
20119
  LINT_FALSE='#'
 
20120
else
 
20121
  LINT_TRUE='#'
 
20122
  LINT_FALSE=
 
20123
fi
 
20124
 
 
20125
 
 
20126
 
 
20127
 
 
20128
 
 
20129
# Build lint "library" for more indepth checks of programs calling this library
 
20130
# Check whether --enable-lint-library was given.
 
20131
if test "${enable_lint_library+set}" = set; then
 
20132
  enableval=$enable_lint_library; make_lint_lib=$enableval
 
20133
else
 
20134
  make_lint_lib=no
 
20135
fi
 
20136
 
 
20137
if test "x$make_lint_lib" != "xno" ; then
 
20138
        if test "x$LINT" = "xno" ; then
 
20139
                { { echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
 
20140
echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
 
20141
   { (exit 1); exit 1; }; }
 
20142
        fi
 
20143
        if test "x$make_lint_lib" = "xyes" ; then
 
20144
                LINTLIB=llib-lXss.ln
 
20145
        else
 
20146
                LINTLIB=$make_lint_lib
 
20147
        fi
 
20148
fi
 
20149
 
 
20150
 if test x$make_lint_lib != xno; then
 
20151
  MAKE_LINT_LIB_TRUE=
 
20152
  MAKE_LINT_LIB_FALSE='#'
 
20153
else
 
20154
  MAKE_LINT_LIB_TRUE='#'
 
20155
  MAKE_LINT_LIB_FALSE=
 
20156
fi
 
20157
 
 
20158
 
 
20159
 
 
20160
 
 
20161
 
 
20162
# Check whether --enable-malloc0returnsnull was given.
18871
20163
if test "${enable_malloc0returnsnull+set}" = set; then
18872
 
  enableval="$enable_malloc0returnsnull"
18873
 
  MALLOC_ZERO_RETURNS_NULL=$enableval
 
20164
  enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
18874
20165
else
18875
20166
  MALLOC_ZERO_RETURNS_NULL=auto
18876
 
fi;
18877
 
 
18878
 
echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
18879
 
echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6
 
20167
fi
 
20168
 
 
20169
 
 
20170
{ echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
 
20171
echo $ECHO_N "checking whether malloc(0) returns NULL... $ECHO_C" >&6; }
18880
20172
if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
18881
20173
        if test "$cross_compiling" = yes; then
18882
20174
  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18900
20192
}
18901
20193
_ACEOF
18902
20194
rm -f conftest$ac_exeext
18903
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18904
 
  (eval $ac_link) 2>&5
 
20195
if { (ac_try="$ac_link"
 
20196
case "(($ac_try" in
 
20197
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20198
  *) ac_try_echo=$ac_try;;
 
20199
esac
 
20200
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20201
  (eval "$ac_link") 2>&5
18905
20202
  ac_status=$?
18906
20203
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907
20204
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18908
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18909
 
  (eval $ac_try) 2>&5
 
20205
  { (case "(($ac_try" in
 
20206
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20207
  *) ac_try_echo=$ac_try;;
 
20208
esac
 
20209
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20210
  (eval "$ac_try") 2>&5
18910
20211
  ac_status=$?
18911
20212
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912
20213
  (exit $ac_status); }; }; then
18919
20220
( exit $ac_status )
18920
20221
MALLOC_ZERO_RETURNS_NULL=no
18921
20222
fi
18922
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18923
 
fi
18924
 
fi
18925
 
echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
18926
 
echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6
 
20223
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
20224
fi
 
20225
 
 
20226
 
 
20227
fi
 
20228
{ echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
 
20229
echo "${ECHO_T}$MALLOC_ZERO_RETURNS_NULL" >&6; }
18927
20230
 
18928
20231
if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
18929
20232
        MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
18943
20246
 
18944
20247
 
18945
20248
if test x$APP_MAN_SUFFIX = x    ; then
18946
 
    case $host_os in
18947
 
        linux*) APP_MAN_SUFFIX=1x ;;
18948
 
        *)      APP_MAN_SUFFIX=1  ;;
18949
 
    esac
 
20249
    APP_MAN_SUFFIX=1
18950
20250
fi
18951
20251
if test x$APP_MAN_DIR = x    ; then
18952
 
    case $host_os in
18953
 
        linux*) APP_MAN_DIR='$(mandir)/man1' ;;
18954
 
        *)      APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;;
18955
 
    esac
 
20252
    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
18956
20253
fi
18957
20254
 
18958
20255
if test x$LIB_MAN_SUFFIX = x    ; then
18959
 
    case $host_os in
18960
 
        linux*) LIB_MAN_SUFFIX=3x ;;
18961
 
        *)      LIB_MAN_SUFFIX=3  ;;
18962
 
    esac
 
20256
    LIB_MAN_SUFFIX=3
18963
20257
fi
18964
20258
if test x$LIB_MAN_DIR = x    ; then
18965
 
    case $host_os in
18966
 
        linux*) LIB_MAN_DIR='$(mandir)/man3' ;;
18967
 
        *)      LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;;
18968
 
    esac
 
20259
    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
18969
20260
fi
18970
20261
 
18971
20262
if test x$FILE_MAN_SUFFIX = x    ; then
18972
20263
    case $host_os in
18973
 
        linux*)         FILE_MAN_SUFFIX=5x ;;
18974
20264
        solaris*)       FILE_MAN_SUFFIX=4  ;;
18975
20265
        *)              FILE_MAN_SUFFIX=5  ;;
18976
20266
    esac
18977
20267
fi
18978
20268
if test x$FILE_MAN_DIR = x    ; then
18979
 
    case $host_os in
18980
 
        linux*) FILE_MAN_DIR='$(mandir)/man5' ;;
18981
 
        *)      FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;;
18982
 
    esac
 
20269
    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
18983
20270
fi
18984
20271
 
18985
 
# In Imake's linux.cf, the misc man suffix & dir was only changed for
18986
 
# LinuxDebian, not other Linuxes, so we leave it unchanged here
18987
20272
if test x$MISC_MAN_SUFFIX = x    ; then
18988
20273
    case $host_os in
18989
 
#       linux*)         MISC_MAN_SUFFIX=7x ;;
18990
20274
        solaris*)       MISC_MAN_SUFFIX=5  ;;
18991
20275
        *)              MISC_MAN_SUFFIX=7  ;;
18992
20276
    esac
18993
20277
fi
18994
20278
if test x$MISC_MAN_DIR = x    ; then
18995
 
    case $host_os in
18996
 
#       linux*) MISC_MAN_DIR='$(mandir)/man7' ;;
18997
 
        *)      MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;;
18998
 
    esac
 
20279
    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
18999
20280
fi
19000
20281
 
19001
 
# In Imake's linux.cf, the driver man suffix & dir was only changed for
19002
 
# LinuxDebian, not other Linuxes, so we leave it unchanged here
19003
20282
if test x$DRIVER_MAN_SUFFIX = x    ; then
19004
20283
    case $host_os in
19005
 
#       linux*)         DRIVER_MAN_SUFFIX=4x ;;
19006
20284
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
19007
20285
        *)              DRIVER_MAN_SUFFIX=4  ;;
19008
20286
    esac
19009
20287
fi
19010
20288
if test x$DRIVER_MAN_DIR = x    ; then
19011
 
    case $host_os in
19012
 
#       linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;;
19013
 
        *)      DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;;
19014
 
    esac
 
20289
    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
19015
20290
fi
19016
20291
 
19017
20292
if test x$ADMIN_MAN_SUFFIX = x    ; then
19040
20315
 
19041
20316
 
19042
20317
 
19043
 
# Check whether --with-release-version or --without-release-version was given.
 
20318
# Check whether --with-release-version was given.
19044
20319
if test "${with_release_version+set}" = set; then
19045
 
  withval="$with_release_version"
19046
 
  RELEASE_VERSION="$withval"
 
20320
  withval=$with_release_version; RELEASE_VERSION="$withval"
19047
20321
else
19048
20322
  RELEASE_VERSION=""
19049
 
fi;
 
20323
fi
 
20324
 
19050
20325
        if test "x$RELEASE_VERSION" != "x"; then
19051
20326
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
19052
20327
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
19054
20329
echo "$as_me: Building with package name set to $PACKAGE" >&6;}
19055
20330
        fi
19056
20331
 
19057
 
 
19058
 
                                        ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xscrnsaver.pc"
 
20332
cat >>confdefs.h <<_ACEOF
 
20333
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
 
20334
_ACEOF
 
20335
 
 
20336
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
 
20337
        if test "x$PVM" = "x"; then
 
20338
                PVM="0"
 
20339
        fi
 
20340
 
 
20341
cat >>confdefs.h <<_ACEOF
 
20342
#define PACKAGE_VERSION_MINOR $PVM
 
20343
_ACEOF
 
20344
 
 
20345
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
 
20346
        if test "x$PVP" = "x"; then
 
20347
                PVP="0"
 
20348
        fi
 
20349
 
 
20350
cat >>confdefs.h <<_ACEOF
 
20351
#define PACKAGE_VERSION_PATCHLEVEL $PVP
 
20352
_ACEOF
 
20353
 
 
20354
 
 
20355
 
 
20356
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xscrnsaver.pc"
 
20357
 
19059
20358
cat >confcache <<\_ACEOF
19060
20359
# This file is a shell script that caches the results of configure
19061
20360
# tests run on this system so they can be shared between configure
19074
20373
 
19075
20374
# The following way of writing the cache mishandles newlines in values,
19076
20375
# but we know of no workaround that is simple, portable, and efficient.
19077
 
# So, don't put newlines in cache variables' values.
 
20376
# So, we kill variables containing newlines.
19078
20377
# Ultrix sh set writes to stderr and can't be redirected directly,
19079
20378
# and sets the high bit in the cache file unless we assign to the vars.
19080
 
{
 
20379
(
 
20380
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
20381
    eval ac_val=\$$ac_var
 
20382
    case $ac_val in #(
 
20383
    *${as_nl}*)
 
20384
      case $ac_var in #(
 
20385
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 
20386
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
20387
      esac
 
20388
      case $ac_var in #(
 
20389
      _ | IFS | as_nl) ;; #(
 
20390
      *) $as_unset $ac_var ;;
 
20391
      esac ;;
 
20392
    esac
 
20393
  done
 
20394
 
19081
20395
  (set) 2>&1 |
19082
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
19083
 
    *ac_space=\ *)
 
20396
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
20397
    *${as_nl}ac_space=\ *)
19084
20398
      # `set' does not quote correctly, so add quotes (double-quote
19085
20399
      # substitution turns \\\\ into \\, and sed turns \\ into \).
19086
20400
      sed -n \
19087
20401
        "s/'/'\\\\''/g;
19088
20402
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19089
 
      ;;
 
20403
      ;; #(
19090
20404
    *)
19091
20405
      # `set' quotes correctly as required by POSIX, so do not add quotes.
19092
 
      sed -n \
19093
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
20406
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19094
20407
      ;;
19095
 
    esac;
19096
 
} |
 
20408
    esac |
 
20409
    sort
 
20410
) |
19097
20411
  sed '
 
20412
     /^ac_cv_env_/b end
19098
20413
     t clear
19099
 
     : clear
 
20414
     :clear
19100
20415
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19101
20416
     t end
19102
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19103
 
     : end' >>confcache
19104
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
19105
 
  if test -w $cache_file; then
19106
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
20417
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
20418
     :end' >>confcache
 
20419
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
20420
  if test -w "$cache_file"; then
 
20421
    test "x$cache_file" != "x/dev/null" &&
 
20422
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
20423
echo "$as_me: updating cache $cache_file" >&6;}
19107
20424
    cat confcache >$cache_file
19108
20425
  else
19109
 
    echo "not updating unwritable cache $cache_file"
 
20426
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
20427
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19110
20428
  fi
19111
20429
fi
19112
20430
rm -f confcache
19115
20433
# Let make expand exec_prefix.
19116
20434
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19117
20435
 
19118
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
19119
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19120
 
# trailing colons and then remove the whole line if VPATH becomes empty
19121
 
# (actually we leave an empty line to preserve line numbers).
19122
 
if test "x$srcdir" = x.; then
19123
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
19124
 
s/:*\$(srcdir):*/:/;
19125
 
s/:*\${srcdir}:*/:/;
19126
 
s/:*@srcdir@:*/:/;
19127
 
s/^\([^=]*=[     ]*\):*/\1/;
19128
 
s/:*$//;
19129
 
s/^[^=]*=[       ]*$//;
19130
 
}'
19131
 
fi
19132
 
 
19133
20436
DEFS=-DHAVE_CONFIG_H
19134
20437
 
19135
20438
ac_libobjs=
19136
20439
ac_ltlibobjs=
19137
20440
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19138
20441
  # 1. Remove the extension, and $U if already installed.
19139
 
  ac_i=`echo "$ac_i" |
19140
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19141
 
  # 2. Add them.
19142
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
19143
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
20442
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
20443
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
20444
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
20445
  #    will be set to the directory where LIBOBJS objects are built.
 
20446
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
20447
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
19144
20448
done
19145
20449
LIBOBJS=$ac_libobjs
19146
20450
 
19175
20479
Usually this means the macro was only invoked conditionally." >&2;}
19176
20480
   { (exit 1); exit 1; }; }
19177
20481
fi
 
20482
if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
 
20483
  { { echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
 
20484
Usually this means the macro was only invoked conditionally." >&5
 
20485
echo "$as_me: error: conditional \"LINT\" was never defined.
 
20486
Usually this means the macro was only invoked conditionally." >&2;}
 
20487
   { (exit 1); exit 1; }; }
 
20488
fi
 
20489
if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
 
20490
  { { echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
 
20491
Usually this means the macro was only invoked conditionally." >&5
 
20492
echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
 
20493
Usually this means the macro was only invoked conditionally." >&2;}
 
20494
   { (exit 1); exit 1; }; }
 
20495
fi
19178
20496
 
19179
20497
: ${CONFIG_STATUS=./config.status}
19180
20498
ac_clean_files_save=$ac_clean_files
19199
20517
## M4sh Initialization.  ##
19200
20518
## --------------------- ##
19201
20519
 
19202
 
# Be Bourne compatible
 
20520
# Be more Bourne compatible
 
20521
DUALCASE=1; export DUALCASE # for MKS sh
19203
20522
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19204
20523
  emulate sh
19205
20524
  NULLCMD=:
19206
20525
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19207
20526
  # is contrary to our usage.  Disable this feature.
19208
20527
  alias -g '${1+"$@"}'='"$@"'
19209
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
19210
 
  set -o posix
19211
 
fi
19212
 
DUALCASE=1; export DUALCASE # for MKS sh
 
20528
  setopt NO_GLOB_SUBST
 
20529
else
 
20530
  case `(set -o) 2>/dev/null` in
 
20531
  *posix*) set -o posix ;;
 
20532
esac
 
20533
 
 
20534
fi
 
20535
 
 
20536
 
 
20537
 
 
20538
 
 
20539
# PATH needs CR
 
20540
# Avoid depending upon Character Ranges.
 
20541
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
20542
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
20543
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
20544
as_cr_digits='0123456789'
 
20545
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
20546
 
 
20547
# The user is always right.
 
20548
if test "${PATH_SEPARATOR+set}" != set; then
 
20549
  echo "#! /bin/sh" >conf$$.sh
 
20550
  echo  "exit 0"   >>conf$$.sh
 
20551
  chmod +x conf$$.sh
 
20552
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 
20553
    PATH_SEPARATOR=';'
 
20554
  else
 
20555
    PATH_SEPARATOR=:
 
20556
  fi
 
20557
  rm -f conf$$.sh
 
20558
fi
19213
20559
 
19214
20560
# Support unset when possible.
19215
20561
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
19219
20565
fi
19220
20566
 
19221
20567
 
 
20568
# IFS
 
20569
# We need space, tab and new line, in precisely that order.  Quoting is
 
20570
# there to prevent editors from complaining about space-tab.
 
20571
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
20572
# splitting by setting IFS to empty value.)
 
20573
as_nl='
 
20574
'
 
20575
IFS=" ""        $as_nl"
 
20576
 
 
20577
# Find who we are.  Look in the path if we contain no directory separator.
 
20578
case $0 in
 
20579
  *[\\/]* ) as_myself=$0 ;;
 
20580
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20581
for as_dir in $PATH
 
20582
do
 
20583
  IFS=$as_save_IFS
 
20584
  test -z "$as_dir" && as_dir=.
 
20585
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
20586
done
 
20587
IFS=$as_save_IFS
 
20588
 
 
20589
     ;;
 
20590
esac
 
20591
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
20592
# in which case we are not to be found in the path.
 
20593
if test "x$as_myself" = x; then
 
20594
  as_myself=$0
 
20595
fi
 
20596
if test ! -f "$as_myself"; then
 
20597
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
20598
  { (exit 1); exit 1; }
 
20599
fi
 
20600
 
19222
20601
# Work around bugs in pre-3.0 UWIN ksh.
19223
 
$as_unset ENV MAIL MAILPATH
 
20602
for as_var in ENV MAIL MAILPATH
 
20603
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
20604
done
19224
20605
PS1='$ '
19225
20606
PS2='> '
19226
20607
PS4='+ '
19234
20615
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19235
20616
    eval $as_var=C; export $as_var
19236
20617
  else
19237
 
    $as_unset $as_var
 
20618
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
19238
20619
  fi
19239
20620
done
19240
20621
 
19241
20622
# Required to use basename.
19242
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
20623
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
20624
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19243
20625
  as_expr=expr
19244
20626
else
19245
20627
  as_expr=false
19246
20628
fi
19247
20629
 
19248
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
20630
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19249
20631
  as_basename=basename
19250
20632
else
19251
20633
  as_basename=false
19253
20635
 
19254
20636
 
19255
20637
# Name of the executable.
19256
 
as_me=`$as_basename "$0" ||
 
20638
as_me=`$as_basename -- "$0" ||
19257
20639
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19258
20640
         X"$0" : 'X\(//\)$' \| \
19259
 
         X"$0" : 'X\(/\)$' \| \
19260
 
         .     : '\(.\)' 2>/dev/null ||
 
20641
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19261
20642
echo X/"$0" |
19262
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19263
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
19264
 
          /^X\/\(\/\).*/{ s//\1/; q; }
19265
 
          s/.*/./; q'`
19266
 
 
19267
 
 
19268
 
# PATH needs CR, and LINENO needs CR and PATH.
19269
 
# Avoid depending upon Character Ranges.
19270
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19271
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19272
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19273
 
as_cr_digits='0123456789'
19274
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
19275
 
 
19276
 
# The user is always right.
19277
 
if test "${PATH_SEPARATOR+set}" != set; then
19278
 
  echo "#! /bin/sh" >conf$$.sh
19279
 
  echo  "exit 0"   >>conf$$.sh
19280
 
  chmod +x conf$$.sh
19281
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
19282
 
    PATH_SEPARATOR=';'
19283
 
  else
19284
 
    PATH_SEPARATOR=:
19285
 
  fi
19286
 
  rm -f conf$$.sh
19287
 
fi
19288
 
 
19289
 
 
19290
 
  as_lineno_1=$LINENO
19291
 
  as_lineno_2=$LINENO
19292
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19293
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19294
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
19295
 
  # Find who we are.  Look in the path if we contain no path at all
19296
 
  # relative or not.
19297
 
  case $0 in
19298
 
    *[\\/]* ) as_myself=$0 ;;
19299
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19300
 
for as_dir in $PATH
19301
 
do
19302
 
  IFS=$as_save_IFS
19303
 
  test -z "$as_dir" && as_dir=.
19304
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19305
 
done
19306
 
 
19307
 
       ;;
19308
 
  esac
19309
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
19310
 
  # in which case we are not to be found in the path.
19311
 
  if test "x$as_myself" = x; then
19312
 
    as_myself=$0
19313
 
  fi
19314
 
  if test ! -f "$as_myself"; then
19315
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19316
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19317
 
   { (exit 1); exit 1; }; }
19318
 
  fi
19319
 
  case $CONFIG_SHELL in
19320
 
  '')
19321
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19322
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
19323
 
do
19324
 
  IFS=$as_save_IFS
19325
 
  test -z "$as_dir" && as_dir=.
19326
 
  for as_base in sh bash ksh sh5; do
19327
 
         case $as_dir in
19328
 
         /*)
19329
 
           if ("$as_dir/$as_base" -c '
19330
 
  as_lineno_1=$LINENO
19331
 
  as_lineno_2=$LINENO
19332
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19333
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
19334
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
19335
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
19336
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
19337
 
             CONFIG_SHELL=$as_dir/$as_base
19338
 
             export CONFIG_SHELL
19339
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19340
 
           fi;;
19341
 
         esac
19342
 
       done
19343
 
done
19344
 
;;
19345
 
  esac
 
20643
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
20644
            s//\1/
 
20645
            q
 
20646
          }
 
20647
          /^X\/\(\/\/\)$/{
 
20648
            s//\1/
 
20649
            q
 
20650
          }
 
20651
          /^X\/\(\/\).*/{
 
20652
            s//\1/
 
20653
            q
 
20654
          }
 
20655
          s/.*/./; q'`
 
20656
 
 
20657
# CDPATH.
 
20658
$as_unset CDPATH
 
20659
 
 
20660
 
 
20661
 
 
20662
  as_lineno_1=$LINENO
 
20663
  as_lineno_2=$LINENO
 
20664
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
20665
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
19346
20666
 
19347
20667
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19348
20668
  # uniformly replaced by the line number.  The first 'sed' inserts a
19349
 
  # line-number line before each line; the second 'sed' does the real
19350
 
  # work.  The second script uses 'N' to pair each line-number line
19351
 
  # with the numbered line, and appends trailing '-' during
19352
 
  # substitution so that $LINENO is not a special case at line end.
 
20669
  # line-number line after each line using $LINENO; the second 'sed'
 
20670
  # does the real work.  The second script uses 'N' to pair each
 
20671
  # line-number line with the line containing $LINENO, and appends
 
20672
  # trailing '-' during substitution so that $LINENO is not a special
 
20673
  # case at line end.
19353
20674
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19354
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
19355
 
  sed '=' <$as_myself |
 
20675
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
20676
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
20677
  sed -n '
 
20678
    p
 
20679
    /[$]LINENO/=
 
20680
  ' <$as_myself |
19356
20681
    sed '
 
20682
      s/[$]LINENO.*/&-/
 
20683
      t lineno
 
20684
      b
 
20685
      :lineno
19357
20686
      N
19358
 
      s,$,-,
19359
 
      : loop
19360
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
20687
      :loop
 
20688
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19361
20689
      t loop
19362
 
      s,-$,,
19363
 
      s,^['$as_cr_digits']*\n,,
 
20690
      s/-\n.*//
19364
20691
    ' >$as_me.lineno &&
19365
 
  chmod +x $as_me.lineno ||
19366
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19367
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
20692
  chmod +x "$as_me.lineno" ||
 
20693
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19368
20694
   { (exit 1); exit 1; }; }
19369
20695
 
19370
20696
  # Don't try to exec as it changes $[0], causing all sort of problems
19371
20697
  # (the dirname of $[0] is not the place where we might find the
19372
 
  # original and so on.  Autoconf is especially sensible to this).
19373
 
  . ./$as_me.lineno
 
20698
  # original and so on.  Autoconf is especially sensitive to this).
 
20699
  . "./$as_me.lineno"
19374
20700
  # Exit status is that of the last command.
19375
20701
  exit
19376
20702
}
19377
20703
 
19378
20704
 
19379
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19380
 
  *c*,-n*) ECHO_N= ECHO_C='
19381
 
' ECHO_T='      ' ;;
19382
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
19383
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
20705
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
20706
  as_dirname=dirname
 
20707
else
 
20708
  as_dirname=false
 
20709
fi
 
20710
 
 
20711
ECHO_C= ECHO_N= ECHO_T=
 
20712
case `echo -n x` in
 
20713
-n*)
 
20714
  case `echo 'x\c'` in
 
20715
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
20716
  *)   ECHO_C='\c';;
 
20717
  esac;;
 
20718
*)
 
20719
  ECHO_N='-n';;
19384
20720
esac
19385
20721
 
19386
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
20722
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
20723
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19387
20724
  as_expr=expr
19388
20725
else
19389
20726
  as_expr=false
19390
20727
fi
19391
20728
 
19392
20729
rm -f conf$$ conf$$.exe conf$$.file
 
20730
if test -d conf$$.dir; then
 
20731
  rm -f conf$$.dir/conf$$.file
 
20732
else
 
20733
  rm -f conf$$.dir
 
20734
  mkdir conf$$.dir
 
20735
fi
19393
20736
echo >conf$$.file
19394
20737
if ln -s conf$$.file conf$$ 2>/dev/null; then
19395
 
  # We could just check for DJGPP; but this test a) works b) is more generic
19396
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19397
 
  if test -f conf$$.exe; then
19398
 
    # Don't use ln at all; we don't have any links
 
20738
  as_ln_s='ln -s'
 
20739
  # ... but there are two gotchas:
 
20740
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
20741
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
20742
  # In both cases, we have to default to `cp -p'.
 
20743
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19399
20744
    as_ln_s='cp -p'
19400
 
  else
19401
 
    as_ln_s='ln -s'
19402
 
  fi
19403
20745
elif ln conf$$.file conf$$ 2>/dev/null; then
19404
20746
  as_ln_s=ln
19405
20747
else
19406
20748
  as_ln_s='cp -p'
19407
20749
fi
19408
 
rm -f conf$$ conf$$.exe conf$$.file
 
20750
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
20751
rmdir conf$$.dir 2>/dev/null
19409
20752
 
19410
20753
if mkdir -p . 2>/dev/null; then
19411
20754
  as_mkdir_p=:
19414
20757
  as_mkdir_p=false
19415
20758
fi
19416
20759
 
19417
 
as_executable_p="test -f"
 
20760
if test -x / >/dev/null 2>&1; then
 
20761
  as_test_x='test -x'
 
20762
else
 
20763
  if ls -dL / >/dev/null 2>&1; then
 
20764
    as_ls_L_option=L
 
20765
  else
 
20766
    as_ls_L_option=
 
20767
  fi
 
20768
  as_test_x='
 
20769
    eval sh -c '\''
 
20770
      if test -d "$1"; then
 
20771
        test -d "$1/.";
 
20772
      else
 
20773
        case $1 in
 
20774
        -*)set "./$1";;
 
20775
        esac;
 
20776
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
20777
        ???[sx]*):;;*)false;;esac;fi
 
20778
    '\'' sh
 
20779
  '
 
20780
fi
 
20781
as_executable_p=$as_test_x
19418
20782
 
19419
20783
# Sed expression to map a string onto a valid CPP name.
19420
20784
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19423
20787
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19424
20788
 
19425
20789
 
19426
 
# IFS
19427
 
# We need space, tab and new line, in precisely that order.
19428
 
as_nl='
19429
 
'
19430
 
IFS="   $as_nl"
19431
 
 
19432
 
# CDPATH.
19433
 
$as_unset CDPATH
19434
 
 
19435
20790
exec 6>&1
19436
20791
 
19437
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
20792
# Save the log message, to keep $[0] and so on meaningful, and to
19438
20793
# report actual input values of CONFIG_FILES etc. instead of their
19439
 
# values after options handling.  Logging --version etc. is OK.
19440
 
exec 5>>config.log
19441
 
{
19442
 
  echo
19443
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19444
 
## Running $as_me. ##
19445
 
_ASBOX
19446
 
} >&5
19447
 
cat >&5 <<_CSEOF
19448
 
 
19449
 
This file was extended by libXScrnSaver $as_me 1.1.0, which was
19450
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
20794
# values after options handling.
 
20795
ac_log="
 
20796
This file was extended by libXScrnSaver $as_me 1.1.3, which was
 
20797
generated by GNU Autoconf 2.61.  Invocation command line was
19451
20798
 
19452
20799
  CONFIG_FILES    = $CONFIG_FILES
19453
20800
  CONFIG_HEADERS  = $CONFIG_HEADERS
19455
20802
  CONFIG_COMMANDS = $CONFIG_COMMANDS
19456
20803
  $ $0 $@
19457
20804
 
19458
 
_CSEOF
19459
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19460
 
echo >&5
 
20805
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
20806
"
 
20807
 
19461
20808
_ACEOF
19462
20809
 
 
20810
cat >>$CONFIG_STATUS <<_ACEOF
19463
20811
# Files that config.status was made for.
19464
 
if test -n "$ac_config_files"; then
19465
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19466
 
fi
19467
 
 
19468
 
if test -n "$ac_config_headers"; then
19469
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19470
 
fi
19471
 
 
19472
 
if test -n "$ac_config_links"; then
19473
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19474
 
fi
19475
 
 
19476
 
if test -n "$ac_config_commands"; then
19477
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19478
 
fi
 
20812
config_files="$ac_config_files"
 
20813
config_headers="$ac_config_headers"
 
20814
config_commands="$ac_config_commands"
 
20815
 
 
20816
_ACEOF
19479
20817
 
19480
20818
cat >>$CONFIG_STATUS <<\_ACEOF
19481
 
 
19482
20819
ac_cs_usage="\
19483
20820
\`$as_me' instantiates files from templates according to the
19484
20821
current configuration.
19486
20823
Usage: $0 [OPTIONS] [FILE]...
19487
20824
 
19488
20825
  -h, --help       print this help, then exit
19489
 
  -V, --version    print version number, then exit
 
20826
  -V, --version    print version number and configuration settings, then exit
19490
20827
  -q, --quiet      do not print progress messages
19491
20828
  -d, --debug      don't remove temporary files
19492
20829
      --recheck    update $as_me by reconfiguring in the same conditions
19505
20842
$config_commands
19506
20843
 
19507
20844
Report bugs to <bug-autoconf@gnu.org>."
 
20845
 
19508
20846
_ACEOF
19509
 
 
19510
20847
cat >>$CONFIG_STATUS <<_ACEOF
19511
20848
ac_cs_version="\\
19512
 
libXScrnSaver config.status 1.1.0
19513
 
configured by $0, generated by GNU Autoconf 2.59,
19514
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
20849
libXScrnSaver config.status 1.1.3
 
20850
configured by $0, generated by GNU Autoconf 2.61,
 
20851
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
19515
20852
 
19516
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
20853
Copyright (C) 2006 Free Software Foundation, Inc.
19517
20854
This config.status script is free software; the Free Software Foundation
19518
20855
gives unlimited permission to copy, distribute and modify it."
19519
 
srcdir=$srcdir
19520
 
INSTALL="$INSTALL"
 
20856
 
 
20857
ac_pwd='$ac_pwd'
 
20858
srcdir='$srcdir'
 
20859
INSTALL='$INSTALL'
 
20860
MKDIR_P='$MKDIR_P'
19521
20861
_ACEOF
19522
20862
 
19523
20863
cat >>$CONFIG_STATUS <<\_ACEOF
19528
20868
do
19529
20869
  case $1 in
19530
20870
  --*=*)
19531
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
19532
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
20871
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
20872
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19533
20873
    ac_shift=:
19534
20874
    ;;
19535
 
  -*)
 
20875
  *)
19536
20876
    ac_option=$1
19537
20877
    ac_optarg=$2
19538
20878
    ac_shift=shift
19539
20879
    ;;
19540
 
  *) # This is not an option, so the user has probably given explicit
19541
 
     # arguments.
19542
 
     ac_option=$1
19543
 
     ac_need_defaults=false;;
19544
20880
  esac
19545
20881
 
19546
20882
  case $ac_option in
19547
20883
  # Handling of the options.
19548
 
_ACEOF
19549
 
cat >>$CONFIG_STATUS <<\_ACEOF
19550
20884
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19551
20885
    ac_cs_recheck=: ;;
19552
 
  --version | --vers* | -V )
19553
 
    echo "$ac_cs_version"; exit 0 ;;
19554
 
  --he | --h)
19555
 
    # Conflict between --help and --header
19556
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
19557
 
Try \`$0 --help' for more information." >&5
19558
 
echo "$as_me: error: ambiguous option: $1
19559
 
Try \`$0 --help' for more information." >&2;}
19560
 
   { (exit 1); exit 1; }; };;
19561
 
  --help | --hel | -h )
19562
 
    echo "$ac_cs_usage"; exit 0 ;;
19563
 
  --debug | --d* | -d )
 
20886
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
20887
    echo "$ac_cs_version"; exit ;;
 
20888
  --debug | --debu | --deb | --de | --d | -d )
19564
20889
    debug=: ;;
19565
20890
  --file | --fil | --fi | --f )
19566
20891
    $ac_shift
19570
20895
    $ac_shift
19571
20896
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
19572
20897
    ac_need_defaults=false;;
 
20898
  --he | --h)
 
20899
    # Conflict between --help and --header
 
20900
    { echo "$as_me: error: ambiguous option: $1
 
20901
Try \`$0 --help' for more information." >&2
 
20902
   { (exit 1); exit 1; }; };;
 
20903
  --help | --hel | -h )
 
20904
    echo "$ac_cs_usage"; exit ;;
19573
20905
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19574
20906
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19575
20907
    ac_cs_silent=: ;;
19576
20908
 
19577
20909
  # This is an error.
19578
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19579
 
Try \`$0 --help' for more information." >&5
19580
 
echo "$as_me: error: unrecognized option: $1
19581
 
Try \`$0 --help' for more information." >&2;}
 
20910
  -*) { echo "$as_me: error: unrecognized option: $1
 
20911
Try \`$0 --help' for more information." >&2
19582
20912
   { (exit 1); exit 1; }; } ;;
19583
20913
 
19584
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
20914
  *) ac_config_targets="$ac_config_targets $1"
 
20915
     ac_need_defaults=false ;;
19585
20916
 
19586
20917
  esac
19587
20918
  shift
19597
20928
_ACEOF
19598
20929
cat >>$CONFIG_STATUS <<_ACEOF
19599
20930
if \$ac_cs_recheck; then
19600
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19601
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
20931
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 
20932
  CONFIG_SHELL=$SHELL
 
20933
  export CONFIG_SHELL
 
20934
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19602
20935
fi
19603
20936
 
19604
20937
_ACEOF
 
20938
cat >>$CONFIG_STATUS <<\_ACEOF
 
20939
exec 5>>config.log
 
20940
{
 
20941
  echo
 
20942
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
20943
## Running $as_me. ##
 
20944
_ASBOX
 
20945
  echo "$ac_log"
 
20946
} >&5
19605
20947
 
 
20948
_ACEOF
19606
20949
cat >>$CONFIG_STATUS <<_ACEOF
19607
20950
#
19608
 
# INIT-COMMANDS section.
 
20951
# INIT-COMMANDS
19609
20952
#
19610
 
 
19611
20953
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19612
20954
 
19613
20955
_ACEOF
19614
20956
 
19615
 
 
19616
 
 
19617
20957
cat >>$CONFIG_STATUS <<\_ACEOF
 
20958
 
 
20959
# Handling of arguments.
19618
20960
for ac_config_target in $ac_config_targets
19619
20961
do
19620
 
  case "$ac_config_target" in
19621
 
  # Handling of arguments.
19622
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19623
 
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19624
 
  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
19625
 
  "xscrnsaver.pc" ) CONFIG_FILES="$CONFIG_FILES xscrnsaver.pc" ;;
19626
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19627
 
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
20962
  case $ac_config_target in
 
20963
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
20964
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
20965
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
20966
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
20967
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
 
20968
    "xscrnsaver.pc") CONFIG_FILES="$CONFIG_FILES xscrnsaver.pc" ;;
 
20969
 
19628
20970
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19629
20971
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19630
20972
   { (exit 1); exit 1; }; };;
19631
20973
  esac
19632
20974
done
19633
20975
 
 
20976
 
19634
20977
# If the user did not use the arguments to specify the items to instantiate,
19635
20978
# then the envvar interface is used.  Set only those that are not.
19636
20979
# We use the long form for the default assignment because of an extremely
19642
20985
fi
19643
20986
 
19644
20987
# Have a temporary directory for convenience.  Make it in the build tree
19645
 
# simply because there is no reason to put it here, and in addition,
 
20988
# simply because there is no reason against having it here, and in addition,
19646
20989
# creating and moving files from /tmp can sometimes cause problems.
19647
 
# Create a temporary directory, and hook for its removal unless debugging.
 
20990
# Hook for its removal unless debugging.
 
20991
# Note that there is a small window in which the directory will not be cleaned:
 
20992
# after its creation but before its name has been assigned to `$tmp'.
19648
20993
$debug ||
19649
20994
{
19650
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
20995
  tmp=
 
20996
  trap 'exit_status=$?
 
20997
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
20998
' 0
19651
20999
  trap '{ (exit 1); exit 1; }' 1 2 13 15
19652
21000
}
19653
 
 
19654
21001
# Create a (secure) tmp directory for tmp files.
19655
21002
 
19656
21003
{
19657
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
21004
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19658
21005
  test -n "$tmp" && test -d "$tmp"
19659
21006
}  ||
19660
21007
{
19661
 
  tmp=./confstat$$-$RANDOM
19662
 
  (umask 077 && mkdir $tmp)
 
21008
  tmp=./conf$$-$RANDOM
 
21009
  (umask 077 && mkdir "$tmp")
19663
21010
} ||
19664
21011
{
19665
21012
   echo "$me: cannot create a temporary directory in ." >&2
19666
21013
   { (exit 1); exit 1; }
19667
21014
}
19668
21015
 
19669
 
_ACEOF
19670
 
 
19671
 
cat >>$CONFIG_STATUS <<_ACEOF
19672
 
 
19673
21016
#
19674
 
# CONFIG_FILES section.
 
21017
# Set up the sed scripts for CONFIG_FILES section.
19675
21018
#
19676
21019
 
19677
21020
# No need to generate the scripts if there are no CONFIG_FILES.
19678
21021
# This happens for instance when ./config.status config.h
19679
 
if test -n "\$CONFIG_FILES"; then
19680
 
  # Protect against being on the right side of a sed subst in config.status.
19681
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19682
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19683
 
s,@SHELL@,$SHELL,;t t
19684
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19685
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19686
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19687
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19688
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19689
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19690
 
s,@exec_prefix@,$exec_prefix,;t t
19691
 
s,@prefix@,$prefix,;t t
19692
 
s,@program_transform_name@,$program_transform_name,;t t
19693
 
s,@bindir@,$bindir,;t t
19694
 
s,@sbindir@,$sbindir,;t t
19695
 
s,@libexecdir@,$libexecdir,;t t
19696
 
s,@datadir@,$datadir,;t t
19697
 
s,@sysconfdir@,$sysconfdir,;t t
19698
 
s,@sharedstatedir@,$sharedstatedir,;t t
19699
 
s,@localstatedir@,$localstatedir,;t t
19700
 
s,@libdir@,$libdir,;t t
19701
 
s,@includedir@,$includedir,;t t
19702
 
s,@oldincludedir@,$oldincludedir,;t t
19703
 
s,@infodir@,$infodir,;t t
19704
 
s,@mandir@,$mandir,;t t
19705
 
s,@build_alias@,$build_alias,;t t
19706
 
s,@host_alias@,$host_alias,;t t
19707
 
s,@target_alias@,$target_alias,;t t
19708
 
s,@DEFS@,$DEFS,;t t
19709
 
s,@ECHO_C@,$ECHO_C,;t t
19710
 
s,@ECHO_N@,$ECHO_N,;t t
19711
 
s,@ECHO_T@,$ECHO_T,;t t
19712
 
s,@LIBS@,$LIBS,;t t
19713
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19714
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19715
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19716
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
19717
 
s,@PACKAGE@,$PACKAGE,;t t
19718
 
s,@VERSION@,$VERSION,;t t
19719
 
s,@ACLOCAL@,$ACLOCAL,;t t
19720
 
s,@AUTOCONF@,$AUTOCONF,;t t
19721
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
19722
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
19723
 
s,@MAKEINFO@,$MAKEINFO,;t t
19724
 
s,@install_sh@,$install_sh,;t t
19725
 
s,@STRIP@,$STRIP,;t t
19726
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19727
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
19728
 
s,@mkdir_p@,$mkdir_p,;t t
19729
 
s,@AWK@,$AWK,;t t
19730
 
s,@SET_MAKE@,$SET_MAKE,;t t
19731
 
s,@am__leading_dot@,$am__leading_dot,;t t
19732
 
s,@AMTAR@,$AMTAR,;t t
19733
 
s,@am__tar@,$am__tar,;t t
19734
 
s,@am__untar@,$am__untar,;t t
19735
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
19736
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
19737
 
s,@MAINT@,$MAINT,;t t
19738
 
s,@CC@,$CC,;t t
19739
 
s,@CFLAGS@,$CFLAGS,;t t
19740
 
s,@LDFLAGS@,$LDFLAGS,;t t
19741
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
19742
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
19743
 
s,@EXEEXT@,$EXEEXT,;t t
19744
 
s,@OBJEXT@,$OBJEXT,;t t
19745
 
s,@DEPDIR@,$DEPDIR,;t t
19746
 
s,@am__include@,$am__include,;t t
19747
 
s,@am__quote@,$am__quote,;t t
19748
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
19749
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
19750
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
19751
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
19752
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
19753
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19754
 
s,@build@,$build,;t t
19755
 
s,@build_cpu@,$build_cpu,;t t
19756
 
s,@build_vendor@,$build_vendor,;t t
19757
 
s,@build_os@,$build_os,;t t
19758
 
s,@host@,$host,;t t
19759
 
s,@host_cpu@,$host_cpu,;t t
19760
 
s,@host_vendor@,$host_vendor,;t t
19761
 
s,@host_os@,$host_os,;t t
19762
 
s,@EGREP@,$EGREP,;t t
19763
 
s,@LN_S@,$LN_S,;t t
19764
 
s,@ECHO@,$ECHO,;t t
19765
 
s,@AR@,$AR,;t t
19766
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
19767
 
s,@RANLIB@,$RANLIB,;t t
19768
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19769
 
s,@CPP@,$CPP,;t t
19770
 
s,@CXX@,$CXX,;t t
19771
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
19772
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19773
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
19774
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
19775
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
19776
 
s,@CXXCPP@,$CXXCPP,;t t
19777
 
s,@F77@,$F77,;t t
19778
 
s,@FFLAGS@,$FFLAGS,;t t
19779
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
19780
 
s,@LIBTOOL@,$LIBTOOL,;t t
19781
 
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
19782
 
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
19783
 
s,@XSCRNSAVER_CFLAGS@,$XSCRNSAVER_CFLAGS,;t t
19784
 
s,@XSCRNSAVER_LIBS@,$XSCRNSAVER_LIBS,;t t
19785
 
s,@MALLOC_ZERO_CFLAGS@,$MALLOC_ZERO_CFLAGS,;t t
19786
 
s,@XMALLOC_ZERO_CFLAGS@,$XMALLOC_ZERO_CFLAGS,;t t
19787
 
s,@XTMALLOC_ZERO_CFLAGS@,$XTMALLOC_ZERO_CFLAGS,;t t
19788
 
s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t
19789
 
s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t
19790
 
s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t
19791
 
s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t
19792
 
s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t
19793
 
s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t
19794
 
s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t
19795
 
s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t
19796
 
s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t
19797
 
s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t
19798
 
s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t
19799
 
s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t
19800
 
s,@LIBOBJS@,$LIBOBJS,;t t
19801
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19802
 
CEOF
19803
 
 
19804
 
_ACEOF
19805
 
 
19806
 
  cat >>$CONFIG_STATUS <<\_ACEOF
19807
 
  # Split the substitutions into bite-sized pieces for seds with
19808
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
19809
 
  ac_max_sed_lines=48
19810
 
  ac_sed_frag=1 # Number of current file.
19811
 
  ac_beg=1 # First line for current file.
19812
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
19813
 
  ac_more_lines=:
19814
 
  ac_sed_cmds=
19815
 
  while $ac_more_lines; do
19816
 
    if test $ac_beg -gt 1; then
19817
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
19818
 
    else
19819
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
19820
 
    fi
19821
 
    if test ! -s $tmp/subs.frag; then
19822
 
      ac_more_lines=false
19823
 
    else
19824
 
      # The purpose of the label and of the branching condition is to
19825
 
      # speed up the sed processing (if there are no `@' at all, there
19826
 
      # is no need to browse any of the substitutions).
19827
 
      # These are the two extra sed commands mentioned above.
19828
 
      (echo ':t
19829
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
19830
 
      if test -z "$ac_sed_cmds"; then
19831
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
19832
 
      else
19833
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19834
 
      fi
19835
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
19836
 
      ac_beg=$ac_end
19837
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
19838
 
    fi
19839
 
  done
19840
 
  if test -z "$ac_sed_cmds"; then
19841
 
    ac_sed_cmds=cat
19842
 
  fi
 
21022
if test -n "$CONFIG_FILES"; then
 
21023
 
 
21024
_ACEOF
 
21025
 
 
21026
 
 
21027
 
 
21028
ac_delim='%!_!# '
 
21029
for ac_last_try in false false false false false :; do
 
21030
  cat >conf$$subs.sed <<_ACEOF
 
21031
SHELL!$SHELL$ac_delim
 
21032
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 
21033
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 
21034
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 
21035
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 
21036
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 
21037
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 
21038
exec_prefix!$exec_prefix$ac_delim
 
21039
prefix!$prefix$ac_delim
 
21040
program_transform_name!$program_transform_name$ac_delim
 
21041
bindir!$bindir$ac_delim
 
21042
sbindir!$sbindir$ac_delim
 
21043
libexecdir!$libexecdir$ac_delim
 
21044
datarootdir!$datarootdir$ac_delim
 
21045
datadir!$datadir$ac_delim
 
21046
sysconfdir!$sysconfdir$ac_delim
 
21047
sharedstatedir!$sharedstatedir$ac_delim
 
21048
localstatedir!$localstatedir$ac_delim
 
21049
includedir!$includedir$ac_delim
 
21050
oldincludedir!$oldincludedir$ac_delim
 
21051
docdir!$docdir$ac_delim
 
21052
infodir!$infodir$ac_delim
 
21053
htmldir!$htmldir$ac_delim
 
21054
dvidir!$dvidir$ac_delim
 
21055
pdfdir!$pdfdir$ac_delim
 
21056
psdir!$psdir$ac_delim
 
21057
libdir!$libdir$ac_delim
 
21058
localedir!$localedir$ac_delim
 
21059
mandir!$mandir$ac_delim
 
21060
DEFS!$DEFS$ac_delim
 
21061
ECHO_C!$ECHO_C$ac_delim
 
21062
ECHO_N!$ECHO_N$ac_delim
 
21063
ECHO_T!$ECHO_T$ac_delim
 
21064
LIBS!$LIBS$ac_delim
 
21065
build_alias!$build_alias$ac_delim
 
21066
host_alias!$host_alias$ac_delim
 
21067
target_alias!$target_alias$ac_delim
 
21068
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 
21069
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 
21070
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
21071
am__isrc!$am__isrc$ac_delim
 
21072
CYGPATH_W!$CYGPATH_W$ac_delim
 
21073
PACKAGE!$PACKAGE$ac_delim
 
21074
VERSION!$VERSION$ac_delim
 
21075
ACLOCAL!$ACLOCAL$ac_delim
 
21076
AUTOCONF!$AUTOCONF$ac_delim
 
21077
AUTOMAKE!$AUTOMAKE$ac_delim
 
21078
AUTOHEADER!$AUTOHEADER$ac_delim
 
21079
MAKEINFO!$MAKEINFO$ac_delim
 
21080
install_sh!$install_sh$ac_delim
 
21081
STRIP!$STRIP$ac_delim
 
21082
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 
21083
mkdir_p!$mkdir_p$ac_delim
 
21084
AWK!$AWK$ac_delim
 
21085
SET_MAKE!$SET_MAKE$ac_delim
 
21086
am__leading_dot!$am__leading_dot$ac_delim
 
21087
AMTAR!$AMTAR$ac_delim
 
21088
am__tar!$am__tar$ac_delim
 
21089
am__untar!$am__untar$ac_delim
 
21090
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 
21091
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 
21092
MAINT!$MAINT$ac_delim
 
21093
CC!$CC$ac_delim
 
21094
CFLAGS!$CFLAGS$ac_delim
 
21095
LDFLAGS!$LDFLAGS$ac_delim
 
21096
CPPFLAGS!$CPPFLAGS$ac_delim
 
21097
ac_ct_CC!$ac_ct_CC$ac_delim
 
21098
EXEEXT!$EXEEXT$ac_delim
 
21099
OBJEXT!$OBJEXT$ac_delim
 
21100
DEPDIR!$DEPDIR$ac_delim
 
21101
am__include!$am__include$ac_delim
 
21102
am__quote!$am__quote$ac_delim
 
21103
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 
21104
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 
21105
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 
21106
CCDEPMODE!$CCDEPMODE$ac_delim
 
21107
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 
21108
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
21109
build!$build$ac_delim
 
21110
build_cpu!$build_cpu$ac_delim
 
21111
build_vendor!$build_vendor$ac_delim
 
21112
build_os!$build_os$ac_delim
 
21113
host!$host$ac_delim
 
21114
host_cpu!$host_cpu$ac_delim
 
21115
host_vendor!$host_vendor$ac_delim
 
21116
host_os!$host_os$ac_delim
 
21117
SED!$SED$ac_delim
 
21118
GREP!$GREP$ac_delim
 
21119
EGREP!$EGREP$ac_delim
 
21120
LN_S!$LN_S$ac_delim
 
21121
ECHO!$ECHO$ac_delim
 
21122
AR!$AR$ac_delim
 
21123
RANLIB!$RANLIB$ac_delim
 
21124
DSYMUTIL!$DSYMUTIL$ac_delim
 
21125
NMEDIT!$NMEDIT$ac_delim
 
21126
CPP!$CPP$ac_delim
 
21127
CXX!$CXX$ac_delim
 
21128
_ACEOF
 
21129
 
 
21130
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
21131
    break
 
21132
  elif $ac_last_try; then
 
21133
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
21134
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
21135
   { (exit 1); exit 1; }; }
 
21136
  else
 
21137
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
21138
  fi
 
21139
done
 
21140
 
 
21141
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
21142
if test -n "$ac_eof"; then
 
21143
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
21144
  ac_eof=`expr $ac_eof + 1`
 
21145
fi
 
21146
 
 
21147
cat >>$CONFIG_STATUS <<_ACEOF
 
21148
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
21149
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
21150
_ACEOF
 
21151
sed '
 
21152
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
21153
s/^/s,@/; s/!/@,|#_!!_#|/
 
21154
:n
 
21155
t n
 
21156
s/'"$ac_delim"'$/,g/; t
 
21157
s/$/\\/; p
 
21158
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
21159
' >>$CONFIG_STATUS <conf$$subs.sed
 
21160
rm -f conf$$subs.sed
 
21161
cat >>$CONFIG_STATUS <<_ACEOF
 
21162
CEOF$ac_eof
 
21163
_ACEOF
 
21164
 
 
21165
 
 
21166
ac_delim='%!_!# '
 
21167
for ac_last_try in false false false false false :; do
 
21168
  cat >conf$$subs.sed <<_ACEOF
 
21169
CXXFLAGS!$CXXFLAGS$ac_delim
 
21170
ac_ct_CXX!$ac_ct_CXX$ac_delim
 
21171
CXXDEPMODE!$CXXDEPMODE$ac_delim
 
21172
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
 
21173
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
 
21174
CXXCPP!$CXXCPP$ac_delim
 
21175
F77!$F77$ac_delim
 
21176
FFLAGS!$FFLAGS$ac_delim
 
21177
ac_ct_F77!$ac_ct_F77$ac_delim
 
21178
LIBTOOL!$LIBTOOL$ac_delim
 
21179
PKG_CONFIG!$PKG_CONFIG$ac_delim
 
21180
XSCRNSAVER_CFLAGS!$XSCRNSAVER_CFLAGS$ac_delim
 
21181
XSCRNSAVER_LIBS!$XSCRNSAVER_LIBS$ac_delim
 
21182
LINT!$LINT$ac_delim
 
21183
LINT_FLAGS!$LINT_FLAGS$ac_delim
 
21184
LINT_TRUE!$LINT_TRUE$ac_delim
 
21185
LINT_FALSE!$LINT_FALSE$ac_delim
 
21186
LINTLIB!$LINTLIB$ac_delim
 
21187
MAKE_LINT_LIB_TRUE!$MAKE_LINT_LIB_TRUE$ac_delim
 
21188
MAKE_LINT_LIB_FALSE!$MAKE_LINT_LIB_FALSE$ac_delim
 
21189
MALLOC_ZERO_CFLAGS!$MALLOC_ZERO_CFLAGS$ac_delim
 
21190
XMALLOC_ZERO_CFLAGS!$XMALLOC_ZERO_CFLAGS$ac_delim
 
21191
XTMALLOC_ZERO_CFLAGS!$XTMALLOC_ZERO_CFLAGS$ac_delim
 
21192
APP_MAN_SUFFIX!$APP_MAN_SUFFIX$ac_delim
 
21193
LIB_MAN_SUFFIX!$LIB_MAN_SUFFIX$ac_delim
 
21194
FILE_MAN_SUFFIX!$FILE_MAN_SUFFIX$ac_delim
 
21195
MISC_MAN_SUFFIX!$MISC_MAN_SUFFIX$ac_delim
 
21196
DRIVER_MAN_SUFFIX!$DRIVER_MAN_SUFFIX$ac_delim
 
21197
ADMIN_MAN_SUFFIX!$ADMIN_MAN_SUFFIX$ac_delim
 
21198
APP_MAN_DIR!$APP_MAN_DIR$ac_delim
 
21199
LIB_MAN_DIR!$LIB_MAN_DIR$ac_delim
 
21200
FILE_MAN_DIR!$FILE_MAN_DIR$ac_delim
 
21201
MISC_MAN_DIR!$MISC_MAN_DIR$ac_delim
 
21202
DRIVER_MAN_DIR!$DRIVER_MAN_DIR$ac_delim
 
21203
ADMIN_MAN_DIR!$ADMIN_MAN_DIR$ac_delim
 
21204
LIBOBJS!$LIBOBJS$ac_delim
 
21205
LTLIBOBJS!$LTLIBOBJS$ac_delim
 
21206
_ACEOF
 
21207
 
 
21208
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
 
21209
    break
 
21210
  elif $ac_last_try; then
 
21211
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
21212
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
21213
   { (exit 1); exit 1; }; }
 
21214
  else
 
21215
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
21216
  fi
 
21217
done
 
21218
 
 
21219
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
21220
if test -n "$ac_eof"; then
 
21221
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
21222
  ac_eof=`expr $ac_eof + 1`
 
21223
fi
 
21224
 
 
21225
cat >>$CONFIG_STATUS <<_ACEOF
 
21226
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
21227
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 
21228
_ACEOF
 
21229
sed '
 
21230
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
21231
s/^/s,@/; s/!/@,|#_!!_#|/
 
21232
:n
 
21233
t n
 
21234
s/'"$ac_delim"'$/,g/; t
 
21235
s/$/\\/; p
 
21236
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
21237
' >>$CONFIG_STATUS <conf$$subs.sed
 
21238
rm -f conf$$subs.sed
 
21239
cat >>$CONFIG_STATUS <<_ACEOF
 
21240
:end
 
21241
s/|#_!!_#|//g
 
21242
CEOF$ac_eof
 
21243
_ACEOF
 
21244
 
 
21245
 
 
21246
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
21247
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
21248
# trailing colons and then remove the whole line if VPATH becomes empty
 
21249
# (actually we leave an empty line to preserve line numbers).
 
21250
if test "x$srcdir" = x.; then
 
21251
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
21252
s/:*\$(srcdir):*/:/
 
21253
s/:*\${srcdir}:*/:/
 
21254
s/:*@srcdir@:*/:/
 
21255
s/^\([^=]*=[     ]*\):*/\1/
 
21256
s/:*$//
 
21257
s/^[^=]*=[       ]*$//
 
21258
}'
 
21259
fi
 
21260
 
 
21261
cat >>$CONFIG_STATUS <<\_ACEOF
19843
21262
fi # test -n "$CONFIG_FILES"
19844
21263
 
19845
 
_ACEOF
19846
 
cat >>$CONFIG_STATUS <<\_ACEOF
19847
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
19848
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19849
 
  case $ac_file in
19850
 
  - | *:- | *:-:* ) # input from stdin
19851
 
        cat >$tmp/stdin
19852
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19853
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19854
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19855
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19856
 
  * )   ac_file_in=$ac_file.in ;;
19857
 
  esac
19858
 
 
19859
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19860
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
21264
 
 
21265
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
21266
do
 
21267
  case $ac_tag in
 
21268
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
21269
  esac
 
21270
  case $ac_mode$ac_tag in
 
21271
  :[FHL]*:*);;
 
21272
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 
21273
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
21274
   { (exit 1); exit 1; }; };;
 
21275
  :[FH]-) ac_tag=-:-;;
 
21276
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
21277
  esac
 
21278
  ac_save_IFS=$IFS
 
21279
  IFS=:
 
21280
  set x $ac_tag
 
21281
  IFS=$ac_save_IFS
 
21282
  shift
 
21283
  ac_file=$1
 
21284
  shift
 
21285
 
 
21286
  case $ac_mode in
 
21287
  :L) ac_source=$1;;
 
21288
  :[FH])
 
21289
    ac_file_inputs=
 
21290
    for ac_f
 
21291
    do
 
21292
      case $ac_f in
 
21293
      -) ac_f="$tmp/stdin";;
 
21294
      *) # Look for the file first in the build tree, then in the source tree
 
21295
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
21296
         # because $ac_f cannot contain `:'.
 
21297
         test -f "$ac_f" ||
 
21298
           case $ac_f in
 
21299
           [\\/$]*) false;;
 
21300
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
21301
           esac ||
 
21302
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
21303
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
21304
   { (exit 1); exit 1; }; };;
 
21305
      esac
 
21306
      ac_file_inputs="$ac_file_inputs $ac_f"
 
21307
    done
 
21308
 
 
21309
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
21310
    # use $as_me), people would be surprised to read:
 
21311
    #    /* config.h.  Generated by config.status.  */
 
21312
    configure_input="Generated from "`IFS=:
 
21313
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
21314
    if test x"$ac_file" != x-; then
 
21315
      configure_input="$ac_file.  $configure_input"
 
21316
      { echo "$as_me:$LINENO: creating $ac_file" >&5
 
21317
echo "$as_me: creating $ac_file" >&6;}
 
21318
    fi
 
21319
 
 
21320
    case $ac_tag in
 
21321
    *:-:* | *:-) cat >"$tmp/stdin";;
 
21322
    esac
 
21323
    ;;
 
21324
  esac
 
21325
 
 
21326
  ac_dir=`$as_dirname -- "$ac_file" ||
19861
21327
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19862
21328
         X"$ac_file" : 'X\(//\)[^/]' \| \
19863
21329
         X"$ac_file" : 'X\(//\)$' \| \
19864
 
         X"$ac_file" : 'X\(/\)' \| \
19865
 
         .     : '\(.\)' 2>/dev/null ||
 
21330
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19866
21331
echo X"$ac_file" |
19867
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19868
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19869
 
          /^X\(\/\/\)$/{ s//\1/; q; }
19870
 
          /^X\(\/\).*/{ s//\1/; q; }
19871
 
          s/.*/./; q'`
19872
 
  { if $as_mkdir_p; then
19873
 
    mkdir -p "$ac_dir"
19874
 
  else
19875
 
    as_dir="$ac_dir"
 
21332
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
21333
            s//\1/
 
21334
            q
 
21335
          }
 
21336
          /^X\(\/\/\)[^/].*/{
 
21337
            s//\1/
 
21338
            q
 
21339
          }
 
21340
          /^X\(\/\/\)$/{
 
21341
            s//\1/
 
21342
            q
 
21343
          }
 
21344
          /^X\(\/\).*/{
 
21345
            s//\1/
 
21346
            q
 
21347
          }
 
21348
          s/.*/./; q'`
 
21349
  { as_dir="$ac_dir"
 
21350
  case $as_dir in #(
 
21351
  -*) as_dir=./$as_dir;;
 
21352
  esac
 
21353
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19876
21354
    as_dirs=
19877
 
    while test ! -d "$as_dir"; do
19878
 
      as_dirs="$as_dir $as_dirs"
19879
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
21355
    while :; do
 
21356
      case $as_dir in #(
 
21357
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
21358
      *) as_qdir=$as_dir;;
 
21359
      esac
 
21360
      as_dirs="'$as_qdir' $as_dirs"
 
21361
      as_dir=`$as_dirname -- "$as_dir" ||
19880
21362
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19881
21363
         X"$as_dir" : 'X\(//\)[^/]' \| \
19882
21364
         X"$as_dir" : 'X\(//\)$' \| \
19883
 
         X"$as_dir" : 'X\(/\)' \| \
19884
 
         .     : '\(.\)' 2>/dev/null ||
 
21365
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19885
21366
echo X"$as_dir" |
19886
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19887
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19888
 
          /^X\(\/\/\)$/{ s//\1/; q; }
19889
 
          /^X\(\/\).*/{ s//\1/; q; }
19890
 
          s/.*/./; q'`
 
21367
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
21368
            s//\1/
 
21369
            q
 
21370
          }
 
21371
          /^X\(\/\/\)[^/].*/{
 
21372
            s//\1/
 
21373
            q
 
21374
          }
 
21375
          /^X\(\/\/\)$/{
 
21376
            s//\1/
 
21377
            q
 
21378
          }
 
21379
          /^X\(\/\).*/{
 
21380
            s//\1/
 
21381
            q
 
21382
          }
 
21383
          s/.*/./; q'`
 
21384
      test -d "$as_dir" && break
19891
21385
    done
19892
 
    test ! -n "$as_dirs" || mkdir $as_dirs
19893
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19894
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
21386
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
21387
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
21388
echo "$as_me: error: cannot create directory $as_dir" >&2;}
19895
21389
   { (exit 1); exit 1; }; }; }
19896
 
 
19897
21390
  ac_builddir=.
19898
21391
 
19899
 
if test "$ac_dir" != .; then
 
21392
case "$ac_dir" in
 
21393
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
21394
*)
19900
21395
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19901
 
  # A "../" for each directory in $ac_dir_suffix.
19902
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19903
 
else
19904
 
  ac_dir_suffix= ac_top_builddir=
19905
 
fi
 
21396
  # A ".." for each directory in $ac_dir_suffix.
 
21397
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
21398
  case $ac_top_builddir_sub in
 
21399
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
21400
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
21401
  esac ;;
 
21402
esac
 
21403
ac_abs_top_builddir=$ac_pwd
 
21404
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
21405
# for backward compatibility:
 
21406
ac_top_builddir=$ac_top_build_prefix
19906
21407
 
19907
21408
case $srcdir in
19908
 
  .)  # No --srcdir option.  We are building in place.
 
21409
  .)  # We are building in place.
19909
21410
    ac_srcdir=.
19910
 
    if test -z "$ac_top_builddir"; then
19911
 
       ac_top_srcdir=.
19912
 
    else
19913
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19914
 
    fi ;;
19915
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
21411
    ac_top_srcdir=$ac_top_builddir_sub
 
21412
    ac_abs_top_srcdir=$ac_pwd ;;
 
21413
  [\\/]* | ?:[\\/]* )  # Absolute name.
19916
21414
    ac_srcdir=$srcdir$ac_dir_suffix;
19917
 
    ac_top_srcdir=$srcdir ;;
19918
 
  *) # Relative path.
19919
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19920
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
19921
 
esac
19922
 
 
19923
 
# Do not use `cd foo && pwd` to compute absolute paths, because
19924
 
# the directories may not exist.
19925
 
case `pwd` in
19926
 
.) ac_abs_builddir="$ac_dir";;
19927
 
*)
19928
 
  case "$ac_dir" in
19929
 
  .) ac_abs_builddir=`pwd`;;
19930
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19931
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
19932
 
  esac;;
19933
 
esac
19934
 
case $ac_abs_builddir in
19935
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
19936
 
*)
19937
 
  case ${ac_top_builddir}. in
19938
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
19939
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19940
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19941
 
  esac;;
19942
 
esac
19943
 
case $ac_abs_builddir in
19944
 
.) ac_abs_srcdir=$ac_srcdir;;
19945
 
*)
19946
 
  case $ac_srcdir in
19947
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
19948
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19949
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19950
 
  esac;;
19951
 
esac
19952
 
case $ac_abs_builddir in
19953
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
19954
 
*)
19955
 
  case $ac_top_srcdir in
19956
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
19957
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19958
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19959
 
  esac;;
19960
 
esac
19961
 
 
 
21415
    ac_top_srcdir=$srcdir
 
21416
    ac_abs_top_srcdir=$srcdir ;;
 
21417
  *) # Relative name.
 
21418
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
21419
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
21420
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
21421
esac
 
21422
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
21423
 
 
21424
 
 
21425
  case $ac_mode in
 
21426
  :F)
 
21427
  #
 
21428
  # CONFIG_FILE
 
21429
  #
19962
21430
 
19963
21431
  case $INSTALL in
19964
21432
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19965
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
19966
 
  esac
19967
 
 
19968
 
  if test x"$ac_file" != x-; then
19969
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
19970
 
echo "$as_me: creating $ac_file" >&6;}
19971
 
    rm -f "$ac_file"
19972
 
  fi
19973
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
19974
 
  # use $as_me), people would be surprised to read:
19975
 
  #    /* config.h.  Generated by config.status.  */
19976
 
  if test x"$ac_file" = x-; then
19977
 
    configure_input=
19978
 
  else
19979
 
    configure_input="$ac_file.  "
19980
 
  fi
19981
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
19982
 
                                     sed 's,.*/,,'` by configure."
19983
 
 
19984
 
  # First look for the input files in the build tree, otherwise in the
19985
 
  # src tree.
19986
 
  ac_file_inputs=`IFS=:
19987
 
    for f in $ac_file_in; do
19988
 
      case $f in
19989
 
      -) echo $tmp/stdin ;;
19990
 
      [\\/$]*)
19991
 
         # Absolute (can't be DOS-style, as IFS=:)
19992
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19993
 
echo "$as_me: error: cannot find input file: $f" >&2;}
19994
 
   { (exit 1); exit 1; }; }
19995
 
         echo "$f";;
19996
 
      *) # Relative
19997
 
         if test -f "$f"; then
19998
 
           # Build tree
19999
 
           echo "$f"
20000
 
         elif test -f "$srcdir/$f"; then
20001
 
           # Source tree
20002
 
           echo "$srcdir/$f"
20003
 
         else
20004
 
           # /dev/null tree
20005
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20006
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20007
 
   { (exit 1); exit 1; }; }
20008
 
         fi;;
20009
 
      esac
20010
 
    done` || { (exit 1); exit 1; }
20011
 
_ACEOF
 
21433
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
21434
  esac
 
21435
  ac_MKDIR_P=$MKDIR_P
 
21436
  case $MKDIR_P in
 
21437
  [\\/$]* | ?:[\\/]* ) ;;
 
21438
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
21439
  esac
 
21440
_ACEOF
 
21441
 
 
21442
cat >>$CONFIG_STATUS <<\_ACEOF
 
21443
# If the template does not know about datarootdir, expand it.
 
21444
# FIXME: This hack should be removed a few years after 2.60.
 
21445
ac_datarootdir_hack=; ac_datarootdir_seen=
 
21446
 
 
21447
case `sed -n '/datarootdir/ {
 
21448
  p
 
21449
  q
 
21450
}
 
21451
/@datadir@/p
 
21452
/@docdir@/p
 
21453
/@infodir@/p
 
21454
/@localedir@/p
 
21455
/@mandir@/p
 
21456
' $ac_file_inputs` in
 
21457
*datarootdir*) ac_datarootdir_seen=yes;;
 
21458
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
21459
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
21460
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
21461
_ACEOF
 
21462
cat >>$CONFIG_STATUS <<_ACEOF
 
21463
  ac_datarootdir_hack='
 
21464
  s&@datadir@&$datadir&g
 
21465
  s&@docdir@&$docdir&g
 
21466
  s&@infodir@&$infodir&g
 
21467
  s&@localedir@&$localedir&g
 
21468
  s&@mandir@&$mandir&g
 
21469
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
21470
esac
 
21471
_ACEOF
 
21472
 
 
21473
# Neutralize VPATH when `$srcdir' = `.'.
 
21474
# Shell code in configure.ac might set extrasub.
 
21475
# FIXME: do we really want to maintain this feature?
20012
21476
cat >>$CONFIG_STATUS <<_ACEOF
20013
21477
  sed "$ac_vpsub
20014
21478
$extrasub
20016
21480
cat >>$CONFIG_STATUS <<\_ACEOF
20017
21481
:t
20018
21482
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20019
 
s,@configure_input@,$configure_input,;t t
20020
 
s,@srcdir@,$ac_srcdir,;t t
20021
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
20022
 
s,@top_srcdir@,$ac_top_srcdir,;t t
20023
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20024
 
s,@builddir@,$ac_builddir,;t t
20025
 
s,@abs_builddir@,$ac_abs_builddir,;t t
20026
 
s,@top_builddir@,$ac_top_builddir,;t t
20027
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20028
 
s,@INSTALL@,$ac_INSTALL,;t t
20029
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20030
 
  rm -f $tmp/stdin
20031
 
  if test x"$ac_file" != x-; then
20032
 
    mv $tmp/out $ac_file
20033
 
  else
20034
 
    cat $tmp/out
20035
 
    rm -f $tmp/out
20036
 
  fi
20037
 
 
20038
 
done
 
21483
s&@configure_input@&$configure_input&;t t
 
21484
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
21485
s&@srcdir@&$ac_srcdir&;t t
 
21486
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
21487
s&@top_srcdir@&$ac_top_srcdir&;t t
 
21488
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
21489
s&@builddir@&$ac_builddir&;t t
 
21490
s&@abs_builddir@&$ac_abs_builddir&;t t
 
21491
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
21492
s&@INSTALL@&$ac_INSTALL&;t t
 
21493
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
21494
$ac_datarootdir_hack
 
21495
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
21496
 
 
21497
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
21498
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
21499
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
21500
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
21501
which seems to be undefined.  Please make sure it is defined." >&5
 
21502
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
21503
which seems to be undefined.  Please make sure it is defined." >&2;}
 
21504
 
 
21505
  rm -f "$tmp/stdin"
 
21506
  case $ac_file in
 
21507
  -) cat "$tmp/out"; rm -f "$tmp/out";;
 
21508
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 
21509
  esac
 
21510
 ;;
 
21511
  :H)
 
21512
  #
 
21513
  # CONFIG_HEADER
 
21514
  #
20039
21515
_ACEOF
20040
 
cat >>$CONFIG_STATUS <<\_ACEOF
20041
 
 
20042
 
#
20043
 
# CONFIG_HEADER section.
20044
 
#
20045
 
 
20046
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20047
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
20048
 
#
20049
 
# ac_d sets the value in "#define NAME VALUE" lines.
20050
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
20051
 
ac_dB='[         ].*$,\1#\2'
 
21516
 
 
21517
# Transform confdefs.h into a sed script `conftest.defines', that
 
21518
# substitutes the proper values into config.h.in to produce config.h.
 
21519
rm -f conftest.defines conftest.tail
 
21520
# First, append a space to every undef/define line, to ease matching.
 
21521
echo 's/$/ /' >conftest.defines
 
21522
# Then, protect against being on the right side of a sed subst, or in
 
21523
# an unquoted here document, in config.status.  If some macros were
 
21524
# called several times there might be several #defines for the same
 
21525
# symbol, which is useless.  But do not sort them, since the last
 
21526
# AC_DEFINE must be honored.
 
21527
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
21528
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 
21529
# NAME is the cpp macro being defined, VALUE is the value it is being given.
 
21530
# PARAMS is the parameter list in the macro definition--in most cases, it's
 
21531
# just an empty string.
 
21532
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
 
21533
ac_dB='\\)[      (].*,\\1define\\2'
20052
21534
ac_dC=' '
20053
 
ac_dD=',;t'
20054
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20055
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
20056
 
ac_uB='$,\1#\2define\3'
20057
 
ac_uC=' '
20058
 
ac_uD=',;t'
20059
 
 
20060
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
20061
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20062
 
  case $ac_file in
20063
 
  - | *:- | *:-:* ) # input from stdin
20064
 
        cat >$tmp/stdin
20065
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20066
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20067
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20068
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20069
 
  * )   ac_file_in=$ac_file.in ;;
20070
 
  esac
20071
 
 
20072
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
20073
 
echo "$as_me: creating $ac_file" >&6;}
20074
 
 
20075
 
  # First look for the input files in the build tree, otherwise in the
20076
 
  # src tree.
20077
 
  ac_file_inputs=`IFS=:
20078
 
    for f in $ac_file_in; do
20079
 
      case $f in
20080
 
      -) echo $tmp/stdin ;;
20081
 
      [\\/$]*)
20082
 
         # Absolute (can't be DOS-style, as IFS=:)
20083
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20084
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20085
 
   { (exit 1); exit 1; }; }
20086
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
20087
 
         echo "$f";;
20088
 
      *) # Relative
20089
 
         if test -f "$f"; then
20090
 
           # Build tree
20091
 
           echo "$f"
20092
 
         elif test -f "$srcdir/$f"; then
20093
 
           # Source tree
20094
 
           echo "$srcdir/$f"
20095
 
         else
20096
 
           # /dev/null tree
20097
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20098
 
echo "$as_me: error: cannot find input file: $f" >&2;}
20099
 
   { (exit 1); exit 1; }; }
20100
 
         fi;;
20101
 
      esac
20102
 
    done` || { (exit 1); exit 1; }
20103
 
  # Remove the trailing spaces.
20104
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
20105
 
 
20106
 
_ACEOF
20107
 
 
20108
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
20109
 
# `conftest.undefs', that substitutes the proper values into
20110
 
# config.h.in to produce config.h.  The first handles `#define'
20111
 
# templates, and the second `#undef' templates.
20112
 
# And first: Protect against being on the right side of a sed subst in
20113
 
# config.status.  Protect against being in an unquoted here document
20114
 
# in config.status.
20115
 
rm -f conftest.defines conftest.undefs
20116
 
# Using a here document instead of a string reduces the quoting nightmare.
20117
 
# Putting comments in sed scripts is not portable.
20118
 
#
20119
 
# `end' is used to avoid that the second main sed command (meant for
20120
 
# 0-ary CPP macros) applies to n-ary macro definitions.
20121
 
# See the Autoconf documentation for `clear'.
20122
 
cat >confdef2sed.sed <<\_ACEOF
20123
 
s/[\\&,]/\\&/g
20124
 
s,[\\$`],\\&,g
20125
 
t clear
20126
 
: clear
20127
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20128
 
t end
20129
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20130
 
: end
20131
 
_ACEOF
20132
 
# If some macros were called several times there might be several times
20133
 
# the same #defines, which is useless.  Nevertheless, we may not want to
20134
 
# sort them, since we want the *last* AC-DEFINE to be honored.
20135
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20136
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20137
 
rm -f confdef2sed.sed
20138
 
 
20139
 
# This sed command replaces #undef with comments.  This is necessary, for
 
21535
ac_dD=' ,'
 
21536
 
 
21537
uniq confdefs.h |
 
21538
  sed -n '
 
21539
        t rset
 
21540
        :rset
 
21541
        s/^[     ]*#[    ]*define[       ][      ]*//
 
21542
        t ok
 
21543
        d
 
21544
        :ok
 
21545
        s/[\\&,]/\\&/g
 
21546
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 
21547
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 
21548
  ' >>conftest.defines
 
21549
 
 
21550
# Remove the space that was appended to ease matching.
 
21551
# Then replace #undef with comments.  This is necessary, for
20140
21552
# example, in the case of _POSIX_SOURCE, which is predefined and required
20141
21553
# on some systems where configure will not decide to define it.
20142
 
cat >>conftest.undefs <<\_ACEOF
20143
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 
21554
# (The regexp can be short, since the line contains either #define or #undef.)
 
21555
echo 's/ $//
 
21556
s,^[     #]*u.*,/* & */,' >>conftest.defines
 
21557
 
 
21558
# Break up conftest.defines:
 
21559
ac_max_sed_lines=50
 
21560
 
 
21561
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 
21562
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 
21563
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 
21564
# et cetera.
 
21565
ac_in='$ac_file_inputs'
 
21566
ac_out='"$tmp/out1"'
 
21567
ac_nxt='"$tmp/out2"'
 
21568
 
 
21569
while :
 
21570
do
 
21571
  # Write a here document:
 
21572
    cat >>$CONFIG_STATUS <<_ACEOF
 
21573
    # First, check the format of the line:
 
21574
    cat >"\$tmp/defines.sed" <<\\CEOF
 
21575
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
 
21576
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
 
21577
b
 
21578
:def
20144
21579
_ACEOF
20145
 
 
20146
 
# Break up conftest.defines because some shells have a limit on the size
20147
 
# of here documents, and old seds have small limits too (100 cmds).
20148
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20149
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20150
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20151
 
echo '  :' >>$CONFIG_STATUS
20152
 
rm -f conftest.tail
20153
 
while grep . conftest.defines >/dev/null
20154
 
do
20155
 
  # Write a limited-size here document to $tmp/defines.sed.
20156
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20157
 
  # Speed up: don't consider the non `#define' lines.
20158
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
20159
 
  # Work around the forget-to-reset-the-flag bug.
20160
 
  echo 't clr' >>$CONFIG_STATUS
20161
 
  echo ': clr' >>$CONFIG_STATUS
20162
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
 
21580
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
20163
21581
  echo 'CEOF
20164
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
20165
 
  rm -f $tmp/in
20166
 
  mv $tmp/out $tmp/in
20167
 
' >>$CONFIG_STATUS
20168
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
 
21582
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 
21583
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 
21584
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 
21585
  grep . conftest.tail >/dev/null || break
20169
21586
  rm -f conftest.defines
20170
21587
  mv conftest.tail conftest.defines
20171
21588
done
20172
 
rm -f conftest.defines
20173
 
echo '  fi # grep' >>$CONFIG_STATUS
20174
 
echo >>$CONFIG_STATUS
20175
 
 
20176
 
# Break up conftest.undefs because some shells have a limit on the size
20177
 
# of here documents, and old seds have small limits too (100 cmds).
20178
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
20179
 
rm -f conftest.tail
20180
 
while grep . conftest.undefs >/dev/null
20181
 
do
20182
 
  # Write a limited-size here document to $tmp/undefs.sed.
20183
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20184
 
  # Speed up: don't consider the non `#undef'
20185
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
20186
 
  # Work around the forget-to-reset-the-flag bug.
20187
 
  echo 't clr' >>$CONFIG_STATUS
20188
 
  echo ': clr' >>$CONFIG_STATUS
20189
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20190
 
  echo 'CEOF
20191
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20192
 
  rm -f $tmp/in
20193
 
  mv $tmp/out $tmp/in
20194
 
' >>$CONFIG_STATUS
20195
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20196
 
  rm -f conftest.undefs
20197
 
  mv conftest.tail conftest.undefs
20198
 
done
20199
 
rm -f conftest.undefs
20200
 
 
 
21589
rm -f conftest.defines conftest.tail
 
21590
 
 
21591
echo "ac_result=$ac_in" >>$CONFIG_STATUS
20201
21592
cat >>$CONFIG_STATUS <<\_ACEOF
20202
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
20203
 
  # use $as_me), people would be surprised to read:
20204
 
  #    /* config.h.  Generated by config.status.  */
20205
 
  if test x"$ac_file" = x-; then
20206
 
    echo "/* Generated by configure.  */" >$tmp/config.h
20207
 
  else
20208
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
20209
 
  fi
20210
 
  cat $tmp/in >>$tmp/config.h
20211
 
  rm -f $tmp/in
20212
21593
  if test x"$ac_file" != x-; then
20213
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
 
21594
    echo "/* $configure_input  */" >"$tmp/config.h"
 
21595
    cat "$ac_result" >>"$tmp/config.h"
 
21596
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
20214
21597
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20215
21598
echo "$as_me: $ac_file is unchanged" >&6;}
20216
21599
    else
20217
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20218
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20219
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
20220
 
         X"$ac_file" : 'X\(//\)$' \| \
20221
 
         X"$ac_file" : 'X\(/\)' \| \
20222
 
         .     : '\(.\)' 2>/dev/null ||
20223
 
echo X"$ac_file" |
20224
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20225
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20226
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20227
 
          /^X\(\/\).*/{ s//\1/; q; }
20228
 
          s/.*/./; q'`
20229
 
      { if $as_mkdir_p; then
20230
 
    mkdir -p "$ac_dir"
20231
 
  else
20232
 
    as_dir="$ac_dir"
20233
 
    as_dirs=
20234
 
    while test ! -d "$as_dir"; do
20235
 
      as_dirs="$as_dir $as_dirs"
20236
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
20237
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20238
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20239
 
         X"$as_dir" : 'X\(//\)$' \| \
20240
 
         X"$as_dir" : 'X\(/\)' \| \
20241
 
         .     : '\(.\)' 2>/dev/null ||
20242
 
echo X"$as_dir" |
20243
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20244
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20245
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20246
 
          /^X\(\/\).*/{ s//\1/; q; }
20247
 
          s/.*/./; q'`
20248
 
    done
20249
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20250
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20251
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20252
 
   { (exit 1); exit 1; }; }; }
20253
 
 
20254
21600
      rm -f $ac_file
20255
 
      mv $tmp/config.h $ac_file
 
21601
      mv "$tmp/config.h" $ac_file
20256
21602
    fi
20257
21603
  else
20258
 
    cat $tmp/config.h
20259
 
    rm -f $tmp/config.h
 
21604
    echo "/* $configure_input  */"
 
21605
    cat "$ac_result"
20260
21606
  fi
 
21607
  rm -f "$tmp/out12"
20261
21608
# Compute $ac_file's index in $config_headers.
 
21609
_am_arg=$ac_file
20262
21610
_am_stamp_count=1
20263
21611
for _am_header in $config_headers :; do
20264
21612
  case $_am_header in
20265
 
    $ac_file | $ac_file:* )
 
21613
    $_am_arg | $_am_arg:* )
20266
21614
      break ;;
20267
21615
    * )
20268
21616
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20269
21617
  esac
20270
21618
done
20271
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20272
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20273
 
         X$ac_file : 'X\(//\)[^/]' \| \
20274
 
         X$ac_file : 'X\(//\)$' \| \
20275
 
         X$ac_file : 'X\(/\)' \| \
20276
 
         .     : '\(.\)' 2>/dev/null ||
20277
 
echo X$ac_file |
20278
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20279
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20280
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20281
 
          /^X\(\/\).*/{ s//\1/; q; }
20282
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
20283
 
done
20284
 
_ACEOF
20285
 
cat >>$CONFIG_STATUS <<\_ACEOF
20286
 
 
20287
 
#
20288
 
# CONFIG_COMMANDS section.
20289
 
#
20290
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
20291
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20292
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20293
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20294
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20295
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
20296
 
         X"$ac_dest" : 'X\(//\)$' \| \
20297
 
         X"$ac_dest" : 'X\(/\)' \| \
20298
 
         .     : '\(.\)' 2>/dev/null ||
20299
 
echo X"$ac_dest" |
20300
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20301
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20302
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20303
 
          /^X\(\/\).*/{ s//\1/; q; }
20304
 
          s/.*/./; q'`
20305
 
  { if $as_mkdir_p; then
20306
 
    mkdir -p "$ac_dir"
20307
 
  else
20308
 
    as_dir="$ac_dir"
20309
 
    as_dirs=
20310
 
    while test ! -d "$as_dir"; do
20311
 
      as_dirs="$as_dir $as_dirs"
20312
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
20313
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20314
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
20315
 
         X"$as_dir" : 'X\(//\)$' \| \
20316
 
         X"$as_dir" : 'X\(/\)' \| \
20317
 
         .     : '\(.\)' 2>/dev/null ||
20318
 
echo X"$as_dir" |
20319
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20320
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20321
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20322
 
          /^X\(\/\).*/{ s//\1/; q; }
20323
 
          s/.*/./; q'`
20324
 
    done
20325
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20326
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20327
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20328
 
   { (exit 1); exit 1; }; }; }
20329
 
 
20330
 
  ac_builddir=.
20331
 
 
20332
 
if test "$ac_dir" != .; then
20333
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20334
 
  # A "../" for each directory in $ac_dir_suffix.
20335
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20336
 
else
20337
 
  ac_dir_suffix= ac_top_builddir=
20338
 
fi
20339
 
 
20340
 
case $srcdir in
20341
 
  .)  # No --srcdir option.  We are building in place.
20342
 
    ac_srcdir=.
20343
 
    if test -z "$ac_top_builddir"; then
20344
 
       ac_top_srcdir=.
20345
 
    else
20346
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20347
 
    fi ;;
20348
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
20349
 
    ac_srcdir=$srcdir$ac_dir_suffix;
20350
 
    ac_top_srcdir=$srcdir ;;
20351
 
  *) # Relative path.
20352
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20353
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
20354
 
esac
20355
 
 
20356
 
# Do not use `cd foo && pwd` to compute absolute paths, because
20357
 
# the directories may not exist.
20358
 
case `pwd` in
20359
 
.) ac_abs_builddir="$ac_dir";;
20360
 
*)
20361
 
  case "$ac_dir" in
20362
 
  .) ac_abs_builddir=`pwd`;;
20363
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20364
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
20365
 
  esac;;
20366
 
esac
20367
 
case $ac_abs_builddir in
20368
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20369
 
*)
20370
 
  case ${ac_top_builddir}. in
20371
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
20372
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20373
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20374
 
  esac;;
20375
 
esac
20376
 
case $ac_abs_builddir in
20377
 
.) ac_abs_srcdir=$ac_srcdir;;
20378
 
*)
20379
 
  case $ac_srcdir in
20380
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
20381
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20382
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20383
 
  esac;;
20384
 
esac
20385
 
case $ac_abs_builddir in
20386
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20387
 
*)
20388
 
  case $ac_top_srcdir in
20389
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
20390
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20391
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20392
 
  esac;;
20393
 
esac
20394
 
 
20395
 
 
20396
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20397
 
echo "$as_me: executing $ac_dest commands" >&6;}
20398
 
  case $ac_dest in
20399
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
21619
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
21620
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
21621
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
21622
         X"$_am_arg" : 'X\(//\)$' \| \
 
21623
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
21624
echo X"$_am_arg" |
 
21625
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
21626
            s//\1/
 
21627
            q
 
21628
          }
 
21629
          /^X\(\/\/\)[^/].*/{
 
21630
            s//\1/
 
21631
            q
 
21632
          }
 
21633
          /^X\(\/\/\)$/{
 
21634
            s//\1/
 
21635
            q
 
21636
          }
 
21637
          /^X\(\/\).*/{
 
21638
            s//\1/
 
21639
            q
 
21640
          }
 
21641
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
21642
 ;;
 
21643
 
 
21644
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
21645
echo "$as_me: executing $ac_file commands" >&6;}
 
21646
 ;;
 
21647
  esac
 
21648
 
 
21649
 
 
21650
  case $ac_file$ac_mode in
 
21651
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20400
21652
  # Strip MF so we end up with the name of the file.
20401
21653
  mf=`echo "$mf" | sed -e 's/:.*$//'`
20402
21654
  # Check whether this is an Automake generated Makefile or not.
20404
21656
  # some people rename them; so instead we look at the file content.
20405
21657
  # Grep'ing the first line is not enough: some people post-process
20406
21658
  # each Makefile.in and add a new line on top of each file to say so.
20407
 
  # So let's grep whole file.
20408
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
20409
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
21659
  # Grep'ing the whole file is not good either: AIX grep has a line
 
21660
  # limit of 2048, but all sed's we know have understand at least 4000.
 
21661
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
21662
    dirpart=`$as_dirname -- "$mf" ||
20410
21663
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20411
21664
         X"$mf" : 'X\(//\)[^/]' \| \
20412
21665
         X"$mf" : 'X\(//\)$' \| \
20413
 
         X"$mf" : 'X\(/\)' \| \
20414
 
         .     : '\(.\)' 2>/dev/null ||
 
21666
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20415
21667
echo X"$mf" |
20416
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20417
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20418
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20419
 
          /^X\(\/\).*/{ s//\1/; q; }
20420
 
          s/.*/./; q'`
 
21668
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
21669
            s//\1/
 
21670
            q
 
21671
          }
 
21672
          /^X\(\/\/\)[^/].*/{
 
21673
            s//\1/
 
21674
            q
 
21675
          }
 
21676
          /^X\(\/\/\)$/{
 
21677
            s//\1/
 
21678
            q
 
21679
          }
 
21680
          /^X\(\/\).*/{
 
21681
            s//\1/
 
21682
            q
 
21683
          }
 
21684
          s/.*/./; q'`
20421
21685
  else
20422
21686
    continue
20423
21687
  fi
20439
21703
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20440
21704
    # Make sure the directory exists.
20441
21705
    test -f "$dirpart/$file" && continue
20442
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
21706
    fdir=`$as_dirname -- "$file" ||
20443
21707
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20444
21708
         X"$file" : 'X\(//\)[^/]' \| \
20445
21709
         X"$file" : 'X\(//\)$' \| \
20446
 
         X"$file" : 'X\(/\)' \| \
20447
 
         .     : '\(.\)' 2>/dev/null ||
 
21710
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20448
21711
echo X"$file" |
20449
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20450
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20451
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20452
 
          /^X\(\/\).*/{ s//\1/; q; }
20453
 
          s/.*/./; q'`
20454
 
    { if $as_mkdir_p; then
20455
 
    mkdir -p $dirpart/$fdir
20456
 
  else
20457
 
    as_dir=$dirpart/$fdir
 
21712
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
21713
            s//\1/
 
21714
            q
 
21715
          }
 
21716
          /^X\(\/\/\)[^/].*/{
 
21717
            s//\1/
 
21718
            q
 
21719
          }
 
21720
          /^X\(\/\/\)$/{
 
21721
            s//\1/
 
21722
            q
 
21723
          }
 
21724
          /^X\(\/\).*/{
 
21725
            s//\1/
 
21726
            q
 
21727
          }
 
21728
          s/.*/./; q'`
 
21729
    { as_dir=$dirpart/$fdir
 
21730
  case $as_dir in #(
 
21731
  -*) as_dir=./$as_dir;;
 
21732
  esac
 
21733
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20458
21734
    as_dirs=
20459
 
    while test ! -d "$as_dir"; do
20460
 
      as_dirs="$as_dir $as_dirs"
20461
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
21735
    while :; do
 
21736
      case $as_dir in #(
 
21737
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
21738
      *) as_qdir=$as_dir;;
 
21739
      esac
 
21740
      as_dirs="'$as_qdir' $as_dirs"
 
21741
      as_dir=`$as_dirname -- "$as_dir" ||
20462
21742
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20463
21743
         X"$as_dir" : 'X\(//\)[^/]' \| \
20464
21744
         X"$as_dir" : 'X\(//\)$' \| \
20465
 
         X"$as_dir" : 'X\(/\)' \| \
20466
 
         .     : '\(.\)' 2>/dev/null ||
 
21745
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20467
21746
echo X"$as_dir" |
20468
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20469
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20470
 
          /^X\(\/\/\)$/{ s//\1/; q; }
20471
 
          /^X\(\/\).*/{ s//\1/; q; }
20472
 
          s/.*/./; q'`
 
21747
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
21748
            s//\1/
 
21749
            q
 
21750
          }
 
21751
          /^X\(\/\/\)[^/].*/{
 
21752
            s//\1/
 
21753
            q
 
21754
          }
 
21755
          /^X\(\/\/\)$/{
 
21756
            s//\1/
 
21757
            q
 
21758
          }
 
21759
          /^X\(\/\).*/{
 
21760
            s//\1/
 
21761
            q
 
21762
          }
 
21763
          s/.*/./; q'`
 
21764
      test -d "$as_dir" && break
20473
21765
    done
20474
 
    test ! -n "$as_dirs" || mkdir $as_dirs
20475
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20476
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
21766
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
21767
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
21768
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20477
21769
   { (exit 1); exit 1; }; }; }
20478
 
 
20479
21770
    # echo "creating $dirpart/$file"
20480
21771
    echo '# dummy' > "$dirpart/$file"
20481
21772
  done
20482
21773
done
20483
21774
 ;;
 
21775
 
20484
21776
  esac
20485
 
done
20486
 
_ACEOF
 
21777
done # for ac_tag
20487
21778
 
20488
 
cat >>$CONFIG_STATUS <<\_ACEOF
20489
21779
 
20490
21780
{ (exit 0); exit 0; }
20491
21781
_ACEOF