~ubuntu-branches/ubuntu/quantal/libxss/quantal

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois, Julien Cristau, Cyril Brulebois
  • Date: 2010-11-08 00:52:53 UTC
  • mfrom: (1.1.7 upstream) (2.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20101108005253-8p934xns9gzjs8mi
Tags: 1:1.2.1-1
[ Julien Cristau ]
* Rename the build directory to not include DEB_BUILD_GNU_TYPE for no
  good reason.  Thanks, Colin Watson!
* Remove myself from Uploaders

[ Cyril Brulebois ]
* New upstream release.
* Bump xutils-dev build-dep for new macros.
* Switch from --list-missing to --fail-missing for additional safety.
* Add myself to Uploaders.

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.63 for libXScrnSaver 1.2.0.
 
3
# Generated by GNU Autoconf 2.68 for libXScrnSaver 1.2.1.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
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
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
as_myself=
 
95
case $0 in #((
100
96
  *[\\/]* ) as_myself=$0 ;;
101
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
98
for as_dir in $PATH
103
99
do
104
100
  IFS=$as_save_IFS
105
101
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
108
104
IFS=$as_save_IFS
109
105
 
110
106
     ;;
116
112
fi
117
113
if test ! -f "$as_myself"; then
118
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
115
  exit 1
120
116
fi
121
117
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
125
done
126
126
PS1='$ '
127
127
PS2='> '
133
133
LANGUAGE=C
134
134
export LANGUAGE
135
135
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
136
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
138
 
175
139
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
186
  if (eval "$as_required") 2>/dev/null; then :
177
187
  as_have_required=yes
178
188
else
179
189
  as_have_required=no
180
190
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
191
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
192
 
 
193
else
 
194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
195
as_found=false
243
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
197
do
245
198
  IFS=$as_save_IFS
246
199
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
200
  as_found=:
 
201
  case $as_dir in #(
248
202
         /*)
249
203
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
204
             # Try only shells that exist, to save several forks.
 
205
             as_shell=$as_dir/$as_base
 
206
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
207
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$as_shell as_have_required=yes
 
209
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
210
  break 2
 
211
fi
 
212
fi
251
213
           done;;
252
214
       esac
 
215
  as_found=false
253
216
done
 
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
218
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
219
  CONFIG_SHELL=$SHELL as_have_required=yes
 
220
fi; }
254
221
IFS=$as_save_IFS
255
222
 
256
223
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
224
      if test "x$CONFIG_SHELL" != x; then :
 
225
  # We cannot yet assume a decent shell, so we have to provide a
 
226
        # neutralization value for shells without unset; and this also
 
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
 
229
        BASH_ENV=/dev/null
 
230
        ENV=/dev/null
 
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
232
        export CONFIG_SHELL
368
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
 
fi
370
 
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
240
fi
 
241
 
 
242
    if test x$as_have_required = xno; then :
 
243
  $as_echo "$0: This script requires a shell more modern than all"
 
244
  $as_echo "$0: the shells that I found on your system."
 
245
  if test x${ZSH_VERSION+set} = xset ; then
 
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
248
  else
 
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
250
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
 
251
$0: about your system, including any error possibly output
 
252
$0: before this message. Then install a modern shell, or
 
253
$0: manually run the script under such a shell if you do
 
254
$0: have one."
 
255
  fi
 
256
  exit 1
 
257
fi
 
258
fi
 
259
fi
 
260
SHELL=${CONFIG_SHELL-/bin/sh}
 
261
export SHELL
 
262
# Unset more variables known to interfere with behavior of common tools.
 
263
CLICOLOR_FORCE= GREP_OPTIONS=
 
264
unset CLICOLOR_FORCE GREP_OPTIONS
 
265
 
 
266
## --------------------- ##
 
267
## M4sh Shell Functions. ##
 
268
## --------------------- ##
 
269
# as_fn_unset VAR
 
270
# ---------------
 
271
# Portably unset VAR.
 
272
as_fn_unset ()
 
273
{
 
274
  { eval $1=; unset $1;}
 
275
}
 
276
as_unset=as_fn_unset
 
277
 
 
278
# as_fn_set_status STATUS
 
279
# -----------------------
 
280
# Set $? to STATUS, without forking.
 
281
as_fn_set_status ()
 
282
{
 
283
  return $1
 
284
} # as_fn_set_status
 
285
 
 
286
# as_fn_exit STATUS
 
287
# -----------------
 
288
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
289
as_fn_exit ()
 
290
{
 
291
  set +e
 
292
  as_fn_set_status $1
 
293
  exit $1
 
294
} # as_fn_exit
 
295
 
 
296
# as_fn_mkdir_p
 
297
# -------------
 
298
# Create "$as_dir" as a directory, including parents if necessary.
 
299
as_fn_mkdir_p ()
 
300
{
 
301
 
 
302
  case $as_dir in #(
 
303
  -*) as_dir=./$as_dir;;
 
304
  esac
 
305
  test -d "$as_dir" || eval $as_mkdir_p || {
 
306
    as_dirs=
 
307
    while :; do
 
308
      case $as_dir in #(
 
309
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
310
      *) as_qdir=$as_dir;;
 
311
      esac
 
312
      as_dirs="'$as_qdir' $as_dirs"
 
313
      as_dir=`$as_dirname -- "$as_dir" ||
 
314
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
315
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
316
         X"$as_dir" : 'X\(//\)$' \| \
 
317
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
318
$as_echo X"$as_dir" |
 
319
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\/\)[^/].*/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          /^X\(\/\/\)$/{
 
328
            s//\1/
 
329
            q
 
330
          }
 
331
          /^X\(\/\).*/{
 
332
            s//\1/
 
333
            q
 
334
          }
 
335
          s/.*/./; q'`
 
336
      test -d "$as_dir" && break
 
337
    done
 
338
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
339
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
340
 
 
341
 
 
342
} # as_fn_mkdir_p
 
343
# as_fn_append VAR VALUE
 
344
# ----------------------
 
345
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
346
# advantage of any shell optimizations that allow amortized linear growth over
 
347
# repeated appends, instead of the typical quadratic growth present in naive
 
348
# implementations.
 
349
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
350
  eval 'as_fn_append ()
 
351
  {
 
352
    eval $1+=\$2
 
353
  }'
 
354
else
 
355
  as_fn_append ()
 
356
  {
 
357
    eval $1=\$$1\$2
 
358
  }
 
359
fi # as_fn_append
 
360
 
 
361
# as_fn_arith ARG...
 
362
# ------------------
 
363
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
364
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
365
# must be portable across $(()) and expr.
 
366
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
367
  eval 'as_fn_arith ()
 
368
  {
 
369
    as_val=$(( $* ))
 
370
  }'
 
371
else
 
372
  as_fn_arith ()
 
373
  {
 
374
    as_val=`expr "$@" || test $? -eq 1`
 
375
  }
 
376
fi # as_fn_arith
 
377
 
 
378
 
 
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
380
# ----------------------------------------
 
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
383
# script with STATUS, using 1 if that was 0.
 
384
as_fn_error ()
 
385
{
 
386
  as_status=$1; test $as_status -eq 0 && as_status=1
 
387
  if test "$4"; then
 
388
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
389
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
390
  fi
 
391
  $as_echo "$as_me: error: $2" >&2
 
392
  as_fn_exit $as_status
 
393
} # as_fn_error
 
394
 
 
395
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
396
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
397
  as_expr=expr
 
398
else
 
399
  as_expr=false
 
400
fi
 
401
 
 
402
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
403
  as_basename=basename
 
404
else
 
405
  as_basename=false
 
406
fi
 
407
 
 
408
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
409
  as_dirname=dirname
 
410
else
 
411
  as_dirname=false
 
412
fi
 
413
 
 
414
as_me=`$as_basename -- "$0" ||
 
415
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
416
         X"$0" : 'X\(//\)$' \| \
 
417
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
418
$as_echo X/"$0" |
 
419
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          /^X\/\(\/\/\)$/{
 
424
            s//\1/
 
425
            q
 
426
          }
 
427
          /^X\/\(\/\).*/{
 
428
            s//\1/
 
429
            q
 
430
          }
 
431
          s/.*/./; q'`
 
432
 
 
433
# Avoid depending upon Character Ranges.
 
434
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
435
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
436
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
437
as_cr_digits='0123456789'
 
438
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
439
 
 
440
 
 
441
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
442
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
443
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
444
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
445
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
446
  sed -n '
461
447
    p
462
448
    /[$]LINENO/=
473
459
      s/-\n.*//
474
460
    ' >$as_me.lineno &&
475
461
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
462
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
463
 
479
464
  # Don't try to exec as it changes $[0], causing all sort of problems
480
465
  # (the dirname of $[0] is not the place where we might find the
484
469
  exit
485
470
}
486
471
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
472
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
473
case `echo -n x` in #(((((
496
474
-n*)
497
 
  case `echo 'x\c'` in
 
475
  case `echo 'xy\c'` in
498
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
477
  xy)  ECHO_C='\c';;
 
478
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
479
       ECHO_T=' ';;
500
480
  esac;;
501
481
*)
502
482
  ECHO_N='-n';;
503
483
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
484
 
511
485
rm -f conf$$ conf$$.exe conf$$.file
512
486
if test -d conf$$.dir; then
536
510
rmdir conf$$.dir 2>/dev/null
537
511
 
538
512
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
513
  as_mkdir_p='mkdir -p "$as_dir"'
540
514
else
541
515
  test -d ./-p && rmdir ./-p
542
516
  as_mkdir_p=false
555
529
      if test -d "$1"; then
556
530
        test -d "$1/.";
557
531
      else
558
 
        case $1 in
 
532
        case $1 in #(
559
533
        -*)set "./$1";;
560
534
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
535
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
536
        ???[sx]*):;;*)false;;esac;fi
563
537
    '\'' sh
564
538
  '
571
545
# Sed expression to map a string onto a valid variable name.
572
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
547
 
574
 
 
575
 
 
576
 
 
577
 
# Check that we are running under the correct shell.
578
548
SHELL=${CONFIG_SHELL-/bin/sh}
579
549
 
580
 
case X$lt_ECHO in
581
 
X*--fallback-echo)
582
 
  # Remove one level of quotation (which was required for Make).
583
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
 
  ;;
585
 
esac
586
 
 
587
 
ECHO=${lt_ECHO-echo}
588
 
if test "X$1" = X--no-reexec; then
589
 
  # Discard the --no-reexec flag, and continue.
590
 
  shift
591
 
elif test "X$1" = X--fallback-echo; then
592
 
  # Avoid inline document here, it may be left over
593
 
  :
594
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595
 
  # Yippee, $ECHO works!
596
 
  :
597
 
else
598
 
  # Restart under the correct shell.
599
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
600
 
fi
601
 
 
602
 
if test "X$1" = X--fallback-echo; then
603
 
  # used as fallback echo
604
 
  shift
605
 
  cat <<_LT_EOF
606
 
$*
607
 
_LT_EOF
608
 
  exit 0
609
 
fi
610
 
 
611
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
612
 
# if CDPATH is set.
613
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
 
 
615
 
if test -z "$lt_ECHO"; then
616
 
  if test "X${echo_test_string+set}" != Xset; then
617
 
    # find a string as large as possible, as long as the shell can cope with it
618
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
622
 
      then
623
 
        break
624
 
      fi
625
 
    done
626
 
  fi
627
 
 
628
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
631
 
    :
632
 
  else
633
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
634
 
    # backslashes.  This makes it impossible to quote backslashes using
635
 
    #   echo "$something" | sed 's/\\/\\\\/g'
636
 
    #
637
 
    # So, first we look for a working echo in the user's PATH.
638
 
 
639
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640
 
    for dir in $PATH /usr/ucb; do
641
 
      IFS="$lt_save_ifs"
642
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
646
 
        ECHO="$dir/echo"
647
 
        break
648
 
      fi
649
 
    done
650
 
    IFS="$lt_save_ifs"
651
 
 
652
 
    if test "X$ECHO" = Xecho; then
653
 
      # We didn't find a better echo, so look for alternatives.
654
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
657
 
        # This shell has a builtin print -r that does the trick.
658
 
        ECHO='print -r'
659
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
661
 
        # If we have ksh, try running configure again with it.
662
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663
 
        export ORIGINAL_CONFIG_SHELL
664
 
        CONFIG_SHELL=/bin/ksh
665
 
        export CONFIG_SHELL
666
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
667
 
      else
668
 
        # Try using printf.
669
 
        ECHO='printf %s\n'
670
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
673
 
          # Cool, printf works
674
 
          :
675
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676
 
             test "X$echo_testing_string" = 'X\t' &&
677
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
679
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
680
 
          export CONFIG_SHELL
681
 
          SHELL="$CONFIG_SHELL"
682
 
          export SHELL
683
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
684
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685
 
             test "X$echo_testing_string" = 'X\t' &&
686
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
688
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
689
 
        else
690
 
          # maybe with a smaller string...
691
 
          prev=:
692
 
 
693
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
695
 
            then
696
 
              break
697
 
            fi
698
 
            prev="$cmd"
699
 
          done
700
 
 
701
 
          if test "$prev" != 'sed 50q "$0"'; then
702
 
            echo_test_string=`eval $prev`
703
 
            export echo_test_string
704
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705
 
          else
706
 
            # Oops.  We lost completely, so just stick with echo.
707
 
            ECHO=echo
708
 
          fi
709
 
        fi
710
 
      fi
711
 
    fi
712
 
  fi
713
 
fi
714
 
 
715
 
# Copy echo and quote the copy suitably for passing to libtool from
716
 
# the Makefile, instead of quoting the original, which is used later.
717
 
lt_ECHO=$ECHO
718
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
720
 
fi
721
 
 
722
 
 
723
 
 
724
 
 
725
 
exec 7<&0 </dev/null 6>&1
 
550
 
 
551
test -n "$DJDIR" || exec 7<&0 </dev/null
 
552
exec 6>&1
726
553
 
727
554
# Name of the host.
728
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
555
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
729
556
# so uname gets run too.
730
557
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
731
558
 
740
567
subdirs=
741
568
MFLAGS=
742
569
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
570
 
745
571
# Identity of this package.
746
572
PACKAGE_NAME='libXScrnSaver'
747
573
PACKAGE_TARNAME='libXScrnSaver'
748
 
PACKAGE_VERSION='1.2.0'
749
 
PACKAGE_STRING='libXScrnSaver 1.2.0'
 
574
PACKAGE_VERSION='1.2.1'
 
575
PACKAGE_STRING='libXScrnSaver 1.2.1'
750
576
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
 
577
PACKAGE_URL=''
751
578
 
752
579
# Factoring default headers for most tests.
753
580
ac_includes_default="\
789
616
am__EXEEXT_TRUE
790
617
LTLIBOBJS
791
618
LIBOBJS
792
 
distcleancheck_listfiles
793
 
CHANGELOG_CMD
794
 
ADMIN_MAN_DIR
795
 
DRIVER_MAN_DIR
796
 
MISC_MAN_DIR
797
 
FILE_MAN_DIR
798
 
LIB_MAN_DIR
799
 
APP_MAN_DIR
800
 
ADMIN_MAN_SUFFIX
801
 
DRIVER_MAN_SUFFIX
802
 
MISC_MAN_SUFFIX
803
 
FILE_MAN_SUFFIX
804
 
LIB_MAN_SUFFIX
805
 
APP_MAN_SUFFIX
806
619
XTMALLOC_ZERO_CFLAGS
807
620
XMALLOC_ZERO_CFLAGS
808
621
MALLOC_ZERO_CFLAGS
815
628
LINT
816
629
XSCRNSAVER_LIBS
817
630
XSCRNSAVER_CFLAGS
818
 
PKG_CONFIG
819
 
AM_BACKSLASH
820
 
AM_DEFAULT_VERBOSITY
821
 
CWARNFLAGS
822
 
CPP
823
631
OTOOL64
824
632
OTOOL
825
633
LIPO
826
634
NMEDIT
827
635
DSYMUTIL
828
 
lt_ECHO
829
636
RANLIB
830
637
AR
831
638
OBJDUMP
835
642
DUMPBIN
836
643
LD
837
644
FGREP
838
 
EGREP
839
 
GREP
 
645
LIBTOOL
 
646
AM_BACKSLASH
 
647
AM_DEFAULT_VERBOSITY
 
648
MAN_SUBSTS
 
649
XORG_MAN_PAGE
 
650
ADMIN_MAN_DIR
 
651
DRIVER_MAN_DIR
 
652
MISC_MAN_DIR
 
653
FILE_MAN_DIR
 
654
LIB_MAN_DIR
 
655
APP_MAN_DIR
 
656
ADMIN_MAN_SUFFIX
 
657
DRIVER_MAN_SUFFIX
 
658
MISC_MAN_SUFFIX
 
659
FILE_MAN_SUFFIX
 
660
LIB_MAN_SUFFIX
 
661
APP_MAN_SUFFIX
840
662
SED
841
663
host_os
842
664
host_vendor
846
668
build_vendor
847
669
build_cpu
848
670
build
849
 
LIBTOOL
 
671
INSTALL_CMD
 
672
PKG_CONFIG
 
673
CHANGELOG_CMD
 
674
CWARNFLAGS
 
675
EGREP
 
676
GREP
 
677
CPP
850
678
am__fastdepCC_FALSE
851
679
am__fastdepCC_TRUE
852
680
CCDEPMODE
919
747
program_transform_name
920
748
prefix
921
749
exec_prefix
 
750
PACKAGE_URL
922
751
PACKAGE_BUGREPORT
923
752
PACKAGE_STRING
924
753
PACKAGE_VERSION
931
760
enable_option_checking
932
761
enable_maintainer_mode
933
762
enable_dependency_tracking
 
763
enable_strict_compilation
 
764
enable_silent_rules
934
765
enable_shared
935
766
enable_static
936
767
with_pic
937
768
enable_fast_install
938
769
with_gnu_ld
939
770
enable_libtool_lock
940
 
enable_silent_rules
941
771
with_lint
942
772
enable_lint_library
943
773
enable_malloc0returnsnull
944
 
with_release_version
945
774
'
946
775
      ac_precious_vars='build_alias
947
776
host_alias
954
783
CPP
955
784
PKG_CONFIG
956
785
XSCRNSAVER_CFLAGS
957
 
XSCRNSAVER_LIBS'
 
786
XSCRNSAVER_LIBS
 
787
LINT
 
788
LINT_FLAGS'
958
789
 
959
790
 
960
791
# Initialize some variables set by options.
1017
848
  fi
1018
849
 
1019
850
  case $ac_option in
1020
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1021
 
  *)    ac_optarg=yes ;;
 
851
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
852
  *=)   ac_optarg= ;;
 
853
  *)    ac_optarg=yes ;;
1022
854
  esac
1023
855
 
1024
856
  # Accept the important Cygnus configure options, so we can diagnose typos.
1063
895
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1064
896
    # Reject names that are not valid shell variable names.
1065
897
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1067
 
   { (exit 1); exit 1; }; }
 
898
      as_fn_error $? "invalid feature name: $ac_useropt"
1068
899
    ac_useropt_orig=$ac_useropt
1069
900
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070
901
    case $ac_user_opts in
1090
921
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1091
922
    # Reject names that are not valid shell variable names.
1092
923
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1093
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1094
 
   { (exit 1); exit 1; }; }
 
924
      as_fn_error $? "invalid feature name: $ac_useropt"
1095
925
    ac_useropt_orig=$ac_useropt
1096
926
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097
927
    case $ac_user_opts in
1295
1125
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1296
1126
    # Reject names that are not valid shell variable names.
1297
1127
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1298
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1299
 
   { (exit 1); exit 1; }; }
 
1128
      as_fn_error $? "invalid package name: $ac_useropt"
1300
1129
    ac_useropt_orig=$ac_useropt
1301
1130
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1302
1131
    case $ac_user_opts in
1312
1141
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1313
1142
    # Reject names that are not valid shell variable names.
1314
1143
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1315
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1316
 
   { (exit 1); exit 1; }; }
 
1144
      as_fn_error $? "invalid package name: $ac_useropt"
1317
1145
    ac_useropt_orig=$ac_useropt
1318
1146
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1319
1147
    case $ac_user_opts in
1343
1171
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1344
1172
    x_libraries=$ac_optarg ;;
1345
1173
 
1346
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1347
 
Try \`$0 --help' for more information." >&2
1348
 
   { (exit 1); exit 1; }; }
 
1174
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1175
Try \`$0 --help' for more information"
1349
1176
    ;;
1350
1177
 
1351
1178
  *=*)
1352
1179
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1353
1180
    # Reject names that are not valid shell variable names.
1354
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1355
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1356
 
   { (exit 1); exit 1; }; }
 
1181
    case $ac_envvar in #(
 
1182
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1183
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1184
    esac
1357
1185
    eval $ac_envvar=\$ac_optarg
1358
1186
    export $ac_envvar ;;
1359
1187
 
1362
1190
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1363
1191
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1364
1192
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1365
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1193
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1366
1194
    ;;
1367
1195
 
1368
1196
  esac
1370
1198
 
1371
1199
if test -n "$ac_prev"; then
1372
1200
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1373
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1374
 
   { (exit 1); exit 1; }; }
 
1201
  as_fn_error $? "missing argument to $ac_option"
1375
1202
fi
1376
1203
 
1377
1204
if test -n "$ac_unrecognized_opts"; then
1378
1205
  case $enable_option_checking in
1379
1206
    no) ;;
1380
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1381
 
   { (exit 1); exit 1; }; } ;;
 
1207
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1382
1208
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1383
1209
  esac
1384
1210
fi
1401
1227
    [\\/$]* | ?:[\\/]* )  continue;;
1402
1228
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1403
1229
  esac
1404
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1405
 
   { (exit 1); exit 1; }; }
 
1230
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1406
1231
done
1407
1232
 
1408
1233
# There might be people who depend on the old broken behavior: `$host'
1416
1241
if test "x$host_alias" != x; then
1417
1242
  if test "x$build_alias" = x; then
1418
1243
    cross_compiling=maybe
1419
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1420
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1244
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1245
    If a cross compiler is detected then cross compile mode will be used" >&2
1421
1246
  elif test "x$build_alias" != "x$host_alias"; then
1422
1247
    cross_compiling=yes
1423
1248
  fi
1432
1257
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1433
1258
ac_ls_di=`ls -di .` &&
1434
1259
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1435
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1436
 
   { (exit 1); exit 1; }; }
 
1260
  as_fn_error $? "working directory cannot be determined"
1437
1261
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1438
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1439
 
   { (exit 1); exit 1; }; }
 
1262
  as_fn_error $? "pwd does not report name of working directory"
1440
1263
 
1441
1264
 
1442
1265
# Find the source files, if location was not specified.
1475
1298
fi
1476
1299
if test ! -r "$srcdir/$ac_unique_file"; then
1477
1300
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1478
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1479
 
   { (exit 1); exit 1; }; }
 
1301
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1480
1302
fi
1481
1303
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1482
1304
ac_abs_confdir=`(
1483
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1484
 
   { (exit 1); exit 1; }; }
 
1305
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1485
1306
        pwd)`
1486
1307
# When building in place, set srcdir=.
1487
1308
if test "$ac_abs_confdir" = "$ac_pwd"; then
1507
1328
  # Omit some internal or obsolete options to make the list less imposing.
1508
1329
  # This message is too long to be a string in the A/UX 3.1 sh.
1509
1330
  cat <<_ACEOF
1510
 
\`configure' configures libXScrnSaver 1.2.0 to adapt to many kinds of systems.
 
1331
\`configure' configures libXScrnSaver 1.2.1 to adapt to many kinds of systems.
1511
1332
 
1512
1333
Usage: $0 [OPTION]... [VAR=VALUE]...
1513
1334
 
1521
1342
      --help=short        display options specific to this package
1522
1343
      --help=recursive    display the short help of all the included packages
1523
1344
  -V, --version           display version information and exit
1524
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1345
  -q, --quiet, --silent   do not print \`checking ...' messages
1525
1346
      --cache-file=FILE   cache test results in FILE [disabled]
1526
1347
  -C, --config-cache      alias for \`--cache-file=config.cache'
1527
1348
  -n, --no-create         do not create output files
1577
1398
 
1578
1399
if test -n "$ac_init_help"; then
1579
1400
  case $ac_init_help in
1580
 
     short | recursive ) echo "Configuration of libXScrnSaver 1.2.0:";;
 
1401
     short | recursive ) echo "Configuration of libXScrnSaver 1.2.1:";;
1581
1402
   esac
1582
1403
  cat <<\_ACEOF
1583
1404
 
1589
1410
                          (and sometimes confusing) to the casual installer
1590
1411
  --disable-dependency-tracking  speeds up one-time build
1591
1412
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1413
  --enable-strict-compilation
 
1414
                          Enable all warnings from compiler and make them
 
1415
                          errors (default: disabled)
 
1416
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1417
  --disable-silent-rules         verbose build output (undo: `make V=0')
1592
1418
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1593
1419
  --enable-static[=PKGS]  build static libraries [default=yes]
1594
1420
  --enable-fast-install[=PKGS]
1595
1421
                          optimize for fast installation [default=yes]
1596
1422
  --disable-libtool-lock  avoid locking (might break parallel builds)
1597
 
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1598
 
  --disable-silent-rules         verbose build output (undo: `make V=0')
1599
1423
  --enable-lint-library   Create lint library (default: disabled)
1600
1424
  --enable-malloc0returnsnull
1601
1425
                          malloc(0) returns NULL (default: auto)
1608
1432
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1609
1433
  --with-lint             Use a lint-style source code checker (default:
1610
1434
                          disabled)
1611
 
  --with-release-version=STRING
1612
 
                          Use release version string in package name
1613
1435
 
1614
1436
Some influential environment variables:
1615
1437
  CC          C compiler command
1617
1439
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1618
1440
              nonstandard directory <lib dir>
1619
1441
  LIBS        libraries to pass to the linker, e.g. -l<library>
1620
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1442
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1621
1443
              you have headers in a nonstandard directory <include dir>
1622
1444
  CPP         C preprocessor
1623
1445
  PKG_CONFIG  path to pkg-config utility
1625
1447
              C compiler flags for XSCRNSAVER, overriding pkg-config
1626
1448
  XSCRNSAVER_LIBS
1627
1449
              linker flags for XSCRNSAVER, overriding pkg-config
 
1450
  LINT        Path to a lint-style command
 
1451
  LINT_FLAGS  Flags for the lint-style command
1628
1452
 
1629
1453
Use these variables to override the choices made by `configure' or to help
1630
1454
it to find libraries and programs with nonstandard names/locations.
1692
1516
test -n "$ac_init_help" && exit $ac_status
1693
1517
if $ac_init_version; then
1694
1518
  cat <<\_ACEOF
1695
 
libXScrnSaver configure 1.2.0
1696
 
generated by GNU Autoconf 2.63
 
1519
libXScrnSaver configure 1.2.1
 
1520
generated by GNU Autoconf 2.68
1697
1521
 
1698
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1699
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1522
Copyright (C) 2010 Free Software Foundation, Inc.
1700
1523
This configure script is free software; the Free Software Foundation
1701
1524
gives unlimited permission to copy, distribute and modify it.
1702
1525
_ACEOF
1703
1526
  exit
1704
1527
fi
 
1528
 
 
1529
## ------------------------ ##
 
1530
## Autoconf initialization. ##
 
1531
## ------------------------ ##
 
1532
 
 
1533
# ac_fn_c_try_compile LINENO
 
1534
# --------------------------
 
1535
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1536
ac_fn_c_try_compile ()
 
1537
{
 
1538
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1539
  rm -f conftest.$ac_objext
 
1540
  if { { ac_try="$ac_compile"
 
1541
case "(($ac_try" in
 
1542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1543
  *) ac_try_echo=$ac_try;;
 
1544
esac
 
1545
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1546
$as_echo "$ac_try_echo"; } >&5
 
1547
  (eval "$ac_compile") 2>conftest.err
 
1548
  ac_status=$?
 
1549
  if test -s conftest.err; then
 
1550
    grep -v '^ *+' conftest.err >conftest.er1
 
1551
    cat conftest.er1 >&5
 
1552
    mv -f conftest.er1 conftest.err
 
1553
  fi
 
1554
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1555
  test $ac_status = 0; } && {
 
1556
         test -z "$ac_c_werror_flag" ||
 
1557
         test ! -s conftest.err
 
1558
       } && test -s conftest.$ac_objext; then :
 
1559
  ac_retval=0
 
1560
else
 
1561
  $as_echo "$as_me: failed program was:" >&5
 
1562
sed 's/^/| /' conftest.$ac_ext >&5
 
1563
 
 
1564
        ac_retval=1
 
1565
fi
 
1566
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1567
  as_fn_set_status $ac_retval
 
1568
 
 
1569
} # ac_fn_c_try_compile
 
1570
 
 
1571
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1572
# ---------------------------------------------
 
1573
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1574
# accordingly.
 
1575
ac_fn_c_check_decl ()
 
1576
{
 
1577
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1578
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1579
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1580
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1581
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1582
if eval \${$3+:} false; then :
 
1583
  $as_echo_n "(cached) " >&6
 
1584
else
 
1585
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1586
/* end confdefs.h.  */
 
1587
$4
 
1588
int
 
1589
main ()
 
1590
{
 
1591
#ifndef $as_decl_name
 
1592
#ifdef __cplusplus
 
1593
  (void) $as_decl_use;
 
1594
#else
 
1595
  (void) $as_decl_name;
 
1596
#endif
 
1597
#endif
 
1598
 
 
1599
  ;
 
1600
  return 0;
 
1601
}
 
1602
_ACEOF
 
1603
if ac_fn_c_try_compile "$LINENO"; then :
 
1604
  eval "$3=yes"
 
1605
else
 
1606
  eval "$3=no"
 
1607
fi
 
1608
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1609
fi
 
1610
eval ac_res=\$$3
 
1611
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1612
$as_echo "$ac_res" >&6; }
 
1613
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1614
 
 
1615
} # ac_fn_c_check_decl
 
1616
 
 
1617
# ac_fn_c_try_cpp LINENO
 
1618
# ----------------------
 
1619
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1620
ac_fn_c_try_cpp ()
 
1621
{
 
1622
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1623
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1624
case "(($ac_try" in
 
1625
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1626
  *) ac_try_echo=$ac_try;;
 
1627
esac
 
1628
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1629
$as_echo "$ac_try_echo"; } >&5
 
1630
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1631
  ac_status=$?
 
1632
  if test -s conftest.err; then
 
1633
    grep -v '^ *+' conftest.err >conftest.er1
 
1634
    cat conftest.er1 >&5
 
1635
    mv -f conftest.er1 conftest.err
 
1636
  fi
 
1637
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1638
  test $ac_status = 0; } > conftest.i && {
 
1639
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1640
         test ! -s conftest.err
 
1641
       }; then :
 
1642
  ac_retval=0
 
1643
else
 
1644
  $as_echo "$as_me: failed program was:" >&5
 
1645
sed 's/^/| /' conftest.$ac_ext >&5
 
1646
 
 
1647
    ac_retval=1
 
1648
fi
 
1649
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1650
  as_fn_set_status $ac_retval
 
1651
 
 
1652
} # ac_fn_c_try_cpp
 
1653
 
 
1654
# ac_fn_c_try_run LINENO
 
1655
# ----------------------
 
1656
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1657
# that executables *can* be run.
 
1658
ac_fn_c_try_run ()
 
1659
{
 
1660
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1661
  if { { ac_try="$ac_link"
 
1662
case "(($ac_try" in
 
1663
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1664
  *) ac_try_echo=$ac_try;;
 
1665
esac
 
1666
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1667
$as_echo "$ac_try_echo"; } >&5
 
1668
  (eval "$ac_link") 2>&5
 
1669
  ac_status=$?
 
1670
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1671
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1672
  { { case "(($ac_try" in
 
1673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1674
  *) ac_try_echo=$ac_try;;
 
1675
esac
 
1676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1677
$as_echo "$ac_try_echo"; } >&5
 
1678
  (eval "$ac_try") 2>&5
 
1679
  ac_status=$?
 
1680
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1681
  test $ac_status = 0; }; }; then :
 
1682
  ac_retval=0
 
1683
else
 
1684
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1685
       $as_echo "$as_me: failed program was:" >&5
 
1686
sed 's/^/| /' conftest.$ac_ext >&5
 
1687
 
 
1688
       ac_retval=$ac_status
 
1689
fi
 
1690
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1691
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1692
  as_fn_set_status $ac_retval
 
1693
 
 
1694
} # ac_fn_c_try_run
 
1695
 
 
1696
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1697
# -------------------------------------------------------
 
1698
# Tests whether HEADER exists and can be compiled using the include files in
 
1699
# INCLUDES, setting the cache variable VAR accordingly.
 
1700
ac_fn_c_check_header_compile ()
 
1701
{
 
1702
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1703
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1704
$as_echo_n "checking for $2... " >&6; }
 
1705
if eval \${$3+:} false; then :
 
1706
  $as_echo_n "(cached) " >&6
 
1707
else
 
1708
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1709
/* end confdefs.h.  */
 
1710
$4
 
1711
#include <$2>
 
1712
_ACEOF
 
1713
if ac_fn_c_try_compile "$LINENO"; then :
 
1714
  eval "$3=yes"
 
1715
else
 
1716
  eval "$3=no"
 
1717
fi
 
1718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1719
fi
 
1720
eval ac_res=\$$3
 
1721
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1722
$as_echo "$ac_res" >&6; }
 
1723
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1724
 
 
1725
} # ac_fn_c_check_header_compile
 
1726
 
 
1727
# ac_fn_c_try_link LINENO
 
1728
# -----------------------
 
1729
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1730
ac_fn_c_try_link ()
 
1731
{
 
1732
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1733
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1734
  if { { ac_try="$ac_link"
 
1735
case "(($ac_try" in
 
1736
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1737
  *) ac_try_echo=$ac_try;;
 
1738
esac
 
1739
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1740
$as_echo "$ac_try_echo"; } >&5
 
1741
  (eval "$ac_link") 2>conftest.err
 
1742
  ac_status=$?
 
1743
  if test -s conftest.err; then
 
1744
    grep -v '^ *+' conftest.err >conftest.er1
 
1745
    cat conftest.er1 >&5
 
1746
    mv -f conftest.er1 conftest.err
 
1747
  fi
 
1748
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1749
  test $ac_status = 0; } && {
 
1750
         test -z "$ac_c_werror_flag" ||
 
1751
         test ! -s conftest.err
 
1752
       } && test -s conftest$ac_exeext && {
 
1753
         test "$cross_compiling" = yes ||
 
1754
         $as_test_x conftest$ac_exeext
 
1755
       }; then :
 
1756
  ac_retval=0
 
1757
else
 
1758
  $as_echo "$as_me: failed program was:" >&5
 
1759
sed 's/^/| /' conftest.$ac_ext >&5
 
1760
 
 
1761
        ac_retval=1
 
1762
fi
 
1763
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1764
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1765
  # interfere with the next link command; also delete a directory that is
 
1766
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1767
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1768
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1769
  as_fn_set_status $ac_retval
 
1770
 
 
1771
} # ac_fn_c_try_link
 
1772
 
 
1773
# ac_fn_c_check_func LINENO FUNC VAR
 
1774
# ----------------------------------
 
1775
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1776
ac_fn_c_check_func ()
 
1777
{
 
1778
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1779
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1780
$as_echo_n "checking for $2... " >&6; }
 
1781
if eval \${$3+:} false; then :
 
1782
  $as_echo_n "(cached) " >&6
 
1783
else
 
1784
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1785
/* end confdefs.h.  */
 
1786
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1787
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1788
#define $2 innocuous_$2
 
1789
 
 
1790
/* System header to define __stub macros and hopefully few prototypes,
 
1791
    which can conflict with char $2 (); below.
 
1792
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1793
    <limits.h> exists even on freestanding compilers.  */
 
1794
 
 
1795
#ifdef __STDC__
 
1796
# include <limits.h>
 
1797
#else
 
1798
# include <assert.h>
 
1799
#endif
 
1800
 
 
1801
#undef $2
 
1802
 
 
1803
/* Override any GCC internal prototype to avoid an error.
 
1804
   Use char because int might match the return type of a GCC
 
1805
   builtin and then its argument prototype would still apply.  */
 
1806
#ifdef __cplusplus
 
1807
extern "C"
 
1808
#endif
 
1809
char $2 ();
 
1810
/* The GNU C library defines this for functions which it implements
 
1811
    to always fail with ENOSYS.  Some functions are actually named
 
1812
    something starting with __ and the normal name is an alias.  */
 
1813
#if defined __stub_$2 || defined __stub___$2
 
1814
choke me
 
1815
#endif
 
1816
 
 
1817
int
 
1818
main ()
 
1819
{
 
1820
return $2 ();
 
1821
  ;
 
1822
  return 0;
 
1823
}
 
1824
_ACEOF
 
1825
if ac_fn_c_try_link "$LINENO"; then :
 
1826
  eval "$3=yes"
 
1827
else
 
1828
  eval "$3=no"
 
1829
fi
 
1830
rm -f core conftest.err conftest.$ac_objext \
 
1831
    conftest$ac_exeext conftest.$ac_ext
 
1832
fi
 
1833
eval ac_res=\$$3
 
1834
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1835
$as_echo "$ac_res" >&6; }
 
1836
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1837
 
 
1838
} # ac_fn_c_check_func
1705
1839
cat >config.log <<_ACEOF
1706
1840
This file contains any messages produced by compilers while
1707
1841
running configure, to aid debugging if configure makes a mistake.
1708
1842
 
1709
 
It was created by libXScrnSaver $as_me 1.2.0, which was
1710
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
1843
It was created by libXScrnSaver $as_me 1.2.1, which was
 
1844
generated by GNU Autoconf 2.68.  Invocation command line was
1711
1845
 
1712
1846
  $ $0 $@
1713
1847
 
1743
1877
do
1744
1878
  IFS=$as_save_IFS
1745
1879
  test -z "$as_dir" && as_dir=.
1746
 
  $as_echo "PATH: $as_dir"
1747
 
done
 
1880
    $as_echo "PATH: $as_dir"
 
1881
  done
1748
1882
IFS=$as_save_IFS
1749
1883
 
1750
1884
} >&5
1781
1915
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1782
1916
    esac
1783
1917
    case $ac_pass in
1784
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
1918
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1785
1919
    2)
1786
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
1920
      as_fn_append ac_configure_args1 " '$ac_arg'"
1787
1921
      if test $ac_must_keep_next = true; then
1788
1922
        ac_must_keep_next=false # Got value, back to normal.
1789
1923
      else
1799
1933
          -* ) ac_must_keep_next=true ;;
1800
1934
        esac
1801
1935
      fi
1802
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
1936
      as_fn_append ac_configure_args " '$ac_arg'"
1803
1937
      ;;
1804
1938
    esac
1805
1939
  done
1806
1940
done
1807
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1808
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
1941
{ ac_configure_args0=; unset ac_configure_args0;}
 
1942
{ ac_configure_args1=; unset ac_configure_args1;}
1809
1943
 
1810
1944
# When interrupted or exit'd, cleanup temporary files, and complete
1811
1945
# config.log.  We remove comments because anyway the quotes in there
1817
1951
  {
1818
1952
    echo
1819
1953
 
1820
 
    cat <<\_ASBOX
1821
 
## ---------------- ##
 
1954
    $as_echo "## ---------------- ##
1822
1955
## Cache variables. ##
1823
 
## ---------------- ##
1824
 
_ASBOX
 
1956
## ---------------- ##"
1825
1957
    echo
1826
1958
    # The following way of writing the cache mishandles newlines in values,
1827
1959
(
1830
1962
    case $ac_val in #(
1831
1963
    *${as_nl}*)
1832
1964
      case $ac_var in #(
1833
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1965
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1834
1966
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1835
1967
      esac
1836
1968
      case $ac_var in #(
1837
1969
      _ | IFS | as_nl) ;; #(
1838
1970
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1839
 
      *) $as_unset $ac_var ;;
 
1971
      *) { eval $ac_var=; unset $ac_var;} ;;
1840
1972
      esac ;;
1841
1973
    esac
1842
1974
  done
1855
1987
)
1856
1988
    echo
1857
1989
 
1858
 
    cat <<\_ASBOX
1859
 
## ----------------- ##
 
1990
    $as_echo "## ----------------- ##
1860
1991
## Output variables. ##
1861
 
## ----------------- ##
1862
 
_ASBOX
 
1992
## ----------------- ##"
1863
1993
    echo
1864
1994
    for ac_var in $ac_subst_vars
1865
1995
    do
1872
2002
    echo
1873
2003
 
1874
2004
    if test -n "$ac_subst_files"; then
1875
 
      cat <<\_ASBOX
1876
 
## ------------------- ##
 
2005
      $as_echo "## ------------------- ##
1877
2006
## File substitutions. ##
1878
 
## ------------------- ##
1879
 
_ASBOX
 
2007
## ------------------- ##"
1880
2008
      echo
1881
2009
      for ac_var in $ac_subst_files
1882
2010
      do
1890
2018
    fi
1891
2019
 
1892
2020
    if test -s confdefs.h; then
1893
 
      cat <<\_ASBOX
1894
 
## ----------- ##
 
2021
      $as_echo "## ----------- ##
1895
2022
## confdefs.h. ##
1896
 
## ----------- ##
1897
 
_ASBOX
 
2023
## ----------- ##"
1898
2024
      echo
1899
2025
      cat confdefs.h
1900
2026
      echo
1908
2034
    exit $exit_status
1909
2035
' 0
1910
2036
for ac_signal in 1 2 13 15; do
1911
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2037
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1912
2038
done
1913
2039
ac_signal=0
1914
2040
 
1915
2041
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1916
2042
rm -f -r conftest* confdefs.h
1917
2043
 
 
2044
$as_echo "/* confdefs.h */" > confdefs.h
 
2045
 
1918
2046
# Predefined preprocessor variables.
1919
2047
 
1920
2048
cat >>confdefs.h <<_ACEOF
1921
2049
#define PACKAGE_NAME "$PACKAGE_NAME"
1922
2050
_ACEOF
1923
2051
 
1924
 
 
1925
2052
cat >>confdefs.h <<_ACEOF
1926
2053
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1927
2054
_ACEOF
1928
2055
 
1929
 
 
1930
2056
cat >>confdefs.h <<_ACEOF
1931
2057
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1932
2058
_ACEOF
1933
2059
 
1934
 
 
1935
2060
cat >>confdefs.h <<_ACEOF
1936
2061
#define PACKAGE_STRING "$PACKAGE_STRING"
1937
2062
_ACEOF
1938
2063
 
1939
 
 
1940
2064
cat >>confdefs.h <<_ACEOF
1941
2065
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1942
2066
_ACEOF
1943
2067
 
 
2068
cat >>confdefs.h <<_ACEOF
 
2069
#define PACKAGE_URL "$PACKAGE_URL"
 
2070
_ACEOF
 
2071
 
1944
2072
 
1945
2073
# Let the site file select an alternate cache file if it wants to.
1946
2074
# Prefer an explicitly selected file to automatically selected ones.
1947
2075
ac_site_file1=NONE
1948
2076
ac_site_file2=NONE
1949
2077
if test -n "$CONFIG_SITE"; then
1950
 
  ac_site_file1=$CONFIG_SITE
 
2078
  # We do not want a PATH search for config.site.
 
2079
  case $CONFIG_SITE in #((
 
2080
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2081
    */*) ac_site_file1=$CONFIG_SITE;;
 
2082
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2083
  esac
1951
2084
elif test "x$prefix" != xNONE; then
1952
2085
  ac_site_file1=$prefix/share/config.site
1953
2086
  ac_site_file2=$prefix/etc/config.site
1958
2091
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1959
2092
do
1960
2093
  test "x$ac_site_file" = xNONE && continue
1961
 
  if test -r "$ac_site_file"; then
1962
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2094
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2095
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1963
2096
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1964
2097
    sed 's/^/| /' "$ac_site_file" >&5
1965
 
    . "$ac_site_file"
 
2098
    . "$ac_site_file" \
 
2099
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2100
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2101
as_fn_error $? "failed to load site script $ac_site_file
 
2102
See \`config.log' for more details" "$LINENO" 5; }
1966
2103
  fi
1967
2104
done
1968
2105
 
1969
2106
if test -r "$cache_file"; then
1970
 
  # Some versions of bash will fail to source /dev/null (special
1971
 
  # files actually), so we avoid doing that.
1972
 
  if test -f "$cache_file"; then
1973
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2107
  # Some versions of bash will fail to source /dev/null (special files
 
2108
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2109
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2110
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1974
2111
$as_echo "$as_me: loading cache $cache_file" >&6;}
1975
2112
    case $cache_file in
1976
2113
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1978
2115
    esac
1979
2116
  fi
1980
2117
else
1981
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2118
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1982
2119
$as_echo "$as_me: creating cache $cache_file" >&6;}
1983
2120
  >$cache_file
1984
2121
fi
1993
2130
  eval ac_new_val=\$ac_env_${ac_var}_value
1994
2131
  case $ac_old_set,$ac_new_set in
1995
2132
    set,)
1996
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2133
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1997
2134
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1998
2135
      ac_cache_corrupted=: ;;
1999
2136
    ,set)
2000
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2137
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2001
2138
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2002
2139
      ac_cache_corrupted=: ;;
2003
2140
    ,);;
2007
2144
        ac_old_val_w=`echo x $ac_old_val`
2008
2145
        ac_new_val_w=`echo x $ac_new_val`
2009
2146
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2010
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2147
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2011
2148
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2012
2149
          ac_cache_corrupted=:
2013
2150
        else
2014
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2151
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2015
2152
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2016
2153
          eval $ac_var=\$ac_old_val
2017
2154
        fi
2018
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2155
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2019
2156
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2020
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2157
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2021
2158
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2022
2159
      fi;;
2023
2160
  esac
2029
2166
    esac
2030
2167
    case " $ac_configure_args " in
2031
2168
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2032
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2169
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2033
2170
    esac
2034
2171
  fi
2035
2172
done
2036
2173
if $ac_cache_corrupted; then
2037
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2174
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2038
2175
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2039
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2176
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2040
2177
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2041
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2042
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2043
 
   { (exit 1); exit 1; }; }
 
2178
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2044
2179
fi
2045
 
 
2046
 
 
2047
 
 
2048
 
 
2049
 
 
2050
 
 
2051
 
 
2052
 
 
2053
 
 
2054
 
 
2055
 
 
2056
 
 
2057
 
 
2058
 
 
2059
 
 
2060
 
 
2061
 
 
2062
 
 
2063
 
 
2064
 
 
2065
 
 
2066
 
 
2067
 
 
2068
 
 
 
2180
## -------------------- ##
 
2181
## Main body of script. ##
 
2182
## -------------------- ##
2069
2183
 
2070
2184
ac_ext=c
2071
2185
ac_cpp='$CPP $CPPFLAGS'
2093
2207
  fi
2094
2208
done
2095
2209
if test -z "$ac_aux_dir"; then
2096
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2097
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2098
 
   { (exit 1); exit 1; }; }
 
2210
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2099
2211
fi
2100
2212
 
2101
2213
# These three variables are undocumented and unsupported,
2121
2233
# OS/2's system install, which has a completely different semantic
2122
2234
# ./install, which can be erroneously created by make from ./install.sh.
2123
2235
# Reject install programs that cannot install multiple files.
2124
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2125
2237
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2126
2238
if test -z "$INSTALL"; then
2127
 
if test "${ac_cv_path_install+set}" = set; then
 
2239
if ${ac_cv_path_install+:} false; then :
2128
2240
  $as_echo_n "(cached) " >&6
2129
2241
else
2130
2242
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132
2244
do
2133
2245
  IFS=$as_save_IFS
2134
2246
  test -z "$as_dir" && as_dir=.
2135
 
  # Account for people who put trailing slashes in PATH elements.
2136
 
case $as_dir/ in
2137
 
  ./ | .// | /cC/* | \
 
2247
    # Account for people who put trailing slashes in PATH elements.
 
2248
case $as_dir/ in #((
 
2249
  ./ | .// | /[cC]/* | \
2138
2250
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2139
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2251
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2140
2252
  /usr/ucb/* ) ;;
2141
2253
  *)
2142
2254
    # OSF1 and SCO ODT 3.0 have their own names for install.
2173
2285
    ;;
2174
2286
esac
2175
2287
 
2176
 
done
 
2288
  done
2177
2289
IFS=$as_save_IFS
2178
2290
 
2179
2291
rm -rf conftest.one conftest.two conftest.dir
2189
2301
    INSTALL=$ac_install_sh
2190
2302
  fi
2191
2303
fi
2192
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2193
2305
$as_echo "$INSTALL" >&6; }
2194
2306
 
2195
2307
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2200
2312
 
2201
2313
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2202
2314
 
2203
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2204
2316
$as_echo_n "checking whether build environment is sane... " >&6; }
2205
2317
# Just in case
2206
2318
sleep 1
2211
2323
'
2212
2324
case `pwd` in
2213
2325
  *[\\\"\#\$\&\'\`$am_lf]*)
2214
 
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2215
 
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2216
 
   { (exit 1); exit 1; }; };;
 
2326
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2217
2327
esac
2218
2328
case $srcdir in
2219
2329
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2220
 
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2221
 
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2222
 
   { (exit 1); exit 1; }; };;
 
2330
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2223
2331
esac
2224
2332
 
2225
2333
# Do `set' in a subshell so we don't clobber the current shell's
2241
2349
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2242
2350
      # broken ls alias from the environment.  This has actually
2243
2351
      # happened.  Such a system could not be considered "sane".
2244
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2245
 
alias in your environment" >&5
2246
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2247
 
alias in your environment" >&2;}
2248
 
   { (exit 1); exit 1; }; }
 
2352
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2353
alias in your environment" "$LINENO" 5
2249
2354
   fi
2250
2355
 
2251
2356
   test "$2" = conftest.file
2254
2359
   # Ok.
2255
2360
   :
2256
2361
else
2257
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2258
 
Check your system clock" >&5
2259
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2260
 
Check your system clock" >&2;}
2261
 
   { (exit 1); exit 1; }; }
 
2362
   as_fn_error $? "newly created file is older than distributed files!
 
2363
Check your system clock" "$LINENO" 5
2262
2364
fi
2263
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2365
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2264
2366
$as_echo "yes" >&6; }
2265
2367
test "$program_prefix" != NONE &&
2266
2368
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2288
2390
  am_missing_run="$MISSING --run "
2289
2391
else
2290
2392
  am_missing_run=
2291
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2393
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2292
2394
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2293
2395
fi
2294
2396
 
2309
2411
  if test -n "$ac_tool_prefix"; then
2310
2412
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2311
2413
set dummy ${ac_tool_prefix}strip; ac_word=$2
2312
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2313
2415
$as_echo_n "checking for $ac_word... " >&6; }
2314
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2416
if ${ac_cv_prog_STRIP+:} false; then :
2315
2417
  $as_echo_n "(cached) " >&6
2316
2418
else
2317
2419
  if test -n "$STRIP"; then
2322
2424
do
2323
2425
  IFS=$as_save_IFS
2324
2426
  test -z "$as_dir" && as_dir=.
2325
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2427
    for ac_exec_ext in '' $ac_executable_extensions; do
2326
2428
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2327
2429
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2328
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2430
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2329
2431
    break 2
2330
2432
  fi
2331
2433
done
2332
 
done
 
2434
  done
2333
2435
IFS=$as_save_IFS
2334
2436
 
2335
2437
fi
2336
2438
fi
2337
2439
STRIP=$ac_cv_prog_STRIP
2338
2440
if test -n "$STRIP"; then
2339
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2340
2442
$as_echo "$STRIP" >&6; }
2341
2443
else
2342
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2444
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2343
2445
$as_echo "no" >&6; }
2344
2446
fi
2345
2447
 
2349
2451
  ac_ct_STRIP=$STRIP
2350
2452
  # Extract the first word of "strip", so it can be a program name with args.
2351
2453
set dummy strip; ac_word=$2
2352
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2353
2455
$as_echo_n "checking for $ac_word... " >&6; }
2354
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2456
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2355
2457
  $as_echo_n "(cached) " >&6
2356
2458
else
2357
2459
  if test -n "$ac_ct_STRIP"; then
2362
2464
do
2363
2465
  IFS=$as_save_IFS
2364
2466
  test -z "$as_dir" && as_dir=.
2365
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2467
    for ac_exec_ext in '' $ac_executable_extensions; do
2366
2468
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2367
2469
    ac_cv_prog_ac_ct_STRIP="strip"
2368
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2470
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2369
2471
    break 2
2370
2472
  fi
2371
2473
done
2372
 
done
 
2474
  done
2373
2475
IFS=$as_save_IFS
2374
2476
 
2375
2477
fi
2376
2478
fi
2377
2479
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2378
2480
if test -n "$ac_ct_STRIP"; then
2379
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2481
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2380
2482
$as_echo "$ac_ct_STRIP" >&6; }
2381
2483
else
2382
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2484
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2383
2485
$as_echo "no" >&6; }
2384
2486
fi
2385
2487
 
2388
2490
  else
2389
2491
    case $cross_compiling:$ac_tool_warned in
2390
2492
yes:)
2391
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2493
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2392
2494
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2393
2495
ac_tool_warned=yes ;;
2394
2496
esac
2401
2503
fi
2402
2504
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2403
2505
 
2404
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2405
2507
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2406
2508
if test -z "$MKDIR_P"; then
2407
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2509
  if ${ac_cv_path_mkdir+:} false; then :
2408
2510
  $as_echo_n "(cached) " >&6
2409
2511
else
2410
2512
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412
2514
do
2413
2515
  IFS=$as_save_IFS
2414
2516
  test -z "$as_dir" && as_dir=.
2415
 
  for ac_prog in mkdir gmkdir; do
 
2517
    for ac_prog in mkdir gmkdir; do
2416
2518
         for ac_exec_ext in '' $ac_executable_extensions; do
2417
2519
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2418
2520
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2424
2526
           esac
2425
2527
         done
2426
2528
       done
2427
 
done
 
2529
  done
2428
2530
IFS=$as_save_IFS
2429
2531
 
2430
2532
fi
2431
2533
 
 
2534
  test -d ./--version && rmdir ./--version
2432
2535
  if test "${ac_cv_path_mkdir+set}" = set; then
2433
2536
    MKDIR_P="$ac_cv_path_mkdir -p"
2434
2537
  else
2436
2539
    # value for MKDIR_P within a source directory, because that will
2437
2540
    # break other packages using the cache if that directory is
2438
2541
    # removed, or if the value is a relative name.
2439
 
    test -d ./--version && rmdir ./--version
2440
2542
    MKDIR_P="$ac_install_sh -d"
2441
2543
  fi
2442
2544
fi
2443
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2444
2546
$as_echo "$MKDIR_P" >&6; }
2445
2547
 
2446
2548
mkdir_p="$MKDIR_P"
2453
2555
do
2454
2556
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2455
2557
set dummy $ac_prog; ac_word=$2
2456
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2457
2559
$as_echo_n "checking for $ac_word... " >&6; }
2458
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2560
if ${ac_cv_prog_AWK+:} false; then :
2459
2561
  $as_echo_n "(cached) " >&6
2460
2562
else
2461
2563
  if test -n "$AWK"; then
2466
2568
do
2467
2569
  IFS=$as_save_IFS
2468
2570
  test -z "$as_dir" && as_dir=.
2469
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2571
    for ac_exec_ext in '' $ac_executable_extensions; do
2470
2572
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471
2573
    ac_cv_prog_AWK="$ac_prog"
2472
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2574
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2473
2575
    break 2
2474
2576
  fi
2475
2577
done
2476
 
done
 
2578
  done
2477
2579
IFS=$as_save_IFS
2478
2580
 
2479
2581
fi
2480
2582
fi
2481
2583
AWK=$ac_cv_prog_AWK
2482
2584
if test -n "$AWK"; then
2483
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2585
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2484
2586
$as_echo "$AWK" >&6; }
2485
2587
else
2486
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2588
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2487
2589
$as_echo "no" >&6; }
2488
2590
fi
2489
2591
 
2491
2593
  test -n "$AWK" && break
2492
2594
done
2493
2595
 
2494
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2495
2597
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2496
2598
set x ${MAKE-make}
2497
2599
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2498
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2600
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2499
2601
  $as_echo_n "(cached) " >&6
2500
2602
else
2501
2603
  cat >conftest.make <<\_ACEOF
2503
2605
all:
2504
2606
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2505
2607
_ACEOF
2506
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2608
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2507
2609
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2508
2610
  *@@@%%%=?*=@@@%%%*)
2509
2611
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2513
2615
rm -f conftest.make
2514
2616
fi
2515
2617
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2516
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2618
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2517
2619
$as_echo "yes" >&6; }
2518
2620
  SET_MAKE=
2519
2621
else
2520
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2622
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2521
2623
$as_echo "no" >&6; }
2522
2624
  SET_MAKE="MAKE=${MAKE-make}"
2523
2625
fi
2537
2639
  am__isrc=' -I$(srcdir)'
2538
2640
  # test to see if srcdir already configured
2539
2641
  if test -f $srcdir/config.status; then
2540
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2541
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2542
 
   { (exit 1); exit 1; }; }
 
2642
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2543
2643
  fi
2544
2644
fi
2545
2645
 
2555
2655
 
2556
2656
# Define the identity of the package.
2557
2657
 PACKAGE='libXScrnSaver'
2558
 
 VERSION='1.2.0'
 
2658
 VERSION='1.2.1'
2559
2659
 
2560
2660
 
2561
2661
cat >>confdefs.h <<_ACEOF
2596
2696
 
2597
2697
 
2598
2698
 
2599
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2600
2700
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2601
2701
    # Check whether --enable-maintainer-mode was given.
2602
 
if test "${enable_maintainer_mode+set}" = set; then
 
2702
if test "${enable_maintainer_mode+set}" = set; then :
2603
2703
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2604
2704
else
2605
2705
  USE_MAINTAINER_MODE=no
2606
2706
fi
2607
2707
 
2608
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
2708
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2609
2709
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2610
2710
   if test $USE_MAINTAINER_MODE = yes; then
2611
2711
  MAINTAINER_MODE_TRUE=
2622
2722
ac_config_headers="$ac_config_headers config.h"
2623
2723
 
2624
2724
 
2625
 
# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG, XORG_WITH_LINT
2626
 
 
2627
 
 
2628
 
 
2629
 
 
2630
 
 
2631
 
 
2632
 
 
2633
 
 
2634
 
 
2635
 
 
2636
 
 
2637
 
 
2638
 
# Check for progs
 
2725
# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
 
2726
 
 
2727
 
 
2728
 
 
2729
 
 
2730
 
 
2731
 
 
2732
 
 
2733
 
 
2734
 
 
2735
 
 
2736
 
 
2737
DEPDIR="${am__leading_dot}deps"
 
2738
 
 
2739
ac_config_commands="$ac_config_commands depfiles"
 
2740
 
 
2741
 
 
2742
am_make=${MAKE-make}
 
2743
cat > confinc << 'END'
 
2744
am__doit:
 
2745
        @echo this is the am__doit target
 
2746
.PHONY: am__doit
 
2747
END
 
2748
# If we don't find an include directive, just comment out the code.
 
2749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
2750
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
2751
am__include="#"
 
2752
am__quote=
 
2753
_am_result=none
 
2754
# First try GNU make style include.
 
2755
echo "include confinc" > confmf
 
2756
# Ignore all kinds of additional output from `make'.
 
2757
case `$am_make -s -f confmf 2> /dev/null` in #(
 
2758
*the\ am__doit\ target*)
 
2759
  am__include=include
 
2760
  am__quote=
 
2761
  _am_result=GNU
 
2762
  ;;
 
2763
esac
 
2764
# Now try BSD make style include.
 
2765
if test "$am__include" = "#"; then
 
2766
   echo '.include "confinc"' > confmf
 
2767
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
2768
   *the\ am__doit\ target*)
 
2769
     am__include=.include
 
2770
     am__quote="\""
 
2771
     _am_result=BSD
 
2772
     ;;
 
2773
   esac
 
2774
fi
 
2775
 
 
2776
 
 
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
2778
$as_echo "$_am_result" >&6; }
 
2779
rm -f confinc confmf
 
2780
 
 
2781
# Check whether --enable-dependency-tracking was given.
 
2782
if test "${enable_dependency_tracking+set}" = set; then :
 
2783
  enableval=$enable_dependency_tracking;
 
2784
fi
 
2785
 
 
2786
if test "x$enable_dependency_tracking" != xno; then
 
2787
  am_depcomp="$ac_aux_dir/depcomp"
 
2788
  AMDEPBACKSLASH='\'
 
2789
fi
 
2790
 if test "x$enable_dependency_tracking" != xno; then
 
2791
  AMDEP_TRUE=
 
2792
  AMDEP_FALSE='#'
 
2793
else
 
2794
  AMDEP_TRUE='#'
 
2795
  AMDEP_FALSE=
 
2796
fi
 
2797
 
 
2798
 
2639
2799
ac_ext=c
2640
2800
ac_cpp='$CPP $CPPFLAGS'
2641
2801
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2644
2804
if test -n "$ac_tool_prefix"; then
2645
2805
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2646
2806
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2647
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2648
2808
$as_echo_n "checking for $ac_word... " >&6; }
2649
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2809
if ${ac_cv_prog_CC+:} false; then :
2650
2810
  $as_echo_n "(cached) " >&6
2651
2811
else
2652
2812
  if test -n "$CC"; then
2657
2817
do
2658
2818
  IFS=$as_save_IFS
2659
2819
  test -z "$as_dir" && as_dir=.
2660
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2820
    for ac_exec_ext in '' $ac_executable_extensions; do
2661
2821
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2662
2822
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2663
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2823
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664
2824
    break 2
2665
2825
  fi
2666
2826
done
2667
 
done
 
2827
  done
2668
2828
IFS=$as_save_IFS
2669
2829
 
2670
2830
fi
2671
2831
fi
2672
2832
CC=$ac_cv_prog_CC
2673
2833
if test -n "$CC"; then
2674
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2834
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2675
2835
$as_echo "$CC" >&6; }
2676
2836
else
2677
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2837
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2678
2838
$as_echo "no" >&6; }
2679
2839
fi
2680
2840
 
2684
2844
  ac_ct_CC=$CC
2685
2845
  # Extract the first word of "gcc", so it can be a program name with args.
2686
2846
set dummy gcc; ac_word=$2
2687
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2688
2848
$as_echo_n "checking for $ac_word... " >&6; }
2689
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
2849
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2690
2850
  $as_echo_n "(cached) " >&6
2691
2851
else
2692
2852
  if test -n "$ac_ct_CC"; then
2697
2857
do
2698
2858
  IFS=$as_save_IFS
2699
2859
  test -z "$as_dir" && as_dir=.
2700
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2860
    for ac_exec_ext in '' $ac_executable_extensions; do
2701
2861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2702
2862
    ac_cv_prog_ac_ct_CC="gcc"
2703
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2704
2864
    break 2
2705
2865
  fi
2706
2866
done
2707
 
done
 
2867
  done
2708
2868
IFS=$as_save_IFS
2709
2869
 
2710
2870
fi
2711
2871
fi
2712
2872
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2713
2873
if test -n "$ac_ct_CC"; then
2714
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2715
2875
$as_echo "$ac_ct_CC" >&6; }
2716
2876
else
2717
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718
2878
$as_echo "no" >&6; }
2719
2879
fi
2720
2880
 
2723
2883
  else
2724
2884
    case $cross_compiling:$ac_tool_warned in
2725
2885
yes:)
2726
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2727
2887
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2728
2888
ac_tool_warned=yes ;;
2729
2889
esac
2737
2897
          if test -n "$ac_tool_prefix"; then
2738
2898
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2739
2899
set dummy ${ac_tool_prefix}cc; ac_word=$2
2740
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741
2901
$as_echo_n "checking for $ac_word... " >&6; }
2742
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2902
if ${ac_cv_prog_CC+:} false; then :
2743
2903
  $as_echo_n "(cached) " >&6
2744
2904
else
2745
2905
  if test -n "$CC"; then
2750
2910
do
2751
2911
  IFS=$as_save_IFS
2752
2912
  test -z "$as_dir" && as_dir=.
2753
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2913
    for ac_exec_ext in '' $ac_executable_extensions; do
2754
2914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755
2915
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2756
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2916
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757
2917
    break 2
2758
2918
  fi
2759
2919
done
2760
 
done
 
2920
  done
2761
2921
IFS=$as_save_IFS
2762
2922
 
2763
2923
fi
2764
2924
fi
2765
2925
CC=$ac_cv_prog_CC
2766
2926
if test -n "$CC"; then
2767
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2927
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2768
2928
$as_echo "$CC" >&6; }
2769
2929
else
2770
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2930
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771
2931
$as_echo "no" >&6; }
2772
2932
fi
2773
2933
 
2777
2937
if test -z "$CC"; then
2778
2938
  # Extract the first word of "cc", so it can be a program name with args.
2779
2939
set dummy cc; ac_word=$2
2780
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781
2941
$as_echo_n "checking for $ac_word... " >&6; }
2782
 
if test "${ac_cv_prog_CC+set}" = set; then
 
2942
if ${ac_cv_prog_CC+:} false; then :
2783
2943
  $as_echo_n "(cached) " >&6
2784
2944
else
2785
2945
  if test -n "$CC"; then
2791
2951
do
2792
2952
  IFS=$as_save_IFS
2793
2953
  test -z "$as_dir" && as_dir=.
2794
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2954
    for ac_exec_ext in '' $ac_executable_extensions; do
2795
2955
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2796
2956
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2797
2957
       ac_prog_rejected=yes
2798
2958
       continue
2799
2959
     fi
2800
2960
    ac_cv_prog_CC="cc"
2801
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2961
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2802
2962
    break 2
2803
2963
  fi
2804
2964
done
2805
 
done
 
2965
  done
2806
2966
IFS=$as_save_IFS
2807
2967
 
2808
2968
if test $ac_prog_rejected = yes; then
2821
2981
fi
2822
2982
CC=$ac_cv_prog_CC
2823
2983
if test -n "$CC"; then
2824
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2984
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2825
2985
$as_echo "$CC" >&6; }
2826
2986
else
2827
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2987
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2828
2988
$as_echo "no" >&6; }
2829
2989
fi
2830
2990
 
2836
2996
  do
2837
2997
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2838
2998
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2839
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2840
3000
$as_echo_n "checking for $ac_word... " >&6; }
2841
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3001
if ${ac_cv_prog_CC+:} false; then :
2842
3002
  $as_echo_n "(cached) " >&6
2843
3003
else
2844
3004
  if test -n "$CC"; then
2849
3009
do
2850
3010
  IFS=$as_save_IFS
2851
3011
  test -z "$as_dir" && as_dir=.
2852
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3012
    for ac_exec_ext in '' $ac_executable_extensions; do
2853
3013
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2854
3014
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2855
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3015
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2856
3016
    break 2
2857
3017
  fi
2858
3018
done
2859
 
done
 
3019
  done
2860
3020
IFS=$as_save_IFS
2861
3021
 
2862
3022
fi
2863
3023
fi
2864
3024
CC=$ac_cv_prog_CC
2865
3025
if test -n "$CC"; then
2866
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2867
3027
$as_echo "$CC" >&6; }
2868
3028
else
2869
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870
3030
$as_echo "no" >&6; }
2871
3031
fi
2872
3032
 
2880
3040
do
2881
3041
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2882
3042
set dummy $ac_prog; ac_word=$2
2883
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2884
3044
$as_echo_n "checking for $ac_word... " >&6; }
2885
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3045
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2886
3046
  $as_echo_n "(cached) " >&6
2887
3047
else
2888
3048
  if test -n "$ac_ct_CC"; then
2893
3053
do
2894
3054
  IFS=$as_save_IFS
2895
3055
  test -z "$as_dir" && as_dir=.
2896
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3056
    for ac_exec_ext in '' $ac_executable_extensions; do
2897
3057
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2898
3058
    ac_cv_prog_ac_ct_CC="$ac_prog"
2899
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3059
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900
3060
    break 2
2901
3061
  fi
2902
3062
done
2903
 
done
 
3063
  done
2904
3064
IFS=$as_save_IFS
2905
3065
 
2906
3066
fi
2907
3067
fi
2908
3068
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2909
3069
if test -n "$ac_ct_CC"; then
2910
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3070
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2911
3071
$as_echo "$ac_ct_CC" >&6; }
2912
3072
else
2913
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3073
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2914
3074
$as_echo "no" >&6; }
2915
3075
fi
2916
3076
 
2923
3083
  else
2924
3084
    case $cross_compiling:$ac_tool_warned in
2925
3085
yes:)
2926
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3086
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2927
3087
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2928
3088
ac_tool_warned=yes ;;
2929
3089
esac
2934
3094
fi
2935
3095
 
2936
3096
 
2937
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3097
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2938
3098
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2939
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2940
 
See \`config.log' for more details." >&5
2941
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2942
 
See \`config.log' for more details." >&2;}
2943
 
   { (exit 1); exit 1; }; }; }
 
3099
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3100
See \`config.log' for more details" "$LINENO" 5; }
2944
3101
 
2945
3102
# Provide some information about the compiler.
2946
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3103
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2947
3104
set X $ac_compile
2948
3105
ac_compiler=$2
2949
 
{ (ac_try="$ac_compiler --version >&5"
2950
 
case "(($ac_try" in
2951
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952
 
  *) ac_try_echo=$ac_try;;
2953
 
esac
2954
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2955
 
$as_echo "$ac_try_echo") >&5
2956
 
  (eval "$ac_compiler --version >&5") 2>&5
2957
 
  ac_status=$?
2958
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959
 
  (exit $ac_status); }
2960
 
{ (ac_try="$ac_compiler -v >&5"
2961
 
case "(($ac_try" in
2962
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2963
 
  *) ac_try_echo=$ac_try;;
2964
 
esac
2965
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2966
 
$as_echo "$ac_try_echo") >&5
2967
 
  (eval "$ac_compiler -v >&5") 2>&5
2968
 
  ac_status=$?
2969
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970
 
  (exit $ac_status); }
2971
 
{ (ac_try="$ac_compiler -V >&5"
2972
 
case "(($ac_try" in
2973
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974
 
  *) ac_try_echo=$ac_try;;
2975
 
esac
2976
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2977
 
$as_echo "$ac_try_echo") >&5
2978
 
  (eval "$ac_compiler -V >&5") 2>&5
2979
 
  ac_status=$?
2980
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
 
  (exit $ac_status); }
 
3106
for ac_option in --version -v -V -qversion; do
 
3107
  { { ac_try="$ac_compiler $ac_option >&5"
 
3108
case "(($ac_try" in
 
3109
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3110
  *) ac_try_echo=$ac_try;;
 
3111
esac
 
3112
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3113
$as_echo "$ac_try_echo"; } >&5
 
3114
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3115
  ac_status=$?
 
3116
  if test -s conftest.err; then
 
3117
    sed '10a\
 
3118
... rest of stderr output deleted ...
 
3119
         10q' conftest.err >conftest.er1
 
3120
    cat conftest.er1 >&5
 
3121
  fi
 
3122
  rm -f conftest.er1 conftest.err
 
3123
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3124
  test $ac_status = 0; }
 
3125
done
2982
3126
 
2983
 
cat >conftest.$ac_ext <<_ACEOF
2984
 
/* confdefs.h.  */
2985
 
_ACEOF
2986
 
cat confdefs.h >>conftest.$ac_ext
2987
 
cat >>conftest.$ac_ext <<_ACEOF
 
3127
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988
3128
/* end confdefs.h.  */
2989
3129
 
2990
3130
int
3000
3140
# Try to create an executable without -o first, disregard a.out.
3001
3141
# It will help us diagnose broken compilers, and finding out an intuition
3002
3142
# of exeext.
3003
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3004
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3144
$as_echo_n "checking whether the C compiler works... " >&6; }
3005
3145
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3006
3146
 
3007
3147
# The possible output files:
3017
3157
done
3018
3158
rm -f $ac_rmfiles
3019
3159
 
3020
 
if { (ac_try="$ac_link_default"
 
3160
if { { ac_try="$ac_link_default"
3021
3161
case "(($ac_try" in
3022
3162
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023
3163
  *) ac_try_echo=$ac_try;;
3024
3164
esac
3025
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3026
 
$as_echo "$ac_try_echo") >&5
 
3165
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3166
$as_echo "$ac_try_echo"; } >&5
3027
3167
  (eval "$ac_link_default") 2>&5
3028
3168
  ac_status=$?
3029
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030
 
  (exit $ac_status); }; then
 
3169
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3170
  test $ac_status = 0; }; then :
3031
3171
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3032
3172
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3033
3173
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3044
3184
        # certainly right.
3045
3185
        break;;
3046
3186
    *.* )
3047
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3187
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3048
3188
        then :; else
3049
3189
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3050
3190
        fi
3063
3203
else
3064
3204
  ac_file=''
3065
3205
fi
 
3206
if test -z "$ac_file"; then :
 
3207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3208
$as_echo "no" >&6; }
 
3209
$as_echo "$as_me: failed program was:" >&5
 
3210
sed 's/^/| /' conftest.$ac_ext >&5
3066
3211
 
3067
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3212
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3213
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3214
as_fn_error 77 "C compiler cannot create executables
 
3215
See \`config.log' for more details" "$LINENO" 5; }
 
3216
else
 
3217
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3218
$as_echo "yes" >&6; }
 
3219
fi
 
3220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3221
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3068
3223
$as_echo "$ac_file" >&6; }
3069
 
if test -z "$ac_file"; then
3070
 
  $as_echo "$as_me: failed program was:" >&5
3071
 
sed 's/^/| /' conftest.$ac_ext >&5
3072
 
 
3073
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3074
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3076
 
See \`config.log' for more details." >&5
3077
 
$as_echo "$as_me: error: C compiler cannot create executables
3078
 
See \`config.log' for more details." >&2;}
3079
 
   { (exit 77); exit 77; }; }; }
3080
 
fi
3081
 
 
3082
3224
ac_exeext=$ac_cv_exeext
3083
3225
 
3084
 
# Check that the compiler produces executables we can run.  If not, either
3085
 
# the compiler is broken, or we cross compile.
3086
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3087
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3088
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3089
 
# If not cross compiling, check that we can run a simple program.
3090
 
if test "$cross_compiling" != yes; then
3091
 
  if { ac_try='./$ac_file'
3092
 
  { (case "(($ac_try" in
3093
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094
 
  *) ac_try_echo=$ac_try;;
3095
 
esac
3096
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3097
 
$as_echo "$ac_try_echo") >&5
3098
 
  (eval "$ac_try") 2>&5
3099
 
  ac_status=$?
3100
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101
 
  (exit $ac_status); }; }; then
3102
 
    cross_compiling=no
3103
 
  else
3104
 
    if test "$cross_compiling" = maybe; then
3105
 
        cross_compiling=yes
3106
 
    else
3107
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3108
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3109
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3110
 
If you meant to cross compile, use \`--host'.
3111
 
See \`config.log' for more details." >&5
3112
 
$as_echo "$as_me: error: cannot run C compiled programs.
3113
 
If you meant to cross compile, use \`--host'.
3114
 
See \`config.log' for more details." >&2;}
3115
 
   { (exit 1); exit 1; }; }; }
3116
 
    fi
3117
 
  fi
3118
 
fi
3119
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3120
 
$as_echo "yes" >&6; }
3121
 
 
3122
3226
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3123
3227
ac_clean_files=$ac_clean_files_save
3124
 
# Check that the compiler produces executables we can run.  If not, either
3125
 
# the compiler is broken, or we cross compile.
3126
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3127
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3128
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3129
 
$as_echo "$cross_compiling" >&6; }
3130
 
 
3131
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3132
3229
$as_echo_n "checking for suffix of executables... " >&6; }
3133
 
if { (ac_try="$ac_link"
 
3230
if { { ac_try="$ac_link"
3134
3231
case "(($ac_try" in
3135
3232
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136
3233
  *) ac_try_echo=$ac_try;;
3137
3234
esac
3138
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3139
 
$as_echo "$ac_try_echo") >&5
 
3235
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3236
$as_echo "$ac_try_echo"; } >&5
3140
3237
  (eval "$ac_link") 2>&5
3141
3238
  ac_status=$?
3142
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143
 
  (exit $ac_status); }; then
 
3239
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3240
  test $ac_status = 0; }; then :
3144
3241
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3145
3242
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3146
3243
# work properly (i.e., refer to `conftest.exe'), while it won't with
3155
3252
  esac
3156
3253
done
3157
3254
else
3158
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3255
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3159
3256
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3160
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3161
 
See \`config.log' for more details." >&5
3162
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3163
 
See \`config.log' for more details." >&2;}
3164
 
   { (exit 1); exit 1; }; }; }
 
3257
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3258
See \`config.log' for more details" "$LINENO" 5; }
3165
3259
fi
3166
 
 
3167
 
rm -f conftest$ac_cv_exeext
3168
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3260
rm -f conftest conftest$ac_cv_exeext
 
3261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3169
3262
$as_echo "$ac_cv_exeext" >&6; }
3170
3263
 
3171
3264
rm -f conftest.$ac_ext
3172
3265
EXEEXT=$ac_cv_exeext
3173
3266
ac_exeext=$EXEEXT
3174
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3267
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3268
/* end confdefs.h.  */
 
3269
#include <stdio.h>
 
3270
int
 
3271
main ()
 
3272
{
 
3273
FILE *f = fopen ("conftest.out", "w");
 
3274
 return ferror (f) || fclose (f) != 0;
 
3275
 
 
3276
  ;
 
3277
  return 0;
 
3278
}
 
3279
_ACEOF
 
3280
ac_clean_files="$ac_clean_files conftest.out"
 
3281
# Check that the compiler produces executables we can run.  If not, either
 
3282
# the compiler is broken, or we cross compile.
 
3283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3284
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3285
if test "$cross_compiling" != yes; then
 
3286
  { { ac_try="$ac_link"
 
3287
case "(($ac_try" in
 
3288
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3289
  *) ac_try_echo=$ac_try;;
 
3290
esac
 
3291
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3292
$as_echo "$ac_try_echo"; } >&5
 
3293
  (eval "$ac_link") 2>&5
 
3294
  ac_status=$?
 
3295
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3296
  test $ac_status = 0; }
 
3297
  if { ac_try='./conftest$ac_cv_exeext'
 
3298
  { { case "(($ac_try" in
 
3299
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3300
  *) ac_try_echo=$ac_try;;
 
3301
esac
 
3302
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3303
$as_echo "$ac_try_echo"; } >&5
 
3304
  (eval "$ac_try") 2>&5
 
3305
  ac_status=$?
 
3306
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3307
  test $ac_status = 0; }; }; then
 
3308
    cross_compiling=no
 
3309
  else
 
3310
    if test "$cross_compiling" = maybe; then
 
3311
        cross_compiling=yes
 
3312
    else
 
3313
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3314
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3315
as_fn_error $? "cannot run C compiled programs.
 
3316
If you meant to cross compile, use \`--host'.
 
3317
See \`config.log' for more details" "$LINENO" 5; }
 
3318
    fi
 
3319
  fi
 
3320
fi
 
3321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3322
$as_echo "$cross_compiling" >&6; }
 
3323
 
 
3324
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3325
ac_clean_files=$ac_clean_files_save
 
3326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3175
3327
$as_echo_n "checking for suffix of object files... " >&6; }
3176
 
if test "${ac_cv_objext+set}" = set; then
 
3328
if ${ac_cv_objext+:} false; then :
3177
3329
  $as_echo_n "(cached) " >&6
3178
3330
else
3179
 
  cat >conftest.$ac_ext <<_ACEOF
3180
 
/* confdefs.h.  */
3181
 
_ACEOF
3182
 
cat confdefs.h >>conftest.$ac_ext
3183
 
cat >>conftest.$ac_ext <<_ACEOF
 
3331
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3184
3332
/* end confdefs.h.  */
3185
3333
 
3186
3334
int
3192
3340
}
3193
3341
_ACEOF
3194
3342
rm -f conftest.o conftest.obj
3195
 
if { (ac_try="$ac_compile"
 
3343
if { { ac_try="$ac_compile"
3196
3344
case "(($ac_try" in
3197
3345
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198
3346
  *) ac_try_echo=$ac_try;;
3199
3347
esac
3200
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3201
 
$as_echo "$ac_try_echo") >&5
 
3348
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3349
$as_echo "$ac_try_echo"; } >&5
3202
3350
  (eval "$ac_compile") 2>&5
3203
3351
  ac_status=$?
3204
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205
 
  (exit $ac_status); }; then
 
3352
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3353
  test $ac_status = 0; }; then :
3206
3354
  for ac_file in conftest.o conftest.obj conftest.*; do
3207
3355
  test -f "$ac_file" || continue;
3208
3356
  case $ac_file in
3215
3363
  $as_echo "$as_me: failed program was:" >&5
3216
3364
sed 's/^/| /' conftest.$ac_ext >&5
3217
3365
 
3218
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3366
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219
3367
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3221
 
See \`config.log' for more details." >&5
3222
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3223
 
See \`config.log' for more details." >&2;}
3224
 
   { (exit 1); exit 1; }; }; }
 
3368
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3369
See \`config.log' for more details" "$LINENO" 5; }
3225
3370
fi
3226
 
 
3227
3371
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3228
3372
fi
3229
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3230
3374
$as_echo "$ac_cv_objext" >&6; }
3231
3375
OBJEXT=$ac_cv_objext
3232
3376
ac_objext=$OBJEXT
3233
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3377
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3234
3378
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3235
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3379
if ${ac_cv_c_compiler_gnu+:} false; then :
3236
3380
  $as_echo_n "(cached) " >&6
3237
3381
else
3238
 
  cat >conftest.$ac_ext <<_ACEOF
3239
 
/* confdefs.h.  */
3240
 
_ACEOF
3241
 
cat confdefs.h >>conftest.$ac_ext
3242
 
cat >>conftest.$ac_ext <<_ACEOF
 
3382
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243
3383
/* end confdefs.h.  */
3244
3384
 
3245
3385
int
3253
3393
  return 0;
3254
3394
}
3255
3395
_ACEOF
3256
 
rm -f conftest.$ac_objext
3257
 
if { (ac_try="$ac_compile"
3258
 
case "(($ac_try" in
3259
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260
 
  *) ac_try_echo=$ac_try;;
3261
 
esac
3262
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3263
 
$as_echo "$ac_try_echo") >&5
3264
 
  (eval "$ac_compile") 2>conftest.er1
3265
 
  ac_status=$?
3266
 
  grep -v '^ *+' conftest.er1 >conftest.err
3267
 
  rm -f conftest.er1
3268
 
  cat conftest.err >&5
3269
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270
 
  (exit $ac_status); } && {
3271
 
         test -z "$ac_c_werror_flag" ||
3272
 
         test ! -s conftest.err
3273
 
       } && test -s conftest.$ac_objext; then
 
3396
if ac_fn_c_try_compile "$LINENO"; then :
3274
3397
  ac_compiler_gnu=yes
3275
3398
else
3276
 
  $as_echo "$as_me: failed program was:" >&5
3277
 
sed 's/^/| /' conftest.$ac_ext >&5
3278
 
 
3279
 
        ac_compiler_gnu=no
 
3399
  ac_compiler_gnu=no
3280
3400
fi
3281
 
 
3282
3401
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283
3402
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3284
3403
 
3285
3404
fi
3286
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3287
3406
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3288
3407
if test $ac_compiler_gnu = yes; then
3289
3408
  GCC=yes
3292
3411
fi
3293
3412
ac_test_CFLAGS=${CFLAGS+set}
3294
3413
ac_save_CFLAGS=$CFLAGS
3295
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3296
3415
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3297
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3416
if ${ac_cv_prog_cc_g+:} false; then :
3298
3417
  $as_echo_n "(cached) " >&6
3299
3418
else
3300
3419
  ac_save_c_werror_flag=$ac_c_werror_flag
3301
3420
   ac_c_werror_flag=yes
3302
3421
   ac_cv_prog_cc_g=no
3303
3422
   CFLAGS="-g"
3304
 
   cat >conftest.$ac_ext <<_ACEOF
3305
 
/* confdefs.h.  */
3306
 
_ACEOF
3307
 
cat confdefs.h >>conftest.$ac_ext
3308
 
cat >>conftest.$ac_ext <<_ACEOF
 
3423
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3309
3424
/* end confdefs.h.  */
3310
3425
 
3311
3426
int
3316
3431
  return 0;
3317
3432
}
3318
3433
_ACEOF
3319
 
rm -f conftest.$ac_objext
3320
 
if { (ac_try="$ac_compile"
3321
 
case "(($ac_try" in
3322
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323
 
  *) ac_try_echo=$ac_try;;
3324
 
esac
3325
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3326
 
$as_echo "$ac_try_echo") >&5
3327
 
  (eval "$ac_compile") 2>conftest.er1
3328
 
  ac_status=$?
3329
 
  grep -v '^ *+' conftest.er1 >conftest.err
3330
 
  rm -f conftest.er1
3331
 
  cat conftest.err >&5
3332
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333
 
  (exit $ac_status); } && {
3334
 
         test -z "$ac_c_werror_flag" ||
3335
 
         test ! -s conftest.err
3336
 
       } && test -s conftest.$ac_objext; then
 
3434
if ac_fn_c_try_compile "$LINENO"; then :
3337
3435
  ac_cv_prog_cc_g=yes
3338
3436
else
3339
 
  $as_echo "$as_me: failed program was:" >&5
3340
 
sed 's/^/| /' conftest.$ac_ext >&5
3341
 
 
3342
 
        CFLAGS=""
3343
 
      cat >conftest.$ac_ext <<_ACEOF
3344
 
/* confdefs.h.  */
3345
 
_ACEOF
3346
 
cat confdefs.h >>conftest.$ac_ext
3347
 
cat >>conftest.$ac_ext <<_ACEOF
 
3437
  CFLAGS=""
 
3438
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348
3439
/* end confdefs.h.  */
3349
3440
 
3350
3441
int
3355
3446
  return 0;
3356
3447
}
3357
3448
_ACEOF
3358
 
rm -f conftest.$ac_objext
3359
 
if { (ac_try="$ac_compile"
3360
 
case "(($ac_try" in
3361
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3362
 
  *) ac_try_echo=$ac_try;;
3363
 
esac
3364
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3365
 
$as_echo "$ac_try_echo") >&5
3366
 
  (eval "$ac_compile") 2>conftest.er1
3367
 
  ac_status=$?
3368
 
  grep -v '^ *+' conftest.er1 >conftest.err
3369
 
  rm -f conftest.er1
3370
 
  cat conftest.err >&5
3371
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372
 
  (exit $ac_status); } && {
3373
 
         test -z "$ac_c_werror_flag" ||
3374
 
         test ! -s conftest.err
3375
 
       } && test -s conftest.$ac_objext; then
3376
 
  :
 
3449
if ac_fn_c_try_compile "$LINENO"; then :
 
3450
 
3377
3451
else
3378
 
  $as_echo "$as_me: failed program was:" >&5
3379
 
sed 's/^/| /' conftest.$ac_ext >&5
3380
 
 
3381
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3452
  ac_c_werror_flag=$ac_save_c_werror_flag
3382
3453
         CFLAGS="-g"
3383
 
         cat >conftest.$ac_ext <<_ACEOF
3384
 
/* confdefs.h.  */
3385
 
_ACEOF
3386
 
cat confdefs.h >>conftest.$ac_ext
3387
 
cat >>conftest.$ac_ext <<_ACEOF
 
3454
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388
3455
/* end confdefs.h.  */
3389
3456
 
3390
3457
int
3395
3462
  return 0;
3396
3463
}
3397
3464
_ACEOF
3398
 
rm -f conftest.$ac_objext
3399
 
if { (ac_try="$ac_compile"
3400
 
case "(($ac_try" in
3401
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402
 
  *) ac_try_echo=$ac_try;;
3403
 
esac
3404
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3405
 
$as_echo "$ac_try_echo") >&5
3406
 
  (eval "$ac_compile") 2>conftest.er1
3407
 
  ac_status=$?
3408
 
  grep -v '^ *+' conftest.er1 >conftest.err
3409
 
  rm -f conftest.er1
3410
 
  cat conftest.err >&5
3411
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412
 
  (exit $ac_status); } && {
3413
 
         test -z "$ac_c_werror_flag" ||
3414
 
         test ! -s conftest.err
3415
 
       } && test -s conftest.$ac_objext; then
 
3465
if ac_fn_c_try_compile "$LINENO"; then :
3416
3466
  ac_cv_prog_cc_g=yes
3417
 
else
3418
 
  $as_echo "$as_me: failed program was:" >&5
3419
 
sed 's/^/| /' conftest.$ac_ext >&5
3420
 
 
3421
 
 
3422
 
fi
3423
 
 
3424
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425
 
fi
3426
 
 
3427
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3428
 
fi
3429
 
 
 
3467
fi
 
3468
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3469
fi
 
3470
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3471
fi
3430
3472
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431
3473
   ac_c_werror_flag=$ac_save_c_werror_flag
3432
3474
fi
3433
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3434
3476
$as_echo "$ac_cv_prog_cc_g" >&6; }
3435
3477
if test "$ac_test_CFLAGS" = set; then
3436
3478
  CFLAGS=$ac_save_CFLAGS
3447
3489
    CFLAGS=
3448
3490
  fi
3449
3491
fi
3450
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3451
3493
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3452
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3494
if ${ac_cv_prog_cc_c89+:} false; then :
3453
3495
  $as_echo_n "(cached) " >&6
3454
3496
else
3455
3497
  ac_cv_prog_cc_c89=no
3456
3498
ac_save_CC=$CC
3457
 
cat >conftest.$ac_ext <<_ACEOF
3458
 
/* confdefs.h.  */
3459
 
_ACEOF
3460
 
cat confdefs.h >>conftest.$ac_ext
3461
 
cat >>conftest.$ac_ext <<_ACEOF
 
3499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462
3500
/* end confdefs.h.  */
3463
3501
#include <stdarg.h>
3464
3502
#include <stdio.h>
3515
3553
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3516
3554
do
3517
3555
  CC="$ac_save_CC $ac_arg"
3518
 
  rm -f conftest.$ac_objext
3519
 
if { (ac_try="$ac_compile"
3520
 
case "(($ac_try" in
3521
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522
 
  *) ac_try_echo=$ac_try;;
3523
 
esac
3524
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3525
 
$as_echo "$ac_try_echo") >&5
3526
 
  (eval "$ac_compile") 2>conftest.er1
3527
 
  ac_status=$?
3528
 
  grep -v '^ *+' conftest.er1 >conftest.err
3529
 
  rm -f conftest.er1
3530
 
  cat conftest.err >&5
3531
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532
 
  (exit $ac_status); } && {
3533
 
         test -z "$ac_c_werror_flag" ||
3534
 
         test ! -s conftest.err
3535
 
       } && test -s conftest.$ac_objext; then
 
3556
  if ac_fn_c_try_compile "$LINENO"; then :
3536
3557
  ac_cv_prog_cc_c89=$ac_arg
3537
 
else
3538
 
  $as_echo "$as_me: failed program was:" >&5
3539
 
sed 's/^/| /' conftest.$ac_ext >&5
3540
 
 
3541
 
 
3542
3558
fi
3543
 
 
3544
3559
rm -f core conftest.err conftest.$ac_objext
3545
3560
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3546
3561
done
3551
3566
# AC_CACHE_VAL
3552
3567
case "x$ac_cv_prog_cc_c89" in
3553
3568
  x)
3554
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3569
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3555
3570
$as_echo "none needed" >&6; } ;;
3556
3571
  xno)
3557
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3572
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3558
3573
$as_echo "unsupported" >&6; } ;;
3559
3574
  *)
3560
3575
    CC="$CC $ac_cv_prog_cc_c89"
3561
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3576
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3562
3577
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3563
3578
esac
 
3579
if test "x$ac_cv_prog_cc_c89" != xno; then :
3564
3580
 
 
3581
fi
3565
3582
 
3566
3583
ac_ext=c
3567
3584
ac_cpp='$CPP $CPPFLAGS'
3568
3585
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3569
3586
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3570
3587
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3571
 
DEPDIR="${am__leading_dot}deps"
3572
 
 
3573
 
ac_config_commands="$ac_config_commands depfiles"
3574
 
 
3575
 
 
3576
 
am_make=${MAKE-make}
3577
 
cat > confinc << 'END'
3578
 
am__doit:
3579
 
        @echo this is the am__doit target
3580
 
.PHONY: am__doit
3581
 
END
3582
 
# If we don't find an include directive, just comment out the code.
3583
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3584
 
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3585
 
am__include="#"
3586
 
am__quote=
3587
 
_am_result=none
3588
 
# First try GNU make style include.
3589
 
echo "include confinc" > confmf
3590
 
# Ignore all kinds of additional output from `make'.
3591
 
case `$am_make -s -f confmf 2> /dev/null` in #(
3592
 
*the\ am__doit\ target*)
3593
 
  am__include=include
3594
 
  am__quote=
3595
 
  _am_result=GNU
3596
 
  ;;
3597
 
esac
3598
 
# Now try BSD make style include.
3599
 
if test "$am__include" = "#"; then
3600
 
   echo '.include "confinc"' > confmf
3601
 
   case `$am_make -s -f confmf 2> /dev/null` in #(
3602
 
   *the\ am__doit\ target*)
3603
 
     am__include=.include
3604
 
     am__quote="\""
3605
 
     _am_result=BSD
3606
 
     ;;
3607
 
   esac
3608
 
fi
3609
 
 
3610
 
 
3611
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3612
 
$as_echo "$_am_result" >&6; }
3613
 
rm -f confinc confmf
3614
 
 
3615
 
# Check whether --enable-dependency-tracking was given.
3616
 
if test "${enable_dependency_tracking+set}" = set; then
3617
 
  enableval=$enable_dependency_tracking;
3618
 
fi
3619
 
 
3620
 
if test "x$enable_dependency_tracking" != xno; then
3621
 
  am_depcomp="$ac_aux_dir/depcomp"
3622
 
  AMDEPBACKSLASH='\'
3623
 
fi
3624
 
 if test "x$enable_dependency_tracking" != xno; then
3625
 
  AMDEP_TRUE=
3626
 
  AMDEP_FALSE='#'
3627
 
else
3628
 
  AMDEP_TRUE='#'
3629
 
  AMDEP_FALSE=
3630
 
fi
3631
 
 
3632
 
 
3633
3588
 
3634
3589
depcc="$CC"   am_compiler_list=
3635
3590
 
3636
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3637
3592
$as_echo_n "checking dependency style of $depcc... " >&6; }
3638
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3593
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3639
3594
  $as_echo_n "(cached) " >&6
3640
3595
else
3641
3596
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3743
3698
fi
3744
3699
 
3745
3700
fi
3746
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3747
3702
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3748
3703
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3749
3704
 
3758
3713
fi
3759
3714
 
3760
3715
 
3761
 
case `pwd` in
3762
 
  *\ * | *\     *)
3763
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3764
 
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3765
 
esac
3766
 
 
3767
 
 
3768
 
 
3769
 
macro_version='2.2.6'
3770
 
macro_revision='1.3012'
3771
 
 
3772
 
 
3773
 
 
3774
 
 
3775
 
 
3776
 
 
3777
 
 
3778
 
 
3779
 
 
3780
 
 
3781
 
 
3782
 
 
3783
 
 
3784
 
ltmain="$ac_aux_dir/ltmain.sh"
3785
 
 
3786
 
# Make sure we can run config.sub.
3787
 
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3788
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3789
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3790
 
   { (exit 1); exit 1; }; }
3791
 
 
3792
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
3793
 
$as_echo_n "checking build system type... " >&6; }
3794
 
if test "${ac_cv_build+set}" = set; then
3795
 
  $as_echo_n "(cached) " >&6
3796
 
else
3797
 
  ac_build_alias=$build_alias
3798
 
test "x$ac_build_alias" = x &&
3799
 
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3800
 
test "x$ac_build_alias" = x &&
3801
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3802
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3803
 
   { (exit 1); exit 1; }; }
3804
 
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3805
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3806
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3807
 
   { (exit 1); exit 1; }; }
3808
 
 
3809
 
fi
3810
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3811
 
$as_echo "$ac_cv_build" >&6; }
3812
 
case $ac_cv_build in
3813
 
*-*-*) ;;
3814
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3815
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3816
 
   { (exit 1); exit 1; }; };;
3817
 
esac
3818
 
build=$ac_cv_build
3819
 
ac_save_IFS=$IFS; IFS='-'
3820
 
set x $ac_cv_build
3821
 
shift
3822
 
build_cpu=$1
3823
 
build_vendor=$2
3824
 
shift; shift
3825
 
# Remember, the first character of IFS is used to create $*,
3826
 
# except with old shells:
3827
 
build_os=$*
3828
 
IFS=$ac_save_IFS
3829
 
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3830
 
 
3831
 
 
3832
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
3833
 
$as_echo_n "checking host system type... " >&6; }
3834
 
if test "${ac_cv_host+set}" = set; then
3835
 
  $as_echo_n "(cached) " >&6
3836
 
else
3837
 
  if test "x$host_alias" = x; then
3838
 
  ac_cv_host=$ac_cv_build
3839
 
else
3840
 
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3841
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3842
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3843
 
   { (exit 1); exit 1; }; }
3844
 
fi
3845
 
 
3846
 
fi
3847
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3848
 
$as_echo "$ac_cv_host" >&6; }
3849
 
case $ac_cv_host in
3850
 
*-*-*) ;;
3851
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3852
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3853
 
   { (exit 1); exit 1; }; };;
3854
 
esac
3855
 
host=$ac_cv_host
3856
 
ac_save_IFS=$IFS; IFS='-'
3857
 
set x $ac_cv_host
3858
 
shift
3859
 
host_cpu=$1
3860
 
host_vendor=$2
3861
 
shift; shift
3862
 
# Remember, the first character of IFS is used to create $*,
3863
 
# except with old shells:
3864
 
host_os=$*
3865
 
IFS=$ac_save_IFS
3866
 
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3867
 
 
3868
 
 
3869
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3870
 
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3871
 
if test "${ac_cv_path_SED+set}" = set; then
3872
 
  $as_echo_n "(cached) " >&6
3873
 
else
3874
 
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3875
 
     for ac_i in 1 2 3 4 5 6 7; do
3876
 
       ac_script="$ac_script$as_nl$ac_script"
3877
 
     done
3878
 
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3879
 
     $as_unset ac_script || ac_script=
3880
 
     if test -z "$SED"; then
3881
 
  ac_path_SED_found=false
3882
 
  # Loop through the user's path and test for each of PROGNAME-LIST
3883
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884
 
for as_dir in $PATH
3885
 
do
3886
 
  IFS=$as_save_IFS
3887
 
  test -z "$as_dir" && as_dir=.
3888
 
  for ac_prog in sed gsed; do
3889
 
    for ac_exec_ext in '' $ac_executable_extensions; do
3890
 
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3891
 
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3892
 
# Check for GNU ac_path_SED and select it if it is found.
3893
 
  # Check for GNU $ac_path_SED
3894
 
case `"$ac_path_SED" --version 2>&1` in
3895
 
*GNU*)
3896
 
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3897
 
*)
3898
 
  ac_count=0
3899
 
  $as_echo_n 0123456789 >"conftest.in"
3900
 
  while :
3901
 
  do
3902
 
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3903
 
    mv "conftest.tmp" "conftest.in"
3904
 
    cp "conftest.in" "conftest.nl"
3905
 
    $as_echo '' >> "conftest.nl"
3906
 
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3907
 
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3908
 
    ac_count=`expr $ac_count + 1`
3909
 
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3910
 
      # Best one so far, save it but keep looking for a better one
3911
 
      ac_cv_path_SED="$ac_path_SED"
3912
 
      ac_path_SED_max=$ac_count
3913
 
    fi
3914
 
    # 10*(2^10) chars as input seems more than enough
3915
 
    test $ac_count -gt 10 && break
3916
 
  done
3917
 
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3918
 
esac
3919
 
 
3920
 
      $ac_path_SED_found && break 3
 
3716
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
 
3717
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
 
3718
if ${ac_cv_prog_cc_c99+:} false; then :
 
3719
  $as_echo_n "(cached) " >&6
 
3720
else
 
3721
  ac_cv_prog_cc_c99=no
 
3722
ac_save_CC=$CC
 
3723
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3724
/* end confdefs.h.  */
 
3725
#include <stdarg.h>
 
3726
#include <stdbool.h>
 
3727
#include <stdlib.h>
 
3728
#include <wchar.h>
 
3729
#include <stdio.h>
 
3730
 
 
3731
// Check varargs macros.  These examples are taken from C99 6.10.3.5.
 
3732
#define debug(...) fprintf (stderr, __VA_ARGS__)
 
3733
#define showlist(...) puts (#__VA_ARGS__)
 
3734
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
 
3735
static void
 
3736
test_varargs_macros (void)
 
3737
{
 
3738
  int x = 1234;
 
3739
  int y = 5678;
 
3740
  debug ("Flag");
 
3741
  debug ("X = %d\n", x);
 
3742
  showlist (The first, second, and third items.);
 
3743
  report (x>y, "x is %d but y is %d", x, y);
 
3744
}
 
3745
 
 
3746
// Check long long types.
 
3747
#define BIG64 18446744073709551615ull
 
3748
#define BIG32 4294967295ul
 
3749
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
 
3750
#if !BIG_OK
 
3751
  your preprocessor is broken;
 
3752
#endif
 
3753
#if BIG_OK
 
3754
#else
 
3755
  your preprocessor is broken;
 
3756
#endif
 
3757
static long long int bignum = -9223372036854775807LL;
 
3758
static unsigned long long int ubignum = BIG64;
 
3759
 
 
3760
struct incomplete_array
 
3761
{
 
3762
  int datasize;
 
3763
  double data[];
 
3764
};
 
3765
 
 
3766
struct named_init {
 
3767
  int number;
 
3768
  const wchar_t *name;
 
3769
  double average;
 
3770
};
 
3771
 
 
3772
typedef const char *ccp;
 
3773
 
 
3774
static inline int
 
3775
test_restrict (ccp restrict text)
 
3776
{
 
3777
  // See if C++-style comments work.
 
3778
  // Iterate through items via the restricted pointer.
 
3779
  // Also check for declarations in for loops.
 
3780
  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
 
3781
    continue;
 
3782
  return 0;
 
3783
}
 
3784
 
 
3785
// Check varargs and va_copy.
 
3786
static void
 
3787
test_varargs (const char *format, ...)
 
3788
{
 
3789
  va_list args;
 
3790
  va_start (args, format);
 
3791
  va_list args_copy;
 
3792
  va_copy (args_copy, args);
 
3793
 
 
3794
  const char *str;
 
3795
  int number;
 
3796
  float fnumber;
 
3797
 
 
3798
  while (*format)
 
3799
    {
 
3800
      switch (*format++)
 
3801
        {
 
3802
        case 's': // string
 
3803
          str = va_arg (args_copy, const char *);
 
3804
          break;
 
3805
        case 'd': // int
 
3806
          number = va_arg (args_copy, int);
 
3807
          break;
 
3808
        case 'f': // float
 
3809
          fnumber = va_arg (args_copy, double);
 
3810
          break;
 
3811
        default:
 
3812
          break;
 
3813
        }
 
3814
    }
 
3815
  va_end (args_copy);
 
3816
  va_end (args);
 
3817
}
 
3818
 
 
3819
int
 
3820
main ()
 
3821
{
 
3822
 
 
3823
  // Check bool.
 
3824
  _Bool success = false;
 
3825
 
 
3826
  // Check restrict.
 
3827
  if (test_restrict ("String literal") == 0)
 
3828
    success = true;
 
3829
  char *restrict newvar = "Another string";
 
3830
 
 
3831
  // Check varargs.
 
3832
  test_varargs ("s, d' f .", "string", 65, 34.234);
 
3833
  test_varargs_macros ();
 
3834
 
 
3835
  // Check flexible array members.
 
3836
  struct incomplete_array *ia =
 
3837
    malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
 
3838
  ia->datasize = 10;
 
3839
  for (int i = 0; i < ia->datasize; ++i)
 
3840
    ia->data[i] = i * 1.234;
 
3841
 
 
3842
  // Check named initializers.
 
3843
  struct named_init ni = {
 
3844
    .number = 34,
 
3845
    .name = L"Test wide string",
 
3846
    .average = 543.34343,
 
3847
  };
 
3848
 
 
3849
  ni.number = 58;
 
3850
 
 
3851
  int dynamic_array[ni.number];
 
3852
  dynamic_array[ni.number - 1] = 543;
 
3853
 
 
3854
  // work around unused variable warnings
 
3855
  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
 
3856
          || dynamic_array[ni.number - 1] != 543);
 
3857
 
 
3858
  ;
 
3859
  return 0;
 
3860
}
 
3861
_ACEOF
 
3862
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
 
3863
do
 
3864
  CC="$ac_save_CC $ac_arg"
 
3865
  if ac_fn_c_try_compile "$LINENO"; then :
 
3866
  ac_cv_prog_cc_c99=$ac_arg
 
3867
fi
 
3868
rm -f core conftest.err conftest.$ac_objext
 
3869
  test "x$ac_cv_prog_cc_c99" != "xno" && break
 
3870
done
 
3871
rm -f conftest.$ac_ext
 
3872
CC=$ac_save_CC
 
3873
 
 
3874
fi
 
3875
# AC_CACHE_VAL
 
3876
case "x$ac_cv_prog_cc_c99" in
 
3877
  x)
 
3878
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
3879
$as_echo "none needed" >&6; } ;;
 
3880
  xno)
 
3881
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
3882
$as_echo "unsupported" >&6; } ;;
 
3883
  *)
 
3884
    CC="$CC $ac_cv_prog_cc_c99"
 
3885
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
 
3886
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
 
3887
esac
 
3888
if test "x$ac_cv_prog_cc_c99" != xno; then :
 
3889
 
 
3890
fi
 
3891
 
 
3892
 
 
3893
 
 
3894
ac_ext=c
 
3895
ac_cpp='$CPP $CPPFLAGS'
 
3896
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
3897
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
3898
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
3899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
3900
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
3901
# On Suns, sometimes $CPP names a directory.
 
3902
if test -n "$CPP" && test -d "$CPP"; then
 
3903
  CPP=
 
3904
fi
 
3905
if test -z "$CPP"; then
 
3906
  if ${ac_cv_prog_CPP+:} false; then :
 
3907
  $as_echo_n "(cached) " >&6
 
3908
else
 
3909
      # Double quotes because CPP needs to be expanded
 
3910
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
3911
    do
 
3912
      ac_preproc_ok=false
 
3913
for ac_c_preproc_warn_flag in '' yes
 
3914
do
 
3915
  # Use a header file that comes with gcc, so configuring glibc
 
3916
  # with a fresh cross-compiler works.
 
3917
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3918
  # <limits.h> exists even on freestanding compilers.
 
3919
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3920
  # not just through cpp. "Syntax error" is here to catch this case.
 
3921
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3922
/* end confdefs.h.  */
 
3923
#ifdef __STDC__
 
3924
# include <limits.h>
 
3925
#else
 
3926
# include <assert.h>
 
3927
#endif
 
3928
                     Syntax error
 
3929
_ACEOF
 
3930
if ac_fn_c_try_cpp "$LINENO"; then :
 
3931
 
 
3932
else
 
3933
  # Broken: fails on valid input.
 
3934
continue
 
3935
fi
 
3936
rm -f conftest.err conftest.i conftest.$ac_ext
 
3937
 
 
3938
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3939
  # can be detected and how.
 
3940
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3941
/* end confdefs.h.  */
 
3942
#include <ac_nonexistent.h>
 
3943
_ACEOF
 
3944
if ac_fn_c_try_cpp "$LINENO"; then :
 
3945
  # Broken: success on invalid input.
 
3946
continue
 
3947
else
 
3948
  # Passes both tests.
 
3949
ac_preproc_ok=:
 
3950
break
 
3951
fi
 
3952
rm -f conftest.err conftest.i conftest.$ac_ext
 
3953
 
 
3954
done
 
3955
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
3956
rm -f conftest.i conftest.err conftest.$ac_ext
 
3957
if $ac_preproc_ok; then :
 
3958
  break
 
3959
fi
 
3960
 
3921
3961
    done
3922
 
  done
 
3962
    ac_cv_prog_CPP=$CPP
 
3963
 
 
3964
fi
 
3965
  CPP=$ac_cv_prog_CPP
 
3966
else
 
3967
  ac_cv_prog_CPP=$CPP
 
3968
fi
 
3969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
3970
$as_echo "$CPP" >&6; }
 
3971
ac_preproc_ok=false
 
3972
for ac_c_preproc_warn_flag in '' yes
 
3973
do
 
3974
  # Use a header file that comes with gcc, so configuring glibc
 
3975
  # with a fresh cross-compiler works.
 
3976
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
3977
  # <limits.h> exists even on freestanding compilers.
 
3978
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
3979
  # not just through cpp. "Syntax error" is here to catch this case.
 
3980
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3981
/* end confdefs.h.  */
 
3982
#ifdef __STDC__
 
3983
# include <limits.h>
 
3984
#else
 
3985
# include <assert.h>
 
3986
#endif
 
3987
                     Syntax error
 
3988
_ACEOF
 
3989
if ac_fn_c_try_cpp "$LINENO"; then :
 
3990
 
 
3991
else
 
3992
  # Broken: fails on valid input.
 
3993
continue
 
3994
fi
 
3995
rm -f conftest.err conftest.i conftest.$ac_ext
 
3996
 
 
3997
  # OK, works on sane cases.  Now check whether nonexistent headers
 
3998
  # can be detected and how.
 
3999
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4000
/* end confdefs.h.  */
 
4001
#include <ac_nonexistent.h>
 
4002
_ACEOF
 
4003
if ac_fn_c_try_cpp "$LINENO"; then :
 
4004
  # Broken: success on invalid input.
 
4005
continue
 
4006
else
 
4007
  # Passes both tests.
 
4008
ac_preproc_ok=:
 
4009
break
 
4010
fi
 
4011
rm -f conftest.err conftest.i conftest.$ac_ext
 
4012
 
3923
4013
done
3924
 
IFS=$as_save_IFS
3925
 
  if test -z "$ac_cv_path_SED"; then
3926
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3927
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3928
 
   { (exit 1); exit 1; }; }
3929
 
  fi
 
4014
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
4015
rm -f conftest.i conftest.err conftest.$ac_ext
 
4016
if $ac_preproc_ok; then :
 
4017
 
3930
4018
else
3931
 
  ac_cv_path_SED=$SED
3932
 
fi
3933
 
 
3934
 
fi
3935
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3936
 
$as_echo "$ac_cv_path_SED" >&6; }
3937
 
 SED="$ac_cv_path_SED"
3938
 
  rm -f conftest.sed
3939
 
 
3940
 
test -z "$SED" && SED=sed
3941
 
Xsed="$SED -e 1s/^X//"
3942
 
 
3943
 
 
3944
 
 
3945
 
 
3946
 
 
3947
 
 
3948
 
 
3949
 
 
3950
 
 
3951
 
 
3952
 
 
3953
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4019
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4020
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4021
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4022
See \`config.log' for more details" "$LINENO" 5; }
 
4023
fi
 
4024
 
 
4025
ac_ext=c
 
4026
ac_cpp='$CPP $CPPFLAGS'
 
4027
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4028
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4029
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4030
 
 
4031
 
 
4032
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3954
4033
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3955
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4034
if ${ac_cv_path_GREP+:} false; then :
3956
4035
  $as_echo_n "(cached) " >&6
3957
4036
else
3958
4037
  if test -z "$GREP"; then
3963
4042
do
3964
4043
  IFS=$as_save_IFS
3965
4044
  test -z "$as_dir" && as_dir=.
3966
 
  for ac_prog in grep ggrep; do
 
4045
    for ac_prog in grep ggrep; do
3967
4046
    for ac_exec_ext in '' $ac_executable_extensions; do
3968
4047
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3969
4048
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3983
4062
    $as_echo 'GREP' >> "conftest.nl"
3984
4063
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3985
4064
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3986
 
    ac_count=`expr $ac_count + 1`
 
4065
    as_fn_arith $ac_count + 1 && ac_count=$as_val
3987
4066
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3988
4067
      # Best one so far, save it but keep looking for a better one
3989
4068
      ac_cv_path_GREP="$ac_path_GREP"
3998
4077
      $ac_path_GREP_found && break 3
3999
4078
    done
4000
4079
  done
4001
 
done
 
4080
  done
4002
4081
IFS=$as_save_IFS
4003
4082
  if test -z "$ac_cv_path_GREP"; then
4004
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4005
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4006
 
   { (exit 1); exit 1; }; }
 
4083
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4007
4084
  fi
4008
4085
else
4009
4086
  ac_cv_path_GREP=$GREP
4010
4087
fi
4011
4088
 
4012
4089
fi
4013
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4014
4091
$as_echo "$ac_cv_path_GREP" >&6; }
4015
4092
 GREP="$ac_cv_path_GREP"
4016
4093
 
4017
4094
 
4018
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4019
4096
$as_echo_n "checking for egrep... " >&6; }
4020
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4097
if ${ac_cv_path_EGREP+:} false; then :
4021
4098
  $as_echo_n "(cached) " >&6
4022
4099
else
4023
4100
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4031
4108
do
4032
4109
  IFS=$as_save_IFS
4033
4110
  test -z "$as_dir" && as_dir=.
4034
 
  for ac_prog in egrep; do
 
4111
    for ac_prog in egrep; do
4035
4112
    for ac_exec_ext in '' $ac_executable_extensions; do
4036
4113
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4037
4114
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4051
4128
    $as_echo 'EGREP' >> "conftest.nl"
4052
4129
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4053
4130
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4054
 
    ac_count=`expr $ac_count + 1`
 
4131
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4055
4132
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4056
4133
      # Best one so far, save it but keep looking for a better one
4057
4134
      ac_cv_path_EGREP="$ac_path_EGREP"
4066
4143
      $ac_path_EGREP_found && break 3
4067
4144
    done
4068
4145
  done
4069
 
done
 
4146
  done
4070
4147
IFS=$as_save_IFS
4071
4148
  if test -z "$ac_cv_path_EGREP"; then
4072
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4073
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4074
 
   { (exit 1); exit 1; }; }
 
4149
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4075
4150
  fi
4076
4151
else
4077
4152
  ac_cv_path_EGREP=$EGREP
4079
4154
 
4080
4155
   fi
4081
4156
fi
4082
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4083
4158
$as_echo "$ac_cv_path_EGREP" >&6; }
4084
4159
 EGREP="$ac_cv_path_EGREP"
4085
4160
 
4086
4161
 
4087
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
4163
$as_echo_n "checking for ANSI C header files... " >&6; }
 
4164
if ${ac_cv_header_stdc+:} false; then :
 
4165
  $as_echo_n "(cached) " >&6
 
4166
else
 
4167
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4168
/* end confdefs.h.  */
 
4169
#include <stdlib.h>
 
4170
#include <stdarg.h>
 
4171
#include <string.h>
 
4172
#include <float.h>
 
4173
 
 
4174
int
 
4175
main ()
 
4176
{
 
4177
 
 
4178
  ;
 
4179
  return 0;
 
4180
}
 
4181
_ACEOF
 
4182
if ac_fn_c_try_compile "$LINENO"; then :
 
4183
  ac_cv_header_stdc=yes
 
4184
else
 
4185
  ac_cv_header_stdc=no
 
4186
fi
 
4187
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4188
 
 
4189
if test $ac_cv_header_stdc = yes; then
 
4190
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
4191
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4192
/* end confdefs.h.  */
 
4193
#include <string.h>
 
4194
 
 
4195
_ACEOF
 
4196
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4197
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4198
 
 
4199
else
 
4200
  ac_cv_header_stdc=no
 
4201
fi
 
4202
rm -f conftest*
 
4203
 
 
4204
fi
 
4205
 
 
4206
if test $ac_cv_header_stdc = yes; then
 
4207
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
4208
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4209
/* end confdefs.h.  */
 
4210
#include <stdlib.h>
 
4211
 
 
4212
_ACEOF
 
4213
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
4214
  $EGREP "free" >/dev/null 2>&1; then :
 
4215
 
 
4216
else
 
4217
  ac_cv_header_stdc=no
 
4218
fi
 
4219
rm -f conftest*
 
4220
 
 
4221
fi
 
4222
 
 
4223
if test $ac_cv_header_stdc = yes; then
 
4224
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
4225
  if test "$cross_compiling" = yes; then :
 
4226
  :
 
4227
else
 
4228
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4229
/* end confdefs.h.  */
 
4230
#include <ctype.h>
 
4231
#include <stdlib.h>
 
4232
#if ((' ' & 0x0FF) == 0x020)
 
4233
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
4234
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
4235
#else
 
4236
# define ISLOWER(c) \
 
4237
                   (('a' <= (c) && (c) <= 'i') \
 
4238
                     || ('j' <= (c) && (c) <= 'r') \
 
4239
                     || ('s' <= (c) && (c) <= 'z'))
 
4240
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
4241
#endif
 
4242
 
 
4243
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
4244
int
 
4245
main ()
 
4246
{
 
4247
  int i;
 
4248
  for (i = 0; i < 256; i++)
 
4249
    if (XOR (islower (i), ISLOWER (i))
 
4250
        || toupper (i) != TOUPPER (i))
 
4251
      return 2;
 
4252
  return 0;
 
4253
}
 
4254
_ACEOF
 
4255
if ac_fn_c_try_run "$LINENO"; then :
 
4256
 
 
4257
else
 
4258
  ac_cv_header_stdc=no
 
4259
fi
 
4260
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4261
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4262
fi
 
4263
 
 
4264
fi
 
4265
fi
 
4266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
4267
$as_echo "$ac_cv_header_stdc" >&6; }
 
4268
if test $ac_cv_header_stdc = yes; then
 
4269
 
 
4270
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
4271
 
 
4272
fi
 
4273
 
 
4274
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
4275
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
4276
                  inttypes.h stdint.h unistd.h
 
4277
do :
 
4278
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4279
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4280
"
 
4281
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
4282
  cat >>confdefs.h <<_ACEOF
 
4283
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
4284
_ACEOF
 
4285
 
 
4286
fi
 
4287
 
 
4288
done
 
4289
 
 
4290
 
 
4291
 
 
4292
 
 
4293
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
4294
        if test -n "$ac_tool_prefix"; then
 
4295
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
4296
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 
4297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4298
$as_echo_n "checking for $ac_word... " >&6; }
 
4299
if ${ac_cv_path_PKG_CONFIG+:} false; then :
 
4300
  $as_echo_n "(cached) " >&6
 
4301
else
 
4302
  case $PKG_CONFIG in
 
4303
  [\\/]* | ?:[\\/]*)
 
4304
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 
4305
  ;;
 
4306
  *)
 
4307
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4308
for as_dir in $PATH
 
4309
do
 
4310
  IFS=$as_save_IFS
 
4311
  test -z "$as_dir" && as_dir=.
 
4312
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4313
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4314
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
4315
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4316
    break 2
 
4317
  fi
 
4318
done
 
4319
  done
 
4320
IFS=$as_save_IFS
 
4321
 
 
4322
  ;;
 
4323
esac
 
4324
fi
 
4325
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 
4326
if test -n "$PKG_CONFIG"; then
 
4327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
 
4328
$as_echo "$PKG_CONFIG" >&6; }
 
4329
else
 
4330
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4331
$as_echo "no" >&6; }
 
4332
fi
 
4333
 
 
4334
 
 
4335
fi
 
4336
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
4337
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
4338
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
4339
set dummy pkg-config; ac_word=$2
 
4340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4341
$as_echo_n "checking for $ac_word... " >&6; }
 
4342
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
 
4343
  $as_echo_n "(cached) " >&6
 
4344
else
 
4345
  case $ac_pt_PKG_CONFIG in
 
4346
  [\\/]* | ?:[\\/]*)
 
4347
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
4348
  ;;
 
4349
  *)
 
4350
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4351
for as_dir in $PATH
 
4352
do
 
4353
  IFS=$as_save_IFS
 
4354
  test -z "$as_dir" && as_dir=.
 
4355
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4356
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4357
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
4358
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4359
    break 2
 
4360
  fi
 
4361
done
 
4362
  done
 
4363
IFS=$as_save_IFS
 
4364
 
 
4365
  ;;
 
4366
esac
 
4367
fi
 
4368
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
4369
if test -n "$ac_pt_PKG_CONFIG"; then
 
4370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
 
4371
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 
4372
else
 
4373
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4374
$as_echo "no" >&6; }
 
4375
fi
 
4376
 
 
4377
  if test "x$ac_pt_PKG_CONFIG" = x; then
 
4378
    PKG_CONFIG=""
 
4379
  else
 
4380
    case $cross_compiling:$ac_tool_warned in
 
4381
yes:)
 
4382
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4383
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4384
ac_tool_warned=yes ;;
 
4385
esac
 
4386
    PKG_CONFIG=$ac_pt_PKG_CONFIG
 
4387
  fi
 
4388
else
 
4389
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
4390
fi
 
4391
 
 
4392
fi
 
4393
if test -n "$PKG_CONFIG"; then
 
4394
        _pkg_min_version=0.9.0
 
4395
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
 
4396
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 
4397
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
4398
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4399
$as_echo "yes" >&6; }
 
4400
        else
 
4401
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4402
$as_echo "no" >&6; }
 
4403
                PKG_CONFIG=""
 
4404
        fi
 
4405
 
 
4406
fi
 
4407
# Make sure we can run config.sub.
 
4408
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
4409
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
4410
 
 
4411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
4412
$as_echo_n "checking build system type... " >&6; }
 
4413
if ${ac_cv_build+:} false; then :
 
4414
  $as_echo_n "(cached) " >&6
 
4415
else
 
4416
  ac_build_alias=$build_alias
 
4417
test "x$ac_build_alias" = x &&
 
4418
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
4419
test "x$ac_build_alias" = x &&
 
4420
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
4421
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
4422
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
4423
 
 
4424
fi
 
4425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
4426
$as_echo "$ac_cv_build" >&6; }
 
4427
case $ac_cv_build in
 
4428
*-*-*) ;;
 
4429
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
4430
esac
 
4431
build=$ac_cv_build
 
4432
ac_save_IFS=$IFS; IFS='-'
 
4433
set x $ac_cv_build
 
4434
shift
 
4435
build_cpu=$1
 
4436
build_vendor=$2
 
4437
shift; shift
 
4438
# Remember, the first character of IFS is used to create $*,
 
4439
# except with old shells:
 
4440
build_os=$*
 
4441
IFS=$ac_save_IFS
 
4442
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
4443
 
 
4444
 
 
4445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
4446
$as_echo_n "checking host system type... " >&6; }
 
4447
if ${ac_cv_host+:} false; then :
 
4448
  $as_echo_n "(cached) " >&6
 
4449
else
 
4450
  if test "x$host_alias" = x; then
 
4451
  ac_cv_host=$ac_cv_build
 
4452
else
 
4453
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
4454
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
4455
fi
 
4456
 
 
4457
fi
 
4458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
4459
$as_echo "$ac_cv_host" >&6; }
 
4460
case $ac_cv_host in
 
4461
*-*-*) ;;
 
4462
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
4463
esac
 
4464
host=$ac_cv_host
 
4465
ac_save_IFS=$IFS; IFS='-'
 
4466
set x $ac_cv_host
 
4467
shift
 
4468
host_cpu=$1
 
4469
host_vendor=$2
 
4470
shift; shift
 
4471
# Remember, the first character of IFS is used to create $*,
 
4472
# except with old shells:
 
4473
host_os=$*
 
4474
IFS=$ac_save_IFS
 
4475
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
4476
 
 
4477
 
 
4478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
4479
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4480
if ${ac_cv_path_SED+:} false; then :
 
4481
  $as_echo_n "(cached) " >&6
 
4482
else
 
4483
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4484
     for ac_i in 1 2 3 4 5 6 7; do
 
4485
       ac_script="$ac_script$as_nl$ac_script"
 
4486
     done
 
4487
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4488
     { ac_script=; unset ac_script;}
 
4489
     if test -z "$SED"; then
 
4490
  ac_path_SED_found=false
 
4491
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4492
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4493
for as_dir in $PATH
 
4494
do
 
4495
  IFS=$as_save_IFS
 
4496
  test -z "$as_dir" && as_dir=.
 
4497
    for ac_prog in sed gsed; do
 
4498
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4499
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4500
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4501
# Check for GNU ac_path_SED and select it if it is found.
 
4502
  # Check for GNU $ac_path_SED
 
4503
case `"$ac_path_SED" --version 2>&1` in
 
4504
*GNU*)
 
4505
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4506
*)
 
4507
  ac_count=0
 
4508
  $as_echo_n 0123456789 >"conftest.in"
 
4509
  while :
 
4510
  do
 
4511
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4512
    mv "conftest.tmp" "conftest.in"
 
4513
    cp "conftest.in" "conftest.nl"
 
4514
    $as_echo '' >> "conftest.nl"
 
4515
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4516
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4517
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
4518
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4519
      # Best one so far, save it but keep looking for a better one
 
4520
      ac_cv_path_SED="$ac_path_SED"
 
4521
      ac_path_SED_max=$ac_count
 
4522
    fi
 
4523
    # 10*(2^10) chars as input seems more than enough
 
4524
    test $ac_count -gt 10 && break
 
4525
  done
 
4526
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4527
esac
 
4528
 
 
4529
      $ac_path_SED_found && break 3
 
4530
    done
 
4531
  done
 
4532
  done
 
4533
IFS=$as_save_IFS
 
4534
  if test -z "$ac_cv_path_SED"; then
 
4535
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
4536
  fi
 
4537
else
 
4538
  ac_cv_path_SED=$SED
 
4539
fi
 
4540
 
 
4541
fi
 
4542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
4543
$as_echo "$ac_cv_path_SED" >&6; }
 
4544
 SED="$ac_cv_path_SED"
 
4545
  rm -f conftest.sed
 
4546
 
 
4547
 
 
4548
 
 
4549
 
 
4550
 
 
4551
if  test "x$GCC" = xyes ; then
 
4552
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
 
4553
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
 
4554
-Wbad-function-cast -Wformat=2"
 
4555
    case `$CC -dumpversion` in
 
4556
    3.4.* | 4.*)
 
4557
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
 
4558
        ;;
 
4559
    esac
 
4560
else
 
4561
    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4562
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
 
4563
  SUNCC="yes"
 
4564
else
 
4565
  SUNCC="no"
 
4566
fi
 
4567
 
 
4568
    if test "x$SUNCC" = "xyes"; then
 
4569
        CWARNFLAGS="-v"
 
4570
    fi
 
4571
fi
 
4572
 
 
4573
 
 
4574
 
 
4575
# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
 
4576
 
 
4577
 
 
4578
 
 
4579
# Check whether --enable-strict-compilation was given.
 
4580
if test "${enable_strict_compilation+set}" = set; then :
 
4581
  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
 
4582
else
 
4583
  STRICT_COMPILE=no
 
4584
fi
 
4585
 
 
4586
if test "x$STRICT_COMPILE" = "xyes"; then
 
4587
        ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4588
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
 
4589
  SUNCC="yes"
 
4590
else
 
4591
  SUNCC="no"
 
4592
fi
 
4593
 
 
4594
        ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
 
4595
if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
 
4596
  INTELCC="yes"
 
4597
else
 
4598
  INTELCC="no"
 
4599
fi
 
4600
 
 
4601
        if test "x$GCC" = xyes ; then
 
4602
                STRICT_CFLAGS="-pedantic -Werror"
 
4603
        elif test "x$SUNCC" = "xyes"; then
 
4604
                STRICT_CFLAGS="-errwarn"
 
4605
    elif test "x$INTELCC" = "xyes"; then
 
4606
                STRICT_CFLAGS="-Werror"
 
4607
        fi
 
4608
fi
 
4609
CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
 
4610
 
 
4611
 
 
4612
 
 
4613
 
 
4614
cat >>confdefs.h <<_ACEOF
 
4615
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
 
4616
_ACEOF
 
4617
 
 
4618
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
 
4619
        if test "x$PVM" = "x"; then
 
4620
                PVM="0"
 
4621
        fi
 
4622
 
 
4623
cat >>confdefs.h <<_ACEOF
 
4624
#define PACKAGE_VERSION_MINOR $PVM
 
4625
_ACEOF
 
4626
 
 
4627
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
 
4628
        if test "x$PVP" = "x"; then
 
4629
                PVP="0"
 
4630
        fi
 
4631
 
 
4632
cat >>confdefs.h <<_ACEOF
 
4633
#define PACKAGE_VERSION_PATCHLEVEL $PVP
 
4634
_ACEOF
 
4635
 
 
4636
 
 
4637
 
 
4638
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
 
4639
mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
 
4640
|| (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
 
4641
echo 'git directory not found: installing possibly empty changelog.' >&2)"
 
4642
 
 
4643
 
 
4644
 
 
4645
 
 
4646
macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
 
4647
INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
 
4648
mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
 
4649
|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
 
4650
echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
 
4651
 
 
4652
 
 
4653
 
 
4654
 
 
4655
 
 
4656
 
 
4657
if test x$APP_MAN_SUFFIX = x    ; then
 
4658
    APP_MAN_SUFFIX=1
 
4659
fi
 
4660
if test x$APP_MAN_DIR = x    ; then
 
4661
    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
 
4662
fi
 
4663
 
 
4664
if test x$LIB_MAN_SUFFIX = x    ; then
 
4665
    LIB_MAN_SUFFIX=3
 
4666
fi
 
4667
if test x$LIB_MAN_DIR = x    ; then
 
4668
    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
 
4669
fi
 
4670
 
 
4671
if test x$FILE_MAN_SUFFIX = x    ; then
 
4672
    case $host_os in
 
4673
        solaris*)       FILE_MAN_SUFFIX=4  ;;
 
4674
        *)              FILE_MAN_SUFFIX=5  ;;
 
4675
    esac
 
4676
fi
 
4677
if test x$FILE_MAN_DIR = x    ; then
 
4678
    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
 
4679
fi
 
4680
 
 
4681
if test x$MISC_MAN_SUFFIX = x    ; then
 
4682
    case $host_os in
 
4683
        solaris*)       MISC_MAN_SUFFIX=5  ;;
 
4684
        *)              MISC_MAN_SUFFIX=7  ;;
 
4685
    esac
 
4686
fi
 
4687
if test x$MISC_MAN_DIR = x    ; then
 
4688
    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
 
4689
fi
 
4690
 
 
4691
if test x$DRIVER_MAN_SUFFIX = x    ; then
 
4692
    case $host_os in
 
4693
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
 
4694
        *)              DRIVER_MAN_SUFFIX=4  ;;
 
4695
    esac
 
4696
fi
 
4697
if test x$DRIVER_MAN_DIR = x    ; then
 
4698
    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
 
4699
fi
 
4700
 
 
4701
if test x$ADMIN_MAN_SUFFIX = x    ; then
 
4702
    case $host_os in
 
4703
        solaris*)       ADMIN_MAN_SUFFIX=1m ;;
 
4704
        *)              ADMIN_MAN_SUFFIX=8  ;;
 
4705
    esac
 
4706
fi
 
4707
if test x$ADMIN_MAN_DIR = x    ; then
 
4708
    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
 
4709
fi
 
4710
 
 
4711
 
 
4712
 
 
4713
 
 
4714
 
 
4715
 
 
4716
 
 
4717
 
 
4718
 
 
4719
 
 
4720
 
 
4721
 
 
4722
 
 
4723
 
 
4724
 
 
4725
XORG_MAN_PAGE="X Version 11"
 
4726
 
 
4727
MAN_SUBSTS="\
 
4728
        -e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
4729
        -e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
 
4730
        -e 's|__xservername__|Xorg|g' \
 
4731
        -e 's|__xconfigfile__|xorg.conf|g' \
 
4732
        -e 's|__projectroot__|\$(prefix)|g' \
 
4733
        -e 's|__apploaddir__|\$(appdefaultdir)|g' \
 
4734
        -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
 
4735
        -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
 
4736
        -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
 
4737
        -e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
 
4738
        -e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
 
4739
        -e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
 
4740
 
 
4741
 
 
4742
 
 
4743
# Check whether --enable-silent-rules was given.
 
4744
if test "${enable_silent_rules+set}" = set; then :
 
4745
  enableval=$enable_silent_rules;
 
4746
fi
 
4747
 
 
4748
case $enable_silent_rules in
 
4749
yes) AM_DEFAULT_VERBOSITY=0;;
 
4750
no)  AM_DEFAULT_VERBOSITY=1;;
 
4751
*)   AM_DEFAULT_VERBOSITY=0;;
 
4752
esac
 
4753
AM_BACKSLASH='\'
 
4754
 
 
4755
 
 
4756
 
 
4757
# Check for progs
 
4758
ac_ext=c
 
4759
ac_cpp='$CPP $CPPFLAGS'
 
4760
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4761
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4762
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4763
if test -n "$ac_tool_prefix"; then
 
4764
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
4765
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
4766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4767
$as_echo_n "checking for $ac_word... " >&6; }
 
4768
if ${ac_cv_prog_CC+:} false; then :
 
4769
  $as_echo_n "(cached) " >&6
 
4770
else
 
4771
  if test -n "$CC"; then
 
4772
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4773
else
 
4774
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4775
for as_dir in $PATH
 
4776
do
 
4777
  IFS=$as_save_IFS
 
4778
  test -z "$as_dir" && as_dir=.
 
4779
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4780
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4781
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
4782
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4783
    break 2
 
4784
  fi
 
4785
done
 
4786
  done
 
4787
IFS=$as_save_IFS
 
4788
 
 
4789
fi
 
4790
fi
 
4791
CC=$ac_cv_prog_CC
 
4792
if test -n "$CC"; then
 
4793
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4794
$as_echo "$CC" >&6; }
 
4795
else
 
4796
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4797
$as_echo "no" >&6; }
 
4798
fi
 
4799
 
 
4800
 
 
4801
fi
 
4802
if test -z "$ac_cv_prog_CC"; then
 
4803
  ac_ct_CC=$CC
 
4804
  # Extract the first word of "gcc", so it can be a program name with args.
 
4805
set dummy gcc; ac_word=$2
 
4806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4807
$as_echo_n "checking for $ac_word... " >&6; }
 
4808
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
4809
  $as_echo_n "(cached) " >&6
 
4810
else
 
4811
  if test -n "$ac_ct_CC"; then
 
4812
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
4813
else
 
4814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4815
for as_dir in $PATH
 
4816
do
 
4817
  IFS=$as_save_IFS
 
4818
  test -z "$as_dir" && as_dir=.
 
4819
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4820
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4821
    ac_cv_prog_ac_ct_CC="gcc"
 
4822
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4823
    break 2
 
4824
  fi
 
4825
done
 
4826
  done
 
4827
IFS=$as_save_IFS
 
4828
 
 
4829
fi
 
4830
fi
 
4831
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
4832
if test -n "$ac_ct_CC"; then
 
4833
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
4834
$as_echo "$ac_ct_CC" >&6; }
 
4835
else
 
4836
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4837
$as_echo "no" >&6; }
 
4838
fi
 
4839
 
 
4840
  if test "x$ac_ct_CC" = x; then
 
4841
    CC=""
 
4842
  else
 
4843
    case $cross_compiling:$ac_tool_warned in
 
4844
yes:)
 
4845
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
4846
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4847
ac_tool_warned=yes ;;
 
4848
esac
 
4849
    CC=$ac_ct_CC
 
4850
  fi
 
4851
else
 
4852
  CC="$ac_cv_prog_CC"
 
4853
fi
 
4854
 
 
4855
if test -z "$CC"; then
 
4856
          if test -n "$ac_tool_prefix"; then
 
4857
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4858
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
4859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4860
$as_echo_n "checking for $ac_word... " >&6; }
 
4861
if ${ac_cv_prog_CC+:} false; then :
 
4862
  $as_echo_n "(cached) " >&6
 
4863
else
 
4864
  if test -n "$CC"; then
 
4865
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4866
else
 
4867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4868
for as_dir in $PATH
 
4869
do
 
4870
  IFS=$as_save_IFS
 
4871
  test -z "$as_dir" && as_dir=.
 
4872
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4873
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4874
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
4875
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4876
    break 2
 
4877
  fi
 
4878
done
 
4879
  done
 
4880
IFS=$as_save_IFS
 
4881
 
 
4882
fi
 
4883
fi
 
4884
CC=$ac_cv_prog_CC
 
4885
if test -n "$CC"; then
 
4886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4887
$as_echo "$CC" >&6; }
 
4888
else
 
4889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4890
$as_echo "no" >&6; }
 
4891
fi
 
4892
 
 
4893
 
 
4894
  fi
 
4895
fi
 
4896
if test -z "$CC"; then
 
4897
  # Extract the first word of "cc", so it can be a program name with args.
 
4898
set dummy cc; ac_word=$2
 
4899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4900
$as_echo_n "checking for $ac_word... " >&6; }
 
4901
if ${ac_cv_prog_CC+:} false; then :
 
4902
  $as_echo_n "(cached) " >&6
 
4903
else
 
4904
  if test -n "$CC"; then
 
4905
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4906
else
 
4907
  ac_prog_rejected=no
 
4908
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4909
for as_dir in $PATH
 
4910
do
 
4911
  IFS=$as_save_IFS
 
4912
  test -z "$as_dir" && as_dir=.
 
4913
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4915
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
4916
       ac_prog_rejected=yes
 
4917
       continue
 
4918
     fi
 
4919
    ac_cv_prog_CC="cc"
 
4920
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4921
    break 2
 
4922
  fi
 
4923
done
 
4924
  done
 
4925
IFS=$as_save_IFS
 
4926
 
 
4927
if test $ac_prog_rejected = yes; then
 
4928
  # We found a bogon in the path, so make sure we never use it.
 
4929
  set dummy $ac_cv_prog_CC
 
4930
  shift
 
4931
  if test $# != 0; then
 
4932
    # We chose a different compiler from the bogus one.
 
4933
    # However, it has the same basename, so the bogon will be chosen
 
4934
    # first if we set CC to just the basename; use the full file name.
 
4935
    shift
 
4936
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
4937
  fi
 
4938
fi
 
4939
fi
 
4940
fi
 
4941
CC=$ac_cv_prog_CC
 
4942
if test -n "$CC"; then
 
4943
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4944
$as_echo "$CC" >&6; }
 
4945
else
 
4946
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4947
$as_echo "no" >&6; }
 
4948
fi
 
4949
 
 
4950
 
 
4951
fi
 
4952
if test -z "$CC"; then
 
4953
  if test -n "$ac_tool_prefix"; then
 
4954
  for ac_prog in cl.exe
 
4955
  do
 
4956
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4957
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
4959
$as_echo_n "checking for $ac_word... " >&6; }
 
4960
if ${ac_cv_prog_CC+:} false; then :
 
4961
  $as_echo_n "(cached) " >&6
 
4962
else
 
4963
  if test -n "$CC"; then
 
4964
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
4965
else
 
4966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4967
for as_dir in $PATH
 
4968
do
 
4969
  IFS=$as_save_IFS
 
4970
  test -z "$as_dir" && as_dir=.
 
4971
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4972
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4973
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
4974
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4975
    break 2
 
4976
  fi
 
4977
done
 
4978
  done
 
4979
IFS=$as_save_IFS
 
4980
 
 
4981
fi
 
4982
fi
 
4983
CC=$ac_cv_prog_CC
 
4984
if test -n "$CC"; then
 
4985
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
4986
$as_echo "$CC" >&6; }
 
4987
else
 
4988
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4989
$as_echo "no" >&6; }
 
4990
fi
 
4991
 
 
4992
 
 
4993
    test -n "$CC" && break
 
4994
  done
 
4995
fi
 
4996
if test -z "$CC"; then
 
4997
  ac_ct_CC=$CC
 
4998
  for ac_prog in cl.exe
 
4999
do
 
5000
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5001
set dummy $ac_prog; ac_word=$2
 
5002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
5003
$as_echo_n "checking for $ac_word... " >&6; }
 
5004
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
5005
  $as_echo_n "(cached) " >&6
 
5006
else
 
5007
  if test -n "$ac_ct_CC"; then
 
5008
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
5009
else
 
5010
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5011
for as_dir in $PATH
 
5012
do
 
5013
  IFS=$as_save_IFS
 
5014
  test -z "$as_dir" && as_dir=.
 
5015
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5016
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5017
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
5018
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5019
    break 2
 
5020
  fi
 
5021
done
 
5022
  done
 
5023
IFS=$as_save_IFS
 
5024
 
 
5025
fi
 
5026
fi
 
5027
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
5028
if test -n "$ac_ct_CC"; then
 
5029
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
5030
$as_echo "$ac_ct_CC" >&6; }
 
5031
else
 
5032
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5033
$as_echo "no" >&6; }
 
5034
fi
 
5035
 
 
5036
 
 
5037
  test -n "$ac_ct_CC" && break
 
5038
done
 
5039
 
 
5040
  if test "x$ac_ct_CC" = x; then
 
5041
    CC=""
 
5042
  else
 
5043
    case $cross_compiling:$ac_tool_warned in
 
5044
yes:)
 
5045
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
5046
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5047
ac_tool_warned=yes ;;
 
5048
esac
 
5049
    CC=$ac_ct_CC
 
5050
  fi
 
5051
fi
 
5052
 
 
5053
fi
 
5054
 
 
5055
 
 
5056
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
5057
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
5058
as_fn_error $? "no acceptable C compiler found in \$PATH
 
5059
See \`config.log' for more details" "$LINENO" 5; }
 
5060
 
 
5061
# Provide some information about the compiler.
 
5062
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
5063
set X $ac_compile
 
5064
ac_compiler=$2
 
5065
for ac_option in --version -v -V -qversion; do
 
5066
  { { ac_try="$ac_compiler $ac_option >&5"
 
5067
case "(($ac_try" in
 
5068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5069
  *) ac_try_echo=$ac_try;;
 
5070
esac
 
5071
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5072
$as_echo "$ac_try_echo"; } >&5
 
5073
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5074
  ac_status=$?
 
5075
  if test -s conftest.err; then
 
5076
    sed '10a\
 
5077
... rest of stderr output deleted ...
 
5078
         10q' conftest.err >conftest.er1
 
5079
    cat conftest.er1 >&5
 
5080
  fi
 
5081
  rm -f conftest.er1 conftest.err
 
5082
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5083
  test $ac_status = 0; }
 
5084
done
 
5085
 
 
5086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
5087
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
5088
if ${ac_cv_c_compiler_gnu+:} false; then :
 
5089
  $as_echo_n "(cached) " >&6
 
5090
else
 
5091
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5092
/* end confdefs.h.  */
 
5093
 
 
5094
int
 
5095
main ()
 
5096
{
 
5097
#ifndef __GNUC__
 
5098
       choke me
 
5099
#endif
 
5100
 
 
5101
  ;
 
5102
  return 0;
 
5103
}
 
5104
_ACEOF
 
5105
if ac_fn_c_try_compile "$LINENO"; then :
 
5106
  ac_compiler_gnu=yes
 
5107
else
 
5108
  ac_compiler_gnu=no
 
5109
fi
 
5110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5111
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
5112
 
 
5113
fi
 
5114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
5115
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
5116
if test $ac_compiler_gnu = yes; then
 
5117
  GCC=yes
 
5118
else
 
5119
  GCC=
 
5120
fi
 
5121
ac_test_CFLAGS=${CFLAGS+set}
 
5122
ac_save_CFLAGS=$CFLAGS
 
5123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
5124
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
5125
if ${ac_cv_prog_cc_g+:} false; then :
 
5126
  $as_echo_n "(cached) " >&6
 
5127
else
 
5128
  ac_save_c_werror_flag=$ac_c_werror_flag
 
5129
   ac_c_werror_flag=yes
 
5130
   ac_cv_prog_cc_g=no
 
5131
   CFLAGS="-g"
 
5132
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5133
/* end confdefs.h.  */
 
5134
 
 
5135
int
 
5136
main ()
 
5137
{
 
5138
 
 
5139
  ;
 
5140
  return 0;
 
5141
}
 
5142
_ACEOF
 
5143
if ac_fn_c_try_compile "$LINENO"; then :
 
5144
  ac_cv_prog_cc_g=yes
 
5145
else
 
5146
  CFLAGS=""
 
5147
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5148
/* end confdefs.h.  */
 
5149
 
 
5150
int
 
5151
main ()
 
5152
{
 
5153
 
 
5154
  ;
 
5155
  return 0;
 
5156
}
 
5157
_ACEOF
 
5158
if ac_fn_c_try_compile "$LINENO"; then :
 
5159
 
 
5160
else
 
5161
  ac_c_werror_flag=$ac_save_c_werror_flag
 
5162
         CFLAGS="-g"
 
5163
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5164
/* end confdefs.h.  */
 
5165
 
 
5166
int
 
5167
main ()
 
5168
{
 
5169
 
 
5170
  ;
 
5171
  return 0;
 
5172
}
 
5173
_ACEOF
 
5174
if ac_fn_c_try_compile "$LINENO"; then :
 
5175
  ac_cv_prog_cc_g=yes
 
5176
fi
 
5177
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5178
fi
 
5179
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5180
fi
 
5181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5182
   ac_c_werror_flag=$ac_save_c_werror_flag
 
5183
fi
 
5184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
5185
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
5186
if test "$ac_test_CFLAGS" = set; then
 
5187
  CFLAGS=$ac_save_CFLAGS
 
5188
elif test $ac_cv_prog_cc_g = yes; then
 
5189
  if test "$GCC" = yes; then
 
5190
    CFLAGS="-g -O2"
 
5191
  else
 
5192
    CFLAGS="-g"
 
5193
  fi
 
5194
else
 
5195
  if test "$GCC" = yes; then
 
5196
    CFLAGS="-O2"
 
5197
  else
 
5198
    CFLAGS=
 
5199
  fi
 
5200
fi
 
5201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
5202
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
5203
if ${ac_cv_prog_cc_c89+:} false; then :
 
5204
  $as_echo_n "(cached) " >&6
 
5205
else
 
5206
  ac_cv_prog_cc_c89=no
 
5207
ac_save_CC=$CC
 
5208
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
5209
/* end confdefs.h.  */
 
5210
#include <stdarg.h>
 
5211
#include <stdio.h>
 
5212
#include <sys/types.h>
 
5213
#include <sys/stat.h>
 
5214
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
5215
struct buf { int x; };
 
5216
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
5217
static char *e (p, i)
 
5218
     char **p;
 
5219
     int i;
 
5220
{
 
5221
  return p[i];
 
5222
}
 
5223
static char *f (char * (*g) (char **, int), char **p, ...)
 
5224
{
 
5225
  char *s;
 
5226
  va_list v;
 
5227
  va_start (v,p);
 
5228
  s = g (p, va_arg (v,int));
 
5229
  va_end (v);
 
5230
  return s;
 
5231
}
 
5232
 
 
5233
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
5234
   function prototypes and stuff, but not '\xHH' hex character constants.
 
5235
   These don't provoke an error unfortunately, instead are silently treated
 
5236
   as 'x'.  The following induces an error, until -std is added to get
 
5237
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
5238
   array size at least.  It's necessary to write '\x00'==0 to get something
 
5239
   that's true only with -std.  */
 
5240
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
5241
 
 
5242
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
5243
   inside strings and character constants.  */
 
5244
#define FOO(x) 'x'
 
5245
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
5246
 
 
5247
int test (int i, double x);
 
5248
struct s1 {int (*f) (int a);};
 
5249
struct s2 {int (*f) (double a);};
 
5250
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
5251
int argc;
 
5252
char **argv;
 
5253
int
 
5254
main ()
 
5255
{
 
5256
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
5257
  ;
 
5258
  return 0;
 
5259
}
 
5260
_ACEOF
 
5261
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
5262
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
5263
do
 
5264
  CC="$ac_save_CC $ac_arg"
 
5265
  if ac_fn_c_try_compile "$LINENO"; then :
 
5266
  ac_cv_prog_cc_c89=$ac_arg
 
5267
fi
 
5268
rm -f core conftest.err conftest.$ac_objext
 
5269
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
5270
done
 
5271
rm -f conftest.$ac_ext
 
5272
CC=$ac_save_CC
 
5273
 
 
5274
fi
 
5275
# AC_CACHE_VAL
 
5276
case "x$ac_cv_prog_cc_c89" in
 
5277
  x)
 
5278
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
5279
$as_echo "none needed" >&6; } ;;
 
5280
  xno)
 
5281
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
5282
$as_echo "unsupported" >&6; } ;;
 
5283
  *)
 
5284
    CC="$CC $ac_cv_prog_cc_c89"
 
5285
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
5286
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
5287
esac
 
5288
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
5289
 
 
5290
fi
 
5291
 
 
5292
ac_ext=c
 
5293
ac_cpp='$CPP $CPPFLAGS'
 
5294
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
5295
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
5296
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
5297
 
 
5298
depcc="$CC"   am_compiler_list=
 
5299
 
 
5300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
5301
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
5302
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
5303
  $as_echo_n "(cached) " >&6
 
5304
else
 
5305
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5306
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5307
  # making bogus files that we don't know about and never remove.  For
 
5308
  # instance it was reported that on HP-UX the gcc test will end up
 
5309
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5310
  # in D'.
 
5311
  mkdir conftest.dir
 
5312
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5313
  # using a relative directory.
 
5314
  cp "$am_depcomp" conftest.dir
 
5315
  cd conftest.dir
 
5316
  # We will build objects and dependencies in a subdirectory because
 
5317
  # it helps to detect inapplicable dependency modes.  For instance
 
5318
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5319
  # side effect of compilation, but ICC will put the dependencies in
 
5320
  # the current directory while Tru64 will put them in the object
 
5321
  # directory.
 
5322
  mkdir sub
 
5323
 
 
5324
  am_cv_CC_dependencies_compiler_type=none
 
5325
  if test "$am_compiler_list" = ""; then
 
5326
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5327
  fi
 
5328
  am__universal=false
 
5329
  case " $depcc " in #(
 
5330
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
5331
     esac
 
5332
 
 
5333
  for depmode in $am_compiler_list; do
 
5334
    # Setup a source with many dependencies, because some compilers
 
5335
    # like to wrap large dependency lists on column 80 (with \), and
 
5336
    # we should not choose a depcomp mode which is confused by this.
 
5337
    #
 
5338
    # We need to recreate these files for each test, as the compiler may
 
5339
    # overwrite some of them when testing with obscure command lines.
 
5340
    # This happens at least with the AIX C compiler.
 
5341
    : > sub/conftest.c
 
5342
    for i in 1 2 3 4 5 6; do
 
5343
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5344
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5345
      # Solaris 8's {/usr,}/bin/sh.
 
5346
      touch sub/conftst$i.h
 
5347
    done
 
5348
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5349
 
 
5350
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5351
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5352
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
5353
    # versions had trouble with output in subdirs
 
5354
    am__obj=sub/conftest.${OBJEXT-o}
 
5355
    am__minus_obj="-o $am__obj"
 
5356
    case $depmode in
 
5357
    gcc)
 
5358
      # This depmode causes a compiler race in universal mode.
 
5359
      test "$am__universal" = false || continue
 
5360
      ;;
 
5361
    nosideeffect)
 
5362
      # after this tag, mechanisms are not by side-effect, so they'll
 
5363
      # only be used when explicitly requested
 
5364
      if test "x$enable_dependency_tracking" = xyes; then
 
5365
        continue
 
5366
      else
 
5367
        break
 
5368
      fi
 
5369
      ;;
 
5370
    msvisualcpp | msvcmsys)
 
5371
      # This compiler won't grok `-c -o', but also, the minuso test has
 
5372
      # not run yet.  These depmodes are late enough in the game, and
 
5373
      # so weak that their functioning should not be impacted.
 
5374
      am__obj=conftest.${OBJEXT-o}
 
5375
      am__minus_obj=
 
5376
      ;;
 
5377
    none) break ;;
 
5378
    esac
 
5379
    if depmode=$depmode \
 
5380
       source=sub/conftest.c object=$am__obj \
 
5381
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5382
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
5383
         >/dev/null 2>conftest.err &&
 
5384
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
5385
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5386
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
5387
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5388
      # icc doesn't choke on unknown options, it will just issue warnings
 
5389
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5390
      # that says an option was ignored or not supported.
 
5391
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5392
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5393
      # The diagnosis changed in icc 8.0:
 
5394
      #   icc: Command line remark: option '-MP' not supported
 
5395
      if (grep 'ignoring option' conftest.err ||
 
5396
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5397
        am_cv_CC_dependencies_compiler_type=$depmode
 
5398
        break
 
5399
      fi
 
5400
    fi
 
5401
  done
 
5402
 
 
5403
  cd ..
 
5404
  rm -rf conftest.dir
 
5405
else
 
5406
  am_cv_CC_dependencies_compiler_type=none
 
5407
fi
 
5408
 
 
5409
fi
 
5410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
5411
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
5412
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
5413
 
 
5414
 if
 
5415
  test "x$enable_dependency_tracking" != xno \
 
5416
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
5417
  am__fastdepCC_TRUE=
 
5418
  am__fastdepCC_FALSE='#'
 
5419
else
 
5420
  am__fastdepCC_TRUE='#'
 
5421
  am__fastdepCC_FALSE=
 
5422
fi
 
5423
 
 
5424
 
 
5425
case `pwd` in
 
5426
  *\ * | *\     *)
 
5427
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
5428
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
5429
esac
 
5430
 
 
5431
 
 
5432
 
 
5433
macro_version='2.2.10'
 
5434
macro_revision='1.3175'
 
5435
 
 
5436
 
 
5437
 
 
5438
 
 
5439
 
 
5440
 
 
5441
 
 
5442
 
 
5443
 
 
5444
 
 
5445
 
 
5446
 
 
5447
 
 
5448
ltmain="$ac_aux_dir/ltmain.sh"
 
5449
 
 
5450
# Backslashify metacharacters that are still active within
 
5451
# double-quoted strings.
 
5452
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
5453
 
 
5454
# Same as above, but do not quote variable references.
 
5455
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
5456
 
 
5457
# Sed substitution to delay expansion of an escaped shell variable in a
 
5458
# double_quote_subst'ed string.
 
5459
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
5460
 
 
5461
# Sed substitution to delay expansion of an escaped single quote.
 
5462
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
5463
 
 
5464
# Sed substitution to avoid accidental globbing in evaled expressions
 
5465
no_glob_subst='s/\*/\\\*/g'
 
5466
 
 
5467
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
5468
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
5469
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
5470
 
 
5471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
5472
$as_echo_n "checking how to print strings... " >&6; }
 
5473
# Test print first, because it will be a builtin if present.
 
5474
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
5475
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5476
  ECHO='print -r --'
 
5477
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
5478
  ECHO='printf %s\n'
 
5479
else
 
5480
  # Use this function as a fallback that always works.
 
5481
  func_fallback_echo ()
 
5482
  {
 
5483
    eval 'cat <<_LTECHO_EOF
 
5484
$1
 
5485
_LTECHO_EOF'
 
5486
  }
 
5487
  ECHO='func_fallback_echo'
 
5488
fi
 
5489
 
 
5490
# func_echo_all arg...
 
5491
# Invoke $ECHO with all args, space-separated.
 
5492
func_echo_all ()
 
5493
{
 
5494
    $ECHO ""
 
5495
}
 
5496
 
 
5497
case "$ECHO" in
 
5498
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
5499
$as_echo "printf" >&6; } ;;
 
5500
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
5501
$as_echo "print -r" >&6; } ;;
 
5502
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
5503
$as_echo "cat" >&6; } ;;
 
5504
esac
 
5505
 
 
5506
 
 
5507
 
 
5508
 
 
5509
 
 
5510
 
 
5511
 
 
5512
 
 
5513
 
 
5514
 
 
5515
 
 
5516
 
 
5517
 
 
5518
 
 
5519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
5520
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5521
if ${ac_cv_path_SED+:} false; then :
 
5522
  $as_echo_n "(cached) " >&6
 
5523
else
 
5524
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5525
     for ac_i in 1 2 3 4 5 6 7; do
 
5526
       ac_script="$ac_script$as_nl$ac_script"
 
5527
     done
 
5528
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5529
     { ac_script=; unset ac_script;}
 
5530
     if test -z "$SED"; then
 
5531
  ac_path_SED_found=false
 
5532
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5533
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5534
for as_dir in $PATH
 
5535
do
 
5536
  IFS=$as_save_IFS
 
5537
  test -z "$as_dir" && as_dir=.
 
5538
    for ac_prog in sed gsed; do
 
5539
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5540
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5541
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5542
# Check for GNU ac_path_SED and select it if it is found.
 
5543
  # Check for GNU $ac_path_SED
 
5544
case `"$ac_path_SED" --version 2>&1` in
 
5545
*GNU*)
 
5546
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5547
*)
 
5548
  ac_count=0
 
5549
  $as_echo_n 0123456789 >"conftest.in"
 
5550
  while :
 
5551
  do
 
5552
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5553
    mv "conftest.tmp" "conftest.in"
 
5554
    cp "conftest.in" "conftest.nl"
 
5555
    $as_echo '' >> "conftest.nl"
 
5556
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5557
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5558
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
5559
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5560
      # Best one so far, save it but keep looking for a better one
 
5561
      ac_cv_path_SED="$ac_path_SED"
 
5562
      ac_path_SED_max=$ac_count
 
5563
    fi
 
5564
    # 10*(2^10) chars as input seems more than enough
 
5565
    test $ac_count -gt 10 && break
 
5566
  done
 
5567
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5568
esac
 
5569
 
 
5570
      $ac_path_SED_found && break 3
 
5571
    done
 
5572
  done
 
5573
  done
 
5574
IFS=$as_save_IFS
 
5575
  if test -z "$ac_cv_path_SED"; then
 
5576
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
5577
  fi
 
5578
else
 
5579
  ac_cv_path_SED=$SED
 
5580
fi
 
5581
 
 
5582
fi
 
5583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
5584
$as_echo "$ac_cv_path_SED" >&6; }
 
5585
 SED="$ac_cv_path_SED"
 
5586
  rm -f conftest.sed
 
5587
 
 
5588
test -z "$SED" && SED=sed
 
5589
Xsed="$SED -e 1s/^X//"
 
5590
 
 
5591
 
 
5592
 
 
5593
 
 
5594
 
 
5595
 
 
5596
 
 
5597
 
 
5598
 
 
5599
 
 
5600
 
 
5601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4088
5602
$as_echo_n "checking for fgrep... " >&6; }
4089
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
5603
if ${ac_cv_path_FGREP+:} false; then :
4090
5604
  $as_echo_n "(cached) " >&6
4091
5605
else
4092
5606
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4100
5614
do
4101
5615
  IFS=$as_save_IFS
4102
5616
  test -z "$as_dir" && as_dir=.
4103
 
  for ac_prog in fgrep; do
 
5617
    for ac_prog in fgrep; do
4104
5618
    for ac_exec_ext in '' $ac_executable_extensions; do
4105
5619
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4106
5620
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4120
5634
    $as_echo 'FGREP' >> "conftest.nl"
4121
5635
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4122
5636
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4123
 
    ac_count=`expr $ac_count + 1`
 
5637
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4124
5638
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4125
5639
      # Best one so far, save it but keep looking for a better one
4126
5640
      ac_cv_path_FGREP="$ac_path_FGREP"
4135
5649
      $ac_path_FGREP_found && break 3
4136
5650
    done
4137
5651
  done
4138
 
done
 
5652
  done
4139
5653
IFS=$as_save_IFS
4140
5654
  if test -z "$ac_cv_path_FGREP"; then
4141
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4142
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4143
 
   { (exit 1); exit 1; }; }
 
5655
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4144
5656
  fi
4145
5657
else
4146
5658
  ac_cv_path_FGREP=$FGREP
4148
5660
 
4149
5661
   fi
4150
5662
fi
4151
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4152
5664
$as_echo "$ac_cv_path_FGREP" >&6; }
4153
5665
 FGREP="$ac_cv_path_FGREP"
4154
5666
 
4174
5686
 
4175
5687
 
4176
5688
# Check whether --with-gnu-ld was given.
4177
 
if test "${with_gnu_ld+set}" = set; then
 
5689
if test "${with_gnu_ld+set}" = set; then :
4178
5690
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4179
5691
else
4180
5692
  with_gnu_ld=no
4183
5695
ac_prog=ld
4184
5696
if test "$GCC" = yes; then
4185
5697
  # Check if gcc -print-prog-name=ld gives a path.
4186
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5698
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4187
5699
$as_echo_n "checking for ld used by $CC... " >&6; }
4188
5700
  case $host in
4189
5701
  *-*-mingw*)
4213
5725
    ;;
4214
5726
  esac
4215
5727
elif test "$with_gnu_ld" = yes; then
4216
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5728
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4217
5729
$as_echo_n "checking for GNU ld... " >&6; }
4218
5730
else
4219
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5731
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4220
5732
$as_echo_n "checking for non-GNU ld... " >&6; }
4221
5733
fi
4222
 
if test "${lt_cv_path_LD+set}" = set; then
 
5734
if ${lt_cv_path_LD+:} false; then :
4223
5735
  $as_echo_n "(cached) " >&6
4224
5736
else
4225
5737
  if test -z "$LD"; then
4250
5762
 
4251
5763
LD="$lt_cv_path_LD"
4252
5764
if test -n "$LD"; then
4253
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5765
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4254
5766
$as_echo "$LD" >&6; }
4255
5767
else
4256
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5768
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257
5769
$as_echo "no" >&6; }
4258
5770
fi
4259
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4260
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4261
 
   { (exit 1); exit 1; }; }
4262
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5771
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
5772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4263
5773
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4264
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5774
if ${lt_cv_prog_gnu_ld+:} false; then :
4265
5775
  $as_echo_n "(cached) " >&6
4266
5776
else
4267
5777
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4274
5784
  ;;
4275
5785
esac
4276
5786
fi
4277
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4278
5788
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4279
5789
with_gnu_ld=$lt_cv_prog_gnu_ld
4280
5790
 
4286
5796
 
4287
5797
 
4288
5798
 
4289
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4290
5800
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4291
 
if test "${lt_cv_path_NM+set}" = set; then
 
5801
if ${lt_cv_path_NM+:} false; then :
4292
5802
  $as_echo_n "(cached) " >&6
4293
5803
else
4294
5804
  if test -n "$NM"; then
4335
5845
  : ${lt_cv_path_NM=no}
4336
5846
fi
4337
5847
fi
4338
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4339
5849
$as_echo "$lt_cv_path_NM" >&6; }
4340
5850
if test "$lt_cv_path_NM" != "no"; then
4341
5851
  NM="$lt_cv_path_NM"
4342
5852
else
4343
5853
  # Didn't find any BSD compatible name lister, look for dumpbin.
4344
 
  if test -n "$ac_tool_prefix"; then
4345
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5854
  if test -n "$DUMPBIN"; then :
 
5855
    # Let the user override the test.
 
5856
  else
 
5857
    if test -n "$ac_tool_prefix"; then
 
5858
  for ac_prog in dumpbin "link -dump"
4346
5859
  do
4347
5860
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4348
5861
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4349
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4350
5863
$as_echo_n "checking for $ac_word... " >&6; }
4351
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5864
if ${ac_cv_prog_DUMPBIN+:} false; then :
4352
5865
  $as_echo_n "(cached) " >&6
4353
5866
else
4354
5867
  if test -n "$DUMPBIN"; then
4359
5872
do
4360
5873
  IFS=$as_save_IFS
4361
5874
  test -z "$as_dir" && as_dir=.
4362
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5875
    for ac_exec_ext in '' $ac_executable_extensions; do
4363
5876
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4364
5877
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4365
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5878
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4366
5879
    break 2
4367
5880
  fi
4368
5881
done
4369
 
done
 
5882
  done
4370
5883
IFS=$as_save_IFS
4371
5884
 
4372
5885
fi
4373
5886
fi
4374
5887
DUMPBIN=$ac_cv_prog_DUMPBIN
4375
5888
if test -n "$DUMPBIN"; then
4376
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4377
5890
$as_echo "$DUMPBIN" >&6; }
4378
5891
else
4379
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5892
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4380
5893
$as_echo "no" >&6; }
4381
5894
fi
4382
5895
 
4386
5899
fi
4387
5900
if test -z "$DUMPBIN"; then
4388
5901
  ac_ct_DUMPBIN=$DUMPBIN
4389
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5902
  for ac_prog in dumpbin "link -dump"
4390
5903
do
4391
5904
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4392
5905
set dummy $ac_prog; ac_word=$2
4393
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394
5907
$as_echo_n "checking for $ac_word... " >&6; }
4395
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5908
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4396
5909
  $as_echo_n "(cached) " >&6
4397
5910
else
4398
5911
  if test -n "$ac_ct_DUMPBIN"; then
4403
5916
do
4404
5917
  IFS=$as_save_IFS
4405
5918
  test -z "$as_dir" && as_dir=.
4406
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5919
    for ac_exec_ext in '' $ac_executable_extensions; do
4407
5920
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4408
5921
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4409
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5922
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410
5923
    break 2
4411
5924
  fi
4412
5925
done
4413
 
done
 
5926
  done
4414
5927
IFS=$as_save_IFS
4415
5928
 
4416
5929
fi
4417
5930
fi
4418
5931
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4419
5932
if test -n "$ac_ct_DUMPBIN"; then
4420
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5933
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4421
5934
$as_echo "$ac_ct_DUMPBIN" >&6; }
4422
5935
else
4423
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5936
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424
5937
$as_echo "no" >&6; }
4425
5938
fi
4426
5939
 
4433
5946
  else
4434
5947
    case $cross_compiling:$ac_tool_warned in
4435
5948
yes:)
4436
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4437
5950
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4438
5951
ac_tool_warned=yes ;;
4439
5952
esac
4441
5954
  fi
4442
5955
fi
4443
5956
 
 
5957
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5958
    *COFF*)
 
5959
      DUMPBIN="$DUMPBIN -symbols"
 
5960
      ;;
 
5961
    *)
 
5962
      DUMPBIN=:
 
5963
      ;;
 
5964
    esac
 
5965
  fi
4444
5966
 
4445
5967
  if test "$DUMPBIN" != ":"; then
4446
5968
    NM="$DUMPBIN"
4453
5975
 
4454
5976
 
4455
5977
 
4456
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4457
5979
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4458
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5980
if ${lt_cv_nm_interface+:} false; then :
4459
5981
  $as_echo_n "(cached) " >&6
4460
5982
else
4461
5983
  lt_cv_nm_interface="BSD nm"
4462
5984
  echo "int some_variable = 0;" > conftest.$ac_ext
4463
 
  (eval echo "\"\$as_me:4463: $ac_compile\"" >&5)
 
5985
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4464
5986
  (eval "$ac_compile" 2>conftest.err)
4465
5987
  cat conftest.err >&5
4466
 
  (eval echo "\"\$as_me:4466: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5988
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4467
5989
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4468
5990
  cat conftest.err >&5
4469
 
  (eval echo "\"\$as_me:4469: output\"" >&5)
 
5991
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4470
5992
  cat conftest.out >&5
4471
5993
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4472
5994
    lt_cv_nm_interface="MS dumpbin"
4473
5995
  fi
4474
5996
  rm -f conftest*
4475
5997
fi
4476
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4477
5999
$as_echo "$lt_cv_nm_interface" >&6; }
4478
6000
 
4479
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4480
6002
$as_echo_n "checking whether ln -s works... " >&6; }
4481
6003
LN_S=$as_ln_s
4482
6004
if test "$LN_S" = "ln -s"; then
4483
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6005
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4484
6006
$as_echo "yes" >&6; }
4485
6007
else
4486
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6008
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4487
6009
$as_echo "no, using $LN_S" >&6; }
4488
6010
fi
4489
6011
 
4490
6012
# find the maximum length of command line arguments
4491
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4492
6014
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4493
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6015
if ${lt_cv_sys_max_cmd_len+:} false; then :
4494
6016
  $as_echo_n "(cached) " >&6
4495
6017
else
4496
6018
    i=0
4523
6045
    lt_cv_sys_max_cmd_len=8192;
4524
6046
    ;;
4525
6047
 
 
6048
  mint*)
 
6049
    # On MiNT this can take a long time and run out of memory.
 
6050
    lt_cv_sys_max_cmd_len=8192;
 
6051
    ;;
 
6052
 
4526
6053
  amigaos*)
4527
6054
    # On AmigaOS with pdksh, this test takes hours, literally.
4528
6055
    # So we just punt and use a minimum line length of 8192.
4587
6114
      # If test is not a shell built-in, we'll probably end up computing a
4588
6115
      # maximum length that is only half of the actual maximum length, but
4589
6116
      # we can't tell.
4590
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4591
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6117
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
6118
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4592
6119
              test $i != 17 # 1/2 MB should be enough
4593
6120
      do
4594
6121
        i=`expr $i + 1`
4608
6135
fi
4609
6136
 
4610
6137
if test -n $lt_cv_sys_max_cmd_len ; then
4611
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4612
6139
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4613
6140
else
4614
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4615
6142
$as_echo "none" >&6; }
4616
6143
fi
4617
6144
max_cmd_len=$lt_cv_sys_max_cmd_len
4625
6152
: ${MV="mv -f"}
4626
6153
: ${RM="rm -f"}
4627
6154
 
4628
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4629
6156
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4630
6157
# Try some XSI features
4631
6158
xsi_shell=no
4635
6162
    && eval 'test $(( 1 + 1 )) -eq 2 \
4636
6163
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4637
6164
  && xsi_shell=yes
4638
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4639
6166
$as_echo "$xsi_shell" >&6; }
4640
6167
 
4641
6168
 
4642
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4643
6170
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4644
6171
lt_shell_append=no
4645
6172
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4646
6173
    >/dev/null 2>&1 \
4647
6174
  && lt_shell_append=yes
4648
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4649
6176
$as_echo "$lt_shell_append" >&6; }
4650
6177
 
4651
6178
 
4680
6207
 
4681
6208
 
4682
6209
 
4683
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4684
6211
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4685
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6212
if ${lt_cv_ld_reload_flag+:} false; then :
4686
6213
  $as_echo_n "(cached) " >&6
4687
6214
else
4688
6215
  lt_cv_ld_reload_flag='-r'
4689
6216
fi
4690
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4691
6218
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4692
6219
reload_flag=$lt_cv_ld_reload_flag
4693
6220
case $reload_flag in
4716
6243
if test -n "$ac_tool_prefix"; then
4717
6244
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4718
6245
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4719
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720
6247
$as_echo_n "checking for $ac_word... " >&6; }
4721
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6248
if ${ac_cv_prog_OBJDUMP+:} false; then :
4722
6249
  $as_echo_n "(cached) " >&6
4723
6250
else
4724
6251
  if test -n "$OBJDUMP"; then
4729
6256
do
4730
6257
  IFS=$as_save_IFS
4731
6258
  test -z "$as_dir" && as_dir=.
4732
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6259
    for ac_exec_ext in '' $ac_executable_extensions; do
4733
6260
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4734
6261
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4735
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6262
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4736
6263
    break 2
4737
6264
  fi
4738
6265
done
4739
 
done
 
6266
  done
4740
6267
IFS=$as_save_IFS
4741
6268
 
4742
6269
fi
4743
6270
fi
4744
6271
OBJDUMP=$ac_cv_prog_OBJDUMP
4745
6272
if test -n "$OBJDUMP"; then
4746
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6273
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4747
6274
$as_echo "$OBJDUMP" >&6; }
4748
6275
else
4749
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6276
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4750
6277
$as_echo "no" >&6; }
4751
6278
fi
4752
6279
 
4756
6283
  ac_ct_OBJDUMP=$OBJDUMP
4757
6284
  # Extract the first word of "objdump", so it can be a program name with args.
4758
6285
set dummy objdump; ac_word=$2
4759
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760
6287
$as_echo_n "checking for $ac_word... " >&6; }
4761
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6288
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4762
6289
  $as_echo_n "(cached) " >&6
4763
6290
else
4764
6291
  if test -n "$ac_ct_OBJDUMP"; then
4769
6296
do
4770
6297
  IFS=$as_save_IFS
4771
6298
  test -z "$as_dir" && as_dir=.
4772
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6299
    for ac_exec_ext in '' $ac_executable_extensions; do
4773
6300
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4774
6301
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4775
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6302
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4776
6303
    break 2
4777
6304
  fi
4778
6305
done
4779
 
done
 
6306
  done
4780
6307
IFS=$as_save_IFS
4781
6308
 
4782
6309
fi
4783
6310
fi
4784
6311
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4785
6312
if test -n "$ac_ct_OBJDUMP"; then
4786
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4787
6314
$as_echo "$ac_ct_OBJDUMP" >&6; }
4788
6315
else
4789
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790
6317
$as_echo "no" >&6; }
4791
6318
fi
4792
6319
 
4795
6322
  else
4796
6323
    case $cross_compiling:$ac_tool_warned in
4797
6324
yes:)
4798
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6325
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4799
6326
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4800
6327
ac_tool_warned=yes ;;
4801
6328
esac
4815
6342
 
4816
6343
 
4817
6344
 
4818
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
6345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4819
6346
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4820
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
6347
if ${lt_cv_deplibs_check_method+:} false; then :
4821
6348
  $as_echo_n "(cached) " >&6
4822
6349
else
4823
6350
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4859
6386
  # Base MSYS/MinGW do not provide the 'file' command needed by
4860
6387
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4861
6388
  # unless we find 'file', for example because we are cross-compiling.
4862
 
  if ( file / ) >/dev/null 2>&1; then
 
6389
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
6390
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4863
6391
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4864
6392
    lt_cv_file_magic_cmd='func_win32_libid'
4865
6393
  else
4866
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6394
    # Keep this pattern in sync with the one in func_win32_libid.
 
6395
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4867
6396
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4868
6397
  fi
4869
6398
  ;;
4870
6399
 
4871
 
cegcc)
 
6400
cegcc*)
4872
6401
  # use the weaker test based on 'objdump'. See mingw*.
4873
6402
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4874
6403
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4898
6427
  lt_cv_deplibs_check_method=pass_all
4899
6428
  ;;
4900
6429
 
 
6430
haiku*)
 
6431
  lt_cv_deplibs_check_method=pass_all
 
6432
  ;;
 
6433
 
4901
6434
hpux10.20* | hpux11*)
4902
6435
  lt_cv_file_magic_cmd=/usr/bin/file
4903
6436
  case $host_cpu in
4906
6439
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4907
6440
    ;;
4908
6441
  hppa*64*)
4909
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
6442
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
4910
6443
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4911
6444
    ;;
4912
6445
  *)
4913
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
6446
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4914
6447
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4915
6448
    ;;
4916
6449
  esac
4932
6465
  ;;
4933
6466
 
4934
6467
# This must be Linux ELF.
4935
 
linux* | k*bsd*-gnu)
 
6468
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4936
6469
  lt_cv_deplibs_check_method=pass_all
4937
6470
  ;;
4938
6471
 
5011
6544
esac
5012
6545
 
5013
6546
fi
5014
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5015
6548
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5016
6549
file_magic_cmd=$lt_cv_file_magic_cmd
5017
6550
deplibs_check_method=$lt_cv_deplibs_check_method
5031
6564
if test -n "$ac_tool_prefix"; then
5032
6565
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5033
6566
set dummy ${ac_tool_prefix}ar; ac_word=$2
5034
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5035
6568
$as_echo_n "checking for $ac_word... " >&6; }
5036
 
if test "${ac_cv_prog_AR+set}" = set; then
 
6569
if ${ac_cv_prog_AR+:} false; then :
5037
6570
  $as_echo_n "(cached) " >&6
5038
6571
else
5039
6572
  if test -n "$AR"; then
5044
6577
do
5045
6578
  IFS=$as_save_IFS
5046
6579
  test -z "$as_dir" && as_dir=.
5047
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6580
    for ac_exec_ext in '' $ac_executable_extensions; do
5048
6581
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5049
6582
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5050
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6583
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051
6584
    break 2
5052
6585
  fi
5053
6586
done
5054
 
done
 
6587
  done
5055
6588
IFS=$as_save_IFS
5056
6589
 
5057
6590
fi
5058
6591
fi
5059
6592
AR=$ac_cv_prog_AR
5060
6593
if test -n "$AR"; then
5061
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6594
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5062
6595
$as_echo "$AR" >&6; }
5063
6596
else
5064
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6597
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5065
6598
$as_echo "no" >&6; }
5066
6599
fi
5067
6600
 
5071
6604
  ac_ct_AR=$AR
5072
6605
  # Extract the first word of "ar", so it can be a program name with args.
5073
6606
set dummy ar; ac_word=$2
5074
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075
6608
$as_echo_n "checking for $ac_word... " >&6; }
5076
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6609
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5077
6610
  $as_echo_n "(cached) " >&6
5078
6611
else
5079
6612
  if test -n "$ac_ct_AR"; then
5084
6617
do
5085
6618
  IFS=$as_save_IFS
5086
6619
  test -z "$as_dir" && as_dir=.
5087
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6620
    for ac_exec_ext in '' $ac_executable_extensions; do
5088
6621
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5089
6622
    ac_cv_prog_ac_ct_AR="ar"
5090
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6623
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091
6624
    break 2
5092
6625
  fi
5093
6626
done
5094
 
done
 
6627
  done
5095
6628
IFS=$as_save_IFS
5096
6629
 
5097
6630
fi
5098
6631
fi
5099
6632
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5100
6633
if test -n "$ac_ct_AR"; then
5101
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6634
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5102
6635
$as_echo "$ac_ct_AR" >&6; }
5103
6636
else
5104
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6637
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105
6638
$as_echo "no" >&6; }
5106
6639
fi
5107
6640
 
5110
6643
  else
5111
6644
    case $cross_compiling:$ac_tool_warned in
5112
6645
yes:)
5113
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6646
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5114
6647
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5115
6648
ac_tool_warned=yes ;;
5116
6649
esac
5136
6669
if test -n "$ac_tool_prefix"; then
5137
6670
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5138
6671
set dummy ${ac_tool_prefix}strip; ac_word=$2
5139
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5140
6673
$as_echo_n "checking for $ac_word... " >&6; }
5141
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6674
if ${ac_cv_prog_STRIP+:} false; then :
5142
6675
  $as_echo_n "(cached) " >&6
5143
6676
else
5144
6677
  if test -n "$STRIP"; then
5149
6682
do
5150
6683
  IFS=$as_save_IFS
5151
6684
  test -z "$as_dir" && as_dir=.
5152
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6685
    for ac_exec_ext in '' $ac_executable_extensions; do
5153
6686
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5154
6687
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5155
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6688
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156
6689
    break 2
5157
6690
  fi
5158
6691
done
5159
 
done
 
6692
  done
5160
6693
IFS=$as_save_IFS
5161
6694
 
5162
6695
fi
5163
6696
fi
5164
6697
STRIP=$ac_cv_prog_STRIP
5165
6698
if test -n "$STRIP"; then
5166
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6699
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5167
6700
$as_echo "$STRIP" >&6; }
5168
6701
else
5169
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6702
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170
6703
$as_echo "no" >&6; }
5171
6704
fi
5172
6705
 
5176
6709
  ac_ct_STRIP=$STRIP
5177
6710
  # Extract the first word of "strip", so it can be a program name with args.
5178
6711
set dummy strip; ac_word=$2
5179
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5180
6713
$as_echo_n "checking for $ac_word... " >&6; }
5181
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6714
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5182
6715
  $as_echo_n "(cached) " >&6
5183
6716
else
5184
6717
  if test -n "$ac_ct_STRIP"; then
5189
6722
do
5190
6723
  IFS=$as_save_IFS
5191
6724
  test -z "$as_dir" && as_dir=.
5192
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6725
    for ac_exec_ext in '' $ac_executable_extensions; do
5193
6726
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5194
6727
    ac_cv_prog_ac_ct_STRIP="strip"
5195
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6728
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5196
6729
    break 2
5197
6730
  fi
5198
6731
done
5199
 
done
 
6732
  done
5200
6733
IFS=$as_save_IFS
5201
6734
 
5202
6735
fi
5203
6736
fi
5204
6737
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5205
6738
if test -n "$ac_ct_STRIP"; then
5206
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6739
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5207
6740
$as_echo "$ac_ct_STRIP" >&6; }
5208
6741
else
5209
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6742
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210
6743
$as_echo "no" >&6; }
5211
6744
fi
5212
6745
 
5215
6748
  else
5216
6749
    case $cross_compiling:$ac_tool_warned in
5217
6750
yes:)
5218
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6751
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5219
6752
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5220
6753
ac_tool_warned=yes ;;
5221
6754
esac
5235
6768
if test -n "$ac_tool_prefix"; then
5236
6769
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5237
6770
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5238
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5239
6772
$as_echo_n "checking for $ac_word... " >&6; }
5240
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6773
if ${ac_cv_prog_RANLIB+:} false; then :
5241
6774
  $as_echo_n "(cached) " >&6
5242
6775
else
5243
6776
  if test -n "$RANLIB"; then
5248
6781
do
5249
6782
  IFS=$as_save_IFS
5250
6783
  test -z "$as_dir" && as_dir=.
5251
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6784
    for ac_exec_ext in '' $ac_executable_extensions; do
5252
6785
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5253
6786
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5254
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6787
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5255
6788
    break 2
5256
6789
  fi
5257
6790
done
5258
 
done
 
6791
  done
5259
6792
IFS=$as_save_IFS
5260
6793
 
5261
6794
fi
5262
6795
fi
5263
6796
RANLIB=$ac_cv_prog_RANLIB
5264
6797
if test -n "$RANLIB"; then
5265
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6798
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5266
6799
$as_echo "$RANLIB" >&6; }
5267
6800
else
5268
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6801
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269
6802
$as_echo "no" >&6; }
5270
6803
fi
5271
6804
 
5275
6808
  ac_ct_RANLIB=$RANLIB
5276
6809
  # Extract the first word of "ranlib", so it can be a program name with args.
5277
6810
set dummy ranlib; ac_word=$2
5278
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279
6812
$as_echo_n "checking for $ac_word... " >&6; }
5280
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6813
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5281
6814
  $as_echo_n "(cached) " >&6
5282
6815
else
5283
6816
  if test -n "$ac_ct_RANLIB"; then
5288
6821
do
5289
6822
  IFS=$as_save_IFS
5290
6823
  test -z "$as_dir" && as_dir=.
5291
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6824
    for ac_exec_ext in '' $ac_executable_extensions; do
5292
6825
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5293
6826
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5294
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6827
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5295
6828
    break 2
5296
6829
  fi
5297
6830
done
5298
 
done
 
6831
  done
5299
6832
IFS=$as_save_IFS
5300
6833
 
5301
6834
fi
5302
6835
fi
5303
6836
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5304
6837
if test -n "$ac_ct_RANLIB"; then
5305
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6838
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5306
6839
$as_echo "$ac_ct_RANLIB" >&6; }
5307
6840
else
5308
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6841
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309
6842
$as_echo "no" >&6; }
5310
6843
fi
5311
6844
 
5314
6847
  else
5315
6848
    case $cross_compiling:$ac_tool_warned in
5316
6849
yes:)
5317
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6850
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5318
6851
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5319
6852
ac_tool_warned=yes ;;
5320
6853
esac
5348
6881
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5349
6882
fi
5350
6883
 
 
6884
case $host_os in
 
6885
  darwin*)
 
6886
    lock_old_archive_extraction=yes ;;
 
6887
  *)
 
6888
    lock_old_archive_extraction=no ;;
 
6889
esac
 
6890
 
 
6891
 
 
6892
 
 
6893
 
 
6894
 
 
6895
 
5351
6896
 
5352
6897
 
5353
6898
 
5392
6937
 
5393
6938
 
5394
6939
# Check for command to grab the raw symbol name followed by C symbol from nm.
5395
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5396
6941
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5397
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6942
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5398
6943
  $as_echo_n "(cached) " >&6
5399
6944
else
5400
6945
 
5510
7055
int main(){nm_test_var='a';nm_test_func();return(0);}
5511
7056
_LT_EOF
5512
7057
 
5513
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7058
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5514
7059
  (eval $ac_compile) 2>&5
5515
7060
  ac_status=$?
5516
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517
 
  (exit $ac_status); }; then
 
7061
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7062
  test $ac_status = 0; }; then
5518
7063
    # Now try to grab the symbols.
5519
7064
    nlist=conftest.nm
5520
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5521
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
7065
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7066
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5522
7067
  ac_status=$?
5523
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524
 
  (exit $ac_status); } && test -s "$nlist"; then
 
7068
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7069
  test $ac_status = 0; } && test -s "$nlist"; then
5525
7070
      # Try sorting and uniquifying the output.
5526
7071
      if sort "$nlist" | uniq > "$nlist"T; then
5527
7072
        mv -f "$nlist"T "$nlist"
5574
7119
          lt_save_CFLAGS="$CFLAGS"
5575
7120
          LIBS="conftstm.$ac_objext"
5576
7121
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5577
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7122
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5578
7123
  (eval $ac_link) 2>&5
5579
7124
  ac_status=$?
5580
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
7125
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7126
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5582
7127
            pipe_works=yes
5583
7128
          fi
5584
7129
          LIBS="$lt_save_LIBS"
5612
7157
  lt_cv_sys_global_symbol_to_cdecl=
5613
7158
fi
5614
7159
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5615
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7160
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5616
7161
$as_echo "failed" >&6; }
5617
7162
else
5618
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7163
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5619
7164
$as_echo "ok" >&6; }
5620
7165
fi
5621
7166
 
5640
7185
 
5641
7186
 
5642
7187
 
5643
 
 
5644
7188
# Check whether --enable-libtool-lock was given.
5645
 
if test "${enable_libtool_lock+set}" = set; then
 
7189
if test "${enable_libtool_lock+set}" = set; then :
5646
7190
  enableval=$enable_libtool_lock;
5647
7191
fi
5648
7192
 
5654
7198
ia64-*-hpux*)
5655
7199
  # Find out which ABI we are using.
5656
7200
  echo 'int i;' > conftest.$ac_ext
5657
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7201
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5658
7202
  (eval $ac_compile) 2>&5
5659
7203
  ac_status=$?
5660
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661
 
  (exit $ac_status); }; then
 
7204
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7205
  test $ac_status = 0; }; then
5662
7206
    case `/usr/bin/file conftest.$ac_objext` in
5663
7207
      *ELF-32*)
5664
7208
        HPUX_IA64_MODE="32"
5672
7216
  ;;
5673
7217
*-*-irix6*)
5674
7218
  # Find out which ABI we are using.
5675
 
  echo '#line 5675 "configure"' > conftest.$ac_ext
5676
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7219
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
7220
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5677
7221
  (eval $ac_compile) 2>&5
5678
7222
  ac_status=$?
5679
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680
 
  (exit $ac_status); }; then
 
7223
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7224
  test $ac_status = 0; }; then
5681
7225
    if test "$lt_cv_prog_gnu_ld" = yes; then
5682
7226
      case `/usr/bin/file conftest.$ac_objext` in
5683
7227
        *32-bit*)
5711
7255
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5712
7256
  # Find out which ABI we are using.
5713
7257
  echo 'int i;' > conftest.$ac_ext
5714
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7258
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5715
7259
  (eval $ac_compile) 2>&5
5716
7260
  ac_status=$?
5717
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718
 
  (exit $ac_status); }; then
 
7261
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7262
  test $ac_status = 0; }; then
5719
7263
    case `/usr/bin/file conftest.o` in
5720
7264
      *32-bit*)
5721
7265
        case $host in
5764
7308
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5765
7309
  SAVE_CFLAGS="$CFLAGS"
5766
7310
  CFLAGS="$CFLAGS -belf"
5767
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7311
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5768
7312
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5769
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7313
if ${lt_cv_cc_needs_belf+:} false; then :
5770
7314
  $as_echo_n "(cached) " >&6
5771
7315
else
5772
7316
  ac_ext=c
5775
7319
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5776
7320
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5777
7321
 
5778
 
     cat >conftest.$ac_ext <<_ACEOF
5779
 
/* confdefs.h.  */
5780
 
_ACEOF
5781
 
cat confdefs.h >>conftest.$ac_ext
5782
 
cat >>conftest.$ac_ext <<_ACEOF
 
7322
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783
7323
/* end confdefs.h.  */
5784
7324
 
5785
7325
int
5790
7330
  return 0;
5791
7331
}
5792
7332
_ACEOF
5793
 
rm -f conftest.$ac_objext conftest$ac_exeext
5794
 
if { (ac_try="$ac_link"
5795
 
case "(($ac_try" in
5796
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5797
 
  *) ac_try_echo=$ac_try;;
5798
 
esac
5799
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5800
 
$as_echo "$ac_try_echo") >&5
5801
 
  (eval "$ac_link") 2>conftest.er1
5802
 
  ac_status=$?
5803
 
  grep -v '^ *+' conftest.er1 >conftest.err
5804
 
  rm -f conftest.er1
5805
 
  cat conftest.err >&5
5806
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807
 
  (exit $ac_status); } && {
5808
 
         test -z "$ac_c_werror_flag" ||
5809
 
         test ! -s conftest.err
5810
 
       } && test -s conftest$ac_exeext && {
5811
 
         test "$cross_compiling" = yes ||
5812
 
         $as_test_x conftest$ac_exeext
5813
 
       }; then
 
7333
if ac_fn_c_try_link "$LINENO"; then :
5814
7334
  lt_cv_cc_needs_belf=yes
5815
7335
else
5816
 
  $as_echo "$as_me: failed program was:" >&5
5817
 
sed 's/^/| /' conftest.$ac_ext >&5
5818
 
 
5819
 
        lt_cv_cc_needs_belf=no
 
7336
  lt_cv_cc_needs_belf=no
5820
7337
fi
5821
 
 
5822
 
rm -rf conftest.dSYM
5823
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5824
 
      conftest$ac_exeext conftest.$ac_ext
 
7338
rm -f core conftest.err conftest.$ac_objext \
 
7339
    conftest$ac_exeext conftest.$ac_ext
5825
7340
     ac_ext=c
5826
7341
ac_cpp='$CPP $CPPFLAGS'
5827
7342
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5829
7344
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5830
7345
 
5831
7346
fi
5832
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
7347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5833
7348
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5834
7349
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5835
7350
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5839
7354
sparc*-*solaris*)
5840
7355
  # Find out which ABI we are using.
5841
7356
  echo 'int i;' > conftest.$ac_ext
5842
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7357
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5843
7358
  (eval $ac_compile) 2>&5
5844
7359
  ac_status=$?
5845
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846
 
  (exit $ac_status); }; then
 
7360
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7361
  test $ac_status = 0; }; then
5847
7362
    case `/usr/bin/file conftest.o` in
5848
7363
    *64-bit*)
5849
7364
      case $lt_cv_prog_gnu_ld in
5869
7384
    if test -n "$ac_tool_prefix"; then
5870
7385
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5871
7386
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5872
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5873
7388
$as_echo_n "checking for $ac_word... " >&6; }
5874
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7389
if ${ac_cv_prog_DSYMUTIL+:} false; then :
5875
7390
  $as_echo_n "(cached) " >&6
5876
7391
else
5877
7392
  if test -n "$DSYMUTIL"; then
5882
7397
do
5883
7398
  IFS=$as_save_IFS
5884
7399
  test -z "$as_dir" && as_dir=.
5885
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7400
    for ac_exec_ext in '' $ac_executable_extensions; do
5886
7401
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887
7402
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5888
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7403
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5889
7404
    break 2
5890
7405
  fi
5891
7406
done
5892
 
done
 
7407
  done
5893
7408
IFS=$as_save_IFS
5894
7409
 
5895
7410
fi
5896
7411
fi
5897
7412
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5898
7413
if test -n "$DSYMUTIL"; then
5899
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7414
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5900
7415
$as_echo "$DSYMUTIL" >&6; }
5901
7416
else
5902
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7417
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5903
7418
$as_echo "no" >&6; }
5904
7419
fi
5905
7420
 
5909
7424
  ac_ct_DSYMUTIL=$DSYMUTIL
5910
7425
  # Extract the first word of "dsymutil", so it can be a program name with args.
5911
7426
set dummy dsymutil; ac_word=$2
5912
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913
7428
$as_echo_n "checking for $ac_word... " >&6; }
5914
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7429
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
5915
7430
  $as_echo_n "(cached) " >&6
5916
7431
else
5917
7432
  if test -n "$ac_ct_DSYMUTIL"; then
5922
7437
do
5923
7438
  IFS=$as_save_IFS
5924
7439
  test -z "$as_dir" && as_dir=.
5925
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7440
    for ac_exec_ext in '' $ac_executable_extensions; do
5926
7441
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5927
7442
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5928
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7443
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929
7444
    break 2
5930
7445
  fi
5931
7446
done
5932
 
done
 
7447
  done
5933
7448
IFS=$as_save_IFS
5934
7449
 
5935
7450
fi
5936
7451
fi
5937
7452
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5938
7453
if test -n "$ac_ct_DSYMUTIL"; then
5939
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7454
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5940
7455
$as_echo "$ac_ct_DSYMUTIL" >&6; }
5941
7456
else
5942
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7457
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943
7458
$as_echo "no" >&6; }
5944
7459
fi
5945
7460
 
5948
7463
  else
5949
7464
    case $cross_compiling:$ac_tool_warned in
5950
7465
yes:)
5951
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7466
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5952
7467
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5953
7468
ac_tool_warned=yes ;;
5954
7469
esac
5961
7476
    if test -n "$ac_tool_prefix"; then
5962
7477
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5963
7478
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5964
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5965
7480
$as_echo_n "checking for $ac_word... " >&6; }
5966
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7481
if ${ac_cv_prog_NMEDIT+:} false; then :
5967
7482
  $as_echo_n "(cached) " >&6
5968
7483
else
5969
7484
  if test -n "$NMEDIT"; then
5974
7489
do
5975
7490
  IFS=$as_save_IFS
5976
7491
  test -z "$as_dir" && as_dir=.
5977
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7492
    for ac_exec_ext in '' $ac_executable_extensions; do
5978
7493
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5979
7494
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5980
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7495
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981
7496
    break 2
5982
7497
  fi
5983
7498
done
5984
 
done
 
7499
  done
5985
7500
IFS=$as_save_IFS
5986
7501
 
5987
7502
fi
5988
7503
fi
5989
7504
NMEDIT=$ac_cv_prog_NMEDIT
5990
7505
if test -n "$NMEDIT"; then
5991
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7506
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5992
7507
$as_echo "$NMEDIT" >&6; }
5993
7508
else
5994
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7509
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5995
7510
$as_echo "no" >&6; }
5996
7511
fi
5997
7512
 
6001
7516
  ac_ct_NMEDIT=$NMEDIT
6002
7517
  # Extract the first word of "nmedit", so it can be a program name with args.
6003
7518
set dummy nmedit; ac_word=$2
6004
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6005
7520
$as_echo_n "checking for $ac_word... " >&6; }
6006
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7521
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6007
7522
  $as_echo_n "(cached) " >&6
6008
7523
else
6009
7524
  if test -n "$ac_ct_NMEDIT"; then
6014
7529
do
6015
7530
  IFS=$as_save_IFS
6016
7531
  test -z "$as_dir" && as_dir=.
6017
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7532
    for ac_exec_ext in '' $ac_executable_extensions; do
6018
7533
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6019
7534
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6020
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7535
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6021
7536
    break 2
6022
7537
  fi
6023
7538
done
6024
 
done
 
7539
  done
6025
7540
IFS=$as_save_IFS
6026
7541
 
6027
7542
fi
6028
7543
fi
6029
7544
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6030
7545
if test -n "$ac_ct_NMEDIT"; then
6031
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7546
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6032
7547
$as_echo "$ac_ct_NMEDIT" >&6; }
6033
7548
else
6034
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7549
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6035
7550
$as_echo "no" >&6; }
6036
7551
fi
6037
7552
 
6040
7555
  else
6041
7556
    case $cross_compiling:$ac_tool_warned in
6042
7557
yes:)
6043
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7558
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6044
7559
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6045
7560
ac_tool_warned=yes ;;
6046
7561
esac
6053
7568
    if test -n "$ac_tool_prefix"; then
6054
7569
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6055
7570
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6056
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057
7572
$as_echo_n "checking for $ac_word... " >&6; }
6058
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7573
if ${ac_cv_prog_LIPO+:} false; then :
6059
7574
  $as_echo_n "(cached) " >&6
6060
7575
else
6061
7576
  if test -n "$LIPO"; then
6066
7581
do
6067
7582
  IFS=$as_save_IFS
6068
7583
  test -z "$as_dir" && as_dir=.
6069
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7584
    for ac_exec_ext in '' $ac_executable_extensions; do
6070
7585
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6071
7586
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6072
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7587
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073
7588
    break 2
6074
7589
  fi
6075
7590
done
6076
 
done
 
7591
  done
6077
7592
IFS=$as_save_IFS
6078
7593
 
6079
7594
fi
6080
7595
fi
6081
7596
LIPO=$ac_cv_prog_LIPO
6082
7597
if test -n "$LIPO"; then
6083
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6084
7599
$as_echo "$LIPO" >&6; }
6085
7600
else
6086
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7601
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087
7602
$as_echo "no" >&6; }
6088
7603
fi
6089
7604
 
6093
7608
  ac_ct_LIPO=$LIPO
6094
7609
  # Extract the first word of "lipo", so it can be a program name with args.
6095
7610
set dummy lipo; ac_word=$2
6096
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097
7612
$as_echo_n "checking for $ac_word... " >&6; }
6098
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7613
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6099
7614
  $as_echo_n "(cached) " >&6
6100
7615
else
6101
7616
  if test -n "$ac_ct_LIPO"; then
6106
7621
do
6107
7622
  IFS=$as_save_IFS
6108
7623
  test -z "$as_dir" && as_dir=.
6109
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7624
    for ac_exec_ext in '' $ac_executable_extensions; do
6110
7625
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6111
7626
    ac_cv_prog_ac_ct_LIPO="lipo"
6112
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7627
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113
7628
    break 2
6114
7629
  fi
6115
7630
done
6116
 
done
 
7631
  done
6117
7632
IFS=$as_save_IFS
6118
7633
 
6119
7634
fi
6120
7635
fi
6121
7636
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6122
7637
if test -n "$ac_ct_LIPO"; then
6123
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7638
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6124
7639
$as_echo "$ac_ct_LIPO" >&6; }
6125
7640
else
6126
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7641
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127
7642
$as_echo "no" >&6; }
6128
7643
fi
6129
7644
 
6132
7647
  else
6133
7648
    case $cross_compiling:$ac_tool_warned in
6134
7649
yes:)
6135
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7650
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6136
7651
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6137
7652
ac_tool_warned=yes ;;
6138
7653
esac
6145
7660
    if test -n "$ac_tool_prefix"; then
6146
7661
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6147
7662
set dummy ${ac_tool_prefix}otool; ac_word=$2
6148
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149
7664
$as_echo_n "checking for $ac_word... " >&6; }
6150
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7665
if ${ac_cv_prog_OTOOL+:} false; then :
6151
7666
  $as_echo_n "(cached) " >&6
6152
7667
else
6153
7668
  if test -n "$OTOOL"; then
6158
7673
do
6159
7674
  IFS=$as_save_IFS
6160
7675
  test -z "$as_dir" && as_dir=.
6161
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7676
    for ac_exec_ext in '' $ac_executable_extensions; do
6162
7677
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6163
7678
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6164
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7679
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6165
7680
    break 2
6166
7681
  fi
6167
7682
done
6168
 
done
 
7683
  done
6169
7684
IFS=$as_save_IFS
6170
7685
 
6171
7686
fi
6172
7687
fi
6173
7688
OTOOL=$ac_cv_prog_OTOOL
6174
7689
if test -n "$OTOOL"; then
6175
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7690
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6176
7691
$as_echo "$OTOOL" >&6; }
6177
7692
else
6178
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7693
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179
7694
$as_echo "no" >&6; }
6180
7695
fi
6181
7696
 
6185
7700
  ac_ct_OTOOL=$OTOOL
6186
7701
  # Extract the first word of "otool", so it can be a program name with args.
6187
7702
set dummy otool; ac_word=$2
6188
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189
7704
$as_echo_n "checking for $ac_word... " >&6; }
6190
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7705
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6191
7706
  $as_echo_n "(cached) " >&6
6192
7707
else
6193
7708
  if test -n "$ac_ct_OTOOL"; then
6198
7713
do
6199
7714
  IFS=$as_save_IFS
6200
7715
  test -z "$as_dir" && as_dir=.
6201
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7716
    for ac_exec_ext in '' $ac_executable_extensions; do
6202
7717
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203
7718
    ac_cv_prog_ac_ct_OTOOL="otool"
6204
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7719
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6205
7720
    break 2
6206
7721
  fi
6207
7722
done
6208
 
done
 
7723
  done
6209
7724
IFS=$as_save_IFS
6210
7725
 
6211
7726
fi
6212
7727
fi
6213
7728
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6214
7729
if test -n "$ac_ct_OTOOL"; then
6215
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7730
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6216
7731
$as_echo "$ac_ct_OTOOL" >&6; }
6217
7732
else
6218
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7733
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219
7734
$as_echo "no" >&6; }
6220
7735
fi
6221
7736
 
6224
7739
  else
6225
7740
    case $cross_compiling:$ac_tool_warned in
6226
7741
yes:)
6227
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7742
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6228
7743
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6229
7744
ac_tool_warned=yes ;;
6230
7745
esac
6237
7752
    if test -n "$ac_tool_prefix"; then
6238
7753
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6239
7754
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6240
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241
7756
$as_echo_n "checking for $ac_word... " >&6; }
6242
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7757
if ${ac_cv_prog_OTOOL64+:} false; then :
6243
7758
  $as_echo_n "(cached) " >&6
6244
7759
else
6245
7760
  if test -n "$OTOOL64"; then
6250
7765
do
6251
7766
  IFS=$as_save_IFS
6252
7767
  test -z "$as_dir" && as_dir=.
6253
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7768
    for ac_exec_ext in '' $ac_executable_extensions; do
6254
7769
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255
7770
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6256
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7771
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6257
7772
    break 2
6258
7773
  fi
6259
7774
done
6260
 
done
 
7775
  done
6261
7776
IFS=$as_save_IFS
6262
7777
 
6263
7778
fi
6264
7779
fi
6265
7780
OTOOL64=$ac_cv_prog_OTOOL64
6266
7781
if test -n "$OTOOL64"; then
6267
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7782
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6268
7783
$as_echo "$OTOOL64" >&6; }
6269
7784
else
6270
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7785
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6271
7786
$as_echo "no" >&6; }
6272
7787
fi
6273
7788
 
6277
7792
  ac_ct_OTOOL64=$OTOOL64
6278
7793
  # Extract the first word of "otool64", so it can be a program name with args.
6279
7794
set dummy otool64; ac_word=$2
6280
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281
7796
$as_echo_n "checking for $ac_word... " >&6; }
6282
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7797
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6283
7798
  $as_echo_n "(cached) " >&6
6284
7799
else
6285
7800
  if test -n "$ac_ct_OTOOL64"; then
6290
7805
do
6291
7806
  IFS=$as_save_IFS
6292
7807
  test -z "$as_dir" && as_dir=.
6293
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7808
    for ac_exec_ext in '' $ac_executable_extensions; do
6294
7809
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6295
7810
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6296
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7811
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297
7812
    break 2
6298
7813
  fi
6299
7814
done
6300
 
done
 
7815
  done
6301
7816
IFS=$as_save_IFS
6302
7817
 
6303
7818
fi
6304
7819
fi
6305
7820
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6306
7821
if test -n "$ac_ct_OTOOL64"; then
6307
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6308
7823
$as_echo "$ac_ct_OTOOL64" >&6; }
6309
7824
else
6310
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311
7826
$as_echo "no" >&6; }
6312
7827
fi
6313
7828
 
6316
7831
  else
6317
7832
    case $cross_compiling:$ac_tool_warned in
6318
7833
yes:)
6319
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7834
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6320
7835
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6321
7836
ac_tool_warned=yes ;;
6322
7837
esac
6352
7867
 
6353
7868
 
6354
7869
 
6355
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7870
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6356
7871
$as_echo_n "checking for -single_module linker flag... " >&6; }
6357
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7872
if ${lt_cv_apple_cc_single_mod+:} false; then :
6358
7873
  $as_echo_n "(cached) " >&6
6359
7874
else
6360
7875
  lt_cv_apple_cc_single_mod=no
6379
7894
        rm -f conftest.*
6380
7895
      fi
6381
7896
fi
6382
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6383
7898
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6384
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7899
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6385
7900
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6386
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7901
if ${lt_cv_ld_exported_symbols_list+:} false; then :
6387
7902
  $as_echo_n "(cached) " >&6
6388
7903
else
6389
7904
  lt_cv_ld_exported_symbols_list=no
6390
7905
      save_LDFLAGS=$LDFLAGS
6391
7906
      echo "_main" > conftest.sym
6392
7907
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6393
 
      cat >conftest.$ac_ext <<_ACEOF
6394
 
/* confdefs.h.  */
6395
 
_ACEOF
6396
 
cat confdefs.h >>conftest.$ac_ext
6397
 
cat >>conftest.$ac_ext <<_ACEOF
 
7908
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6398
7909
/* end confdefs.h.  */
6399
7910
 
6400
7911
int
6405
7916
  return 0;
6406
7917
}
6407
7918
_ACEOF
6408
 
rm -f conftest.$ac_objext conftest$ac_exeext
6409
 
if { (ac_try="$ac_link"
6410
 
case "(($ac_try" in
6411
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6412
 
  *) ac_try_echo=$ac_try;;
6413
 
esac
6414
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6415
 
$as_echo "$ac_try_echo") >&5
6416
 
  (eval "$ac_link") 2>conftest.er1
6417
 
  ac_status=$?
6418
 
  grep -v '^ *+' conftest.er1 >conftest.err
6419
 
  rm -f conftest.er1
6420
 
  cat conftest.err >&5
6421
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422
 
  (exit $ac_status); } && {
6423
 
         test -z "$ac_c_werror_flag" ||
6424
 
         test ! -s conftest.err
6425
 
       } && test -s conftest$ac_exeext && {
6426
 
         test "$cross_compiling" = yes ||
6427
 
         $as_test_x conftest$ac_exeext
6428
 
       }; then
 
7919
if ac_fn_c_try_link "$LINENO"; then :
6429
7920
  lt_cv_ld_exported_symbols_list=yes
6430
7921
else
6431
 
  $as_echo "$as_me: failed program was:" >&5
6432
 
sed 's/^/| /' conftest.$ac_ext >&5
6433
 
 
6434
 
        lt_cv_ld_exported_symbols_list=no
 
7922
  lt_cv_ld_exported_symbols_list=no
6435
7923
fi
6436
 
 
6437
 
rm -rf conftest.dSYM
6438
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6439
 
      conftest$ac_exeext conftest.$ac_ext
 
7924
rm -f core conftest.err conftest.$ac_objext \
 
7925
    conftest$ac_exeext conftest.$ac_ext
6440
7926
        LDFLAGS="$save_LDFLAGS"
6441
7927
 
6442
7928
fi
6443
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6444
7930
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7931
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
7932
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
7933
if ${lt_cv_ld_force_load+:} false; then :
 
7934
  $as_echo_n "(cached) " >&6
 
7935
else
 
7936
  lt_cv_ld_force_load=no
 
7937
      cat > conftest.c << _LT_EOF
 
7938
int forced_loaded() { return 2;}
 
7939
_LT_EOF
 
7940
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
7941
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
7942
      echo "$AR cru libconftest.a conftest.o" >&5
 
7943
      $AR cru libconftest.a conftest.o 2>&5
 
7944
      echo "$RANLIB libconftest.a" >&5
 
7945
      $RANLIB libconftest.a 2>&5
 
7946
      cat > conftest.c << _LT_EOF
 
7947
int main() { return 0;}
 
7948
_LT_EOF
 
7949
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
7950
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
7951
      _lt_result=$?
 
7952
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7953
        lt_cv_ld_force_load=yes
 
7954
      else
 
7955
        cat conftest.err >&5
 
7956
      fi
 
7957
        rm -f conftest.err libconftest.a conftest conftest.c
 
7958
        rm -rf conftest.dSYM
 
7959
 
 
7960
fi
 
7961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
7962
$as_echo "$lt_cv_ld_force_load" >&6; }
6445
7963
    case $host_os in
6446
7964
    rhapsody* | darwin1.[012])
6447
7965
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6469
7987
    else
6470
7988
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6471
7989
    fi
6472
 
    if test "$DSYMUTIL" != ":"; then
 
7990
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6473
7991
      _lt_dsymutil='~$DSYMUTIL $lib || :'
6474
7992
    else
6475
7993
      _lt_dsymutil=
6477
7995
    ;;
6478
7996
  esac
6479
7997
 
6480
 
ac_ext=c
6481
 
ac_cpp='$CPP $CPPFLAGS'
6482
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6483
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6484
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6485
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6486
 
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6487
 
# On Suns, sometimes $CPP names a directory.
6488
 
if test -n "$CPP" && test -d "$CPP"; then
6489
 
  CPP=
6490
 
fi
6491
 
if test -z "$CPP"; then
6492
 
  if test "${ac_cv_prog_CPP+set}" = set; then
6493
 
  $as_echo_n "(cached) " >&6
6494
 
else
6495
 
      # Double quotes because CPP needs to be expanded
6496
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6497
 
    do
6498
 
      ac_preproc_ok=false
6499
 
for ac_c_preproc_warn_flag in '' yes
6500
 
do
6501
 
  # Use a header file that comes with gcc, so configuring glibc
6502
 
  # with a fresh cross-compiler works.
6503
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6504
 
  # <limits.h> exists even on freestanding compilers.
6505
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6506
 
  # not just through cpp. "Syntax error" is here to catch this case.
6507
 
  cat >conftest.$ac_ext <<_ACEOF
6508
 
/* confdefs.h.  */
6509
 
_ACEOF
6510
 
cat confdefs.h >>conftest.$ac_ext
6511
 
cat >>conftest.$ac_ext <<_ACEOF
6512
 
/* end confdefs.h.  */
6513
 
#ifdef __STDC__
6514
 
# include <limits.h>
6515
 
#else
6516
 
# include <assert.h>
6517
 
#endif
6518
 
                     Syntax error
6519
 
_ACEOF
6520
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6521
 
case "(($ac_try" in
6522
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6523
 
  *) ac_try_echo=$ac_try;;
6524
 
esac
6525
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6526
 
$as_echo "$ac_try_echo") >&5
6527
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6528
 
  ac_status=$?
6529
 
  grep -v '^ *+' conftest.er1 >conftest.err
6530
 
  rm -f conftest.er1
6531
 
  cat conftest.err >&5
6532
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533
 
  (exit $ac_status); } >/dev/null && {
6534
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6535
 
         test ! -s conftest.err
6536
 
       }; then
6537
 
  :
6538
 
else
6539
 
  $as_echo "$as_me: failed program was:" >&5
6540
 
sed 's/^/| /' conftest.$ac_ext >&5
6541
 
 
6542
 
  # Broken: fails on valid input.
6543
 
continue
6544
 
fi
6545
 
 
6546
 
rm -f conftest.err conftest.$ac_ext
6547
 
 
6548
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6549
 
  # can be detected and how.
6550
 
  cat >conftest.$ac_ext <<_ACEOF
6551
 
/* confdefs.h.  */
6552
 
_ACEOF
6553
 
cat confdefs.h >>conftest.$ac_ext
6554
 
cat >>conftest.$ac_ext <<_ACEOF
6555
 
/* end confdefs.h.  */
6556
 
#include <ac_nonexistent.h>
6557
 
_ACEOF
6558
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6559
 
case "(($ac_try" in
6560
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6561
 
  *) ac_try_echo=$ac_try;;
6562
 
esac
6563
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6564
 
$as_echo "$ac_try_echo") >&5
6565
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6566
 
  ac_status=$?
6567
 
  grep -v '^ *+' conftest.er1 >conftest.err
6568
 
  rm -f conftest.er1
6569
 
  cat conftest.err >&5
6570
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571
 
  (exit $ac_status); } >/dev/null && {
6572
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6573
 
         test ! -s conftest.err
6574
 
       }; then
6575
 
  # Broken: success on invalid input.
6576
 
continue
6577
 
else
6578
 
  $as_echo "$as_me: failed program was:" >&5
6579
 
sed 's/^/| /' conftest.$ac_ext >&5
6580
 
 
6581
 
  # Passes both tests.
6582
 
ac_preproc_ok=:
6583
 
break
6584
 
fi
6585
 
 
6586
 
rm -f conftest.err conftest.$ac_ext
6587
 
 
6588
 
done
6589
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6590
 
rm -f conftest.err conftest.$ac_ext
6591
 
if $ac_preproc_ok; then
6592
 
  break
6593
 
fi
6594
 
 
6595
 
    done
6596
 
    ac_cv_prog_CPP=$CPP
6597
 
 
6598
 
fi
6599
 
  CPP=$ac_cv_prog_CPP
6600
 
else
6601
 
  ac_cv_prog_CPP=$CPP
6602
 
fi
6603
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6604
 
$as_echo "$CPP" >&6; }
6605
 
ac_preproc_ok=false
6606
 
for ac_c_preproc_warn_flag in '' yes
6607
 
do
6608
 
  # Use a header file that comes with gcc, so configuring glibc
6609
 
  # with a fresh cross-compiler works.
6610
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6611
 
  # <limits.h> exists even on freestanding compilers.
6612
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6613
 
  # not just through cpp. "Syntax error" is here to catch this case.
6614
 
  cat >conftest.$ac_ext <<_ACEOF
6615
 
/* confdefs.h.  */
6616
 
_ACEOF
6617
 
cat confdefs.h >>conftest.$ac_ext
6618
 
cat >>conftest.$ac_ext <<_ACEOF
6619
 
/* end confdefs.h.  */
6620
 
#ifdef __STDC__
6621
 
# include <limits.h>
6622
 
#else
6623
 
# include <assert.h>
6624
 
#endif
6625
 
                     Syntax error
6626
 
_ACEOF
6627
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6628
 
case "(($ac_try" in
6629
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6630
 
  *) ac_try_echo=$ac_try;;
6631
 
esac
6632
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6633
 
$as_echo "$ac_try_echo") >&5
6634
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6635
 
  ac_status=$?
6636
 
  grep -v '^ *+' conftest.er1 >conftest.err
6637
 
  rm -f conftest.er1
6638
 
  cat conftest.err >&5
6639
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640
 
  (exit $ac_status); } >/dev/null && {
6641
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6642
 
         test ! -s conftest.err
6643
 
       }; then
6644
 
  :
6645
 
else
6646
 
  $as_echo "$as_me: failed program was:" >&5
6647
 
sed 's/^/| /' conftest.$ac_ext >&5
6648
 
 
6649
 
  # Broken: fails on valid input.
6650
 
continue
6651
 
fi
6652
 
 
6653
 
rm -f conftest.err conftest.$ac_ext
6654
 
 
6655
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6656
 
  # can be detected and how.
6657
 
  cat >conftest.$ac_ext <<_ACEOF
6658
 
/* confdefs.h.  */
6659
 
_ACEOF
6660
 
cat confdefs.h >>conftest.$ac_ext
6661
 
cat >>conftest.$ac_ext <<_ACEOF
6662
 
/* end confdefs.h.  */
6663
 
#include <ac_nonexistent.h>
6664
 
_ACEOF
6665
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6666
 
case "(($ac_try" in
6667
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6668
 
  *) ac_try_echo=$ac_try;;
6669
 
esac
6670
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6671
 
$as_echo "$ac_try_echo") >&5
6672
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6673
 
  ac_status=$?
6674
 
  grep -v '^ *+' conftest.er1 >conftest.err
6675
 
  rm -f conftest.er1
6676
 
  cat conftest.err >&5
6677
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678
 
  (exit $ac_status); } >/dev/null && {
6679
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6680
 
         test ! -s conftest.err
6681
 
       }; then
6682
 
  # Broken: success on invalid input.
6683
 
continue
6684
 
else
6685
 
  $as_echo "$as_me: failed program was:" >&5
6686
 
sed 's/^/| /' conftest.$ac_ext >&5
6687
 
 
6688
 
  # Passes both tests.
6689
 
ac_preproc_ok=:
6690
 
break
6691
 
fi
6692
 
 
6693
 
rm -f conftest.err conftest.$ac_ext
6694
 
 
6695
 
done
6696
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6697
 
rm -f conftest.err conftest.$ac_ext
6698
 
if $ac_preproc_ok; then
6699
 
  :
6700
 
else
6701
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6702
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6703
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6704
 
See \`config.log' for more details." >&5
6705
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6706
 
See \`config.log' for more details." >&2;}
6707
 
   { (exit 1); exit 1; }; }; }
6708
 
fi
6709
 
 
6710
 
ac_ext=c
6711
 
ac_cpp='$CPP $CPPFLAGS'
6712
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6713
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6714
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6715
 
 
6716
 
 
6717
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6718
 
$as_echo_n "checking for ANSI C header files... " >&6; }
6719
 
if test "${ac_cv_header_stdc+set}" = set; then
6720
 
  $as_echo_n "(cached) " >&6
6721
 
else
6722
 
  cat >conftest.$ac_ext <<_ACEOF
6723
 
/* confdefs.h.  */
6724
 
_ACEOF
6725
 
cat confdefs.h >>conftest.$ac_ext
6726
 
cat >>conftest.$ac_ext <<_ACEOF
6727
 
/* end confdefs.h.  */
6728
 
#include <stdlib.h>
6729
 
#include <stdarg.h>
6730
 
#include <string.h>
6731
 
#include <float.h>
6732
 
 
6733
 
int
6734
 
main ()
6735
 
{
6736
 
 
6737
 
  ;
6738
 
  return 0;
6739
 
}
6740
 
_ACEOF
6741
 
rm -f conftest.$ac_objext
6742
 
if { (ac_try="$ac_compile"
6743
 
case "(($ac_try" in
6744
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6745
 
  *) ac_try_echo=$ac_try;;
6746
 
esac
6747
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6748
 
$as_echo "$ac_try_echo") >&5
6749
 
  (eval "$ac_compile") 2>conftest.er1
6750
 
  ac_status=$?
6751
 
  grep -v '^ *+' conftest.er1 >conftest.err
6752
 
  rm -f conftest.er1
6753
 
  cat conftest.err >&5
6754
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755
 
  (exit $ac_status); } && {
6756
 
         test -z "$ac_c_werror_flag" ||
6757
 
         test ! -s conftest.err
6758
 
       } && test -s conftest.$ac_objext; then
6759
 
  ac_cv_header_stdc=yes
6760
 
else
6761
 
  $as_echo "$as_me: failed program was:" >&5
6762
 
sed 's/^/| /' conftest.$ac_ext >&5
6763
 
 
6764
 
        ac_cv_header_stdc=no
6765
 
fi
6766
 
 
6767
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6768
 
 
6769
 
if test $ac_cv_header_stdc = yes; then
6770
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6771
 
  cat >conftest.$ac_ext <<_ACEOF
6772
 
/* confdefs.h.  */
6773
 
_ACEOF
6774
 
cat confdefs.h >>conftest.$ac_ext
6775
 
cat >>conftest.$ac_ext <<_ACEOF
6776
 
/* end confdefs.h.  */
6777
 
#include <string.h>
6778
 
 
6779
 
_ACEOF
6780
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6781
 
  $EGREP "memchr" >/dev/null 2>&1; then
6782
 
  :
6783
 
else
6784
 
  ac_cv_header_stdc=no
6785
 
fi
6786
 
rm -f conftest*
6787
 
 
6788
 
fi
6789
 
 
6790
 
if test $ac_cv_header_stdc = yes; then
6791
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6792
 
  cat >conftest.$ac_ext <<_ACEOF
6793
 
/* confdefs.h.  */
6794
 
_ACEOF
6795
 
cat confdefs.h >>conftest.$ac_ext
6796
 
cat >>conftest.$ac_ext <<_ACEOF
6797
 
/* end confdefs.h.  */
6798
 
#include <stdlib.h>
6799
 
 
6800
 
_ACEOF
6801
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6802
 
  $EGREP "free" >/dev/null 2>&1; then
6803
 
  :
6804
 
else
6805
 
  ac_cv_header_stdc=no
6806
 
fi
6807
 
rm -f conftest*
6808
 
 
6809
 
fi
6810
 
 
6811
 
if test $ac_cv_header_stdc = yes; then
6812
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6813
 
  if test "$cross_compiling" = yes; then
6814
 
  :
6815
 
else
6816
 
  cat >conftest.$ac_ext <<_ACEOF
6817
 
/* confdefs.h.  */
6818
 
_ACEOF
6819
 
cat confdefs.h >>conftest.$ac_ext
6820
 
cat >>conftest.$ac_ext <<_ACEOF
6821
 
/* end confdefs.h.  */
6822
 
#include <ctype.h>
6823
 
#include <stdlib.h>
6824
 
#if ((' ' & 0x0FF) == 0x020)
6825
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6826
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6827
 
#else
6828
 
# define ISLOWER(c) \
6829
 
                   (('a' <= (c) && (c) <= 'i') \
6830
 
                     || ('j' <= (c) && (c) <= 'r') \
6831
 
                     || ('s' <= (c) && (c) <= 'z'))
6832
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6833
 
#endif
6834
 
 
6835
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6836
 
int
6837
 
main ()
6838
 
{
6839
 
  int i;
6840
 
  for (i = 0; i < 256; i++)
6841
 
    if (XOR (islower (i), ISLOWER (i))
6842
 
        || toupper (i) != TOUPPER (i))
6843
 
      return 2;
6844
 
  return 0;
6845
 
}
6846
 
_ACEOF
6847
 
rm -f conftest$ac_exeext
6848
 
if { (ac_try="$ac_link"
6849
 
case "(($ac_try" in
6850
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6851
 
  *) ac_try_echo=$ac_try;;
6852
 
esac
6853
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6854
 
$as_echo "$ac_try_echo") >&5
6855
 
  (eval "$ac_link") 2>&5
6856
 
  ac_status=$?
6857
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6859
 
  { (case "(($ac_try" in
6860
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6861
 
  *) ac_try_echo=$ac_try;;
6862
 
esac
6863
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6864
 
$as_echo "$ac_try_echo") >&5
6865
 
  (eval "$ac_try") 2>&5
6866
 
  ac_status=$?
6867
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868
 
  (exit $ac_status); }; }; then
6869
 
  :
6870
 
else
6871
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
6872
 
$as_echo "$as_me: failed program was:" >&5
6873
 
sed 's/^/| /' conftest.$ac_ext >&5
6874
 
 
6875
 
( exit $ac_status )
6876
 
ac_cv_header_stdc=no
6877
 
fi
6878
 
rm -rf conftest.dSYM
6879
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6880
 
fi
6881
 
 
6882
 
 
6883
 
fi
6884
 
fi
6885
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6886
 
$as_echo "$ac_cv_header_stdc" >&6; }
6887
 
if test $ac_cv_header_stdc = yes; then
6888
 
 
6889
 
cat >>confdefs.h <<\_ACEOF
6890
 
#define STDC_HEADERS 1
6891
 
_ACEOF
6892
 
 
6893
 
fi
6894
 
 
6895
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6896
 
 
6897
 
 
6898
 
 
6899
 
 
6900
 
 
6901
 
 
6902
 
 
6903
 
 
6904
 
 
6905
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6906
 
                  inttypes.h stdint.h unistd.h
6907
 
do
6908
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6909
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6910
 
$as_echo_n "checking for $ac_header... " >&6; }
6911
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6912
 
  $as_echo_n "(cached) " >&6
6913
 
else
6914
 
  cat >conftest.$ac_ext <<_ACEOF
6915
 
/* confdefs.h.  */
6916
 
_ACEOF
6917
 
cat confdefs.h >>conftest.$ac_ext
6918
 
cat >>conftest.$ac_ext <<_ACEOF
6919
 
/* end confdefs.h.  */
6920
 
$ac_includes_default
6921
 
 
6922
 
#include <$ac_header>
6923
 
_ACEOF
6924
 
rm -f conftest.$ac_objext
6925
 
if { (ac_try="$ac_compile"
6926
 
case "(($ac_try" in
6927
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6928
 
  *) ac_try_echo=$ac_try;;
6929
 
esac
6930
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6931
 
$as_echo "$ac_try_echo") >&5
6932
 
  (eval "$ac_compile") 2>conftest.er1
6933
 
  ac_status=$?
6934
 
  grep -v '^ *+' conftest.er1 >conftest.err
6935
 
  rm -f conftest.er1
6936
 
  cat conftest.err >&5
6937
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938
 
  (exit $ac_status); } && {
6939
 
         test -z "$ac_c_werror_flag" ||
6940
 
         test ! -s conftest.err
6941
 
       } && test -s conftest.$ac_objext; then
6942
 
  eval "$as_ac_Header=yes"
6943
 
else
6944
 
  $as_echo "$as_me: failed program was:" >&5
6945
 
sed 's/^/| /' conftest.$ac_ext >&5
6946
 
 
6947
 
        eval "$as_ac_Header=no"
6948
 
fi
6949
 
 
6950
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6951
 
fi
6952
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
6953
 
                 $as_echo "$as_val"'`
6954
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6955
 
$as_echo "$ac_res" >&6; }
6956
 
as_val=`eval 'as_val=${'$as_ac_Header'}
6957
 
                 $as_echo "$as_val"'`
6958
 
   if test "x$as_val" = x""yes; then
6959
 
  cat >>confdefs.h <<_ACEOF
6960
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6961
 
_ACEOF
6962
 
 
6963
 
fi
6964
 
 
6965
 
done
6966
 
 
6967
 
 
6968
 
 
6969
7998
for ac_header in dlfcn.h
6970
 
do
6971
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6972
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6973
 
$as_echo_n "checking for $ac_header... " >&6; }
6974
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6975
 
  $as_echo_n "(cached) " >&6
6976
 
else
6977
 
  cat >conftest.$ac_ext <<_ACEOF
6978
 
/* confdefs.h.  */
6979
 
_ACEOF
6980
 
cat confdefs.h >>conftest.$ac_ext
6981
 
cat >>conftest.$ac_ext <<_ACEOF
6982
 
/* end confdefs.h.  */
6983
 
$ac_includes_default
6984
 
 
6985
 
#include <$ac_header>
6986
 
_ACEOF
6987
 
rm -f conftest.$ac_objext
6988
 
if { (ac_try="$ac_compile"
6989
 
case "(($ac_try" in
6990
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6991
 
  *) ac_try_echo=$ac_try;;
6992
 
esac
6993
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6994
 
$as_echo "$ac_try_echo") >&5
6995
 
  (eval "$ac_compile") 2>conftest.er1
6996
 
  ac_status=$?
6997
 
  grep -v '^ *+' conftest.er1 >conftest.err
6998
 
  rm -f conftest.er1
6999
 
  cat conftest.err >&5
7000
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001
 
  (exit $ac_status); } && {
7002
 
         test -z "$ac_c_werror_flag" ||
7003
 
         test ! -s conftest.err
7004
 
       } && test -s conftest.$ac_objext; then
7005
 
  eval "$as_ac_Header=yes"
7006
 
else
7007
 
  $as_echo "$as_me: failed program was:" >&5
7008
 
sed 's/^/| /' conftest.$ac_ext >&5
7009
 
 
7010
 
        eval "$as_ac_Header=no"
7011
 
fi
7012
 
 
7013
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7014
 
fi
7015
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7016
 
                 $as_echo "$as_val"'`
7017
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7018
 
$as_echo "$ac_res" >&6; }
7019
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7020
 
                 $as_echo "$as_val"'`
7021
 
   if test "x$as_val" = x""yes; then
 
7999
do :
 
8000
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8001
"
 
8002
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7022
8003
  cat >>confdefs.h <<_ACEOF
7023
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8004
#define HAVE_DLFCN_H 1
7024
8005
_ACEOF
7025
8006
 
7026
8007
fi
7029
8010
 
7030
8011
 
7031
8012
 
 
8013
 
 
8014
 
7032
8015
# Set options
7033
8016
 
7034
8017
 
7040
8023
 
7041
8024
 
7042
8025
            # Check whether --enable-shared was given.
7043
 
if test "${enable_shared+set}" = set; then
 
8026
if test "${enable_shared+set}" = set; then :
7044
8027
  enableval=$enable_shared; p=${PACKAGE-default}
7045
8028
    case $enableval in
7046
8029
    yes) enable_shared=yes ;;
7071
8054
 
7072
8055
 
7073
8056
  # Check whether --enable-static was given.
7074
 
if test "${enable_static+set}" = set; then
 
8057
if test "${enable_static+set}" = set; then :
7075
8058
  enableval=$enable_static; p=${PACKAGE-default}
7076
8059
    case $enableval in
7077
8060
    yes) enable_static=yes ;;
7103
8086
 
7104
8087
 
7105
8088
# Check whether --with-pic was given.
7106
 
if test "${with_pic+set}" = set; then
 
8089
if test "${with_pic+set}" = set; then :
7107
8090
  withval=$with_pic; pic_mode="$withval"
7108
8091
else
7109
8092
  pic_mode=default
7119
8102
 
7120
8103
 
7121
8104
  # Check whether --enable-fast-install was given.
7122
 
if test "${enable_fast_install+set}" = set; then
 
8105
if test "${enable_fast_install+set}" = set; then :
7123
8106
  enableval=$enable_fast_install; p=${PACKAGE-default}
7124
8107
    case $enableval in
7125
8108
    yes) enable_fast_install=yes ;;
7181
8164
 
7182
8165
 
7183
8166
 
 
8167
 
7184
8168
test -z "$LN_S" && LN_S="ln -s"
7185
8169
 
7186
8170
 
7200
8184
   setopt NO_GLOB_SUBST
7201
8185
fi
7202
8186
 
7203
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7204
8188
$as_echo_n "checking for objdir... " >&6; }
7205
 
if test "${lt_cv_objdir+set}" = set; then
 
8189
if ${lt_cv_objdir+:} false; then :
7206
8190
  $as_echo_n "(cached) " >&6
7207
8191
else
7208
8192
  rm -f .libs 2>/dev/null
7215
8199
fi
7216
8200
rmdir .libs 2>/dev/null
7217
8201
fi
7218
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7219
8203
$as_echo "$lt_cv_objdir" >&6; }
7220
8204
objdir=$lt_cv_objdir
7221
8205
 
7230
8214
 
7231
8215
 
7232
8216
 
7233
 
 
7234
 
 
7235
 
 
7236
 
 
7237
 
 
7238
 
 
7239
 
 
7240
 
 
7241
 
 
7242
 
 
7243
 
 
7244
 
 
7245
 
 
7246
8217
case $host_os in
7247
8218
aix3*)
7248
8219
  # AIX sometimes has problems with the GCC collect2 program.  For some
7255
8226
  ;;
7256
8227
esac
7257
8228
 
7258
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7259
 
# metacharacters that are still active within double-quoted strings.
7260
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7261
 
 
7262
 
# Same as above, but do not quote variable references.
7263
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7264
 
 
7265
 
# Sed substitution to delay expansion of an escaped shell variable in a
7266
 
# double_quote_subst'ed string.
7267
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7268
 
 
7269
 
# Sed substitution to delay expansion of an escaped single quote.
7270
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7271
 
 
7272
 
# Sed substitution to avoid accidental globbing in evaled expressions
7273
 
no_glob_subst='s/\*/\\\*/g'
7274
 
 
7275
8229
# Global variables:
7276
8230
ofile=libtool
7277
8231
can_build_shared=yes
7300
8254
    *) break;;
7301
8255
  esac
7302
8256
done
7303
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8257
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7304
8258
 
7305
8259
 
7306
8260
# Only perform the check for file, if the check method requires it
7308
8262
case $deplibs_check_method in
7309
8263
file_magic*)
7310
8264
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7311
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8265
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7312
8266
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7313
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8267
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7314
8268
  $as_echo_n "(cached) " >&6
7315
8269
else
7316
8270
  case $MAGIC_CMD in
7361
8315
 
7362
8316
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7363
8317
if test -n "$MAGIC_CMD"; then
7364
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8318
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7365
8319
$as_echo "$MAGIC_CMD" >&6; }
7366
8320
else
7367
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368
8322
$as_echo "no" >&6; }
7369
8323
fi
7370
8324
 
7374
8328
 
7375
8329
if test -z "$lt_cv_path_MAGIC_CMD"; then
7376
8330
  if test -n "$ac_tool_prefix"; then
7377
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8331
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7378
8332
$as_echo_n "checking for file... " >&6; }
7379
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8333
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7380
8334
  $as_echo_n "(cached) " >&6
7381
8335
else
7382
8336
  case $MAGIC_CMD in
7427
8381
 
7428
8382
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7429
8383
if test -n "$MAGIC_CMD"; then
7430
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8384
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7431
8385
$as_echo "$MAGIC_CMD" >&6; }
7432
8386
else
7433
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8387
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434
8388
$as_echo "no" >&6; }
7435
8389
fi
7436
8390
 
7505
8459
lt_prog_compiler_no_builtin_flag=
7506
8460
 
7507
8461
if test "$GCC" = yes; then
7508
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
8462
  case $cc_basename in
 
8463
  nvcc*)
 
8464
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
8465
  *)
 
8466
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
8467
  esac
7509
8468
 
7510
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8469
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7511
8470
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7512
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8471
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7513
8472
  $as_echo_n "(cached) " >&6
7514
8473
else
7515
8474
  lt_cv_prog_compiler_rtti_exceptions=no
7525
8484
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7526
8485
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7527
8486
   -e 's:$: $lt_compiler_flag:'`
7528
 
   (eval echo "\"\$as_me:7528: $lt_compile\"" >&5)
 
8487
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7529
8488
   (eval "$lt_compile" 2>conftest.err)
7530
8489
   ac_status=$?
7531
8490
   cat conftest.err >&5
7532
 
   echo "$as_me:7532: \$? = $ac_status" >&5
 
8491
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7533
8492
   if (exit $ac_status) && test -s "$ac_outfile"; then
7534
8493
     # The compiler can only warn and ignore the option if not recognized
7535
8494
     # So say no if there are warnings other than the usual output.
7536
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8495
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7537
8496
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7538
8497
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7539
8498
       lt_cv_prog_compiler_rtti_exceptions=yes
7542
8501
   $RM conftest*
7543
8502
 
7544
8503
fi
7545
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7546
8505
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7547
8506
 
7548
8507
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7562
8521
lt_prog_compiler_pic=
7563
8522
lt_prog_compiler_static=
7564
8523
 
7565
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7566
8525
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7567
8526
 
7568
8527
  if test "$GCC" = yes; then
7611
8570
      lt_prog_compiler_pic='-fno-common'
7612
8571
      ;;
7613
8572
 
 
8573
    haiku*)
 
8574
      # PIC is the default for Haiku.
 
8575
      # The "-static" flag exists, but is broken.
 
8576
      lt_prog_compiler_static=
 
8577
      ;;
 
8578
 
7614
8579
    hpux*)
7615
8580
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7616
8581
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7653
8618
      lt_prog_compiler_pic='-fPIC'
7654
8619
      ;;
7655
8620
    esac
 
8621
 
 
8622
    case $cc_basename in
 
8623
    nvcc*) # Cuda Compiler Driver 2.2
 
8624
      lt_prog_compiler_wl='-Xlinker '
 
8625
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8626
      ;;
 
8627
    esac
7656
8628
  else
7657
8629
    # PORTME Check for flag to pass linker flags through the system compiler.
7658
8630
    case $host_os in
7694
8666
      lt_prog_compiler_static='-non_shared'
7695
8667
      ;;
7696
8668
 
7697
 
    linux* | k*bsd*-gnu)
 
8669
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
7698
8670
      case $cc_basename in
7699
8671
      # old Intel for x86_64 which still supported -KPIC.
7700
8672
      ecc*)
7715
8687
        lt_prog_compiler_pic='--shared'
7716
8688
        lt_prog_compiler_static='--static'
7717
8689
        ;;
7718
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
8690
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7719
8691
        # Portland Group compilers (*not* the Pentium gcc compiler,
7720
8692
        # which looks to be a dead project)
7721
8693
        lt_prog_compiler_wl='-Wl,'
7727
8699
        # All Alpha code is PIC.
7728
8700
        lt_prog_compiler_static='-non_shared'
7729
8701
        ;;
7730
 
      xl*)
7731
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8702
      xl* | bgxl* | bgf* | mpixl*)
 
8703
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7732
8704
        lt_prog_compiler_wl='-Wl,'
7733
8705
        lt_prog_compiler_pic='-qpic'
7734
8706
        lt_prog_compiler_static='-qstaticlink'
7735
8707
        ;;
7736
8708
      *)
7737
8709
        case `$CC -V 2>&1 | sed 5q` in
 
8710
        *Sun\ F* | *Sun*Fortran*)
 
8711
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8712
          lt_prog_compiler_pic='-KPIC'
 
8713
          lt_prog_compiler_static='-Bstatic'
 
8714
          lt_prog_compiler_wl=''
 
8715
          ;;
7738
8716
        *Sun\ C*)
7739
8717
          # Sun C 5.9
7740
8718
          lt_prog_compiler_pic='-KPIC'
7741
8719
          lt_prog_compiler_static='-Bstatic'
7742
8720
          lt_prog_compiler_wl='-Wl,'
7743
8721
          ;;
7744
 
        *Sun\ F*)
7745
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
7746
 
          lt_prog_compiler_pic='-KPIC'
7747
 
          lt_prog_compiler_static='-Bstatic'
7748
 
          lt_prog_compiler_wl=''
7749
 
          ;;
7750
8722
        esac
7751
8723
        ;;
7752
8724
      esac
7777
8749
      lt_prog_compiler_pic='-KPIC'
7778
8750
      lt_prog_compiler_static='-Bstatic'
7779
8751
      case $cc_basename in
7780
 
      f77* | f90* | f95*)
 
8752
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
7781
8753
        lt_prog_compiler_wl='-Qoption ld ';;
7782
8754
      *)
7783
8755
        lt_prog_compiler_wl='-Wl,';;
7834
8806
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7835
8807
    ;;
7836
8808
esac
7837
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7838
8810
$as_echo "$lt_prog_compiler_pic" >&6; }
7839
8811
 
7840
8812
 
7846
8818
# Check to make sure the PIC flag actually works.
7847
8819
#
7848
8820
if test -n "$lt_prog_compiler_pic"; then
7849
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8821
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7850
8822
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7851
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8823
if ${lt_cv_prog_compiler_pic_works+:} false; then :
7852
8824
  $as_echo_n "(cached) " >&6
7853
8825
else
7854
8826
  lt_cv_prog_compiler_pic_works=no
7864
8836
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7865
8837
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7866
8838
   -e 's:$: $lt_compiler_flag:'`
7867
 
   (eval echo "\"\$as_me:7867: $lt_compile\"" >&5)
 
8839
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7868
8840
   (eval "$lt_compile" 2>conftest.err)
7869
8841
   ac_status=$?
7870
8842
   cat conftest.err >&5
7871
 
   echo "$as_me:7871: \$? = $ac_status" >&5
 
8843
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872
8844
   if (exit $ac_status) && test -s "$ac_outfile"; then
7873
8845
     # The compiler can only warn and ignore the option if not recognized
7874
8846
     # So say no if there are warnings other than the usual output.
7875
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8847
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7876
8848
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7877
8849
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7878
8850
       lt_cv_prog_compiler_pic_works=yes
7881
8853
   $RM conftest*
7882
8854
 
7883
8855
fi
7884
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7885
8857
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7886
8858
 
7887
8859
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7905
8877
# Check to make sure the static flag actually works.
7906
8878
#
7907
8879
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7908
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7909
8881
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7910
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8882
if ${lt_cv_prog_compiler_static_works+:} false; then :
7911
8883
  $as_echo_n "(cached) " >&6
7912
8884
else
7913
8885
  lt_cv_prog_compiler_static_works=no
7920
8892
     if test -s conftest.err; then
7921
8893
       # Append any errors to the config.log.
7922
8894
       cat conftest.err 1>&5
7923
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8895
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7924
8896
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7925
8897
       if diff conftest.exp conftest.er2 >/dev/null; then
7926
8898
         lt_cv_prog_compiler_static_works=yes
7933
8905
   LDFLAGS="$save_LDFLAGS"
7934
8906
 
7935
8907
fi
7936
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7937
8909
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7938
8910
 
7939
8911
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7948
8920
 
7949
8921
 
7950
8922
 
7951
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8923
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7952
8924
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7953
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8925
if ${lt_cv_prog_compiler_c_o+:} false; then :
7954
8926
  $as_echo_n "(cached) " >&6
7955
8927
else
7956
8928
  lt_cv_prog_compiler_c_o=no
7969
8941
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7970
8942
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7971
8943
   -e 's:$: $lt_compiler_flag:'`
7972
 
   (eval echo "\"\$as_me:7972: $lt_compile\"" >&5)
 
8944
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7973
8945
   (eval "$lt_compile" 2>out/conftest.err)
7974
8946
   ac_status=$?
7975
8947
   cat out/conftest.err >&5
7976
 
   echo "$as_me:7976: \$? = $ac_status" >&5
 
8948
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7977
8949
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7978
8950
   then
7979
8951
     # The compiler can only warn and ignore the option if not recognized
7980
8952
     # So say no if there are warnings
7981
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8953
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7982
8954
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7983
8955
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7984
8956
       lt_cv_prog_compiler_c_o=yes
7995
8967
   $RM conftest*
7996
8968
 
7997
8969
fi
7998
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7999
8971
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8000
8972
 
8001
8973
 
8003
8975
 
8004
8976
 
8005
8977
 
8006
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8978
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8007
8979
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8008
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8980
if ${lt_cv_prog_compiler_c_o+:} false; then :
8009
8981
  $as_echo_n "(cached) " >&6
8010
8982
else
8011
8983
  lt_cv_prog_compiler_c_o=no
8024
8996
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8025
8997
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8026
8998
   -e 's:$: $lt_compiler_flag:'`
8027
 
   (eval echo "\"\$as_me:8027: $lt_compile\"" >&5)
 
8999
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8028
9000
   (eval "$lt_compile" 2>out/conftest.err)
8029
9001
   ac_status=$?
8030
9002
   cat out/conftest.err >&5
8031
 
   echo "$as_me:8031: \$? = $ac_status" >&5
 
9003
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8032
9004
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8033
9005
   then
8034
9006
     # The compiler can only warn and ignore the option if not recognized
8035
9007
     # So say no if there are warnings
8036
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9008
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8037
9009
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8038
9010
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8039
9011
       lt_cv_prog_compiler_c_o=yes
8050
9022
   $RM conftest*
8051
9023
 
8052
9024
fi
8053
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8054
9026
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8055
9027
 
8056
9028
 
8059
9031
hard_links="nottested"
8060
9032
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8061
9033
  # do not overwrite the value of need_locks provided by the user
8062
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8063
9035
$as_echo_n "checking if we can lock with hard links... " >&6; }
8064
9036
  hard_links=yes
8065
9037
  $RM conftest*
8067
9039
  touch conftest.a
8068
9040
  ln conftest.a conftest.b 2>&5 || hard_links=no
8069
9041
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8070
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9042
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8071
9043
$as_echo "$hard_links" >&6; }
8072
9044
  if test "$hard_links" = no; then
8073
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9045
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8074
9046
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8075
9047
    need_locks=warn
8076
9048
  fi
8083
9055
 
8084
9056
 
8085
9057
 
8086
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9058
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8087
9059
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8088
9060
 
8089
9061
  runpath_var=
8146
9118
  esac
8147
9119
 
8148
9120
  ld_shlibs=yes
 
9121
 
 
9122
  # On some targets, GNU ld is compatible enough with the native linker
 
9123
  # that we're better off using the native interface for both.
 
9124
  lt_use_gnu_ld_interface=no
8149
9125
  if test "$with_gnu_ld" = yes; then
 
9126
    case $host_os in
 
9127
      aix*)
 
9128
        # The AIX port of GNU ld has always aspired to compatibility
 
9129
        # with the native linker.  However, as the warning in the GNU ld
 
9130
        # block says, versions before 2.19.5* couldn't really create working
 
9131
        # shared libraries, regardless of the interface used.
 
9132
        case `$LD -v 2>&1` in
 
9133
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9134
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9135
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9136
          *)
 
9137
            lt_use_gnu_ld_interface=yes
 
9138
            ;;
 
9139
        esac
 
9140
        ;;
 
9141
      *)
 
9142
        lt_use_gnu_ld_interface=yes
 
9143
        ;;
 
9144
    esac
 
9145
  fi
 
9146
 
 
9147
  if test "$lt_use_gnu_ld_interface" = yes; then
8150
9148
    # If archive_cmds runs LD, not CC, wlarc should be empty
8151
9149
    wlarc='${wl}'
8152
9150
 
8164
9162
    fi
8165
9163
    supports_anon_versioning=no
8166
9164
    case `$LD -v 2>&1` in
 
9165
      *GNU\ gold*) supports_anon_versioning=yes ;;
8167
9166
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8168
9167
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8169
9168
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8179
9178
        ld_shlibs=no
8180
9179
        cat <<_LT_EOF 1>&2
8181
9180
 
8182
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9181
*** Warning: the GNU linker, at least up to release 2.19, is reported
8183
9182
*** to be unable to reliably create shared libraries on AIX.
8184
9183
*** Therefore, libtool is disabling shared libraries support.  If you
8185
 
*** really care for shared libraries, you may want to modify your PATH
8186
 
*** so that a non-GNU linker is found, and then restart.
 
9184
*** really care for shared libraries, you may want to install binutils
 
9185
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9186
*** You will then need to restart the configuration process.
8187
9187
 
8188
9188
_LT_EOF
8189
9189
      fi
8219
9219
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8220
9220
      # as there is no search path for DLLs.
8221
9221
      hardcode_libdir_flag_spec='-L$libdir'
 
9222
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8222
9223
      allow_undefined_flag=unsupported
8223
9224
      always_export_symbols=no
8224
9225
      enable_shared_with_static_runtimes=yes
8240
9241
      fi
8241
9242
      ;;
8242
9243
 
 
9244
    haiku*)
 
9245
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9246
      link_all_deplibs=yes
 
9247
      ;;
 
9248
 
8243
9249
    interix[3-9]*)
8244
9250
      hardcode_direct=no
8245
9251
      hardcode_shlibpath_var=no
8255
9261
      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'
8256
9262
      ;;
8257
9263
 
8258
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9264
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8259
9265
      tmp_diet=no
8260
9266
      if test "$host_os" = linux-dietlibc; then
8261
9267
        case $cc_basename in
8269
9275
        tmp_sharedflag='-shared'
8270
9276
        case $cc_basename,$host_cpu in
8271
9277
        pgcc*)                          # Portland Group C compiler
8272
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9278
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8273
9279
          tmp_addflag=' $pic_flag'
8274
9280
          ;;
8275
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8276
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9281
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9282
                                        # Portland Group f77 and f90 compilers
 
9283
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8277
9284
          tmp_addflag=' $pic_flag -Mnomain' ;;
8278
9285
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8279
9286
          tmp_addflag=' -i_dynamic' ;;
8284
9291
        lf95*)                          # Lahey Fortran 8.1
8285
9292
          whole_archive_flag_spec=
8286
9293
          tmp_sharedflag='--shared' ;;
8287
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9294
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8288
9295
          tmp_sharedflag='-qmkshrobj'
8289
9296
          tmp_addflag= ;;
 
9297
        nvcc*)  # Cuda Compiler Driver 2.2
 
9298
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9299
          compiler_needs_object=yes
 
9300
          ;;
8290
9301
        esac
8291
9302
        case `$CC -V 2>&1 | sed 5q` in
8292
9303
        *Sun\ C*)                       # Sun C 5.9
8293
 
          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'
 
9304
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8294
9305
          compiler_needs_object=yes
8295
9306
          tmp_sharedflag='-G' ;;
8296
9307
        *Sun\ F*)                       # Sun Fortran 8.3
8306
9317
        fi
8307
9318
 
8308
9319
        case $cc_basename in
8309
 
        xlf*)
 
9320
        xlf* | bgf* | bgxlf* | mpixlf*)
8310
9321
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8311
9322
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8312
9323
          hardcode_libdir_flag_spec=
8313
9324
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8314
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9325
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8315
9326
          if test "x$supports_anon_versioning" = xyes; then
8316
9327
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8317
9328
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8318
9329
              echo "local: *; };" >> $output_objdir/$libname.ver~
8319
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9330
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8320
9331
          fi
8321
9332
          ;;
8322
9333
        esac
8437
9448
      else
8438
9449
        # If we're using GNU nm, then we don't want the "-C" option.
8439
9450
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
9451
        # Also, AIX nm treats weak defined symbols like other global
 
9452
        # defined symbols, whereas GNU nm marks them as "W".
8440
9453
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8441
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
9454
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8442
9455
        else
8443
9456
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8444
9457
        fi
8525
9538
        allow_undefined_flag='-berok'
8526
9539
        # Determine the default libpath from the value encoded in an
8527
9540
        # empty executable.
8528
 
        cat >conftest.$ac_ext <<_ACEOF
8529
 
/* confdefs.h.  */
8530
 
_ACEOF
8531
 
cat confdefs.h >>conftest.$ac_ext
8532
 
cat >>conftest.$ac_ext <<_ACEOF
 
9541
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533
9542
/* end confdefs.h.  */
8534
9543
 
8535
9544
int
8540
9549
  return 0;
8541
9550
}
8542
9551
_ACEOF
8543
 
rm -f conftest.$ac_objext conftest$ac_exeext
8544
 
if { (ac_try="$ac_link"
8545
 
case "(($ac_try" in
8546
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8547
 
  *) ac_try_echo=$ac_try;;
8548
 
esac
8549
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8550
 
$as_echo "$ac_try_echo") >&5
8551
 
  (eval "$ac_link") 2>conftest.er1
8552
 
  ac_status=$?
8553
 
  grep -v '^ *+' conftest.er1 >conftest.err
8554
 
  rm -f conftest.er1
8555
 
  cat conftest.err >&5
8556
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557
 
  (exit $ac_status); } && {
8558
 
         test -z "$ac_c_werror_flag" ||
8559
 
         test ! -s conftest.err
8560
 
       } && test -s conftest$ac_exeext && {
8561
 
         test "$cross_compiling" = yes ||
8562
 
         $as_test_x conftest$ac_exeext
8563
 
       }; then
 
9552
if ac_fn_c_try_link "$LINENO"; then :
8564
9553
 
8565
9554
lt_aix_libpath_sed='
8566
9555
    /Import File Strings/,/^$/ {
8574
9563
if test -z "$aix_libpath"; then
8575
9564
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8576
9565
fi
8577
 
else
8578
 
  $as_echo "$as_me: failed program was:" >&5
8579
 
sed 's/^/| /' conftest.$ac_ext >&5
8580
 
 
8581
 
 
8582
9566
fi
8583
 
 
8584
 
rm -rf conftest.dSYM
8585
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8586
 
      conftest$ac_exeext conftest.$ac_ext
 
9567
rm -f core conftest.err conftest.$ac_objext \
 
9568
    conftest$ac_exeext conftest.$ac_ext
8587
9569
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8588
9570
 
8589
9571
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8590
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
9572
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8591
9573
      else
8592
9574
        if test "$host_cpu" = ia64; then
8593
9575
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8596
9578
        else
8597
9579
         # Determine the default libpath from the value encoded in an
8598
9580
         # empty executable.
8599
 
         cat >conftest.$ac_ext <<_ACEOF
8600
 
/* confdefs.h.  */
8601
 
_ACEOF
8602
 
cat confdefs.h >>conftest.$ac_ext
8603
 
cat >>conftest.$ac_ext <<_ACEOF
 
9581
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604
9582
/* end confdefs.h.  */
8605
9583
 
8606
9584
int
8611
9589
  return 0;
8612
9590
}
8613
9591
_ACEOF
8614
 
rm -f conftest.$ac_objext conftest$ac_exeext
8615
 
if { (ac_try="$ac_link"
8616
 
case "(($ac_try" in
8617
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8618
 
  *) ac_try_echo=$ac_try;;
8619
 
esac
8620
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8621
 
$as_echo "$ac_try_echo") >&5
8622
 
  (eval "$ac_link") 2>conftest.er1
8623
 
  ac_status=$?
8624
 
  grep -v '^ *+' conftest.er1 >conftest.err
8625
 
  rm -f conftest.er1
8626
 
  cat conftest.err >&5
8627
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628
 
  (exit $ac_status); } && {
8629
 
         test -z "$ac_c_werror_flag" ||
8630
 
         test ! -s conftest.err
8631
 
       } && test -s conftest$ac_exeext && {
8632
 
         test "$cross_compiling" = yes ||
8633
 
         $as_test_x conftest$ac_exeext
8634
 
       }; then
 
9592
if ac_fn_c_try_link "$LINENO"; then :
8635
9593
 
8636
9594
lt_aix_libpath_sed='
8637
9595
    /Import File Strings/,/^$/ {
8645
9603
if test -z "$aix_libpath"; then
8646
9604
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8647
9605
fi
8648
 
else
8649
 
  $as_echo "$as_me: failed program was:" >&5
8650
 
sed 's/^/| /' conftest.$ac_ext >&5
8651
 
 
8652
 
 
8653
9606
fi
8654
 
 
8655
 
rm -rf conftest.dSYM
8656
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8657
 
      conftest$ac_exeext conftest.$ac_ext
 
9607
rm -f core conftest.err conftest.$ac_objext \
 
9608
    conftest$ac_exeext conftest.$ac_ext
8658
9609
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8659
9610
 
8660
9611
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8662
9613
          # -berok will link without error, but may produce a broken library.
8663
9614
          no_undefined_flag=' ${wl}-bernotok'
8664
9615
          allow_undefined_flag=' ${wl}-berok'
8665
 
          # Exported symbols can be pulled into shared objects from archives
8666
 
          whole_archive_flag_spec='$convenience'
 
9616
          if test "$with_gnu_ld" = yes; then
 
9617
            # We only use this code for GNU lds that support --whole-archive.
 
9618
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
9619
          else
 
9620
            # Exported symbols can be pulled into shared objects from archives
 
9621
            whole_archive_flag_spec='$convenience'
 
9622
          fi
8667
9623
          archive_cmds_need_lc=yes
8668
9624
          # This is similar to how AIX traditionally builds its shared libraries.
8669
9625
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8702
9658
      # Tell ltmain to make .dll files, not .so files.
8703
9659
      shrext_cmds=".dll"
8704
9660
      # FIXME: Setting linknames here is a bad hack.
8705
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9661
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8706
9662
      # The linker will automatically build a .lib file if we build a DLL.
8707
9663
      old_archive_from_new_cmds='true'
8708
9664
      # FIXME: Should let the user specify the lib program.
8718
9674
  hardcode_direct=no
8719
9675
  hardcode_automatic=yes
8720
9676
  hardcode_shlibpath_var=unsupported
8721
 
  whole_archive_flag_spec=''
 
9677
  if test "$lt_cv_ld_force_load" = "yes"; then
 
9678
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9679
  else
 
9680
    whole_archive_flag_spec=''
 
9681
  fi
8722
9682
  link_all_deplibs=yes
8723
9683
  allow_undefined_flag="$_lt_dar_allow_undefined"
8724
9684
  case $cc_basename in
8726
9686
     *) _lt_dar_can_shared=$GCC ;;
8727
9687
  esac
8728
9688
  if test "$_lt_dar_can_shared" = "yes"; then
8729
 
    output_verbose_link_cmd=echo
 
9689
    output_verbose_link_cmd=func_echo_all
8730
9690
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8731
9691
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8732
9692
    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}"
8792
9752
      ;;
8793
9753
 
8794
9754
    hpux10*)
8795
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9755
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8796
9756
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8797
9757
      else
8798
9758
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8811
9771
      ;;
8812
9772
 
8813
9773
    hpux11*)
8814
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
9774
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8815
9775
        case $host_cpu in
8816
9776
        hppa*64*)
8817
9777
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8832
9792
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8833
9793
          ;;
8834
9794
        *)
8835
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9795
 
 
9796
          # Older versions of the 11.00 compiler do not understand -b yet
 
9797
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
9798
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
9799
$as_echo_n "checking if $CC understands -b... " >&6; }
 
9800
if ${lt_cv_prog_compiler__b+:} false; then :
 
9801
  $as_echo_n "(cached) " >&6
 
9802
else
 
9803
  lt_cv_prog_compiler__b=no
 
9804
   save_LDFLAGS="$LDFLAGS"
 
9805
   LDFLAGS="$LDFLAGS -b"
 
9806
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
9807
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
9808
     # The linker can only warn and ignore the option if not recognized
 
9809
     # So say no if there are warnings
 
9810
     if test -s conftest.err; then
 
9811
       # Append any errors to the config.log.
 
9812
       cat conftest.err 1>&5
 
9813
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
9814
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
9815
       if diff conftest.exp conftest.er2 >/dev/null; then
 
9816
         lt_cv_prog_compiler__b=yes
 
9817
       fi
 
9818
     else
 
9819
       lt_cv_prog_compiler__b=yes
 
9820
     fi
 
9821
   fi
 
9822
   $RM -r conftest*
 
9823
   LDFLAGS="$save_LDFLAGS"
 
9824
 
 
9825
fi
 
9826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
9827
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
9828
 
 
9829
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
9830
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9831
else
 
9832
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
9833
fi
 
9834
 
8836
9835
          ;;
8837
9836
        esac
8838
9837
      fi
8860
9859
 
8861
9860
    irix5* | irix6* | nonstopux*)
8862
9861
      if test "$GCC" = yes; then
8863
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9862
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8864
9863
        # Try to use the -exported_symbol ld option, if it does not
8865
9864
        # work, assume that -exports_file does not work either and
8866
9865
        # implicitly export all symbols.
8867
9866
        save_LDFLAGS="$LDFLAGS"
8868
9867
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8869
 
        cat >conftest.$ac_ext <<_ACEOF
 
9868
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9869
/* end confdefs.h.  */
8870
9870
int foo(void) {}
8871
9871
_ACEOF
8872
 
rm -f conftest.$ac_objext conftest$ac_exeext
8873
 
if { (ac_try="$ac_link"
8874
 
case "(($ac_try" in
8875
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8876
 
  *) ac_try_echo=$ac_try;;
8877
 
esac
8878
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8879
 
$as_echo "$ac_try_echo") >&5
8880
 
  (eval "$ac_link") 2>conftest.er1
8881
 
  ac_status=$?
8882
 
  grep -v '^ *+' conftest.er1 >conftest.err
8883
 
  rm -f conftest.er1
8884
 
  cat conftest.err >&5
8885
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886
 
  (exit $ac_status); } && {
8887
 
         test -z "$ac_c_werror_flag" ||
8888
 
         test ! -s conftest.err
8889
 
       } && test -s conftest$ac_exeext && {
8890
 
         test "$cross_compiling" = yes ||
8891
 
         $as_test_x conftest$ac_exeext
8892
 
       }; then
8893
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8894
 
 
8895
 
else
8896
 
  $as_echo "$as_me: failed program was:" >&5
8897
 
sed 's/^/| /' conftest.$ac_ext >&5
8898
 
 
 
9872
if ac_fn_c_try_link "$LINENO"; then :
 
9873
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8899
9874
 
8900
9875
fi
8901
 
 
8902
 
rm -rf conftest.dSYM
8903
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8904
 
      conftest$ac_exeext conftest.$ac_ext
 
9876
rm -f core conftest.err conftest.$ac_objext \
 
9877
    conftest$ac_exeext conftest.$ac_ext
8905
9878
        LDFLAGS="$save_LDFLAGS"
8906
9879
      else
8907
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8908
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
9880
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
9881
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8909
9882
      fi
8910
9883
      archive_cmds_need_lc='no'
8911
9884
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8967
9940
      hardcode_libdir_flag_spec='-L$libdir'
8968
9941
      hardcode_minus_L=yes
8969
9942
      allow_undefined_flag=unsupported
8970
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
9943
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8971
9944
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8972
9945
      ;;
8973
9946
 
8974
9947
    osf3*)
8975
9948
      if test "$GCC" = yes; then
8976
9949
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8977
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9950
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8978
9951
      else
8979
9952
        allow_undefined_flag=' -expect_unresolved \*'
8980
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9953
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8981
9954
      fi
8982
9955
      archive_cmds_need_lc='no'
8983
9956
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8987
9960
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8988
9961
      if test "$GCC" = yes; then
8989
9962
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8990
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9963
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8991
9964
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8992
9965
      else
8993
9966
        allow_undefined_flag=' -expect_unresolved \*'
8994
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
9967
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
8995
9968
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8996
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
9969
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8997
9970
 
8998
9971
        # Both c and cxx compiler support -rpath directly
8999
9972
        hardcode_libdir_flag_spec='-rpath $libdir'
9157
10130
    fi
9158
10131
  fi
9159
10132
 
9160
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9161
10134
$as_echo "$ld_shlibs" >&6; }
9162
10135
test "$ld_shlibs" = no && can_build_shared=no
9163
10136
 
9194
10167
      # Test whether the compiler implicitly links with -lc since on some
9195
10168
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9196
10169
      # to ld, don't add -lc before -lgcc.
9197
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10170
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9198
10171
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9199
 
      $RM conftest*
9200
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10172
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10173
  $as_echo_n "(cached) " >&6
 
10174
else
 
10175
  $RM conftest*
 
10176
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9201
10177
 
9202
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10178
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9203
10179
  (eval $ac_compile) 2>&5
9204
10180
  ac_status=$?
9205
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9206
 
  (exit $ac_status); } 2>conftest.err; then
9207
 
        soname=conftest
9208
 
        lib=conftest
9209
 
        libobjs=conftest.$ac_objext
9210
 
        deplibs=
9211
 
        wl=$lt_prog_compiler_wl
9212
 
        pic_flag=$lt_prog_compiler_pic
9213
 
        compiler_flags=-v
9214
 
        linker_flags=-v
9215
 
        verstring=
9216
 
        output_objdir=.
9217
 
        libname=conftest
9218
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
9219
 
        allow_undefined_flag=
9220
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10181
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10182
  test $ac_status = 0; } 2>conftest.err; then
 
10183
          soname=conftest
 
10184
          lib=conftest
 
10185
          libobjs=conftest.$ac_objext
 
10186
          deplibs=
 
10187
          wl=$lt_prog_compiler_wl
 
10188
          pic_flag=$lt_prog_compiler_pic
 
10189
          compiler_flags=-v
 
10190
          linker_flags=-v
 
10191
          verstring=
 
10192
          output_objdir=.
 
10193
          libname=conftest
 
10194
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10195
          allow_undefined_flag=
 
10196
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9221
10197
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9222
10198
  ac_status=$?
9223
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224
 
  (exit $ac_status); }
9225
 
        then
9226
 
          archive_cmds_need_lc=no
9227
 
        else
9228
 
          archive_cmds_need_lc=yes
9229
 
        fi
9230
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
9231
 
      else
9232
 
        cat conftest.err 1>&5
9233
 
      fi
9234
 
      $RM conftest*
9235
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9236
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10199
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10200
  test $ac_status = 0; }
 
10201
          then
 
10202
            lt_cv_archive_cmds_need_lc=no
 
10203
          else
 
10204
            lt_cv_archive_cmds_need_lc=yes
 
10205
          fi
 
10206
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10207
        else
 
10208
          cat conftest.err 1>&5
 
10209
        fi
 
10210
        $RM conftest*
 
10211
 
 
10212
fi
 
10213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10214
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10215
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9237
10216
      ;;
9238
10217
    esac
9239
10218
  fi
9396
10375
 
9397
10376
 
9398
10377
 
9399
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10378
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9400
10379
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9401
10380
 
9402
10381
if test "$GCC" = yes; then
9404
10383
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9405
10384
    *) lt_awk_arg="/^libraries:/" ;;
9406
10385
  esac
9407
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9408
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10386
  case $host_os in
 
10387
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
10388
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
10389
  esac
 
10390
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
10391
  case $lt_search_path_spec in
 
10392
  *\;*)
9409
10393
    # if the path contains ";" then we assume it to be the separator
9410
10394
    # otherwise default to the standard path separator (i.e. ":") - it is
9411
10395
    # assumed that no part of a normal pathname contains ";" but that should
9412
10396
    # okay in the real world where ";" in dirpaths is itself problematic.
9413
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9414
 
  else
9415
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9416
 
  fi
 
10397
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
10398
    ;;
 
10399
  *)
 
10400
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
10401
    ;;
 
10402
  esac
9417
10403
  # Ok, now we have the path, separated by spaces, we can step through it
9418
10404
  # and add multilib dir if necessary.
9419
10405
  lt_tmp_lt_search_path_spec=
9426
10412
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9427
10413
    fi
9428
10414
  done
9429
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10415
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9430
10416
BEGIN {RS=" "; FS="/|\n";} {
9431
10417
  lt_foo="";
9432
10418
  lt_count=0;
9446
10432
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9447
10433
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9448
10434
}'`
9449
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10435
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
10436
  # for these hosts.
 
10437
  case $host_os in
 
10438
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
10439
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
10440
  esac
 
10441
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9450
10442
else
9451
10443
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9452
10444
fi
9534
10526
  m68k)
9535
10527
    library_names_spec='$libname.ixlibrary $libname.a'
9536
10528
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9537
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
10529
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9538
10530
    ;;
9539
10531
  esac
9540
10532
  ;;
9587
10579
    cygwin*)
9588
10580
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9589
10581
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9590
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
10582
 
 
10583
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9591
10584
      ;;
9592
10585
    mingw* | cegcc*)
9593
10586
      # MinGW DLLs use traditional 'lib' prefix
9594
10587
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9595
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9596
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9597
 
        # It is most probably a Windows format PATH printed by
9598
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9599
 
        # path with ; separators, and with drive letters. We can handle the
9600
 
        # drive letters (cygwin fileutils understands them), so leave them,
9601
 
        # especially as we might pass files found there to a mingw objdump,
9602
 
        # which wouldn't understand a cygwinified path. Ahh.
9603
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9604
 
      else
9605
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9606
 
      fi
9607
10588
      ;;
9608
10589
    pw32*)
9609
10590
      # pw32 DLLs use 'pw' prefix rather than 'lib'
9703
10684
  hardcode_into_libs=yes
9704
10685
  ;;
9705
10686
 
 
10687
haiku*)
 
10688
  version_type=linux
 
10689
  need_lib_prefix=no
 
10690
  need_version=no
 
10691
  dynamic_linker="$host_os runtime_loader"
 
10692
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
10693
  soname_spec='${libname}${release}${shared_ext}$major'
 
10694
  shlibpath_var=LIBRARY_PATH
 
10695
  shlibpath_overrides_runpath=yes
 
10696
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
10697
  hardcode_into_libs=yes
 
10698
  ;;
 
10699
 
9706
10700
hpux9* | hpux10* | hpux11*)
9707
10701
  # Give a soname corresponding to the major version so that dld.sl refuses to
9708
10702
  # link against other versions.
9745
10739
    soname_spec='${libname}${release}${shared_ext}$major'
9746
10740
    ;;
9747
10741
  esac
9748
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
10742
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9749
10743
  postinstall_cmds='chmod 555 $lib'
 
10744
  # or fails outright, so override atomically:
 
10745
  install_override_mode=555
9750
10746
  ;;
9751
10747
 
9752
10748
interix[3-9]*)
9804
10800
  ;;
9805
10801
 
9806
10802
# This must be Linux ELF.
9807
 
linux* | k*bsd*-gnu)
 
10803
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9808
10804
  version_type=linux
9809
10805
  need_lib_prefix=no
9810
10806
  need_version=no
9813
10809
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9814
10810
  shlibpath_var=LD_LIBRARY_PATH
9815
10811
  shlibpath_overrides_runpath=no
 
10812
 
9816
10813
  # Some binutils ld are patched to set DT_RUNPATH
9817
 
  save_LDFLAGS=$LDFLAGS
9818
 
  save_libdir=$libdir
9819
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9820
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9821
 
  cat >conftest.$ac_ext <<_ACEOF
9822
 
/* confdefs.h.  */
9823
 
_ACEOF
9824
 
cat confdefs.h >>conftest.$ac_ext
9825
 
cat >>conftest.$ac_ext <<_ACEOF
 
10814
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
10815
  $as_echo_n "(cached) " >&6
 
10816
else
 
10817
  lt_cv_shlibpath_overrides_runpath=no
 
10818
    save_LDFLAGS=$LDFLAGS
 
10819
    save_libdir=$libdir
 
10820
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10821
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10822
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9826
10823
/* end confdefs.h.  */
9827
10824
 
9828
10825
int
9833
10830
  return 0;
9834
10831
}
9835
10832
_ACEOF
9836
 
rm -f conftest.$ac_objext conftest$ac_exeext
9837
 
if { (ac_try="$ac_link"
9838
 
case "(($ac_try" in
9839
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9840
 
  *) ac_try_echo=$ac_try;;
9841
 
esac
9842
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9843
 
$as_echo "$ac_try_echo") >&5
9844
 
  (eval "$ac_link") 2>conftest.er1
9845
 
  ac_status=$?
9846
 
  grep -v '^ *+' conftest.er1 >conftest.err
9847
 
  rm -f conftest.er1
9848
 
  cat conftest.err >&5
9849
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850
 
  (exit $ac_status); } && {
9851
 
         test -z "$ac_c_werror_flag" ||
9852
 
         test ! -s conftest.err
9853
 
       } && test -s conftest$ac_exeext && {
9854
 
         test "$cross_compiling" = yes ||
9855
 
         $as_test_x conftest$ac_exeext
9856
 
       }; then
9857
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9858
 
  shlibpath_overrides_runpath=yes
9859
 
fi
9860
 
 
9861
 
else
9862
 
  $as_echo "$as_me: failed program was:" >&5
9863
 
sed 's/^/| /' conftest.$ac_ext >&5
9864
 
 
9865
 
 
9866
 
fi
9867
 
 
9868
 
rm -rf conftest.dSYM
9869
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9870
 
      conftest$ac_exeext conftest.$ac_ext
9871
 
  LDFLAGS=$save_LDFLAGS
9872
 
  libdir=$save_libdir
 
10833
if ac_fn_c_try_link "$LINENO"; then :
 
10834
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
10835
  lt_cv_shlibpath_overrides_runpath=yes
 
10836
fi
 
10837
fi
 
10838
rm -f core conftest.err conftest.$ac_objext \
 
10839
    conftest$ac_exeext conftest.$ac_ext
 
10840
    LDFLAGS=$save_LDFLAGS
 
10841
    libdir=$save_libdir
 
10842
 
 
10843
fi
 
10844
 
 
10845
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9873
10846
 
9874
10847
  # This implies no fast_install, which is unacceptable.
9875
10848
  # Some rework will be needed to allow for fast_install
9876
10849
  # before this can be enabled.
9877
10850
  hardcode_into_libs=yes
9878
10851
 
9879
 
  # Add ABI-specific directories to the system library path.
9880
 
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
9881
 
 
9882
10852
  # Append ld.so.conf contents to the search path
9883
10853
  if test -f /etc/ld.so.conf; then
9884
 
    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' ' '`
9885
 
    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
 
10854
    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;s/"//g;/^$/d' | tr '\n' ' '`
 
10855
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9886
10856
  fi
9887
10857
 
9888
10858
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10082
11052
  dynamic_linker=no
10083
11053
  ;;
10084
11054
esac
10085
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10086
11056
$as_echo "$dynamic_linker" >&6; }
10087
11057
test "$dynamic_linker" = no && can_build_shared=no
10088
11058
 
10184
11154
 
10185
11155
 
10186
11156
 
10187
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11157
 
 
11158
 
 
11159
 
 
11160
 
 
11161
 
 
11162
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10188
11163
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10189
11164
hardcode_action=
10190
11165
if test -n "$hardcode_libdir_flag_spec" ||
10209
11184
  # directories.
10210
11185
  hardcode_action=unsupported
10211
11186
fi
10212
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10213
11188
$as_echo "$hardcode_action" >&6; }
10214
11189
 
10215
11190
if test "$hardcode_action" = relink ||
10254
11229
 
10255
11230
  darwin*)
10256
11231
  # if libdl is installed we need to link against it
10257
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11232
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10258
11233
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10259
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11234
if ${ac_cv_lib_dl_dlopen+:} false; then :
10260
11235
  $as_echo_n "(cached) " >&6
10261
11236
else
10262
11237
  ac_check_lib_save_LIBS=$LIBS
10263
11238
LIBS="-ldl  $LIBS"
10264
 
cat >conftest.$ac_ext <<_ACEOF
10265
 
/* confdefs.h.  */
10266
 
_ACEOF
10267
 
cat confdefs.h >>conftest.$ac_ext
10268
 
cat >>conftest.$ac_ext <<_ACEOF
 
11239
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10269
11240
/* end confdefs.h.  */
10270
11241
 
10271
11242
/* Override any GCC internal prototype to avoid an error.
10283
11254
  return 0;
10284
11255
}
10285
11256
_ACEOF
10286
 
rm -f conftest.$ac_objext conftest$ac_exeext
10287
 
if { (ac_try="$ac_link"
10288
 
case "(($ac_try" in
10289
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10290
 
  *) ac_try_echo=$ac_try;;
10291
 
esac
10292
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10293
 
$as_echo "$ac_try_echo") >&5
10294
 
  (eval "$ac_link") 2>conftest.er1
10295
 
  ac_status=$?
10296
 
  grep -v '^ *+' conftest.er1 >conftest.err
10297
 
  rm -f conftest.er1
10298
 
  cat conftest.err >&5
10299
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300
 
  (exit $ac_status); } && {
10301
 
         test -z "$ac_c_werror_flag" ||
10302
 
         test ! -s conftest.err
10303
 
       } && test -s conftest$ac_exeext && {
10304
 
         test "$cross_compiling" = yes ||
10305
 
         $as_test_x conftest$ac_exeext
10306
 
       }; then
 
11257
if ac_fn_c_try_link "$LINENO"; then :
10307
11258
  ac_cv_lib_dl_dlopen=yes
10308
11259
else
10309
 
  $as_echo "$as_me: failed program was:" >&5
10310
 
sed 's/^/| /' conftest.$ac_ext >&5
10311
 
 
10312
 
        ac_cv_lib_dl_dlopen=no
 
11260
  ac_cv_lib_dl_dlopen=no
10313
11261
fi
10314
 
 
10315
 
rm -rf conftest.dSYM
10316
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10317
 
      conftest$ac_exeext conftest.$ac_ext
 
11262
rm -f core conftest.err conftest.$ac_objext \
 
11263
    conftest$ac_exeext conftest.$ac_ext
10318
11264
LIBS=$ac_check_lib_save_LIBS
10319
11265
fi
10320
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10321
11267
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10322
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11268
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10323
11269
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10324
11270
else
10325
11271
 
10332
11278
    ;;
10333
11279
 
10334
11280
  *)
10335
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10336
 
$as_echo_n "checking for shl_load... " >&6; }
10337
 
if test "${ac_cv_func_shl_load+set}" = set; then
10338
 
  $as_echo_n "(cached) " >&6
10339
 
else
10340
 
  cat >conftest.$ac_ext <<_ACEOF
10341
 
/* confdefs.h.  */
10342
 
_ACEOF
10343
 
cat confdefs.h >>conftest.$ac_ext
10344
 
cat >>conftest.$ac_ext <<_ACEOF
10345
 
/* end confdefs.h.  */
10346
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10347
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10348
 
#define shl_load innocuous_shl_load
10349
 
 
10350
 
/* System header to define __stub macros and hopefully few prototypes,
10351
 
    which can conflict with char shl_load (); below.
10352
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10353
 
    <limits.h> exists even on freestanding compilers.  */
10354
 
 
10355
 
#ifdef __STDC__
10356
 
# include <limits.h>
10357
 
#else
10358
 
# include <assert.h>
10359
 
#endif
10360
 
 
10361
 
#undef shl_load
10362
 
 
10363
 
/* Override any GCC internal prototype to avoid an error.
10364
 
   Use char because int might match the return type of a GCC
10365
 
   builtin and then its argument prototype would still apply.  */
10366
 
#ifdef __cplusplus
10367
 
extern "C"
10368
 
#endif
10369
 
char shl_load ();
10370
 
/* The GNU C library defines this for functions which it implements
10371
 
    to always fail with ENOSYS.  Some functions are actually named
10372
 
    something starting with __ and the normal name is an alias.  */
10373
 
#if defined __stub_shl_load || defined __stub___shl_load
10374
 
choke me
10375
 
#endif
10376
 
 
10377
 
int
10378
 
main ()
10379
 
{
10380
 
return shl_load ();
10381
 
  ;
10382
 
  return 0;
10383
 
}
10384
 
_ACEOF
10385
 
rm -f conftest.$ac_objext conftest$ac_exeext
10386
 
if { (ac_try="$ac_link"
10387
 
case "(($ac_try" in
10388
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10389
 
  *) ac_try_echo=$ac_try;;
10390
 
esac
10391
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10392
 
$as_echo "$ac_try_echo") >&5
10393
 
  (eval "$ac_link") 2>conftest.er1
10394
 
  ac_status=$?
10395
 
  grep -v '^ *+' conftest.er1 >conftest.err
10396
 
  rm -f conftest.er1
10397
 
  cat conftest.err >&5
10398
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399
 
  (exit $ac_status); } && {
10400
 
         test -z "$ac_c_werror_flag" ||
10401
 
         test ! -s conftest.err
10402
 
       } && test -s conftest$ac_exeext && {
10403
 
         test "$cross_compiling" = yes ||
10404
 
         $as_test_x conftest$ac_exeext
10405
 
       }; then
10406
 
  ac_cv_func_shl_load=yes
10407
 
else
10408
 
  $as_echo "$as_me: failed program was:" >&5
10409
 
sed 's/^/| /' conftest.$ac_ext >&5
10410
 
 
10411
 
        ac_cv_func_shl_load=no
10412
 
fi
10413
 
 
10414
 
rm -rf conftest.dSYM
10415
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10416
 
      conftest$ac_exeext conftest.$ac_ext
10417
 
fi
10418
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10419
 
$as_echo "$ac_cv_func_shl_load" >&6; }
10420
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11281
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11282
if test "x$ac_cv_func_shl_load" = xyes; then :
10421
11283
  lt_cv_dlopen="shl_load"
10422
11284
else
10423
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11285
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10424
11286
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10425
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11287
if ${ac_cv_lib_dld_shl_load+:} false; then :
10426
11288
  $as_echo_n "(cached) " >&6
10427
11289
else
10428
11290
  ac_check_lib_save_LIBS=$LIBS
10429
11291
LIBS="-ldld  $LIBS"
10430
 
cat >conftest.$ac_ext <<_ACEOF
10431
 
/* confdefs.h.  */
10432
 
_ACEOF
10433
 
cat confdefs.h >>conftest.$ac_ext
10434
 
cat >>conftest.$ac_ext <<_ACEOF
 
11292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10435
11293
/* end confdefs.h.  */
10436
11294
 
10437
11295
/* Override any GCC internal prototype to avoid an error.
10449
11307
  return 0;
10450
11308
}
10451
11309
_ACEOF
10452
 
rm -f conftest.$ac_objext conftest$ac_exeext
10453
 
if { (ac_try="$ac_link"
10454
 
case "(($ac_try" in
10455
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10456
 
  *) ac_try_echo=$ac_try;;
10457
 
esac
10458
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10459
 
$as_echo "$ac_try_echo") >&5
10460
 
  (eval "$ac_link") 2>conftest.er1
10461
 
  ac_status=$?
10462
 
  grep -v '^ *+' conftest.er1 >conftest.err
10463
 
  rm -f conftest.er1
10464
 
  cat conftest.err >&5
10465
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466
 
  (exit $ac_status); } && {
10467
 
         test -z "$ac_c_werror_flag" ||
10468
 
         test ! -s conftest.err
10469
 
       } && test -s conftest$ac_exeext && {
10470
 
         test "$cross_compiling" = yes ||
10471
 
         $as_test_x conftest$ac_exeext
10472
 
       }; then
 
11310
if ac_fn_c_try_link "$LINENO"; then :
10473
11311
  ac_cv_lib_dld_shl_load=yes
10474
11312
else
10475
 
  $as_echo "$as_me: failed program was:" >&5
10476
 
sed 's/^/| /' conftest.$ac_ext >&5
10477
 
 
10478
 
        ac_cv_lib_dld_shl_load=no
 
11313
  ac_cv_lib_dld_shl_load=no
10479
11314
fi
10480
 
 
10481
 
rm -rf conftest.dSYM
10482
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10483
 
      conftest$ac_exeext conftest.$ac_ext
 
11315
rm -f core conftest.err conftest.$ac_objext \
 
11316
    conftest$ac_exeext conftest.$ac_ext
10484
11317
LIBS=$ac_check_lib_save_LIBS
10485
11318
fi
10486
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10487
11320
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10488
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11321
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10489
11322
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10490
11323
else
10491
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10492
 
$as_echo_n "checking for dlopen... " >&6; }
10493
 
if test "${ac_cv_func_dlopen+set}" = set; then
10494
 
  $as_echo_n "(cached) " >&6
10495
 
else
10496
 
  cat >conftest.$ac_ext <<_ACEOF
10497
 
/* confdefs.h.  */
10498
 
_ACEOF
10499
 
cat confdefs.h >>conftest.$ac_ext
10500
 
cat >>conftest.$ac_ext <<_ACEOF
10501
 
/* end confdefs.h.  */
10502
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10503
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10504
 
#define dlopen innocuous_dlopen
10505
 
 
10506
 
/* System header to define __stub macros and hopefully few prototypes,
10507
 
    which can conflict with char dlopen (); below.
10508
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10509
 
    <limits.h> exists even on freestanding compilers.  */
10510
 
 
10511
 
#ifdef __STDC__
10512
 
# include <limits.h>
10513
 
#else
10514
 
# include <assert.h>
10515
 
#endif
10516
 
 
10517
 
#undef dlopen
10518
 
 
10519
 
/* Override any GCC internal prototype to avoid an error.
10520
 
   Use char because int might match the return type of a GCC
10521
 
   builtin and then its argument prototype would still apply.  */
10522
 
#ifdef __cplusplus
10523
 
extern "C"
10524
 
#endif
10525
 
char dlopen ();
10526
 
/* The GNU C library defines this for functions which it implements
10527
 
    to always fail with ENOSYS.  Some functions are actually named
10528
 
    something starting with __ and the normal name is an alias.  */
10529
 
#if defined __stub_dlopen || defined __stub___dlopen
10530
 
choke me
10531
 
#endif
10532
 
 
10533
 
int
10534
 
main ()
10535
 
{
10536
 
return dlopen ();
10537
 
  ;
10538
 
  return 0;
10539
 
}
10540
 
_ACEOF
10541
 
rm -f conftest.$ac_objext conftest$ac_exeext
10542
 
if { (ac_try="$ac_link"
10543
 
case "(($ac_try" in
10544
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10545
 
  *) ac_try_echo=$ac_try;;
10546
 
esac
10547
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10548
 
$as_echo "$ac_try_echo") >&5
10549
 
  (eval "$ac_link") 2>conftest.er1
10550
 
  ac_status=$?
10551
 
  grep -v '^ *+' conftest.er1 >conftest.err
10552
 
  rm -f conftest.er1
10553
 
  cat conftest.err >&5
10554
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555
 
  (exit $ac_status); } && {
10556
 
         test -z "$ac_c_werror_flag" ||
10557
 
         test ! -s conftest.err
10558
 
       } && test -s conftest$ac_exeext && {
10559
 
         test "$cross_compiling" = yes ||
10560
 
         $as_test_x conftest$ac_exeext
10561
 
       }; then
10562
 
  ac_cv_func_dlopen=yes
10563
 
else
10564
 
  $as_echo "$as_me: failed program was:" >&5
10565
 
sed 's/^/| /' conftest.$ac_ext >&5
10566
 
 
10567
 
        ac_cv_func_dlopen=no
10568
 
fi
10569
 
 
10570
 
rm -rf conftest.dSYM
10571
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10572
 
      conftest$ac_exeext conftest.$ac_ext
10573
 
fi
10574
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10575
 
$as_echo "$ac_cv_func_dlopen" >&6; }
10576
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11324
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11325
if test "x$ac_cv_func_dlopen" = xyes; then :
10577
11326
  lt_cv_dlopen="dlopen"
10578
11327
else
10579
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11328
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10580
11329
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10581
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11330
if ${ac_cv_lib_dl_dlopen+:} false; then :
10582
11331
  $as_echo_n "(cached) " >&6
10583
11332
else
10584
11333
  ac_check_lib_save_LIBS=$LIBS
10585
11334
LIBS="-ldl  $LIBS"
10586
 
cat >conftest.$ac_ext <<_ACEOF
10587
 
/* confdefs.h.  */
10588
 
_ACEOF
10589
 
cat confdefs.h >>conftest.$ac_ext
10590
 
cat >>conftest.$ac_ext <<_ACEOF
 
11335
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10591
11336
/* end confdefs.h.  */
10592
11337
 
10593
11338
/* Override any GCC internal prototype to avoid an error.
10605
11350
  return 0;
10606
11351
}
10607
11352
_ACEOF
10608
 
rm -f conftest.$ac_objext conftest$ac_exeext
10609
 
if { (ac_try="$ac_link"
10610
 
case "(($ac_try" in
10611
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10612
 
  *) ac_try_echo=$ac_try;;
10613
 
esac
10614
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10615
 
$as_echo "$ac_try_echo") >&5
10616
 
  (eval "$ac_link") 2>conftest.er1
10617
 
  ac_status=$?
10618
 
  grep -v '^ *+' conftest.er1 >conftest.err
10619
 
  rm -f conftest.er1
10620
 
  cat conftest.err >&5
10621
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622
 
  (exit $ac_status); } && {
10623
 
         test -z "$ac_c_werror_flag" ||
10624
 
         test ! -s conftest.err
10625
 
       } && test -s conftest$ac_exeext && {
10626
 
         test "$cross_compiling" = yes ||
10627
 
         $as_test_x conftest$ac_exeext
10628
 
       }; then
 
11353
if ac_fn_c_try_link "$LINENO"; then :
10629
11354
  ac_cv_lib_dl_dlopen=yes
10630
11355
else
10631
 
  $as_echo "$as_me: failed program was:" >&5
10632
 
sed 's/^/| /' conftest.$ac_ext >&5
10633
 
 
10634
 
        ac_cv_lib_dl_dlopen=no
 
11356
  ac_cv_lib_dl_dlopen=no
10635
11357
fi
10636
 
 
10637
 
rm -rf conftest.dSYM
10638
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10639
 
      conftest$ac_exeext conftest.$ac_ext
 
11358
rm -f core conftest.err conftest.$ac_objext \
 
11359
    conftest$ac_exeext conftest.$ac_ext
10640
11360
LIBS=$ac_check_lib_save_LIBS
10641
11361
fi
10642
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11362
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10643
11363
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10644
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11364
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10645
11365
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10646
11366
else
10647
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11367
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10648
11368
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10649
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11369
if ${ac_cv_lib_svld_dlopen+:} false; then :
10650
11370
  $as_echo_n "(cached) " >&6
10651
11371
else
10652
11372
  ac_check_lib_save_LIBS=$LIBS
10653
11373
LIBS="-lsvld  $LIBS"
10654
 
cat >conftest.$ac_ext <<_ACEOF
10655
 
/* confdefs.h.  */
10656
 
_ACEOF
10657
 
cat confdefs.h >>conftest.$ac_ext
10658
 
cat >>conftest.$ac_ext <<_ACEOF
 
11374
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659
11375
/* end confdefs.h.  */
10660
11376
 
10661
11377
/* Override any GCC internal prototype to avoid an error.
10673
11389
  return 0;
10674
11390
}
10675
11391
_ACEOF
10676
 
rm -f conftest.$ac_objext conftest$ac_exeext
10677
 
if { (ac_try="$ac_link"
10678
 
case "(($ac_try" in
10679
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10680
 
  *) ac_try_echo=$ac_try;;
10681
 
esac
10682
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10683
 
$as_echo "$ac_try_echo") >&5
10684
 
  (eval "$ac_link") 2>conftest.er1
10685
 
  ac_status=$?
10686
 
  grep -v '^ *+' conftest.er1 >conftest.err
10687
 
  rm -f conftest.er1
10688
 
  cat conftest.err >&5
10689
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10690
 
  (exit $ac_status); } && {
10691
 
         test -z "$ac_c_werror_flag" ||
10692
 
         test ! -s conftest.err
10693
 
       } && test -s conftest$ac_exeext && {
10694
 
         test "$cross_compiling" = yes ||
10695
 
         $as_test_x conftest$ac_exeext
10696
 
       }; then
 
11392
if ac_fn_c_try_link "$LINENO"; then :
10697
11393
  ac_cv_lib_svld_dlopen=yes
10698
11394
else
10699
 
  $as_echo "$as_me: failed program was:" >&5
10700
 
sed 's/^/| /' conftest.$ac_ext >&5
10701
 
 
10702
 
        ac_cv_lib_svld_dlopen=no
 
11395
  ac_cv_lib_svld_dlopen=no
10703
11396
fi
10704
 
 
10705
 
rm -rf conftest.dSYM
10706
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10707
 
      conftest$ac_exeext conftest.$ac_ext
 
11397
rm -f core conftest.err conftest.$ac_objext \
 
11398
    conftest$ac_exeext conftest.$ac_ext
10708
11399
LIBS=$ac_check_lib_save_LIBS
10709
11400
fi
10710
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10711
11402
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10712
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11403
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10713
11404
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10714
11405
else
10715
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11406
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10716
11407
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10717
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11408
if ${ac_cv_lib_dld_dld_link+:} false; then :
10718
11409
  $as_echo_n "(cached) " >&6
10719
11410
else
10720
11411
  ac_check_lib_save_LIBS=$LIBS
10721
11412
LIBS="-ldld  $LIBS"
10722
 
cat >conftest.$ac_ext <<_ACEOF
10723
 
/* confdefs.h.  */
10724
 
_ACEOF
10725
 
cat confdefs.h >>conftest.$ac_ext
10726
 
cat >>conftest.$ac_ext <<_ACEOF
 
11413
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727
11414
/* end confdefs.h.  */
10728
11415
 
10729
11416
/* Override any GCC internal prototype to avoid an error.
10741
11428
  return 0;
10742
11429
}
10743
11430
_ACEOF
10744
 
rm -f conftest.$ac_objext conftest$ac_exeext
10745
 
if { (ac_try="$ac_link"
10746
 
case "(($ac_try" in
10747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10748
 
  *) ac_try_echo=$ac_try;;
10749
 
esac
10750
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10751
 
$as_echo "$ac_try_echo") >&5
10752
 
  (eval "$ac_link") 2>conftest.er1
10753
 
  ac_status=$?
10754
 
  grep -v '^ *+' conftest.er1 >conftest.err
10755
 
  rm -f conftest.er1
10756
 
  cat conftest.err >&5
10757
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758
 
  (exit $ac_status); } && {
10759
 
         test -z "$ac_c_werror_flag" ||
10760
 
         test ! -s conftest.err
10761
 
       } && test -s conftest$ac_exeext && {
10762
 
         test "$cross_compiling" = yes ||
10763
 
         $as_test_x conftest$ac_exeext
10764
 
       }; then
 
11431
if ac_fn_c_try_link "$LINENO"; then :
10765
11432
  ac_cv_lib_dld_dld_link=yes
10766
11433
else
10767
 
  $as_echo "$as_me: failed program was:" >&5
10768
 
sed 's/^/| /' conftest.$ac_ext >&5
10769
 
 
10770
 
        ac_cv_lib_dld_dld_link=no
 
11434
  ac_cv_lib_dld_dld_link=no
10771
11435
fi
10772
 
 
10773
 
rm -rf conftest.dSYM
10774
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10775
 
      conftest$ac_exeext conftest.$ac_ext
 
11436
rm -f core conftest.err conftest.$ac_objext \
 
11437
    conftest$ac_exeext conftest.$ac_ext
10776
11438
LIBS=$ac_check_lib_save_LIBS
10777
11439
fi
10778
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10779
11441
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10780
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11442
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10781
11443
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10782
11444
fi
10783
11445
 
10816
11478
    save_LIBS="$LIBS"
10817
11479
    LIBS="$lt_cv_dlopen_libs $LIBS"
10818
11480
 
10819
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11481
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10820
11482
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10821
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11483
if ${lt_cv_dlopen_self+:} false; then :
10822
11484
  $as_echo_n "(cached) " >&6
10823
11485
else
10824
11486
          if test "$cross_compiling" = yes; then :
10827
11489
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10828
11490
  lt_status=$lt_dlunknown
10829
11491
  cat > conftest.$ac_ext <<_LT_EOF
10830
 
#line 10830 "configure"
 
11492
#line $LINENO "configure"
10831
11493
#include "confdefs.h"
10832
11494
 
10833
11495
#if HAVE_DLFCN_H
10868
11530
#  endif
10869
11531
#endif
10870
11532
 
10871
 
void fnord() { int i=42;}
 
11533
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11534
   correspondingly for the symbols needed.  */
 
11535
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11536
void fnord () __attribute__((visibility("default")));
 
11537
#endif
 
11538
 
 
11539
void fnord () { int i=42; }
10872
11540
int main ()
10873
11541
{
10874
11542
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10877
11545
  if (self)
10878
11546
    {
10879
11547
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10880
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11548
      else
 
11549
        {
 
11550
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11551
          else puts (dlerror ());
 
11552
        }
10881
11553
      /* dlclose (self); */
10882
11554
    }
10883
11555
  else
10886
11558
  return status;
10887
11559
}
10888
11560
_LT_EOF
10889
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11561
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10890
11562
  (eval $ac_link) 2>&5
10891
11563
  ac_status=$?
10892
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11564
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11565
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10894
11566
    (./conftest; exit; ) >&5 2>/dev/null
10895
11567
    lt_status=$?
10896
11568
    case x$lt_status in
10907
11579
 
10908
11580
 
10909
11581
fi
10910
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10911
11583
$as_echo "$lt_cv_dlopen_self" >&6; }
10912
11584
 
10913
11585
    if test "x$lt_cv_dlopen_self" = xyes; then
10914
11586
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10915
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11587
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10916
11588
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10917
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11589
if ${lt_cv_dlopen_self_static+:} false; then :
10918
11590
  $as_echo_n "(cached) " >&6
10919
11591
else
10920
11592
          if test "$cross_compiling" = yes; then :
10923
11595
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10924
11596
  lt_status=$lt_dlunknown
10925
11597
  cat > conftest.$ac_ext <<_LT_EOF
10926
 
#line 10926 "configure"
 
11598
#line $LINENO "configure"
10927
11599
#include "confdefs.h"
10928
11600
 
10929
11601
#if HAVE_DLFCN_H
10964
11636
#  endif
10965
11637
#endif
10966
11638
 
10967
 
void fnord() { int i=42;}
 
11639
/* When -fvisbility=hidden is used, assume the code has been annotated
 
11640
   correspondingly for the symbols needed.  */
 
11641
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
11642
void fnord () __attribute__((visibility("default")));
 
11643
#endif
 
11644
 
 
11645
void fnord () { int i=42; }
10968
11646
int main ()
10969
11647
{
10970
11648
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10973
11651
  if (self)
10974
11652
    {
10975
11653
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10976
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
11654
      else
 
11655
        {
 
11656
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
11657
          else puts (dlerror ());
 
11658
        }
10977
11659
      /* dlclose (self); */
10978
11660
    }
10979
11661
  else
10982
11664
  return status;
10983
11665
}
10984
11666
_LT_EOF
10985
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11667
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10986
11668
  (eval $ac_link) 2>&5
10987
11669
  ac_status=$?
10988
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11670
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11671
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10990
11672
    (./conftest; exit; ) >&5 2>/dev/null
10991
11673
    lt_status=$?
10992
11674
    case x$lt_status in
11003
11685
 
11004
11686
 
11005
11687
fi
11006
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11007
11689
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11008
11690
    fi
11009
11691
 
11042
11724
 
11043
11725
striplib=
11044
11726
old_striplib=
11045
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11046
11728
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11047
11729
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11048
11730
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11049
11731
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11050
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11051
11733
$as_echo "yes" >&6; }
11052
11734
else
11053
11735
# FIXME - insert some real tests, host_os isn't really good enough
11056
11738
    if test -n "$STRIP" ; then
11057
11739
      striplib="$STRIP -x"
11058
11740
      old_striplib="$STRIP -S"
11059
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11741
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11060
11742
$as_echo "yes" >&6; }
11061
11743
    else
11062
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11744
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11063
11745
$as_echo "no" >&6; }
11064
11746
    fi
11065
11747
    ;;
11066
11748
  *)
11067
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11749
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11068
11750
$as_echo "no" >&6; }
11069
11751
    ;;
11070
11752
  esac
11082
11764
 
11083
11765
 
11084
11766
  # Report which library types will actually be built
11085
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11767
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11086
11768
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11087
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11088
11770
$as_echo "$can_build_shared" >&6; }
11089
11771
 
11090
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11772
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11091
11773
$as_echo_n "checking whether to build shared libraries... " >&6; }
11092
11774
  test "$can_build_shared" = "no" && enable_shared=no
11093
11775
 
11108
11790
    fi
11109
11791
    ;;
11110
11792
  esac
11111
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11793
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11112
11794
$as_echo "$enable_shared" >&6; }
11113
11795
 
11114
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11796
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11115
11797
$as_echo_n "checking whether to build static libraries... " >&6; }
11116
11798
  # Make sure either enable_shared or enable_static is yes.
11117
11799
  test "$enable_shared" = yes || enable_static=yes
11118
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11800
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11119
11801
$as_echo "$enable_static" >&6; }
11120
11802
 
11121
11803
 
11151
11833
 
11152
11834
 
11153
11835
 
11154
 
 
11155
 
if  test "x$GCC" = xyes ; then
11156
 
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
11157
 
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
11158
 
-Wbad-function-cast"
11159
 
    case `$CC -dumpversion` in
11160
 
    3.4.* | 4.*)
11161
 
        CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
11162
 
        ;;
11163
 
    esac
11164
 
else
11165
 
    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
11166
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
11167
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
11168
 
  $as_echo_n "(cached) " >&6
11169
 
else
11170
 
  cat >conftest.$ac_ext <<_ACEOF
11171
 
/* confdefs.h.  */
11172
 
_ACEOF
11173
 
cat confdefs.h >>conftest.$ac_ext
11174
 
cat >>conftest.$ac_ext <<_ACEOF
11175
 
/* end confdefs.h.  */
11176
 
$ac_includes_default
11177
 
int
11178
 
main ()
11179
 
{
11180
 
#ifndef __SUNPRO_C
11181
 
  (void) __SUNPRO_C;
11182
 
#endif
11183
 
 
11184
 
  ;
11185
 
  return 0;
11186
 
}
11187
 
_ACEOF
11188
 
rm -f conftest.$ac_objext
11189
 
if { (ac_try="$ac_compile"
11190
 
case "(($ac_try" in
11191
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11192
 
  *) ac_try_echo=$ac_try;;
11193
 
esac
11194
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11195
 
$as_echo "$ac_try_echo") >&5
11196
 
  (eval "$ac_compile") 2>conftest.er1
11197
 
  ac_status=$?
11198
 
  grep -v '^ *+' conftest.er1 >conftest.err
11199
 
  rm -f conftest.er1
11200
 
  cat conftest.err >&5
11201
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11202
 
  (exit $ac_status); } && {
11203
 
         test -z "$ac_c_werror_flag" ||
11204
 
         test ! -s conftest.err
11205
 
       } && test -s conftest.$ac_objext; then
11206
 
  ac_cv_have_decl___SUNPRO_C=yes
11207
 
else
11208
 
  $as_echo "$as_me: failed program was:" >&5
11209
 
sed 's/^/| /' conftest.$ac_ext >&5
11210
 
 
11211
 
        ac_cv_have_decl___SUNPRO_C=no
11212
 
fi
11213
 
 
11214
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11215
 
fi
11216
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
11217
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
11218
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
11219
 
  SUNCC="yes"
11220
 
else
11221
 
  SUNCC="no"
11222
 
fi
11223
 
 
11224
 
    if test "x$SUNCC" = "xyes"; then
11225
 
        CWARNFLAGS="-v"
11226
 
    fi
11227
 
fi
11228
 
 
11229
 
# Check whether --enable-silent-rules was given.
11230
 
if test "${enable_silent_rules+set}" = set; then
11231
 
  enableval=$enable_silent_rules;
11232
 
fi
11233
 
 
11234
 
case $enable_silent_rules in
11235
 
yes) AM_DEFAULT_VERBOSITY=0;;
11236
 
no)  AM_DEFAULT_VERBOSITY=1;;
11237
 
*)   AM_DEFAULT_VERBOSITY=0;;
11238
 
esac
11239
 
AM_BACKSLASH='\'
11240
 
 
11241
 
 
11242
 
 
11243
11836
# Check for dependencies
11244
11837
 
11245
 
 
11246
 
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11247
 
        if test -n "$ac_tool_prefix"; then
11248
 
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11249
 
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11250
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11251
 
$as_echo_n "checking for $ac_word... " >&6; }
11252
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11253
 
  $as_echo_n "(cached) " >&6
11254
 
else
11255
 
  case $PKG_CONFIG in
11256
 
  [\\/]* | ?:[\\/]*)
11257
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11258
 
  ;;
11259
 
  *)
11260
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11261
 
for as_dir in $PATH
11262
 
do
11263
 
  IFS=$as_save_IFS
11264
 
  test -z "$as_dir" && as_dir=.
11265
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11266
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11267
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11268
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11269
 
    break 2
11270
 
  fi
11271
 
done
11272
 
done
11273
 
IFS=$as_save_IFS
11274
 
 
11275
 
  ;;
11276
 
esac
11277
 
fi
11278
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11279
 
if test -n "$PKG_CONFIG"; then
11280
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
11281
 
$as_echo "$PKG_CONFIG" >&6; }
11282
 
else
11283
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11284
 
$as_echo "no" >&6; }
11285
 
fi
11286
 
 
11287
 
 
11288
 
fi
11289
 
if test -z "$ac_cv_path_PKG_CONFIG"; then
11290
 
  ac_pt_PKG_CONFIG=$PKG_CONFIG
11291
 
  # Extract the first word of "pkg-config", so it can be a program name with args.
11292
 
set dummy pkg-config; ac_word=$2
11293
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11294
 
$as_echo_n "checking for $ac_word... " >&6; }
11295
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
11296
 
  $as_echo_n "(cached) " >&6
11297
 
else
11298
 
  case $ac_pt_PKG_CONFIG in
11299
 
  [\\/]* | ?:[\\/]*)
11300
 
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11301
 
  ;;
11302
 
  *)
11303
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11304
 
for as_dir in $PATH
11305
 
do
11306
 
  IFS=$as_save_IFS
11307
 
  test -z "$as_dir" && as_dir=.
11308
 
  for ac_exec_ext in '' $ac_executable_extensions; do
11309
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11310
 
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11311
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11312
 
    break 2
11313
 
  fi
11314
 
done
11315
 
done
11316
 
IFS=$as_save_IFS
11317
 
 
11318
 
  ;;
11319
 
esac
11320
 
fi
11321
 
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11322
 
if test -n "$ac_pt_PKG_CONFIG"; then
11323
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
11324
 
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11325
 
else
11326
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
11327
 
$as_echo "no" >&6; }
11328
 
fi
11329
 
 
11330
 
  if test "x$ac_pt_PKG_CONFIG" = x; then
11331
 
    PKG_CONFIG=""
11332
 
  else
11333
 
    case $cross_compiling:$ac_tool_warned in
11334
 
yes:)
11335
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
11336
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11337
 
ac_tool_warned=yes ;;
11338
 
esac
11339
 
    PKG_CONFIG=$ac_pt_PKG_CONFIG
11340
 
  fi
11341
 
else
11342
 
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11343
 
fi
11344
 
 
11345
 
fi
11346
 
if test -n "$PKG_CONFIG"; then
11347
 
        _pkg_min_version=0.9.0
11348
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
11349
 
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11350
 
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11351
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
11352
 
$as_echo "yes" >&6; }
11353
 
        else
11354
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
11355
 
$as_echo "no" >&6; }
11356
 
                PKG_CONFIG=""
11357
 
        fi
11358
 
 
11359
 
fi
11360
 
 
11361
11838
pkg_failed=no
11362
 
{ $as_echo "$as_me:$LINENO: checking for XSCRNSAVER" >&5
 
11839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSCRNSAVER" >&5
11363
11840
$as_echo_n "checking for XSCRNSAVER... " >&6; }
11364
11841
 
11365
11842
if test -n "$XSCRNSAVER_CFLAGS"; then
11366
11843
    pkg_cv_XSCRNSAVER_CFLAGS="$XSCRNSAVER_CFLAGS"
11367
11844
 elif test -n "$PKG_CONFIG"; then
11368
11845
    if test -n "$PKG_CONFIG" && \
11369
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto scrnsaverproto >= 1.2\"") >&5
 
11846
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto scrnsaverproto >= 1.2\""; } >&5
11370
11847
  ($PKG_CONFIG --exists --print-errors "x11 xext xextproto scrnsaverproto >= 1.2") 2>&5
11371
11848
  ac_status=$?
11372
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373
 
  (exit $ac_status); }; then
 
11849
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11850
  test $ac_status = 0; }; then
11374
11851
  pkg_cv_XSCRNSAVER_CFLAGS=`$PKG_CONFIG --cflags "x11 xext xextproto scrnsaverproto >= 1.2" 2>/dev/null`
11375
11852
else
11376
11853
  pkg_failed=yes
11382
11859
    pkg_cv_XSCRNSAVER_LIBS="$XSCRNSAVER_LIBS"
11383
11860
 elif test -n "$PKG_CONFIG"; then
11384
11861
    if test -n "$PKG_CONFIG" && \
11385
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto scrnsaverproto >= 1.2\"") >&5
 
11862
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext xextproto scrnsaverproto >= 1.2\""; } >&5
11386
11863
  ($PKG_CONFIG --exists --print-errors "x11 xext xextproto scrnsaverproto >= 1.2") 2>&5
11387
11864
  ac_status=$?
11388
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389
 
  (exit $ac_status); }; then
 
11865
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11866
  test $ac_status = 0; }; then
11390
11867
  pkg_cv_XSCRNSAVER_LIBS=`$PKG_CONFIG --libs "x11 xext xextproto scrnsaverproto >= 1.2" 2>/dev/null`
11391
11868
else
11392
11869
  pkg_failed=yes
11412
11889
        # Put the nasty error message in config.log where it belongs
11413
11890
        echo "$XSCRNSAVER_PKG_ERRORS" >&5
11414
11891
 
11415
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (x11 xext xextproto scrnsaverproto >= 1.2) were not met:
11416
 
 
11417
 
$XSCRNSAVER_PKG_ERRORS
11418
 
 
11419
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11420
 
installed software in a non-standard prefix.
11421
 
 
11422
 
Alternatively, you may set the environment variables XSCRNSAVER_CFLAGS
11423
 
and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
11424
 
See the pkg-config man page for more details.
11425
 
" >&5
11426
 
$as_echo "$as_me: error: Package requirements (x11 xext xextproto scrnsaverproto >= 1.2) were not met:
11427
 
 
11428
 
$XSCRNSAVER_PKG_ERRORS
11429
 
 
11430
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11431
 
installed software in a non-standard prefix.
11432
 
 
11433
 
Alternatively, you may set the environment variables XSCRNSAVER_CFLAGS
11434
 
and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
11435
 
See the pkg-config man page for more details.
11436
 
" >&2;}
11437
 
   { (exit 1); exit 1; }; }
 
11892
        as_fn_error $? "Package requirements (x11 xext xextproto scrnsaverproto >= 1.2) were not met:
 
11893
 
 
11894
$XSCRNSAVER_PKG_ERRORS
 
11895
 
 
11896
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
11897
installed software in a non-standard prefix.
 
11898
 
 
11899
Alternatively, you may set the environment variables XSCRNSAVER_CFLAGS
 
11900
and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
 
11901
See the pkg-config man page for more details.
 
11902
" "$LINENO" 5
11438
11903
elif test $pkg_failed = untried; then
11439
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
11904
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11440
11905
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11441
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
11442
 
is in your PATH or set the PKG_CONFIG environment variable to the full
11443
 
path to pkg-config.
11444
 
 
11445
 
Alternatively, you may set the environment variables XSCRNSAVER_CFLAGS
11446
 
and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
11447
 
See the pkg-config man page for more details.
11448
 
 
11449
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11450
 
See \`config.log' for more details." >&5
11451
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
11452
 
is in your PATH or set the PKG_CONFIG environment variable to the full
11453
 
path to pkg-config.
11454
 
 
11455
 
Alternatively, you may set the environment variables XSCRNSAVER_CFLAGS
11456
 
and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
11457
 
See the pkg-config man page for more details.
11458
 
 
11459
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11460
 
See \`config.log' for more details." >&2;}
11461
 
   { (exit 1); exit 1; }; }; }
 
11906
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
11907
is in your PATH or set the PKG_CONFIG environment variable to the full
 
11908
path to pkg-config.
 
11909
 
 
11910
Alternatively, you may set the environment variables XSCRNSAVER_CFLAGS
 
11911
and XSCRNSAVER_LIBS to avoid the need to call pkg-config.
 
11912
See the pkg-config man page for more details.
 
11913
 
 
11914
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
11915
See \`config.log' for more details" "$LINENO" 5; }
11462
11916
else
11463
11917
        XSCRNSAVER_CFLAGS=$pkg_cv_XSCRNSAVER_CFLAGS
11464
11918
        XSCRNSAVER_LIBS=$pkg_cv_XSCRNSAVER_LIBS
11465
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11919
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11466
11920
$as_echo "yes" >&6; }
11467
11921
        :
11468
11922
fi
11469
 
XSCRNSAVER_CFLAGS="$CWARNFLAGS $XSCRNSAVER_CFLAGS"
11470
 
 
11471
 
 
11472
 
 
11473
 
 
11474
 
 
11475
 
# Allow checking code with lint, sparse, etc.
 
11923
 
 
11924
 
 
11925
 
 
11926
 
 
11927
 
11476
11928
 
11477
11929
# Check whether --with-lint was given.
11478
 
if test "${with_lint+set}" = set; then
 
11930
if test "${with_lint+set}" = set; then :
11479
11931
  withval=$with_lint; use_lint=$withval
11480
11932
else
11481
11933
  use_lint=no
11482
11934
fi
11483
11935
 
11484
 
if test "x$use_lint" = "xyes" ; then
11485
 
        LINT="lint"
11486
 
else
11487
 
        LINT="$use_lint"
11488
 
fi
11489
 
if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
11490
 
    case $LINT in
11491
 
        lint|*/lint)
11492
 
            case $host_os in
11493
 
                solaris*)
11494
 
                        LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
11495
 
                        ;;
11496
 
            esac
11497
 
            ;;
11498
 
    esac
11499
 
fi
11500
 
 
11501
 
 
11502
 
 
11503
 
 if test x$LINT != xno; then
 
11936
 
 
11937
# Obtain platform specific info like program name and options
 
11938
# The lint program on FreeBSD and NetBSD is different from the one on Solaris
 
11939
case $host_os in
 
11940
  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
 
11941
        lint_name=splint
 
11942
        lint_options="-badflag"
 
11943
        ;;
 
11944
  *freebsd* | *netbsd*)
 
11945
        lint_name=lint
 
11946
        lint_options="-u -b"
 
11947
        ;;
 
11948
  *solaris*)
 
11949
        lint_name=lint
 
11950
        lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
 
11951
        ;;
 
11952
esac
 
11953
 
 
11954
# Test for the presence of the program (either guessed by the code or spelled out by the user)
 
11955
if test "x$use_lint" = x"yes" ; then
 
11956
   # Extract the first word of "$lint_name", so it can be a program name with args.
 
11957
set dummy $lint_name; ac_word=$2
 
11958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11959
$as_echo_n "checking for $ac_word... " >&6; }
 
11960
if ${ac_cv_path_LINT+:} false; then :
 
11961
  $as_echo_n "(cached) " >&6
 
11962
else
 
11963
  case $LINT in
 
11964
  [\\/]* | ?:[\\/]*)
 
11965
  ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
 
11966
  ;;
 
11967
  *)
 
11968
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
11969
for as_dir in $PATH
 
11970
do
 
11971
  IFS=$as_save_IFS
 
11972
  test -z "$as_dir" && as_dir=.
 
11973
    for ac_exec_ext in '' $ac_executable_extensions; do
 
11974
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
11975
    ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
 
11976
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
11977
    break 2
 
11978
  fi
 
11979
done
 
11980
  done
 
11981
IFS=$as_save_IFS
 
11982
 
 
11983
  ;;
 
11984
esac
 
11985
fi
 
11986
LINT=$ac_cv_path_LINT
 
11987
if test -n "$LINT"; then
 
11988
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
 
11989
$as_echo "$LINT" >&6; }
 
11990
else
 
11991
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
11992
$as_echo "no" >&6; }
 
11993
fi
 
11994
 
 
11995
 
 
11996
   if test "x$LINT" = "x"; then
 
11997
        as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
 
11998
   fi
 
11999
elif test "x$use_lint" = x"no" ; then
 
12000
   if test "x$LINT" != "x"; then
 
12001
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
 
12002
$as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
 
12003
   fi
 
12004
else
 
12005
   as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
 
12006
fi
 
12007
 
 
12008
# User supplied flags override default flags
 
12009
if test "x$LINT_FLAGS" != "x"; then
 
12010
   lint_options=$LINT_FLAGS
 
12011
fi
 
12012
 
 
12013
LINT_FLAGS=$lint_options
 
12014
 
 
12015
 if test "x$LINT" != x; then
11504
12016
  LINT_TRUE=
11505
12017
  LINT_FALSE='#'
11506
12018
else
11512
12024
 
11513
12025
 
11514
12026
 
11515
 
# Build lint "library" for more indepth checks of programs calling this library
11516
12027
# Check whether --enable-lint-library was given.
11517
 
if test "${enable_lint_library+set}" = set; then
 
12028
if test "${enable_lint_library+set}" = set; then :
11518
12029
  enableval=$enable_lint_library; make_lint_lib=$enableval
11519
12030
else
11520
12031
  make_lint_lib=no
11521
12032
fi
11522
12033
 
11523
 
if test "x$make_lint_lib" != "xno" ; then
11524
 
        if test "x$LINT" = "xno" ; then
11525
 
                { { $as_echo "$as_me:$LINENO: error: Cannot make lint library without --with-lint" >&5
11526
 
$as_echo "$as_me: error: Cannot make lint library without --with-lint" >&2;}
11527
 
   { (exit 1); exit 1; }; }
11528
 
        fi
11529
 
        if test "x$make_lint_lib" = "xyes" ; then
11530
 
                LINTLIB=llib-lXss.ln
11531
 
        else
11532
 
                LINTLIB=$make_lint_lib
11533
 
        fi
 
12034
 
 
12035
if test "x$make_lint_lib" = x"yes" ; then
 
12036
   LINTLIB=llib-lXss.ln
 
12037
   if test "x$LINT" = "x"; then
 
12038
        as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
 
12039
   fi
 
12040
elif test "x$make_lint_lib" != x"no" ; then
 
12041
   as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
11534
12042
fi
11535
12043
 
 
12044
 
11536
12045
 if test x$make_lint_lib != xno; then
11537
12046
  MAKE_LINT_LIB_TRUE=
11538
12047
  MAKE_LINT_LIB_FALSE='#'
11546
12055
 
11547
12056
 
11548
12057
# Check whether --enable-malloc0returnsnull was given.
11549
 
if test "${enable_malloc0returnsnull+set}" = set; then
 
12058
if test "${enable_malloc0returnsnull+set}" = set; then :
11550
12059
  enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
11551
12060
else
11552
12061
  MALLOC_ZERO_RETURNS_NULL=auto
11553
12062
fi
11554
12063
 
11555
12064
 
11556
 
{ $as_echo "$as_me:$LINENO: checking whether malloc(0) returns NULL" >&5
 
12065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
11557
12066
$as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
11558
12067
if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
11559
 
        if test "$cross_compiling" = yes; then
11560
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11561
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11562
 
{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11563
 
See \`config.log' for more details." >&5
11564
 
$as_echo "$as_me: error: cannot run test program while cross compiling
11565
 
See \`config.log' for more details." >&2;}
11566
 
   { (exit 1); exit 1; }; }; }
 
12068
        if test "$cross_compiling" = yes; then :
 
12069
  MALLOC_ZERO_RETURNS_NULL=yes
11567
12070
else
11568
 
  cat >conftest.$ac_ext <<_ACEOF
 
12071
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12072
/* end confdefs.h.  */
11569
12073
 
11570
12074
char *malloc();
11571
12075
char *realloc();
11579
12083
    exit(m0 == 0 || r0 == 0 || c0 == 0 ? 0 : 1);
11580
12084
}
11581
12085
_ACEOF
11582
 
rm -f conftest$ac_exeext
11583
 
if { (ac_try="$ac_link"
11584
 
case "(($ac_try" in
11585
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11586
 
  *) ac_try_echo=$ac_try;;
11587
 
esac
11588
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11589
 
$as_echo "$ac_try_echo") >&5
11590
 
  (eval "$ac_link") 2>&5
11591
 
  ac_status=$?
11592
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11594
 
  { (case "(($ac_try" in
11595
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11596
 
  *) ac_try_echo=$ac_try;;
11597
 
esac
11598
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11599
 
$as_echo "$ac_try_echo") >&5
11600
 
  (eval "$ac_try") 2>&5
11601
 
  ac_status=$?
11602
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603
 
  (exit $ac_status); }; }; then
 
12086
if ac_fn_c_try_run "$LINENO"; then :
11604
12087
  MALLOC_ZERO_RETURNS_NULL=yes
11605
12088
else
11606
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
11607
 
$as_echo "$as_me: failed program was:" >&5
11608
 
sed 's/^/| /' conftest.$ac_ext >&5
11609
 
 
11610
 
( exit $ac_status )
11611
 
MALLOC_ZERO_RETURNS_NULL=no
11612
 
fi
11613
 
rm -rf conftest.dSYM
11614
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11615
 
fi
11616
 
 
11617
 
 
11618
 
fi
11619
 
{ $as_echo "$as_me:$LINENO: result: $MALLOC_ZERO_RETURNS_NULL" >&5
 
12089
  MALLOC_ZERO_RETURNS_NULL=no
 
12090
fi
 
12091
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12092
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12093
fi
 
12094
 
 
12095
fi
 
12096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
11620
12097
$as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
11621
12098
 
11622
12099
if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
11634
12111
 
11635
12112
 
11636
12113
 
11637
 
 
11638
 
 
11639
 
if test x$APP_MAN_SUFFIX = x    ; then
11640
 
    APP_MAN_SUFFIX=1
11641
 
fi
11642
 
if test x$APP_MAN_DIR = x    ; then
11643
 
    APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
11644
 
fi
11645
 
 
11646
 
if test x$LIB_MAN_SUFFIX = x    ; then
11647
 
    LIB_MAN_SUFFIX=3
11648
 
fi
11649
 
if test x$LIB_MAN_DIR = x    ; then
11650
 
    LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
11651
 
fi
11652
 
 
11653
 
if test x$FILE_MAN_SUFFIX = x    ; then
11654
 
    case $host_os in
11655
 
        solaris*)       FILE_MAN_SUFFIX=4  ;;
11656
 
        *)              FILE_MAN_SUFFIX=5  ;;
11657
 
    esac
11658
 
fi
11659
 
if test x$FILE_MAN_DIR = x    ; then
11660
 
    FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
11661
 
fi
11662
 
 
11663
 
if test x$MISC_MAN_SUFFIX = x    ; then
11664
 
    case $host_os in
11665
 
        solaris*)       MISC_MAN_SUFFIX=5  ;;
11666
 
        *)              MISC_MAN_SUFFIX=7  ;;
11667
 
    esac
11668
 
fi
11669
 
if test x$MISC_MAN_DIR = x    ; then
11670
 
    MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
11671
 
fi
11672
 
 
11673
 
if test x$DRIVER_MAN_SUFFIX = x    ; then
11674
 
    case $host_os in
11675
 
        solaris*)       DRIVER_MAN_SUFFIX=7  ;;
11676
 
        *)              DRIVER_MAN_SUFFIX=4  ;;
11677
 
    esac
11678
 
fi
11679
 
if test x$DRIVER_MAN_DIR = x    ; then
11680
 
    DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
11681
 
fi
11682
 
 
11683
 
if test x$ADMIN_MAN_SUFFIX = x    ; then
11684
 
    case $host_os in
11685
 
        solaris*)       ADMIN_MAN_SUFFIX=1m ;;
11686
 
        *)              ADMIN_MAN_SUFFIX=8  ;;
11687
 
    esac
11688
 
fi
11689
 
if test x$ADMIN_MAN_DIR = x    ; then
11690
 
    ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
11691
 
fi
11692
 
 
11693
 
 
11694
 
 
11695
 
 
11696
 
 
11697
 
 
11698
 
 
11699
 
 
11700
 
 
11701
 
 
11702
 
 
11703
 
 
11704
 
 
11705
 
 
11706
 
 
11707
 
 
11708
 
 
11709
 
# Check whether --with-release-version was given.
11710
 
if test "${with_release_version+set}" = set; then
11711
 
  withval=$with_release_version; RELEASE_VERSION="$withval"
11712
 
else
11713
 
  RELEASE_VERSION=""
11714
 
fi
11715
 
 
11716
 
        if test "x$RELEASE_VERSION" != "x"; then
11717
 
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
11718
 
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
11719
 
                { $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
11720
 
$as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
11721
 
        fi
11722
 
 
11723
 
cat >>confdefs.h <<_ACEOF
11724
 
#define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
11725
 
_ACEOF
11726
 
 
11727
 
        PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
11728
 
        if test "x$PVM" = "x"; then
11729
 
                PVM="0"
11730
 
        fi
11731
 
 
11732
 
cat >>confdefs.h <<_ACEOF
11733
 
#define PACKAGE_VERSION_MINOR $PVM
11734
 
_ACEOF
11735
 
 
11736
 
        PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
11737
 
        if test "x$PVP" = "x"; then
11738
 
                PVP="0"
11739
 
        fi
11740
 
 
11741
 
cat >>confdefs.h <<_ACEOF
11742
 
#define PACKAGE_VERSION_PATCHLEVEL $PVP
11743
 
_ACEOF
11744
 
 
11745
 
 
11746
 
 
11747
 
CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
11748
 
mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
11749
 
echo 'git directory not found: installing possibly empty changelog.' >&2)"
11750
 
 
11751
 
distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
11752
 
 
11753
 
 
11754
 
 
11755
12114
ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xscrnsaver.pc"
11756
12115
 
11757
12116
cat >confcache <<\_ACEOF
11781
12140
    case $ac_val in #(
11782
12141
    *${as_nl}*)
11783
12142
      case $ac_var in #(
11784
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
12143
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11785
12144
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11786
12145
      esac
11787
12146
      case $ac_var in #(
11788
12147
      _ | IFS | as_nl) ;; #(
11789
12148
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11790
 
      *) $as_unset $ac_var ;;
 
12149
      *) { eval $ac_var=; unset $ac_var;} ;;
11791
12150
      esac ;;
11792
12151
    esac
11793
12152
  done
11795
12154
  (set) 2>&1 |
11796
12155
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
11797
12156
    *${as_nl}ac_space=\ *)
11798
 
      # `set' does not quote correctly, so add quotes (double-quote
11799
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
12157
      # `set' does not quote correctly, so add quotes: double-quote
 
12158
      # substitution turns \\\\ into \\, and sed turns \\ into \.
11800
12159
      sed -n \
11801
12160
        "s/'/'\\\\''/g;
11802
12161
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11818
12177
     :end' >>confcache
11819
12178
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11820
12179
  if test -w "$cache_file"; then
11821
 
    test "x$cache_file" != "x/dev/null" &&
11822
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
12180
    if test "x$cache_file" != "x/dev/null"; then
 
12181
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11823
12182
$as_echo "$as_me: updating cache $cache_file" >&6;}
11824
 
    cat confcache >$cache_file
 
12183
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
12184
        cat confcache >"$cache_file"
 
12185
      else
 
12186
        case $cache_file in #(
 
12187
        */* | ?:*)
 
12188
          mv -f confcache "$cache_file"$$ &&
 
12189
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
12190
        *)
 
12191
          mv -f confcache "$cache_file" ;;
 
12192
        esac
 
12193
      fi
 
12194
    fi
11825
12195
  else
11826
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
12196
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11827
12197
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11828
12198
  fi
11829
12199
fi
11837
12207
 
11838
12208
ac_libobjs=
11839
12209
ac_ltlibobjs=
 
12210
U=
11840
12211
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11841
12212
  # 1. Remove the extension, and $U if already installed.
11842
12213
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11843
12214
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11844
12215
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
11845
12216
  #    will be set to the directory where LIBOBJS objects are built.
11846
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11847
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
12217
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
12218
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
11848
12219
done
11849
12220
LIBOBJS=$ac_libobjs
11850
12221
 
11860
12231
fi
11861
12232
 
11862
12233
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11863
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11864
 
Usually this means the macro was only invoked conditionally." >&5
11865
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11866
 
Usually this means the macro was only invoked conditionally." >&2;}
11867
 
   { (exit 1); exit 1; }; }
 
12234
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
12235
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11868
12236
fi
11869
12237
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11870
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11871
 
Usually this means the macro was only invoked conditionally." >&5
11872
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
11873
 
Usually this means the macro was only invoked conditionally." >&2;}
11874
 
   { (exit 1); exit 1; }; }
11875
 
fi
11876
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11877
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11878
 
Usually this means the macro was only invoked conditionally." >&5
11879
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11880
 
Usually this means the macro was only invoked conditionally." >&2;}
11881
 
   { (exit 1); exit 1; }; }
 
12238
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
12239
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12240
fi
 
12241
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
12242
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
12243
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
12244
fi
 
12245
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
12246
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
12247
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11882
12248
fi
11883
12249
if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
11884
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"LINT\" was never defined.
11885
 
Usually this means the macro was only invoked conditionally." >&5
11886
 
$as_echo "$as_me: error: conditional \"LINT\" was never defined.
11887
 
Usually this means the macro was only invoked conditionally." >&2;}
11888
 
   { (exit 1); exit 1; }; }
 
12250
  as_fn_error $? "conditional \"LINT\" was never defined.
 
12251
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11889
12252
fi
11890
12253
if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
11891
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAKE_LINT_LIB\" was never defined.
11892
 
Usually this means the macro was only invoked conditionally." >&5
11893
 
$as_echo "$as_me: error: conditional \"MAKE_LINT_LIB\" was never defined.
11894
 
Usually this means the macro was only invoked conditionally." >&2;}
11895
 
   { (exit 1); exit 1; }; }
 
12254
  as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
 
12255
Usually this means the macro was only invoked conditionally." "$LINENO" 5
11896
12256
fi
11897
12257
 
11898
 
: ${CONFIG_STATUS=./config.status}
 
12258
: "${CONFIG_STATUS=./config.status}"
11899
12259
ac_write_fail=0
11900
12260
ac_clean_files_save=$ac_clean_files
11901
12261
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11902
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
12262
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11903
12263
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11904
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12264
as_write_fail=0
 
12265
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11905
12266
#! $SHELL
11906
12267
# Generated by $as_me.
11907
12268
# Run this file to recreate the current configuration.
11911
12272
debug=false
11912
12273
ac_cs_recheck=false
11913
12274
ac_cs_silent=false
 
12275
 
11914
12276
SHELL=\${CONFIG_SHELL-$SHELL}
11915
 
_ACEOF
11916
 
 
11917
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11918
 
## --------------------- ##
11919
 
## M4sh Initialization.  ##
11920
 
## --------------------- ##
 
12277
export SHELL
 
12278
_ASEOF
 
12279
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
12280
## -------------------- ##
 
12281
## M4sh Initialization. ##
 
12282
## -------------------- ##
11921
12283
 
11922
12284
# Be more Bourne compatible
11923
12285
DUALCASE=1; export DUALCASE # for MKS sh
11924
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
12286
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11925
12287
  emulate sh
11926
12288
  NULLCMD=:
11927
12289
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11929
12291
  alias -g '${1+"$@"}'='"$@"'
11930
12292
  setopt NO_GLOB_SUBST
11931
12293
else
11932
 
  case `(set -o) 2>/dev/null` in
11933
 
  *posix*) set -o posix ;;
 
12294
  case `(set -o) 2>/dev/null` in #(
 
12295
  *posix*) :
 
12296
    set -o posix ;; #(
 
12297
  *) :
 
12298
     ;;
11934
12299
esac
11935
 
 
11936
12300
fi
11937
12301
 
11938
12302
 
11939
 
 
11940
 
 
11941
 
# PATH needs CR
11942
 
# Avoid depending upon Character Ranges.
11943
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11944
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11945
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11946
 
as_cr_digits='0123456789'
11947
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
11948
 
 
11949
12303
as_nl='
11950
12304
'
11951
12305
export as_nl
11953
12307
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11954
12308
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11955
12309
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11956
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12310
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
12311
# but without wasting forks for bash or zsh.
 
12312
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
12313
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12314
  as_echo='print -r --'
 
12315
  as_echo_n='print -rn --'
 
12316
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11957
12317
  as_echo='printf %s\n'
11958
12318
  as_echo_n='printf %s'
11959
12319
else
11964
12324
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11965
12325
    as_echo_n_body='eval
11966
12326
      arg=$1;
11967
 
      case $arg in
 
12327
      case $arg in #(
11968
12328
      *"$as_nl"*)
11969
12329
        expr "X$arg" : "X\\(.*\\)$as_nl";
11970
12330
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11987
12347
  }
11988
12348
fi
11989
12349
 
11990
 
# Support unset when possible.
11991
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11992
 
  as_unset=unset
11993
 
else
11994
 
  as_unset=false
11995
 
fi
11996
 
 
11997
12350
 
11998
12351
# IFS
11999
12352
# We need space, tab and new line, in precisely that order.  Quoting is
12003
12356
IFS=" ""        $as_nl"
12004
12357
 
12005
12358
# Find who we are.  Look in the path if we contain no directory separator.
12006
 
case $0 in
 
12359
as_myself=
 
12360
case $0 in #((
12007
12361
  *[\\/]* ) as_myself=$0 ;;
12008
12362
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12009
12363
for as_dir in $PATH
12010
12364
do
12011
12365
  IFS=$as_save_IFS
12012
12366
  test -z "$as_dir" && as_dir=.
12013
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12014
 
done
 
12367
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
12368
  done
12015
12369
IFS=$as_save_IFS
12016
12370
 
12017
12371
     ;;
12023
12377
fi
12024
12378
if test ! -f "$as_myself"; then
12025
12379
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12026
 
  { (exit 1); exit 1; }
 
12380
  exit 1
12027
12381
fi
12028
12382
 
12029
 
# Work around bugs in pre-3.0 UWIN ksh.
12030
 
for as_var in ENV MAIL MAILPATH
12031
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
12383
# Unset variables that we do not need and which cause bugs (e.g. in
 
12384
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
12385
# suppresses any "Segmentation fault" message there.  '((' could
 
12386
# trigger a bug in pdksh 5.2.14.
 
12387
for as_var in BASH_ENV ENV MAIL MAILPATH
 
12388
do eval test x\${$as_var+set} = xset \
 
12389
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12032
12390
done
12033
12391
PS1='$ '
12034
12392
PS2='> '
12040
12398
LANGUAGE=C
12041
12399
export LANGUAGE
12042
12400
 
12043
 
# Required to use basename.
 
12401
# CDPATH.
 
12402
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
12403
 
 
12404
 
 
12405
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
12406
# ----------------------------------------
 
12407
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
12408
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
12409
# script with STATUS, using 1 if that was 0.
 
12410
as_fn_error ()
 
12411
{
 
12412
  as_status=$1; test $as_status -eq 0 && as_status=1
 
12413
  if test "$4"; then
 
12414
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
12415
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
12416
  fi
 
12417
  $as_echo "$as_me: error: $2" >&2
 
12418
  as_fn_exit $as_status
 
12419
} # as_fn_error
 
12420
 
 
12421
 
 
12422
# as_fn_set_status STATUS
 
12423
# -----------------------
 
12424
# Set $? to STATUS, without forking.
 
12425
as_fn_set_status ()
 
12426
{
 
12427
  return $1
 
12428
} # as_fn_set_status
 
12429
 
 
12430
# as_fn_exit STATUS
 
12431
# -----------------
 
12432
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
12433
as_fn_exit ()
 
12434
{
 
12435
  set +e
 
12436
  as_fn_set_status $1
 
12437
  exit $1
 
12438
} # as_fn_exit
 
12439
 
 
12440
# as_fn_unset VAR
 
12441
# ---------------
 
12442
# Portably unset VAR.
 
12443
as_fn_unset ()
 
12444
{
 
12445
  { eval $1=; unset $1;}
 
12446
}
 
12447
as_unset=as_fn_unset
 
12448
# as_fn_append VAR VALUE
 
12449
# ----------------------
 
12450
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
12451
# advantage of any shell optimizations that allow amortized linear growth over
 
12452
# repeated appends, instead of the typical quadratic growth present in naive
 
12453
# implementations.
 
12454
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
12455
  eval 'as_fn_append ()
 
12456
  {
 
12457
    eval $1+=\$2
 
12458
  }'
 
12459
else
 
12460
  as_fn_append ()
 
12461
  {
 
12462
    eval $1=\$$1\$2
 
12463
  }
 
12464
fi # as_fn_append
 
12465
 
 
12466
# as_fn_arith ARG...
 
12467
# ------------------
 
12468
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
12469
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
12470
# must be portable across $(()) and expr.
 
12471
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
12472
  eval 'as_fn_arith ()
 
12473
  {
 
12474
    as_val=$(( $* ))
 
12475
  }'
 
12476
else
 
12477
  as_fn_arith ()
 
12478
  {
 
12479
    as_val=`expr "$@" || test $? -eq 1`
 
12480
  }
 
12481
fi # as_fn_arith
 
12482
 
 
12483
 
12044
12484
if expr a : '\(a\)' >/dev/null 2>&1 &&
12045
12485
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12046
12486
  as_expr=expr
12054
12494
  as_basename=false
12055
12495
fi
12056
12496
 
 
12497
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
12498
  as_dirname=dirname
 
12499
else
 
12500
  as_dirname=false
 
12501
fi
12057
12502
 
12058
 
# Name of the executable.
12059
12503
as_me=`$as_basename -- "$0" ||
12060
12504
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12061
12505
         X"$0" : 'X\(//\)$' \| \
12075
12519
          }
12076
12520
          s/.*/./; q'`
12077
12521
 
12078
 
# CDPATH.
12079
 
$as_unset CDPATH
12080
 
 
12081
 
 
12082
 
 
12083
 
  as_lineno_1=$LINENO
12084
 
  as_lineno_2=$LINENO
12085
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
12086
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12087
 
 
12088
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12089
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
12090
 
  # line-number line after each line using $LINENO; the second 'sed'
12091
 
  # does the real work.  The second script uses 'N' to pair each
12092
 
  # line-number line with the line containing $LINENO, and appends
12093
 
  # trailing '-' during substitution so that $LINENO is not a special
12094
 
  # case at line end.
12095
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12096
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
12097
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
12098
 
  sed -n '
12099
 
    p
12100
 
    /[$]LINENO/=
12101
 
  ' <$as_myself |
12102
 
    sed '
12103
 
      s/[$]LINENO.*/&-/
12104
 
      t lineno
12105
 
      b
12106
 
      :lineno
12107
 
      N
12108
 
      :loop
12109
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12110
 
      t loop
12111
 
      s/-\n.*//
12112
 
    ' >$as_me.lineno &&
12113
 
  chmod +x "$as_me.lineno" ||
12114
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12115
 
   { (exit 1); exit 1; }; }
12116
 
 
12117
 
  # Don't try to exec as it changes $[0], causing all sort of problems
12118
 
  # (the dirname of $[0] is not the place where we might find the
12119
 
  # original and so on.  Autoconf is especially sensitive to this).
12120
 
  . "./$as_me.lineno"
12121
 
  # Exit status is that of the last command.
12122
 
  exit
12123
 
}
12124
 
 
12125
 
 
12126
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12127
 
  as_dirname=dirname
12128
 
else
12129
 
  as_dirname=false
12130
 
fi
 
12522
# Avoid depending upon Character Ranges.
 
12523
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
12524
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
12525
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
12526
as_cr_digits='0123456789'
 
12527
as_cr_alnum=$as_cr_Letters$as_cr_digits
12131
12528
 
12132
12529
ECHO_C= ECHO_N= ECHO_T=
12133
 
case `echo -n x` in
 
12530
case `echo -n x` in #(((((
12134
12531
-n*)
12135
 
  case `echo 'x\c'` in
 
12532
  case `echo 'xy\c'` in
12136
12533
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12137
 
  *)   ECHO_C='\c';;
 
12534
  xy)  ECHO_C='\c';;
 
12535
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
12536
       ECHO_T=' ';;
12138
12537
  esac;;
12139
12538
*)
12140
12539
  ECHO_N='-n';;
12141
12540
esac
12142
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
12143
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12144
 
  as_expr=expr
12145
 
else
12146
 
  as_expr=false
12147
 
fi
12148
12541
 
12149
12542
rm -f conf$$ conf$$.exe conf$$.file
12150
12543
if test -d conf$$.dir; then
12173
12566
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12174
12567
rmdir conf$$.dir 2>/dev/null
12175
12568
 
 
12569
 
 
12570
# as_fn_mkdir_p
 
12571
# -------------
 
12572
# Create "$as_dir" as a directory, including parents if necessary.
 
12573
as_fn_mkdir_p ()
 
12574
{
 
12575
 
 
12576
  case $as_dir in #(
 
12577
  -*) as_dir=./$as_dir;;
 
12578
  esac
 
12579
  test -d "$as_dir" || eval $as_mkdir_p || {
 
12580
    as_dirs=
 
12581
    while :; do
 
12582
      case $as_dir in #(
 
12583
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
12584
      *) as_qdir=$as_dir;;
 
12585
      esac
 
12586
      as_dirs="'$as_qdir' $as_dirs"
 
12587
      as_dir=`$as_dirname -- "$as_dir" ||
 
12588
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
12589
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
12590
         X"$as_dir" : 'X\(//\)$' \| \
 
12591
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
12592
$as_echo X"$as_dir" |
 
12593
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
12594
            s//\1/
 
12595
            q
 
12596
          }
 
12597
          /^X\(\/\/\)[^/].*/{
 
12598
            s//\1/
 
12599
            q
 
12600
          }
 
12601
          /^X\(\/\/\)$/{
 
12602
            s//\1/
 
12603
            q
 
12604
          }
 
12605
          /^X\(\/\).*/{
 
12606
            s//\1/
 
12607
            q
 
12608
          }
 
12609
          s/.*/./; q'`
 
12610
      test -d "$as_dir" && break
 
12611
    done
 
12612
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
12613
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
12614
 
 
12615
 
 
12616
} # as_fn_mkdir_p
12176
12617
if mkdir -p . 2>/dev/null; then
12177
 
  as_mkdir_p=:
 
12618
  as_mkdir_p='mkdir -p "$as_dir"'
12178
12619
else
12179
12620
  test -d ./-p && rmdir ./-p
12180
12621
  as_mkdir_p=false
12193
12634
      if test -d "$1"; then
12194
12635
        test -d "$1/.";
12195
12636
      else
12196
 
        case $1 in
 
12637
        case $1 in #(
12197
12638
        -*)set "./$1";;
12198
12639
        esac;
12199
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
12640
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12200
12641
        ???[sx]*):;;*)false;;esac;fi
12201
12642
    '\'' sh
12202
12643
  '
12211
12652
 
12212
12653
 
12213
12654
exec 6>&1
 
12655
## ----------------------------------- ##
 
12656
## Main body of $CONFIG_STATUS script. ##
 
12657
## ----------------------------------- ##
 
12658
_ASEOF
 
12659
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12214
12660
 
12215
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
12661
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
12662
# Save the log message, to keep $0 and so on meaningful, and to
12216
12663
# report actual input values of CONFIG_FILES etc. instead of their
12217
12664
# values after options handling.
12218
12665
ac_log="
12219
 
This file was extended by libXScrnSaver $as_me 1.2.0, which was
12220
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
12666
This file was extended by libXScrnSaver $as_me 1.2.1, which was
 
12667
generated by GNU Autoconf 2.68.  Invocation command line was
12221
12668
 
12222
12669
  CONFIG_FILES    = $CONFIG_FILES
12223
12670
  CONFIG_HEADERS  = $CONFIG_HEADERS
12249
12696
 
12250
12697
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12251
12698
ac_cs_usage="\
12252
 
\`$as_me' instantiates files from templates according to the
12253
 
current configuration.
 
12699
\`$as_me' instantiates files and other configuration actions
 
12700
from templates according to the current configuration.  Unless the files
 
12701
and actions are specified as TAGs, all are instantiated by default.
12254
12702
 
12255
 
Usage: $0 [OPTION]... [FILE]...
 
12703
Usage: $0 [OPTION]... [TAG]...
12256
12704
 
12257
12705
  -h, --help       print this help, then exit
12258
12706
  -V, --version    print version number and configuration settings, then exit
 
12707
      --config     print configuration, then exit
12259
12708
  -q, --quiet, --silent
12260
12709
                   do not print progress messages
12261
12710
  -d, --debug      don't remove temporary files
12274
12723
Configuration commands:
12275
12724
$config_commands
12276
12725
 
12277
 
Report bugs to <bug-autoconf@gnu.org>."
 
12726
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
12278
12727
 
12279
12728
_ACEOF
12280
12729
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
12730
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12281
12731
ac_cs_version="\\
12282
 
libXScrnSaver config.status 1.2.0
12283
 
configured by $0, generated by GNU Autoconf 2.63,
12284
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
12732
libXScrnSaver config.status 1.2.1
 
12733
configured by $0, generated by GNU Autoconf 2.68,
 
12734
  with options \\"\$ac_cs_config\\"
12285
12735
 
12286
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
12736
Copyright (C) 2010 Free Software Foundation, Inc.
12287
12737
This config.status script is free software; the Free Software Foundation
12288
12738
gives unlimited permission to copy, distribute and modify it."
12289
12739
 
12301
12751
while test $# != 0
12302
12752
do
12303
12753
  case $1 in
12304
 
  --*=*)
 
12754
  --*=?*)
12305
12755
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12306
12756
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12307
12757
    ac_shift=:
12308
12758
    ;;
 
12759
  --*=)
 
12760
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
12761
    ac_optarg=
 
12762
    ac_shift=:
 
12763
    ;;
12309
12764
  *)
12310
12765
    ac_option=$1
12311
12766
    ac_optarg=$2
12319
12774
    ac_cs_recheck=: ;;
12320
12775
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12321
12776
    $as_echo "$ac_cs_version"; exit ;;
 
12777
  --config | --confi | --conf | --con | --co | --c )
 
12778
    $as_echo "$ac_cs_config"; exit ;;
12322
12779
  --debug | --debu | --deb | --de | --d | -d )
12323
12780
    debug=: ;;
12324
12781
  --file | --fil | --fi | --f )
12325
12782
    $ac_shift
12326
12783
    case $ac_optarg in
12327
12784
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
12785
    '') as_fn_error $? "missing file argument" ;;
12328
12786
    esac
12329
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
12787
    as_fn_append CONFIG_FILES " '$ac_optarg'"
12330
12788
    ac_need_defaults=false;;
12331
12789
  --header | --heade | --head | --hea )
12332
12790
    $ac_shift
12333
12791
    case $ac_optarg in
12334
12792
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12335
12793
    esac
12336
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
12794
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12337
12795
    ac_need_defaults=false;;
12338
12796
  --he | --h)
12339
12797
    # Conflict between --help and --header
12340
 
    { $as_echo "$as_me: error: ambiguous option: $1
12341
 
Try \`$0 --help' for more information." >&2
12342
 
   { (exit 1); exit 1; }; };;
 
12798
    as_fn_error $? "ambiguous option: \`$1'
 
12799
Try \`$0 --help' for more information.";;
12343
12800
  --help | --hel | -h )
12344
12801
    $as_echo "$ac_cs_usage"; exit ;;
12345
12802
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12347
12804
    ac_cs_silent=: ;;
12348
12805
 
12349
12806
  # This is an error.
12350
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
12351
 
Try \`$0 --help' for more information." >&2
12352
 
   { (exit 1); exit 1; }; } ;;
 
12807
  -*) as_fn_error $? "unrecognized option: \`$1'
 
12808
Try \`$0 --help' for more information." ;;
12353
12809
 
12354
 
  *) ac_config_targets="$ac_config_targets $1"
 
12810
  *) as_fn_append ac_config_targets " $1"
12355
12811
     ac_need_defaults=false ;;
12356
12812
 
12357
12813
  esac
12402
12858
sed_quote_subst='$sed_quote_subst'
12403
12859
double_quote_subst='$double_quote_subst'
12404
12860
delay_variable_subst='$delay_variable_subst'
12405
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12406
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12407
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12408
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12409
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12410
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12411
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12412
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12413
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12414
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12415
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12416
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12417
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12418
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12419
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12420
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12421
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12422
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12423
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12424
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12425
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12426
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12427
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12428
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12429
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12430
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12431
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12432
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12433
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12434
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12435
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12436
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12437
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12438
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12439
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12440
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12441
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12442
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12443
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12444
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12445
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12446
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12447
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12448
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12449
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
12450
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12451
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12452
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12453
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12454
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12455
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12456
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12457
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12458
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12459
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12460
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12461
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12462
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12463
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12464
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12465
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12466
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12467
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12468
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12469
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12470
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12471
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12472
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12473
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12474
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12475
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12476
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12477
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12478
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12479
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12480
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12481
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12482
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12483
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12484
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12485
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12486
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12487
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12488
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12489
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12490
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12491
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12492
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12493
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12494
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12495
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12496
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12497
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12498
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12499
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12500
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12501
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12502
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12503
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12504
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12505
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12506
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12507
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12508
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12509
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12510
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12511
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12512
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12513
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12514
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12515
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12516
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12517
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12518
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12519
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12520
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12521
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12522
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
12861
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
12862
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
12863
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
12864
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
12865
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
12866
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
12867
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
12868
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
12869
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
12870
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
12871
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
12872
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
12873
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
12874
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
12875
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
12876
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
12877
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
12878
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
12879
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
12880
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
12881
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
12882
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
12883
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
12884
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
12885
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
12886
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
12887
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
12888
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
12889
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
12890
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
12891
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
12892
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
12893
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
12894
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
12895
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
12896
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
12897
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
12898
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
12899
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
12900
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
12901
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
12902
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
12903
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
12904
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
12905
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
12906
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
12907
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
12908
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
12909
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
12910
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
12911
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
12912
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
12913
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
12914
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
12915
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
12916
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
12917
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
12918
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
12919
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
12920
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
12921
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
12922
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
12923
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
12924
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
12925
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
12926
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
12927
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
12928
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
12929
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
12930
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
12931
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
12932
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
12933
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
12934
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
12935
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
12936
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
12937
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
12938
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
12939
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
12940
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
12941
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
12942
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
12943
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
12944
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
12945
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
12946
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
12947
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
12948
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
12949
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
12950
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
 
12951
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
12952
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
12953
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
12954
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
12955
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
12956
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
12957
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
12958
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
12959
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
12960
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
12961
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
12962
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
12963
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
12964
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
12965
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
12966
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
12967
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
12968
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
12969
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
12970
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
12971
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
12972
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
12973
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
12974
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
12975
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
12976
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
12977
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
12978
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
12979
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
12980
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12523
12981
 
12524
12982
LTCC='$LTCC'
12525
12983
LTCFLAGS='$LTCFLAGS'
12526
12984
compiler='$compiler_DEFAULT'
12527
12985
 
 
12986
# A function that is used when there is no print builtin or printf.
 
12987
func_fallback_echo ()
 
12988
{
 
12989
  eval 'cat <<_LTECHO_EOF
 
12990
\$1
 
12991
_LTECHO_EOF'
 
12992
}
 
12993
 
12528
12994
# Quote evaled strings.
12529
 
for var in SED \
 
12995
for var in SHELL \
 
12996
ECHO \
 
12997
SED \
12530
12998
GREP \
12531
12999
EGREP \
12532
13000
FGREP \
12550
13018
lt_cv_sys_global_symbol_to_cdecl \
12551
13019
lt_cv_sys_global_symbol_to_c_name_address \
12552
13020
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12553
 
SHELL \
12554
 
ECHO \
12555
13021
lt_prog_compiler_no_builtin_flag \
12556
13022
lt_prog_compiler_wl \
12557
13023
lt_prog_compiler_pic \
12581
13047
libname_spec \
12582
13048
library_names_spec \
12583
13049
soname_spec \
 
13050
install_override_mode \
12584
13051
finish_eval \
12585
13052
old_striplib \
12586
13053
striplib; do
12587
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13054
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12588
13055
    *[\\\\\\\`\\"\\\$]*)
12589
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13056
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12590
13057
      ;;
12591
13058
    *)
12592
13059
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12613
13080
finish_cmds \
12614
13081
sys_lib_search_path_spec \
12615
13082
sys_lib_dlsearch_path_spec; do
12616
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13083
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12617
13084
    *[\\\\\\\`\\"\\\$]*)
12618
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13085
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12619
13086
      ;;
12620
13087
    *)
12621
13088
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12623
13090
    esac
12624
13091
done
12625
13092
 
12626
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
12627
 
case \$lt_ECHO in
12628
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12629
 
  ;;
12630
 
esac
12631
 
 
12632
13093
ac_aux_dir='$ac_aux_dir'
12633
13094
xsi_shell='$xsi_shell'
12634
13095
lt_shell_append='$lt_shell_append'
12665
13126
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
12666
13127
    "xscrnsaver.pc") CONFIG_FILES="$CONFIG_FILES xscrnsaver.pc" ;;
12667
13128
 
12668
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12669
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12670
 
   { (exit 1); exit 1; }; };;
 
13129
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12671
13130
  esac
12672
13131
done
12673
13132
 
12690
13149
# after its creation but before its name has been assigned to `$tmp'.
12691
13150
$debug ||
12692
13151
{
12693
 
  tmp=
 
13152
  tmp= ac_tmp=
12694
13153
  trap 'exit_status=$?
12695
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
13154
  : "${ac_tmp:=$tmp}"
 
13155
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
12696
13156
' 0
12697
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
13157
  trap 'as_fn_exit 1' 1 2 13 15
12698
13158
}
12699
13159
# Create a (secure) tmp directory for tmp files.
12700
13160
 
12701
13161
{
12702
13162
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12703
 
  test -n "$tmp" && test -d "$tmp"
 
13163
  test -d "$tmp"
12704
13164
}  ||
12705
13165
{
12706
13166
  tmp=./conf$$-$RANDOM
12707
13167
  (umask 077 && mkdir "$tmp")
12708
 
} ||
12709
 
{
12710
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
12711
 
   { (exit 1); exit 1; }
12712
 
}
 
13168
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
13169
ac_tmp=$tmp
12713
13170
 
12714
13171
# Set up the scripts for CONFIG_FILES section.
12715
13172
# No need to generate them if there are no CONFIG_FILES.
12717
13174
if test -n "$CONFIG_FILES"; then
12718
13175
 
12719
13176
 
12720
 
ac_cr='
 
 
b"'"
 
13177
ac_cr=`echo X | tr X '\015'`
 
13178
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
13179
# But we know of no other shell where ac_cr would be empty at this
 
13180
# point, so we can use a bashism as a fallback.
 
13181
if test "x$ac_cr" = x; then
 
13182
  eval ac_cr=\$\'\\r\'
 
13183
fi
12721
13184
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12722
13185
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12723
13186
  ac_cs_awk_cr='\\r'
12725
13188
  ac_cs_awk_cr=$ac_cr
12726
13189
fi
12727
13190
 
12728
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
13191
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
12729
13192
_ACEOF
12730
13193
 
12731
13194
 
12734
13197
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12735
13198
  echo "_ACEOF"
12736
13199
} >conf$$subs.sh ||
12737
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12738
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12739
 
   { (exit 1); exit 1; }; }
12740
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
13200
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
13201
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
12741
13202
ac_delim='%!_!# '
12742
13203
for ac_last_try in false false false false false :; do
12743
13204
  . ./conf$$subs.sh ||
12744
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12745
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12746
 
   { (exit 1); exit 1; }; }
 
13205
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12747
13206
 
12748
13207
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12749
13208
  if test $ac_delim_n = $ac_delim_num; then
12750
13209
    break
12751
13210
  elif $ac_last_try; then
12752
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12753
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12754
 
   { (exit 1); exit 1; }; }
 
13211
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
12755
13212
  else
12756
13213
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12757
13214
  fi
12759
13216
rm -f conf$$subs.sh
12760
13217
 
12761
13218
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12762
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
13219
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
12763
13220
_ACEOF
12764
13221
sed -n '
12765
13222
h
12773
13230
t delim
12774
13231
:nl
12775
13232
h
12776
 
s/\(.\{148\}\).*/\1/
 
13233
s/\(.\{148\}\)..*/\1/
12777
13234
t more1
12778
13235
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12779
13236
p
12787
13244
t nl
12788
13245
:delim
12789
13246
h
12790
 
s/\(.\{148\}\).*/\1/
 
13247
s/\(.\{148\}\)..*/\1/
12791
13248
t more2
12792
13249
s/["\\]/\\&/g; s/^/"/; s/$/"/
12793
13250
p
12807
13264
rm -f conf$$subs.awk
12808
13265
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12809
13266
_ACAWK
12810
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
13267
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
12811
13268
  for (key in S) S_is_set[key] = 1
12812
13269
  FS = ""
12813
13270
 
12839
13296
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12840
13297
else
12841
13298
  cat
12842
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12843
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
12844
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
12845
 
   { (exit 1); exit 1; }; }
 
13299
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
13300
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
12846
13301
_ACEOF
12847
13302
 
12848
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12849
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
13303
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
13304
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
12850
13305
# trailing colons and then remove the whole line if VPATH becomes empty
12851
13306
# (actually we leave an empty line to preserve line numbers).
12852
13307
if test "x$srcdir" = x.; then
12853
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
12854
 
s/:*\$(srcdir):*/:/
12855
 
s/:*\${srcdir}:*/:/
12856
 
s/:*@srcdir@:*/:/
12857
 
s/^\([^=]*=[     ]*\):*/\1/
 
13308
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
13309
h
 
13310
s///
 
13311
s/^/:/
 
13312
s/[      ]*$/:/
 
13313
s/:\$(srcdir):/:/g
 
13314
s/:\${srcdir}:/:/g
 
13315
s/:@srcdir@:/:/g
 
13316
s/^:*//
12858
13317
s/:*$//
 
13318
x
 
13319
s/\(=[   ]*\).*/\1/
 
13320
G
 
13321
s/\n//
12859
13322
s/^[^=]*=[       ]*$//
12860
13323
}'
12861
13324
fi
12867
13330
# No need to generate them if there are no CONFIG_HEADERS.
12868
13331
# This happens for instance with `./config.status Makefile'.
12869
13332
if test -n "$CONFIG_HEADERS"; then
12870
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
13333
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
12871
13334
BEGIN {
12872
13335
_ACEOF
12873
13336
 
12879
13342
# handling of long lines.
12880
13343
ac_delim='%!_!# '
12881
13344
for ac_last_try in false false :; do
12882
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12883
 
  if test -z "$ac_t"; then
 
13345
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
13346
  if test -z "$ac_tt"; then
12884
13347
    break
12885
13348
  elif $ac_last_try; then
12886
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
12887
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
12888
 
   { (exit 1); exit 1; }; }
 
13349
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
12889
13350
  else
12890
13351
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12891
13352
  fi
12970
13431
_ACAWK
12971
13432
_ACEOF
12972
13433
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12973
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12974
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12975
 
   { (exit 1); exit 1; }; }
 
13434
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
12976
13435
fi # test -n "$CONFIG_HEADERS"
12977
13436
 
12978
13437
 
12985
13444
  esac
12986
13445
  case $ac_mode$ac_tag in
12987
13446
  :[FHL]*:*);;
12988
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
12989
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
12990
 
   { (exit 1); exit 1; }; };;
 
13447
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
12991
13448
  :[FH]-) ac_tag=-:-;;
12992
13449
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12993
13450
  esac
13006
13463
    for ac_f
13007
13464
    do
13008
13465
      case $ac_f in
13009
 
      -) ac_f="$tmp/stdin";;
 
13466
      -) ac_f="$ac_tmp/stdin";;
13010
13467
      *) # Look for the file first in the build tree, then in the source tree
13011
13468
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13012
13469
         # because $ac_f cannot contain `:'.
13015
13472
           [\\/$]*) false;;
13016
13473
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13017
13474
           esac ||
13018
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13019
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13020
 
   { (exit 1); exit 1; }; };;
 
13475
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13021
13476
      esac
13022
13477
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13023
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
13478
      as_fn_append ac_file_inputs " '$ac_f'"
13024
13479
    done
13025
13480
 
13026
13481
    # Let's still pretend it is `configure' which instantiates (i.e., don't
13031
13486
        `' by configure.'
13032
13487
    if test x"$ac_file" != x-; then
13033
13488
      configure_input="$ac_file.  $configure_input"
13034
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
13489
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13035
13490
$as_echo "$as_me: creating $ac_file" >&6;}
13036
13491
    fi
13037
13492
    # Neutralize special characters interpreted by sed in replacement strings.
13043
13498
    esac
13044
13499
 
13045
13500
    case $ac_tag in
13046
 
    *:-:* | *:-) cat >"$tmp/stdin" \
13047
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13048
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13049
 
   { (exit 1); exit 1; }; } ;;
 
13501
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
13502
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13050
13503
    esac
13051
13504
    ;;
13052
13505
  esac
13074
13527
            q
13075
13528
          }
13076
13529
          s/.*/./; q'`
13077
 
  { as_dir="$ac_dir"
13078
 
  case $as_dir in #(
13079
 
  -*) as_dir=./$as_dir;;
13080
 
  esac
13081
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13082
 
    as_dirs=
13083
 
    while :; do
13084
 
      case $as_dir in #(
13085
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13086
 
      *) as_qdir=$as_dir;;
13087
 
      esac
13088
 
      as_dirs="'$as_qdir' $as_dirs"
13089
 
      as_dir=`$as_dirname -- "$as_dir" ||
13090
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13091
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13092
 
         X"$as_dir" : 'X\(//\)$' \| \
13093
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13094
 
$as_echo X"$as_dir" |
13095
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13096
 
            s//\1/
13097
 
            q
13098
 
          }
13099
 
          /^X\(\/\/\)[^/].*/{
13100
 
            s//\1/
13101
 
            q
13102
 
          }
13103
 
          /^X\(\/\/\)$/{
13104
 
            s//\1/
13105
 
            q
13106
 
          }
13107
 
          /^X\(\/\).*/{
13108
 
            s//\1/
13109
 
            q
13110
 
          }
13111
 
          s/.*/./; q'`
13112
 
      test -d "$as_dir" && break
13113
 
    done
13114
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13115
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13116
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13117
 
   { (exit 1); exit 1; }; }; }
 
13530
  as_dir="$ac_dir"; as_fn_mkdir_p
13118
13531
  ac_builddir=.
13119
13532
 
13120
13533
case "$ac_dir" in
13171
13584
# If the template does not know about datarootdir, expand it.
13172
13585
# FIXME: This hack should be removed a few years after 2.60.
13173
13586
ac_datarootdir_hack=; ac_datarootdir_seen=
13174
 
 
13175
13587
ac_sed_dataroot='
13176
13588
/datarootdir/ {
13177
13589
  p
13181
13593
/@docdir@/p
13182
13594
/@infodir@/p
13183
13595
/@localedir@/p
13184
 
/@mandir@/p
13185
 
'
 
13596
/@mandir@/p'
13186
13597
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13187
13598
*datarootdir*) ac_datarootdir_seen=yes;;
13188
13599
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13189
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
13600
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13190
13601
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13191
13602
_ACEOF
13192
13603
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13196
13607
  s&@infodir@&$infodir&g
13197
13608
  s&@localedir@&$localedir&g
13198
13609
  s&@mandir@&$mandir&g
13199
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
13610
  s&\\\${datarootdir}&$datarootdir&g' ;;
13200
13611
esac
13201
13612
_ACEOF
13202
13613
 
13224
13635
s&@MKDIR_P@&$ac_MKDIR_P&;t t
13225
13636
$ac_datarootdir_hack
13226
13637
"
13227
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13228
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13229
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13230
 
   { (exit 1); exit 1; }; }
 
13638
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
13639
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13231
13640
 
13232
13641
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13233
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13234
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13235
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13236
 
which seems to be undefined.  Please make sure it is defined." >&5
 
13642
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
13643
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
13644
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
13645
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
13646
which seems to be undefined.  Please make sure it is defined" >&5
13237
13647
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13238
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
13648
which seems to be undefined.  Please make sure it is defined" >&2;}
13239
13649
 
13240
 
  rm -f "$tmp/stdin"
 
13650
  rm -f "$ac_tmp/stdin"
13241
13651
  case $ac_file in
13242
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13243
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
13652
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
13653
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13244
13654
  esac \
13245
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13246
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13247
 
   { (exit 1); exit 1; }; }
 
13655
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13248
13656
 ;;
13249
13657
  :H)
13250
13658
  #
13253
13661
  if test x"$ac_file" != x-; then
13254
13662
    {
13255
13663
      $as_echo "/* $configure_input  */" \
13256
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13257
 
    } >"$tmp/config.h" \
13258
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13259
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13260
 
   { (exit 1); exit 1; }; }
13261
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13262
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
13664
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
13665
    } >"$ac_tmp/config.h" \
 
13666
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
13667
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
13668
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13263
13669
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13264
13670
    else
13265
13671
      rm -f "$ac_file"
13266
 
      mv "$tmp/config.h" "$ac_file" \
13267
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13268
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
13269
 
   { (exit 1); exit 1; }; }
 
13672
      mv "$ac_tmp/config.h" "$ac_file" \
 
13673
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13270
13674
    fi
13271
13675
  else
13272
13676
    $as_echo "/* $configure_input  */" \
13273
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13274
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
13275
 
$as_echo "$as_me: error: could not create -" >&2;}
13276
 
   { (exit 1); exit 1; }; }
 
13677
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
13678
      || as_fn_error $? "could not create -" "$LINENO" 5
13277
13679
  fi
13278
13680
# Compute "$ac_file"'s index in $config_headers.
13279
13681
_am_arg="$ac_file"
13311
13713
          s/.*/./; q'`/stamp-h$_am_stamp_count
13312
13714
 ;;
13313
13715
 
13314
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
13716
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13315
13717
$as_echo "$as_me: executing $ac_file commands" >&6;}
13316
13718
 ;;
13317
13719
  esac
13406
13808
            q
13407
13809
          }
13408
13810
          s/.*/./; q'`
13409
 
      { as_dir=$dirpart/$fdir
13410
 
  case $as_dir in #(
13411
 
  -*) as_dir=./$as_dir;;
13412
 
  esac
13413
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13414
 
    as_dirs=
13415
 
    while :; do
13416
 
      case $as_dir in #(
13417
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13418
 
      *) as_qdir=$as_dir;;
13419
 
      esac
13420
 
      as_dirs="'$as_qdir' $as_dirs"
13421
 
      as_dir=`$as_dirname -- "$as_dir" ||
13422
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13423
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
13424
 
         X"$as_dir" : 'X\(//\)$' \| \
13425
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13426
 
$as_echo X"$as_dir" |
13427
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13428
 
            s//\1/
13429
 
            q
13430
 
          }
13431
 
          /^X\(\/\/\)[^/].*/{
13432
 
            s//\1/
13433
 
            q
13434
 
          }
13435
 
          /^X\(\/\/\)$/{
13436
 
            s//\1/
13437
 
            q
13438
 
          }
13439
 
          /^X\(\/\).*/{
13440
 
            s//\1/
13441
 
            q
13442
 
          }
13443
 
          s/.*/./; q'`
13444
 
      test -d "$as_dir" && break
13445
 
    done
13446
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
13447
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13448
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13449
 
   { (exit 1); exit 1; }; }; }
 
13811
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
13450
13812
      # echo "creating $dirpart/$file"
13451
13813
      echo '# dummy' > "$dirpart/$file"
13452
13814
    done
13474
13836
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13475
13837
#
13476
13838
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13477
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
13839
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
13840
#                 Inc.
13478
13841
#   Written by Gordon Matzigkeit, 1996
13479
13842
#
13480
13843
#   This file is part of GNU Libtool.
13522
13885
# Whether or not to optimize for fast installation.
13523
13886
fast_install=$enable_fast_install
13524
13887
 
 
13888
# Shell to use when invoking shell scripts.
 
13889
SHELL=$lt_SHELL
 
13890
 
 
13891
# An echo program that protects backslashes.
 
13892
ECHO=$lt_ECHO
 
13893
 
13525
13894
# The host system.
13526
13895
host_alias=$host_alias
13527
13896
host=$host
13571
13940
# turn newlines into spaces.
13572
13941
NL2SP=$lt_lt_NL2SP
13573
13942
 
13574
 
# How to create reloadable object files.
13575
 
reload_flag=$lt_reload_flag
13576
 
reload_cmds=$lt_reload_cmds
13577
 
 
13578
13943
# An object symbol dumper.
13579
13944
OBJDUMP=$lt_OBJDUMP
13580
13945
 
13596
13961
old_postinstall_cmds=$lt_old_postinstall_cmds
13597
13962
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13598
13963
 
 
13964
# Whether to use a lock for old archive extraction.
 
13965
lock_old_archive_extraction=$lock_old_archive_extraction
 
13966
 
13599
13967
# A C compiler.
13600
13968
LTCC=$lt_CC
13601
13969
 
13617
13985
# The name of the directory that contains temporary libtool files.
13618
13986
objdir=$objdir
13619
13987
 
13620
 
# Shell to use when invoking shell scripts.
13621
 
SHELL=$lt_SHELL
13622
 
 
13623
 
# An echo program that does not interpret backslashes.
13624
 
ECHO=$lt_ECHO
13625
 
 
13626
13988
# Used to examine libraries when file_magic_cmd begins with "file".
13627
13989
MAGIC_CMD=$MAGIC_CMD
13628
13990
 
13685
14047
# The coded name of the library, if different from the real name.
13686
14048
soname_spec=$lt_soname_spec
13687
14049
 
 
14050
# Permission mode override for installation of shared libraries.
 
14051
install_override_mode=$lt_install_override_mode
 
14052
 
13688
14053
# Command to use after installation of a shared archive.
13689
14054
postinstall_cmds=$lt_postinstall_cmds
13690
14055
 
13724
14089
# The linker used to build libraries.
13725
14090
LD=$lt_LD
13726
14091
 
 
14092
# How to create reloadable object files.
 
14093
reload_flag=$lt_reload_flag
 
14094
reload_cmds=$lt_reload_cmds
 
14095
 
13727
14096
# Commands used to build an old-style archive.
13728
14097
old_archive_cmds=$lt_old_archive_cmds
13729
14098
 
13983
14352
func_dirname ()
13984
14353
{
13985
14354
  # Extract subdirectory from the argument.
13986
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
14355
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
13987
14356
  if test "X$func_dirname_result" = "X${1}"; then
13988
14357
    func_dirname_result="${3}"
13989
14358
  else
13994
14363
# func_basename file
13995
14364
func_basename ()
13996
14365
{
13997
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
14366
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
13998
14367
}
13999
14368
 
14000
14369
 
14007
14376
func_stripname ()
14008
14377
{
14009
14378
  case ${2} in
14010
 
    .*) func_stripname_result=`$ECHO "X${3}" \
14011
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14012
 
    *)  func_stripname_result=`$ECHO "X${3}" \
14013
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
14379
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
14380
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14014
14381
  esac
14015
14382
}
14016
14383
 
14021
14388
# func_opt_split
14022
14389
func_opt_split ()
14023
14390
{
14024
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14025
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
14391
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 
14392
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14026
14393
}
14027
14394
 
14028
14395
# func_lo2o object
14029
14396
func_lo2o ()
14030
14397
{
14031
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
14398
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
14032
14399
}
14033
14400
 
14034
14401
# func_xform libobj-or-source
14035
14402
func_xform ()
14036
14403
{
14037
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
14404
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14038
14405
}
14039
14406
 
14040
14407
# func_arith arithmetic-term...
14093
14460
done # for ac_tag
14094
14461
 
14095
14462
 
14096
 
{ (exit 0); exit 0; }
 
14463
as_fn_exit 0
14097
14464
_ACEOF
14098
 
chmod +x $CONFIG_STATUS
14099
14465
ac_clean_files=$ac_clean_files_save
14100
14466
 
14101
14467
test $ac_write_fail = 0 ||
14102
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14103
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14104
 
   { (exit 1); exit 1; }; }
 
14468
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14105
14469
 
14106
14470
 
14107
14471
# configure is writing to config.log, and then calls config.status.
14122
14486
  exec 5>>config.log
14123
14487
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14124
14488
  # would make configure fail if this is the last instruction.
14125
 
  $ac_cs_success || { (exit 1); exit 1; }
 
14489
  $ac_cs_success || as_fn_exit 1
14126
14490
fi
14127
14491
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14128
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
14492
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14129
14493
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14130
14494
fi
14131
14495