~ubuntu-branches/ubuntu/wily/luatex/wily

« back to all changes in this revision

Viewing changes to source/configure

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-04-29 00:47:19 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429004719-o42etkqe90n97b9e
Tags: 0.60.1-1
* new upstream release, adapt build-script patch
* disable patch: upstream-epstopdf_cc_no_xpdf_patching, included upstream
* disable patch: libpoppler-0.12, not needed anymore

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 TeX Live 2009test-1.6.
 
3
# Generated by GNU Autoconf 2.65 for TeX Live 2010-04-15.
4
4
#
5
5
# Report bugs to <tex-k@tug.org>.
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 Free Software Foundation,
 
10
# 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
case $0 in #((
100
95
  *[\\/]* ) as_myself=$0 ;;
101
96
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
97
for as_dir in $PATH
103
98
do
104
99
  IFS=$as_save_IFS
105
100
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
101
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
102
  done
108
103
IFS=$as_save_IFS
109
104
 
110
105
     ;;
116
111
fi
117
112
if test ! -f "$as_myself"; then
118
113
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
114
  exit 1
120
115
fi
121
116
 
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
 
117
# Unset variables that we do not need and which cause bugs (e.g. in
 
118
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
119
# suppresses any "Segmentation fault" message there.  '((' could
 
120
# trigger a bug in pdksh 5.2.14.
 
121
for as_var in BASH_ENV ENV MAIL MAILPATH
 
122
do eval test x\${$as_var+set} = xset \
 
123
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
124
done
126
125
PS1='$ '
127
126
PS2='> '
133
132
LANGUAGE=C
134
133
export LANGUAGE
135
134
 
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
135
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
137
 
175
138
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
139
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
140
  emulate sh
 
141
  NULLCMD=:
 
142
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
143
  # is contrary to our usage.  Disable this feature.
 
144
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
145
  setopt NO_GLOB_SUBST
 
146
else
 
147
  case \`(set -o) 2>/dev/null\` in #(
 
148
  *posix*) :
 
149
    set -o posix ;; #(
 
150
  *) :
 
151
     ;;
 
152
esac
 
153
fi
 
154
"
 
155
  as_required="as_fn_return () { (exit \$1); }
 
156
as_fn_success () { as_fn_return 0; }
 
157
as_fn_failure () { as_fn_return 1; }
 
158
as_fn_ret_success () { return 0; }
 
159
as_fn_ret_failure () { return 1; }
 
160
 
 
161
exitcode=0
 
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
167
 
 
168
else
 
169
  exitcode=1; echo positional parameters were not saved.
 
170
fi
 
171
test x\$exitcode = x0 || exit 1"
 
172
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
173
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
174
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
175
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
176
test \$(( 1 + 1 )) = 2 || exit 1"
 
177
  if (eval "$as_required") 2>/dev/null; then :
177
178
  as_have_required=yes
178
179
else
179
180
  as_have_required=no
180
181
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
 
182
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
183
 
 
184
else
 
185
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
186
as_found=false
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
do
245
189
  IFS=$as_save_IFS
246
190
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
191
  as_found=:
 
192
  case $as_dir in #(
248
193
         /*)
249
194
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
195
             # Try only shells that exist, to save several forks.
 
196
             as_shell=$as_dir/$as_base
 
197
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
198
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
199
  CONFIG_SHELL=$as_shell as_have_required=yes
 
200
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
201
  break 2
 
202
fi
 
203
fi
251
204
           done;;
252
205
       esac
 
206
  as_found=false
253
207
done
 
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
209
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
210
  CONFIG_SHELL=$SHELL as_have_required=yes
 
211
fi; }
254
212
IFS=$as_save_IFS
255
213
 
256
214
 
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
 
215
      if test "x$CONFIG_SHELL" != x; then :
 
216
  # We cannot yet assume a decent shell, so we have to provide a
 
217
        # neutralization value for shells without unset; and this also
 
218
        # works around shells that cannot unset nonexistent variables.
 
219
        BASH_ENV=/dev/null
 
220
        ENV=/dev/null
 
221
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
        export CONFIG_SHELL
368
223
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
224
fi
370
225
 
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.  :-)
 
226
    if test x$as_have_required = xno; then :
 
227
  $as_echo "$0: This script requires a shell more modern than all"
 
228
  $as_echo "$0: the shells that I found on your system."
 
229
  if test x${ZSH_VERSION+set} = xset ; then
 
230
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
231
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
232
  else
 
233
    $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
 
234
$0: about your system, including any error possibly output
 
235
$0: before this message. Then install a modern shell, or
 
236
$0: manually run the script under such a shell if you do
 
237
$0: have one."
 
238
  fi
 
239
  exit 1
 
240
fi
 
241
fi
 
242
fi
 
243
SHELL=${CONFIG_SHELL-/bin/sh}
 
244
export SHELL
 
245
# Unset more variables known to interfere with behavior of common tools.
 
246
CLICOLOR_FORCE= GREP_OPTIONS=
 
247
unset CLICOLOR_FORCE GREP_OPTIONS
 
248
 
 
249
## --------------------- ##
 
250
## M4sh Shell Functions. ##
 
251
## --------------------- ##
 
252
# as_fn_unset VAR
 
253
# ---------------
 
254
# Portably unset VAR.
 
255
as_fn_unset ()
 
256
{
 
257
  { eval $1=; unset $1;}
 
258
}
 
259
as_unset=as_fn_unset
 
260
 
 
261
# as_fn_set_status STATUS
 
262
# -----------------------
 
263
# Set $? to STATUS, without forking.
 
264
as_fn_set_status ()
 
265
{
 
266
  return $1
 
267
} # as_fn_set_status
 
268
 
 
269
# as_fn_exit STATUS
 
270
# -----------------
 
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
272
as_fn_exit ()
 
273
{
 
274
  set +e
 
275
  as_fn_set_status $1
 
276
  exit $1
 
277
} # as_fn_exit
 
278
 
 
279
# as_fn_mkdir_p
 
280
# -------------
 
281
# Create "$as_dir" as a directory, including parents if necessary.
 
282
as_fn_mkdir_p ()
 
283
{
 
284
 
 
285
  case $as_dir in #(
 
286
  -*) as_dir=./$as_dir;;
 
287
  esac
 
288
  test -d "$as_dir" || eval $as_mkdir_p || {
 
289
    as_dirs=
 
290
    while :; do
 
291
      case $as_dir in #(
 
292
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
293
      *) as_qdir=$as_dir;;
 
294
      esac
 
295
      as_dirs="'$as_qdir' $as_dirs"
 
296
      as_dir=`$as_dirname -- "$as_dir" ||
 
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
298
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
299
         X"$as_dir" : 'X\(//\)$' \| \
 
300
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
301
$as_echo X"$as_dir" |
 
302
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
303
            s//\1/
 
304
            q
 
305
          }
 
306
          /^X\(\/\/\)[^/].*/{
 
307
            s//\1/
 
308
            q
 
309
          }
 
310
          /^X\(\/\/\)$/{
 
311
            s//\1/
 
312
            q
 
313
          }
 
314
          /^X\(\/\).*/{
 
315
            s//\1/
 
316
            q
 
317
          }
 
318
          s/.*/./; q'`
 
319
      test -d "$as_dir" && break
 
320
    done
 
321
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
322
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
323
 
 
324
 
 
325
} # as_fn_mkdir_p
 
326
# as_fn_append VAR VALUE
 
327
# ----------------------
 
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
329
# advantage of any shell optimizations that allow amortized linear growth over
 
330
# repeated appends, instead of the typical quadratic growth present in naive
 
331
# implementations.
 
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
333
  eval 'as_fn_append ()
 
334
  {
 
335
    eval $1+=\$2
 
336
  }'
 
337
else
 
338
  as_fn_append ()
 
339
  {
 
340
    eval $1=\$$1\$2
 
341
  }
 
342
fi # as_fn_append
 
343
 
 
344
# as_fn_arith ARG...
 
345
# ------------------
 
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
348
# must be portable across $(()) and expr.
 
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
350
  eval 'as_fn_arith ()
 
351
  {
 
352
    as_val=$(( $* ))
 
353
  }'
 
354
else
 
355
  as_fn_arith ()
 
356
  {
 
357
    as_val=`expr "$@" || test $? -eq 1`
 
358
  }
 
359
fi # as_fn_arith
 
360
 
 
361
 
 
362
# as_fn_error ERROR [LINENO LOG_FD]
 
363
# ---------------------------------
 
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
366
# script with status $?, using 1 if that was 0.
 
367
as_fn_error ()
 
368
{
 
369
  as_status=$?; test $as_status -eq 0 && as_status=1
 
370
  if test "$3"; then
 
371
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
372
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
373
  fi
 
374
  $as_echo "$as_me: error: $1" >&2
 
375
  as_fn_exit $as_status
 
376
} # as_fn_error
 
377
 
 
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
379
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
380
  as_expr=expr
 
381
else
 
382
  as_expr=false
 
383
fi
 
384
 
 
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
386
  as_basename=basename
 
387
else
 
388
  as_basename=false
 
389
fi
 
390
 
 
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
392
  as_dirname=dirname
 
393
else
 
394
  as_dirname=false
 
395
fi
 
396
 
 
397
as_me=`$as_basename -- "$0" ||
 
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
399
         X"$0" : 'X\(//\)$' \| \
 
400
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
401
$as_echo X/"$0" |
 
402
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
403
            s//\1/
 
404
            q
 
405
          }
 
406
          /^X\/\(\/\/\)$/{
 
407
            s//\1/
 
408
            q
 
409
          }
 
410
          /^X\/\(\/\).*/{
 
411
            s//\1/
 
412
            q
 
413
          }
 
414
          s/.*/./; q'`
 
415
 
 
416
# Avoid depending upon Character Ranges.
 
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
420
as_cr_digits='0123456789'
 
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
422
 
 
423
 
 
424
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
425
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
426
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
427
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
428
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
429
  sed -n '
461
430
    p
462
431
    /[$]LINENO/=
473
442
      s/-\n.*//
474
443
    ' >$as_me.lineno &&
475
444
  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; }; }
 
445
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
446
 
479
447
  # Don't try to exec as it changes $[0], causing all sort of problems
480
448
  # (the dirname of $[0] is not the place where we might find the
484
452
  exit
485
453
}
486
454
 
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
455
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
456
case `echo -n x` in #(((((
496
457
-n*)
497
 
  case `echo 'x\c'` in
 
458
  case `echo 'xy\c'` in
498
459
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
460
  xy)  ECHO_C='\c';;
 
461
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
462
       ECHO_T=' ';;
500
463
  esac;;
501
464
*)
502
465
  ECHO_N='-n';;
503
466
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
467
 
511
468
rm -f conf$$ conf$$.exe conf$$.file
512
469
if test -d conf$$.dir; then
536
493
rmdir conf$$.dir 2>/dev/null
537
494
 
538
495
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
496
  as_mkdir_p='mkdir -p "$as_dir"'
540
497
else
541
498
  test -d ./-p && rmdir ./-p
542
499
  as_mkdir_p=false
555
512
      if test -d "$1"; then
556
513
        test -d "$1/.";
557
514
      else
558
 
        case $1 in
 
515
        case $1 in #(
559
516
        -*)set "./$1";;
560
517
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
518
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
519
        ???[sx]*):;;*)false;;esac;fi
563
520
    '\'' sh
564
521
  '
573
530
 
574
531
 
575
532
 
576
 
 
577
533
# Check that we are running under the correct shell.
578
534
SHELL=${CONFIG_SHELL-/bin/sh}
579
535
 
722
678
 
723
679
 
724
680
 
725
 
exec 7<&0 </dev/null 6>&1
 
681
test -n "$DJDIR" || exec 7<&0 </dev/null
 
682
exec 6>&1
726
683
 
727
684
# Name of the host.
728
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
740
697
subdirs=
741
698
MFLAGS=
742
699
MAKEFLAGS=
743
 
SHELL=${CONFIG_SHELL-/bin/sh}
744
700
 
745
701
# Identity of this package.
746
702
PACKAGE_NAME='TeX Live'
747
703
PACKAGE_TARNAME='tex-live'
748
 
PACKAGE_VERSION='2009test-1.6'
749
 
PACKAGE_STRING='TeX Live 2009test-1.6'
 
704
PACKAGE_VERSION='2010-04-15'
 
705
PACKAGE_STRING='TeX Live 2010-04-15'
750
706
PACKAGE_BUGREPORT='tex-k@tug.org'
 
707
PACKAGE_URL=''
751
708
 
752
709
ac_unique_file="m4/kpse-pkgs.m4"
753
710
# Factoring default headers for most tests.
787
744
#endif"
788
745
 
789
746
enable_option_checking=no
790
 
ac_subst_vars='LTLIBOBJS
 
747
ac_subst_vars='am__EXEEXT_FALSE
 
748
am__EXEEXT_TRUE
 
749
LTLIBOBJS
791
750
LIBOBJS
792
 
subdirs
793
 
build_kpathsea_FALSE
794
 
build_kpathsea_TRUE
 
751
cross_compiling_FALSE
 
752
cross_compiling_TRUE
 
753
ICU_CONFIG
795
754
PKG_CONFIG
796
755
FT2_CONFIG
 
756
DIST_TEXLIBS
 
757
TEXLIBS
 
758
subdirs
797
759
CXXCPP
798
760
WARNING_CXXFLAGS
799
761
am__fastdepCXX_FALSE
817
779
lt_ECHO
818
780
RANLIB
819
781
AR
820
 
OBJDUMP
821
782
LN_S
822
783
NM
823
784
ac_ct_DUMPBIN
844
805
CFLAGS
845
806
CC
846
807
LIBTOOL
 
808
OBJDUMP
 
809
DLLTOOL
 
810
AS
847
811
MAINT
848
812
MAINTAINER_MODE_FALSE
849
813
MAINTAINER_MODE_TRUE
908
872
program_transform_name
909
873
prefix
910
874
exec_prefix
 
875
PACKAGE_URL
911
876
PACKAGE_BUGREPORT
912
877
PACKAGE_STRING
913
878
PACKAGE_VERSION
923
888
enable_native_texlive_build
924
889
enable_multiplatform
925
890
enable_cxx_runtime_hack
 
891
enable_libtool_hack
926
892
enable_web2c
927
893
with_tex_banner
928
894
with_editor
932
898
enable_omfonts
933
899
enable_tex
934
900
enable_etex
 
901
enable_ptex
935
902
enable_aleph
936
903
enable_pdftex
937
904
enable_luatex
949
916
enable_unitermwin
950
917
enable_mp
951
918
enable_web_progs
 
919
with_system_zziplib
 
920
with_system_xpdf
 
921
with_system_libpng
 
922
with_libpng_includes
 
923
with_libpng_libdir
 
924
with_system_zlib
 
925
with_zlib_includes
 
926
with_zlib_libdir
952
927
with_system_kpathsea
953
928
with_kpathsea_includes
954
929
with_kpathsea_libdir
959
934
enable_mkofm_default
960
935
enable_mktexfmt_default
961
936
enable_mktextex_default
962
 
with_system_xpdf
963
 
with_system_libpng
964
 
with_libpng_includes
965
 
with_libpng_libdir
966
 
with_system_zlib
967
 
with_zlib_includes
968
 
with_zlib_libdir
969
937
enable_maintainer_mode
970
938
enable_shared
971
939
enable_static
977
945
enable_largefile
978
946
enable_compiler_warnings
979
947
with_x
 
948
with_ln_s
980
949
'
981
950
      ac_precious_vars='build_alias
982
951
host_alias
992
961
CXXFLAGS
993
962
CCC
994
963
CXXCPP'
995
 
ac_subdirs_all='texk/kpathsea libs utils texk'
 
964
ac_subdirs_all='texk/ptexenc
 
965
texk/kpathsea
 
966
auxdir/auxsub libs utils texk'
996
967
 
997
968
# Initialize some variables set by options.
998
969
ac_init_help=
1100
1071
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1101
1072
    # Reject names that are not valid shell variable names.
1102
1073
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1103
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1104
 
   { (exit 1); exit 1; }; }
 
1074
      as_fn_error "invalid feature name: $ac_useropt"
1105
1075
    ac_useropt_orig=$ac_useropt
1106
1076
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107
1077
    case $ac_user_opts in
1127
1097
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1128
1098
    # Reject names that are not valid shell variable names.
1129
1099
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1131
 
   { (exit 1); exit 1; }; }
 
1100
      as_fn_error "invalid feature name: $ac_useropt"
1132
1101
    ac_useropt_orig=$ac_useropt
1133
1102
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134
1103
    case $ac_user_opts in
1332
1301
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1333
1302
    # Reject names that are not valid shell variable names.
1334
1303
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1335
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1336
 
   { (exit 1); exit 1; }; }
 
1304
      as_fn_error "invalid package name: $ac_useropt"
1337
1305
    ac_useropt_orig=$ac_useropt
1338
1306
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1339
1307
    case $ac_user_opts in
1349
1317
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1350
1318
    # Reject names that are not valid shell variable names.
1351
1319
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1352
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1353
 
   { (exit 1); exit 1; }; }
 
1320
      as_fn_error "invalid package name: $ac_useropt"
1354
1321
    ac_useropt_orig=$ac_useropt
1355
1322
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1356
1323
    case $ac_user_opts in
1380
1347
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1381
1348
    x_libraries=$ac_optarg ;;
1382
1349
 
1383
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1384
 
Try \`$0 --help' for more information." >&2
1385
 
   { (exit 1); exit 1; }; }
 
1350
  -*) as_fn_error "unrecognized option: \`$ac_option'
 
1351
Try \`$0 --help' for more information."
1386
1352
    ;;
1387
1353
 
1388
1354
  *=*)
1389
1355
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1390
1356
    # Reject names that are not valid shell variable names.
1391
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1392
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1393
 
   { (exit 1); exit 1; }; }
 
1357
    case $ac_envvar in #(
 
1358
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1359
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
 
1360
    esac
1394
1361
    eval $ac_envvar=\$ac_optarg
1395
1362
    export $ac_envvar ;;
1396
1363
 
1407
1374
 
1408
1375
if test -n "$ac_prev"; then
1409
1376
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1410
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1411
 
   { (exit 1); exit 1; }; }
 
1377
  as_fn_error "missing argument to $ac_option"
1412
1378
fi
1413
1379
 
1414
1380
if test -n "$ac_unrecognized_opts"; then
1415
1381
  case $enable_option_checking in
1416
1382
    no) ;;
1417
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1418
 
   { (exit 1); exit 1; }; } ;;
 
1383
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1419
1384
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1420
1385
  esac
1421
1386
fi
1438
1403
    [\\/$]* | ?:[\\/]* )  continue;;
1439
1404
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1440
1405
  esac
1441
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1442
 
   { (exit 1); exit 1; }; }
 
1406
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1443
1407
done
1444
1408
 
1445
1409
# There might be people who depend on the old broken behavior: `$host'
1469
1433
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1470
1434
ac_ls_di=`ls -di .` &&
1471
1435
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1472
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1473
 
   { (exit 1); exit 1; }; }
 
1436
  as_fn_error "working directory cannot be determined"
1474
1437
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1475
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1476
 
   { (exit 1); exit 1; }; }
 
1438
  as_fn_error "pwd does not report name of working directory"
1477
1439
 
1478
1440
 
1479
1441
# Find the source files, if location was not specified.
1512
1474
fi
1513
1475
if test ! -r "$srcdir/$ac_unique_file"; then
1514
1476
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1515
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1516
 
   { (exit 1); exit 1; }; }
 
1477
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1517
1478
fi
1518
1479
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1519
1480
ac_abs_confdir=`(
1520
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1521
 
   { (exit 1); exit 1; }; }
 
1481
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1522
1482
        pwd)`
1523
1483
# When building in place, set srcdir=.
1524
1484
if test "$ac_abs_confdir" = "$ac_pwd"; then
1544
1504
  # Omit some internal or obsolete options to make the list less imposing.
1545
1505
  # This message is too long to be a string in the A/UX 3.1 sh.
1546
1506
  cat <<_ACEOF
1547
 
\`configure' configures TeX Live 2009test-1.6 to adapt to many kinds of systems.
 
1507
\`configure' configures TeX Live 2010-04-15 to adapt to many kinds of systems.
1548
1508
 
1549
1509
Usage: $0 [OPTION]... [VAR=VALUE]...
1550
1510
 
1618
1578
 
1619
1579
if test -n "$ac_init_help"; then
1620
1580
  case $ac_init_help in
1621
 
     short | recursive ) echo "Configuration of TeX Live 2009test-1.6:";;
 
1581
     short | recursive ) echo "Configuration of TeX Live 2010-04-15:";;
1622
1582
   esac
1623
1583
  cat <<\_ACEOF
1624
1584
 
1634
1594
  --enable-multiplatform  put executables into bin/PLATFORM and libraries into
1635
1595
                          lib/PLATFORM
1636
1596
  --enable-cxx-runtime-hack  link C++ runtime statically
 
1597
  --enable-libtool-hack   ignore libtool dependency_libs
1637
1598
  --disable-web2c         do not build the web2c (TeX & Co.) package
1638
1599
  --enable-auto-core        cause TeX&MF to dump core, given a certain
1639
1600
                            filename
1644
1605
                            versions)
1645
1606
  --disable-tex             do not compile and install TeX
1646
1607
  --enable-etex             compile and install e-TeX
 
1608
  --disable-ptex            do not compile and install pTeX
1647
1609
  --disable-aleph           do not compile and install Aleph
1648
1610
  --disable-pdftex          do not compile and install pdfTeX
1649
1611
  --disable-luatex          do not compile and install luaTeX
1650
1612
  --disable-xetex           do not compile and install XeTeX
1651
1613
  --disable-mf              do not build METAFONT
1652
 
  --disable-mf-nowin        do not build a separate non-windows-capable
1653
 
                            METAFONT
1654
 
  --enable-epsfwin          include EPSF pseudo window support
1655
 
  --enable-hp2627win        include HP 2627 window support
1656
 
  --enable-mftalkwin        include mftalk (generic server) window support
1657
 
  --enable-nextwin          include NeXT window support
1658
 
  --enable-regiswin         include Regis window support
1659
 
  --enable-suntoolswin      include old Suntools (not X) window support
1660
 
  --enable-tektronixwin     include Tektronix window support
1661
 
  --enable-unitermwin       include Uniterm window support
 
1614
  --disable-mf-nowin          do not build a separate non-windows-capable
 
1615
                              METAFONT
 
1616
  --enable-epsfwin            include EPSF pseudo window support
 
1617
  --enable-hp2627win          include HP 2627 window support
 
1618
  --enable-mftalkwin          include mftalk (generic server) window support
 
1619
  --enable-nextwin            include NeXT window support
 
1620
  --enable-regiswin           include Regis window support
 
1621
  --enable-suntoolswin        include old Suntools (not X) window support
 
1622
  --enable-tektronixwin       include Tektronix window support
 
1623
  --enable-unitermwin         include Uniterm window support
1662
1624
  --disable-mp              do not build METAPOST
1663
1625
  --disable-web-progs       do not build WEB programs bibtex ... weave
1664
 
  --disable-mktexmf-default do not run mktexmf if MF source missing
1665
 
  --disable-mktexpk-default do not run mktexpk if PK font missing
1666
 
  --disable-mktextfm-default
1667
 
                            do not run mktextfm if TFM file missing
1668
 
  --disable-mkocp-default   do not run mkocp if OCP file missing
1669
 
  --disable-mkofm-default   do not run mkofm if OFM file missing
1670
 
  --disable-mktexfmt-default
1671
 
                            do not run mktexfmt if format file missing
1672
 
  --enable-mktextex-default run mktextex if TeX source missing
 
1626
  --disable-mktexmf-default   do not run mktexmf if MF source missing
 
1627
  --disable-mktexpk-default   do not run mktexpk if PK font missing
 
1628
  --disable-mktextfm-default  do not run mktextfm if TFM file missing
 
1629
  --disable-mkocp-default     do not run mkocp if OCP file missing
 
1630
  --disable-mkofm-default     do not run mkofm if OFM file missing
 
1631
  --disable-mktexfmt-default  do not run mktexfmt if format file missing
 
1632
  --enable-mktextex-default   run mktextex if TeX source missing
1673
1633
  --enable-maintainer-mode  enable make rules and dependencies not useful
1674
1634
                          (and sometimes confusing) to the casual installer
1675
1635
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1680
1640
  --enable-dependency-tracking   do not reject slow dependency extractors
1681
1641
  --disable-libtool-lock  avoid locking (might break parallel builds)
1682
1642
  --disable-largefile     omit support for large files
1683
 
  --enable-compiler-warnings=[no|min|yes|max]
 
1643
  --enable-compiler-warnings=[no|min|yes|max|all]
1684
1644
                          Turn on compiler warnings [default: yes if
1685
1645
                          maintainer-mode, min otherwise]
1686
1646
 
1690
1650
  --with-tex-banner=STR   version string appended to banner lines [Web2C YEAR]
1691
1651
  --with-editor=CMD       invoke CMD from the `e' option [vi +%d %s]
1692
1652
  --without-mf-x-toolkit  do not use X toolkit for METAFONT
1693
 
  --with-system-kpathsea  use installed kpathsea headers and library
1694
 
  --with-kpathsea-includes=DIR
1695
 
                          kpathsea headers installed in DIR
1696
 
  --with-kpathsea-libdir=DIR
1697
 
                          kpathsea library installed in DIR
 
1653
  --with-system-zziplib   use installed zziplib headers and library (requires
 
1654
                          pkg-config)
1698
1655
  --with-system-xpdf      use installed poppler headers and library instead of
1699
1656
                          xpdf (requires pkg-config)
1700
1657
  --with-system-libpng    use installed libpng headers and library
1706
1663
  --with-zlib-includes=DIR
1707
1664
                          zlib headers installed in DIR
1708
1665
  --with-zlib-libdir=DIR  zlib library installed in DIR
 
1666
  --with-system-kpathsea  use installed kpathsea headers and library
 
1667
  --with-kpathsea-includes=DIR
 
1668
                          kpathsea headers installed in DIR
 
1669
  --with-kpathsea-libdir=DIR
 
1670
                          kpathsea library installed in DIR
1709
1671
  --with-pic              try to use only PIC/non-PIC objects [default=use
1710
1672
                          both]
1711
1673
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1712
1674
  --with-x                use the X Window System
 
1675
  --without-ln-s          do build even if `ln -s' does not work
1713
1676
 
1714
1677
Some influential environment variables:
1715
1678
  CC          C compiler command
1717
1680
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1718
1681
              nonstandard directory <lib dir>
1719
1682
  LIBS        libraries to pass to the linker, e.g. -l<library>
1720
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1683
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1721
1684
              you have headers in a nonstandard directory <include dir>
1722
1685
  CPP         C preprocessor
1723
1686
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1791
1754
test -n "$ac_init_help" && exit $ac_status
1792
1755
if $ac_init_version; then
1793
1756
  cat <<\_ACEOF
1794
 
TeX Live configure 2009test-1.6
1795
 
generated by GNU Autoconf 2.63
 
1757
TeX Live configure 2010-04-15
 
1758
generated by GNU Autoconf 2.65
1796
1759
 
1797
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1798
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1760
Copyright (C) 2009 Free Software Foundation, Inc.
1799
1761
This configure script is free software; the Free Software Foundation
1800
1762
gives unlimited permission to copy, distribute and modify it.
1801
1763
_ACEOF
1802
1764
  exit
1803
1765
fi
 
1766
 
 
1767
## ------------------------ ##
 
1768
## Autoconf initialization. ##
 
1769
## ------------------------ ##
 
1770
 
 
1771
# ac_fn_c_try_compile LINENO
 
1772
# --------------------------
 
1773
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1774
ac_fn_c_try_compile ()
 
1775
{
 
1776
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1777
  rm -f conftest.$ac_objext
 
1778
  if { { ac_try="$ac_compile"
 
1779
case "(($ac_try" in
 
1780
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1781
  *) ac_try_echo=$ac_try;;
 
1782
esac
 
1783
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1784
$as_echo "$ac_try_echo"; } >&5
 
1785
  (eval "$ac_compile") 2>conftest.err
 
1786
  ac_status=$?
 
1787
  if test -s conftest.err; then
 
1788
    grep -v '^ *+' conftest.err >conftest.er1
 
1789
    cat conftest.er1 >&5
 
1790
    mv -f conftest.er1 conftest.err
 
1791
  fi
 
1792
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1793
  test $ac_status = 0; } && {
 
1794
         test -z "$ac_c_werror_flag" ||
 
1795
         test ! -s conftest.err
 
1796
       } && test -s conftest.$ac_objext; then :
 
1797
  ac_retval=0
 
1798
else
 
1799
  $as_echo "$as_me: failed program was:" >&5
 
1800
sed 's/^/| /' conftest.$ac_ext >&5
 
1801
 
 
1802
        ac_retval=1
 
1803
fi
 
1804
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1805
  as_fn_set_status $ac_retval
 
1806
 
 
1807
} # ac_fn_c_try_compile
 
1808
 
 
1809
# ac_fn_c_try_link LINENO
 
1810
# -----------------------
 
1811
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1812
ac_fn_c_try_link ()
 
1813
{
 
1814
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1815
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1816
  if { { ac_try="$ac_link"
 
1817
case "(($ac_try" in
 
1818
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1819
  *) ac_try_echo=$ac_try;;
 
1820
esac
 
1821
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1822
$as_echo "$ac_try_echo"; } >&5
 
1823
  (eval "$ac_link") 2>conftest.err
 
1824
  ac_status=$?
 
1825
  if test -s conftest.err; then
 
1826
    grep -v '^ *+' conftest.err >conftest.er1
 
1827
    cat conftest.er1 >&5
 
1828
    mv -f conftest.er1 conftest.err
 
1829
  fi
 
1830
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1831
  test $ac_status = 0; } && {
 
1832
         test -z "$ac_c_werror_flag" ||
 
1833
         test ! -s conftest.err
 
1834
       } && test -s conftest$ac_exeext && {
 
1835
         test "$cross_compiling" = yes ||
 
1836
         $as_test_x conftest$ac_exeext
 
1837
       }; then :
 
1838
  ac_retval=0
 
1839
else
 
1840
  $as_echo "$as_me: failed program was:" >&5
 
1841
sed 's/^/| /' conftest.$ac_ext >&5
 
1842
 
 
1843
        ac_retval=1
 
1844
fi
 
1845
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1846
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1847
  # interfere with the next link command; also delete a directory that is
 
1848
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1849
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1850
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1851
  as_fn_set_status $ac_retval
 
1852
 
 
1853
} # ac_fn_c_try_link
 
1854
 
 
1855
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1856
# -------------------------------------------------------
 
1857
# Tests whether HEADER exists and can be compiled using the include files in
 
1858
# INCLUDES, setting the cache variable VAR accordingly.
 
1859
ac_fn_c_check_header_compile ()
 
1860
{
 
1861
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1862
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1863
$as_echo_n "checking for $2... " >&6; }
 
1864
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1865
  $as_echo_n "(cached) " >&6
 
1866
else
 
1867
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1868
/* end confdefs.h.  */
 
1869
$4
 
1870
#include <$2>
 
1871
_ACEOF
 
1872
if ac_fn_c_try_compile "$LINENO"; then :
 
1873
  eval "$3=yes"
 
1874
else
 
1875
  eval "$3=no"
 
1876
fi
 
1877
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1878
fi
 
1879
eval ac_res=\$$3
 
1880
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1881
$as_echo "$ac_res" >&6; }
 
1882
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1883
 
 
1884
} # ac_fn_c_check_header_compile
 
1885
 
 
1886
# ac_fn_c_try_cpp LINENO
 
1887
# ----------------------
 
1888
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1889
ac_fn_c_try_cpp ()
 
1890
{
 
1891
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1892
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1893
case "(($ac_try" in
 
1894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1895
  *) ac_try_echo=$ac_try;;
 
1896
esac
 
1897
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1898
$as_echo "$ac_try_echo"; } >&5
 
1899
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1900
  ac_status=$?
 
1901
  if test -s conftest.err; then
 
1902
    grep -v '^ *+' conftest.err >conftest.er1
 
1903
    cat conftest.er1 >&5
 
1904
    mv -f conftest.er1 conftest.err
 
1905
  fi
 
1906
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1907
  test $ac_status = 0; } >/dev/null && {
 
1908
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1909
         test ! -s conftest.err
 
1910
       }; then :
 
1911
  ac_retval=0
 
1912
else
 
1913
  $as_echo "$as_me: failed program was:" >&5
 
1914
sed 's/^/| /' conftest.$ac_ext >&5
 
1915
 
 
1916
    ac_retval=1
 
1917
fi
 
1918
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1919
  as_fn_set_status $ac_retval
 
1920
 
 
1921
} # ac_fn_c_try_cpp
 
1922
 
 
1923
# ac_fn_c_try_run LINENO
 
1924
# ----------------------
 
1925
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1926
# that executables *can* be run.
 
1927
ac_fn_c_try_run ()
 
1928
{
 
1929
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1930
  if { { ac_try="$ac_link"
 
1931
case "(($ac_try" in
 
1932
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1933
  *) ac_try_echo=$ac_try;;
 
1934
esac
 
1935
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1936
$as_echo "$ac_try_echo"; } >&5
 
1937
  (eval "$ac_link") 2>&5
 
1938
  ac_status=$?
 
1939
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1940
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1941
  { { case "(($ac_try" in
 
1942
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1943
  *) ac_try_echo=$ac_try;;
 
1944
esac
 
1945
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1946
$as_echo "$ac_try_echo"; } >&5
 
1947
  (eval "$ac_try") 2>&5
 
1948
  ac_status=$?
 
1949
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1950
  test $ac_status = 0; }; }; then :
 
1951
  ac_retval=0
 
1952
else
 
1953
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1954
       $as_echo "$as_me: failed program was:" >&5
 
1955
sed 's/^/| /' conftest.$ac_ext >&5
 
1956
 
 
1957
       ac_retval=$ac_status
 
1958
fi
 
1959
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1960
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1961
  as_fn_set_status $ac_retval
 
1962
 
 
1963
} # ac_fn_c_try_run
 
1964
 
 
1965
# ac_fn_c_check_func LINENO FUNC VAR
 
1966
# ----------------------------------
 
1967
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1968
ac_fn_c_check_func ()
 
1969
{
 
1970
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1971
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1972
$as_echo_n "checking for $2... " >&6; }
 
1973
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
1974
  $as_echo_n "(cached) " >&6
 
1975
else
 
1976
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1977
/* end confdefs.h.  */
 
1978
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1979
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1980
#define $2 innocuous_$2
 
1981
 
 
1982
/* System header to define __stub macros and hopefully few prototypes,
 
1983
    which can conflict with char $2 (); below.
 
1984
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1985
    <limits.h> exists even on freestanding compilers.  */
 
1986
 
 
1987
#ifdef __STDC__
 
1988
# include <limits.h>
 
1989
#else
 
1990
# include <assert.h>
 
1991
#endif
 
1992
 
 
1993
#undef $2
 
1994
 
 
1995
/* Override any GCC internal prototype to avoid an error.
 
1996
   Use char because int might match the return type of a GCC
 
1997
   builtin and then its argument prototype would still apply.  */
 
1998
#ifdef __cplusplus
 
1999
extern "C"
 
2000
#endif
 
2001
char $2 ();
 
2002
/* The GNU C library defines this for functions which it implements
 
2003
    to always fail with ENOSYS.  Some functions are actually named
 
2004
    something starting with __ and the normal name is an alias.  */
 
2005
#if defined __stub_$2 || defined __stub___$2
 
2006
choke me
 
2007
#endif
 
2008
 
 
2009
int
 
2010
main ()
 
2011
{
 
2012
return $2 ();
 
2013
  ;
 
2014
  return 0;
 
2015
}
 
2016
_ACEOF
 
2017
if ac_fn_c_try_link "$LINENO"; then :
 
2018
  eval "$3=yes"
 
2019
else
 
2020
  eval "$3=no"
 
2021
fi
 
2022
rm -f core conftest.err conftest.$ac_objext \
 
2023
    conftest$ac_exeext conftest.$ac_ext
 
2024
fi
 
2025
eval ac_res=\$$3
 
2026
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2027
$as_echo "$ac_res" >&6; }
 
2028
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2029
 
 
2030
} # ac_fn_c_check_func
 
2031
 
 
2032
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
2033
# -------------------------------------------------------
 
2034
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
2035
# the include files in INCLUDES and setting the cache variable VAR
 
2036
# accordingly.
 
2037
ac_fn_c_check_header_mongrel ()
 
2038
{
 
2039
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2040
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2041
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2042
$as_echo_n "checking for $2... " >&6; }
 
2043
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2044
  $as_echo_n "(cached) " >&6
 
2045
fi
 
2046
eval ac_res=\$$3
 
2047
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2048
$as_echo "$ac_res" >&6; }
 
2049
else
 
2050
  # Is the header compilable?
 
2051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
2052
$as_echo_n "checking $2 usability... " >&6; }
 
2053
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2054
/* end confdefs.h.  */
 
2055
$4
 
2056
#include <$2>
 
2057
_ACEOF
 
2058
if ac_fn_c_try_compile "$LINENO"; then :
 
2059
  ac_header_compiler=yes
 
2060
else
 
2061
  ac_header_compiler=no
 
2062
fi
 
2063
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
2065
$as_echo "$ac_header_compiler" >&6; }
 
2066
 
 
2067
# Is the header present?
 
2068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
2069
$as_echo_n "checking $2 presence... " >&6; }
 
2070
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2071
/* end confdefs.h.  */
 
2072
#include <$2>
 
2073
_ACEOF
 
2074
if ac_fn_c_try_cpp "$LINENO"; then :
 
2075
  ac_header_preproc=yes
 
2076
else
 
2077
  ac_header_preproc=no
 
2078
fi
 
2079
rm -f conftest.err conftest.$ac_ext
 
2080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2081
$as_echo "$ac_header_preproc" >&6; }
 
2082
 
 
2083
# So?  What about this header?
 
2084
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2085
  yes:no: )
 
2086
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2087
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2088
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2089
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2090
    ;;
 
2091
  no:yes:* )
 
2092
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2093
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2094
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2095
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2096
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2097
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2098
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2099
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2100
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2101
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2102
( cat <<\_ASBOX
 
2103
## ---------------------------- ##
 
2104
## Report this to tex-k@tug.org ##
 
2105
## ---------------------------- ##
 
2106
_ASBOX
 
2107
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2108
    ;;
 
2109
esac
 
2110
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2111
$as_echo_n "checking for $2... " >&6; }
 
2112
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2113
  $as_echo_n "(cached) " >&6
 
2114
else
 
2115
  eval "$3=\$ac_header_compiler"
 
2116
fi
 
2117
eval ac_res=\$$3
 
2118
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2119
$as_echo "$ac_res" >&6; }
 
2120
fi
 
2121
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2122
 
 
2123
} # ac_fn_c_check_header_mongrel
 
2124
 
 
2125
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2126
# -------------------------------------------
 
2127
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2128
# variable VAR accordingly.
 
2129
ac_fn_c_check_type ()
 
2130
{
 
2131
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2132
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2133
$as_echo_n "checking for $2... " >&6; }
 
2134
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2135
  $as_echo_n "(cached) " >&6
 
2136
else
 
2137
  eval "$3=no"
 
2138
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2139
/* end confdefs.h.  */
 
2140
$4
 
2141
int
 
2142
main ()
 
2143
{
 
2144
if (sizeof ($2))
 
2145
         return 0;
 
2146
  ;
 
2147
  return 0;
 
2148
}
 
2149
_ACEOF
 
2150
if ac_fn_c_try_compile "$LINENO"; then :
 
2151
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2152
/* end confdefs.h.  */
 
2153
$4
 
2154
int
 
2155
main ()
 
2156
{
 
2157
if (sizeof (($2)))
 
2158
            return 0;
 
2159
  ;
 
2160
  return 0;
 
2161
}
 
2162
_ACEOF
 
2163
if ac_fn_c_try_compile "$LINENO"; then :
 
2164
 
 
2165
else
 
2166
  eval "$3=yes"
 
2167
fi
 
2168
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2169
fi
 
2170
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2171
fi
 
2172
eval ac_res=\$$3
 
2173
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2174
$as_echo "$ac_res" >&6; }
 
2175
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2176
 
 
2177
} # ac_fn_c_check_type
 
2178
 
 
2179
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 
2180
# ----------------------------------------------------
 
2181
# Tries to find if the field MEMBER exists in type AGGR, after including
 
2182
# INCLUDES, setting cache variable VAR accordingly.
 
2183
ac_fn_c_check_member ()
 
2184
{
 
2185
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2186
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 
2187
$as_echo_n "checking for $2.$3... " >&6; }
 
2188
if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
 
2189
  $as_echo_n "(cached) " >&6
 
2190
else
 
2191
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2192
/* end confdefs.h.  */
 
2193
$5
 
2194
int
 
2195
main ()
 
2196
{
 
2197
static $2 ac_aggr;
 
2198
if (ac_aggr.$3)
 
2199
return 0;
 
2200
  ;
 
2201
  return 0;
 
2202
}
 
2203
_ACEOF
 
2204
if ac_fn_c_try_compile "$LINENO"; then :
 
2205
  eval "$4=yes"
 
2206
else
 
2207
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2208
/* end confdefs.h.  */
 
2209
$5
 
2210
int
 
2211
main ()
 
2212
{
 
2213
static $2 ac_aggr;
 
2214
if (sizeof ac_aggr.$3)
 
2215
return 0;
 
2216
  ;
 
2217
  return 0;
 
2218
}
 
2219
_ACEOF
 
2220
if ac_fn_c_try_compile "$LINENO"; then :
 
2221
  eval "$4=yes"
 
2222
else
 
2223
  eval "$4=no"
 
2224
fi
 
2225
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2226
fi
 
2227
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2228
fi
 
2229
eval ac_res=\$$4
 
2230
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2231
$as_echo "$ac_res" >&6; }
 
2232
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2233
 
 
2234
} # ac_fn_c_check_member
 
2235
 
 
2236
# ac_fn_cxx_try_compile LINENO
 
2237
# ----------------------------
 
2238
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
2239
ac_fn_cxx_try_compile ()
 
2240
{
 
2241
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2242
  rm -f conftest.$ac_objext
 
2243
  if { { ac_try="$ac_compile"
 
2244
case "(($ac_try" in
 
2245
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2246
  *) ac_try_echo=$ac_try;;
 
2247
esac
 
2248
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2249
$as_echo "$ac_try_echo"; } >&5
 
2250
  (eval "$ac_compile") 2>conftest.err
 
2251
  ac_status=$?
 
2252
  if test -s conftest.err; then
 
2253
    grep -v '^ *+' conftest.err >conftest.er1
 
2254
    cat conftest.er1 >&5
 
2255
    mv -f conftest.er1 conftest.err
 
2256
  fi
 
2257
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2258
  test $ac_status = 0; } && {
 
2259
         test -z "$ac_cxx_werror_flag" ||
 
2260
         test ! -s conftest.err
 
2261
       } && test -s conftest.$ac_objext; then :
 
2262
  ac_retval=0
 
2263
else
 
2264
  $as_echo "$as_me: failed program was:" >&5
 
2265
sed 's/^/| /' conftest.$ac_ext >&5
 
2266
 
 
2267
        ac_retval=1
 
2268
fi
 
2269
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2270
  as_fn_set_status $ac_retval
 
2271
 
 
2272
} # ac_fn_cxx_try_compile
 
2273
 
 
2274
# ac_fn_cxx_try_cpp LINENO
 
2275
# ------------------------
 
2276
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
2277
ac_fn_cxx_try_cpp ()
 
2278
{
 
2279
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2280
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
2281
case "(($ac_try" in
 
2282
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2283
  *) ac_try_echo=$ac_try;;
 
2284
esac
 
2285
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2286
$as_echo "$ac_try_echo"; } >&5
 
2287
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
2288
  ac_status=$?
 
2289
  if test -s conftest.err; then
 
2290
    grep -v '^ *+' conftest.err >conftest.er1
 
2291
    cat conftest.er1 >&5
 
2292
    mv -f conftest.er1 conftest.err
 
2293
  fi
 
2294
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2295
  test $ac_status = 0; } >/dev/null && {
 
2296
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
2297
         test ! -s conftest.err
 
2298
       }; then :
 
2299
  ac_retval=0
 
2300
else
 
2301
  $as_echo "$as_me: failed program was:" >&5
 
2302
sed 's/^/| /' conftest.$ac_ext >&5
 
2303
 
 
2304
    ac_retval=1
 
2305
fi
 
2306
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2307
  as_fn_set_status $ac_retval
 
2308
 
 
2309
} # ac_fn_cxx_try_cpp
 
2310
 
 
2311
# ac_fn_cxx_try_link LINENO
 
2312
# -------------------------
 
2313
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2314
ac_fn_cxx_try_link ()
 
2315
{
 
2316
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2317
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2318
  if { { ac_try="$ac_link"
 
2319
case "(($ac_try" in
 
2320
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2321
  *) ac_try_echo=$ac_try;;
 
2322
esac
 
2323
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2324
$as_echo "$ac_try_echo"; } >&5
 
2325
  (eval "$ac_link") 2>conftest.err
 
2326
  ac_status=$?
 
2327
  if test -s conftest.err; then
 
2328
    grep -v '^ *+' conftest.err >conftest.er1
 
2329
    cat conftest.er1 >&5
 
2330
    mv -f conftest.er1 conftest.err
 
2331
  fi
 
2332
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2333
  test $ac_status = 0; } && {
 
2334
         test -z "$ac_cxx_werror_flag" ||
 
2335
         test ! -s conftest.err
 
2336
       } && test -s conftest$ac_exeext && {
 
2337
         test "$cross_compiling" = yes ||
 
2338
         $as_test_x conftest$ac_exeext
 
2339
       }; then :
 
2340
  ac_retval=0
 
2341
else
 
2342
  $as_echo "$as_me: failed program was:" >&5
 
2343
sed 's/^/| /' conftest.$ac_ext >&5
 
2344
 
 
2345
        ac_retval=1
 
2346
fi
 
2347
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2348
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2349
  # interfere with the next link command; also delete a directory that is
 
2350
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2351
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2352
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2353
  as_fn_set_status $ac_retval
 
2354
 
 
2355
} # ac_fn_cxx_try_link
1804
2356
cat >config.log <<_ACEOF
1805
2357
This file contains any messages produced by compilers while
1806
2358
running configure, to aid debugging if configure makes a mistake.
1807
2359
 
1808
 
It was created by TeX Live $as_me 2009test-1.6, which was
1809
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2360
It was created by TeX Live $as_me 2010-04-15, which was
 
2361
generated by GNU Autoconf 2.65.  Invocation command line was
1810
2362
 
1811
2363
  $ $0 $@
1812
2364
 
1842
2394
do
1843
2395
  IFS=$as_save_IFS
1844
2396
  test -z "$as_dir" && as_dir=.
1845
 
  $as_echo "PATH: $as_dir"
1846
 
done
 
2397
    $as_echo "PATH: $as_dir"
 
2398
  done
1847
2399
IFS=$as_save_IFS
1848
2400
 
1849
2401
} >&5
1880
2432
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1881
2433
    esac
1882
2434
    case $ac_pass in
1883
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2435
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1884
2436
    2)
1885
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2437
      as_fn_append ac_configure_args1 " '$ac_arg'"
1886
2438
      if test $ac_must_keep_next = true; then
1887
2439
        ac_must_keep_next=false # Got value, back to normal.
1888
2440
      else
1898
2450
          -* ) ac_must_keep_next=true ;;
1899
2451
        esac
1900
2452
      fi
1901
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2453
      as_fn_append ac_configure_args " '$ac_arg'"
1902
2454
      ;;
1903
2455
    esac
1904
2456
  done
1905
2457
done
1906
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1907
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2458
{ ac_configure_args0=; unset ac_configure_args0;}
 
2459
{ ac_configure_args1=; unset ac_configure_args1;}
1908
2460
 
1909
2461
# When interrupted or exit'd, cleanup temporary files, and complete
1910
2462
# config.log.  We remove comments because anyway the quotes in there
1929
2481
    case $ac_val in #(
1930
2482
    *${as_nl}*)
1931
2483
      case $ac_var in #(
1932
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2484
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1933
2485
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1934
2486
      esac
1935
2487
      case $ac_var in #(
1936
2488
      _ | IFS | as_nl) ;; #(
1937
2489
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1938
 
      *) $as_unset $ac_var ;;
 
2490
      *) { eval $ac_var=; unset $ac_var;} ;;
1939
2491
      esac ;;
1940
2492
    esac
1941
2493
  done
2007
2559
    exit $exit_status
2008
2560
' 0
2009
2561
for ac_signal in 1 2 13 15; do
2010
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2562
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2011
2563
done
2012
2564
ac_signal=0
2013
2565
 
2014
2566
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2015
2567
rm -f -r conftest* confdefs.h
2016
2568
 
 
2569
$as_echo "/* confdefs.h */" > confdefs.h
 
2570
 
2017
2571
# Predefined preprocessor variables.
2018
2572
 
2019
2573
cat >>confdefs.h <<_ACEOF
2020
2574
#define PACKAGE_NAME "$PACKAGE_NAME"
2021
2575
_ACEOF
2022
2576
 
2023
 
 
2024
2577
cat >>confdefs.h <<_ACEOF
2025
2578
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2026
2579
_ACEOF
2027
2580
 
2028
 
 
2029
2581
cat >>confdefs.h <<_ACEOF
2030
2582
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2031
2583
_ACEOF
2032
2584
 
2033
 
 
2034
2585
cat >>confdefs.h <<_ACEOF
2035
2586
#define PACKAGE_STRING "$PACKAGE_STRING"
2036
2587
_ACEOF
2037
2588
 
2038
 
 
2039
2589
cat >>confdefs.h <<_ACEOF
2040
2590
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2041
2591
_ACEOF
2042
2592
 
 
2593
cat >>confdefs.h <<_ACEOF
 
2594
#define PACKAGE_URL "$PACKAGE_URL"
 
2595
_ACEOF
 
2596
 
2043
2597
 
2044
2598
# Let the site file select an alternate cache file if it wants to.
2045
2599
# Prefer an explicitly selected file to automatically selected ones.
2057
2611
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2058
2612
do
2059
2613
  test "x$ac_site_file" = xNONE && continue
2060
 
  if test -r "$ac_site_file"; then
2061
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2614
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2615
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2062
2616
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2063
2617
    sed 's/^/| /' "$ac_site_file" >&5
2064
2618
    . "$ac_site_file"
2066
2620
done
2067
2621
 
2068
2622
if test -r "$cache_file"; then
2069
 
  # Some versions of bash will fail to source /dev/null (special
2070
 
  # files actually), so we avoid doing that.
2071
 
  if test -f "$cache_file"; then
2072
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2623
  # Some versions of bash will fail to source /dev/null (special files
 
2624
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2625
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2626
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2073
2627
$as_echo "$as_me: loading cache $cache_file" >&6;}
2074
2628
    case $cache_file in
2075
2629
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2077
2631
    esac
2078
2632
  fi
2079
2633
else
2080
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2634
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2081
2635
$as_echo "$as_me: creating cache $cache_file" >&6;}
2082
2636
  >$cache_file
2083
2637
fi
2092
2646
  eval ac_new_val=\$ac_env_${ac_var}_value
2093
2647
  case $ac_old_set,$ac_new_set in
2094
2648
    set,)
2095
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2649
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2096
2650
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2097
2651
      ac_cache_corrupted=: ;;
2098
2652
    ,set)
2099
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2653
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2100
2654
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2101
2655
      ac_cache_corrupted=: ;;
2102
2656
    ,);;
2106
2660
        ac_old_val_w=`echo x $ac_old_val`
2107
2661
        ac_new_val_w=`echo x $ac_new_val`
2108
2662
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2109
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2663
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2110
2664
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2111
2665
          ac_cache_corrupted=:
2112
2666
        else
2113
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2667
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2114
2668
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2115
2669
          eval $ac_var=\$ac_old_val
2116
2670
        fi
2117
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2671
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2118
2672
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2119
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2673
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2120
2674
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2121
2675
      fi;;
2122
2676
  esac
2128
2682
    esac
2129
2683
    case " $ac_configure_args " in
2130
2684
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2131
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2685
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2132
2686
    esac
2133
2687
  fi
2134
2688
done
2135
2689
if $ac_cache_corrupted; then
2136
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2690
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2137
2691
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2692
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2139
2693
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2140
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2141
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2142
 
   { (exit 1); exit 1; }; }
 
2694
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2143
2695
fi
2144
 
 
2145
 
 
2146
 
 
2147
 
 
2148
 
 
2149
 
 
2150
 
 
2151
 
 
2152
 
 
2153
 
 
2154
 
 
2155
 
 
2156
 
 
2157
 
 
2158
 
 
2159
 
 
2160
 
 
2161
 
 
2162
 
 
2163
 
 
2164
 
 
2165
 
 
2166
 
 
2167
 
 
 
2696
## -------------------- ##
 
2697
## Main body of script. ##
 
2698
## -------------------- ##
2168
2699
 
2169
2700
ac_ext=c
2170
2701
ac_cpp='$CPP $CPPFLAGS'
2177
2708
 
2178
2709
ac_aux_dir=
2179
2710
for ac_dir in build-aux "$srcdir"/build-aux; do
2180
 
  if test -f "$ac_dir/install-sh"; then
2181
 
    ac_aux_dir=$ac_dir
2182
 
    ac_install_sh="$ac_aux_dir/install-sh -c"
2183
 
    break
2184
 
  elif test -f "$ac_dir/install.sh"; then
2185
 
    ac_aux_dir=$ac_dir
2186
 
    ac_install_sh="$ac_aux_dir/install.sh -c"
2187
 
    break
2188
 
  elif test -f "$ac_dir/shtool"; then
2189
 
    ac_aux_dir=$ac_dir
2190
 
    ac_install_sh="$ac_aux_dir/shtool install -c"
2191
 
    break
2192
 
  fi
 
2711
  for ac_t in install-sh install.sh shtool; do
 
2712
    if test -f "$ac_dir/$ac_t"; then
 
2713
      ac_aux_dir=$ac_dir
 
2714
      ac_install_sh="$ac_aux_dir/$ac_t -c"
 
2715
      break 2
 
2716
    fi
 
2717
  done
2193
2718
done
2194
2719
if test -z "$ac_aux_dir"; then
2195
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&5
2196
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in build-aux \"$srcdir\"/build-aux" >&2;}
2197
 
   { (exit 1); exit 1; }; }
 
2720
  as_fn_error "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2198
2721
fi
2199
2722
 
2200
2723
# These three variables are undocumented and unsupported,
2209
2732
 
2210
2733
 
2211
2734
# Check whether --enable-missing was given.
2212
 
if test "${enable_missing+set}" = set; then
 
2735
if test "${enable_missing+set}" = set; then :
2213
2736
  enableval=$enable_missing;
2214
2737
fi
2215
2738
 
2216
2739
# Make sure we can run config.sub.
2217
2740
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2218
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2219
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2220
 
   { (exit 1); exit 1; }; }
 
2741
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2221
2742
 
2222
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2223
2744
$as_echo_n "checking build system type... " >&6; }
2224
 
if test "${ac_cv_build+set}" = set; then
 
2745
if test "${ac_cv_build+set}" = set; then :
2225
2746
  $as_echo_n "(cached) " >&6
2226
2747
else
2227
2748
  ac_build_alias=$build_alias
2228
2749
test "x$ac_build_alias" = x &&
2229
2750
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2230
2751
test "x$ac_build_alias" = x &&
2231
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2232
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2233
 
   { (exit 1); exit 1; }; }
 
2752
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2234
2753
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2235
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2236
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2237
 
   { (exit 1); exit 1; }; }
 
2754
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2238
2755
 
2239
2756
fi
2240
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2241
2758
$as_echo "$ac_cv_build" >&6; }
2242
2759
case $ac_cv_build in
2243
2760
*-*-*) ;;
2244
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2245
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2246
 
   { (exit 1); exit 1; }; };;
 
2761
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2247
2762
esac
2248
2763
build=$ac_cv_build
2249
2764
ac_save_IFS=$IFS; IFS='-'
2259
2774
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2260
2775
 
2261
2776
 
2262
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2263
2778
$as_echo_n "checking host system type... " >&6; }
2264
 
if test "${ac_cv_host+set}" = set; then
 
2779
if test "${ac_cv_host+set}" = set; then :
2265
2780
  $as_echo_n "(cached) " >&6
2266
2781
else
2267
2782
  if test "x$host_alias" = x; then
2268
2783
  ac_cv_host=$ac_cv_build
2269
2784
else
2270
2785
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2271
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2272
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2273
 
   { (exit 1); exit 1; }; }
 
2786
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2274
2787
fi
2275
2788
 
2276
2789
fi
2277
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2278
2791
$as_echo "$ac_cv_host" >&6; }
2279
2792
case $ac_cv_host in
2280
2793
*-*-*) ;;
2281
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2282
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2283
 
   { (exit 1); exit 1; }; };;
 
2794
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2284
2795
esac
2285
2796
host=$ac_cv_host
2286
2797
ac_save_IFS=$IFS; IFS='-'
2300
2811
 
2301
2812
 
2302
2813
# Check whether --enable-all-pkgs was given.
2303
 
if test "${enable_all_pkgs+set}" = set; then
 
2814
if test "${enable_all_pkgs+set}" = set; then :
2304
2815
  enableval=$enable_all_pkgs;
2305
2816
fi
2306
2817
test "x$enable_all_pkgs" = xno || enable_all_pkgs=yes
2307
2818
# Check whether --enable-native-texlive-build was given.
2308
 
if test "${enable_native_texlive_build+set}" = set; then
 
2819
if test "${enable_native_texlive_build+set}" = set; then :
2309
2820
  enableval=$enable_native_texlive_build;
2310
2821
fi
2311
 
case $enable_native_texlive_build in
2312
 
  yes | no) : ;;
2313
 
  *) enable_native_texlive_build=yes
 
2822
case $enable_native_texlive_build in #(
 
2823
  yes | no) :
 
2824
    : ;; #(
 
2825
  *) :
 
2826
    enable_native_texlive_build=yes
2314
2827
         ac_configure_args="$ac_configure_args '--enable-native-texlive-build'" ;;
2315
2828
esac
2316
 
 
2317
2829
if test "x$enable_native_texlive_build" = xyes; then
2318
 
  case $enable_multiplatform in
2319
 
  yes | no) : ;;
2320
 
  *) enable_multiplatform=yes
 
2830
  case $enable_multiplatform in #(
 
2831
  yes | no) :
 
2832
    : ;; #(
 
2833
  *) :
 
2834
    enable_multiplatform=yes
2321
2835
           ac_configure_args="$ac_configure_args '--enable-multiplatform'" ;;
2322
2836
esac
2323
 
 
2324
 
  case $enable_cxx_runtime_hack in
2325
 
  yes | no) : ;;
2326
 
  *) enable_cxx_runtime_hack=yes
 
2837
  case $enable_cxx_runtime_hack in #(
 
2838
  yes | no) :
 
2839
    : ;; #(
 
2840
  *) :
 
2841
    enable_cxx_runtime_hack=yes
2327
2842
           ac_configure_args="$ac_configure_args '--enable-cxx-runtime-hack'" ;;
2328
2843
esac
2329
 
 
2330
 
fi
2331
 
case $enable_shared in
2332
 
  no) : ;;
2333
 
  yes ) if test "x$enable_native_texlive_build" = xyes; then
2334
 
  { { $as_echo "$as_me:$LINENO: error: you can not use a shared Kpathsea library for a native TeX Live build" >&5
2335
 
$as_echo "$as_me: error: you can not use a shared Kpathsea library for a native TeX Live build" >&2;}
2336
 
   { (exit 1); exit 1; }; }
2337
 
fi
2338
 
 ;;
2339
 
  *) enable_shared=no
 
2844
fi
 
2845
case $enable_libtool_hack in #(
 
2846
  yes | no) :
 
2847
    : ;; #(
 
2848
  *) :
 
2849
    case $host_os in #(
 
2850
  do-not-match) :
 
2851
    enable_libtool_hack=no ;; #(
 
2852
  *) :
 
2853
    enable_libtool_hack=yes ;;
 
2854
esac
 
2855
         ac_configure_args="$ac_configure_args '--enable-libtool-hack=$enable_libtool_hack'" ;;
 
2856
esac
 
2857
case $enable_shared in #(
 
2858
  no) :
 
2859
    : ;; #(
 
2860
  yes ) :
 
2861
    if test "x$enable_native_texlive_build" = xyes; then :
 
2862
  as_fn_error "you can not use a shared Kpathsea library for a native TeX Live build" "$LINENO" 5
 
2863
fi ;; #(
 
2864
  *) :
 
2865
    enable_shared=no
2340
2866
         ac_configure_args="$ac_configure_args '--disable-shared'" ;;
2341
2867
esac
2342
 
 
2343
 
case $enable_texlive_build in
2344
 
  yes) : ;;
2345
 
  no) { { $as_echo "$as_me:$LINENO: error: you can not configure the TeX Live tree with \`--disable-texlive-build'" >&5
2346
 
$as_echo "$as_me: error: you can not configure the TeX Live tree with \`--disable-texlive-build'" >&2;}
2347
 
   { (exit 1); exit 1; }; } ;;
2348
 
  *) enable_texlive_build=yes
 
2868
case $enable_texlive_build in #(
 
2869
  yes) :
 
2870
    : ;; #(
 
2871
  no) :
 
2872
    as_fn_error "you can not configure the TeX Live tree with \`--disable-texlive-build'" "$LINENO" 5 ;; #(
 
2873
  *) :
 
2874
    enable_texlive_build=yes
2349
2875
         ac_configure_args="$ac_configure_args '--enable-texlive-build'" ;;
2350
2876
esac
2351
 
 
2352
2877
# Check whether --enable-multiplatform was given.
2353
 
if test "${enable_multiplatform+set}" = set; then
 
2878
if test "${enable_multiplatform+set}" = set; then :
2354
2879
  enableval=$enable_multiplatform;
2355
2880
fi
2356
2881
if test "x$enable_multiplatform" = xyes; then
2365
2890
fi
2366
2891
 
2367
2892
# Check whether --enable-cxx-runtime-hack was given.
2368
 
if test "${enable_cxx_runtime_hack+set}" = set; then
 
2893
if test "${enable_cxx_runtime_hack+set}" = set; then :
2369
2894
  enableval=$enable_cxx_runtime_hack;
2370
2895
fi
2371
2896
 
2372
 
 
2373
 
 
2374
 
case $with_x in
2375
 
  yes | no) : ;;
2376
 
  *) with_x=yes
2377
 
         { $as_echo "$as_me:$LINENO: Assuming \`--with-x'" >&5
 
2897
# Check whether --enable-libtool-hack was given.
 
2898
if test "${enable_libtool_hack+set}" = set; then :
 
2899
  enableval=$enable_libtool_hack;
 
2900
fi
 
2901
 
 
2902
 
 
2903
 
 
2904
case $with_x in #(
 
2905
  yes | no) :
 
2906
    : ;; #(
 
2907
  *) :
 
2908
    with_x=yes
 
2909
         { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
2378
2910
$as_echo "$as_me: Assuming \`--with-x'" >&6;}
2379
2911
         ac_configure_args="$ac_configure_args '--with-x'" ;;
2380
2912
esac
2391
2923
## texk/web2c/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/web2c/
2392
2924
## configure options and TL libraries required for web2c
2393
2925
# Check whether --enable-web2c was given.
2394
 
if test "${enable_web2c+set}" = set; then
 
2926
if test "${enable_web2c+set}" = set; then :
2395
2927
  enableval=$enable_web2c;
2396
2928
fi
2397
2929
case $enable_web2c in #(
2398
 
  yes|no);; #(
2399
 
  *) enable_web2c=$enable_all_pkgs
2400
 
     { $as_echo "$as_me:$LINENO: Assuming \`--enable-web2c=$enable_web2c'" >&5
 
2930
  yes|no) :
 
2931
     ;; #(
 
2932
  *) :
 
2933
 
 
2934
   enable_web2c=$enable_all_pkgs
 
2935
     { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--enable-web2c=$enable_web2c'" >&5
2401
2936
$as_echo "$as_me: Assuming \`--enable-web2c=$enable_web2c'" >&6;}
2402
 
     ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'";;
 
2937
     ac_configure_args="$ac_configure_args '--enable-web2c=$enable_web2c'"
 
2938
    ;;
2403
2939
esac
2404
2940
 
2405
2941
test "x$enable_web2c" = xno || {
2411
2947
## configure options for TeX and MF
2412
2948
 
2413
2949
# Check whether --with-tex-banner was given.
2414
 
if test "${with_tex_banner+set}" = set; then
 
2950
if test "${with_tex_banner+set}" = set; then :
2415
2951
  withval=$with_tex_banner;
2416
2952
fi
2417
2953
 
2418
2954
# Check whether --with-editor was given.
2419
 
if test "${with_editor+set}" = set; then
 
2955
if test "${with_editor+set}" = set; then :
2420
2956
  withval=$with_editor;
2421
2957
fi
2422
2958
# Check whether --enable-auto-core was given.
2423
 
if test "${enable_auto_core+set}" = set; then
 
2959
if test "${enable_auto_core+set}" = set; then :
2424
2960
  enableval=$enable_auto_core;
2425
2961
fi
2426
2962
# Check whether --enable-dump-share was given.
2427
 
if test "${enable_dump_share+set}" = set; then
 
2963
if test "${enable_dump_share+set}" = set; then :
2428
2964
  enableval=$enable_dump_share;
2429
2965
fi
2430
2966
## configure options for TeX
2431
2967
# Check whether --enable-ipc was given.
2432
 
if test "${enable_ipc+set}" = set; then
 
2968
if test "${enable_ipc+set}" = set; then :
2433
2969
  enableval=$enable_ipc;
2434
2970
fi
2435
2971
# Check whether --enable-omfonts was given.
2436
 
if test "${enable_omfonts+set}" = set; then
 
2972
if test "${enable_omfonts+set}" = set; then :
2437
2973
  enableval=$enable_omfonts;
2438
2974
fi
2439
2975
# Check whether --enable-tex was given.
2440
 
if test "${enable_tex+set}" = set; then
 
2976
if test "${enable_tex+set}" = set; then :
2441
2977
  enableval=$enable_tex;
2442
2978
fi
2443
 
case $enable_tex in
2444
 
  yes|no) : ;;
2445
 
  *) enable_tex=yes ;;
 
2979
case $enable_tex in #(
 
2980
  yes|no) :
 
2981
     ;; #(
 
2982
  *) :
 
2983
    enable_tex=yes ;;
2446
2984
esac
2447
2985
# Check whether --enable-etex was given.
2448
 
if test "${enable_etex+set}" = set; then
 
2986
if test "${enable_etex+set}" = set; then :
2449
2987
  enableval=$enable_etex;
2450
2988
fi
2451
 
case $enable_etex in
2452
 
  yes|no) : ;;
2453
 
  *) enable_etex=no ;;
2454
 
esac
 
2989
case $enable_etex in #(
 
2990
  yes|no) :
 
2991
     ;; #(
 
2992
  *) :
 
2993
    enable_etex=no ;;
 
2994
esac
 
2995
# Check whether --enable-ptex was given.
 
2996
if test "${enable_ptex+set}" = set; then :
 
2997
  enableval=$enable_ptex;
 
2998
fi
 
2999
case $enable_ptex in #(
 
3000
  yes|no) :
 
3001
     ;; #(
 
3002
  *) :
 
3003
    enable_ptex=yes ;;
 
3004
esac
 
3005
 
 
3006
test "x$enable_web2c:$enable_ptex" = xyes:yes && {
 
3007
  need_ptexenc=yes
 
3008
}
2455
3009
# Check whether --enable-aleph was given.
2456
 
if test "${enable_aleph+set}" = set; then
 
3010
if test "${enable_aleph+set}" = set; then :
2457
3011
  enableval=$enable_aleph;
2458
3012
fi
2459
 
case $enable_aleph in
2460
 
  yes|no) : ;;
2461
 
  *) enable_aleph=yes ;;
 
3013
case $enable_aleph in #(
 
3014
  yes|no) :
 
3015
     ;; #(
 
3016
  *) :
 
3017
    enable_aleph=yes ;;
2462
3018
esac
2463
3019
# Check whether --enable-pdftex was given.
2464
 
if test "${enable_pdftex+set}" = set; then
 
3020
if test "${enable_pdftex+set}" = set; then :
2465
3021
  enableval=$enable_pdftex;
2466
3022
fi
2467
 
case $enable_pdftex in
2468
 
  yes|no) : ;;
2469
 
  *) enable_pdftex=yes ;;
 
3023
case $enable_pdftex in #(
 
3024
  yes|no) :
 
3025
     ;; #(
 
3026
  *) :
 
3027
    enable_pdftex=yes ;;
2470
3028
esac
2471
3029
 
2472
3030
test "x$enable_web2c:$enable_pdftex" = xyes:yes && {
2475
3033
  need_obsdcompat=yes
2476
3034
}
2477
3035
# Check whether --enable-luatex was given.
2478
 
if test "${enable_luatex+set}" = set; then
 
3036
if test "${enable_luatex+set}" = set; then :
2479
3037
  enableval=$enable_luatex;
2480
3038
fi
2481
 
case $enable_luatex in
2482
 
  yes|no) : ;;
2483
 
  *) enable_luatex=yes ;;
 
3039
case $enable_luatex in #(
 
3040
  yes|no) :
 
3041
     ;; #(
 
3042
  *) :
 
3043
    enable_luatex=yes ;;
2484
3044
esac
2485
3045
 
2486
3046
test "x$enable_web2c:$enable_luatex" = xyes:yes && {
2487
3047
  need_xpdf=yes
2488
3048
  need_libpng=yes
2489
3049
  need_obsdcompat=yes
 
3050
  need_zziplib=yes
2490
3051
}
2491
3052
# Check whether --enable-xetex was given.
2492
 
if test "${enable_xetex+set}" = set; then
 
3053
if test "${enable_xetex+set}" = set; then :
2493
3054
  enableval=$enable_xetex;
2494
3055
fi
2495
 
case $enable_xetex in
2496
 
  yes|no) : ;;
2497
 
  *) enable_xetex=yes ;;
 
3056
case $enable_xetex in #(
 
3057
  yes|no) :
 
3058
     ;; #(
 
3059
  *) :
 
3060
    enable_xetex=yes ;;
2498
3061
esac
2499
3062
 
2500
3063
test "x$enable_web2c:$enable_xetex" = xyes:yes && {
2501
3064
  need_xpdf=yes
2502
3065
  need_libpng=yes
2503
3066
  need_freetype2=yes
2504
 
  need_icu=yes
 
3067
  need_icu_xetex=yes
2505
3068
  need_teckit=yes
2506
3069
  need_graphite=yes
2507
3070
}
2508
3071
## configure options for MF
2509
3072
# Check whether --enable-mf was given.
2510
 
if test "${enable_mf+set}" = set; then
 
3073
if test "${enable_mf+set}" = set; then :
2511
3074
  enableval=$enable_mf;
2512
3075
fi
2513
3076
# Check whether --enable-mf-nowin was given.
2514
 
if test "${enable_mf_nowin+set}" = set; then
 
3077
if test "${enable_mf_nowin+set}" = set; then :
2515
3078
  enableval=$enable_mf_nowin;
2516
3079
fi
2517
3080
 
2518
3081
# Check whether --with-mf-x-toolkit was given.
2519
 
if test "${with_mf_x_toolkit+set}" = set; then
 
3082
if test "${with_mf_x_toolkit+set}" = set; then :
2520
3083
  withval=$with_mf_x_toolkit;
2521
3084
fi
2522
3085
# Check whether --enable-epsfwin was given.
2523
 
if test "${enable_epsfwin+set}" = set; then
 
3086
if test "${enable_epsfwin+set}" = set; then :
2524
3087
  enableval=$enable_epsfwin;
2525
3088
fi
2526
3089
# Check whether --enable-hp2627win was given.
2527
 
if test "${enable_hp2627win+set}" = set; then
 
3090
if test "${enable_hp2627win+set}" = set; then :
2528
3091
  enableval=$enable_hp2627win;
2529
3092
fi
2530
3093
# Check whether --enable-mftalkwin was given.
2531
 
if test "${enable_mftalkwin+set}" = set; then
 
3094
if test "${enable_mftalkwin+set}" = set; then :
2532
3095
  enableval=$enable_mftalkwin;
2533
3096
fi
2534
3097
# Check whether --enable-nextwin was given.
2535
 
if test "${enable_nextwin+set}" = set; then
 
3098
if test "${enable_nextwin+set}" = set; then :
2536
3099
  enableval=$enable_nextwin;
2537
3100
fi
2538
3101
# Check whether --enable-regiswin was given.
2539
 
if test "${enable_regiswin+set}" = set; then
 
3102
if test "${enable_regiswin+set}" = set; then :
2540
3103
  enableval=$enable_regiswin;
2541
3104
fi
2542
3105
# Check whether --enable-suntoolswin was given.
2543
 
if test "${enable_suntoolswin+set}" = set; then
 
3106
if test "${enable_suntoolswin+set}" = set; then :
2544
3107
  enableval=$enable_suntoolswin;
2545
3108
fi
2546
3109
# Check whether --enable-tektronixwin was given.
2547
 
if test "${enable_tektronixwin+set}" = set; then
 
3110
if test "${enable_tektronixwin+set}" = set; then :
2548
3111
  enableval=$enable_tektronixwin;
2549
3112
fi
2550
3113
# Check whether --enable-unitermwin was given.
2551
 
if test "${enable_unitermwin+set}" = set; then
 
3114
if test "${enable_unitermwin+set}" = set; then :
2552
3115
  enableval=$enable_unitermwin;
2553
3116
fi
2554
3117
## configure options for MP
2555
3118
# Check whether --enable-mp was given.
2556
 
if test "${enable_mp+set}" = set; then
 
3119
if test "${enable_mp+set}" = set; then :
2557
3120
  enableval=$enable_mp;
2558
3121
fi
2559
3122
## configure options for WEB programs
2560
3123
# Check whether --enable-web-progs was given.
2561
 
if test "${enable_web_progs+set}" = set; then
 
3124
if test "${enable_web_progs+set}" = set; then :
2562
3125
  enableval=$enable_web_progs;
2563
3126
fi
2564
3127
 
2592
3155
 
2593
3156
 
2594
3157
 
2595
 
## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
2596
 
## configure options and TL libraries required for kpathsea
2597
 
 
2598
 
# Check whether --with-system-kpathsea was given.
2599
 
if test "${with_system_kpathsea+set}" = set; then
2600
 
  withval=$with_system_kpathsea;
2601
 
fi
2602
 
 
2603
 
# Check whether --with-kpathsea-includes was given.
2604
 
if test "${with_kpathsea_includes+set}" = set; then
2605
 
  withval=$with_kpathsea_includes;
2606
 
fi
2607
 
 
2608
 
# Check whether --with-kpathsea-libdir was given.
2609
 
if test "${with_kpathsea_libdir+set}" = set; then
2610
 
  withval=$with_kpathsea_libdir;
2611
 
fi
2612
 
if test "x$with_system_kpathsea" = x; then
2613
 
  if test -f $srcdir/texk/kpathsea/configure; then
2614
 
    { $as_echo "$as_me:$LINENO: Assuming \`kpathsea' headers and library from TL tree" >&5
2615
 
$as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;}
2616
 
    with_system_kpathsea=no
 
3158
 
 
3159
 
 
3160
 
 
3161
 
 
3162
 
 
3163
 
 
3164
 
 
3165
## libs/zziplib/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
 
3166
## configure options and TL libraries required for zziplib
 
3167
 
 
3168
# Check whether --with-system-zziplib was given.
 
3169
if test "${with_system_zziplib+set}" = set; then :
 
3170
  withval=$with_system_zziplib;
 
3171
fi
 
3172
if test "x$with_system_zziplib" = x; then
 
3173
  if test -f $srcdir/libs/zziplib/configure; then
 
3174
    { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zziplib' headers and library from TL tree" >&5
 
3175
$as_echo "$as_me: Assuming \`zziplib' headers and library from TL tree" >&6;}
 
3176
    with_system_zziplib=no
2617
3177
  else
2618
 
    { $as_echo "$as_me:$LINENO: Assuming installed \`kpathsea' headers and library" >&5
2619
 
$as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;}
2620
 
    with_system_kpathsea=yes
 
3178
    { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zziplib' headers and library" >&5
 
3179
$as_echo "$as_me: Assuming installed \`zziplib' headers and library" >&6;}
 
3180
    with_system_zziplib=yes
2621
3181
  fi
2622
 
  ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
2623
 
elif test "x$with_system_kpathsea" = xyes; then
2624
 
  { $as_echo "$as_me:$LINENO: Using installed \`kpathsea' headers and library" >&5
2625
 
$as_echo "$as_me: Using installed \`kpathsea' headers and library" >&6;}
 
3182
  ac_configure_args="$ac_configure_args '--with-system-zziplib=$with_system_zziplib'"
 
3183
elif test "x$with_system_zziplib" = xyes; then
 
3184
  { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`zziplib' headers and library" >&5
 
3185
$as_echo "$as_me: Using installed \`zziplib' headers and library" >&6;}
2626
3186
else
2627
 
  { $as_echo "$as_me:$LINENO: Using \`kpathsea' headers and library from TL tree" >&5
2628
 
$as_echo "$as_me: Using \`kpathsea' headers and library from TL tree" >&6;}
2629
 
  if test "x$with_system_kpathsea" != xno; then
2630
 
    with_system_kpathsea=no
2631
 
    ac_configure_args="$ac_configure_args '--without-system-kpathsea'"
2632
 
  fi
2633
 
fi
2634
 
 
2635
 
## texk/kpathsea/ac/web2c.ac: configure.ac fragment for the TeX Live
2636
 
## subdirectory texk/kpathsea.
2637
 
## configure defaults for mktexfmt & Co.
2638
 
# Check whether --enable-mktexmf-default was given.
2639
 
if test "${enable_mktexmf_default+set}" = set; then
2640
 
  enableval=$enable_mktexmf_default;
2641
 
fi
2642
 
case $enable_mktexmf_default in
2643
 
  yes|no) : ;;
2644
 
  *) enable_mktexmf_default=yes ;;
2645
 
esac
2646
 
# Check whether --enable-mktexpk-default was given.
2647
 
if test "${enable_mktexpk_default+set}" = set; then
2648
 
  enableval=$enable_mktexpk_default;
2649
 
fi
2650
 
case $enable_mktexpk_default in
2651
 
  yes|no) : ;;
2652
 
  *) enable_mktexpk_default=yes ;;
2653
 
esac
2654
 
# Check whether --enable-mktextfm-default was given.
2655
 
if test "${enable_mktextfm_default+set}" = set; then
2656
 
  enableval=$enable_mktextfm_default;
2657
 
fi
2658
 
case $enable_mktextfm_default in
2659
 
  yes|no) : ;;
2660
 
  *) enable_mktextfm_default=yes ;;
2661
 
esac
2662
 
# Check whether --enable-mkocp-default was given.
2663
 
if test "${enable_mkocp_default+set}" = set; then
2664
 
  enableval=$enable_mkocp_default;
2665
 
fi
2666
 
case $enable_mkocp_default in
2667
 
  yes|no) : ;;
2668
 
  *) enable_mkocp_default=yes ;;
2669
 
esac
2670
 
# Check whether --enable-mkofm-default was given.
2671
 
if test "${enable_mkofm_default+set}" = set; then
2672
 
  enableval=$enable_mkofm_default;
2673
 
fi
2674
 
case $enable_mkofm_default in
2675
 
  yes|no) : ;;
2676
 
  *) enable_mkofm_default=yes ;;
2677
 
esac
2678
 
# Check whether --enable-mktexfmt-default was given.
2679
 
if test "${enable_mktexfmt_default+set}" = set; then
2680
 
  enableval=$enable_mktexfmt_default;
2681
 
fi
2682
 
case $enable_mktexfmt_default in
2683
 
  yes|no) : ;;
2684
 
  *) enable_mktexfmt_default=yes ;;
2685
 
esac
2686
 
# Check whether --enable-mktextex-default was given.
2687
 
if test "${enable_mktextex_default+set}" = set; then
2688
 
  enableval=$enable_mktextex_default;
2689
 
fi
2690
 
case $enable_mktextex_default in
2691
 
  yes|no) : ;;
2692
 
  *) enable_mktextex_default=no ;;
2693
 
esac
2694
 
 
2695
 
 
2696
 
 
 
3187
  { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zziplib' headers and library from TL tree" >&5
 
3188
$as_echo "$as_me: Using \`zziplib' headers and library from TL tree" >&6;}
 
3189
  if test "x$with_system_zziplib" != xno; then
 
3190
    with_system_zziplib=no
 
3191
    ac_configure_args="$ac_configure_args '--without-system-zziplib'"
 
3192
  fi
 
3193
fi
 
3194
if test "x$with_system_zziplib" = xyes; then
 
3195
  if test "x$with_system_zlib" = x; then
 
3196
    { $as_echo "$as_me:${as_lineno-$LINENO}:   ->  installed \`zlib' headers and library" >&5
 
3197
$as_echo "$as_me:   ->  installed \`zlib' headers and library" >&6;}
 
3198
    with_system_zlib=yes
 
3199
    ac_configure_args="$ac_configure_args '--with-system-zlib'"
 
3200
  elif test "x$with_system_zlib" != xyes; then
 
3201
    as_fn_error "Sorry, \`--with-system-zziplib' requires \`--with-system-zlib'" "$LINENO" 5
 
3202
  fi
 
3203
fi
 
3204
 
 
3205
test "x$need_zziplib" = xyes && {
 
3206
  need_zlib=yes
 
3207
}
2697
3208
 
2698
3209
 
2699
3210
## libs/xpdf/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/xpdf/
2700
3211
## configure options and TL libraries required for xpdf
2701
3212
 
2702
3213
# Check whether --with-system-xpdf was given.
2703
 
if test "${with_system_xpdf+set}" = set; then
 
3214
if test "${with_system_xpdf+set}" = set; then :
2704
3215
  withval=$with_system_xpdf;
2705
3216
fi
2706
3217
if test "x$with_system_xpdf" = x; then
2707
3218
  if test -f $srcdir/libs/xpdf/configure; then
2708
 
    { $as_echo "$as_me:$LINENO: Assuming \`xpdf' headers and library from TL tree" >&5
 
3219
    { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`xpdf' headers and library from TL tree" >&5
2709
3220
$as_echo "$as_me: Assuming \`xpdf' headers and library from TL tree" >&6;}
2710
3221
    with_system_xpdf=no
2711
3222
  else
2712
 
    { $as_echo "$as_me:$LINENO: Assuming installed \`xpdf' headers and library" >&5
 
3223
    { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`xpdf' headers and library" >&5
2713
3224
$as_echo "$as_me: Assuming installed \`xpdf' headers and library" >&6;}
2714
3225
    with_system_xpdf=yes
2715
3226
  fi
2716
3227
  ac_configure_args="$ac_configure_args '--with-system-xpdf=$with_system_xpdf'"
2717
3228
elif test "x$with_system_xpdf" = xyes; then
2718
 
  { $as_echo "$as_me:$LINENO: Using installed \`xpdf' headers and library" >&5
 
3229
  { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`xpdf' headers and library" >&5
2719
3230
$as_echo "$as_me: Using installed \`xpdf' headers and library" >&6;}
2720
3231
else
2721
 
  { $as_echo "$as_me:$LINENO: Using \`xpdf' headers and library from TL tree" >&5
 
3232
  { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`xpdf' headers and library from TL tree" >&5
2722
3233
$as_echo "$as_me: Using \`xpdf' headers and library from TL tree" >&6;}
2723
3234
  if test "x$with_system_xpdf" != xno; then
2724
3235
    with_system_xpdf=no
2735
3246
## configure options and TL libraries required for obsdcompat
2736
3247
 
2737
3248
 
2738
 
## libs/libpng/kpse/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
 
3249
## libs/libpng/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
2739
3250
## configure options and TL libraries required for libpng
2740
3251
 
2741
3252
# Check whether --with-system-libpng was given.
2742
 
if test "${with_system_libpng+set}" = set; then
 
3253
if test "${with_system_libpng+set}" = set; then :
2743
3254
  withval=$with_system_libpng;
2744
3255
fi
2745
3256
 
2746
3257
# Check whether --with-libpng-includes was given.
2747
 
if test "${with_libpng_includes+set}" = set; then
 
3258
if test "${with_libpng_includes+set}" = set; then :
2748
3259
  withval=$with_libpng_includes;
2749
3260
fi
2750
3261
 
2751
3262
# Check whether --with-libpng-libdir was given.
2752
 
if test "${with_libpng_libdir+set}" = set; then
 
3263
if test "${with_libpng_libdir+set}" = set; then :
2753
3264
  withval=$with_libpng_libdir;
2754
3265
fi
2755
3266
if test "x$with_system_libpng" = x; then
2756
3267
  if test -f $srcdir/libs/libpng/configure; then
2757
 
    { $as_echo "$as_me:$LINENO: Assuming \`libpng' headers and library from TL tree" >&5
 
3268
    { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`libpng' headers and library from TL tree" >&5
2758
3269
$as_echo "$as_me: Assuming \`libpng' headers and library from TL tree" >&6;}
2759
3270
    with_system_libpng=no
2760
3271
  else
2761
 
    { $as_echo "$as_me:$LINENO: Assuming installed \`libpng' headers and library" >&5
 
3272
    { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`libpng' headers and library" >&5
2762
3273
$as_echo "$as_me: Assuming installed \`libpng' headers and library" >&6;}
2763
3274
    with_system_libpng=yes
2764
3275
  fi
2765
3276
  ac_configure_args="$ac_configure_args '--with-system-libpng=$with_system_libpng'"
2766
3277
elif test "x$with_system_libpng" = xyes; then
2767
 
  { $as_echo "$as_me:$LINENO: Using installed \`libpng' headers and library" >&5
 
3278
  { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`libpng' headers and library" >&5
2768
3279
$as_echo "$as_me: Using installed \`libpng' headers and library" >&6;}
2769
3280
else
2770
 
  { $as_echo "$as_me:$LINENO: Using \`libpng' headers and library from TL tree" >&5
 
3281
  { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`libpng' headers and library from TL tree" >&5
2771
3282
$as_echo "$as_me: Using \`libpng' headers and library from TL tree" >&6;}
2772
3283
  if test "x$with_system_libpng" != xno; then
2773
3284
    with_system_libpng=no
2776
3287
fi
2777
3288
if test "x$with_system_libpng" = xyes; then
2778
3289
  if test "x$with_system_zlib" = x; then
2779
 
    { $as_echo "$as_me:$LINENO:   ->  installed \`zlib' headers and library" >&5
 
3290
    { $as_echo "$as_me:${as_lineno-$LINENO}:   ->  installed \`zlib' headers and library" >&5
2780
3291
$as_echo "$as_me:   ->  installed \`zlib' headers and library" >&6;}
2781
3292
    with_system_zlib=yes
2782
3293
    ac_configure_args="$ac_configure_args '--with-system-zlib'"
2783
3294
  elif test "x$with_system_zlib" != xyes; then
2784
 
    { { $as_echo "$as_me:$LINENO: error: Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" >&5
2785
 
$as_echo "$as_me: error: Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" >&2;}
2786
 
   { (exit 1); exit 1; }; }
 
3295
    as_fn_error "Sorry, \`--with-system-libpng' requires \`--with-system-zlib'" "$LINENO" 5
2787
3296
  fi
2788
3297
fi
2789
3298
 
2796
3305
## configure options and TL libraries required for zlib
2797
3306
 
2798
3307
# Check whether --with-system-zlib was given.
2799
 
if test "${with_system_zlib+set}" = set; then
 
3308
if test "${with_system_zlib+set}" = set; then :
2800
3309
  withval=$with_system_zlib;
2801
3310
fi
2802
3311
 
2803
3312
# Check whether --with-zlib-includes was given.
2804
 
if test "${with_zlib_includes+set}" = set; then
 
3313
if test "${with_zlib_includes+set}" = set; then :
2805
3314
  withval=$with_zlib_includes;
2806
3315
fi
2807
3316
 
2808
3317
# Check whether --with-zlib-libdir was given.
2809
 
if test "${with_zlib_libdir+set}" = set; then
 
3318
if test "${with_zlib_libdir+set}" = set; then :
2810
3319
  withval=$with_zlib_libdir;
2811
3320
fi
2812
3321
if test "x$with_system_zlib" = x; then
2813
3322
  if test -f $srcdir/libs/zlib/configure; then
2814
 
    { $as_echo "$as_me:$LINENO: Assuming \`zlib' headers and library from TL tree" >&5
 
3323
    { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`zlib' headers and library from TL tree" >&5
2815
3324
$as_echo "$as_me: Assuming \`zlib' headers and library from TL tree" >&6;}
2816
3325
    with_system_zlib=no
2817
3326
  else
2818
 
    { $as_echo "$as_me:$LINENO: Assuming installed \`zlib' headers and library" >&5
 
3327
    { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`zlib' headers and library" >&5
2819
3328
$as_echo "$as_me: Assuming installed \`zlib' headers and library" >&6;}
2820
3329
    with_system_zlib=yes
2821
3330
  fi
2822
3331
  ac_configure_args="$ac_configure_args '--with-system-zlib=$with_system_zlib'"
2823
3332
elif test "x$with_system_zlib" = xyes; then
2824
 
  { $as_echo "$as_me:$LINENO: Using installed \`zlib' headers and library" >&5
 
3333
  { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`zlib' headers and library" >&5
2825
3334
$as_echo "$as_me: Using installed \`zlib' headers and library" >&6;}
2826
3335
else
2827
 
  { $as_echo "$as_me:$LINENO: Using \`zlib' headers and library from TL tree" >&5
 
3336
  { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`zlib' headers and library from TL tree" >&5
2828
3337
$as_echo "$as_me: Using \`zlib' headers and library from TL tree" >&6;}
2829
3338
  if test "x$with_system_zlib" != xno; then
2830
3339
    with_system_zlib=no
2835
3344
 
2836
3345
 
2837
3346
 
2838
 
 
2839
 
am__api_version='1.10'
 
3347
## texk/kpathsea/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
 
3348
## configure options and TL libraries required for kpathsea
 
3349
 
 
3350
# Check whether --with-system-kpathsea was given.
 
3351
if test "${with_system_kpathsea+set}" = set; then :
 
3352
  withval=$with_system_kpathsea;
 
3353
fi
 
3354
 
 
3355
# Check whether --with-kpathsea-includes was given.
 
3356
if test "${with_kpathsea_includes+set}" = set; then :
 
3357
  withval=$with_kpathsea_includes;
 
3358
fi
 
3359
 
 
3360
# Check whether --with-kpathsea-libdir was given.
 
3361
if test "${with_kpathsea_libdir+set}" = set; then :
 
3362
  withval=$with_kpathsea_libdir;
 
3363
fi
 
3364
if test "x$with_system_kpathsea" = x; then
 
3365
  if test -f $srcdir/texk/kpathsea/configure; then
 
3366
    { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`kpathsea' headers and library from TL tree" >&5
 
3367
$as_echo "$as_me: Assuming \`kpathsea' headers and library from TL tree" >&6;}
 
3368
    with_system_kpathsea=no
 
3369
  else
 
3370
    { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming installed \`kpathsea' headers and library" >&5
 
3371
$as_echo "$as_me: Assuming installed \`kpathsea' headers and library" >&6;}
 
3372
    with_system_kpathsea=yes
 
3373
  fi
 
3374
  ac_configure_args="$ac_configure_args '--with-system-kpathsea=$with_system_kpathsea'"
 
3375
elif test "x$with_system_kpathsea" = xyes; then
 
3376
  { $as_echo "$as_me:${as_lineno-$LINENO}: Using installed \`kpathsea' headers and library" >&5
 
3377
$as_echo "$as_me: Using installed \`kpathsea' headers and library" >&6;}
 
3378
else
 
3379
  { $as_echo "$as_me:${as_lineno-$LINENO}: Using \`kpathsea' headers and library from TL tree" >&5
 
3380
$as_echo "$as_me: Using \`kpathsea' headers and library from TL tree" >&6;}
 
3381
  if test "x$with_system_kpathsea" != xno; then
 
3382
    with_system_kpathsea=no
 
3383
    ac_configure_args="$ac_configure_args '--without-system-kpathsea'"
 
3384
  fi
 
3385
fi
 
3386
 
 
3387
## texk/kpathsea/ac/web2c.ac: configure.ac fragment for the TeX Live
 
3388
## subdirectory texk/kpathsea.
 
3389
## configure defaults for mktexfmt & Co.
 
3390
# Check whether --enable-mktexmf-default was given.
 
3391
if test "${enable_mktexmf_default+set}" = set; then :
 
3392
  enableval=$enable_mktexmf_default;
 
3393
fi
 
3394
case $enable_mktexmf_default in #(
 
3395
  yes|no) :
 
3396
     ;; #(
 
3397
  *) :
 
3398
    enable_mktexmf_default=yes ;;
 
3399
esac
 
3400
# Check whether --enable-mktexpk-default was given.
 
3401
if test "${enable_mktexpk_default+set}" = set; then :
 
3402
  enableval=$enable_mktexpk_default;
 
3403
fi
 
3404
case $enable_mktexpk_default in #(
 
3405
  yes|no) :
 
3406
     ;; #(
 
3407
  *) :
 
3408
    enable_mktexpk_default=yes ;;
 
3409
esac
 
3410
# Check whether --enable-mktextfm-default was given.
 
3411
if test "${enable_mktextfm_default+set}" = set; then :
 
3412
  enableval=$enable_mktextfm_default;
 
3413
fi
 
3414
case $enable_mktextfm_default in #(
 
3415
  yes|no) :
 
3416
     ;; #(
 
3417
  *) :
 
3418
    enable_mktextfm_default=yes ;;
 
3419
esac
 
3420
# Check whether --enable-mkocp-default was given.
 
3421
if test "${enable_mkocp_default+set}" = set; then :
 
3422
  enableval=$enable_mkocp_default;
 
3423
fi
 
3424
case $enable_mkocp_default in #(
 
3425
  yes|no) :
 
3426
     ;; #(
 
3427
  *) :
 
3428
    enable_mkocp_default=yes ;;
 
3429
esac
 
3430
# Check whether --enable-mkofm-default was given.
 
3431
if test "${enable_mkofm_default+set}" = set; then :
 
3432
  enableval=$enable_mkofm_default;
 
3433
fi
 
3434
case $enable_mkofm_default in #(
 
3435
  yes|no) :
 
3436
     ;; #(
 
3437
  *) :
 
3438
    enable_mkofm_default=yes ;;
 
3439
esac
 
3440
# Check whether --enable-mktexfmt-default was given.
 
3441
if test "${enable_mktexfmt_default+set}" = set; then :
 
3442
  enableval=$enable_mktexfmt_default;
 
3443
fi
 
3444
case $enable_mktexfmt_default in #(
 
3445
  yes|no) :
 
3446
     ;; #(
 
3447
  *) :
 
3448
    enable_mktexfmt_default=yes ;;
 
3449
esac
 
3450
# Check whether --enable-mktextex-default was given.
 
3451
if test "${enable_mktextex_default+set}" = set; then :
 
3452
  enableval=$enable_mktextex_default;
 
3453
fi
 
3454
case $enable_mktextex_default in #(
 
3455
  yes|no) :
 
3456
     ;; #(
 
3457
  *) :
 
3458
    enable_mktextex_default=no ;;
 
3459
esac
 
3460
 
 
3461
 
 
3462
 
 
3463
 
 
3464
 
 
3465
am__api_version='1.11'
2840
3466
 
2841
3467
# Find a good install program.  We prefer a C program (faster),
2842
3468
# so one script is as good as another.  But avoid the broken or
2852
3478
# OS/2's system install, which has a completely different semantic
2853
3479
# ./install, which can be erroneously created by make from ./install.sh.
2854
3480
# Reject install programs that cannot install multiple files.
2855
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2856
3482
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2857
3483
if test -z "$INSTALL"; then
2858
 
if test "${ac_cv_path_install+set}" = set; then
 
3484
if test "${ac_cv_path_install+set}" = set; then :
2859
3485
  $as_echo_n "(cached) " >&6
2860
3486
else
2861
3487
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863
3489
do
2864
3490
  IFS=$as_save_IFS
2865
3491
  test -z "$as_dir" && as_dir=.
2866
 
  # Account for people who put trailing slashes in PATH elements.
2867
 
case $as_dir/ in
2868
 
  ./ | .// | /cC/* | \
 
3492
    # Account for people who put trailing slashes in PATH elements.
 
3493
case $as_dir/ in #((
 
3494
  ./ | .// | /[cC]/* | \
2869
3495
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2870
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
3496
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2871
3497
  /usr/ucb/* ) ;;
2872
3498
  *)
2873
3499
    # OSF1 and SCO ODT 3.0 have their own names for install.
2904
3530
    ;;
2905
3531
esac
2906
3532
 
2907
 
done
 
3533
  done
2908
3534
IFS=$as_save_IFS
2909
3535
 
2910
3536
rm -rf conftest.one conftest.two conftest.dir
2920
3546
    INSTALL=$ac_install_sh
2921
3547
  fi
2922
3548
fi
2923
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3549
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2924
3550
$as_echo "$INSTALL" >&6; }
2925
3551
 
2926
3552
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2931
3557
 
2932
3558
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2933
3559
 
2934
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
3560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2935
3561
$as_echo_n "checking whether build environment is sane... " >&6; }
2936
3562
# Just in case
2937
3563
sleep 1
2938
3564
echo timestamp > conftest.file
 
3565
# Reject unsafe characters in $srcdir or the absolute working directory
 
3566
# name.  Accept space and tab only in the latter.
 
3567
am_lf='
 
3568
'
 
3569
case `pwd` in
 
3570
  *[\\\"\#\$\&\'\`$am_lf]*)
 
3571
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
 
3572
esac
 
3573
case $srcdir in
 
3574
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
3575
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
3576
esac
 
3577
 
2939
3578
# Do `set' in a subshell so we don't clobber the current shell's
2940
3579
# arguments.  Must try -L first in case configure is actually a
2941
3580
# symlink; some systems play weird games with the mod time of symlinks
2942
3581
# (eg FreeBSD returns the mod time of the symlink's containing
2943
3582
# directory).
2944
3583
if (
2945
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
3584
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2946
3585
   if test "$*" = "X"; then
2947
3586
      # -L didn't work.
2948
 
      set X `ls -t $srcdir/configure conftest.file`
 
3587
      set X `ls -t "$srcdir/configure" conftest.file`
2949
3588
   fi
2950
3589
   rm -f conftest.file
2951
3590
   if test "$*" != "X $srcdir/configure conftest.file" \
2955
3594
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2956
3595
      # broken ls alias from the environment.  This has actually
2957
3596
      # happened.  Such a system could not be considered "sane".
2958
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2959
 
alias in your environment" >&5
2960
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2961
 
alias in your environment" >&2;}
2962
 
   { (exit 1); exit 1; }; }
 
3597
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
 
3598
alias in your environment" "$LINENO" 5
2963
3599
   fi
2964
3600
 
2965
3601
   test "$2" = conftest.file
2968
3604
   # Ok.
2969
3605
   :
2970
3606
else
2971
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2972
 
Check your system clock" >&5
2973
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2974
 
Check your system clock" >&2;}
2975
 
   { (exit 1); exit 1; }; }
 
3607
   as_fn_error "newly created file is older than distributed files!
 
3608
Check your system clock" "$LINENO" 5
2976
3609
fi
2977
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2978
3611
$as_echo "yes" >&6; }
2979
3612
test "$program_prefix" != NONE &&
2980
3613
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2989
3622
# expand $ac_aux_dir to an absolute path
2990
3623
am_aux_dir=`cd $ac_aux_dir && pwd`
2991
3624
 
2992
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
3625
if test x"${MISSING+set}" != xset; then
 
3626
  case $am_aux_dir in
 
3627
  *\ * | *\     *)
 
3628
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
3629
  *)
 
3630
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
3631
  esac
 
3632
fi
2993
3633
# Use eval to expand $SHELL
2994
3634
if eval "$MISSING --run true"; then
2995
3635
  am_missing_run="$MISSING --run "
2996
3636
else
2997
3637
  am_missing_run=
2998
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
3638
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2999
3639
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3000
3640
fi
3001
3641
 
3002
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
3642
if test x"${install_sh}" != xset; then
 
3643
  case $am_aux_dir in
 
3644
  *\ * | *\     *)
 
3645
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
3646
  *)
 
3647
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
3648
  esac
 
3649
fi
 
3650
 
 
3651
# Installed binaries are usually stripped using `strip' when the user
 
3652
# run `make install-strip'.  However `strip' might not be the right
 
3653
# tool to use in cross-compilation environments, therefore Automake
 
3654
# will honor the `STRIP' environment variable to overrule this program.
 
3655
if test "$cross_compiling" != no; then
 
3656
  if test -n "$ac_tool_prefix"; then
 
3657
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
3658
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
3659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3660
$as_echo_n "checking for $ac_word... " >&6; }
 
3661
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3662
  $as_echo_n "(cached) " >&6
 
3663
else
 
3664
  if test -n "$STRIP"; then
 
3665
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
3666
else
 
3667
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3668
for as_dir in $PATH
 
3669
do
 
3670
  IFS=$as_save_IFS
 
3671
  test -z "$as_dir" && as_dir=.
 
3672
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3673
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3674
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
3675
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3676
    break 2
 
3677
  fi
 
3678
done
 
3679
  done
 
3680
IFS=$as_save_IFS
 
3681
 
 
3682
fi
 
3683
fi
 
3684
STRIP=$ac_cv_prog_STRIP
 
3685
if test -n "$STRIP"; then
 
3686
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
3687
$as_echo "$STRIP" >&6; }
 
3688
else
 
3689
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3690
$as_echo "no" >&6; }
 
3691
fi
 
3692
 
 
3693
 
 
3694
fi
 
3695
if test -z "$ac_cv_prog_STRIP"; then
 
3696
  ac_ct_STRIP=$STRIP
 
3697
  # Extract the first word of "strip", so it can be a program name with args.
 
3698
set dummy strip; ac_word=$2
 
3699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
3700
$as_echo_n "checking for $ac_word... " >&6; }
 
3701
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3702
  $as_echo_n "(cached) " >&6
 
3703
else
 
3704
  if test -n "$ac_ct_STRIP"; then
 
3705
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
3706
else
 
3707
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3708
for as_dir in $PATH
 
3709
do
 
3710
  IFS=$as_save_IFS
 
3711
  test -z "$as_dir" && as_dir=.
 
3712
    for ac_exec_ext in '' $ac_executable_extensions; do
 
3713
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3714
    ac_cv_prog_ac_ct_STRIP="strip"
 
3715
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3716
    break 2
 
3717
  fi
 
3718
done
 
3719
  done
 
3720
IFS=$as_save_IFS
 
3721
 
 
3722
fi
 
3723
fi
 
3724
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
3725
if test -n "$ac_ct_STRIP"; then
 
3726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
3727
$as_echo "$ac_ct_STRIP" >&6; }
 
3728
else
 
3729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3730
$as_echo "no" >&6; }
 
3731
fi
 
3732
 
 
3733
  if test "x$ac_ct_STRIP" = x; then
 
3734
    STRIP=":"
 
3735
  else
 
3736
    case $cross_compiling:$ac_tool_warned in
 
3737
yes:)
 
3738
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
3739
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3740
ac_tool_warned=yes ;;
 
3741
esac
 
3742
    STRIP=$ac_ct_STRIP
 
3743
  fi
 
3744
else
 
3745
  STRIP="$ac_cv_prog_STRIP"
 
3746
fi
 
3747
 
 
3748
fi
 
3749
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
3750
 
 
3751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3003
3752
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3004
3753
if test -z "$MKDIR_P"; then
3005
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
3754
  if test "${ac_cv_path_mkdir+set}" = set; then :
3006
3755
  $as_echo_n "(cached) " >&6
3007
3756
else
3008
3757
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010
3759
do
3011
3760
  IFS=$as_save_IFS
3012
3761
  test -z "$as_dir" && as_dir=.
3013
 
  for ac_prog in mkdir gmkdir; do
 
3762
    for ac_prog in mkdir gmkdir; do
3014
3763
         for ac_exec_ext in '' $ac_executable_extensions; do
3015
3764
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3016
3765
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3022
3771
           esac
3023
3772
         done
3024
3773
       done
3025
 
done
 
3774
  done
3026
3775
IFS=$as_save_IFS
3027
3776
 
3028
3777
fi
3029
3778
 
 
3779
  test -d ./--version && rmdir ./--version
3030
3780
  if test "${ac_cv_path_mkdir+set}" = set; then
3031
3781
    MKDIR_P="$ac_cv_path_mkdir -p"
3032
3782
  else
3034
3784
    # value for MKDIR_P within a source directory, because that will
3035
3785
    # break other packages using the cache if that directory is
3036
3786
    # removed, or if the value is a relative name.
3037
 
    test -d ./--version && rmdir ./--version
3038
3787
    MKDIR_P="$ac_install_sh -d"
3039
3788
  fi
3040
3789
fi
3041
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
3790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3042
3791
$as_echo "$MKDIR_P" >&6; }
3043
3792
 
3044
3793
mkdir_p="$MKDIR_P"
3051
3800
do
3052
3801
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3053
3802
set dummy $ac_prog; ac_word=$2
3054
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3055
3804
$as_echo_n "checking for $ac_word... " >&6; }
3056
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
3805
if test "${ac_cv_prog_AWK+set}" = set; then :
3057
3806
  $as_echo_n "(cached) " >&6
3058
3807
else
3059
3808
  if test -n "$AWK"; then
3064
3813
do
3065
3814
  IFS=$as_save_IFS
3066
3815
  test -z "$as_dir" && as_dir=.
3067
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3816
    for ac_exec_ext in '' $ac_executable_extensions; do
3068
3817
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3069
3818
    ac_cv_prog_AWK="$ac_prog"
3070
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3819
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071
3820
    break 2
3072
3821
  fi
3073
3822
done
3074
 
done
 
3823
  done
3075
3824
IFS=$as_save_IFS
3076
3825
 
3077
3826
fi
3078
3827
fi
3079
3828
AWK=$ac_cv_prog_AWK
3080
3829
if test -n "$AWK"; then
3081
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
3830
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3082
3831
$as_echo "$AWK" >&6; }
3083
3832
else
3084
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3833
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085
3834
$as_echo "no" >&6; }
3086
3835
fi
3087
3836
 
3089
3838
  test -n "$AWK" && break
3090
3839
done
3091
3840
 
3092
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3093
3842
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3094
3843
set x ${MAKE-make}
3095
3844
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3096
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
3845
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3097
3846
  $as_echo_n "(cached) " >&6
3098
3847
else
3099
3848
  cat >conftest.make <<\_ACEOF
3111
3860
rm -f conftest.make
3112
3861
fi
3113
3862
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3114
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3863
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3115
3864
$as_echo "yes" >&6; }
3116
3865
  SET_MAKE=
3117
3866
else
3118
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3867
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119
3868
$as_echo "no" >&6; }
3120
3869
  SET_MAKE="MAKE=${MAKE-make}"
3121
3870
fi
3131
3880
 
3132
3881
case `pwd` in
3133
3882
  *\ * | *\     *)
3134
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
3883
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3135
3884
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3136
3885
esac
3137
3886
 
3138
3887
 
3139
3888
 
3140
 
macro_version='2.2.6'
3141
 
macro_revision='1.3012'
 
3889
macro_version='2.2.6b'
 
3890
macro_revision='1.3017'
3142
3891
 
3143
3892
 
3144
3893
 
3162
3911
am_make=${MAKE-make}
3163
3912
cat > confinc << 'END'
3164
3913
am__doit:
3165
 
        @echo done
 
3914
        @echo this is the am__doit target
3166
3915
.PHONY: am__doit
3167
3916
END
3168
3917
# If we don't find an include directive, just comment out the code.
3169
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3170
3919
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3171
3920
am__include="#"
3172
3921
am__quote=
3173
3922
_am_result=none
3174
3923
# First try GNU make style include.
3175
3924
echo "include confinc" > confmf
3176
 
# We grep out `Entering directory' and `Leaving directory'
3177
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3178
 
# In particular we don't look at `^make:' because GNU make might
3179
 
# be invoked under some other name (usually "gmake"), in which
3180
 
# case it prints its new name instead of `make'.
3181
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3182
 
   am__include=include
3183
 
   am__quote=
3184
 
   _am_result=GNU
3185
 
fi
 
3925
# Ignore all kinds of additional output from `make'.
 
3926
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3927
*the\ am__doit\ target*)
 
3928
  am__include=include
 
3929
  am__quote=
 
3930
  _am_result=GNU
 
3931
  ;;
 
3932
esac
3186
3933
# Now try BSD make style include.
3187
3934
if test "$am__include" = "#"; then
3188
3935
   echo '.include "confinc"' > confmf
3189
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3190
 
      am__include=.include
3191
 
      am__quote="\""
3192
 
      _am_result=BSD
3193
 
   fi
 
3936
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3937
   *the\ am__doit\ target*)
 
3938
     am__include=.include
 
3939
     am__quote="\""
 
3940
     _am_result=BSD
 
3941
     ;;
 
3942
   esac
3194
3943
fi
3195
3944
 
3196
3945
 
3197
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3198
3947
$as_echo "$_am_result" >&6; }
3199
3948
rm -f confinc confmf
3200
3949
 
3201
3950
# Check whether --enable-dependency-tracking was given.
3202
 
if test "${enable_dependency_tracking+set}" = set; then
 
3951
if test "${enable_dependency_tracking+set}" = set; then :
3203
3952
  enableval=$enable_dependency_tracking;
3204
3953
fi
3205
3954
 
3224
3973
if test -n "$ac_tool_prefix"; then
3225
3974
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3226
3975
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3227
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3228
3977
$as_echo_n "checking for $ac_word... " >&6; }
3229
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3978
if test "${ac_cv_prog_CC+set}" = set; then :
3230
3979
  $as_echo_n "(cached) " >&6
3231
3980
else
3232
3981
  if test -n "$CC"; then
3237
3986
do
3238
3987
  IFS=$as_save_IFS
3239
3988
  test -z "$as_dir" && as_dir=.
3240
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3989
    for ac_exec_ext in '' $ac_executable_extensions; do
3241
3990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3242
3991
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3243
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3992
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3244
3993
    break 2
3245
3994
  fi
3246
3995
done
3247
 
done
 
3996
  done
3248
3997
IFS=$as_save_IFS
3249
3998
 
3250
3999
fi
3251
4000
fi
3252
4001
CC=$ac_cv_prog_CC
3253
4002
if test -n "$CC"; then
3254
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4003
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3255
4004
$as_echo "$CC" >&6; }
3256
4005
else
3257
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3258
4007
$as_echo "no" >&6; }
3259
4008
fi
3260
4009
 
3264
4013
  ac_ct_CC=$CC
3265
4014
  # Extract the first word of "gcc", so it can be a program name with args.
3266
4015
set dummy gcc; ac_word=$2
3267
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268
4017
$as_echo_n "checking for $ac_word... " >&6; }
3269
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4018
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3270
4019
  $as_echo_n "(cached) " >&6
3271
4020
else
3272
4021
  if test -n "$ac_ct_CC"; then
3277
4026
do
3278
4027
  IFS=$as_save_IFS
3279
4028
  test -z "$as_dir" && as_dir=.
3280
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4029
    for ac_exec_ext in '' $ac_executable_extensions; do
3281
4030
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3282
4031
    ac_cv_prog_ac_ct_CC="gcc"
3283
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4032
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284
4033
    break 2
3285
4034
  fi
3286
4035
done
3287
 
done
 
4036
  done
3288
4037
IFS=$as_save_IFS
3289
4038
 
3290
4039
fi
3291
4040
fi
3292
4041
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3293
4042
if test -n "$ac_ct_CC"; then
3294
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4043
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3295
4044
$as_echo "$ac_ct_CC" >&6; }
3296
4045
else
3297
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4046
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298
4047
$as_echo "no" >&6; }
3299
4048
fi
3300
4049
 
3303
4052
  else
3304
4053
    case $cross_compiling:$ac_tool_warned in
3305
4054
yes:)
3306
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4055
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3307
4056
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3308
4057
ac_tool_warned=yes ;;
3309
4058
esac
3317
4066
          if test -n "$ac_tool_prefix"; then
3318
4067
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3319
4068
set dummy ${ac_tool_prefix}cc; ac_word=$2
3320
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321
4070
$as_echo_n "checking for $ac_word... " >&6; }
3322
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4071
if test "${ac_cv_prog_CC+set}" = set; then :
3323
4072
  $as_echo_n "(cached) " >&6
3324
4073
else
3325
4074
  if test -n "$CC"; then
3330
4079
do
3331
4080
  IFS=$as_save_IFS
3332
4081
  test -z "$as_dir" && as_dir=.
3333
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4082
    for ac_exec_ext in '' $ac_executable_extensions; do
3334
4083
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3335
4084
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3336
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4085
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337
4086
    break 2
3338
4087
  fi
3339
4088
done
3340
 
done
 
4089
  done
3341
4090
IFS=$as_save_IFS
3342
4091
 
3343
4092
fi
3344
4093
fi
3345
4094
CC=$ac_cv_prog_CC
3346
4095
if test -n "$CC"; then
3347
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4096
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3348
4097
$as_echo "$CC" >&6; }
3349
4098
else
3350
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4099
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351
4100
$as_echo "no" >&6; }
3352
4101
fi
3353
4102
 
3357
4106
if test -z "$CC"; then
3358
4107
  # Extract the first word of "cc", so it can be a program name with args.
3359
4108
set dummy cc; ac_word=$2
3360
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3361
4110
$as_echo_n "checking for $ac_word... " >&6; }
3362
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4111
if test "${ac_cv_prog_CC+set}" = set; then :
3363
4112
  $as_echo_n "(cached) " >&6
3364
4113
else
3365
4114
  if test -n "$CC"; then
3371
4120
do
3372
4121
  IFS=$as_save_IFS
3373
4122
  test -z "$as_dir" && as_dir=.
3374
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4123
    for ac_exec_ext in '' $ac_executable_extensions; do
3375
4124
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3376
4125
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3377
4126
       ac_prog_rejected=yes
3378
4127
       continue
3379
4128
     fi
3380
4129
    ac_cv_prog_CC="cc"
3381
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4130
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3382
4131
    break 2
3383
4132
  fi
3384
4133
done
3385
 
done
 
4134
  done
3386
4135
IFS=$as_save_IFS
3387
4136
 
3388
4137
if test $ac_prog_rejected = yes; then
3401
4150
fi
3402
4151
CC=$ac_cv_prog_CC
3403
4152
if test -n "$CC"; then
3404
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4153
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3405
4154
$as_echo "$CC" >&6; }
3406
4155
else
3407
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4156
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3408
4157
$as_echo "no" >&6; }
3409
4158
fi
3410
4159
 
3416
4165
  do
3417
4166
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3418
4167
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3419
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420
4169
$as_echo_n "checking for $ac_word... " >&6; }
3421
 
if test "${ac_cv_prog_CC+set}" = set; then
 
4170
if test "${ac_cv_prog_CC+set}" = set; then :
3422
4171
  $as_echo_n "(cached) " >&6
3423
4172
else
3424
4173
  if test -n "$CC"; then
3429
4178
do
3430
4179
  IFS=$as_save_IFS
3431
4180
  test -z "$as_dir" && as_dir=.
3432
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4181
    for ac_exec_ext in '' $ac_executable_extensions; do
3433
4182
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434
4183
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3435
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4184
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436
4185
    break 2
3437
4186
  fi
3438
4187
done
3439
 
done
 
4188
  done
3440
4189
IFS=$as_save_IFS
3441
4190
 
3442
4191
fi
3443
4192
fi
3444
4193
CC=$ac_cv_prog_CC
3445
4194
if test -n "$CC"; then
3446
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4195
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3447
4196
$as_echo "$CC" >&6; }
3448
4197
else
3449
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450
4199
$as_echo "no" >&6; }
3451
4200
fi
3452
4201
 
3460
4209
do
3461
4210
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3462
4211
set dummy $ac_prog; ac_word=$2
3463
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3464
4213
$as_echo_n "checking for $ac_word... " >&6; }
3465
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
4214
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3466
4215
  $as_echo_n "(cached) " >&6
3467
4216
else
3468
4217
  if test -n "$ac_ct_CC"; then
3473
4222
do
3474
4223
  IFS=$as_save_IFS
3475
4224
  test -z "$as_dir" && as_dir=.
3476
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4225
    for ac_exec_ext in '' $ac_executable_extensions; do
3477
4226
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3478
4227
    ac_cv_prog_ac_ct_CC="$ac_prog"
3479
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4228
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3480
4229
    break 2
3481
4230
  fi
3482
4231
done
3483
 
done
 
4232
  done
3484
4233
IFS=$as_save_IFS
3485
4234
 
3486
4235
fi
3487
4236
fi
3488
4237
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3489
4238
if test -n "$ac_ct_CC"; then
3490
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4239
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3491
4240
$as_echo "$ac_ct_CC" >&6; }
3492
4241
else
3493
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494
4243
$as_echo "no" >&6; }
3495
4244
fi
3496
4245
 
3503
4252
  else
3504
4253
    case $cross_compiling:$ac_tool_warned in
3505
4254
yes:)
3506
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4255
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3507
4256
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3508
4257
ac_tool_warned=yes ;;
3509
4258
esac
3514
4263
fi
3515
4264
 
3516
4265
 
3517
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4266
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3518
4267
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3519
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3520
 
See \`config.log' for more details." >&5
3521
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3522
 
See \`config.log' for more details." >&2;}
3523
 
   { (exit 1); exit 1; }; }; }
 
4268
as_fn_error "no acceptable C compiler found in \$PATH
 
4269
See \`config.log' for more details." "$LINENO" 5; }
3524
4270
 
3525
4271
# Provide some information about the compiler.
3526
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4272
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3527
4273
set X $ac_compile
3528
4274
ac_compiler=$2
3529
 
{ (ac_try="$ac_compiler --version >&5"
3530
 
case "(($ac_try" in
3531
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532
 
  *) ac_try_echo=$ac_try;;
3533
 
esac
3534
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3535
 
$as_echo "$ac_try_echo") >&5
3536
 
  (eval "$ac_compiler --version >&5") 2>&5
3537
 
  ac_status=$?
3538
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539
 
  (exit $ac_status); }
3540
 
{ (ac_try="$ac_compiler -v >&5"
3541
 
case "(($ac_try" in
3542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543
 
  *) ac_try_echo=$ac_try;;
3544
 
esac
3545
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3546
 
$as_echo "$ac_try_echo") >&5
3547
 
  (eval "$ac_compiler -v >&5") 2>&5
3548
 
  ac_status=$?
3549
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550
 
  (exit $ac_status); }
3551
 
{ (ac_try="$ac_compiler -V >&5"
3552
 
case "(($ac_try" in
3553
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554
 
  *) ac_try_echo=$ac_try;;
3555
 
esac
3556
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3557
 
$as_echo "$ac_try_echo") >&5
3558
 
  (eval "$ac_compiler -V >&5") 2>&5
3559
 
  ac_status=$?
3560
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561
 
  (exit $ac_status); }
 
4275
for ac_option in --version -v -V -qversion; do
 
4276
  { { ac_try="$ac_compiler $ac_option >&5"
 
4277
case "(($ac_try" in
 
4278
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4279
  *) ac_try_echo=$ac_try;;
 
4280
esac
 
4281
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4282
$as_echo "$ac_try_echo"; } >&5
 
4283
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
4284
  ac_status=$?
 
4285
  if test -s conftest.err; then
 
4286
    sed '10a\
 
4287
... rest of stderr output deleted ...
 
4288
         10q' conftest.err >conftest.er1
 
4289
    cat conftest.er1 >&5
 
4290
  fi
 
4291
  rm -f conftest.er1 conftest.err
 
4292
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4293
  test $ac_status = 0; }
 
4294
done
3562
4295
 
3563
 
cat >conftest.$ac_ext <<_ACEOF
3564
 
/* confdefs.h.  */
3565
 
_ACEOF
3566
 
cat confdefs.h >>conftest.$ac_ext
3567
 
cat >>conftest.$ac_ext <<_ACEOF
 
4296
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568
4297
/* end confdefs.h.  */
3569
4298
 
3570
4299
int
3580
4309
# Try to create an executable without -o first, disregard a.out.
3581
4310
# It will help us diagnose broken compilers, and finding out an intuition
3582
4311
# of exeext.
3583
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3584
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
4312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
4313
$as_echo_n "checking whether the C compiler works... " >&6; }
3585
4314
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3586
4315
 
3587
4316
# The possible output files:
3597
4326
done
3598
4327
rm -f $ac_rmfiles
3599
4328
 
3600
 
if { (ac_try="$ac_link_default"
 
4329
if { { ac_try="$ac_link_default"
3601
4330
case "(($ac_try" in
3602
4331
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603
4332
  *) ac_try_echo=$ac_try;;
3604
4333
esac
3605
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3606
 
$as_echo "$ac_try_echo") >&5
 
4334
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4335
$as_echo "$ac_try_echo"; } >&5
3607
4336
  (eval "$ac_link_default") 2>&5
3608
4337
  ac_status=$?
3609
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610
 
  (exit $ac_status); }; then
 
4338
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4339
  test $ac_status = 0; }; then :
3611
4340
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3612
4341
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3613
4342
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3624
4353
        # certainly right.
3625
4354
        break;;
3626
4355
    *.* )
3627
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
4356
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3628
4357
        then :; else
3629
4358
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3630
4359
        fi
3643
4372
else
3644
4373
  ac_file=''
3645
4374
fi
 
4375
if test -z "$ac_file"; then :
 
4376
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
4377
$as_echo "no" >&6; }
 
4378
$as_echo "$as_me: failed program was:" >&5
 
4379
sed 's/^/| /' conftest.$ac_ext >&5
3646
4380
 
3647
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
4381
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4382
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4383
{ as_fn_set_status 77
 
4384
as_fn_error "C compiler cannot create executables
 
4385
See \`config.log' for more details." "$LINENO" 5; }; }
 
4386
else
 
4387
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
4388
$as_echo "yes" >&6; }
 
4389
fi
 
4390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
4391
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
4392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3648
4393
$as_echo "$ac_file" >&6; }
3649
 
if test -z "$ac_file"; then
3650
 
  $as_echo "$as_me: failed program was:" >&5
3651
 
sed 's/^/| /' conftest.$ac_ext >&5
3652
 
 
3653
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3654
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3655
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3656
 
See \`config.log' for more details." >&5
3657
 
$as_echo "$as_me: error: C compiler cannot create executables
3658
 
See \`config.log' for more details." >&2;}
3659
 
   { (exit 77); exit 77; }; }; }
3660
 
fi
3661
 
 
3662
4394
ac_exeext=$ac_cv_exeext
3663
4395
 
3664
 
# Check that the compiler produces executables we can run.  If not, either
3665
 
# the compiler is broken, or we cross compile.
3666
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3667
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3668
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3669
 
# If not cross compiling, check that we can run a simple program.
3670
 
if test "$cross_compiling" != yes; then
3671
 
  if { ac_try='./$ac_file'
3672
 
  { (case "(($ac_try" in
3673
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674
 
  *) ac_try_echo=$ac_try;;
3675
 
esac
3676
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3677
 
$as_echo "$ac_try_echo") >&5
3678
 
  (eval "$ac_try") 2>&5
3679
 
  ac_status=$?
3680
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681
 
  (exit $ac_status); }; }; then
3682
 
    cross_compiling=no
3683
 
  else
3684
 
    if test "$cross_compiling" = maybe; then
3685
 
        cross_compiling=yes
3686
 
    else
3687
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3688
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3689
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3690
 
If you meant to cross compile, use \`--host'.
3691
 
See \`config.log' for more details." >&5
3692
 
$as_echo "$as_me: error: cannot run C compiled programs.
3693
 
If you meant to cross compile, use \`--host'.
3694
 
See \`config.log' for more details." >&2;}
3695
 
   { (exit 1); exit 1; }; }; }
3696
 
    fi
3697
 
  fi
3698
 
fi
3699
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3700
 
$as_echo "yes" >&6; }
3701
 
 
3702
4396
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3703
4397
ac_clean_files=$ac_clean_files_save
3704
 
# Check that the compiler produces executables we can run.  If not, either
3705
 
# the compiler is broken, or we cross compile.
3706
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3707
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3708
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3709
 
$as_echo "$cross_compiling" >&6; }
3710
 
 
3711
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
4398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3712
4399
$as_echo_n "checking for suffix of executables... " >&6; }
3713
 
if { (ac_try="$ac_link"
 
4400
if { { ac_try="$ac_link"
3714
4401
case "(($ac_try" in
3715
4402
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716
4403
  *) ac_try_echo=$ac_try;;
3717
4404
esac
3718
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3719
 
$as_echo "$ac_try_echo") >&5
 
4405
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4406
$as_echo "$ac_try_echo"; } >&5
3720
4407
  (eval "$ac_link") 2>&5
3721
4408
  ac_status=$?
3722
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723
 
  (exit $ac_status); }; then
 
4409
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4410
  test $ac_status = 0; }; then :
3724
4411
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3725
4412
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3726
4413
# work properly (i.e., refer to `conftest.exe'), while it won't with
3735
4422
  esac
3736
4423
done
3737
4424
else
3738
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4425
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3739
4426
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3740
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3741
 
See \`config.log' for more details." >&5
3742
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3743
 
See \`config.log' for more details." >&2;}
3744
 
   { (exit 1); exit 1; }; }; }
 
4427
as_fn_error "cannot compute suffix of executables: cannot compile and link
 
4428
See \`config.log' for more details." "$LINENO" 5; }
3745
4429
fi
3746
 
 
3747
 
rm -f conftest$ac_cv_exeext
3748
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
4430
rm -f conftest conftest$ac_cv_exeext
 
4431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3749
4432
$as_echo "$ac_cv_exeext" >&6; }
3750
4433
 
3751
4434
rm -f conftest.$ac_ext
3752
4435
EXEEXT=$ac_cv_exeext
3753
4436
ac_exeext=$EXEEXT
3754
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
4437
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4438
/* end confdefs.h.  */
 
4439
#include <stdio.h>
 
4440
int
 
4441
main ()
 
4442
{
 
4443
FILE *f = fopen ("conftest.out", "w");
 
4444
 return ferror (f) || fclose (f) != 0;
 
4445
 
 
4446
  ;
 
4447
  return 0;
 
4448
}
 
4449
_ACEOF
 
4450
ac_clean_files="$ac_clean_files conftest.out"
 
4451
# Check that the compiler produces executables we can run.  If not, either
 
4452
# the compiler is broken, or we cross compile.
 
4453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
4454
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
4455
if test "$cross_compiling" != yes; then
 
4456
  { { ac_try="$ac_link"
 
4457
case "(($ac_try" in
 
4458
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4459
  *) ac_try_echo=$ac_try;;
 
4460
esac
 
4461
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4462
$as_echo "$ac_try_echo"; } >&5
 
4463
  (eval "$ac_link") 2>&5
 
4464
  ac_status=$?
 
4465
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4466
  test $ac_status = 0; }
 
4467
  if { ac_try='./conftest$ac_cv_exeext'
 
4468
  { { case "(($ac_try" in
 
4469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4470
  *) ac_try_echo=$ac_try;;
 
4471
esac
 
4472
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4473
$as_echo "$ac_try_echo"; } >&5
 
4474
  (eval "$ac_try") 2>&5
 
4475
  ac_status=$?
 
4476
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4477
  test $ac_status = 0; }; }; then
 
4478
    cross_compiling=no
 
4479
  else
 
4480
    if test "$cross_compiling" = maybe; then
 
4481
        cross_compiling=yes
 
4482
    else
 
4483
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
4484
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4485
as_fn_error "cannot run C compiled programs.
 
4486
If you meant to cross compile, use \`--host'.
 
4487
See \`config.log' for more details." "$LINENO" 5; }
 
4488
    fi
 
4489
  fi
 
4490
fi
 
4491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
4492
$as_echo "$cross_compiling" >&6; }
 
4493
 
 
4494
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
4495
ac_clean_files=$ac_clean_files_save
 
4496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3755
4497
$as_echo_n "checking for suffix of object files... " >&6; }
3756
 
if test "${ac_cv_objext+set}" = set; then
 
4498
if test "${ac_cv_objext+set}" = set; then :
3757
4499
  $as_echo_n "(cached) " >&6
3758
4500
else
3759
 
  cat >conftest.$ac_ext <<_ACEOF
3760
 
/* confdefs.h.  */
3761
 
_ACEOF
3762
 
cat confdefs.h >>conftest.$ac_ext
3763
 
cat >>conftest.$ac_ext <<_ACEOF
 
4501
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764
4502
/* end confdefs.h.  */
3765
4503
 
3766
4504
int
3772
4510
}
3773
4511
_ACEOF
3774
4512
rm -f conftest.o conftest.obj
3775
 
if { (ac_try="$ac_compile"
 
4513
if { { ac_try="$ac_compile"
3776
4514
case "(($ac_try" in
3777
4515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3778
4516
  *) ac_try_echo=$ac_try;;
3779
4517
esac
3780
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3781
 
$as_echo "$ac_try_echo") >&5
 
4518
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
4519
$as_echo "$ac_try_echo"; } >&5
3782
4520
  (eval "$ac_compile") 2>&5
3783
4521
  ac_status=$?
3784
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785
 
  (exit $ac_status); }; then
 
4522
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
4523
  test $ac_status = 0; }; then :
3786
4524
  for ac_file in conftest.o conftest.obj conftest.*; do
3787
4525
  test -f "$ac_file" || continue;
3788
4526
  case $ac_file in
3795
4533
  $as_echo "$as_me: failed program was:" >&5
3796
4534
sed 's/^/| /' conftest.$ac_ext >&5
3797
4535
 
3798
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4536
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799
4537
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3801
 
See \`config.log' for more details." >&5
3802
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3803
 
See \`config.log' for more details." >&2;}
3804
 
   { (exit 1); exit 1; }; }; }
 
4538
as_fn_error "cannot compute suffix of object files: cannot compile
 
4539
See \`config.log' for more details." "$LINENO" 5; }
3805
4540
fi
3806
 
 
3807
4541
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3808
4542
fi
3809
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
4543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3810
4544
$as_echo "$ac_cv_objext" >&6; }
3811
4545
OBJEXT=$ac_cv_objext
3812
4546
ac_objext=$OBJEXT
3813
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3814
4548
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3815
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
4549
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3816
4550
  $as_echo_n "(cached) " >&6
3817
4551
else
3818
 
  cat >conftest.$ac_ext <<_ACEOF
3819
 
/* confdefs.h.  */
3820
 
_ACEOF
3821
 
cat confdefs.h >>conftest.$ac_ext
3822
 
cat >>conftest.$ac_ext <<_ACEOF
 
4552
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823
4553
/* end confdefs.h.  */
3824
4554
 
3825
4555
int
3833
4563
  return 0;
3834
4564
}
3835
4565
_ACEOF
3836
 
rm -f conftest.$ac_objext
3837
 
if { (ac_try="$ac_compile"
3838
 
case "(($ac_try" in
3839
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3840
 
  *) ac_try_echo=$ac_try;;
3841
 
esac
3842
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3843
 
$as_echo "$ac_try_echo") >&5
3844
 
  (eval "$ac_compile") 2>conftest.er1
3845
 
  ac_status=$?
3846
 
  grep -v '^ *+' conftest.er1 >conftest.err
3847
 
  rm -f conftest.er1
3848
 
  cat conftest.err >&5
3849
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850
 
  (exit $ac_status); } && {
3851
 
         test -z "$ac_c_werror_flag" ||
3852
 
         test ! -s conftest.err
3853
 
       } && test -s conftest.$ac_objext; then
 
4566
if ac_fn_c_try_compile "$LINENO"; then :
3854
4567
  ac_compiler_gnu=yes
3855
4568
else
3856
 
  $as_echo "$as_me: failed program was:" >&5
3857
 
sed 's/^/| /' conftest.$ac_ext >&5
3858
 
 
3859
 
        ac_compiler_gnu=no
 
4569
  ac_compiler_gnu=no
3860
4570
fi
3861
 
 
3862
4571
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3863
4572
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3864
4573
 
3865
4574
fi
3866
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3867
4576
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3868
4577
if test $ac_compiler_gnu = yes; then
3869
4578
  GCC=yes
3872
4581
fi
3873
4582
ac_test_CFLAGS=${CFLAGS+set}
3874
4583
ac_save_CFLAGS=$CFLAGS
3875
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3876
4585
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3877
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
4586
if test "${ac_cv_prog_cc_g+set}" = set; then :
3878
4587
  $as_echo_n "(cached) " >&6
3879
4588
else
3880
4589
  ac_save_c_werror_flag=$ac_c_werror_flag
3881
4590
   ac_c_werror_flag=yes
3882
4591
   ac_cv_prog_cc_g=no
3883
4592
   CFLAGS="-g"
3884
 
   cat >conftest.$ac_ext <<_ACEOF
3885
 
/* confdefs.h.  */
3886
 
_ACEOF
3887
 
cat confdefs.h >>conftest.$ac_ext
3888
 
cat >>conftest.$ac_ext <<_ACEOF
 
4593
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889
4594
/* end confdefs.h.  */
3890
4595
 
3891
4596
int
3896
4601
  return 0;
3897
4602
}
3898
4603
_ACEOF
3899
 
rm -f conftest.$ac_objext
3900
 
if { (ac_try="$ac_compile"
3901
 
case "(($ac_try" in
3902
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903
 
  *) ac_try_echo=$ac_try;;
3904
 
esac
3905
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3906
 
$as_echo "$ac_try_echo") >&5
3907
 
  (eval "$ac_compile") 2>conftest.er1
3908
 
  ac_status=$?
3909
 
  grep -v '^ *+' conftest.er1 >conftest.err
3910
 
  rm -f conftest.er1
3911
 
  cat conftest.err >&5
3912
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913
 
  (exit $ac_status); } && {
3914
 
         test -z "$ac_c_werror_flag" ||
3915
 
         test ! -s conftest.err
3916
 
       } && test -s conftest.$ac_objext; then
 
4604
if ac_fn_c_try_compile "$LINENO"; then :
3917
4605
  ac_cv_prog_cc_g=yes
3918
4606
else
3919
 
  $as_echo "$as_me: failed program was:" >&5
3920
 
sed 's/^/| /' conftest.$ac_ext >&5
3921
 
 
3922
 
        CFLAGS=""
3923
 
      cat >conftest.$ac_ext <<_ACEOF
3924
 
/* confdefs.h.  */
3925
 
_ACEOF
3926
 
cat confdefs.h >>conftest.$ac_ext
3927
 
cat >>conftest.$ac_ext <<_ACEOF
 
4607
  CFLAGS=""
 
4608
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928
4609
/* end confdefs.h.  */
3929
4610
 
3930
4611
int
3935
4616
  return 0;
3936
4617
}
3937
4618
_ACEOF
3938
 
rm -f conftest.$ac_objext
3939
 
if { (ac_try="$ac_compile"
3940
 
case "(($ac_try" in
3941
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3942
 
  *) ac_try_echo=$ac_try;;
3943
 
esac
3944
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3945
 
$as_echo "$ac_try_echo") >&5
3946
 
  (eval "$ac_compile") 2>conftest.er1
3947
 
  ac_status=$?
3948
 
  grep -v '^ *+' conftest.er1 >conftest.err
3949
 
  rm -f conftest.er1
3950
 
  cat conftest.err >&5
3951
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952
 
  (exit $ac_status); } && {
3953
 
         test -z "$ac_c_werror_flag" ||
3954
 
         test ! -s conftest.err
3955
 
       } && test -s conftest.$ac_objext; then
3956
 
  :
 
4619
if ac_fn_c_try_compile "$LINENO"; then :
 
4620
 
3957
4621
else
3958
 
  $as_echo "$as_me: failed program was:" >&5
3959
 
sed 's/^/| /' conftest.$ac_ext >&5
3960
 
 
3961
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4622
  ac_c_werror_flag=$ac_save_c_werror_flag
3962
4623
         CFLAGS="-g"
3963
 
         cat >conftest.$ac_ext <<_ACEOF
3964
 
/* confdefs.h.  */
3965
 
_ACEOF
3966
 
cat confdefs.h >>conftest.$ac_ext
3967
 
cat >>conftest.$ac_ext <<_ACEOF
 
4624
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3968
4625
/* end confdefs.h.  */
3969
4626
 
3970
4627
int
3975
4632
  return 0;
3976
4633
}
3977
4634
_ACEOF
3978
 
rm -f conftest.$ac_objext
3979
 
if { (ac_try="$ac_compile"
3980
 
case "(($ac_try" in
3981
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3982
 
  *) ac_try_echo=$ac_try;;
3983
 
esac
3984
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3985
 
$as_echo "$ac_try_echo") >&5
3986
 
  (eval "$ac_compile") 2>conftest.er1
3987
 
  ac_status=$?
3988
 
  grep -v '^ *+' conftest.er1 >conftest.err
3989
 
  rm -f conftest.er1
3990
 
  cat conftest.err >&5
3991
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992
 
  (exit $ac_status); } && {
3993
 
         test -z "$ac_c_werror_flag" ||
3994
 
         test ! -s conftest.err
3995
 
       } && test -s conftest.$ac_objext; then
 
4635
if ac_fn_c_try_compile "$LINENO"; then :
3996
4636
  ac_cv_prog_cc_g=yes
3997
 
else
3998
 
  $as_echo "$as_me: failed program was:" >&5
3999
 
sed 's/^/| /' conftest.$ac_ext >&5
4000
 
 
4001
 
 
4002
 
fi
4003
 
 
4004
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4005
 
fi
4006
 
 
4007
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4008
 
fi
4009
 
 
 
4637
fi
 
4638
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4639
fi
 
4640
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4641
fi
4010
4642
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4011
4643
   ac_c_werror_flag=$ac_save_c_werror_flag
4012
4644
fi
4013
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4014
4646
$as_echo "$ac_cv_prog_cc_g" >&6; }
4015
4647
if test "$ac_test_CFLAGS" = set; then
4016
4648
  CFLAGS=$ac_save_CFLAGS
4027
4659
    CFLAGS=
4028
4660
  fi
4029
4661
fi
4030
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4031
4663
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4032
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
4664
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4033
4665
  $as_echo_n "(cached) " >&6
4034
4666
else
4035
4667
  ac_cv_prog_cc_c89=no
4036
4668
ac_save_CC=$CC
4037
 
cat >conftest.$ac_ext <<_ACEOF
4038
 
/* confdefs.h.  */
4039
 
_ACEOF
4040
 
cat confdefs.h >>conftest.$ac_ext
4041
 
cat >>conftest.$ac_ext <<_ACEOF
 
4669
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042
4670
/* end confdefs.h.  */
4043
4671
#include <stdarg.h>
4044
4672
#include <stdio.h>
4095
4723
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4096
4724
do
4097
4725
  CC="$ac_save_CC $ac_arg"
4098
 
  rm -f conftest.$ac_objext
4099
 
if { (ac_try="$ac_compile"
4100
 
case "(($ac_try" in
4101
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102
 
  *) ac_try_echo=$ac_try;;
4103
 
esac
4104
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4105
 
$as_echo "$ac_try_echo") >&5
4106
 
  (eval "$ac_compile") 2>conftest.er1
4107
 
  ac_status=$?
4108
 
  grep -v '^ *+' conftest.er1 >conftest.err
4109
 
  rm -f conftest.er1
4110
 
  cat conftest.err >&5
4111
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112
 
  (exit $ac_status); } && {
4113
 
         test -z "$ac_c_werror_flag" ||
4114
 
         test ! -s conftest.err
4115
 
       } && test -s conftest.$ac_objext; then
 
4726
  if ac_fn_c_try_compile "$LINENO"; then :
4116
4727
  ac_cv_prog_cc_c89=$ac_arg
4117
 
else
4118
 
  $as_echo "$as_me: failed program was:" >&5
4119
 
sed 's/^/| /' conftest.$ac_ext >&5
4120
 
 
4121
 
 
4122
4728
fi
4123
 
 
4124
4729
rm -f core conftest.err conftest.$ac_objext
4125
4730
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4126
4731
done
4131
4736
# AC_CACHE_VAL
4132
4737
case "x$ac_cv_prog_cc_c89" in
4133
4738
  x)
4134
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4739
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4135
4740
$as_echo "none needed" >&6; } ;;
4136
4741
  xno)
4137
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4742
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4138
4743
$as_echo "unsupported" >&6; } ;;
4139
4744
  *)
4140
4745
    CC="$CC $ac_cv_prog_cc_c89"
4141
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4746
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4142
4747
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4143
4748
esac
 
4749
if test "x$ac_cv_prog_cc_c89" != xno; then :
4144
4750
 
 
4751
fi
4145
4752
 
4146
4753
ac_ext=c
4147
4754
ac_cpp='$CPP $CPPFLAGS'
4151
4758
 
4152
4759
depcc="$CC"   am_compiler_list=
4153
4760
 
4154
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4761
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4155
4762
$as_echo_n "checking dependency style of $depcc... " >&6; }
4156
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
4763
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4157
4764
  $as_echo_n "(cached) " >&6
4158
4765
else
4159
4766
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4179
4786
  if test "$am_compiler_list" = ""; then
4180
4787
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4181
4788
  fi
 
4789
  am__universal=false
 
4790
  case " $depcc " in #(
 
4791
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4792
     esac
 
4793
 
4182
4794
  for depmode in $am_compiler_list; do
4183
4795
    # Setup a source with many dependencies, because some compilers
4184
4796
    # like to wrap large dependency lists on column 80 (with \), and
4196
4808
    done
4197
4809
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4198
4810
 
 
4811
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4812
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4813
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4814
    # versions had trouble with output in subdirs
 
4815
    am__obj=sub/conftest.${OBJEXT-o}
 
4816
    am__minus_obj="-o $am__obj"
4199
4817
    case $depmode in
 
4818
    gcc)
 
4819
      # This depmode causes a compiler race in universal mode.
 
4820
      test "$am__universal" = false || continue
 
4821
      ;;
4200
4822
    nosideeffect)
4201
4823
      # after this tag, mechanisms are not by side-effect, so they'll
4202
4824
      # only be used when explicitly requested
4206
4828
        break
4207
4829
      fi
4208
4830
      ;;
 
4831
    msvisualcpp | msvcmsys)
 
4832
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4833
      # not run yet.  These depmodes are late enough in the game, and
 
4834
      # so weak that their functioning should not be impacted.
 
4835
      am__obj=conftest.${OBJEXT-o}
 
4836
      am__minus_obj=
 
4837
      ;;
4209
4838
    none) break ;;
4210
4839
    esac
4211
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4212
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4213
 
    # handle `-M -o', and we need to detect this.
4214
4840
    if depmode=$depmode \
4215
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4841
       source=sub/conftest.c object=$am__obj \
4216
4842
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4217
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4843
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4218
4844
         >/dev/null 2>conftest.err &&
4219
4845
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4220
4846
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4221
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4847
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4222
4848
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4223
4849
      # icc doesn't choke on unknown options, it will just issue warnings
4224
4850
      # or remarks (even with -Werror).  So we grep stderr for any message
4242
4868
fi
4243
4869
 
4244
4870
fi
4245
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4246
4872
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4247
4873
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4248
4874
 
4257
4883
fi
4258
4884
 
4259
4885
 
4260
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4261
4887
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4262
 
if test "${ac_cv_path_SED+set}" = set; then
 
4888
if test "${ac_cv_path_SED+set}" = set; then :
4263
4889
  $as_echo_n "(cached) " >&6
4264
4890
else
4265
4891
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4267
4893
       ac_script="$ac_script$as_nl$ac_script"
4268
4894
     done
4269
4895
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4270
 
     $as_unset ac_script || ac_script=
 
4896
     { ac_script=; unset ac_script;}
4271
4897
     if test -z "$SED"; then
4272
4898
  ac_path_SED_found=false
4273
4899
  # Loop through the user's path and test for each of PROGNAME-LIST
4276
4902
do
4277
4903
  IFS=$as_save_IFS
4278
4904
  test -z "$as_dir" && as_dir=.
4279
 
  for ac_prog in sed gsed; do
 
4905
    for ac_prog in sed gsed; do
4280
4906
    for ac_exec_ext in '' $ac_executable_extensions; do
4281
4907
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4282
4908
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4296
4922
    $as_echo '' >> "conftest.nl"
4297
4923
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4298
4924
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4299
 
    ac_count=`expr $ac_count + 1`
 
4925
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4300
4926
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4301
4927
      # Best one so far, save it but keep looking for a better one
4302
4928
      ac_cv_path_SED="$ac_path_SED"
4311
4937
      $ac_path_SED_found && break 3
4312
4938
    done
4313
4939
  done
4314
 
done
 
4940
  done
4315
4941
IFS=$as_save_IFS
4316
4942
  if test -z "$ac_cv_path_SED"; then
4317
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4318
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4319
 
   { (exit 1); exit 1; }; }
 
4943
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4320
4944
  fi
4321
4945
else
4322
4946
  ac_cv_path_SED=$SED
4323
4947
fi
4324
4948
 
4325
4949
fi
4326
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4327
4951
$as_echo "$ac_cv_path_SED" >&6; }
4328
4952
 SED="$ac_cv_path_SED"
4329
4953
  rm -f conftest.sed
4341
4965
 
4342
4966
 
4343
4967
 
4344
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4345
4969
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4346
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4970
if test "${ac_cv_path_GREP+set}" = set; then :
4347
4971
  $as_echo_n "(cached) " >&6
4348
4972
else
4349
4973
  if test -z "$GREP"; then
4354
4978
do
4355
4979
  IFS=$as_save_IFS
4356
4980
  test -z "$as_dir" && as_dir=.
4357
 
  for ac_prog in grep ggrep; do
 
4981
    for ac_prog in grep ggrep; do
4358
4982
    for ac_exec_ext in '' $ac_executable_extensions; do
4359
4983
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4360
4984
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4374
4998
    $as_echo 'GREP' >> "conftest.nl"
4375
4999
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4376
5000
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4377
 
    ac_count=`expr $ac_count + 1`
 
5001
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4378
5002
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4379
5003
      # Best one so far, save it but keep looking for a better one
4380
5004
      ac_cv_path_GREP="$ac_path_GREP"
4389
5013
      $ac_path_GREP_found && break 3
4390
5014
    done
4391
5015
  done
4392
 
done
 
5016
  done
4393
5017
IFS=$as_save_IFS
4394
5018
  if test -z "$ac_cv_path_GREP"; then
4395
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4396
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4397
 
   { (exit 1); exit 1; }; }
 
5019
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4398
5020
  fi
4399
5021
else
4400
5022
  ac_cv_path_GREP=$GREP
4401
5023
fi
4402
5024
 
4403
5025
fi
4404
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4405
5027
$as_echo "$ac_cv_path_GREP" >&6; }
4406
5028
 GREP="$ac_cv_path_GREP"
4407
5029
 
4408
5030
 
4409
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4410
5032
$as_echo_n "checking for egrep... " >&6; }
4411
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
5033
if test "${ac_cv_path_EGREP+set}" = set; then :
4412
5034
  $as_echo_n "(cached) " >&6
4413
5035
else
4414
5036
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4422
5044
do
4423
5045
  IFS=$as_save_IFS
4424
5046
  test -z "$as_dir" && as_dir=.
4425
 
  for ac_prog in egrep; do
 
5047
    for ac_prog in egrep; do
4426
5048
    for ac_exec_ext in '' $ac_executable_extensions; do
4427
5049
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4428
5050
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4442
5064
    $as_echo 'EGREP' >> "conftest.nl"
4443
5065
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4444
5066
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4445
 
    ac_count=`expr $ac_count + 1`
 
5067
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4446
5068
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4447
5069
      # Best one so far, save it but keep looking for a better one
4448
5070
      ac_cv_path_EGREP="$ac_path_EGREP"
4457
5079
      $ac_path_EGREP_found && break 3
4458
5080
    done
4459
5081
  done
4460
 
done
 
5082
  done
4461
5083
IFS=$as_save_IFS
4462
5084
  if test -z "$ac_cv_path_EGREP"; then
4463
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4464
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4465
 
   { (exit 1); exit 1; }; }
 
5085
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4466
5086
  fi
4467
5087
else
4468
5088
  ac_cv_path_EGREP=$EGREP
4470
5090
 
4471
5091
   fi
4472
5092
fi
4473
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4474
5094
$as_echo "$ac_cv_path_EGREP" >&6; }
4475
5095
 EGREP="$ac_cv_path_EGREP"
4476
5096
 
4477
5097
 
4478
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
5098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4479
5099
$as_echo_n "checking for fgrep... " >&6; }
4480
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
5100
if test "${ac_cv_path_FGREP+set}" = set; then :
4481
5101
  $as_echo_n "(cached) " >&6
4482
5102
else
4483
5103
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4491
5111
do
4492
5112
  IFS=$as_save_IFS
4493
5113
  test -z "$as_dir" && as_dir=.
4494
 
  for ac_prog in fgrep; do
 
5114
    for ac_prog in fgrep; do
4495
5115
    for ac_exec_ext in '' $ac_executable_extensions; do
4496
5116
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4497
5117
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4511
5131
    $as_echo 'FGREP' >> "conftest.nl"
4512
5132
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4513
5133
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4514
 
    ac_count=`expr $ac_count + 1`
 
5134
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4515
5135
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4516
5136
      # Best one so far, save it but keep looking for a better one
4517
5137
      ac_cv_path_FGREP="$ac_path_FGREP"
4526
5146
      $ac_path_FGREP_found && break 3
4527
5147
    done
4528
5148
  done
4529
 
done
 
5149
  done
4530
5150
IFS=$as_save_IFS
4531
5151
  if test -z "$ac_cv_path_FGREP"; then
4532
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4533
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4534
 
   { (exit 1); exit 1; }; }
 
5152
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4535
5153
  fi
4536
5154
else
4537
5155
  ac_cv_path_FGREP=$FGREP
4539
5157
 
4540
5158
   fi
4541
5159
fi
4542
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4543
5161
$as_echo "$ac_cv_path_FGREP" >&6; }
4544
5162
 FGREP="$ac_cv_path_FGREP"
4545
5163
 
4565
5183
 
4566
5184
 
4567
5185
# Check whether --with-gnu-ld was given.
4568
 
if test "${with_gnu_ld+set}" = set; then
 
5186
if test "${with_gnu_ld+set}" = set; then :
4569
5187
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4570
5188
else
4571
5189
  with_gnu_ld=no
4574
5192
ac_prog=ld
4575
5193
if test "$GCC" = yes; then
4576
5194
  # Check if gcc -print-prog-name=ld gives a path.
4577
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5195
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4578
5196
$as_echo_n "checking for ld used by $CC... " >&6; }
4579
5197
  case $host in
4580
5198
  *-*-mingw*)
4604
5222
    ;;
4605
5223
  esac
4606
5224
elif test "$with_gnu_ld" = yes; then
4607
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5225
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4608
5226
$as_echo_n "checking for GNU ld... " >&6; }
4609
5227
else
4610
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5228
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4611
5229
$as_echo_n "checking for non-GNU ld... " >&6; }
4612
5230
fi
4613
 
if test "${lt_cv_path_LD+set}" = set; then
 
5231
if test "${lt_cv_path_LD+set}" = set; then :
4614
5232
  $as_echo_n "(cached) " >&6
4615
5233
else
4616
5234
  if test -z "$LD"; then
4641
5259
 
4642
5260
LD="$lt_cv_path_LD"
4643
5261
if test -n "$LD"; then
4644
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4645
5263
$as_echo "$LD" >&6; }
4646
5264
else
4647
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5265
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648
5266
$as_echo "no" >&6; }
4649
5267
fi
4650
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4651
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4652
 
   { (exit 1); exit 1; }; }
4653
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5268
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
5269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4654
5270
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4655
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
5271
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4656
5272
  $as_echo_n "(cached) " >&6
4657
5273
else
4658
5274
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4665
5281
  ;;
4666
5282
esac
4667
5283
fi
4668
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4669
5285
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4670
5286
with_gnu_ld=$lt_cv_prog_gnu_ld
4671
5287
 
4677
5293
 
4678
5294
 
4679
5295
 
4680
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4681
5297
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4682
 
if test "${lt_cv_path_NM+set}" = set; then
 
5298
if test "${lt_cv_path_NM+set}" = set; then :
4683
5299
  $as_echo_n "(cached) " >&6
4684
5300
else
4685
5301
  if test -n "$NM"; then
4726
5342
  : ${lt_cv_path_NM=no}
4727
5343
fi
4728
5344
fi
4729
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4730
5346
$as_echo "$lt_cv_path_NM" >&6; }
4731
5347
if test "$lt_cv_path_NM" != "no"; then
4732
5348
  NM="$lt_cv_path_NM"
4737
5353
  do
4738
5354
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4739
5355
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4740
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4741
5357
$as_echo_n "checking for $ac_word... " >&6; }
4742
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5358
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4743
5359
  $as_echo_n "(cached) " >&6
4744
5360
else
4745
5361
  if test -n "$DUMPBIN"; then
4750
5366
do
4751
5367
  IFS=$as_save_IFS
4752
5368
  test -z "$as_dir" && as_dir=.
4753
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5369
    for ac_exec_ext in '' $ac_executable_extensions; do
4754
5370
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4755
5371
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4756
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5372
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757
5373
    break 2
4758
5374
  fi
4759
5375
done
4760
 
done
 
5376
  done
4761
5377
IFS=$as_save_IFS
4762
5378
 
4763
5379
fi
4764
5380
fi
4765
5381
DUMPBIN=$ac_cv_prog_DUMPBIN
4766
5382
if test -n "$DUMPBIN"; then
4767
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5383
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4768
5384
$as_echo "$DUMPBIN" >&6; }
4769
5385
else
4770
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5386
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4771
5387
$as_echo "no" >&6; }
4772
5388
fi
4773
5389
 
4781
5397
do
4782
5398
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4783
5399
set dummy $ac_prog; ac_word=$2
4784
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785
5401
$as_echo_n "checking for $ac_word... " >&6; }
4786
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5402
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4787
5403
  $as_echo_n "(cached) " >&6
4788
5404
else
4789
5405
  if test -n "$ac_ct_DUMPBIN"; then
4794
5410
do
4795
5411
  IFS=$as_save_IFS
4796
5412
  test -z "$as_dir" && as_dir=.
4797
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5413
    for ac_exec_ext in '' $ac_executable_extensions; do
4798
5414
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4799
5415
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4800
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5416
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4801
5417
    break 2
4802
5418
  fi
4803
5419
done
4804
 
done
 
5420
  done
4805
5421
IFS=$as_save_IFS
4806
5422
 
4807
5423
fi
4808
5424
fi
4809
5425
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4810
5426
if test -n "$ac_ct_DUMPBIN"; then
4811
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5427
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4812
5428
$as_echo "$ac_ct_DUMPBIN" >&6; }
4813
5429
else
4814
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5430
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815
5431
$as_echo "no" >&6; }
4816
5432
fi
4817
5433
 
4824
5440
  else
4825
5441
    case $cross_compiling:$ac_tool_warned in
4826
5442
yes:)
4827
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5443
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4828
5444
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4829
5445
ac_tool_warned=yes ;;
4830
5446
esac
4844
5460
 
4845
5461
 
4846
5462
 
4847
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4848
5464
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4849
 
if test "${lt_cv_nm_interface+set}" = set; then
 
5465
if test "${lt_cv_nm_interface+set}" = set; then :
4850
5466
  $as_echo_n "(cached) " >&6
4851
5467
else
4852
5468
  lt_cv_nm_interface="BSD nm"
4853
5469
  echo "int some_variable = 0;" > conftest.$ac_ext
4854
 
  (eval echo "\"\$as_me:4854: $ac_compile\"" >&5)
 
5470
  (eval echo "\"\$as_me:5470: $ac_compile\"" >&5)
4855
5471
  (eval "$ac_compile" 2>conftest.err)
4856
5472
  cat conftest.err >&5
4857
 
  (eval echo "\"\$as_me:4857: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5473
  (eval echo "\"\$as_me:5473: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4858
5474
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4859
5475
  cat conftest.err >&5
4860
 
  (eval echo "\"\$as_me:4860: output\"" >&5)
 
5476
  (eval echo "\"\$as_me:5476: output\"" >&5)
4861
5477
  cat conftest.out >&5
4862
5478
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4863
5479
    lt_cv_nm_interface="MS dumpbin"
4864
5480
  fi
4865
5481
  rm -f conftest*
4866
5482
fi
4867
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4868
5484
$as_echo "$lt_cv_nm_interface" >&6; }
4869
5485
 
4870
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4871
5487
$as_echo_n "checking whether ln -s works... " >&6; }
4872
5488
LN_S=$as_ln_s
4873
5489
if test "$LN_S" = "ln -s"; then
4874
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5490
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875
5491
$as_echo "yes" >&6; }
4876
5492
else
4877
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5493
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4878
5494
$as_echo "no, using $LN_S" >&6; }
4879
5495
fi
4880
5496
 
4881
5497
# find the maximum length of command line arguments
4882
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4883
5499
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4884
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5500
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4885
5501
  $as_echo_n "(cached) " >&6
4886
5502
else
4887
5503
    i=0
4999
5615
fi
5000
5616
 
5001
5617
if test -n $lt_cv_sys_max_cmd_len ; then
5002
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5618
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5003
5619
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5004
5620
else
5005
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5621
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5006
5622
$as_echo "none" >&6; }
5007
5623
fi
5008
5624
max_cmd_len=$lt_cv_sys_max_cmd_len
5016
5632
: ${MV="mv -f"}
5017
5633
: ${RM="rm -f"}
5018
5634
 
5019
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5020
5636
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5021
5637
# Try some XSI features
5022
5638
xsi_shell=no
5026
5642
    && eval 'test $(( 1 + 1 )) -eq 2 \
5027
5643
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5028
5644
  && xsi_shell=yes
5029
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5030
5646
$as_echo "$xsi_shell" >&6; }
5031
5647
 
5032
5648
 
5033
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5034
5650
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5035
5651
lt_shell_append=no
5036
5652
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5037
5653
    >/dev/null 2>&1 \
5038
5654
  && lt_shell_append=yes
5039
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5040
5656
$as_echo "$lt_shell_append" >&6; }
5041
5657
 
5042
5658
 
5071
5687
 
5072
5688
 
5073
5689
 
5074
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5075
5691
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5076
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5692
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5077
5693
  $as_echo_n "(cached) " >&6
5078
5694
else
5079
5695
  lt_cv_ld_reload_flag='-r'
5080
5696
fi
5081
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5082
5698
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5083
5699
reload_flag=$lt_cv_ld_reload_flag
5084
5700
case $reload_flag in
5107
5723
if test -n "$ac_tool_prefix"; then
5108
5724
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5109
5725
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5110
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111
5727
$as_echo_n "checking for $ac_word... " >&6; }
5112
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5728
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5113
5729
  $as_echo_n "(cached) " >&6
5114
5730
else
5115
5731
  if test -n "$OBJDUMP"; then
5120
5736
do
5121
5737
  IFS=$as_save_IFS
5122
5738
  test -z "$as_dir" && as_dir=.
5123
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5739
    for ac_exec_ext in '' $ac_executable_extensions; do
5124
5740
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5125
5741
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5126
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5742
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127
5743
    break 2
5128
5744
  fi
5129
5745
done
5130
 
done
 
5746
  done
5131
5747
IFS=$as_save_IFS
5132
5748
 
5133
5749
fi
5134
5750
fi
5135
5751
OBJDUMP=$ac_cv_prog_OBJDUMP
5136
5752
if test -n "$OBJDUMP"; then
5137
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5138
5754
$as_echo "$OBJDUMP" >&6; }
5139
5755
else
5140
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5756
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141
5757
$as_echo "no" >&6; }
5142
5758
fi
5143
5759
 
5147
5763
  ac_ct_OBJDUMP=$OBJDUMP
5148
5764
  # Extract the first word of "objdump", so it can be a program name with args.
5149
5765
set dummy objdump; ac_word=$2
5150
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5151
5767
$as_echo_n "checking for $ac_word... " >&6; }
5152
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5768
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5153
5769
  $as_echo_n "(cached) " >&6
5154
5770
else
5155
5771
  if test -n "$ac_ct_OBJDUMP"; then
5160
5776
do
5161
5777
  IFS=$as_save_IFS
5162
5778
  test -z "$as_dir" && as_dir=.
5163
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5779
    for ac_exec_ext in '' $ac_executable_extensions; do
5164
5780
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5165
5781
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5166
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5782
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167
5783
    break 2
5168
5784
  fi
5169
5785
done
5170
 
done
 
5786
  done
5171
5787
IFS=$as_save_IFS
5172
5788
 
5173
5789
fi
5174
5790
fi
5175
5791
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5176
5792
if test -n "$ac_ct_OBJDUMP"; then
5177
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5793
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5178
5794
$as_echo "$ac_ct_OBJDUMP" >&6; }
5179
5795
else
5180
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5796
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5181
5797
$as_echo "no" >&6; }
5182
5798
fi
5183
5799
 
5186
5802
  else
5187
5803
    case $cross_compiling:$ac_tool_warned in
5188
5804
yes:)
5189
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5805
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5190
5806
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5191
5807
ac_tool_warned=yes ;;
5192
5808
esac
5203
5819
 
5204
5820
 
5205
5821
 
5206
 
 
5207
 
 
5208
 
 
5209
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5210
5823
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5211
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
5824
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5212
5825
  $as_echo_n "(cached) " >&6
5213
5826
else
5214
5827
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5402
6015
esac
5403
6016
 
5404
6017
fi
5405
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5406
6019
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5407
6020
file_magic_cmd=$lt_cv_file_magic_cmd
5408
6021
deplibs_check_method=$lt_cv_deplibs_check_method
5422
6035
if test -n "$ac_tool_prefix"; then
5423
6036
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5424
6037
set dummy ${ac_tool_prefix}ar; ac_word=$2
5425
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426
6039
$as_echo_n "checking for $ac_word... " >&6; }
5427
 
if test "${ac_cv_prog_AR+set}" = set; then
 
6040
if test "${ac_cv_prog_AR+set}" = set; then :
5428
6041
  $as_echo_n "(cached) " >&6
5429
6042
else
5430
6043
  if test -n "$AR"; then
5435
6048
do
5436
6049
  IFS=$as_save_IFS
5437
6050
  test -z "$as_dir" && as_dir=.
5438
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6051
    for ac_exec_ext in '' $ac_executable_extensions; do
5439
6052
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5440
6053
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5441
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6054
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442
6055
    break 2
5443
6056
  fi
5444
6057
done
5445
 
done
 
6058
  done
5446
6059
IFS=$as_save_IFS
5447
6060
 
5448
6061
fi
5449
6062
fi
5450
6063
AR=$ac_cv_prog_AR
5451
6064
if test -n "$AR"; then
5452
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6065
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5453
6066
$as_echo "$AR" >&6; }
5454
6067
else
5455
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6068
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456
6069
$as_echo "no" >&6; }
5457
6070
fi
5458
6071
 
5462
6075
  ac_ct_AR=$AR
5463
6076
  # Extract the first word of "ar", so it can be a program name with args.
5464
6077
set dummy ar; ac_word=$2
5465
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5466
6079
$as_echo_n "checking for $ac_word... " >&6; }
5467
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6080
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5468
6081
  $as_echo_n "(cached) " >&6
5469
6082
else
5470
6083
  if test -n "$ac_ct_AR"; then
5475
6088
do
5476
6089
  IFS=$as_save_IFS
5477
6090
  test -z "$as_dir" && as_dir=.
5478
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6091
    for ac_exec_ext in '' $ac_executable_extensions; do
5479
6092
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5480
6093
    ac_cv_prog_ac_ct_AR="ar"
5481
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6094
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482
6095
    break 2
5483
6096
  fi
5484
6097
done
5485
 
done
 
6098
  done
5486
6099
IFS=$as_save_IFS
5487
6100
 
5488
6101
fi
5489
6102
fi
5490
6103
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5491
6104
if test -n "$ac_ct_AR"; then
5492
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5493
6106
$as_echo "$ac_ct_AR" >&6; }
5494
6107
else
5495
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6108
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496
6109
$as_echo "no" >&6; }
5497
6110
fi
5498
6111
 
5501
6114
  else
5502
6115
    case $cross_compiling:$ac_tool_warned in
5503
6116
yes:)
5504
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6117
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5505
6118
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5506
6119
ac_tool_warned=yes ;;
5507
6120
esac
5527
6140
if test -n "$ac_tool_prefix"; then
5528
6141
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5529
6142
set dummy ${ac_tool_prefix}strip; ac_word=$2
5530
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531
6144
$as_echo_n "checking for $ac_word... " >&6; }
5532
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6145
if test "${ac_cv_prog_STRIP+set}" = set; then :
5533
6146
  $as_echo_n "(cached) " >&6
5534
6147
else
5535
6148
  if test -n "$STRIP"; then
5540
6153
do
5541
6154
  IFS=$as_save_IFS
5542
6155
  test -z "$as_dir" && as_dir=.
5543
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6156
    for ac_exec_ext in '' $ac_executable_extensions; do
5544
6157
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545
6158
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5546
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6159
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547
6160
    break 2
5548
6161
  fi
5549
6162
done
5550
 
done
 
6163
  done
5551
6164
IFS=$as_save_IFS
5552
6165
 
5553
6166
fi
5554
6167
fi
5555
6168
STRIP=$ac_cv_prog_STRIP
5556
6169
if test -n "$STRIP"; then
5557
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6170
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5558
6171
$as_echo "$STRIP" >&6; }
5559
6172
else
5560
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6173
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561
6174
$as_echo "no" >&6; }
5562
6175
fi
5563
6176
 
5567
6180
  ac_ct_STRIP=$STRIP
5568
6181
  # Extract the first word of "strip", so it can be a program name with args.
5569
6182
set dummy strip; ac_word=$2
5570
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571
6184
$as_echo_n "checking for $ac_word... " >&6; }
5572
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6185
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5573
6186
  $as_echo_n "(cached) " >&6
5574
6187
else
5575
6188
  if test -n "$ac_ct_STRIP"; then
5580
6193
do
5581
6194
  IFS=$as_save_IFS
5582
6195
  test -z "$as_dir" && as_dir=.
5583
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6196
    for ac_exec_ext in '' $ac_executable_extensions; do
5584
6197
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5585
6198
    ac_cv_prog_ac_ct_STRIP="strip"
5586
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6199
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587
6200
    break 2
5588
6201
  fi
5589
6202
done
5590
 
done
 
6203
  done
5591
6204
IFS=$as_save_IFS
5592
6205
 
5593
6206
fi
5594
6207
fi
5595
6208
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5596
6209
if test -n "$ac_ct_STRIP"; then
5597
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6210
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5598
6211
$as_echo "$ac_ct_STRIP" >&6; }
5599
6212
else
5600
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6213
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601
6214
$as_echo "no" >&6; }
5602
6215
fi
5603
6216
 
5606
6219
  else
5607
6220
    case $cross_compiling:$ac_tool_warned in
5608
6221
yes:)
5609
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6222
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5610
6223
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5611
6224
ac_tool_warned=yes ;;
5612
6225
esac
5626
6239
if test -n "$ac_tool_prefix"; then
5627
6240
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5628
6241
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5629
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630
6243
$as_echo_n "checking for $ac_word... " >&6; }
5631
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6244
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5632
6245
  $as_echo_n "(cached) " >&6
5633
6246
else
5634
6247
  if test -n "$RANLIB"; then
5639
6252
do
5640
6253
  IFS=$as_save_IFS
5641
6254
  test -z "$as_dir" && as_dir=.
5642
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6255
    for ac_exec_ext in '' $ac_executable_extensions; do
5643
6256
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5644
6257
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5645
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6258
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646
6259
    break 2
5647
6260
  fi
5648
6261
done
5649
 
done
 
6262
  done
5650
6263
IFS=$as_save_IFS
5651
6264
 
5652
6265
fi
5653
6266
fi
5654
6267
RANLIB=$ac_cv_prog_RANLIB
5655
6268
if test -n "$RANLIB"; then
5656
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6269
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5657
6270
$as_echo "$RANLIB" >&6; }
5658
6271
else
5659
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660
6273
$as_echo "no" >&6; }
5661
6274
fi
5662
6275
 
5666
6279
  ac_ct_RANLIB=$RANLIB
5667
6280
  # Extract the first word of "ranlib", so it can be a program name with args.
5668
6281
set dummy ranlib; ac_word=$2
5669
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5670
6283
$as_echo_n "checking for $ac_word... " >&6; }
5671
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6284
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5672
6285
  $as_echo_n "(cached) " >&6
5673
6286
else
5674
6287
  if test -n "$ac_ct_RANLIB"; then
5679
6292
do
5680
6293
  IFS=$as_save_IFS
5681
6294
  test -z "$as_dir" && as_dir=.
5682
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6295
    for ac_exec_ext in '' $ac_executable_extensions; do
5683
6296
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5684
6297
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5685
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6298
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5686
6299
    break 2
5687
6300
  fi
5688
6301
done
5689
 
done
 
6302
  done
5690
6303
IFS=$as_save_IFS
5691
6304
 
5692
6305
fi
5693
6306
fi
5694
6307
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5695
6308
if test -n "$ac_ct_RANLIB"; then
5696
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6309
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5697
6310
$as_echo "$ac_ct_RANLIB" >&6; }
5698
6311
else
5699
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6312
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5700
6313
$as_echo "no" >&6; }
5701
6314
fi
5702
6315
 
5705
6318
  else
5706
6319
    case $cross_compiling:$ac_tool_warned in
5707
6320
yes:)
5708
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6321
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5709
6322
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5710
6323
ac_tool_warned=yes ;;
5711
6324
esac
5783
6396
 
5784
6397
 
5785
6398
# Check for command to grab the raw symbol name followed by C symbol from nm.
5786
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5787
6400
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5788
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
6401
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5789
6402
  $as_echo_n "(cached) " >&6
5790
6403
else
5791
6404
 
5901
6514
int main(){nm_test_var='a';nm_test_func();return(0);}
5902
6515
_LT_EOF
5903
6516
 
5904
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6517
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5905
6518
  (eval $ac_compile) 2>&5
5906
6519
  ac_status=$?
5907
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908
 
  (exit $ac_status); }; then
 
6520
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6521
  test $ac_status = 0; }; then
5909
6522
    # Now try to grab the symbols.
5910
6523
    nlist=conftest.nm
5911
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
 
6524
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5912
6525
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5913
6526
  ac_status=$?
5914
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915
 
  (exit $ac_status); } && test -s "$nlist"; then
 
6527
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6528
  test $ac_status = 0; } && test -s "$nlist"; then
5916
6529
      # Try sorting and uniquifying the output.
5917
6530
      if sort "$nlist" | uniq > "$nlist"T; then
5918
6531
        mv -f "$nlist"T "$nlist"
5965
6578
          lt_save_CFLAGS="$CFLAGS"
5966
6579
          LIBS="conftstm.$ac_objext"
5967
6580
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5968
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
6581
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5969
6582
  (eval $ac_link) 2>&5
5970
6583
  ac_status=$?
5971
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
6584
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6585
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5973
6586
            pipe_works=yes
5974
6587
          fi
5975
6588
          LIBS="$lt_save_LIBS"
6003
6616
  lt_cv_sys_global_symbol_to_cdecl=
6004
6617
fi
6005
6618
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6006
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6619
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6007
6620
$as_echo "failed" >&6; }
6008
6621
else
6009
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6622
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6010
6623
$as_echo "ok" >&6; }
6011
6624
fi
6012
6625
 
6033
6646
 
6034
6647
 
6035
6648
# Check whether --enable-libtool-lock was given.
6036
 
if test "${enable_libtool_lock+set}" = set; then
 
6649
if test "${enable_libtool_lock+set}" = set; then :
6037
6650
  enableval=$enable_libtool_lock;
6038
6651
fi
6039
6652
 
6045
6658
ia64-*-hpux*)
6046
6659
  # Find out which ABI we are using.
6047
6660
  echo 'int i;' > conftest.$ac_ext
6048
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6661
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6049
6662
  (eval $ac_compile) 2>&5
6050
6663
  ac_status=$?
6051
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052
 
  (exit $ac_status); }; then
 
6664
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6665
  test $ac_status = 0; }; then
6053
6666
    case `/usr/bin/file conftest.$ac_objext` in
6054
6667
      *ELF-32*)
6055
6668
        HPUX_IA64_MODE="32"
6063
6676
  ;;
6064
6677
*-*-irix6*)
6065
6678
  # Find out which ABI we are using.
6066
 
  echo '#line 6066 "configure"' > conftest.$ac_ext
6067
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6679
  echo '#line 6679 "configure"' > conftest.$ac_ext
 
6680
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6068
6681
  (eval $ac_compile) 2>&5
6069
6682
  ac_status=$?
6070
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071
 
  (exit $ac_status); }; then
 
6683
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6684
  test $ac_status = 0; }; then
6072
6685
    if test "$lt_cv_prog_gnu_ld" = yes; then
6073
6686
      case `/usr/bin/file conftest.$ac_objext` in
6074
6687
        *32-bit*)
6102
6715
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6103
6716
  # Find out which ABI we are using.
6104
6717
  echo 'int i;' > conftest.$ac_ext
6105
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6718
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6106
6719
  (eval $ac_compile) 2>&5
6107
6720
  ac_status=$?
6108
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109
 
  (exit $ac_status); }; then
 
6721
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6722
  test $ac_status = 0; }; then
6110
6723
    case `/usr/bin/file conftest.o` in
6111
6724
      *32-bit*)
6112
6725
        case $host in
6155
6768
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6156
6769
  SAVE_CFLAGS="$CFLAGS"
6157
6770
  CFLAGS="$CFLAGS -belf"
6158
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6771
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6159
6772
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6160
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6773
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6161
6774
  $as_echo_n "(cached) " >&6
6162
6775
else
6163
6776
  ac_ext=c
6166
6779
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6167
6780
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6168
6781
 
6169
 
     cat >conftest.$ac_ext <<_ACEOF
6170
 
/* confdefs.h.  */
6171
 
_ACEOF
6172
 
cat confdefs.h >>conftest.$ac_ext
6173
 
cat >>conftest.$ac_ext <<_ACEOF
 
6782
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6174
6783
/* end confdefs.h.  */
6175
6784
 
6176
6785
int
6181
6790
  return 0;
6182
6791
}
6183
6792
_ACEOF
6184
 
rm -f conftest.$ac_objext conftest$ac_exeext
6185
 
if { (ac_try="$ac_link"
6186
 
case "(($ac_try" in
6187
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6188
 
  *) ac_try_echo=$ac_try;;
6189
 
esac
6190
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6191
 
$as_echo "$ac_try_echo") >&5
6192
 
  (eval "$ac_link") 2>conftest.er1
6193
 
  ac_status=$?
6194
 
  grep -v '^ *+' conftest.er1 >conftest.err
6195
 
  rm -f conftest.er1
6196
 
  cat conftest.err >&5
6197
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198
 
  (exit $ac_status); } && {
6199
 
         test -z "$ac_c_werror_flag" ||
6200
 
         test ! -s conftest.err
6201
 
       } && test -s conftest$ac_exeext && {
6202
 
         test "$cross_compiling" = yes ||
6203
 
         $as_test_x conftest$ac_exeext
6204
 
       }; then
 
6793
if ac_fn_c_try_link "$LINENO"; then :
6205
6794
  lt_cv_cc_needs_belf=yes
6206
6795
else
6207
 
  $as_echo "$as_me: failed program was:" >&5
6208
 
sed 's/^/| /' conftest.$ac_ext >&5
6209
 
 
6210
 
        lt_cv_cc_needs_belf=no
 
6796
  lt_cv_cc_needs_belf=no
6211
6797
fi
6212
 
 
6213
 
rm -rf conftest.dSYM
6214
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6215
 
      conftest$ac_exeext conftest.$ac_ext
 
6798
rm -f core conftest.err conftest.$ac_objext \
 
6799
    conftest$ac_exeext conftest.$ac_ext
6216
6800
     ac_ext=c
6217
6801
ac_cpp='$CPP $CPPFLAGS'
6218
6802
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6220
6804
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6221
6805
 
6222
6806
fi
6223
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6224
6808
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6225
6809
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6226
6810
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6230
6814
sparc*-*solaris*)
6231
6815
  # Find out which ABI we are using.
6232
6816
  echo 'int i;' > conftest.$ac_ext
6233
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6817
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6234
6818
  (eval $ac_compile) 2>&5
6235
6819
  ac_status=$?
6236
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237
 
  (exit $ac_status); }; then
 
6820
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6821
  test $ac_status = 0; }; then
6238
6822
    case `/usr/bin/file conftest.o` in
6239
6823
    *64-bit*)
6240
6824
      case $lt_cv_prog_gnu_ld in
6260
6844
    if test -n "$ac_tool_prefix"; then
6261
6845
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6262
6846
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6263
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6264
6848
$as_echo_n "checking for $ac_word... " >&6; }
6265
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6849
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6266
6850
  $as_echo_n "(cached) " >&6
6267
6851
else
6268
6852
  if test -n "$DSYMUTIL"; then
6273
6857
do
6274
6858
  IFS=$as_save_IFS
6275
6859
  test -z "$as_dir" && as_dir=.
6276
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6860
    for ac_exec_ext in '' $ac_executable_extensions; do
6277
6861
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6278
6862
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6279
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6863
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280
6864
    break 2
6281
6865
  fi
6282
6866
done
6283
 
done
 
6867
  done
6284
6868
IFS=$as_save_IFS
6285
6869
 
6286
6870
fi
6287
6871
fi
6288
6872
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6289
6873
if test -n "$DSYMUTIL"; then
6290
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6291
6875
$as_echo "$DSYMUTIL" >&6; }
6292
6876
else
6293
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6294
6878
$as_echo "no" >&6; }
6295
6879
fi
6296
6880
 
6300
6884
  ac_ct_DSYMUTIL=$DSYMUTIL
6301
6885
  # Extract the first word of "dsymutil", so it can be a program name with args.
6302
6886
set dummy dsymutil; ac_word=$2
6303
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6304
6888
$as_echo_n "checking for $ac_word... " >&6; }
6305
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6889
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6306
6890
  $as_echo_n "(cached) " >&6
6307
6891
else
6308
6892
  if test -n "$ac_ct_DSYMUTIL"; then
6313
6897
do
6314
6898
  IFS=$as_save_IFS
6315
6899
  test -z "$as_dir" && as_dir=.
6316
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6900
    for ac_exec_ext in '' $ac_executable_extensions; do
6317
6901
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6318
6902
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6319
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6903
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320
6904
    break 2
6321
6905
  fi
6322
6906
done
6323
 
done
 
6907
  done
6324
6908
IFS=$as_save_IFS
6325
6909
 
6326
6910
fi
6327
6911
fi
6328
6912
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6329
6913
if test -n "$ac_ct_DSYMUTIL"; then
6330
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6914
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6331
6915
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6332
6916
else
6333
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6917
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334
6918
$as_echo "no" >&6; }
6335
6919
fi
6336
6920
 
6339
6923
  else
6340
6924
    case $cross_compiling:$ac_tool_warned in
6341
6925
yes:)
6342
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6343
6927
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6344
6928
ac_tool_warned=yes ;;
6345
6929
esac
6352
6936
    if test -n "$ac_tool_prefix"; then
6353
6937
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6354
6938
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6355
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356
6940
$as_echo_n "checking for $ac_word... " >&6; }
6357
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6941
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6358
6942
  $as_echo_n "(cached) " >&6
6359
6943
else
6360
6944
  if test -n "$NMEDIT"; then
6365
6949
do
6366
6950
  IFS=$as_save_IFS
6367
6951
  test -z "$as_dir" && as_dir=.
6368
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6952
    for ac_exec_ext in '' $ac_executable_extensions; do
6369
6953
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370
6954
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6371
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6955
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372
6956
    break 2
6373
6957
  fi
6374
6958
done
6375
 
done
 
6959
  done
6376
6960
IFS=$as_save_IFS
6377
6961
 
6378
6962
fi
6379
6963
fi
6380
6964
NMEDIT=$ac_cv_prog_NMEDIT
6381
6965
if test -n "$NMEDIT"; then
6382
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6966
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6383
6967
$as_echo "$NMEDIT" >&6; }
6384
6968
else
6385
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6969
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386
6970
$as_echo "no" >&6; }
6387
6971
fi
6388
6972
 
6392
6976
  ac_ct_NMEDIT=$NMEDIT
6393
6977
  # Extract the first word of "nmedit", so it can be a program name with args.
6394
6978
set dummy nmedit; ac_word=$2
6395
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396
6980
$as_echo_n "checking for $ac_word... " >&6; }
6397
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6981
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6398
6982
  $as_echo_n "(cached) " >&6
6399
6983
else
6400
6984
  if test -n "$ac_ct_NMEDIT"; then
6405
6989
do
6406
6990
  IFS=$as_save_IFS
6407
6991
  test -z "$as_dir" && as_dir=.
6408
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6992
    for ac_exec_ext in '' $ac_executable_extensions; do
6409
6993
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6410
6994
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6411
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6995
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412
6996
    break 2
6413
6997
  fi
6414
6998
done
6415
 
done
 
6999
  done
6416
7000
IFS=$as_save_IFS
6417
7001
 
6418
7002
fi
6419
7003
fi
6420
7004
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6421
7005
if test -n "$ac_ct_NMEDIT"; then
6422
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7006
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6423
7007
$as_echo "$ac_ct_NMEDIT" >&6; }
6424
7008
else
6425
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7009
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426
7010
$as_echo "no" >&6; }
6427
7011
fi
6428
7012
 
6431
7015
  else
6432
7016
    case $cross_compiling:$ac_tool_warned in
6433
7017
yes:)
6434
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7018
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6435
7019
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6436
7020
ac_tool_warned=yes ;;
6437
7021
esac
6444
7028
    if test -n "$ac_tool_prefix"; then
6445
7029
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6446
7030
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6447
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448
7032
$as_echo_n "checking for $ac_word... " >&6; }
6449
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7033
if test "${ac_cv_prog_LIPO+set}" = set; then :
6450
7034
  $as_echo_n "(cached) " >&6
6451
7035
else
6452
7036
  if test -n "$LIPO"; then
6457
7041
do
6458
7042
  IFS=$as_save_IFS
6459
7043
  test -z "$as_dir" && as_dir=.
6460
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7044
    for ac_exec_ext in '' $ac_executable_extensions; do
6461
7045
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462
7046
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6463
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7047
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464
7048
    break 2
6465
7049
  fi
6466
7050
done
6467
 
done
 
7051
  done
6468
7052
IFS=$as_save_IFS
6469
7053
 
6470
7054
fi
6471
7055
fi
6472
7056
LIPO=$ac_cv_prog_LIPO
6473
7057
if test -n "$LIPO"; then
6474
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7058
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6475
7059
$as_echo "$LIPO" >&6; }
6476
7060
else
6477
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7061
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478
7062
$as_echo "no" >&6; }
6479
7063
fi
6480
7064
 
6484
7068
  ac_ct_LIPO=$LIPO
6485
7069
  # Extract the first word of "lipo", so it can be a program name with args.
6486
7070
set dummy lipo; ac_word=$2
6487
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488
7072
$as_echo_n "checking for $ac_word... " >&6; }
6489
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7073
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6490
7074
  $as_echo_n "(cached) " >&6
6491
7075
else
6492
7076
  if test -n "$ac_ct_LIPO"; then
6497
7081
do
6498
7082
  IFS=$as_save_IFS
6499
7083
  test -z "$as_dir" && as_dir=.
6500
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7084
    for ac_exec_ext in '' $ac_executable_extensions; do
6501
7085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6502
7086
    ac_cv_prog_ac_ct_LIPO="lipo"
6503
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7087
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504
7088
    break 2
6505
7089
  fi
6506
7090
done
6507
 
done
 
7091
  done
6508
7092
IFS=$as_save_IFS
6509
7093
 
6510
7094
fi
6511
7095
fi
6512
7096
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6513
7097
if test -n "$ac_ct_LIPO"; then
6514
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6515
7099
$as_echo "$ac_ct_LIPO" >&6; }
6516
7100
else
6517
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518
7102
$as_echo "no" >&6; }
6519
7103
fi
6520
7104
 
6523
7107
  else
6524
7108
    case $cross_compiling:$ac_tool_warned in
6525
7109
yes:)
6526
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7110
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6527
7111
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6528
7112
ac_tool_warned=yes ;;
6529
7113
esac
6536
7120
    if test -n "$ac_tool_prefix"; then
6537
7121
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6538
7122
set dummy ${ac_tool_prefix}otool; ac_word=$2
6539
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540
7124
$as_echo_n "checking for $ac_word... " >&6; }
6541
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7125
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6542
7126
  $as_echo_n "(cached) " >&6
6543
7127
else
6544
7128
  if test -n "$OTOOL"; then
6549
7133
do
6550
7134
  IFS=$as_save_IFS
6551
7135
  test -z "$as_dir" && as_dir=.
6552
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7136
    for ac_exec_ext in '' $ac_executable_extensions; do
6553
7137
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554
7138
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6555
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7139
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556
7140
    break 2
6557
7141
  fi
6558
7142
done
6559
 
done
 
7143
  done
6560
7144
IFS=$as_save_IFS
6561
7145
 
6562
7146
fi
6563
7147
fi
6564
7148
OTOOL=$ac_cv_prog_OTOOL
6565
7149
if test -n "$OTOOL"; then
6566
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6567
7151
$as_echo "$OTOOL" >&6; }
6568
7152
else
6569
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7153
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570
7154
$as_echo "no" >&6; }
6571
7155
fi
6572
7156
 
6576
7160
  ac_ct_OTOOL=$OTOOL
6577
7161
  # Extract the first word of "otool", so it can be a program name with args.
6578
7162
set dummy otool; ac_word=$2
6579
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580
7164
$as_echo_n "checking for $ac_word... " >&6; }
6581
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7165
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6582
7166
  $as_echo_n "(cached) " >&6
6583
7167
else
6584
7168
  if test -n "$ac_ct_OTOOL"; then
6589
7173
do
6590
7174
  IFS=$as_save_IFS
6591
7175
  test -z "$as_dir" && as_dir=.
6592
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7176
    for ac_exec_ext in '' $ac_executable_extensions; do
6593
7177
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594
7178
    ac_cv_prog_ac_ct_OTOOL="otool"
6595
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7179
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596
7180
    break 2
6597
7181
  fi
6598
7182
done
6599
 
done
 
7183
  done
6600
7184
IFS=$as_save_IFS
6601
7185
 
6602
7186
fi
6603
7187
fi
6604
7188
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6605
7189
if test -n "$ac_ct_OTOOL"; then
6606
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6607
7191
$as_echo "$ac_ct_OTOOL" >&6; }
6608
7192
else
6609
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610
7194
$as_echo "no" >&6; }
6611
7195
fi
6612
7196
 
6615
7199
  else
6616
7200
    case $cross_compiling:$ac_tool_warned in
6617
7201
yes:)
6618
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7202
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619
7203
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620
7204
ac_tool_warned=yes ;;
6621
7205
esac
6628
7212
    if test -n "$ac_tool_prefix"; then
6629
7213
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6630
7214
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6631
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632
7216
$as_echo_n "checking for $ac_word... " >&6; }
6633
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7217
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6634
7218
  $as_echo_n "(cached) " >&6
6635
7219
else
6636
7220
  if test -n "$OTOOL64"; then
6641
7225
do
6642
7226
  IFS=$as_save_IFS
6643
7227
  test -z "$as_dir" && as_dir=.
6644
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7228
    for ac_exec_ext in '' $ac_executable_extensions; do
6645
7229
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646
7230
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6647
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7231
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648
7232
    break 2
6649
7233
  fi
6650
7234
done
6651
 
done
 
7235
  done
6652
7236
IFS=$as_save_IFS
6653
7237
 
6654
7238
fi
6655
7239
fi
6656
7240
OTOOL64=$ac_cv_prog_OTOOL64
6657
7241
if test -n "$OTOOL64"; then
6658
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7242
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6659
7243
$as_echo "$OTOOL64" >&6; }
6660
7244
else
6661
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7245
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662
7246
$as_echo "no" >&6; }
6663
7247
fi
6664
7248
 
6668
7252
  ac_ct_OTOOL64=$OTOOL64
6669
7253
  # Extract the first word of "otool64", so it can be a program name with args.
6670
7254
set dummy otool64; ac_word=$2
6671
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672
7256
$as_echo_n "checking for $ac_word... " >&6; }
6673
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7257
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6674
7258
  $as_echo_n "(cached) " >&6
6675
7259
else
6676
7260
  if test -n "$ac_ct_OTOOL64"; then
6681
7265
do
6682
7266
  IFS=$as_save_IFS
6683
7267
  test -z "$as_dir" && as_dir=.
6684
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7268
    for ac_exec_ext in '' $ac_executable_extensions; do
6685
7269
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686
7270
    ac_cv_prog_ac_ct_OTOOL64="otool64"
6687
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7271
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688
7272
    break 2
6689
7273
  fi
6690
7274
done
6691
 
done
 
7275
  done
6692
7276
IFS=$as_save_IFS
6693
7277
 
6694
7278
fi
6695
7279
fi
6696
7280
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6697
7281
if test -n "$ac_ct_OTOOL64"; then
6698
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6699
7283
$as_echo "$ac_ct_OTOOL64" >&6; }
6700
7284
else
6701
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702
7286
$as_echo "no" >&6; }
6703
7287
fi
6704
7288
 
6707
7291
  else
6708
7292
    case $cross_compiling:$ac_tool_warned in
6709
7293
yes:)
6710
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7294
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711
7295
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712
7296
ac_tool_warned=yes ;;
6713
7297
esac
6743
7327
 
6744
7328
 
6745
7329
 
6746
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7330
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6747
7331
$as_echo_n "checking for -single_module linker flag... " >&6; }
6748
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7332
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6749
7333
  $as_echo_n "(cached) " >&6
6750
7334
else
6751
7335
  lt_cv_apple_cc_single_mod=no
6770
7354
        rm -f conftest.*
6771
7355
      fi
6772
7356
fi
6773
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6774
7358
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6775
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7359
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6776
7360
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6777
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7361
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6778
7362
  $as_echo_n "(cached) " >&6
6779
7363
else
6780
7364
  lt_cv_ld_exported_symbols_list=no
6781
7365
      save_LDFLAGS=$LDFLAGS
6782
7366
      echo "_main" > conftest.sym
6783
7367
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6784
 
      cat >conftest.$ac_ext <<_ACEOF
6785
 
/* confdefs.h.  */
6786
 
_ACEOF
6787
 
cat confdefs.h >>conftest.$ac_ext
6788
 
cat >>conftest.$ac_ext <<_ACEOF
 
7368
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6789
7369
/* end confdefs.h.  */
6790
7370
 
6791
7371
int
6796
7376
  return 0;
6797
7377
}
6798
7378
_ACEOF
6799
 
rm -f conftest.$ac_objext conftest$ac_exeext
6800
 
if { (ac_try="$ac_link"
6801
 
case "(($ac_try" in
6802
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6803
 
  *) ac_try_echo=$ac_try;;
6804
 
esac
6805
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6806
 
$as_echo "$ac_try_echo") >&5
6807
 
  (eval "$ac_link") 2>conftest.er1
6808
 
  ac_status=$?
6809
 
  grep -v '^ *+' conftest.er1 >conftest.err
6810
 
  rm -f conftest.er1
6811
 
  cat conftest.err >&5
6812
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813
 
  (exit $ac_status); } && {
6814
 
         test -z "$ac_c_werror_flag" ||
6815
 
         test ! -s conftest.err
6816
 
       } && test -s conftest$ac_exeext && {
6817
 
         test "$cross_compiling" = yes ||
6818
 
         $as_test_x conftest$ac_exeext
6819
 
       }; then
 
7379
if ac_fn_c_try_link "$LINENO"; then :
6820
7380
  lt_cv_ld_exported_symbols_list=yes
6821
7381
else
6822
 
  $as_echo "$as_me: failed program was:" >&5
6823
 
sed 's/^/| /' conftest.$ac_ext >&5
6824
 
 
6825
 
        lt_cv_ld_exported_symbols_list=no
 
7382
  lt_cv_ld_exported_symbols_list=no
6826
7383
fi
6827
 
 
6828
 
rm -rf conftest.dSYM
6829
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6830
 
      conftest$ac_exeext conftest.$ac_ext
 
7384
rm -f core conftest.err conftest.$ac_objext \
 
7385
    conftest$ac_exeext conftest.$ac_ext
6831
7386
        LDFLAGS="$save_LDFLAGS"
6832
7387
 
6833
7388
fi
6834
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6835
7390
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6836
7391
    case $host_os in
6837
7392
    rhapsody* | darwin1.[012])
6873
7428
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6874
7429
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6875
7430
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6876
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
7431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6877
7432
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6878
7433
# On Suns, sometimes $CPP names a directory.
6879
7434
if test -n "$CPP" && test -d "$CPP"; then
6880
7435
  CPP=
6881
7436
fi
6882
7437
if test -z "$CPP"; then
6883
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
7438
  if test "${ac_cv_prog_CPP+set}" = set; then :
6884
7439
  $as_echo_n "(cached) " >&6
6885
7440
else
6886
7441
      # Double quotes because CPP needs to be expanded
6895
7450
  # <limits.h> exists even on freestanding compilers.
6896
7451
  # On the NeXT, cc -E runs the code through the compiler's parser,
6897
7452
  # not just through cpp. "Syntax error" is here to catch this case.
6898
 
  cat >conftest.$ac_ext <<_ACEOF
6899
 
/* confdefs.h.  */
6900
 
_ACEOF
6901
 
cat confdefs.h >>conftest.$ac_ext
6902
 
cat >>conftest.$ac_ext <<_ACEOF
 
7453
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6903
7454
/* end confdefs.h.  */
6904
7455
#ifdef __STDC__
6905
7456
# include <limits.h>
6908
7459
#endif
6909
7460
                     Syntax error
6910
7461
_ACEOF
6911
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6912
 
case "(($ac_try" in
6913
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6914
 
  *) ac_try_echo=$ac_try;;
6915
 
esac
6916
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6917
 
$as_echo "$ac_try_echo") >&5
6918
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6919
 
  ac_status=$?
6920
 
  grep -v '^ *+' conftest.er1 >conftest.err
6921
 
  rm -f conftest.er1
6922
 
  cat conftest.err >&5
6923
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924
 
  (exit $ac_status); } >/dev/null && {
6925
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6926
 
         test ! -s conftest.err
6927
 
       }; then
6928
 
  :
 
7462
if ac_fn_c_try_cpp "$LINENO"; then :
 
7463
 
6929
7464
else
6930
 
  $as_echo "$as_me: failed program was:" >&5
6931
 
sed 's/^/| /' conftest.$ac_ext >&5
6932
 
 
6933
7465
  # Broken: fails on valid input.
6934
7466
continue
6935
7467
fi
6936
 
 
6937
7468
rm -f conftest.err conftest.$ac_ext
6938
7469
 
6939
7470
  # OK, works on sane cases.  Now check whether nonexistent headers
6940
7471
  # can be detected and how.
6941
 
  cat >conftest.$ac_ext <<_ACEOF
6942
 
/* confdefs.h.  */
6943
 
_ACEOF
6944
 
cat confdefs.h >>conftest.$ac_ext
6945
 
cat >>conftest.$ac_ext <<_ACEOF
 
7472
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6946
7473
/* end confdefs.h.  */
6947
7474
#include <ac_nonexistent.h>
6948
7475
_ACEOF
6949
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6950
 
case "(($ac_try" in
6951
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6952
 
  *) ac_try_echo=$ac_try;;
6953
 
esac
6954
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6955
 
$as_echo "$ac_try_echo") >&5
6956
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6957
 
  ac_status=$?
6958
 
  grep -v '^ *+' conftest.er1 >conftest.err
6959
 
  rm -f conftest.er1
6960
 
  cat conftest.err >&5
6961
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962
 
  (exit $ac_status); } >/dev/null && {
6963
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6964
 
         test ! -s conftest.err
6965
 
       }; then
 
7476
if ac_fn_c_try_cpp "$LINENO"; then :
6966
7477
  # Broken: success on invalid input.
6967
7478
continue
6968
7479
else
6969
 
  $as_echo "$as_me: failed program was:" >&5
6970
 
sed 's/^/| /' conftest.$ac_ext >&5
6971
 
 
6972
7480
  # Passes both tests.
6973
7481
ac_preproc_ok=:
6974
7482
break
6975
7483
fi
6976
 
 
6977
7484
rm -f conftest.err conftest.$ac_ext
6978
7485
 
6979
7486
done
6980
7487
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6981
7488
rm -f conftest.err conftest.$ac_ext
6982
 
if $ac_preproc_ok; then
 
7489
if $ac_preproc_ok; then :
6983
7490
  break
6984
7491
fi
6985
7492
 
6991
7498
else
6992
7499
  ac_cv_prog_CPP=$CPP
6993
7500
fi
6994
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
7501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6995
7502
$as_echo "$CPP" >&6; }
6996
7503
ac_preproc_ok=false
6997
7504
for ac_c_preproc_warn_flag in '' yes
7002
7509
  # <limits.h> exists even on freestanding compilers.
7003
7510
  # On the NeXT, cc -E runs the code through the compiler's parser,
7004
7511
  # not just through cpp. "Syntax error" is here to catch this case.
7005
 
  cat >conftest.$ac_ext <<_ACEOF
7006
 
/* confdefs.h.  */
7007
 
_ACEOF
7008
 
cat confdefs.h >>conftest.$ac_ext
7009
 
cat >>conftest.$ac_ext <<_ACEOF
 
7512
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7010
7513
/* end confdefs.h.  */
7011
7514
#ifdef __STDC__
7012
7515
# include <limits.h>
7015
7518
#endif
7016
7519
                     Syntax error
7017
7520
_ACEOF
7018
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7019
 
case "(($ac_try" in
7020
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7021
 
  *) ac_try_echo=$ac_try;;
7022
 
esac
7023
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7024
 
$as_echo "$ac_try_echo") >&5
7025
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7026
 
  ac_status=$?
7027
 
  grep -v '^ *+' conftest.er1 >conftest.err
7028
 
  rm -f conftest.er1
7029
 
  cat conftest.err >&5
7030
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031
 
  (exit $ac_status); } >/dev/null && {
7032
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7033
 
         test ! -s conftest.err
7034
 
       }; then
7035
 
  :
 
7521
if ac_fn_c_try_cpp "$LINENO"; then :
 
7522
 
7036
7523
else
7037
 
  $as_echo "$as_me: failed program was:" >&5
7038
 
sed 's/^/| /' conftest.$ac_ext >&5
7039
 
 
7040
7524
  # Broken: fails on valid input.
7041
7525
continue
7042
7526
fi
7043
 
 
7044
7527
rm -f conftest.err conftest.$ac_ext
7045
7528
 
7046
7529
  # OK, works on sane cases.  Now check whether nonexistent headers
7047
7530
  # can be detected and how.
7048
 
  cat >conftest.$ac_ext <<_ACEOF
7049
 
/* confdefs.h.  */
7050
 
_ACEOF
7051
 
cat confdefs.h >>conftest.$ac_ext
7052
 
cat >>conftest.$ac_ext <<_ACEOF
 
7531
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7053
7532
/* end confdefs.h.  */
7054
7533
#include <ac_nonexistent.h>
7055
7534
_ACEOF
7056
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
7057
 
case "(($ac_try" in
7058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7059
 
  *) ac_try_echo=$ac_try;;
7060
 
esac
7061
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7062
 
$as_echo "$ac_try_echo") >&5
7063
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7064
 
  ac_status=$?
7065
 
  grep -v '^ *+' conftest.er1 >conftest.err
7066
 
  rm -f conftest.er1
7067
 
  cat conftest.err >&5
7068
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069
 
  (exit $ac_status); } >/dev/null && {
7070
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7071
 
         test ! -s conftest.err
7072
 
       }; then
 
7535
if ac_fn_c_try_cpp "$LINENO"; then :
7073
7536
  # Broken: success on invalid input.
7074
7537
continue
7075
7538
else
7076
 
  $as_echo "$as_me: failed program was:" >&5
7077
 
sed 's/^/| /' conftest.$ac_ext >&5
7078
 
 
7079
7539
  # Passes both tests.
7080
7540
ac_preproc_ok=:
7081
7541
break
7082
7542
fi
7083
 
 
7084
7543
rm -f conftest.err conftest.$ac_ext
7085
7544
 
7086
7545
done
7087
7546
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7088
7547
rm -f conftest.err conftest.$ac_ext
7089
 
if $ac_preproc_ok; then
7090
 
  :
 
7548
if $ac_preproc_ok; then :
 
7549
 
7091
7550
else
7092
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7551
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7093
7552
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7094
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7095
 
See \`config.log' for more details." >&5
7096
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7097
 
See \`config.log' for more details." >&2;}
7098
 
   { (exit 1); exit 1; }; }; }
 
7553
as_fn_error "C preprocessor \"$CPP\" fails sanity check
 
7554
See \`config.log' for more details." "$LINENO" 5; }
7099
7555
fi
7100
7556
 
7101
7557
ac_ext=c
7105
7561
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7106
7562
 
7107
7563
 
7108
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7109
7565
$as_echo_n "checking for ANSI C header files... " >&6; }
7110
 
if test "${ac_cv_header_stdc+set}" = set; then
 
7566
if test "${ac_cv_header_stdc+set}" = set; then :
7111
7567
  $as_echo_n "(cached) " >&6
7112
7568
else
7113
 
  cat >conftest.$ac_ext <<_ACEOF
7114
 
/* confdefs.h.  */
7115
 
_ACEOF
7116
 
cat confdefs.h >>conftest.$ac_ext
7117
 
cat >>conftest.$ac_ext <<_ACEOF
 
7569
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118
7570
/* end confdefs.h.  */
7119
7571
#include <stdlib.h>
7120
7572
#include <stdarg.h>
7129
7581
  return 0;
7130
7582
}
7131
7583
_ACEOF
7132
 
rm -f conftest.$ac_objext
7133
 
if { (ac_try="$ac_compile"
7134
 
case "(($ac_try" in
7135
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7136
 
  *) ac_try_echo=$ac_try;;
7137
 
esac
7138
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7139
 
$as_echo "$ac_try_echo") >&5
7140
 
  (eval "$ac_compile") 2>conftest.er1
7141
 
  ac_status=$?
7142
 
  grep -v '^ *+' conftest.er1 >conftest.err
7143
 
  rm -f conftest.er1
7144
 
  cat conftest.err >&5
7145
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146
 
  (exit $ac_status); } && {
7147
 
         test -z "$ac_c_werror_flag" ||
7148
 
         test ! -s conftest.err
7149
 
       } && test -s conftest.$ac_objext; then
 
7584
if ac_fn_c_try_compile "$LINENO"; then :
7150
7585
  ac_cv_header_stdc=yes
7151
7586
else
7152
 
  $as_echo "$as_me: failed program was:" >&5
7153
 
sed 's/^/| /' conftest.$ac_ext >&5
7154
 
 
7155
 
        ac_cv_header_stdc=no
 
7587
  ac_cv_header_stdc=no
7156
7588
fi
7157
 
 
7158
7589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7159
7590
 
7160
7591
if test $ac_cv_header_stdc = yes; then
7161
7592
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7162
 
  cat >conftest.$ac_ext <<_ACEOF
7163
 
/* confdefs.h.  */
7164
 
_ACEOF
7165
 
cat confdefs.h >>conftest.$ac_ext
7166
 
cat >>conftest.$ac_ext <<_ACEOF
 
7593
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7167
7594
/* end confdefs.h.  */
7168
7595
#include <string.h>
7169
7596
 
7170
7597
_ACEOF
7171
7598
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7172
 
  $EGREP "memchr" >/dev/null 2>&1; then
7173
 
  :
 
7599
  $EGREP "memchr" >/dev/null 2>&1; then :
 
7600
 
7174
7601
else
7175
7602
  ac_cv_header_stdc=no
7176
7603
fi
7180
7607
 
7181
7608
if test $ac_cv_header_stdc = yes; then
7182
7609
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7183
 
  cat >conftest.$ac_ext <<_ACEOF
7184
 
/* confdefs.h.  */
7185
 
_ACEOF
7186
 
cat confdefs.h >>conftest.$ac_ext
7187
 
cat >>conftest.$ac_ext <<_ACEOF
 
7610
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7188
7611
/* end confdefs.h.  */
7189
7612
#include <stdlib.h>
7190
7613
 
7191
7614
_ACEOF
7192
7615
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7193
 
  $EGREP "free" >/dev/null 2>&1; then
7194
 
  :
 
7616
  $EGREP "free" >/dev/null 2>&1; then :
 
7617
 
7195
7618
else
7196
7619
  ac_cv_header_stdc=no
7197
7620
fi
7201
7624
 
7202
7625
if test $ac_cv_header_stdc = yes; then
7203
7626
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7204
 
  if test "$cross_compiling" = yes; then
 
7627
  if test "$cross_compiling" = yes; then :
7205
7628
  :
7206
7629
else
7207
 
  cat >conftest.$ac_ext <<_ACEOF
7208
 
/* confdefs.h.  */
7209
 
_ACEOF
7210
 
cat confdefs.h >>conftest.$ac_ext
7211
 
cat >>conftest.$ac_ext <<_ACEOF
 
7630
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7212
7631
/* end confdefs.h.  */
7213
7632
#include <ctype.h>
7214
7633
#include <stdlib.h>
7235
7654
  return 0;
7236
7655
}
7237
7656
_ACEOF
7238
 
rm -f conftest$ac_exeext
7239
 
if { (ac_try="$ac_link"
7240
 
case "(($ac_try" in
7241
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7242
 
  *) ac_try_echo=$ac_try;;
7243
 
esac
7244
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7245
 
$as_echo "$ac_try_echo") >&5
7246
 
  (eval "$ac_link") 2>&5
7247
 
  ac_status=$?
7248
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7250
 
  { (case "(($ac_try" in
7251
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7252
 
  *) ac_try_echo=$ac_try;;
7253
 
esac
7254
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7255
 
$as_echo "$ac_try_echo") >&5
7256
 
  (eval "$ac_try") 2>&5
7257
 
  ac_status=$?
7258
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259
 
  (exit $ac_status); }; }; then
7260
 
  :
 
7657
if ac_fn_c_try_run "$LINENO"; then :
 
7658
 
7261
7659
else
7262
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
7263
 
$as_echo "$as_me: failed program was:" >&5
7264
 
sed 's/^/| /' conftest.$ac_ext >&5
7265
 
 
7266
 
( exit $ac_status )
7267
 
ac_cv_header_stdc=no
7268
 
fi
7269
 
rm -rf conftest.dSYM
7270
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7271
 
fi
7272
 
 
7273
 
 
7274
 
fi
7275
 
fi
7276
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7660
  ac_cv_header_stdc=no
 
7661
fi
 
7662
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
7663
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
7664
fi
 
7665
 
 
7666
fi
 
7667
fi
 
7668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7277
7669
$as_echo "$ac_cv_header_stdc" >&6; }
7278
7670
if test $ac_cv_header_stdc = yes; then
7279
7671
 
7280
 
cat >>confdefs.h <<\_ACEOF
7281
 
#define STDC_HEADERS 1
7282
 
_ACEOF
 
7672
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7283
7673
 
7284
7674
fi
7285
7675
 
7286
7676
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7287
 
 
7288
 
 
7289
 
 
7290
 
 
7291
 
 
7292
 
 
7293
 
 
7294
 
 
7295
 
 
7296
7677
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7297
7678
                  inttypes.h stdint.h unistd.h
7298
 
do
7299
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7300
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7301
 
$as_echo_n "checking for $ac_header... " >&6; }
7302
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7303
 
  $as_echo_n "(cached) " >&6
7304
 
else
7305
 
  cat >conftest.$ac_ext <<_ACEOF
7306
 
/* confdefs.h.  */
7307
 
_ACEOF
7308
 
cat confdefs.h >>conftest.$ac_ext
7309
 
cat >>conftest.$ac_ext <<_ACEOF
7310
 
/* end confdefs.h.  */
7311
 
$ac_includes_default
7312
 
 
7313
 
#include <$ac_header>
7314
 
_ACEOF
7315
 
rm -f conftest.$ac_objext
7316
 
if { (ac_try="$ac_compile"
7317
 
case "(($ac_try" in
7318
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7319
 
  *) ac_try_echo=$ac_try;;
7320
 
esac
7321
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7322
 
$as_echo "$ac_try_echo") >&5
7323
 
  (eval "$ac_compile") 2>conftest.er1
7324
 
  ac_status=$?
7325
 
  grep -v '^ *+' conftest.er1 >conftest.err
7326
 
  rm -f conftest.er1
7327
 
  cat conftest.err >&5
7328
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7329
 
  (exit $ac_status); } && {
7330
 
         test -z "$ac_c_werror_flag" ||
7331
 
         test ! -s conftest.err
7332
 
       } && test -s conftest.$ac_objext; then
7333
 
  eval "$as_ac_Header=yes"
7334
 
else
7335
 
  $as_echo "$as_me: failed program was:" >&5
7336
 
sed 's/^/| /' conftest.$ac_ext >&5
7337
 
 
7338
 
        eval "$as_ac_Header=no"
7339
 
fi
7340
 
 
7341
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7342
 
fi
7343
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7344
 
                 $as_echo "$as_val"'`
7345
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7346
 
$as_echo "$ac_res" >&6; }
7347
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7348
 
                 $as_echo "$as_val"'`
7349
 
   if test "x$as_val" = x""yes; then
 
7679
do :
 
7680
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7681
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
7682
"
 
7683
eval as_val=\$$as_ac_Header
 
7684
   if test "x$as_val" = x""yes; then :
7350
7685
  cat >>confdefs.h <<_ACEOF
7351
7686
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7352
7687
_ACEOF
7356
7691
done
7357
7692
 
7358
7693
 
7359
 
 
7360
7694
for ac_header in dlfcn.h
7361
 
do
7362
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7363
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7364
 
$as_echo_n "checking for $ac_header... " >&6; }
7365
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7366
 
  $as_echo_n "(cached) " >&6
7367
 
else
7368
 
  cat >conftest.$ac_ext <<_ACEOF
7369
 
/* confdefs.h.  */
7370
 
_ACEOF
7371
 
cat confdefs.h >>conftest.$ac_ext
7372
 
cat >>conftest.$ac_ext <<_ACEOF
7373
 
/* end confdefs.h.  */
7374
 
$ac_includes_default
7375
 
 
7376
 
#include <$ac_header>
7377
 
_ACEOF
7378
 
rm -f conftest.$ac_objext
7379
 
if { (ac_try="$ac_compile"
7380
 
case "(($ac_try" in
7381
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7382
 
  *) ac_try_echo=$ac_try;;
7383
 
esac
7384
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7385
 
$as_echo "$ac_try_echo") >&5
7386
 
  (eval "$ac_compile") 2>conftest.er1
7387
 
  ac_status=$?
7388
 
  grep -v '^ *+' conftest.er1 >conftest.err
7389
 
  rm -f conftest.er1
7390
 
  cat conftest.err >&5
7391
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392
 
  (exit $ac_status); } && {
7393
 
         test -z "$ac_c_werror_flag" ||
7394
 
         test ! -s conftest.err
7395
 
       } && test -s conftest.$ac_objext; then
7396
 
  eval "$as_ac_Header=yes"
7397
 
else
7398
 
  $as_echo "$as_me: failed program was:" >&5
7399
 
sed 's/^/| /' conftest.$ac_ext >&5
7400
 
 
7401
 
        eval "$as_ac_Header=no"
7402
 
fi
7403
 
 
7404
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7405
 
fi
7406
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
7407
 
                 $as_echo "$as_val"'`
7408
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7409
 
$as_echo "$ac_res" >&6; }
7410
 
as_val=`eval 'as_val=${'$as_ac_Header'}
7411
 
                 $as_echo "$as_val"'`
7412
 
   if test "x$as_val" = x""yes; then
 
7695
do :
 
7696
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
7697
"
 
7698
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7413
7699
  cat >>confdefs.h <<_ACEOF
7414
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7700
#define HAVE_DLFCN_H 1
7415
7701
_ACEOF
7416
7702
 
7417
7703
fi
7419
7705
done
7420
7706
 
7421
7707
# Check whether --enable-compiler-warnings was given.
7422
 
if test "${enable_compiler_warnings+set}" = set; then
 
7708
if test "${enable_compiler_warnings+set}" = set; then :
7423
7709
  enableval=$enable_compiler_warnings;
7424
7710
fi
7425
 
case $enable_compiler_warnings in
7426
 
  no | min | yes | max) : ;;
7427
 
  *) if test "x$enable_maintainer_mode" = xyes; then
 
7711
case $enable_compiler_warnings in #(
 
7712
  no | min | yes | max | all) :
 
7713
     ;; #(
 
7714
  *) :
 
7715
    if test "x$enable_maintainer_mode" = xyes; then :
7428
7716
  enable_compiler_warnings=yes
7429
7717
else
7430
7718
  enable_compiler_warnings=min
7431
 
fi
7432
 
 ;;
 
7719
fi ;;
7433
7720
esac
7434
7721
 
7435
7722
 
7436
 
 
7437
7723
if test "`cd $srcdir && pwd`" != "`pwd`"; then
7438
7724
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
7439
7725
  # is not polluted with repeated "-I."
7440
7726
  am__isrc=' -I$(srcdir)'
7441
7727
  # test to see if srcdir already configured
7442
7728
  if test -f $srcdir/config.status; then
7443
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
7444
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
7445
 
   { (exit 1); exit 1; }; }
 
7729
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
7446
7730
  fi
7447
7731
fi
7448
7732
 
7458
7742
 
7459
7743
# Define the identity of the package.
7460
7744
 PACKAGE='tex-live'
7461
 
 VERSION='2009test-1.6'
 
7745
 VERSION='2010-04-15'
7462
7746
 
7463
7747
 
7464
7748
cat >>confdefs.h <<_ACEOF
7486
7770
 
7487
7771
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
7488
7772
 
7489
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
7490
 
 
7491
 
# Installed binaries are usually stripped using `strip' when the user
7492
 
# run `make install-strip'.  However `strip' might not be the right
7493
 
# tool to use in cross-compilation environments, therefore Automake
7494
 
# will honor the `STRIP' environment variable to overrule this program.
7495
 
if test "$cross_compiling" != no; then
7496
 
  if test -n "$ac_tool_prefix"; then
7497
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7498
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7499
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7500
 
$as_echo_n "checking for $ac_word... " >&6; }
7501
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7502
 
  $as_echo_n "(cached) " >&6
7503
 
else
7504
 
  if test -n "$STRIP"; then
7505
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7506
 
else
7507
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508
 
for as_dir in $PATH
7509
 
do
7510
 
  IFS=$as_save_IFS
7511
 
  test -z "$as_dir" && as_dir=.
7512
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7513
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7514
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7515
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7516
 
    break 2
7517
 
  fi
7518
 
done
7519
 
done
7520
 
IFS=$as_save_IFS
7521
 
 
7522
 
fi
7523
 
fi
7524
 
STRIP=$ac_cv_prog_STRIP
7525
 
if test -n "$STRIP"; then
7526
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7527
 
$as_echo "$STRIP" >&6; }
7528
 
else
7529
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7530
 
$as_echo "no" >&6; }
7531
 
fi
7532
 
 
7533
 
 
7534
 
fi
7535
 
if test -z "$ac_cv_prog_STRIP"; then
7536
 
  ac_ct_STRIP=$STRIP
7537
 
  # Extract the first word of "strip", so it can be a program name with args.
7538
 
set dummy strip; ac_word=$2
7539
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7540
 
$as_echo_n "checking for $ac_word... " >&6; }
7541
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7542
 
  $as_echo_n "(cached) " >&6
7543
 
else
7544
 
  if test -n "$ac_ct_STRIP"; then
7545
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7546
 
else
7547
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7548
 
for as_dir in $PATH
7549
 
do
7550
 
  IFS=$as_save_IFS
7551
 
  test -z "$as_dir" && as_dir=.
7552
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7553
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7554
 
    ac_cv_prog_ac_ct_STRIP="strip"
7555
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7556
 
    break 2
7557
 
  fi
7558
 
done
7559
 
done
7560
 
IFS=$as_save_IFS
7561
 
 
7562
 
fi
7563
 
fi
7564
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7565
 
if test -n "$ac_ct_STRIP"; then
7566
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7567
 
$as_echo "$ac_ct_STRIP" >&6; }
7568
 
else
7569
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
7570
 
$as_echo "no" >&6; }
7571
 
fi
7572
 
 
7573
 
  if test "x$ac_ct_STRIP" = x; then
7574
 
    STRIP=":"
7575
 
  else
7576
 
    case $cross_compiling:$ac_tool_warned in
7577
 
yes:)
7578
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7579
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7580
 
ac_tool_warned=yes ;;
7581
 
esac
7582
 
    STRIP=$ac_ct_STRIP
7583
 
  fi
7584
 
else
7585
 
  STRIP="$ac_cv_prog_STRIP"
7586
 
fi
7587
 
 
7588
 
fi
7589
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
7590
 
 
7591
7773
# We need awk for the "check" target.  The system "awk" is bad on
7592
7774
# some platforms.
7593
7775
# Always define AMTAR for backward compatibility.
7600
7782
 
7601
7783
 
7602
7784
 
7603
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
7785
 
 
7786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
7604
7787
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
7605
7788
    # Check whether --enable-maintainer-mode was given.
7606
 
if test "${enable_maintainer_mode+set}" = set; then
 
7789
if test "${enable_maintainer_mode+set}" = set; then :
7607
7790
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
7608
7791
else
7609
7792
  USE_MAINTAINER_MODE=no
7610
7793
fi
7611
7794
 
7612
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
7795
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
7613
7796
$as_echo "$USE_MAINTAINER_MODE" >&6; }
7614
7797
   if test $USE_MAINTAINER_MODE = yes; then
7615
7798
  MAINTAINER_MODE_TRUE=
7626
7809
 
7627
7810
 
7628
7811
# Set options
 
7812
enable_win32_dll=yes
 
7813
 
 
7814
case $host in
 
7815
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
7816
  if test -n "$ac_tool_prefix"; then
 
7817
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 
7818
set dummy ${ac_tool_prefix}as; ac_word=$2
 
7819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7820
$as_echo_n "checking for $ac_word... " >&6; }
 
7821
if test "${ac_cv_prog_AS+set}" = set; then :
 
7822
  $as_echo_n "(cached) " >&6
 
7823
else
 
7824
  if test -n "$AS"; then
 
7825
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
7826
else
 
7827
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7828
for as_dir in $PATH
 
7829
do
 
7830
  IFS=$as_save_IFS
 
7831
  test -z "$as_dir" && as_dir=.
 
7832
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7833
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7834
    ac_cv_prog_AS="${ac_tool_prefix}as"
 
7835
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7836
    break 2
 
7837
  fi
 
7838
done
 
7839
  done
 
7840
IFS=$as_save_IFS
 
7841
 
 
7842
fi
 
7843
fi
 
7844
AS=$ac_cv_prog_AS
 
7845
if test -n "$AS"; then
 
7846
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
 
7847
$as_echo "$AS" >&6; }
 
7848
else
 
7849
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7850
$as_echo "no" >&6; }
 
7851
fi
 
7852
 
 
7853
 
 
7854
fi
 
7855
if test -z "$ac_cv_prog_AS"; then
 
7856
  ac_ct_AS=$AS
 
7857
  # Extract the first word of "as", so it can be a program name with args.
 
7858
set dummy as; ac_word=$2
 
7859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7860
$as_echo_n "checking for $ac_word... " >&6; }
 
7861
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
 
7862
  $as_echo_n "(cached) " >&6
 
7863
else
 
7864
  if test -n "$ac_ct_AS"; then
 
7865
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
7866
else
 
7867
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7868
for as_dir in $PATH
 
7869
do
 
7870
  IFS=$as_save_IFS
 
7871
  test -z "$as_dir" && as_dir=.
 
7872
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7873
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7874
    ac_cv_prog_ac_ct_AS="as"
 
7875
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7876
    break 2
 
7877
  fi
 
7878
done
 
7879
  done
 
7880
IFS=$as_save_IFS
 
7881
 
 
7882
fi
 
7883
fi
 
7884
ac_ct_AS=$ac_cv_prog_ac_ct_AS
 
7885
if test -n "$ac_ct_AS"; then
 
7886
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
 
7887
$as_echo "$ac_ct_AS" >&6; }
 
7888
else
 
7889
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7890
$as_echo "no" >&6; }
 
7891
fi
 
7892
 
 
7893
  if test "x$ac_ct_AS" = x; then
 
7894
    AS="false"
 
7895
  else
 
7896
    case $cross_compiling:$ac_tool_warned in
 
7897
yes:)
 
7898
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7899
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7900
ac_tool_warned=yes ;;
 
7901
esac
 
7902
    AS=$ac_ct_AS
 
7903
  fi
 
7904
else
 
7905
  AS="$ac_cv_prog_AS"
 
7906
fi
 
7907
 
 
7908
  if test -n "$ac_tool_prefix"; then
 
7909
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
7910
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
7911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7912
$as_echo_n "checking for $ac_word... " >&6; }
 
7913
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
7914
  $as_echo_n "(cached) " >&6
 
7915
else
 
7916
  if test -n "$DLLTOOL"; then
 
7917
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
7918
else
 
7919
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7920
for as_dir in $PATH
 
7921
do
 
7922
  IFS=$as_save_IFS
 
7923
  test -z "$as_dir" && as_dir=.
 
7924
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7926
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
7927
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7928
    break 2
 
7929
  fi
 
7930
done
 
7931
  done
 
7932
IFS=$as_save_IFS
 
7933
 
 
7934
fi
 
7935
fi
 
7936
DLLTOOL=$ac_cv_prog_DLLTOOL
 
7937
if test -n "$DLLTOOL"; then
 
7938
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
7939
$as_echo "$DLLTOOL" >&6; }
 
7940
else
 
7941
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7942
$as_echo "no" >&6; }
 
7943
fi
 
7944
 
 
7945
 
 
7946
fi
 
7947
if test -z "$ac_cv_prog_DLLTOOL"; then
 
7948
  ac_ct_DLLTOOL=$DLLTOOL
 
7949
  # Extract the first word of "dlltool", so it can be a program name with args.
 
7950
set dummy dlltool; ac_word=$2
 
7951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7952
$as_echo_n "checking for $ac_word... " >&6; }
 
7953
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
7954
  $as_echo_n "(cached) " >&6
 
7955
else
 
7956
  if test -n "$ac_ct_DLLTOOL"; then
 
7957
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
7958
else
 
7959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7960
for as_dir in $PATH
 
7961
do
 
7962
  IFS=$as_save_IFS
 
7963
  test -z "$as_dir" && as_dir=.
 
7964
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7965
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7966
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
7967
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7968
    break 2
 
7969
  fi
 
7970
done
 
7971
  done
 
7972
IFS=$as_save_IFS
 
7973
 
 
7974
fi
 
7975
fi
 
7976
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
7977
if test -n "$ac_ct_DLLTOOL"; then
 
7978
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
7979
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
7980
else
 
7981
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7982
$as_echo "no" >&6; }
 
7983
fi
 
7984
 
 
7985
  if test "x$ac_ct_DLLTOOL" = x; then
 
7986
    DLLTOOL="false"
 
7987
  else
 
7988
    case $cross_compiling:$ac_tool_warned in
 
7989
yes:)
 
7990
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7991
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7992
ac_tool_warned=yes ;;
 
7993
esac
 
7994
    DLLTOOL=$ac_ct_DLLTOOL
 
7995
  fi
 
7996
else
 
7997
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
7998
fi
 
7999
 
 
8000
  if test -n "$ac_tool_prefix"; then
 
8001
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
8002
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
8003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8004
$as_echo_n "checking for $ac_word... " >&6; }
 
8005
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
8006
  $as_echo_n "(cached) " >&6
 
8007
else
 
8008
  if test -n "$OBJDUMP"; then
 
8009
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
8010
else
 
8011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8012
for as_dir in $PATH
 
8013
do
 
8014
  IFS=$as_save_IFS
 
8015
  test -z "$as_dir" && as_dir=.
 
8016
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8017
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8018
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
8019
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8020
    break 2
 
8021
  fi
 
8022
done
 
8023
  done
 
8024
IFS=$as_save_IFS
 
8025
 
 
8026
fi
 
8027
fi
 
8028
OBJDUMP=$ac_cv_prog_OBJDUMP
 
8029
if test -n "$OBJDUMP"; then
 
8030
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
8031
$as_echo "$OBJDUMP" >&6; }
 
8032
else
 
8033
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8034
$as_echo "no" >&6; }
 
8035
fi
 
8036
 
 
8037
 
 
8038
fi
 
8039
if test -z "$ac_cv_prog_OBJDUMP"; then
 
8040
  ac_ct_OBJDUMP=$OBJDUMP
 
8041
  # Extract the first word of "objdump", so it can be a program name with args.
 
8042
set dummy objdump; ac_word=$2
 
8043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
8044
$as_echo_n "checking for $ac_word... " >&6; }
 
8045
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
8046
  $as_echo_n "(cached) " >&6
 
8047
else
 
8048
  if test -n "$ac_ct_OBJDUMP"; then
 
8049
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
8050
else
 
8051
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
8052
for as_dir in $PATH
 
8053
do
 
8054
  IFS=$as_save_IFS
 
8055
  test -z "$as_dir" && as_dir=.
 
8056
    for ac_exec_ext in '' $ac_executable_extensions; do
 
8057
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
8058
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
8059
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8060
    break 2
 
8061
  fi
 
8062
done
 
8063
  done
 
8064
IFS=$as_save_IFS
 
8065
 
 
8066
fi
 
8067
fi
 
8068
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
8069
if test -n "$ac_ct_OBJDUMP"; then
 
8070
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
8071
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
8072
else
 
8073
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8074
$as_echo "no" >&6; }
 
8075
fi
 
8076
 
 
8077
  if test "x$ac_ct_OBJDUMP" = x; then
 
8078
    OBJDUMP="false"
 
8079
  else
 
8080
    case $cross_compiling:$ac_tool_warned in
 
8081
yes:)
 
8082
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
8083
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
8084
ac_tool_warned=yes ;;
 
8085
esac
 
8086
    OBJDUMP=$ac_ct_OBJDUMP
 
8087
  fi
 
8088
else
 
8089
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
8090
fi
 
8091
 
 
8092
  ;;
 
8093
esac
 
8094
 
 
8095
test -z "$AS" && AS=as
 
8096
 
 
8097
 
 
8098
 
 
8099
 
 
8100
 
 
8101
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
8102
 
 
8103
 
 
8104
 
 
8105
 
 
8106
 
 
8107
test -z "$OBJDUMP" && OBJDUMP=objdump
 
8108
 
 
8109
 
 
8110
 
 
8111
 
7629
8112
 
7630
8113
 
7631
8114
 
7632
8115
        enable_dlopen=no
7633
8116
 
7634
8117
 
7635
 
  enable_win32_dll=no
7636
 
 
7637
8118
 
7638
8119
            # Check whether --enable-shared was given.
7639
 
if test "${enable_shared+set}" = set; then
 
8120
if test "${enable_shared+set}" = set; then :
7640
8121
  enableval=$enable_shared; p=${PACKAGE-default}
7641
8122
    case $enableval in
7642
8123
    yes) enable_shared=yes ;;
7667
8148
 
7668
8149
 
7669
8150
  # Check whether --enable-static was given.
7670
 
if test "${enable_static+set}" = set; then
 
8151
if test "${enable_static+set}" = set; then :
7671
8152
  enableval=$enable_static; p=${PACKAGE-default}
7672
8153
    case $enableval in
7673
8154
    yes) enable_static=yes ;;
7699
8180
 
7700
8181
 
7701
8182
# Check whether --with-pic was given.
7702
 
if test "${with_pic+set}" = set; then
 
8183
if test "${with_pic+set}" = set; then :
7703
8184
  withval=$with_pic; pic_mode="$withval"
7704
8185
else
7705
8186
  pic_mode=default
7715
8196
 
7716
8197
 
7717
8198
  # Check whether --enable-fast-install was given.
7718
 
if test "${enable_fast_install+set}" = set; then
 
8199
if test "${enable_fast_install+set}" = set; then :
7719
8200
  enableval=$enable_fast_install; p=${PACKAGE-default}
7720
8201
    case $enableval in
7721
8202
    yes) enable_fast_install=yes ;;
7796
8277
   setopt NO_GLOB_SUBST
7797
8278
fi
7798
8279
 
7799
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7800
8281
$as_echo_n "checking for objdir... " >&6; }
7801
 
if test "${lt_cv_objdir+set}" = set; then
 
8282
if test "${lt_cv_objdir+set}" = set; then :
7802
8283
  $as_echo_n "(cached) " >&6
7803
8284
else
7804
8285
  rm -f .libs 2>/dev/null
7811
8292
fi
7812
8293
rmdir .libs 2>/dev/null
7813
8294
fi
7814
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7815
8296
$as_echo "$lt_cv_objdir" >&6; }
7816
8297
objdir=$lt_cv_objdir
7817
8298
 
7904
8385
case $deplibs_check_method in
7905
8386
file_magic*)
7906
8387
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7907
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8388
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7908
8389
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7909
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8390
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7910
8391
  $as_echo_n "(cached) " >&6
7911
8392
else
7912
8393
  case $MAGIC_CMD in
7957
8438
 
7958
8439
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7959
8440
if test -n "$MAGIC_CMD"; then
7960
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8441
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7961
8442
$as_echo "$MAGIC_CMD" >&6; }
7962
8443
else
7963
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8444
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7964
8445
$as_echo "no" >&6; }
7965
8446
fi
7966
8447
 
7970
8451
 
7971
8452
if test -z "$lt_cv_path_MAGIC_CMD"; then
7972
8453
  if test -n "$ac_tool_prefix"; then
7973
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8454
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7974
8455
$as_echo_n "checking for file... " >&6; }
7975
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8456
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7976
8457
  $as_echo_n "(cached) " >&6
7977
8458
else
7978
8459
  case $MAGIC_CMD in
8023
8504
 
8024
8505
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8025
8506
if test -n "$MAGIC_CMD"; then
8026
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8507
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8027
8508
$as_echo "$MAGIC_CMD" >&6; }
8028
8509
else
8029
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8510
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8030
8511
$as_echo "no" >&6; }
8031
8512
fi
8032
8513
 
8107
8588
if test "$GCC" = yes; then
8108
8589
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8109
8590
 
8110
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8591
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8111
8592
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8112
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
8593
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8113
8594
  $as_echo_n "(cached) " >&6
8114
8595
else
8115
8596
  lt_cv_prog_compiler_rtti_exceptions=no
8125
8606
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8126
8607
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8127
8608
   -e 's:$: $lt_compiler_flag:'`
8128
 
   (eval echo "\"\$as_me:8128: $lt_compile\"" >&5)
 
8609
   (eval echo "\"\$as_me:8609: $lt_compile\"" >&5)
8129
8610
   (eval "$lt_compile" 2>conftest.err)
8130
8611
   ac_status=$?
8131
8612
   cat conftest.err >&5
8132
 
   echo "$as_me:8132: \$? = $ac_status" >&5
 
8613
   echo "$as_me:8613: \$? = $ac_status" >&5
8133
8614
   if (exit $ac_status) && test -s "$ac_outfile"; then
8134
8615
     # The compiler can only warn and ignore the option if not recognized
8135
8616
     # So say no if there are warnings other than the usual output.
8142
8623
   $RM conftest*
8143
8624
 
8144
8625
fi
8145
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8146
8627
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8147
8628
 
8148
8629
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8162
8643
lt_prog_compiler_pic=
8163
8644
lt_prog_compiler_static=
8164
8645
 
8165
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8166
8647
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8167
8648
 
8168
8649
  if test "$GCC" = yes; then
8434
8915
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8435
8916
    ;;
8436
8917
esac
8437
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8438
8919
$as_echo "$lt_prog_compiler_pic" >&6; }
8439
8920
 
8440
8921
 
8446
8927
# Check to make sure the PIC flag actually works.
8447
8928
#
8448
8929
if test -n "$lt_prog_compiler_pic"; then
8449
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8930
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8450
8931
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8451
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8932
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8452
8933
  $as_echo_n "(cached) " >&6
8453
8934
else
8454
8935
  lt_cv_prog_compiler_pic_works=no
8464
8945
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465
8946
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466
8947
   -e 's:$: $lt_compiler_flag:'`
8467
 
   (eval echo "\"\$as_me:8467: $lt_compile\"" >&5)
 
8948
   (eval echo "\"\$as_me:8948: $lt_compile\"" >&5)
8468
8949
   (eval "$lt_compile" 2>conftest.err)
8469
8950
   ac_status=$?
8470
8951
   cat conftest.err >&5
8471
 
   echo "$as_me:8471: \$? = $ac_status" >&5
 
8952
   echo "$as_me:8952: \$? = $ac_status" >&5
8472
8953
   if (exit $ac_status) && test -s "$ac_outfile"; then
8473
8954
     # The compiler can only warn and ignore the option if not recognized
8474
8955
     # So say no if there are warnings other than the usual output.
8481
8962
   $RM conftest*
8482
8963
 
8483
8964
fi
8484
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8485
8966
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8486
8967
 
8487
8968
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8505
8986
# Check to make sure the static flag actually works.
8506
8987
#
8507
8988
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8508
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8509
8990
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8510
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8991
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8511
8992
  $as_echo_n "(cached) " >&6
8512
8993
else
8513
8994
  lt_cv_prog_compiler_static_works=no
8533
9014
   LDFLAGS="$save_LDFLAGS"
8534
9015
 
8535
9016
fi
8536
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8537
9018
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8538
9019
 
8539
9020
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8548
9029
 
8549
9030
 
8550
9031
 
8551
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9032
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8552
9033
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8553
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9034
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8554
9035
  $as_echo_n "(cached) " >&6
8555
9036
else
8556
9037
  lt_cv_prog_compiler_c_o=no
8569
9050
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8570
9051
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8571
9052
   -e 's:$: $lt_compiler_flag:'`
8572
 
   (eval echo "\"\$as_me:8572: $lt_compile\"" >&5)
 
9053
   (eval echo "\"\$as_me:9053: $lt_compile\"" >&5)
8573
9054
   (eval "$lt_compile" 2>out/conftest.err)
8574
9055
   ac_status=$?
8575
9056
   cat out/conftest.err >&5
8576
 
   echo "$as_me:8576: \$? = $ac_status" >&5
 
9057
   echo "$as_me:9057: \$? = $ac_status" >&5
8577
9058
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8578
9059
   then
8579
9060
     # The compiler can only warn and ignore the option if not recognized
8595
9076
   $RM conftest*
8596
9077
 
8597
9078
fi
8598
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8599
9080
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8600
9081
 
8601
9082
 
8603
9084
 
8604
9085
 
8605
9086
 
8606
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9087
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8607
9088
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8608
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9089
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8609
9090
  $as_echo_n "(cached) " >&6
8610
9091
else
8611
9092
  lt_cv_prog_compiler_c_o=no
8624
9105
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8625
9106
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8626
9107
   -e 's:$: $lt_compiler_flag:'`
8627
 
   (eval echo "\"\$as_me:8627: $lt_compile\"" >&5)
 
9108
   (eval echo "\"\$as_me:9108: $lt_compile\"" >&5)
8628
9109
   (eval "$lt_compile" 2>out/conftest.err)
8629
9110
   ac_status=$?
8630
9111
   cat out/conftest.err >&5
8631
 
   echo "$as_me:8631: \$? = $ac_status" >&5
 
9112
   echo "$as_me:9112: \$? = $ac_status" >&5
8632
9113
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8633
9114
   then
8634
9115
     # The compiler can only warn and ignore the option if not recognized
8650
9131
   $RM conftest*
8651
9132
 
8652
9133
fi
8653
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8654
9135
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8655
9136
 
8656
9137
 
8659
9140
hard_links="nottested"
8660
9141
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8661
9142
  # do not overwrite the value of need_locks provided by the user
8662
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9143
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8663
9144
$as_echo_n "checking if we can lock with hard links... " >&6; }
8664
9145
  hard_links=yes
8665
9146
  $RM conftest*
8667
9148
  touch conftest.a
8668
9149
  ln conftest.a conftest.b 2>&5 || hard_links=no
8669
9150
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8670
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9151
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8671
9152
$as_echo "$hard_links" >&6; }
8672
9153
  if test "$hard_links" = no; then
8673
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9154
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8674
9155
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8675
9156
    need_locks=warn
8676
9157
  fi
8683
9164
 
8684
9165
 
8685
9166
 
8686
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9167
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8687
9168
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8688
9169
 
8689
9170
  runpath_var=
9125
9606
        allow_undefined_flag='-berok'
9126
9607
        # Determine the default libpath from the value encoded in an
9127
9608
        # empty executable.
9128
 
        cat >conftest.$ac_ext <<_ACEOF
9129
 
/* confdefs.h.  */
9130
 
_ACEOF
9131
 
cat confdefs.h >>conftest.$ac_ext
9132
 
cat >>conftest.$ac_ext <<_ACEOF
 
9609
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133
9610
/* end confdefs.h.  */
9134
9611
 
9135
9612
int
9140
9617
  return 0;
9141
9618
}
9142
9619
_ACEOF
9143
 
rm -f conftest.$ac_objext conftest$ac_exeext
9144
 
if { (ac_try="$ac_link"
9145
 
case "(($ac_try" in
9146
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9147
 
  *) ac_try_echo=$ac_try;;
9148
 
esac
9149
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9150
 
$as_echo "$ac_try_echo") >&5
9151
 
  (eval "$ac_link") 2>conftest.er1
9152
 
  ac_status=$?
9153
 
  grep -v '^ *+' conftest.er1 >conftest.err
9154
 
  rm -f conftest.er1
9155
 
  cat conftest.err >&5
9156
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157
 
  (exit $ac_status); } && {
9158
 
         test -z "$ac_c_werror_flag" ||
9159
 
         test ! -s conftest.err
9160
 
       } && test -s conftest$ac_exeext && {
9161
 
         test "$cross_compiling" = yes ||
9162
 
         $as_test_x conftest$ac_exeext
9163
 
       }; then
 
9620
if ac_fn_c_try_link "$LINENO"; then :
9164
9621
 
9165
9622
lt_aix_libpath_sed='
9166
9623
    /Import File Strings/,/^$/ {
9174
9631
if test -z "$aix_libpath"; then
9175
9632
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9176
9633
fi
9177
 
else
9178
 
  $as_echo "$as_me: failed program was:" >&5
9179
 
sed 's/^/| /' conftest.$ac_ext >&5
9180
 
 
9181
 
 
9182
9634
fi
9183
 
 
9184
 
rm -rf conftest.dSYM
9185
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9186
 
      conftest$ac_exeext conftest.$ac_ext
 
9635
rm -f core conftest.err conftest.$ac_objext \
 
9636
    conftest$ac_exeext conftest.$ac_ext
9187
9637
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9188
9638
 
9189
9639
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9196
9646
        else
9197
9647
         # Determine the default libpath from the value encoded in an
9198
9648
         # empty executable.
9199
 
         cat >conftest.$ac_ext <<_ACEOF
9200
 
/* confdefs.h.  */
9201
 
_ACEOF
9202
 
cat confdefs.h >>conftest.$ac_ext
9203
 
cat >>conftest.$ac_ext <<_ACEOF
 
9649
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204
9650
/* end confdefs.h.  */
9205
9651
 
9206
9652
int
9211
9657
  return 0;
9212
9658
}
9213
9659
_ACEOF
9214
 
rm -f conftest.$ac_objext conftest$ac_exeext
9215
 
if { (ac_try="$ac_link"
9216
 
case "(($ac_try" in
9217
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9218
 
  *) ac_try_echo=$ac_try;;
9219
 
esac
9220
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9221
 
$as_echo "$ac_try_echo") >&5
9222
 
  (eval "$ac_link") 2>conftest.er1
9223
 
  ac_status=$?
9224
 
  grep -v '^ *+' conftest.er1 >conftest.err
9225
 
  rm -f conftest.er1
9226
 
  cat conftest.err >&5
9227
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228
 
  (exit $ac_status); } && {
9229
 
         test -z "$ac_c_werror_flag" ||
9230
 
         test ! -s conftest.err
9231
 
       } && test -s conftest$ac_exeext && {
9232
 
         test "$cross_compiling" = yes ||
9233
 
         $as_test_x conftest$ac_exeext
9234
 
       }; then
 
9660
if ac_fn_c_try_link "$LINENO"; then :
9235
9661
 
9236
9662
lt_aix_libpath_sed='
9237
9663
    /Import File Strings/,/^$/ {
9245
9671
if test -z "$aix_libpath"; then
9246
9672
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9247
9673
fi
9248
 
else
9249
 
  $as_echo "$as_me: failed program was:" >&5
9250
 
sed 's/^/| /' conftest.$ac_ext >&5
9251
 
 
9252
 
 
9253
9674
fi
9254
 
 
9255
 
rm -rf conftest.dSYM
9256
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9257
 
      conftest$ac_exeext conftest.$ac_ext
 
9675
rm -f core conftest.err conftest.$ac_objext \
 
9676
    conftest$ac_exeext conftest.$ac_ext
9258
9677
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9259
9678
 
9260
9679
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9466
9885
        # implicitly export all symbols.
9467
9886
        save_LDFLAGS="$LDFLAGS"
9468
9887
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9469
 
        cat >conftest.$ac_ext <<_ACEOF
 
9888
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9889
/* end confdefs.h.  */
9470
9890
int foo(void) {}
9471
9891
_ACEOF
9472
 
rm -f conftest.$ac_objext conftest$ac_exeext
9473
 
if { (ac_try="$ac_link"
9474
 
case "(($ac_try" in
9475
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9476
 
  *) ac_try_echo=$ac_try;;
9477
 
esac
9478
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9479
 
$as_echo "$ac_try_echo") >&5
9480
 
  (eval "$ac_link") 2>conftest.er1
9481
 
  ac_status=$?
9482
 
  grep -v '^ *+' conftest.er1 >conftest.err
9483
 
  rm -f conftest.er1
9484
 
  cat conftest.err >&5
9485
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486
 
  (exit $ac_status); } && {
9487
 
         test -z "$ac_c_werror_flag" ||
9488
 
         test ! -s conftest.err
9489
 
       } && test -s conftest$ac_exeext && {
9490
 
         test "$cross_compiling" = yes ||
9491
 
         $as_test_x conftest$ac_exeext
9492
 
       }; then
 
9892
if ac_fn_c_try_link "$LINENO"; then :
9493
9893
  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'
9494
9894
 
9495
 
else
9496
 
  $as_echo "$as_me: failed program was:" >&5
9497
 
sed 's/^/| /' conftest.$ac_ext >&5
9498
 
 
9499
 
 
9500
9895
fi
9501
 
 
9502
 
rm -rf conftest.dSYM
9503
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9504
 
      conftest$ac_exeext conftest.$ac_ext
 
9896
rm -f core conftest.err conftest.$ac_objext \
 
9897
    conftest$ac_exeext conftest.$ac_ext
9505
9898
        LDFLAGS="$save_LDFLAGS"
9506
9899
      else
9507
9900
        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'
9757
10150
    fi
9758
10151
  fi
9759
10152
 
9760
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9761
10154
$as_echo "$ld_shlibs" >&6; }
9762
10155
test "$ld_shlibs" = no && can_build_shared=no
9763
10156
 
9794
10187
      # Test whether the compiler implicitly links with -lc since on some
9795
10188
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9796
10189
      # to ld, don't add -lc before -lgcc.
9797
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10190
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9798
10191
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9799
10192
      $RM conftest*
9800
10193
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9801
10194
 
9802
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10195
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9803
10196
  (eval $ac_compile) 2>&5
9804
10197
  ac_status=$?
9805
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806
 
  (exit $ac_status); } 2>conftest.err; then
 
10198
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10199
  test $ac_status = 0; } 2>conftest.err; then
9807
10200
        soname=conftest
9808
10201
        lib=conftest
9809
10202
        libobjs=conftest.$ac_objext
9817
10210
        libname=conftest
9818
10211
        lt_save_allow_undefined_flag=$allow_undefined_flag
9819
10212
        allow_undefined_flag=
9820
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10213
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9821
10214
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9822
10215
  ac_status=$?
9823
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824
 
  (exit $ac_status); }
 
10216
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10217
  test $ac_status = 0; }
9825
10218
        then
9826
10219
          archive_cmds_need_lc=no
9827
10220
        else
9832
10225
        cat conftest.err 1>&5
9833
10226
      fi
9834
10227
      $RM conftest*
9835
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10228
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9836
10229
$as_echo "$archive_cmds_need_lc" >&6; }
9837
10230
      ;;
9838
10231
    esac
9996
10389
 
9997
10390
 
9998
10391
 
9999
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10392
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10000
10393
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10001
10394
 
10002
10395
if test "$GCC" = yes; then
10418
10811
  save_libdir=$libdir
10419
10812
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10420
10813
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10421
 
  cat >conftest.$ac_ext <<_ACEOF
10422
 
/* confdefs.h.  */
10423
 
_ACEOF
10424
 
cat confdefs.h >>conftest.$ac_ext
10425
 
cat >>conftest.$ac_ext <<_ACEOF
 
10814
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10426
10815
/* end confdefs.h.  */
10427
10816
 
10428
10817
int
10433
10822
  return 0;
10434
10823
}
10435
10824
_ACEOF
10436
 
rm -f conftest.$ac_objext conftest$ac_exeext
10437
 
if { (ac_try="$ac_link"
10438
 
case "(($ac_try" in
10439
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10440
 
  *) ac_try_echo=$ac_try;;
10441
 
esac
10442
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10443
 
$as_echo "$ac_try_echo") >&5
10444
 
  (eval "$ac_link") 2>conftest.er1
10445
 
  ac_status=$?
10446
 
  grep -v '^ *+' conftest.er1 >conftest.err
10447
 
  rm -f conftest.er1
10448
 
  cat conftest.err >&5
10449
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450
 
  (exit $ac_status); } && {
10451
 
         test -z "$ac_c_werror_flag" ||
10452
 
         test ! -s conftest.err
10453
 
       } && test -s conftest$ac_exeext && {
10454
 
         test "$cross_compiling" = yes ||
10455
 
         $as_test_x conftest$ac_exeext
10456
 
       }; then
10457
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10825
if ac_fn_c_try_link "$LINENO"; then :
 
10826
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10458
10827
  shlibpath_overrides_runpath=yes
10459
10828
fi
10460
 
 
10461
 
else
10462
 
  $as_echo "$as_me: failed program was:" >&5
10463
 
sed 's/^/| /' conftest.$ac_ext >&5
10464
 
 
10465
 
 
10466
10829
fi
10467
 
 
10468
 
rm -rf conftest.dSYM
10469
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10470
 
      conftest$ac_exeext conftest.$ac_ext
 
10830
rm -f core conftest.err conftest.$ac_objext \
 
10831
    conftest$ac_exeext conftest.$ac_ext
10471
10832
  LDFLAGS=$save_LDFLAGS
10472
10833
  libdir=$save_libdir
10473
10834
 
10679
11040
  dynamic_linker=no
10680
11041
  ;;
10681
11042
esac
10682
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10683
11044
$as_echo "$dynamic_linker" >&6; }
10684
11045
test "$dynamic_linker" = no && can_build_shared=no
10685
11046
 
10781
11142
 
10782
11143
 
10783
11144
 
10784
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11145
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10785
11146
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10786
11147
hardcode_action=
10787
11148
if test -n "$hardcode_libdir_flag_spec" ||
10806
11167
  # directories.
10807
11168
  hardcode_action=unsupported
10808
11169
fi
10809
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10810
11171
$as_echo "$hardcode_action" >&6; }
10811
11172
 
10812
11173
if test "$hardcode_action" = relink ||
10851
11212
 
10852
11213
  darwin*)
10853
11214
  # if libdl is installed we need to link against it
10854
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11215
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10855
11216
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10856
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11217
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10857
11218
  $as_echo_n "(cached) " >&6
10858
11219
else
10859
11220
  ac_check_lib_save_LIBS=$LIBS
10860
11221
LIBS="-ldl  $LIBS"
10861
 
cat >conftest.$ac_ext <<_ACEOF
10862
 
/* confdefs.h.  */
10863
 
_ACEOF
10864
 
cat confdefs.h >>conftest.$ac_ext
10865
 
cat >>conftest.$ac_ext <<_ACEOF
 
11222
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866
11223
/* end confdefs.h.  */
10867
11224
 
10868
11225
/* Override any GCC internal prototype to avoid an error.
10880
11237
  return 0;
10881
11238
}
10882
11239
_ACEOF
10883
 
rm -f conftest.$ac_objext conftest$ac_exeext
10884
 
if { (ac_try="$ac_link"
10885
 
case "(($ac_try" in
10886
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10887
 
  *) ac_try_echo=$ac_try;;
10888
 
esac
10889
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10890
 
$as_echo "$ac_try_echo") >&5
10891
 
  (eval "$ac_link") 2>conftest.er1
10892
 
  ac_status=$?
10893
 
  grep -v '^ *+' conftest.er1 >conftest.err
10894
 
  rm -f conftest.er1
10895
 
  cat conftest.err >&5
10896
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897
 
  (exit $ac_status); } && {
10898
 
         test -z "$ac_c_werror_flag" ||
10899
 
         test ! -s conftest.err
10900
 
       } && test -s conftest$ac_exeext && {
10901
 
         test "$cross_compiling" = yes ||
10902
 
         $as_test_x conftest$ac_exeext
10903
 
       }; then
 
11240
if ac_fn_c_try_link "$LINENO"; then :
10904
11241
  ac_cv_lib_dl_dlopen=yes
10905
11242
else
10906
 
  $as_echo "$as_me: failed program was:" >&5
10907
 
sed 's/^/| /' conftest.$ac_ext >&5
10908
 
 
10909
 
        ac_cv_lib_dl_dlopen=no
 
11243
  ac_cv_lib_dl_dlopen=no
10910
11244
fi
10911
 
 
10912
 
rm -rf conftest.dSYM
10913
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10914
 
      conftest$ac_exeext conftest.$ac_ext
 
11245
rm -f core conftest.err conftest.$ac_objext \
 
11246
    conftest$ac_exeext conftest.$ac_ext
10915
11247
LIBS=$ac_check_lib_save_LIBS
10916
11248
fi
10917
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10918
11250
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10919
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11251
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10920
11252
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10921
11253
else
10922
11254
 
10929
11261
    ;;
10930
11262
 
10931
11263
  *)
10932
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10933
 
$as_echo_n "checking for shl_load... " >&6; }
10934
 
if test "${ac_cv_func_shl_load+set}" = set; then
10935
 
  $as_echo_n "(cached) " >&6
10936
 
else
10937
 
  cat >conftest.$ac_ext <<_ACEOF
10938
 
/* confdefs.h.  */
10939
 
_ACEOF
10940
 
cat confdefs.h >>conftest.$ac_ext
10941
 
cat >>conftest.$ac_ext <<_ACEOF
10942
 
/* end confdefs.h.  */
10943
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10944
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10945
 
#define shl_load innocuous_shl_load
10946
 
 
10947
 
/* System header to define __stub macros and hopefully few prototypes,
10948
 
    which can conflict with char shl_load (); below.
10949
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10950
 
    <limits.h> exists even on freestanding compilers.  */
10951
 
 
10952
 
#ifdef __STDC__
10953
 
# include <limits.h>
10954
 
#else
10955
 
# include <assert.h>
10956
 
#endif
10957
 
 
10958
 
#undef shl_load
10959
 
 
10960
 
/* Override any GCC internal prototype to avoid an error.
10961
 
   Use char because int might match the return type of a GCC
10962
 
   builtin and then its argument prototype would still apply.  */
10963
 
#ifdef __cplusplus
10964
 
extern "C"
10965
 
#endif
10966
 
char shl_load ();
10967
 
/* The GNU C library defines this for functions which it implements
10968
 
    to always fail with ENOSYS.  Some functions are actually named
10969
 
    something starting with __ and the normal name is an alias.  */
10970
 
#if defined __stub_shl_load || defined __stub___shl_load
10971
 
choke me
10972
 
#endif
10973
 
 
10974
 
int
10975
 
main ()
10976
 
{
10977
 
return shl_load ();
10978
 
  ;
10979
 
  return 0;
10980
 
}
10981
 
_ACEOF
10982
 
rm -f conftest.$ac_objext conftest$ac_exeext
10983
 
if { (ac_try="$ac_link"
10984
 
case "(($ac_try" in
10985
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10986
 
  *) ac_try_echo=$ac_try;;
10987
 
esac
10988
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10989
 
$as_echo "$ac_try_echo") >&5
10990
 
  (eval "$ac_link") 2>conftest.er1
10991
 
  ac_status=$?
10992
 
  grep -v '^ *+' conftest.er1 >conftest.err
10993
 
  rm -f conftest.er1
10994
 
  cat conftest.err >&5
10995
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996
 
  (exit $ac_status); } && {
10997
 
         test -z "$ac_c_werror_flag" ||
10998
 
         test ! -s conftest.err
10999
 
       } && test -s conftest$ac_exeext && {
11000
 
         test "$cross_compiling" = yes ||
11001
 
         $as_test_x conftest$ac_exeext
11002
 
       }; then
11003
 
  ac_cv_func_shl_load=yes
11004
 
else
11005
 
  $as_echo "$as_me: failed program was:" >&5
11006
 
sed 's/^/| /' conftest.$ac_ext >&5
11007
 
 
11008
 
        ac_cv_func_shl_load=no
11009
 
fi
11010
 
 
11011
 
rm -rf conftest.dSYM
11012
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11013
 
      conftest$ac_exeext conftest.$ac_ext
11014
 
fi
11015
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11016
 
$as_echo "$ac_cv_func_shl_load" >&6; }
11017
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11264
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11265
if test "x$ac_cv_func_shl_load" = x""yes; then :
11018
11266
  lt_cv_dlopen="shl_load"
11019
11267
else
11020
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11268
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11021
11269
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11022
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11270
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11023
11271
  $as_echo_n "(cached) " >&6
11024
11272
else
11025
11273
  ac_check_lib_save_LIBS=$LIBS
11026
11274
LIBS="-ldld  $LIBS"
11027
 
cat >conftest.$ac_ext <<_ACEOF
11028
 
/* confdefs.h.  */
11029
 
_ACEOF
11030
 
cat confdefs.h >>conftest.$ac_ext
11031
 
cat >>conftest.$ac_ext <<_ACEOF
 
11275
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11032
11276
/* end confdefs.h.  */
11033
11277
 
11034
11278
/* Override any GCC internal prototype to avoid an error.
11046
11290
  return 0;
11047
11291
}
11048
11292
_ACEOF
11049
 
rm -f conftest.$ac_objext conftest$ac_exeext
11050
 
if { (ac_try="$ac_link"
11051
 
case "(($ac_try" in
11052
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11053
 
  *) ac_try_echo=$ac_try;;
11054
 
esac
11055
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11056
 
$as_echo "$ac_try_echo") >&5
11057
 
  (eval "$ac_link") 2>conftest.er1
11058
 
  ac_status=$?
11059
 
  grep -v '^ *+' conftest.er1 >conftest.err
11060
 
  rm -f conftest.er1
11061
 
  cat conftest.err >&5
11062
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063
 
  (exit $ac_status); } && {
11064
 
         test -z "$ac_c_werror_flag" ||
11065
 
         test ! -s conftest.err
11066
 
       } && test -s conftest$ac_exeext && {
11067
 
         test "$cross_compiling" = yes ||
11068
 
         $as_test_x conftest$ac_exeext
11069
 
       }; then
 
11293
if ac_fn_c_try_link "$LINENO"; then :
11070
11294
  ac_cv_lib_dld_shl_load=yes
11071
11295
else
11072
 
  $as_echo "$as_me: failed program was:" >&5
11073
 
sed 's/^/| /' conftest.$ac_ext >&5
11074
 
 
11075
 
        ac_cv_lib_dld_shl_load=no
 
11296
  ac_cv_lib_dld_shl_load=no
11076
11297
fi
11077
 
 
11078
 
rm -rf conftest.dSYM
11079
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11080
 
      conftest$ac_exeext conftest.$ac_ext
 
11298
rm -f core conftest.err conftest.$ac_objext \
 
11299
    conftest$ac_exeext conftest.$ac_ext
11081
11300
LIBS=$ac_check_lib_save_LIBS
11082
11301
fi
11083
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11084
11303
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11085
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11304
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11086
11305
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11087
11306
else
11088
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11089
 
$as_echo_n "checking for dlopen... " >&6; }
11090
 
if test "${ac_cv_func_dlopen+set}" = set; then
11091
 
  $as_echo_n "(cached) " >&6
11092
 
else
11093
 
  cat >conftest.$ac_ext <<_ACEOF
11094
 
/* confdefs.h.  */
11095
 
_ACEOF
11096
 
cat confdefs.h >>conftest.$ac_ext
11097
 
cat >>conftest.$ac_ext <<_ACEOF
11098
 
/* end confdefs.h.  */
11099
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11100
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11101
 
#define dlopen innocuous_dlopen
11102
 
 
11103
 
/* System header to define __stub macros and hopefully few prototypes,
11104
 
    which can conflict with char dlopen (); below.
11105
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11106
 
    <limits.h> exists even on freestanding compilers.  */
11107
 
 
11108
 
#ifdef __STDC__
11109
 
# include <limits.h>
11110
 
#else
11111
 
# include <assert.h>
11112
 
#endif
11113
 
 
11114
 
#undef dlopen
11115
 
 
11116
 
/* Override any GCC internal prototype to avoid an error.
11117
 
   Use char because int might match the return type of a GCC
11118
 
   builtin and then its argument prototype would still apply.  */
11119
 
#ifdef __cplusplus
11120
 
extern "C"
11121
 
#endif
11122
 
char dlopen ();
11123
 
/* The GNU C library defines this for functions which it implements
11124
 
    to always fail with ENOSYS.  Some functions are actually named
11125
 
    something starting with __ and the normal name is an alias.  */
11126
 
#if defined __stub_dlopen || defined __stub___dlopen
11127
 
choke me
11128
 
#endif
11129
 
 
11130
 
int
11131
 
main ()
11132
 
{
11133
 
return dlopen ();
11134
 
  ;
11135
 
  return 0;
11136
 
}
11137
 
_ACEOF
11138
 
rm -f conftest.$ac_objext conftest$ac_exeext
11139
 
if { (ac_try="$ac_link"
11140
 
case "(($ac_try" in
11141
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11142
 
  *) ac_try_echo=$ac_try;;
11143
 
esac
11144
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11145
 
$as_echo "$ac_try_echo") >&5
11146
 
  (eval "$ac_link") 2>conftest.er1
11147
 
  ac_status=$?
11148
 
  grep -v '^ *+' conftest.er1 >conftest.err
11149
 
  rm -f conftest.er1
11150
 
  cat conftest.err >&5
11151
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152
 
  (exit $ac_status); } && {
11153
 
         test -z "$ac_c_werror_flag" ||
11154
 
         test ! -s conftest.err
11155
 
       } && test -s conftest$ac_exeext && {
11156
 
         test "$cross_compiling" = yes ||
11157
 
         $as_test_x conftest$ac_exeext
11158
 
       }; then
11159
 
  ac_cv_func_dlopen=yes
11160
 
else
11161
 
  $as_echo "$as_me: failed program was:" >&5
11162
 
sed 's/^/| /' conftest.$ac_ext >&5
11163
 
 
11164
 
        ac_cv_func_dlopen=no
11165
 
fi
11166
 
 
11167
 
rm -rf conftest.dSYM
11168
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11169
 
      conftest$ac_exeext conftest.$ac_ext
11170
 
fi
11171
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11172
 
$as_echo "$ac_cv_func_dlopen" >&6; }
11173
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
11307
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
11308
if test "x$ac_cv_func_dlopen" = x""yes; then :
11174
11309
  lt_cv_dlopen="dlopen"
11175
11310
else
11176
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11311
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11177
11312
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11178
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11313
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11179
11314
  $as_echo_n "(cached) " >&6
11180
11315
else
11181
11316
  ac_check_lib_save_LIBS=$LIBS
11182
11317
LIBS="-ldl  $LIBS"
11183
 
cat >conftest.$ac_ext <<_ACEOF
11184
 
/* confdefs.h.  */
11185
 
_ACEOF
11186
 
cat confdefs.h >>conftest.$ac_ext
11187
 
cat >>conftest.$ac_ext <<_ACEOF
 
11318
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11188
11319
/* end confdefs.h.  */
11189
11320
 
11190
11321
/* Override any GCC internal prototype to avoid an error.
11202
11333
  return 0;
11203
11334
}
11204
11335
_ACEOF
11205
 
rm -f conftest.$ac_objext conftest$ac_exeext
11206
 
if { (ac_try="$ac_link"
11207
 
case "(($ac_try" in
11208
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11209
 
  *) ac_try_echo=$ac_try;;
11210
 
esac
11211
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11212
 
$as_echo "$ac_try_echo") >&5
11213
 
  (eval "$ac_link") 2>conftest.er1
11214
 
  ac_status=$?
11215
 
  grep -v '^ *+' conftest.er1 >conftest.err
11216
 
  rm -f conftest.er1
11217
 
  cat conftest.err >&5
11218
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219
 
  (exit $ac_status); } && {
11220
 
         test -z "$ac_c_werror_flag" ||
11221
 
         test ! -s conftest.err
11222
 
       } && test -s conftest$ac_exeext && {
11223
 
         test "$cross_compiling" = yes ||
11224
 
         $as_test_x conftest$ac_exeext
11225
 
       }; then
 
11336
if ac_fn_c_try_link "$LINENO"; then :
11226
11337
  ac_cv_lib_dl_dlopen=yes
11227
11338
else
11228
 
  $as_echo "$as_me: failed program was:" >&5
11229
 
sed 's/^/| /' conftest.$ac_ext >&5
11230
 
 
11231
 
        ac_cv_lib_dl_dlopen=no
 
11339
  ac_cv_lib_dl_dlopen=no
11232
11340
fi
11233
 
 
11234
 
rm -rf conftest.dSYM
11235
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11236
 
      conftest$ac_exeext conftest.$ac_ext
 
11341
rm -f core conftest.err conftest.$ac_objext \
 
11342
    conftest$ac_exeext conftest.$ac_ext
11237
11343
LIBS=$ac_check_lib_save_LIBS
11238
11344
fi
11239
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11240
11346
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11241
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11347
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11242
11348
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11243
11349
else
11244
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11350
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11245
11351
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11246
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
11352
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11247
11353
  $as_echo_n "(cached) " >&6
11248
11354
else
11249
11355
  ac_check_lib_save_LIBS=$LIBS
11250
11356
LIBS="-lsvld  $LIBS"
11251
 
cat >conftest.$ac_ext <<_ACEOF
11252
 
/* confdefs.h.  */
11253
 
_ACEOF
11254
 
cat confdefs.h >>conftest.$ac_ext
11255
 
cat >>conftest.$ac_ext <<_ACEOF
 
11357
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256
11358
/* end confdefs.h.  */
11257
11359
 
11258
11360
/* Override any GCC internal prototype to avoid an error.
11270
11372
  return 0;
11271
11373
}
11272
11374
_ACEOF
11273
 
rm -f conftest.$ac_objext conftest$ac_exeext
11274
 
if { (ac_try="$ac_link"
11275
 
case "(($ac_try" in
11276
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11277
 
  *) ac_try_echo=$ac_try;;
11278
 
esac
11279
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11280
 
$as_echo "$ac_try_echo") >&5
11281
 
  (eval "$ac_link") 2>conftest.er1
11282
 
  ac_status=$?
11283
 
  grep -v '^ *+' conftest.er1 >conftest.err
11284
 
  rm -f conftest.er1
11285
 
  cat conftest.err >&5
11286
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287
 
  (exit $ac_status); } && {
11288
 
         test -z "$ac_c_werror_flag" ||
11289
 
         test ! -s conftest.err
11290
 
       } && test -s conftest$ac_exeext && {
11291
 
         test "$cross_compiling" = yes ||
11292
 
         $as_test_x conftest$ac_exeext
11293
 
       }; then
 
11375
if ac_fn_c_try_link "$LINENO"; then :
11294
11376
  ac_cv_lib_svld_dlopen=yes
11295
11377
else
11296
 
  $as_echo "$as_me: failed program was:" >&5
11297
 
sed 's/^/| /' conftest.$ac_ext >&5
11298
 
 
11299
 
        ac_cv_lib_svld_dlopen=no
 
11378
  ac_cv_lib_svld_dlopen=no
11300
11379
fi
11301
 
 
11302
 
rm -rf conftest.dSYM
11303
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11304
 
      conftest$ac_exeext conftest.$ac_ext
 
11380
rm -f core conftest.err conftest.$ac_objext \
 
11381
    conftest$ac_exeext conftest.$ac_ext
11305
11382
LIBS=$ac_check_lib_save_LIBS
11306
11383
fi
11307
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11308
11385
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11309
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
11386
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11310
11387
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11311
11388
else
11312
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11389
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11313
11390
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11314
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
11391
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11315
11392
  $as_echo_n "(cached) " >&6
11316
11393
else
11317
11394
  ac_check_lib_save_LIBS=$LIBS
11318
11395
LIBS="-ldld  $LIBS"
11319
 
cat >conftest.$ac_ext <<_ACEOF
11320
 
/* confdefs.h.  */
11321
 
_ACEOF
11322
 
cat confdefs.h >>conftest.$ac_ext
11323
 
cat >>conftest.$ac_ext <<_ACEOF
 
11396
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11324
11397
/* end confdefs.h.  */
11325
11398
 
11326
11399
/* Override any GCC internal prototype to avoid an error.
11338
11411
  return 0;
11339
11412
}
11340
11413
_ACEOF
11341
 
rm -f conftest.$ac_objext conftest$ac_exeext
11342
 
if { (ac_try="$ac_link"
11343
 
case "(($ac_try" in
11344
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11345
 
  *) ac_try_echo=$ac_try;;
11346
 
esac
11347
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11348
 
$as_echo "$ac_try_echo") >&5
11349
 
  (eval "$ac_link") 2>conftest.er1
11350
 
  ac_status=$?
11351
 
  grep -v '^ *+' conftest.er1 >conftest.err
11352
 
  rm -f conftest.er1
11353
 
  cat conftest.err >&5
11354
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11355
 
  (exit $ac_status); } && {
11356
 
         test -z "$ac_c_werror_flag" ||
11357
 
         test ! -s conftest.err
11358
 
       } && test -s conftest$ac_exeext && {
11359
 
         test "$cross_compiling" = yes ||
11360
 
         $as_test_x conftest$ac_exeext
11361
 
       }; then
 
11414
if ac_fn_c_try_link "$LINENO"; then :
11362
11415
  ac_cv_lib_dld_dld_link=yes
11363
11416
else
11364
 
  $as_echo "$as_me: failed program was:" >&5
11365
 
sed 's/^/| /' conftest.$ac_ext >&5
11366
 
 
11367
 
        ac_cv_lib_dld_dld_link=no
 
11417
  ac_cv_lib_dld_dld_link=no
11368
11418
fi
11369
 
 
11370
 
rm -rf conftest.dSYM
11371
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11372
 
      conftest$ac_exeext conftest.$ac_ext
 
11419
rm -f core conftest.err conftest.$ac_objext \
 
11420
    conftest$ac_exeext conftest.$ac_ext
11373
11421
LIBS=$ac_check_lib_save_LIBS
11374
11422
fi
11375
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11376
11424
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11377
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11425
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11378
11426
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11379
11427
fi
11380
11428
 
11413
11461
    save_LIBS="$LIBS"
11414
11462
    LIBS="$lt_cv_dlopen_libs $LIBS"
11415
11463
 
11416
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11464
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11417
11465
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11418
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
11466
if test "${lt_cv_dlopen_self+set}" = set; then :
11419
11467
  $as_echo_n "(cached) " >&6
11420
11468
else
11421
11469
          if test "$cross_compiling" = yes; then :
11424
11472
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11425
11473
  lt_status=$lt_dlunknown
11426
11474
  cat > conftest.$ac_ext <<_LT_EOF
11427
 
#line 11427 "configure"
 
11475
#line 11475 "configure"
11428
11476
#include "confdefs.h"
11429
11477
 
11430
11478
#if HAVE_DLFCN_H
11483
11531
  return status;
11484
11532
}
11485
11533
_LT_EOF
11486
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11534
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11487
11535
  (eval $ac_link) 2>&5
11488
11536
  ac_status=$?
11489
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11490
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11537
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11538
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11491
11539
    (./conftest; exit; ) >&5 2>/dev/null
11492
11540
    lt_status=$?
11493
11541
    case x$lt_status in
11504
11552
 
11505
11553
 
11506
11554
fi
11507
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11508
11556
$as_echo "$lt_cv_dlopen_self" >&6; }
11509
11557
 
11510
11558
    if test "x$lt_cv_dlopen_self" = xyes; then
11511
11559
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11512
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11560
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11513
11561
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11514
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
11562
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11515
11563
  $as_echo_n "(cached) " >&6
11516
11564
else
11517
11565
          if test "$cross_compiling" = yes; then :
11520
11568
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11521
11569
  lt_status=$lt_dlunknown
11522
11570
  cat > conftest.$ac_ext <<_LT_EOF
11523
 
#line 11523 "configure"
 
11571
#line 11571 "configure"
11524
11572
#include "confdefs.h"
11525
11573
 
11526
11574
#if HAVE_DLFCN_H
11579
11627
  return status;
11580
11628
}
11581
11629
_LT_EOF
11582
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
11630
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11583
11631
  (eval $ac_link) 2>&5
11584
11632
  ac_status=$?
11585
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
11633
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
11634
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11587
11635
    (./conftest; exit; ) >&5 2>/dev/null
11588
11636
    lt_status=$?
11589
11637
    case x$lt_status in
11600
11648
 
11601
11649
 
11602
11650
fi
11603
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11604
11652
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11605
11653
    fi
11606
11654
 
11639
11687
 
11640
11688
striplib=
11641
11689
old_striplib=
11642
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11643
11691
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11644
11692
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11645
11693
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11646
11694
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11647
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11695
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11648
11696
$as_echo "yes" >&6; }
11649
11697
else
11650
11698
# FIXME - insert some real tests, host_os isn't really good enough
11653
11701
    if test -n "$STRIP" ; then
11654
11702
      striplib="$STRIP -x"
11655
11703
      old_striplib="$STRIP -S"
11656
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11704
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11657
11705
$as_echo "yes" >&6; }
11658
11706
    else
11659
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11707
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11660
11708
$as_echo "no" >&6; }
11661
11709
    fi
11662
11710
    ;;
11663
11711
  *)
11664
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11712
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11665
11713
$as_echo "no" >&6; }
11666
11714
    ;;
11667
11715
  esac
11679
11727
 
11680
11728
 
11681
11729
  # Report which library types will actually be built
11682
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11730
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11683
11731
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11684
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11685
11733
$as_echo "$can_build_shared" >&6; }
11686
11734
 
11687
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11735
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11688
11736
$as_echo_n "checking whether to build shared libraries... " >&6; }
11689
11737
  test "$can_build_shared" = "no" && enable_shared=no
11690
11738
 
11705
11753
    fi
11706
11754
    ;;
11707
11755
  esac
11708
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11756
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11709
11757
$as_echo "$enable_shared" >&6; }
11710
11758
 
11711
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11759
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11712
11760
$as_echo_n "checking whether to build static libraries... " >&6; }
11713
11761
  # Make sure either enable_shared or enable_static is yes.
11714
11762
  test "$enable_shared" = yes || enable_static=yes
11715
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11716
11764
$as_echo "$enable_static" >&6; }
11717
11765
 
11718
11766
 
11748
11796
 
11749
11797
 
11750
11798
# Check whether --enable-largefile was given.
11751
 
if test "${enable_largefile+set}" = set; then
 
11799
if test "${enable_largefile+set}" = set; then :
11752
11800
  enableval=$enable_largefile;
11753
11801
fi
11754
11802
 
11755
11803
if test "$enable_largefile" != no; then
11756
11804
 
11757
 
  { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
 
11805
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
11758
11806
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
11759
 
if test "${ac_cv_sys_largefile_CC+set}" = set; then
 
11807
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
11760
11808
  $as_echo_n "(cached) " >&6
11761
11809
else
11762
11810
  ac_cv_sys_largefile_CC=no
11765
11813
       while :; do
11766
11814
         # IRIX 6.2 and later do not support large files by default,
11767
11815
         # so use the C compiler's -n32 option if that helps.
11768
 
         cat >conftest.$ac_ext <<_ACEOF
11769
 
/* confdefs.h.  */
11770
 
_ACEOF
11771
 
cat confdefs.h >>conftest.$ac_ext
11772
 
cat >>conftest.$ac_ext <<_ACEOF
 
11816
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11773
11817
/* end confdefs.h.  */
11774
11818
#include <sys/types.h>
11775
11819
 /* Check that off_t can represent 2**63 - 1 correctly.
11788
11832
  return 0;
11789
11833
}
11790
11834
_ACEOF
11791
 
         rm -f conftest.$ac_objext
11792
 
if { (ac_try="$ac_compile"
11793
 
case "(($ac_try" in
11794
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11795
 
  *) ac_try_echo=$ac_try;;
11796
 
esac
11797
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11798
 
$as_echo "$ac_try_echo") >&5
11799
 
  (eval "$ac_compile") 2>conftest.er1
11800
 
  ac_status=$?
11801
 
  grep -v '^ *+' conftest.er1 >conftest.err
11802
 
  rm -f conftest.er1
11803
 
  cat conftest.err >&5
11804
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805
 
  (exit $ac_status); } && {
11806
 
         test -z "$ac_c_werror_flag" ||
11807
 
         test ! -s conftest.err
11808
 
       } && test -s conftest.$ac_objext; then
 
11835
         if ac_fn_c_try_compile "$LINENO"; then :
11809
11836
  break
11810
 
else
11811
 
  $as_echo "$as_me: failed program was:" >&5
11812
 
sed 's/^/| /' conftest.$ac_ext >&5
11813
 
 
11814
 
 
11815
11837
fi
11816
 
 
11817
11838
rm -f core conftest.err conftest.$ac_objext
11818
11839
         CC="$CC -n32"
11819
 
         rm -f conftest.$ac_objext
11820
 
if { (ac_try="$ac_compile"
11821
 
case "(($ac_try" in
11822
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11823
 
  *) ac_try_echo=$ac_try;;
11824
 
esac
11825
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11826
 
$as_echo "$ac_try_echo") >&5
11827
 
  (eval "$ac_compile") 2>conftest.er1
11828
 
  ac_status=$?
11829
 
  grep -v '^ *+' conftest.er1 >conftest.err
11830
 
  rm -f conftest.er1
11831
 
  cat conftest.err >&5
11832
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833
 
  (exit $ac_status); } && {
11834
 
         test -z "$ac_c_werror_flag" ||
11835
 
         test ! -s conftest.err
11836
 
       } && test -s conftest.$ac_objext; then
 
11840
         if ac_fn_c_try_compile "$LINENO"; then :
11837
11841
  ac_cv_sys_largefile_CC=' -n32'; break
11838
 
else
11839
 
  $as_echo "$as_me: failed program was:" >&5
11840
 
sed 's/^/| /' conftest.$ac_ext >&5
11841
 
 
11842
 
 
11843
11842
fi
11844
 
 
11845
11843
rm -f core conftest.err conftest.$ac_objext
11846
11844
         break
11847
11845
       done
11849
11847
       rm -f conftest.$ac_ext
11850
11848
    fi
11851
11849
fi
11852
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
 
11850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
11853
11851
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
11854
11852
  if test "$ac_cv_sys_largefile_CC" != no; then
11855
11853
    CC=$CC$ac_cv_sys_largefile_CC
11856
11854
  fi
11857
11855
 
11858
 
  { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
 
11856
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11859
11857
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
11860
 
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
 
11858
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
11861
11859
  $as_echo_n "(cached) " >&6
11862
11860
else
11863
11861
  while :; do
11864
 
  cat >conftest.$ac_ext <<_ACEOF
11865
 
/* confdefs.h.  */
11866
 
_ACEOF
11867
 
cat confdefs.h >>conftest.$ac_ext
11868
 
cat >>conftest.$ac_ext <<_ACEOF
 
11862
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869
11863
/* end confdefs.h.  */
11870
11864
#include <sys/types.h>
11871
11865
 /* Check that off_t can represent 2**63 - 1 correctly.
11884
11878
  return 0;
11885
11879
}
11886
11880
_ACEOF
11887
 
rm -f conftest.$ac_objext
11888
 
if { (ac_try="$ac_compile"
11889
 
case "(($ac_try" in
11890
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11891
 
  *) ac_try_echo=$ac_try;;
11892
 
esac
11893
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11894
 
$as_echo "$ac_try_echo") >&5
11895
 
  (eval "$ac_compile") 2>conftest.er1
11896
 
  ac_status=$?
11897
 
  grep -v '^ *+' conftest.er1 >conftest.err
11898
 
  rm -f conftest.er1
11899
 
  cat conftest.err >&5
11900
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901
 
  (exit $ac_status); } && {
11902
 
         test -z "$ac_c_werror_flag" ||
11903
 
         test ! -s conftest.err
11904
 
       } && test -s conftest.$ac_objext; then
 
11881
if ac_fn_c_try_compile "$LINENO"; then :
11905
11882
  ac_cv_sys_file_offset_bits=no; break
11906
 
else
11907
 
  $as_echo "$as_me: failed program was:" >&5
11908
 
sed 's/^/| /' conftest.$ac_ext >&5
11909
 
 
11910
 
 
11911
11883
fi
11912
 
 
11913
11884
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11914
 
  cat >conftest.$ac_ext <<_ACEOF
11915
 
/* confdefs.h.  */
11916
 
_ACEOF
11917
 
cat confdefs.h >>conftest.$ac_ext
11918
 
cat >>conftest.$ac_ext <<_ACEOF
 
11885
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919
11886
/* end confdefs.h.  */
11920
11887
#define _FILE_OFFSET_BITS 64
11921
11888
#include <sys/types.h>
11935
11902
  return 0;
11936
11903
}
11937
11904
_ACEOF
11938
 
rm -f conftest.$ac_objext
11939
 
if { (ac_try="$ac_compile"
11940
 
case "(($ac_try" in
11941
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11942
 
  *) ac_try_echo=$ac_try;;
11943
 
esac
11944
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11945
 
$as_echo "$ac_try_echo") >&5
11946
 
  (eval "$ac_compile") 2>conftest.er1
11947
 
  ac_status=$?
11948
 
  grep -v '^ *+' conftest.er1 >conftest.err
11949
 
  rm -f conftest.er1
11950
 
  cat conftest.err >&5
11951
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952
 
  (exit $ac_status); } && {
11953
 
         test -z "$ac_c_werror_flag" ||
11954
 
         test ! -s conftest.err
11955
 
       } && test -s conftest.$ac_objext; then
 
11905
if ac_fn_c_try_compile "$LINENO"; then :
11956
11906
  ac_cv_sys_file_offset_bits=64; break
11957
 
else
11958
 
  $as_echo "$as_me: failed program was:" >&5
11959
 
sed 's/^/| /' conftest.$ac_ext >&5
11960
 
 
11961
 
 
11962
11907
fi
11963
 
 
11964
11908
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11965
11909
  ac_cv_sys_file_offset_bits=unknown
11966
11910
  break
11967
11911
done
11968
11912
fi
11969
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
 
11913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
11970
11914
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
11971
11915
case $ac_cv_sys_file_offset_bits in #(
11972
11916
  no | unknown) ;;
11978
11922
esac
11979
11923
rm -rf conftest*
11980
11924
  if test $ac_cv_sys_file_offset_bits = unknown; then
11981
 
    { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
 
11925
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
11982
11926
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
11983
 
if test "${ac_cv_sys_large_files+set}" = set; then
 
11927
if test "${ac_cv_sys_large_files+set}" = set; then :
11984
11928
  $as_echo_n "(cached) " >&6
11985
11929
else
11986
11930
  while :; do
11987
 
  cat >conftest.$ac_ext <<_ACEOF
11988
 
/* confdefs.h.  */
11989
 
_ACEOF
11990
 
cat confdefs.h >>conftest.$ac_ext
11991
 
cat >>conftest.$ac_ext <<_ACEOF
 
11931
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992
11932
/* end confdefs.h.  */
11993
11933
#include <sys/types.h>
11994
11934
 /* Check that off_t can represent 2**63 - 1 correctly.
12007
11947
  return 0;
12008
11948
}
12009
11949
_ACEOF
12010
 
rm -f conftest.$ac_objext
12011
 
if { (ac_try="$ac_compile"
12012
 
case "(($ac_try" in
12013
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12014
 
  *) ac_try_echo=$ac_try;;
12015
 
esac
12016
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12017
 
$as_echo "$ac_try_echo") >&5
12018
 
  (eval "$ac_compile") 2>conftest.er1
12019
 
  ac_status=$?
12020
 
  grep -v '^ *+' conftest.er1 >conftest.err
12021
 
  rm -f conftest.er1
12022
 
  cat conftest.err >&5
12023
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024
 
  (exit $ac_status); } && {
12025
 
         test -z "$ac_c_werror_flag" ||
12026
 
         test ! -s conftest.err
12027
 
       } && test -s conftest.$ac_objext; then
 
11950
if ac_fn_c_try_compile "$LINENO"; then :
12028
11951
  ac_cv_sys_large_files=no; break
12029
 
else
12030
 
  $as_echo "$as_me: failed program was:" >&5
12031
 
sed 's/^/| /' conftest.$ac_ext >&5
12032
 
 
12033
 
 
12034
11952
fi
12035
 
 
12036
11953
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12037
 
  cat >conftest.$ac_ext <<_ACEOF
12038
 
/* confdefs.h.  */
12039
 
_ACEOF
12040
 
cat confdefs.h >>conftest.$ac_ext
12041
 
cat >>conftest.$ac_ext <<_ACEOF
 
11954
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12042
11955
/* end confdefs.h.  */
12043
11956
#define _LARGE_FILES 1
12044
11957
#include <sys/types.h>
12058
11971
  return 0;
12059
11972
}
12060
11973
_ACEOF
12061
 
rm -f conftest.$ac_objext
12062
 
if { (ac_try="$ac_compile"
12063
 
case "(($ac_try" in
12064
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12065
 
  *) ac_try_echo=$ac_try;;
12066
 
esac
12067
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12068
 
$as_echo "$ac_try_echo") >&5
12069
 
  (eval "$ac_compile") 2>conftest.er1
12070
 
  ac_status=$?
12071
 
  grep -v '^ *+' conftest.er1 >conftest.err
12072
 
  rm -f conftest.er1
12073
 
  cat conftest.err >&5
12074
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075
 
  (exit $ac_status); } && {
12076
 
         test -z "$ac_c_werror_flag" ||
12077
 
         test ! -s conftest.err
12078
 
       } && test -s conftest.$ac_objext; then
 
11974
if ac_fn_c_try_compile "$LINENO"; then :
12079
11975
  ac_cv_sys_large_files=1; break
12080
 
else
12081
 
  $as_echo "$as_me: failed program was:" >&5
12082
 
sed 's/^/| /' conftest.$ac_ext >&5
12083
 
 
12084
 
 
12085
11976
fi
12086
 
 
12087
11977
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12088
11978
  ac_cv_sys_large_files=unknown
12089
11979
  break
12090
11980
done
12091
11981
fi
12092
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
 
11982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
12093
11983
$as_echo "$ac_cv_sys_large_files" >&6; }
12094
11984
case $ac_cv_sys_large_files in #(
12095
11985
  no | unknown) ;;
12103
11993
  fi
12104
11994
fi
12105
11995
 
12106
 
{ $as_echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
 
11996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
12107
11997
$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
12108
 
if test "${ac_cv_sys_largefile_source+set}" = set; then
 
11998
if test "${ac_cv_sys_largefile_source+set}" = set; then :
12109
11999
  $as_echo_n "(cached) " >&6
12110
12000
else
12111
12001
  while :; do
12112
 
  cat >conftest.$ac_ext <<_ACEOF
12113
 
/* confdefs.h.  */
12114
 
_ACEOF
12115
 
cat confdefs.h >>conftest.$ac_ext
12116
 
cat >>conftest.$ac_ext <<_ACEOF
 
12002
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12117
12003
/* end confdefs.h.  */
12118
12004
#include <sys/types.h> /* for off_t */
12119
12005
     #include <stdio.h>
12126
12012
  return 0;
12127
12013
}
12128
12014
_ACEOF
12129
 
rm -f conftest.$ac_objext conftest$ac_exeext
12130
 
if { (ac_try="$ac_link"
12131
 
case "(($ac_try" in
12132
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12133
 
  *) ac_try_echo=$ac_try;;
12134
 
esac
12135
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12136
 
$as_echo "$ac_try_echo") >&5
12137
 
  (eval "$ac_link") 2>conftest.er1
12138
 
  ac_status=$?
12139
 
  grep -v '^ *+' conftest.er1 >conftest.err
12140
 
  rm -f conftest.er1
12141
 
  cat conftest.err >&5
12142
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143
 
  (exit $ac_status); } && {
12144
 
         test -z "$ac_c_werror_flag" ||
12145
 
         test ! -s conftest.err
12146
 
       } && test -s conftest$ac_exeext && {
12147
 
         test "$cross_compiling" = yes ||
12148
 
         $as_test_x conftest$ac_exeext
12149
 
       }; then
 
12015
if ac_fn_c_try_link "$LINENO"; then :
12150
12016
  ac_cv_sys_largefile_source=no; break
12151
 
else
12152
 
  $as_echo "$as_me: failed program was:" >&5
12153
 
sed 's/^/| /' conftest.$ac_ext >&5
12154
 
 
12155
 
 
12156
12017
fi
12157
 
 
12158
 
rm -rf conftest.dSYM
12159
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12160
 
      conftest$ac_exeext conftest.$ac_ext
12161
 
  cat >conftest.$ac_ext <<_ACEOF
12162
 
/* confdefs.h.  */
12163
 
_ACEOF
12164
 
cat confdefs.h >>conftest.$ac_ext
12165
 
cat >>conftest.$ac_ext <<_ACEOF
 
12018
rm -f core conftest.err conftest.$ac_objext \
 
12019
    conftest$ac_exeext conftest.$ac_ext
 
12020
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166
12021
/* end confdefs.h.  */
12167
12022
#define _LARGEFILE_SOURCE 1
12168
12023
#include <sys/types.h> /* for off_t */
12176
12031
  return 0;
12177
12032
}
12178
12033
_ACEOF
12179
 
rm -f conftest.$ac_objext conftest$ac_exeext
12180
 
if { (ac_try="$ac_link"
12181
 
case "(($ac_try" in
12182
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12183
 
  *) ac_try_echo=$ac_try;;
12184
 
esac
12185
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12186
 
$as_echo "$ac_try_echo") >&5
12187
 
  (eval "$ac_link") 2>conftest.er1
12188
 
  ac_status=$?
12189
 
  grep -v '^ *+' conftest.er1 >conftest.err
12190
 
  rm -f conftest.er1
12191
 
  cat conftest.err >&5
12192
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193
 
  (exit $ac_status); } && {
12194
 
         test -z "$ac_c_werror_flag" ||
12195
 
         test ! -s conftest.err
12196
 
       } && test -s conftest$ac_exeext && {
12197
 
         test "$cross_compiling" = yes ||
12198
 
         $as_test_x conftest$ac_exeext
12199
 
       }; then
 
12034
if ac_fn_c_try_link "$LINENO"; then :
12200
12035
  ac_cv_sys_largefile_source=1; break
12201
 
else
12202
 
  $as_echo "$as_me: failed program was:" >&5
12203
 
sed 's/^/| /' conftest.$ac_ext >&5
12204
 
 
12205
 
 
12206
12036
fi
12207
 
 
12208
 
rm -rf conftest.dSYM
12209
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12210
 
      conftest$ac_exeext conftest.$ac_ext
 
12037
rm -f core conftest.err conftest.$ac_objext \
 
12038
    conftest$ac_exeext conftest.$ac_ext
12211
12039
  ac_cv_sys_largefile_source=unknown
12212
12040
  break
12213
12041
done
12214
12042
fi
12215
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
 
12043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
12216
12044
$as_echo "$ac_cv_sys_largefile_source" >&6; }
12217
12045
case $ac_cv_sys_largefile_source in #(
12218
12046
  no | unknown) ;;
12229
12057
# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
12230
12058
if test $ac_cv_sys_largefile_source != unknown; then
12231
12059
 
12232
 
cat >>confdefs.h <<\_ACEOF
12233
 
#define HAVE_FSEEKO 1
12234
 
_ACEOF
 
12060
$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
12235
12061
 
12236
12062
fi
12237
12063
 
12238
 
 
12239
 
 
12240
 
 
12241
 
 
12242
 
 
12243
12064
ac_header_dirent=no
12244
12065
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12245
12066
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12246
 
{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 
12067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12247
12068
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12248
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
12069
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
12249
12070
  $as_echo_n "(cached) " >&6
12250
12071
else
12251
 
  cat >conftest.$ac_ext <<_ACEOF
12252
 
/* confdefs.h.  */
12253
 
_ACEOF
12254
 
cat confdefs.h >>conftest.$ac_ext
12255
 
cat >>conftest.$ac_ext <<_ACEOF
 
12072
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256
12073
/* end confdefs.h.  */
12257
12074
#include <sys/types.h>
12258
12075
#include <$ac_hdr>
12266
12083
  return 0;
12267
12084
}
12268
12085
_ACEOF
12269
 
rm -f conftest.$ac_objext
12270
 
if { (ac_try="$ac_compile"
12271
 
case "(($ac_try" in
12272
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12273
 
  *) ac_try_echo=$ac_try;;
12274
 
esac
12275
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12276
 
$as_echo "$ac_try_echo") >&5
12277
 
  (eval "$ac_compile") 2>conftest.er1
12278
 
  ac_status=$?
12279
 
  grep -v '^ *+' conftest.er1 >conftest.err
12280
 
  rm -f conftest.er1
12281
 
  cat conftest.err >&5
12282
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283
 
  (exit $ac_status); } && {
12284
 
         test -z "$ac_c_werror_flag" ||
12285
 
         test ! -s conftest.err
12286
 
       } && test -s conftest.$ac_objext; then
 
12086
if ac_fn_c_try_compile "$LINENO"; then :
12287
12087
  eval "$as_ac_Header=yes"
12288
12088
else
12289
 
  $as_echo "$as_me: failed program was:" >&5
12290
 
sed 's/^/| /' conftest.$ac_ext >&5
12291
 
 
12292
 
        eval "$as_ac_Header=no"
 
12089
  eval "$as_ac_Header=no"
12293
12090
fi
12294
 
 
12295
12091
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12296
12092
fi
12297
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12298
 
                 $as_echo "$as_val"'`
12299
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12093
eval ac_res=\$$as_ac_Header
 
12094
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12300
12095
$as_echo "$ac_res" >&6; }
12301
 
as_val=`eval 'as_val=${'$as_ac_Header'}
12302
 
                 $as_echo "$as_val"'`
12303
 
   if test "x$as_val" = x""yes; then
 
12096
eval as_val=\$$as_ac_Header
 
12097
   if test "x$as_val" = x""yes; then :
12304
12098
  cat >>confdefs.h <<_ACEOF
12305
12099
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12306
12100
_ACEOF
12311
12105
done
12312
12106
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12313
12107
if test $ac_header_dirent = dirent.h; then
12314
 
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
12108
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12315
12109
$as_echo_n "checking for library containing opendir... " >&6; }
12316
 
if test "${ac_cv_search_opendir+set}" = set; then
 
12110
if test "${ac_cv_search_opendir+set}" = set; then :
12317
12111
  $as_echo_n "(cached) " >&6
12318
12112
else
12319
12113
  ac_func_search_save_LIBS=$LIBS
12320
 
cat >conftest.$ac_ext <<_ACEOF
12321
 
/* confdefs.h.  */
12322
 
_ACEOF
12323
 
cat confdefs.h >>conftest.$ac_ext
12324
 
cat >>conftest.$ac_ext <<_ACEOF
 
12114
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325
12115
/* end confdefs.h.  */
12326
12116
 
12327
12117
/* Override any GCC internal prototype to avoid an error.
12346
12136
    ac_res=-l$ac_lib
12347
12137
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12348
12138
  fi
12349
 
  rm -f conftest.$ac_objext conftest$ac_exeext
12350
 
if { (ac_try="$ac_link"
12351
 
case "(($ac_try" in
12352
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12353
 
  *) ac_try_echo=$ac_try;;
12354
 
esac
12355
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12356
 
$as_echo "$ac_try_echo") >&5
12357
 
  (eval "$ac_link") 2>conftest.er1
12358
 
  ac_status=$?
12359
 
  grep -v '^ *+' conftest.er1 >conftest.err
12360
 
  rm -f conftest.er1
12361
 
  cat conftest.err >&5
12362
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363
 
  (exit $ac_status); } && {
12364
 
         test -z "$ac_c_werror_flag" ||
12365
 
         test ! -s conftest.err
12366
 
       } && test -s conftest$ac_exeext && {
12367
 
         test "$cross_compiling" = yes ||
12368
 
         $as_test_x conftest$ac_exeext
12369
 
       }; then
 
12139
  if ac_fn_c_try_link "$LINENO"; then :
12370
12140
  ac_cv_search_opendir=$ac_res
12371
 
else
12372
 
  $as_echo "$as_me: failed program was:" >&5
12373
 
sed 's/^/| /' conftest.$ac_ext >&5
12374
 
 
12375
 
 
12376
12141
fi
12377
 
 
12378
 
rm -rf conftest.dSYM
12379
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12380
 
      conftest$ac_exeext
12381
 
  if test "${ac_cv_search_opendir+set}" = set; then
 
12142
rm -f core conftest.err conftest.$ac_objext \
 
12143
    conftest$ac_exeext
 
12144
  if test "${ac_cv_search_opendir+set}" = set; then :
12382
12145
  break
12383
12146
fi
12384
12147
done
12385
 
if test "${ac_cv_search_opendir+set}" = set; then
12386
 
  :
 
12148
if test "${ac_cv_search_opendir+set}" = set; then :
 
12149
 
12387
12150
else
12388
12151
  ac_cv_search_opendir=no
12389
12152
fi
12390
12153
rm conftest.$ac_ext
12391
12154
LIBS=$ac_func_search_save_LIBS
12392
12155
fi
12393
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
12156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12394
12157
$as_echo "$ac_cv_search_opendir" >&6; }
12395
12158
ac_res=$ac_cv_search_opendir
12396
 
if test "$ac_res" != no; then
 
12159
if test "$ac_res" != no; then :
12397
12160
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12398
12161
 
12399
12162
fi
12400
12163
 
12401
12164
else
12402
 
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
12165
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12403
12166
$as_echo_n "checking for library containing opendir... " >&6; }
12404
 
if test "${ac_cv_search_opendir+set}" = set; then
 
12167
if test "${ac_cv_search_opendir+set}" = set; then :
12405
12168
  $as_echo_n "(cached) " >&6
12406
12169
else
12407
12170
  ac_func_search_save_LIBS=$LIBS
12408
 
cat >conftest.$ac_ext <<_ACEOF
12409
 
/* confdefs.h.  */
12410
 
_ACEOF
12411
 
cat confdefs.h >>conftest.$ac_ext
12412
 
cat >>conftest.$ac_ext <<_ACEOF
 
12171
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413
12172
/* end confdefs.h.  */
12414
12173
 
12415
12174
/* Override any GCC internal prototype to avoid an error.
12434
12193
    ac_res=-l$ac_lib
12435
12194
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12436
12195
  fi
12437
 
  rm -f conftest.$ac_objext conftest$ac_exeext
12438
 
if { (ac_try="$ac_link"
12439
 
case "(($ac_try" in
12440
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12441
 
  *) ac_try_echo=$ac_try;;
12442
 
esac
12443
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12444
 
$as_echo "$ac_try_echo") >&5
12445
 
  (eval "$ac_link") 2>conftest.er1
12446
 
  ac_status=$?
12447
 
  grep -v '^ *+' conftest.er1 >conftest.err
12448
 
  rm -f conftest.er1
12449
 
  cat conftest.err >&5
12450
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451
 
  (exit $ac_status); } && {
12452
 
         test -z "$ac_c_werror_flag" ||
12453
 
         test ! -s conftest.err
12454
 
       } && test -s conftest$ac_exeext && {
12455
 
         test "$cross_compiling" = yes ||
12456
 
         $as_test_x conftest$ac_exeext
12457
 
       }; then
 
12196
  if ac_fn_c_try_link "$LINENO"; then :
12458
12197
  ac_cv_search_opendir=$ac_res
12459
 
else
12460
 
  $as_echo "$as_me: failed program was:" >&5
12461
 
sed 's/^/| /' conftest.$ac_ext >&5
12462
 
 
12463
 
 
12464
12198
fi
12465
 
 
12466
 
rm -rf conftest.dSYM
12467
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12468
 
      conftest$ac_exeext
12469
 
  if test "${ac_cv_search_opendir+set}" = set; then
 
12199
rm -f core conftest.err conftest.$ac_objext \
 
12200
    conftest$ac_exeext
 
12201
  if test "${ac_cv_search_opendir+set}" = set; then :
12470
12202
  break
12471
12203
fi
12472
12204
done
12473
 
if test "${ac_cv_search_opendir+set}" = set; then
12474
 
  :
 
12205
if test "${ac_cv_search_opendir+set}" = set; then :
 
12206
 
12475
12207
else
12476
12208
  ac_cv_search_opendir=no
12477
12209
fi
12478
12210
rm conftest.$ac_ext
12479
12211
LIBS=$ac_func_search_save_LIBS
12480
12212
fi
12481
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
12213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12482
12214
$as_echo "$ac_cv_search_opendir" >&6; }
12483
12215
ac_res=$ac_cv_search_opendir
12484
 
if test "$ac_res" != no; then
 
12216
if test "$ac_res" != no; then :
12485
12217
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12486
12218
 
12487
12219
fi
12488
12220
 
12489
12221
fi
12490
12222
 
12491
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
12223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12492
12224
$as_echo_n "checking for ANSI C header files... " >&6; }
12493
 
if test "${ac_cv_header_stdc+set}" = set; then
 
12225
if test "${ac_cv_header_stdc+set}" = set; then :
12494
12226
  $as_echo_n "(cached) " >&6
12495
12227
else
12496
 
  cat >conftest.$ac_ext <<_ACEOF
12497
 
/* confdefs.h.  */
12498
 
_ACEOF
12499
 
cat confdefs.h >>conftest.$ac_ext
12500
 
cat >>conftest.$ac_ext <<_ACEOF
 
12228
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501
12229
/* end confdefs.h.  */
12502
12230
#include <stdlib.h>
12503
12231
#include <stdarg.h>
12512
12240
  return 0;
12513
12241
}
12514
12242
_ACEOF
12515
 
rm -f conftest.$ac_objext
12516
 
if { (ac_try="$ac_compile"
12517
 
case "(($ac_try" in
12518
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12519
 
  *) ac_try_echo=$ac_try;;
12520
 
esac
12521
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12522
 
$as_echo "$ac_try_echo") >&5
12523
 
  (eval "$ac_compile") 2>conftest.er1
12524
 
  ac_status=$?
12525
 
  grep -v '^ *+' conftest.er1 >conftest.err
12526
 
  rm -f conftest.er1
12527
 
  cat conftest.err >&5
12528
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529
 
  (exit $ac_status); } && {
12530
 
         test -z "$ac_c_werror_flag" ||
12531
 
         test ! -s conftest.err
12532
 
       } && test -s conftest.$ac_objext; then
 
12243
if ac_fn_c_try_compile "$LINENO"; then :
12533
12244
  ac_cv_header_stdc=yes
12534
12245
else
12535
 
  $as_echo "$as_me: failed program was:" >&5
12536
 
sed 's/^/| /' conftest.$ac_ext >&5
12537
 
 
12538
 
        ac_cv_header_stdc=no
 
12246
  ac_cv_header_stdc=no
12539
12247
fi
12540
 
 
12541
12248
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12542
12249
 
12543
12250
if test $ac_cv_header_stdc = yes; then
12544
12251
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12545
 
  cat >conftest.$ac_ext <<_ACEOF
12546
 
/* confdefs.h.  */
12547
 
_ACEOF
12548
 
cat confdefs.h >>conftest.$ac_ext
12549
 
cat >>conftest.$ac_ext <<_ACEOF
 
12252
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550
12253
/* end confdefs.h.  */
12551
12254
#include <string.h>
12552
12255
 
12553
12256
_ACEOF
12554
12257
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12555
 
  $EGREP "memchr" >/dev/null 2>&1; then
12556
 
  :
 
12258
  $EGREP "memchr" >/dev/null 2>&1; then :
 
12259
 
12557
12260
else
12558
12261
  ac_cv_header_stdc=no
12559
12262
fi
12563
12266
 
12564
12267
if test $ac_cv_header_stdc = yes; then
12565
12268
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12566
 
  cat >conftest.$ac_ext <<_ACEOF
12567
 
/* confdefs.h.  */
12568
 
_ACEOF
12569
 
cat confdefs.h >>conftest.$ac_ext
12570
 
cat >>conftest.$ac_ext <<_ACEOF
 
12269
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12571
12270
/* end confdefs.h.  */
12572
12271
#include <stdlib.h>
12573
12272
 
12574
12273
_ACEOF
12575
12274
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12576
 
  $EGREP "free" >/dev/null 2>&1; then
12577
 
  :
 
12275
  $EGREP "free" >/dev/null 2>&1; then :
 
12276
 
12578
12277
else
12579
12278
  ac_cv_header_stdc=no
12580
12279
fi
12584
12283
 
12585
12284
if test $ac_cv_header_stdc = yes; then
12586
12285
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12587
 
  if test "$cross_compiling" = yes; then
 
12286
  if test "$cross_compiling" = yes; then :
12588
12287
  :
12589
12288
else
12590
 
  cat >conftest.$ac_ext <<_ACEOF
12591
 
/* confdefs.h.  */
12592
 
_ACEOF
12593
 
cat confdefs.h >>conftest.$ac_ext
12594
 
cat >>conftest.$ac_ext <<_ACEOF
 
12289
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595
12290
/* end confdefs.h.  */
12596
12291
#include <ctype.h>
12597
12292
#include <stdlib.h>
12618
12313
  return 0;
12619
12314
}
12620
12315
_ACEOF
12621
 
rm -f conftest$ac_exeext
12622
 
if { (ac_try="$ac_link"
12623
 
case "(($ac_try" in
12624
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12625
 
  *) ac_try_echo=$ac_try;;
12626
 
esac
12627
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12628
 
$as_echo "$ac_try_echo") >&5
12629
 
  (eval "$ac_link") 2>&5
12630
 
  ac_status=$?
12631
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12633
 
  { (case "(($ac_try" in
12634
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12635
 
  *) ac_try_echo=$ac_try;;
12636
 
esac
12637
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12638
 
$as_echo "$ac_try_echo") >&5
12639
 
  (eval "$ac_try") 2>&5
12640
 
  ac_status=$?
12641
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642
 
  (exit $ac_status); }; }; then
12643
 
  :
 
12316
if ac_fn_c_try_run "$LINENO"; then :
 
12317
 
12644
12318
else
12645
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
12646
 
$as_echo "$as_me: failed program was:" >&5
12647
 
sed 's/^/| /' conftest.$ac_ext >&5
12648
 
 
12649
 
( exit $ac_status )
12650
 
ac_cv_header_stdc=no
12651
 
fi
12652
 
rm -rf conftest.dSYM
12653
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12654
 
fi
12655
 
 
12656
 
 
12657
 
fi
12658
 
fi
12659
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
12319
  ac_cv_header_stdc=no
 
12320
fi
 
12321
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12322
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12323
fi
 
12324
 
 
12325
fi
 
12326
fi
 
12327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12660
12328
$as_echo "$ac_cv_header_stdc" >&6; }
12661
12329
if test $ac_cv_header_stdc = yes; then
12662
12330
 
12663
 
cat >>confdefs.h <<\_ACEOF
12664
 
#define STDC_HEADERS 1
12665
 
_ACEOF
 
12331
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12666
12332
 
12667
12333
fi
12668
12334
 
12669
 
{ $as_echo "$as_me:$LINENO: checking whether closedir returns void" >&5
 
12335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
12670
12336
$as_echo_n "checking whether closedir returns void... " >&6; }
12671
 
if test "${ac_cv_func_closedir_void+set}" = set; then
 
12337
if test "${ac_cv_func_closedir_void+set}" = set; then :
12672
12338
  $as_echo_n "(cached) " >&6
12673
12339
else
12674
 
  if test "$cross_compiling" = yes; then
 
12340
  if test "$cross_compiling" = yes; then :
12675
12341
  ac_cv_func_closedir_void=yes
12676
12342
else
12677
 
  cat >conftest.$ac_ext <<_ACEOF
12678
 
/* confdefs.h.  */
12679
 
_ACEOF
12680
 
cat confdefs.h >>conftest.$ac_ext
12681
 
cat >>conftest.$ac_ext <<_ACEOF
 
12343
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682
12344
/* end confdefs.h.  */
12683
12345
$ac_includes_default
12684
12346
#include <$ac_header_dirent>
12694
12356
  return 0;
12695
12357
}
12696
12358
_ACEOF
12697
 
rm -f conftest$ac_exeext
12698
 
if { (ac_try="$ac_link"
12699
 
case "(($ac_try" in
12700
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12701
 
  *) ac_try_echo=$ac_try;;
12702
 
esac
12703
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12704
 
$as_echo "$ac_try_echo") >&5
12705
 
  (eval "$ac_link") 2>&5
12706
 
  ac_status=$?
12707
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12709
 
  { (case "(($ac_try" in
12710
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12711
 
  *) ac_try_echo=$ac_try;;
12712
 
esac
12713
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12714
 
$as_echo "$ac_try_echo") >&5
12715
 
  (eval "$ac_try") 2>&5
12716
 
  ac_status=$?
12717
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718
 
  (exit $ac_status); }; }; then
 
12359
if ac_fn_c_try_run "$LINENO"; then :
12719
12360
  ac_cv_func_closedir_void=no
12720
12361
else
12721
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
12722
 
$as_echo "$as_me: failed program was:" >&5
12723
 
sed 's/^/| /' conftest.$ac_ext >&5
12724
 
 
12725
 
( exit $ac_status )
12726
 
ac_cv_func_closedir_void=yes
12727
 
fi
12728
 
rm -rf conftest.dSYM
12729
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12730
 
fi
12731
 
 
12732
 
 
12733
 
fi
12734
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
 
12362
  ac_cv_func_closedir_void=yes
 
12363
fi
 
12364
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
12365
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
12366
fi
 
12367
 
 
12368
fi
 
12369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
12735
12370
$as_echo "$ac_cv_func_closedir_void" >&6; }
12736
12371
if test $ac_cv_func_closedir_void = yes; then
12737
12372
 
12738
 
cat >>confdefs.h <<\_ACEOF
12739
 
#define CLOSEDIR_VOID 1
12740
 
_ACEOF
 
12373
$as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
12741
12374
 
12742
12375
fi
12743
12376
 
12744
 
 
12745
 
 
12746
 
 
12747
 
 
12748
 
 
12749
 
 
12750
 
 
12751
 
 
12752
 
 
12753
 
 
12754
12377
for ac_header in assert.h float.h limits.h memory.h pwd.h stdlib.h \
12755
12378
                  string.h strings.h sys/param.h unistd.h
12756
 
do
12757
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12758
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12759
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12760
 
$as_echo_n "checking for $ac_header... " >&6; }
12761
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12762
 
  $as_echo_n "(cached) " >&6
12763
 
fi
12764
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12765
 
                 $as_echo "$as_val"'`
12766
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12767
 
$as_echo "$ac_res" >&6; }
12768
 
else
12769
 
  # Is the header compilable?
12770
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12771
 
$as_echo_n "checking $ac_header usability... " >&6; }
12772
 
cat >conftest.$ac_ext <<_ACEOF
12773
 
/* confdefs.h.  */
12774
 
_ACEOF
12775
 
cat confdefs.h >>conftest.$ac_ext
12776
 
cat >>conftest.$ac_ext <<_ACEOF
12777
 
/* end confdefs.h.  */
12778
 
$ac_includes_default
12779
 
#include <$ac_header>
12780
 
_ACEOF
12781
 
rm -f conftest.$ac_objext
12782
 
if { (ac_try="$ac_compile"
12783
 
case "(($ac_try" in
12784
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12785
 
  *) ac_try_echo=$ac_try;;
12786
 
esac
12787
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12788
 
$as_echo "$ac_try_echo") >&5
12789
 
  (eval "$ac_compile") 2>conftest.er1
12790
 
  ac_status=$?
12791
 
  grep -v '^ *+' conftest.er1 >conftest.err
12792
 
  rm -f conftest.er1
12793
 
  cat conftest.err >&5
12794
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795
 
  (exit $ac_status); } && {
12796
 
         test -z "$ac_c_werror_flag" ||
12797
 
         test ! -s conftest.err
12798
 
       } && test -s conftest.$ac_objext; then
12799
 
  ac_header_compiler=yes
12800
 
else
12801
 
  $as_echo "$as_me: failed program was:" >&5
12802
 
sed 's/^/| /' conftest.$ac_ext >&5
12803
 
 
12804
 
        ac_header_compiler=no
12805
 
fi
12806
 
 
12807
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12808
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12809
 
$as_echo "$ac_header_compiler" >&6; }
12810
 
 
12811
 
# Is the header present?
12812
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12813
 
$as_echo_n "checking $ac_header presence... " >&6; }
12814
 
cat >conftest.$ac_ext <<_ACEOF
12815
 
/* confdefs.h.  */
12816
 
_ACEOF
12817
 
cat confdefs.h >>conftest.$ac_ext
12818
 
cat >>conftest.$ac_ext <<_ACEOF
12819
 
/* end confdefs.h.  */
12820
 
#include <$ac_header>
12821
 
_ACEOF
12822
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
12823
 
case "(($ac_try" in
12824
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12825
 
  *) ac_try_echo=$ac_try;;
12826
 
esac
12827
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12828
 
$as_echo "$ac_try_echo") >&5
12829
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12830
 
  ac_status=$?
12831
 
  grep -v '^ *+' conftest.er1 >conftest.err
12832
 
  rm -f conftest.er1
12833
 
  cat conftest.err >&5
12834
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835
 
  (exit $ac_status); } >/dev/null && {
12836
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12837
 
         test ! -s conftest.err
12838
 
       }; then
12839
 
  ac_header_preproc=yes
12840
 
else
12841
 
  $as_echo "$as_me: failed program was:" >&5
12842
 
sed 's/^/| /' conftest.$ac_ext >&5
12843
 
 
12844
 
  ac_header_preproc=no
12845
 
fi
12846
 
 
12847
 
rm -f conftest.err conftest.$ac_ext
12848
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12849
 
$as_echo "$ac_header_preproc" >&6; }
12850
 
 
12851
 
# So?  What about this header?
12852
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12853
 
  yes:no: )
12854
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12855
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12856
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12857
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12858
 
    ac_header_preproc=yes
12859
 
    ;;
12860
 
  no:yes:* )
12861
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12862
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12863
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12864
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12865
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12866
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12867
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12868
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12869
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12870
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12871
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12872
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12873
 
    ( cat <<\_ASBOX
12874
 
## ---------------------------- ##
12875
 
## Report this to tex-k@tug.org ##
12876
 
## ---------------------------- ##
12877
 
_ASBOX
12878
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
12879
 
    ;;
12880
 
esac
12881
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12882
 
$as_echo_n "checking for $ac_header... " >&6; }
12883
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12884
 
  $as_echo_n "(cached) " >&6
12885
 
else
12886
 
  eval "$as_ac_Header=\$ac_header_preproc"
12887
 
fi
12888
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
12889
 
                 $as_echo "$as_val"'`
12890
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12891
 
$as_echo "$ac_res" >&6; }
12892
 
 
12893
 
fi
12894
 
as_val=`eval 'as_val=${'$as_ac_Header'}
12895
 
                 $as_echo "$as_val"'`
12896
 
   if test "x$as_val" = x""yes; then
 
12379
do :
 
12380
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12381
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
12382
eval as_val=\$$as_ac_Header
 
12383
   if test "x$as_val" = x""yes; then :
12897
12384
  cat >>confdefs.h <<_ACEOF
12898
12385
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12899
12386
_ACEOF
12902
12389
 
12903
12390
done
12904
12391
 
12905
 
 
12906
 
 
12907
 
 
12908
 
 
12909
12392
for ac_func in putenv strcasecmp strtol strstr
12910
 
do
12911
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12912
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12913
 
$as_echo_n "checking for $ac_func... " >&6; }
12914
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12915
 
  $as_echo_n "(cached) " >&6
12916
 
else
12917
 
  cat >conftest.$ac_ext <<_ACEOF
12918
 
/* confdefs.h.  */
12919
 
_ACEOF
12920
 
cat confdefs.h >>conftest.$ac_ext
12921
 
cat >>conftest.$ac_ext <<_ACEOF
12922
 
/* end confdefs.h.  */
12923
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12924
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12925
 
#define $ac_func innocuous_$ac_func
12926
 
 
12927
 
/* System header to define __stub macros and hopefully few prototypes,
12928
 
    which can conflict with char $ac_func (); below.
12929
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12930
 
    <limits.h> exists even on freestanding compilers.  */
12931
 
 
12932
 
#ifdef __STDC__
12933
 
# include <limits.h>
12934
 
#else
12935
 
# include <assert.h>
12936
 
#endif
12937
 
 
12938
 
#undef $ac_func
12939
 
 
12940
 
/* Override any GCC internal prototype to avoid an error.
12941
 
   Use char because int might match the return type of a GCC
12942
 
   builtin and then its argument prototype would still apply.  */
12943
 
#ifdef __cplusplus
12944
 
extern "C"
12945
 
#endif
12946
 
char $ac_func ();
12947
 
/* The GNU C library defines this for functions which it implements
12948
 
    to always fail with ENOSYS.  Some functions are actually named
12949
 
    something starting with __ and the normal name is an alias.  */
12950
 
#if defined __stub_$ac_func || defined __stub___$ac_func
12951
 
choke me
12952
 
#endif
12953
 
 
12954
 
int
12955
 
main ()
12956
 
{
12957
 
return $ac_func ();
12958
 
  ;
12959
 
  return 0;
12960
 
}
12961
 
_ACEOF
12962
 
rm -f conftest.$ac_objext conftest$ac_exeext
12963
 
if { (ac_try="$ac_link"
12964
 
case "(($ac_try" in
12965
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12966
 
  *) ac_try_echo=$ac_try;;
12967
 
esac
12968
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12969
 
$as_echo "$ac_try_echo") >&5
12970
 
  (eval "$ac_link") 2>conftest.er1
12971
 
  ac_status=$?
12972
 
  grep -v '^ *+' conftest.er1 >conftest.err
12973
 
  rm -f conftest.er1
12974
 
  cat conftest.err >&5
12975
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976
 
  (exit $ac_status); } && {
12977
 
         test -z "$ac_c_werror_flag" ||
12978
 
         test ! -s conftest.err
12979
 
       } && test -s conftest$ac_exeext && {
12980
 
         test "$cross_compiling" = yes ||
12981
 
         $as_test_x conftest$ac_exeext
12982
 
       }; then
12983
 
  eval "$as_ac_var=yes"
12984
 
else
12985
 
  $as_echo "$as_me: failed program was:" >&5
12986
 
sed 's/^/| /' conftest.$ac_ext >&5
12987
 
 
12988
 
        eval "$as_ac_var=no"
12989
 
fi
12990
 
 
12991
 
rm -rf conftest.dSYM
12992
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12993
 
      conftest$ac_exeext conftest.$ac_ext
12994
 
fi
12995
 
ac_res=`eval 'as_val=${'$as_ac_var'}
12996
 
                 $as_echo "$as_val"'`
12997
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12998
 
$as_echo "$ac_res" >&6; }
12999
 
as_val=`eval 'as_val=${'$as_ac_var'}
13000
 
                 $as_echo "$as_val"'`
13001
 
   if test "x$as_val" = x""yes; then
13002
 
  cat >>confdefs.h <<_ACEOF
13003
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13004
 
_ACEOF
13005
 
 
13006
 
fi
13007
 
done
13008
 
 
13009
 
 
13010
 
 
13011
 
 
13012
 
 
13013
 
 
13014
 
 
13015
 
 
13016
 
 
13017
 
 
13018
 
 
13019
 
 
13020
 
 
13021
 
 
13022
 
for ac_func in bcmp bcopy bzero getcwd getwd index memcmp memcpy mktemp mkstemp rindex strchr strrchr
13023
 
do
13024
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13025
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13026
 
$as_echo_n "checking for $ac_func... " >&6; }
13027
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13028
 
  $as_echo_n "(cached) " >&6
13029
 
else
13030
 
  cat >conftest.$ac_ext <<_ACEOF
13031
 
/* confdefs.h.  */
13032
 
_ACEOF
13033
 
cat confdefs.h >>conftest.$ac_ext
13034
 
cat >>conftest.$ac_ext <<_ACEOF
13035
 
/* end confdefs.h.  */
13036
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13037
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13038
 
#define $ac_func innocuous_$ac_func
13039
 
 
13040
 
/* System header to define __stub macros and hopefully few prototypes,
13041
 
    which can conflict with char $ac_func (); below.
13042
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13043
 
    <limits.h> exists even on freestanding compilers.  */
13044
 
 
13045
 
#ifdef __STDC__
13046
 
# include <limits.h>
13047
 
#else
13048
 
# include <assert.h>
13049
 
#endif
13050
 
 
13051
 
#undef $ac_func
13052
 
 
13053
 
/* Override any GCC internal prototype to avoid an error.
13054
 
   Use char because int might match the return type of a GCC
13055
 
   builtin and then its argument prototype would still apply.  */
13056
 
#ifdef __cplusplus
13057
 
extern "C"
13058
 
#endif
13059
 
char $ac_func ();
13060
 
/* The GNU C library defines this for functions which it implements
13061
 
    to always fail with ENOSYS.  Some functions are actually named
13062
 
    something starting with __ and the normal name is an alias.  */
13063
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13064
 
choke me
13065
 
#endif
13066
 
 
13067
 
int
13068
 
main ()
13069
 
{
13070
 
return $ac_func ();
13071
 
  ;
13072
 
  return 0;
13073
 
}
13074
 
_ACEOF
13075
 
rm -f conftest.$ac_objext conftest$ac_exeext
13076
 
if { (ac_try="$ac_link"
13077
 
case "(($ac_try" in
13078
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13079
 
  *) ac_try_echo=$ac_try;;
13080
 
esac
13081
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13082
 
$as_echo "$ac_try_echo") >&5
13083
 
  (eval "$ac_link") 2>conftest.er1
13084
 
  ac_status=$?
13085
 
  grep -v '^ *+' conftest.er1 >conftest.err
13086
 
  rm -f conftest.er1
13087
 
  cat conftest.err >&5
13088
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089
 
  (exit $ac_status); } && {
13090
 
         test -z "$ac_c_werror_flag" ||
13091
 
         test ! -s conftest.err
13092
 
       } && test -s conftest$ac_exeext && {
13093
 
         test "$cross_compiling" = yes ||
13094
 
         $as_test_x conftest$ac_exeext
13095
 
       }; then
13096
 
  eval "$as_ac_var=yes"
13097
 
else
13098
 
  $as_echo "$as_me: failed program was:" >&5
13099
 
sed 's/^/| /' conftest.$ac_ext >&5
13100
 
 
13101
 
        eval "$as_ac_var=no"
13102
 
fi
13103
 
 
13104
 
rm -rf conftest.dSYM
13105
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13106
 
      conftest$ac_exeext conftest.$ac_ext
13107
 
fi
13108
 
ac_res=`eval 'as_val=${'$as_ac_var'}
13109
 
                 $as_echo "$as_val"'`
13110
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13111
 
$as_echo "$ac_res" >&6; }
13112
 
as_val=`eval 'as_val=${'$as_ac_var'}
13113
 
                 $as_echo "$as_val"'`
13114
 
   if test "x$as_val" = x""yes; then
13115
 
  cat >>confdefs.h <<_ACEOF
13116
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13117
 
_ACEOF
13118
 
 
13119
 
fi
13120
 
done
13121
 
 
13122
 
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
12393
do :
 
12394
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
12395
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
12396
eval as_val=\$$as_ac_var
 
12397
   if test "x$as_val" = x""yes; then :
 
12398
  cat >>confdefs.h <<_ACEOF
 
12399
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12400
_ACEOF
 
12401
 
 
12402
fi
 
12403
done
 
12404
 
 
12405
for ac_func in bcmp bcopy bzero getcwd getwd index memcmp memcpy mkstemp mktemp rindex strchr strrchr
 
12406
do :
 
12407
  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
12408
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 
12409
eval as_val=\$$as_ac_var
 
12410
   if test "x$as_val" = x""yes; then :
 
12411
  cat >>confdefs.h <<_ACEOF
 
12412
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12413
_ACEOF
 
12414
 
 
12415
fi
 
12416
done
 
12417
 
 
12418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13123
12419
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13124
 
if test "${ac_cv_c_const+set}" = set; then
 
12420
if test "${ac_cv_c_const+set}" = set; then :
13125
12421
  $as_echo_n "(cached) " >&6
13126
12422
else
13127
 
  cat >conftest.$ac_ext <<_ACEOF
13128
 
/* confdefs.h.  */
13129
 
_ACEOF
13130
 
cat confdefs.h >>conftest.$ac_ext
13131
 
cat >>conftest.$ac_ext <<_ACEOF
 
12423
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13132
12424
/* end confdefs.h.  */
13133
12425
 
13134
12426
int
13188
12480
  return 0;
13189
12481
}
13190
12482
_ACEOF
13191
 
rm -f conftest.$ac_objext
13192
 
if { (ac_try="$ac_compile"
13193
 
case "(($ac_try" in
13194
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13195
 
  *) ac_try_echo=$ac_try;;
13196
 
esac
13197
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13198
 
$as_echo "$ac_try_echo") >&5
13199
 
  (eval "$ac_compile") 2>conftest.er1
13200
 
  ac_status=$?
13201
 
  grep -v '^ *+' conftest.er1 >conftest.err
13202
 
  rm -f conftest.er1
13203
 
  cat conftest.err >&5
13204
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205
 
  (exit $ac_status); } && {
13206
 
         test -z "$ac_c_werror_flag" ||
13207
 
         test ! -s conftest.err
13208
 
       } && test -s conftest.$ac_objext; then
 
12483
if ac_fn_c_try_compile "$LINENO"; then :
13209
12484
  ac_cv_c_const=yes
13210
12485
else
13211
 
  $as_echo "$as_me: failed program was:" >&5
13212
 
sed 's/^/| /' conftest.$ac_ext >&5
13213
 
 
13214
 
        ac_cv_c_const=no
 
12486
  ac_cv_c_const=no
13215
12487
fi
13216
 
 
13217
12488
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13218
12489
fi
13219
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
12490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13220
12491
$as_echo "$ac_cv_c_const" >&6; }
13221
12492
if test $ac_cv_c_const = no; then
13222
12493
 
13223
 
cat >>confdefs.h <<\_ACEOF
13224
 
#define const /**/
13225
 
_ACEOF
 
12494
$as_echo "#define const /**/" >>confdefs.h
13226
12495
 
13227
12496
fi
13228
12497
 
13229
 
{ $as_echo "$as_me:$LINENO: checking for inline" >&5
 
12498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13230
12499
$as_echo_n "checking for inline... " >&6; }
13231
 
if test "${ac_cv_c_inline+set}" = set; then
 
12500
if test "${ac_cv_c_inline+set}" = set; then :
13232
12501
  $as_echo_n "(cached) " >&6
13233
12502
else
13234
12503
  ac_cv_c_inline=no
13235
12504
for ac_kw in inline __inline__ __inline; do
13236
 
  cat >conftest.$ac_ext <<_ACEOF
13237
 
/* confdefs.h.  */
13238
 
_ACEOF
13239
 
cat confdefs.h >>conftest.$ac_ext
13240
 
cat >>conftest.$ac_ext <<_ACEOF
 
12505
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13241
12506
/* end confdefs.h.  */
13242
12507
#ifndef __cplusplus
13243
12508
typedef int foo_t;
13246
12511
#endif
13247
12512
 
13248
12513
_ACEOF
13249
 
rm -f conftest.$ac_objext
13250
 
if { (ac_try="$ac_compile"
13251
 
case "(($ac_try" in
13252
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13253
 
  *) ac_try_echo=$ac_try;;
13254
 
esac
13255
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13256
 
$as_echo "$ac_try_echo") >&5
13257
 
  (eval "$ac_compile") 2>conftest.er1
13258
 
  ac_status=$?
13259
 
  grep -v '^ *+' conftest.er1 >conftest.err
13260
 
  rm -f conftest.er1
13261
 
  cat conftest.err >&5
13262
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263
 
  (exit $ac_status); } && {
13264
 
         test -z "$ac_c_werror_flag" ||
13265
 
         test ! -s conftest.err
13266
 
       } && test -s conftest.$ac_objext; then
 
12514
if ac_fn_c_try_compile "$LINENO"; then :
13267
12515
  ac_cv_c_inline=$ac_kw
13268
 
else
13269
 
  $as_echo "$as_me: failed program was:" >&5
13270
 
sed 's/^/| /' conftest.$ac_ext >&5
13271
 
 
13272
 
 
13273
12516
fi
13274
 
 
13275
12517
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13276
12518
  test "$ac_cv_c_inline" != no && break
13277
12519
done
13278
12520
 
13279
12521
fi
13280
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
 
12522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13281
12523
$as_echo "$ac_cv_c_inline" >&6; }
13282
12524
 
13283
 
 
13284
12525
case $ac_cv_c_inline in
13285
12526
  inline | yes) ;;
13286
12527
  *)
13296
12537
    ;;
13297
12538
esac
13298
12539
 
13299
 
{ $as_echo "$as_me:$LINENO: checking for struct stat.st_mtim" >&5
13300
 
$as_echo_n "checking for struct stat.st_mtim... " >&6; }
13301
 
if test "${ac_cv_member_struct_stat_st_mtim+set}" = set; then
13302
 
  $as_echo_n "(cached) " >&6
13303
 
else
13304
 
  cat >conftest.$ac_ext <<_ACEOF
13305
 
/* confdefs.h.  */
13306
 
_ACEOF
13307
 
cat confdefs.h >>conftest.$ac_ext
13308
 
cat >>conftest.$ac_ext <<_ACEOF
13309
 
/* end confdefs.h.  */
13310
 
$ac_includes_default
13311
 
int
13312
 
main ()
13313
 
{
13314
 
static struct stat ac_aggr;
13315
 
if (ac_aggr.st_mtim)
13316
 
return 0;
13317
 
  ;
13318
 
  return 0;
13319
 
}
13320
 
_ACEOF
13321
 
rm -f conftest.$ac_objext
13322
 
if { (ac_try="$ac_compile"
13323
 
case "(($ac_try" in
13324
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13325
 
  *) ac_try_echo=$ac_try;;
13326
 
esac
13327
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13328
 
$as_echo "$ac_try_echo") >&5
13329
 
  (eval "$ac_compile") 2>conftest.er1
13330
 
  ac_status=$?
13331
 
  grep -v '^ *+' conftest.er1 >conftest.err
13332
 
  rm -f conftest.er1
13333
 
  cat conftest.err >&5
13334
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335
 
  (exit $ac_status); } && {
13336
 
         test -z "$ac_c_werror_flag" ||
13337
 
         test ! -s conftest.err
13338
 
       } && test -s conftest.$ac_objext; then
13339
 
  ac_cv_member_struct_stat_st_mtim=yes
13340
 
else
13341
 
  $as_echo "$as_me: failed program was:" >&5
13342
 
sed 's/^/| /' conftest.$ac_ext >&5
13343
 
 
13344
 
        cat >conftest.$ac_ext <<_ACEOF
13345
 
/* confdefs.h.  */
13346
 
_ACEOF
13347
 
cat confdefs.h >>conftest.$ac_ext
13348
 
cat >>conftest.$ac_ext <<_ACEOF
13349
 
/* end confdefs.h.  */
13350
 
$ac_includes_default
13351
 
int
13352
 
main ()
13353
 
{
13354
 
static struct stat ac_aggr;
13355
 
if (sizeof ac_aggr.st_mtim)
13356
 
return 0;
13357
 
  ;
13358
 
  return 0;
13359
 
}
13360
 
_ACEOF
13361
 
rm -f conftest.$ac_objext
13362
 
if { (ac_try="$ac_compile"
13363
 
case "(($ac_try" in
13364
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13365
 
  *) ac_try_echo=$ac_try;;
13366
 
esac
13367
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13368
 
$as_echo "$ac_try_echo") >&5
13369
 
  (eval "$ac_compile") 2>conftest.er1
13370
 
  ac_status=$?
13371
 
  grep -v '^ *+' conftest.er1 >conftest.err
13372
 
  rm -f conftest.er1
13373
 
  cat conftest.err >&5
13374
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375
 
  (exit $ac_status); } && {
13376
 
         test -z "$ac_c_werror_flag" ||
13377
 
         test ! -s conftest.err
13378
 
       } && test -s conftest.$ac_objext; then
13379
 
  ac_cv_member_struct_stat_st_mtim=yes
13380
 
else
13381
 
  $as_echo "$as_me: failed program was:" >&5
13382
 
sed 's/^/| /' conftest.$ac_ext >&5
13383
 
 
13384
 
        ac_cv_member_struct_stat_st_mtim=no
13385
 
fi
13386
 
 
13387
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13388
 
fi
13389
 
 
13390
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13391
 
fi
13392
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_mtim" >&5
13393
 
$as_echo "$ac_cv_member_struct_stat_st_mtim" >&6; }
13394
 
if test "x$ac_cv_member_struct_stat_st_mtim" = x""yes; then
 
12540
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
12541
if test "x$ac_cv_type_size_t" = x""yes; then :
 
12542
 
 
12543
else
 
12544
 
 
12545
cat >>confdefs.h <<_ACEOF
 
12546
#define size_t unsigned int
 
12547
_ACEOF
 
12548
 
 
12549
fi
 
12550
 
 
12551
ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
 
12552
if test "x$ac_cv_member_struct_stat_st_mtim" = x""yes; then :
13395
12553
 
13396
12554
cat >>confdefs.h <<_ACEOF
13397
12555
#define HAVE_STRUCT_STAT_ST_MTIM 1
13400
12558
 
13401
12559
fi
13402
12560
 
13403
 
{ $as_echo "$as_me:$LINENO: checking whether the compiler accepts prototypes" >&5
 
12561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
13404
12562
$as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
13405
 
if test "${kb_cv_c_prototypes+set}" = set; then
 
12563
if test "${kb_cv_c_prototypes+set}" = set; then :
13406
12564
  $as_echo_n "(cached) " >&6
13407
12565
else
13408
 
  cat >conftest.$ac_ext <<_ACEOF
13409
 
/* confdefs.h.  */
13410
 
_ACEOF
13411
 
cat confdefs.h >>conftest.$ac_ext
13412
 
cat >>conftest.$ac_ext <<_ACEOF
 
12566
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13413
12567
/* end confdefs.h.  */
13414
12568
#include <stdarg.h>
13415
12569
int
13420
12574
  return 0;
13421
12575
}
13422
12576
_ACEOF
13423
 
rm -f conftest.$ac_objext conftest$ac_exeext
13424
 
if { (ac_try="$ac_link"
13425
 
case "(($ac_try" in
13426
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13427
 
  *) ac_try_echo=$ac_try;;
13428
 
esac
13429
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13430
 
$as_echo "$ac_try_echo") >&5
13431
 
  (eval "$ac_link") 2>conftest.er1
13432
 
  ac_status=$?
13433
 
  grep -v '^ *+' conftest.er1 >conftest.err
13434
 
  rm -f conftest.er1
13435
 
  cat conftest.err >&5
13436
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437
 
  (exit $ac_status); } && {
13438
 
         test -z "$ac_c_werror_flag" ||
13439
 
         test ! -s conftest.err
13440
 
       } && test -s conftest$ac_exeext && {
13441
 
         test "$cross_compiling" = yes ||
13442
 
         $as_test_x conftest$ac_exeext
13443
 
       }; then
 
12577
if ac_fn_c_try_link "$LINENO"; then :
13444
12578
  kb_cv_c_prototypes=yes
13445
12579
else
13446
 
  $as_echo "$as_me: failed program was:" >&5
13447
 
sed 's/^/| /' conftest.$ac_ext >&5
13448
 
 
13449
 
        kb_cv_c_prototypes=no
13450
 
fi
13451
 
 
13452
 
rm -rf conftest.dSYM
13453
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13454
 
      conftest$ac_exeext conftest.$ac_ext
13455
 
fi
13456
 
{ $as_echo "$as_me:$LINENO: result: $kb_cv_c_prototypes" >&5
 
12580
  kb_cv_c_prototypes=no
 
12581
fi
 
12582
rm -f core conftest.err conftest.$ac_objext \
 
12583
    conftest$ac_exeext conftest.$ac_ext
 
12584
fi
 
12585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
13457
12586
$as_echo "$kb_cv_c_prototypes" >&6; }
13458
12587
if test "x$kb_cv_c_prototypes" = xno; then
13459
 
  { { $as_echo "$as_me:$LINENO: error: Sorry, your compiler does not understand prototypes." >&5
13460
 
$as_echo "$as_me: error: Sorry, your compiler does not understand prototypes." >&2;}
13461
 
   { (exit 1); exit 1; }; }
 
12588
  as_fn_error "Sorry, your compiler does not understand prototypes." "$LINENO" 5
13462
12589
fi
13463
 
{ $as_echo "$as_me:$LINENO: checking whether program_invocation_name is predefined" >&5
 
12590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether program_invocation_name is predefined" >&5
13464
12591
$as_echo_n "checking whether program_invocation_name is predefined... " >&6; }
13465
 
if test "${kb_cv_var_program_inv_name+set}" = set; then
 
12592
if test "${kb_cv_var_program_inv_name+set}" = set; then :
13466
12593
  $as_echo_n "(cached) " >&6
13467
12594
else
13468
 
  cat >conftest.$ac_ext <<_ACEOF
13469
 
/* confdefs.h.  */
13470
 
_ACEOF
13471
 
cat confdefs.h >>conftest.$ac_ext
13472
 
cat >>conftest.$ac_ext <<_ACEOF
 
12595
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13473
12596
/* end confdefs.h.  */
13474
12597
 
13475
12598
int
13481
12604
  return 0;
13482
12605
}
13483
12606
_ACEOF
13484
 
rm -f conftest.$ac_objext conftest$ac_exeext
13485
 
if { (ac_try="$ac_link"
13486
 
case "(($ac_try" in
13487
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13488
 
  *) ac_try_echo=$ac_try;;
13489
 
esac
13490
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13491
 
$as_echo "$ac_try_echo") >&5
13492
 
  (eval "$ac_link") 2>conftest.er1
13493
 
  ac_status=$?
13494
 
  grep -v '^ *+' conftest.er1 >conftest.err
13495
 
  rm -f conftest.er1
13496
 
  cat conftest.err >&5
13497
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498
 
  (exit $ac_status); } && {
13499
 
         test -z "$ac_c_werror_flag" ||
13500
 
         test ! -s conftest.err
13501
 
       } && test -s conftest$ac_exeext && {
13502
 
         test "$cross_compiling" = yes ||
13503
 
         $as_test_x conftest$ac_exeext
13504
 
       }; then
 
12607
if ac_fn_c_try_link "$LINENO"; then :
13505
12608
  kb_cv_var_program_inv_name=yes
13506
12609
else
13507
 
  $as_echo "$as_me: failed program was:" >&5
13508
 
sed 's/^/| /' conftest.$ac_ext >&5
13509
 
 
13510
 
        kb_cv_var_program_inv_name=no
13511
 
fi
13512
 
 
13513
 
rm -rf conftest.dSYM
13514
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13515
 
      conftest$ac_exeext conftest.$ac_ext
13516
 
fi
13517
 
{ $as_echo "$as_me:$LINENO: result: $kb_cv_var_program_inv_name" >&5
 
12610
  kb_cv_var_program_inv_name=no
 
12611
fi
 
12612
rm -f core conftest.err conftest.$ac_objext \
 
12613
    conftest$ac_exeext conftest.$ac_ext
 
12614
fi
 
12615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_var_program_inv_name" >&5
13518
12616
$as_echo "$kb_cv_var_program_inv_name" >&6; }
13519
 
if test "$kb_cv_var_program_inv_name" = yes; then
 
12617
if test "x$kb_cv_var_program_inv_name" = xyes; then
13520
12618
 
13521
 
cat >>confdefs.h <<\_ACEOF
13522
 
#define HAVE_PROGRAM_INVOCATION_NAME 1
13523
 
_ACEOF
 
12619
$as_echo "#define HAVE_PROGRAM_INVOCATION_NAME 1" >>confdefs.h
13524
12620
 
13525
12621
fi
13526
 
{ $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
 
12622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
13527
12623
$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
13528
 
if test "${kpse_cv_warning_cflags+set}" = set; then
 
12624
if test "${kpse_cv_warning_cflags+set}" = set; then :
13529
12625
  $as_echo_n "(cached) " >&6
13530
12626
else
13531
12627
  if test "x$enable_compiler_warnings" = xno; then
13532
12628
  kpse_cv_warning_cflags=
13533
12629
elif test "x$GCC" = xyes; then
13534
 
  kpse_cv_warning_cflags="-Wall -Wunused"
13535
 
  case `$CC -dumpversion` in
13536
 
  3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;;
13537
 
esac
13538
 
 
13539
 
  case `$CC -dumpversion` in
13540
 
  3.[234].* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;;
13541
 
esac
13542
 
 
13543
 
  if test "x$enable_compiler_warnings" != xmin; then
13544
 
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
13545
 
    if test "x$enable_compiler_warnings" != xyes; then
13546
 
      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wimplicit -Wparentheses -Wreturn-type"
13547
 
      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wswitch -Wtrigraphs -Wshadow -Wpointer-arith"
13548
 
      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
13549
 
      case `$CC -dumpversion` in
13550
 
  3.4.* | 4.*) kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;;
13551
 
esac
13552
 
 
 
12630
  kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
 
12631
case `$CC -dumpversion` in #(
 
12632
  3.4.* | 4.*) :
 
12633
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
 
12634
  *) :
 
12635
     ;;
 
12636
esac
 
12637
case `$CC -dumpversion` in #(
 
12638
  3.[234].* | 4.*) :
 
12639
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
 
12640
  *) :
 
12641
     ;;
 
12642
esac
 
12643
if test "x$enable_compiler_warnings" != xmin; then
 
12644
  kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
 
12645
  kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
 
12646
  if test "x$enable_compiler_warnings" != xyes; then
 
12647
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
 
12648
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
 
12649
    case `$CC -dumpversion` in #(
 
12650
  3.4.* | 4.*) :
 
12651
    kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
 
12652
  *) :
 
12653
     ;;
 
12654
esac
 
12655
    if test "x$enable_compiler_warnings" != xmax; then
 
12656
      kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
13553
12657
    fi
13554
12658
  fi
 
12659
fi
13555
12660
else
13556
 
  : # FIXME: warning flags for non-gcc compilers
13557
 
fi
13558
 
fi
13559
 
{ $as_echo "$as_me:$LINENO: result: $kpse_cv_warning_cflags" >&5
 
12661
  kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
 
12662
fi
 
12663
fi
 
12664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
13560
12665
$as_echo "$kpse_cv_warning_cflags" >&6; }
13561
12666
WARNING_CFLAGS=$kpse_cv_warning_cflags
13562
12667
 
13565
12670
 
13566
12671
 
13567
12672
 
13568
 
{ $as_echo "$as_me:$LINENO: checking for X" >&5
 
12673
 
 
12674
if test "x$host_alias" != x && test "x$build_alias" = x; then :
 
12675
  as_fn_error "when cross-compiling you must specify both --host and --build." "$LINENO" 5
 
12676
fi
 
12677
eval kpse_build_alias=\${build_alias-$build}
 
12678
 
 
12679
 
 
12680
 
 
12681
 
 
12682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13569
12683
$as_echo_n "checking for X... " >&6; }
13570
12684
 
13571
12685
 
13572
12686
# Check whether --with-x was given.
13573
 
if test "${with_x+set}" = set; then
 
12687
if test "${with_x+set}" = set; then :
13574
12688
  withval=$with_x;
13575
12689
fi
13576
12690
 
13580
12694
  have_x=disabled
13581
12695
else
13582
12696
  case $x_includes,$x_libraries in #(
13583
 
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
13584
 
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
13585
 
   { (exit 1); exit 1; }; };; #(
13586
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
 
12697
    *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
 
12698
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
13587
12699
  $as_echo_n "(cached) " >&6
13588
12700
else
13589
12701
  # One or both of the vars are not set, and there is no cached value.
13631
12743
# Check X11 before X11Rn because it is often a symlink to the current release.
13632
12744
ac_x_header_dirs='
13633
12745
/usr/X11/include
 
12746
/usr/X11R7/include
13634
12747
/usr/X11R6/include
13635
12748
/usr/X11R5/include
13636
12749
/usr/X11R4/include
13637
12750
 
13638
12751
/usr/include/X11
 
12752
/usr/include/X11R7
13639
12753
/usr/include/X11R6
13640
12754
/usr/include/X11R5
13641
12755
/usr/include/X11R4
13642
12756
 
13643
12757
/usr/local/X11/include
 
12758
/usr/local/X11R7/include
13644
12759
/usr/local/X11R6/include
13645
12760
/usr/local/X11R5/include
13646
12761
/usr/local/X11R4/include
13647
12762
 
13648
12763
/usr/local/include/X11
 
12764
/usr/local/include/X11R7
13649
12765
/usr/local/include/X11R6
13650
12766
/usr/local/include/X11R5
13651
12767
/usr/local/include/X11R4
13667
12783
if test "$ac_x_includes" = no; then
13668
12784
  # Guess where to find include files, by looking for Xlib.h.
13669
12785
  # First, try using that file with no special directory specified.
13670
 
  cat >conftest.$ac_ext <<_ACEOF
13671
 
/* confdefs.h.  */
13672
 
_ACEOF
13673
 
cat confdefs.h >>conftest.$ac_ext
13674
 
cat >>conftest.$ac_ext <<_ACEOF
 
12786
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675
12787
/* end confdefs.h.  */
13676
12788
#include <X11/Xlib.h>
13677
12789
_ACEOF
13678
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13679
 
case "(($ac_try" in
13680
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13681
 
  *) ac_try_echo=$ac_try;;
13682
 
esac
13683
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13684
 
$as_echo "$ac_try_echo") >&5
13685
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13686
 
  ac_status=$?
13687
 
  grep -v '^ *+' conftest.er1 >conftest.err
13688
 
  rm -f conftest.er1
13689
 
  cat conftest.err >&5
13690
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691
 
  (exit $ac_status); } >/dev/null && {
13692
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13693
 
         test ! -s conftest.err
13694
 
       }; then
 
12790
if ac_fn_c_try_cpp "$LINENO"; then :
13695
12791
  # We can compile using X headers with no special include directory.
13696
12792
ac_x_includes=
13697
12793
else
13698
 
  $as_echo "$as_me: failed program was:" >&5
13699
 
sed 's/^/| /' conftest.$ac_ext >&5
13700
 
 
13701
12794
  for ac_dir in $ac_x_header_dirs; do
13702
12795
  if test -r "$ac_dir/X11/Xlib.h"; then
13703
12796
    ac_x_includes=$ac_dir
13705
12798
  fi
13706
12799
done
13707
12800
fi
13708
 
 
13709
12801
rm -f conftest.err conftest.$ac_ext
13710
12802
fi # $ac_x_includes = no
13711
12803
 
13715
12807
  # Don't add to $LIBS permanently.
13716
12808
  ac_save_LIBS=$LIBS
13717
12809
  LIBS="-lX11 $LIBS"
13718
 
  cat >conftest.$ac_ext <<_ACEOF
13719
 
/* confdefs.h.  */
13720
 
_ACEOF
13721
 
cat confdefs.h >>conftest.$ac_ext
13722
 
cat >>conftest.$ac_ext <<_ACEOF
 
12810
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13723
12811
/* end confdefs.h.  */
13724
12812
#include <X11/Xlib.h>
13725
12813
int
13730
12818
  return 0;
13731
12819
}
13732
12820
_ACEOF
13733
 
rm -f conftest.$ac_objext conftest$ac_exeext
13734
 
if { (ac_try="$ac_link"
13735
 
case "(($ac_try" in
13736
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13737
 
  *) ac_try_echo=$ac_try;;
13738
 
esac
13739
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13740
 
$as_echo "$ac_try_echo") >&5
13741
 
  (eval "$ac_link") 2>conftest.er1
13742
 
  ac_status=$?
13743
 
  grep -v '^ *+' conftest.er1 >conftest.err
13744
 
  rm -f conftest.er1
13745
 
  cat conftest.err >&5
13746
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747
 
  (exit $ac_status); } && {
13748
 
         test -z "$ac_c_werror_flag" ||
13749
 
         test ! -s conftest.err
13750
 
       } && test -s conftest$ac_exeext && {
13751
 
         test "$cross_compiling" = yes ||
13752
 
         $as_test_x conftest$ac_exeext
13753
 
       }; then
 
12821
if ac_fn_c_try_link "$LINENO"; then :
13754
12822
  LIBS=$ac_save_LIBS
13755
12823
# We can link X programs with no special library path.
13756
12824
ac_x_libraries=
13757
12825
else
13758
 
  $as_echo "$as_me: failed program was:" >&5
13759
 
sed 's/^/| /' conftest.$ac_ext >&5
13760
 
 
13761
 
        LIBS=$ac_save_LIBS
 
12826
  LIBS=$ac_save_LIBS
13762
12827
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13763
12828
do
13764
12829
  # Don't even attempt the hair of trying to link an X program!
13770
12835
  done
13771
12836
done
13772
12837
fi
13773
 
 
13774
 
rm -rf conftest.dSYM
13775
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13776
 
      conftest$ac_exeext conftest.$ac_ext
 
12838
rm -f core conftest.err conftest.$ac_objext \
 
12839
    conftest$ac_exeext conftest.$ac_ext
13777
12840
fi # $ac_x_libraries = no
13778
12841
 
13779
12842
case $ac_x_includes,$ac_x_libraries in #(
13794
12857
fi # $with_x != no
13795
12858
 
13796
12859
if test "$have_x" != yes; then
13797
 
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
 
12860
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13798
12861
$as_echo "$have_x" >&6; }
13799
12862
  no_x=yes
13800
12863
else
13805
12868
  ac_cv_have_x="have_x=yes\
13806
12869
        ac_x_includes='$x_includes'\
13807
12870
        ac_x_libraries='$x_libraries'"
13808
 
  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
 
12871
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13809
12872
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13810
12873
fi
13811
12874
 
13812
12875
if test "$no_x" = yes; then
13813
12876
  # Not all programs may use this symbol, but it does not hurt to define it.
13814
12877
 
13815
 
cat >>confdefs.h <<\_ACEOF
13816
 
#define X_DISPLAY_MISSING 1
13817
 
_ACEOF
 
12878
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
13818
12879
 
13819
12880
  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13820
12881
else
13827
12888
    X_LIBS="$X_LIBS -L$x_libraries"
13828
12889
    # For Solaris; some versions of Sun CC require a space after -R and
13829
12890
    # others require no space.  Words are not sufficient . . . .
13830
 
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
12891
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13831
12892
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
13832
12893
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13833
12894
    ac_xsave_c_werror_flag=$ac_c_werror_flag
13834
12895
    ac_c_werror_flag=yes
13835
 
    cat >conftest.$ac_ext <<_ACEOF
13836
 
/* confdefs.h.  */
13837
 
_ACEOF
13838
 
cat confdefs.h >>conftest.$ac_ext
13839
 
cat >>conftest.$ac_ext <<_ACEOF
 
12896
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840
12897
/* end confdefs.h.  */
13841
12898
 
13842
12899
int
13847
12904
  return 0;
13848
12905
}
13849
12906
_ACEOF
13850
 
rm -f conftest.$ac_objext conftest$ac_exeext
13851
 
if { (ac_try="$ac_link"
13852
 
case "(($ac_try" in
13853
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13854
 
  *) ac_try_echo=$ac_try;;
13855
 
esac
13856
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13857
 
$as_echo "$ac_try_echo") >&5
13858
 
  (eval "$ac_link") 2>conftest.er1
13859
 
  ac_status=$?
13860
 
  grep -v '^ *+' conftest.er1 >conftest.err
13861
 
  rm -f conftest.er1
13862
 
  cat conftest.err >&5
13863
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864
 
  (exit $ac_status); } && {
13865
 
         test -z "$ac_c_werror_flag" ||
13866
 
         test ! -s conftest.err
13867
 
       } && test -s conftest$ac_exeext && {
13868
 
         test "$cross_compiling" = yes ||
13869
 
         $as_test_x conftest$ac_exeext
13870
 
       }; then
13871
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12907
if ac_fn_c_try_link "$LINENO"; then :
 
12908
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13872
12909
$as_echo "no" >&6; }
13873
12910
       X_LIBS="$X_LIBS -R$x_libraries"
13874
12911
else
13875
 
  $as_echo "$as_me: failed program was:" >&5
13876
 
sed 's/^/| /' conftest.$ac_ext >&5
13877
 
 
13878
 
        LIBS="$ac_xsave_LIBS -R $x_libraries"
13879
 
       cat >conftest.$ac_ext <<_ACEOF
13880
 
/* confdefs.h.  */
13881
 
_ACEOF
13882
 
cat confdefs.h >>conftest.$ac_ext
13883
 
cat >>conftest.$ac_ext <<_ACEOF
 
12912
  LIBS="$ac_xsave_LIBS -R $x_libraries"
 
12913
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13884
12914
/* end confdefs.h.  */
13885
12915
 
13886
12916
int
13891
12921
  return 0;
13892
12922
}
13893
12923
_ACEOF
13894
 
rm -f conftest.$ac_objext conftest$ac_exeext
13895
 
if { (ac_try="$ac_link"
13896
 
case "(($ac_try" in
13897
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13898
 
  *) ac_try_echo=$ac_try;;
13899
 
esac
13900
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13901
 
$as_echo "$ac_try_echo") >&5
13902
 
  (eval "$ac_link") 2>conftest.er1
13903
 
  ac_status=$?
13904
 
  grep -v '^ *+' conftest.er1 >conftest.err
13905
 
  rm -f conftest.er1
13906
 
  cat conftest.err >&5
13907
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908
 
  (exit $ac_status); } && {
13909
 
         test -z "$ac_c_werror_flag" ||
13910
 
         test ! -s conftest.err
13911
 
       } && test -s conftest$ac_exeext && {
13912
 
         test "$cross_compiling" = yes ||
13913
 
         $as_test_x conftest$ac_exeext
13914
 
       }; then
13915
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12924
if ac_fn_c_try_link "$LINENO"; then :
 
12925
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13916
12926
$as_echo "yes" >&6; }
13917
12927
          X_LIBS="$X_LIBS -R $x_libraries"
13918
12928
else
13919
 
  $as_echo "$as_me: failed program was:" >&5
13920
 
sed 's/^/| /' conftest.$ac_ext >&5
13921
 
 
13922
 
        { $as_echo "$as_me:$LINENO: result: neither works" >&5
 
12929
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13923
12930
$as_echo "neither works" >&6; }
13924
12931
fi
13925
 
 
13926
 
rm -rf conftest.dSYM
13927
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13928
 
      conftest$ac_exeext conftest.$ac_ext
 
12932
rm -f core conftest.err conftest.$ac_objext \
 
12933
    conftest$ac_exeext conftest.$ac_ext
13929
12934
fi
13930
 
 
13931
 
rm -rf conftest.dSYM
13932
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13933
 
      conftest$ac_exeext conftest.$ac_ext
 
12935
rm -f core conftest.err conftest.$ac_objext \
 
12936
    conftest$ac_exeext conftest.$ac_ext
13934
12937
    ac_c_werror_flag=$ac_xsave_c_werror_flag
13935
12938
    LIBS=$ac_xsave_LIBS
13936
12939
  fi
13946
12949
    # libraries were built with DECnet support.  And Karl Berry says
13947
12950
    # the Alpha needs dnet_stub (dnet does not exist).
13948
12951
    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13949
 
    cat >conftest.$ac_ext <<_ACEOF
13950
 
/* confdefs.h.  */
13951
 
_ACEOF
13952
 
cat confdefs.h >>conftest.$ac_ext
13953
 
cat >>conftest.$ac_ext <<_ACEOF
 
12952
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954
12953
/* end confdefs.h.  */
13955
12954
 
13956
12955
/* Override any GCC internal prototype to avoid an error.
13968
12967
  return 0;
13969
12968
}
13970
12969
_ACEOF
13971
 
rm -f conftest.$ac_objext conftest$ac_exeext
13972
 
if { (ac_try="$ac_link"
13973
 
case "(($ac_try" in
13974
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13975
 
  *) ac_try_echo=$ac_try;;
13976
 
esac
13977
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13978
 
$as_echo "$ac_try_echo") >&5
13979
 
  (eval "$ac_link") 2>conftest.er1
13980
 
  ac_status=$?
13981
 
  grep -v '^ *+' conftest.er1 >conftest.err
13982
 
  rm -f conftest.er1
13983
 
  cat conftest.err >&5
13984
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985
 
  (exit $ac_status); } && {
13986
 
         test -z "$ac_c_werror_flag" ||
13987
 
         test ! -s conftest.err
13988
 
       } && test -s conftest$ac_exeext && {
13989
 
         test "$cross_compiling" = yes ||
13990
 
         $as_test_x conftest$ac_exeext
13991
 
       }; then
13992
 
  :
 
12970
if ac_fn_c_try_link "$LINENO"; then :
 
12971
 
13993
12972
else
13994
 
  $as_echo "$as_me: failed program was:" >&5
13995
 
sed 's/^/| /' conftest.$ac_ext >&5
13996
 
 
13997
 
        { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
12973
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13998
12974
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13999
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
 
12975
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
14000
12976
  $as_echo_n "(cached) " >&6
14001
12977
else
14002
12978
  ac_check_lib_save_LIBS=$LIBS
14003
12979
LIBS="-ldnet  $LIBS"
14004
 
cat >conftest.$ac_ext <<_ACEOF
14005
 
/* confdefs.h.  */
14006
 
_ACEOF
14007
 
cat confdefs.h >>conftest.$ac_ext
14008
 
cat >>conftest.$ac_ext <<_ACEOF
 
12980
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009
12981
/* end confdefs.h.  */
14010
12982
 
14011
12983
/* Override any GCC internal prototype to avoid an error.
14023
12995
  return 0;
14024
12996
}
14025
12997
_ACEOF
14026
 
rm -f conftest.$ac_objext conftest$ac_exeext
14027
 
if { (ac_try="$ac_link"
14028
 
case "(($ac_try" in
14029
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14030
 
  *) ac_try_echo=$ac_try;;
14031
 
esac
14032
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14033
 
$as_echo "$ac_try_echo") >&5
14034
 
  (eval "$ac_link") 2>conftest.er1
14035
 
  ac_status=$?
14036
 
  grep -v '^ *+' conftest.er1 >conftest.err
14037
 
  rm -f conftest.er1
14038
 
  cat conftest.err >&5
14039
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040
 
  (exit $ac_status); } && {
14041
 
         test -z "$ac_c_werror_flag" ||
14042
 
         test ! -s conftest.err
14043
 
       } && test -s conftest$ac_exeext && {
14044
 
         test "$cross_compiling" = yes ||
14045
 
         $as_test_x conftest$ac_exeext
14046
 
       }; then
 
12998
if ac_fn_c_try_link "$LINENO"; then :
14047
12999
  ac_cv_lib_dnet_dnet_ntoa=yes
14048
13000
else
14049
 
  $as_echo "$as_me: failed program was:" >&5
14050
 
sed 's/^/| /' conftest.$ac_ext >&5
14051
 
 
14052
 
        ac_cv_lib_dnet_dnet_ntoa=no
 
13001
  ac_cv_lib_dnet_dnet_ntoa=no
14053
13002
fi
14054
 
 
14055
 
rm -rf conftest.dSYM
14056
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14057
 
      conftest$ac_exeext conftest.$ac_ext
 
13003
rm -f core conftest.err conftest.$ac_objext \
 
13004
    conftest$ac_exeext conftest.$ac_ext
14058
13005
LIBS=$ac_check_lib_save_LIBS
14059
13006
fi
14060
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
13007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14061
13008
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14062
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
 
13009
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
14063
13010
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14064
13011
fi
14065
13012
 
14066
13013
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14067
 
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
13014
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14068
13015
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14069
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
 
13016
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
14070
13017
  $as_echo_n "(cached) " >&6
14071
13018
else
14072
13019
  ac_check_lib_save_LIBS=$LIBS
14073
13020
LIBS="-ldnet_stub  $LIBS"
14074
 
cat >conftest.$ac_ext <<_ACEOF
14075
 
/* confdefs.h.  */
14076
 
_ACEOF
14077
 
cat confdefs.h >>conftest.$ac_ext
14078
 
cat >>conftest.$ac_ext <<_ACEOF
 
13021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14079
13022
/* end confdefs.h.  */
14080
13023
 
14081
13024
/* Override any GCC internal prototype to avoid an error.
14093
13036
  return 0;
14094
13037
}
14095
13038
_ACEOF
14096
 
rm -f conftest.$ac_objext conftest$ac_exeext
14097
 
if { (ac_try="$ac_link"
14098
 
case "(($ac_try" in
14099
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14100
 
  *) ac_try_echo=$ac_try;;
14101
 
esac
14102
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14103
 
$as_echo "$ac_try_echo") >&5
14104
 
  (eval "$ac_link") 2>conftest.er1
14105
 
  ac_status=$?
14106
 
  grep -v '^ *+' conftest.er1 >conftest.err
14107
 
  rm -f conftest.er1
14108
 
  cat conftest.err >&5
14109
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110
 
  (exit $ac_status); } && {
14111
 
         test -z "$ac_c_werror_flag" ||
14112
 
         test ! -s conftest.err
14113
 
       } && test -s conftest$ac_exeext && {
14114
 
         test "$cross_compiling" = yes ||
14115
 
         $as_test_x conftest$ac_exeext
14116
 
       }; then
 
13039
if ac_fn_c_try_link "$LINENO"; then :
14117
13040
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
14118
13041
else
14119
 
  $as_echo "$as_me: failed program was:" >&5
14120
 
sed 's/^/| /' conftest.$ac_ext >&5
14121
 
 
14122
 
        ac_cv_lib_dnet_stub_dnet_ntoa=no
 
13042
  ac_cv_lib_dnet_stub_dnet_ntoa=no
14123
13043
fi
14124
 
 
14125
 
rm -rf conftest.dSYM
14126
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14127
 
      conftest$ac_exeext conftest.$ac_ext
 
13044
rm -f core conftest.err conftest.$ac_objext \
 
13045
    conftest$ac_exeext conftest.$ac_ext
14128
13046
LIBS=$ac_check_lib_save_LIBS
14129
13047
fi
14130
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
13048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14131
13049
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14132
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
 
13050
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
14133
13051
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14134
13052
fi
14135
13053
 
14136
13054
    fi
14137
13055
fi
14138
 
 
14139
 
rm -rf conftest.dSYM
14140
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14141
 
      conftest$ac_exeext conftest.$ac_ext
 
13056
rm -f core conftest.err conftest.$ac_objext \
 
13057
    conftest$ac_exeext conftest.$ac_ext
14142
13058
    LIBS="$ac_xsave_LIBS"
14143
13059
 
14144
13060
    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14149
13065
    # on Irix 5.2, according to T.E. Dickey.
14150
13066
    # The functions gethostbyname, getservbyname, and inet_addr are
14151
13067
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14152
 
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
14153
 
$as_echo_n "checking for gethostbyname... " >&6; }
14154
 
if test "${ac_cv_func_gethostbyname+set}" = set; then
14155
 
  $as_echo_n "(cached) " >&6
14156
 
else
14157
 
  cat >conftest.$ac_ext <<_ACEOF
14158
 
/* confdefs.h.  */
14159
 
_ACEOF
14160
 
cat confdefs.h >>conftest.$ac_ext
14161
 
cat >>conftest.$ac_ext <<_ACEOF
14162
 
/* end confdefs.h.  */
14163
 
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
14164
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14165
 
#define gethostbyname innocuous_gethostbyname
14166
 
 
14167
 
/* System header to define __stub macros and hopefully few prototypes,
14168
 
    which can conflict with char gethostbyname (); below.
14169
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14170
 
    <limits.h> exists even on freestanding compilers.  */
14171
 
 
14172
 
#ifdef __STDC__
14173
 
# include <limits.h>
14174
 
#else
14175
 
# include <assert.h>
14176
 
#endif
14177
 
 
14178
 
#undef gethostbyname
14179
 
 
14180
 
/* Override any GCC internal prototype to avoid an error.
14181
 
   Use char because int might match the return type of a GCC
14182
 
   builtin and then its argument prototype would still apply.  */
14183
 
#ifdef __cplusplus
14184
 
extern "C"
14185
 
#endif
14186
 
char gethostbyname ();
14187
 
/* The GNU C library defines this for functions which it implements
14188
 
    to always fail with ENOSYS.  Some functions are actually named
14189
 
    something starting with __ and the normal name is an alias.  */
14190
 
#if defined __stub_gethostbyname || defined __stub___gethostbyname
14191
 
choke me
14192
 
#endif
14193
 
 
14194
 
int
14195
 
main ()
14196
 
{
14197
 
return gethostbyname ();
14198
 
  ;
14199
 
  return 0;
14200
 
}
14201
 
_ACEOF
14202
 
rm -f conftest.$ac_objext conftest$ac_exeext
14203
 
if { (ac_try="$ac_link"
14204
 
case "(($ac_try" in
14205
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14206
 
  *) ac_try_echo=$ac_try;;
14207
 
esac
14208
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14209
 
$as_echo "$ac_try_echo") >&5
14210
 
  (eval "$ac_link") 2>conftest.er1
14211
 
  ac_status=$?
14212
 
  grep -v '^ *+' conftest.er1 >conftest.err
14213
 
  rm -f conftest.er1
14214
 
  cat conftest.err >&5
14215
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14216
 
  (exit $ac_status); } && {
14217
 
         test -z "$ac_c_werror_flag" ||
14218
 
         test ! -s conftest.err
14219
 
       } && test -s conftest$ac_exeext && {
14220
 
         test "$cross_compiling" = yes ||
14221
 
         $as_test_x conftest$ac_exeext
14222
 
       }; then
14223
 
  ac_cv_func_gethostbyname=yes
14224
 
else
14225
 
  $as_echo "$as_me: failed program was:" >&5
14226
 
sed 's/^/| /' conftest.$ac_ext >&5
14227
 
 
14228
 
        ac_cv_func_gethostbyname=no
14229
 
fi
14230
 
 
14231
 
rm -rf conftest.dSYM
14232
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14233
 
      conftest$ac_exeext conftest.$ac_ext
14234
 
fi
14235
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
14236
 
$as_echo "$ac_cv_func_gethostbyname" >&6; }
 
13068
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 
13069
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
13070
 
 
13071
fi
14237
13072
 
14238
13073
    if test $ac_cv_func_gethostbyname = no; then
14239
 
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
13074
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14240
13075
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
14241
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
 
13076
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
14242
13077
  $as_echo_n "(cached) " >&6
14243
13078
else
14244
13079
  ac_check_lib_save_LIBS=$LIBS
14245
13080
LIBS="-lnsl  $LIBS"
14246
 
cat >conftest.$ac_ext <<_ACEOF
14247
 
/* confdefs.h.  */
14248
 
_ACEOF
14249
 
cat confdefs.h >>conftest.$ac_ext
14250
 
cat >>conftest.$ac_ext <<_ACEOF
 
13081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14251
13082
/* end confdefs.h.  */
14252
13083
 
14253
13084
/* Override any GCC internal prototype to avoid an error.
14265
13096
  return 0;
14266
13097
}
14267
13098
_ACEOF
14268
 
rm -f conftest.$ac_objext conftest$ac_exeext
14269
 
if { (ac_try="$ac_link"
14270
 
case "(($ac_try" in
14271
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14272
 
  *) ac_try_echo=$ac_try;;
14273
 
esac
14274
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14275
 
$as_echo "$ac_try_echo") >&5
14276
 
  (eval "$ac_link") 2>conftest.er1
14277
 
  ac_status=$?
14278
 
  grep -v '^ *+' conftest.er1 >conftest.err
14279
 
  rm -f conftest.er1
14280
 
  cat conftest.err >&5
14281
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282
 
  (exit $ac_status); } && {
14283
 
         test -z "$ac_c_werror_flag" ||
14284
 
         test ! -s conftest.err
14285
 
       } && test -s conftest$ac_exeext && {
14286
 
         test "$cross_compiling" = yes ||
14287
 
         $as_test_x conftest$ac_exeext
14288
 
       }; then
 
13099
if ac_fn_c_try_link "$LINENO"; then :
14289
13100
  ac_cv_lib_nsl_gethostbyname=yes
14290
13101
else
14291
 
  $as_echo "$as_me: failed program was:" >&5
14292
 
sed 's/^/| /' conftest.$ac_ext >&5
14293
 
 
14294
 
        ac_cv_lib_nsl_gethostbyname=no
 
13102
  ac_cv_lib_nsl_gethostbyname=no
14295
13103
fi
14296
 
 
14297
 
rm -rf conftest.dSYM
14298
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14299
 
      conftest$ac_exeext conftest.$ac_ext
 
13104
rm -f core conftest.err conftest.$ac_objext \
 
13105
    conftest$ac_exeext conftest.$ac_ext
14300
13106
LIBS=$ac_check_lib_save_LIBS
14301
13107
fi
14302
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
13108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14303
13109
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
14304
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
 
13110
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
14305
13111
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14306
13112
fi
14307
13113
 
14308
13114
      if test $ac_cv_lib_nsl_gethostbyname = no; then
14309
 
        { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
13115
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14310
13116
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
14311
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
 
13117
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
14312
13118
  $as_echo_n "(cached) " >&6
14313
13119
else
14314
13120
  ac_check_lib_save_LIBS=$LIBS
14315
13121
LIBS="-lbsd  $LIBS"
14316
 
cat >conftest.$ac_ext <<_ACEOF
14317
 
/* confdefs.h.  */
14318
 
_ACEOF
14319
 
cat confdefs.h >>conftest.$ac_ext
14320
 
cat >>conftest.$ac_ext <<_ACEOF
 
13122
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14321
13123
/* end confdefs.h.  */
14322
13124
 
14323
13125
/* Override any GCC internal prototype to avoid an error.
14335
13137
  return 0;
14336
13138
}
14337
13139
_ACEOF
14338
 
rm -f conftest.$ac_objext conftest$ac_exeext
14339
 
if { (ac_try="$ac_link"
14340
 
case "(($ac_try" in
14341
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14342
 
  *) ac_try_echo=$ac_try;;
14343
 
esac
14344
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14345
 
$as_echo "$ac_try_echo") >&5
14346
 
  (eval "$ac_link") 2>conftest.er1
14347
 
  ac_status=$?
14348
 
  grep -v '^ *+' conftest.er1 >conftest.err
14349
 
  rm -f conftest.er1
14350
 
  cat conftest.err >&5
14351
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352
 
  (exit $ac_status); } && {
14353
 
         test -z "$ac_c_werror_flag" ||
14354
 
         test ! -s conftest.err
14355
 
       } && test -s conftest$ac_exeext && {
14356
 
         test "$cross_compiling" = yes ||
14357
 
         $as_test_x conftest$ac_exeext
14358
 
       }; then
 
13140
if ac_fn_c_try_link "$LINENO"; then :
14359
13141
  ac_cv_lib_bsd_gethostbyname=yes
14360
13142
else
14361
 
  $as_echo "$as_me: failed program was:" >&5
14362
 
sed 's/^/| /' conftest.$ac_ext >&5
14363
 
 
14364
 
        ac_cv_lib_bsd_gethostbyname=no
 
13143
  ac_cv_lib_bsd_gethostbyname=no
14365
13144
fi
14366
 
 
14367
 
rm -rf conftest.dSYM
14368
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14369
 
      conftest$ac_exeext conftest.$ac_ext
 
13145
rm -f core conftest.err conftest.$ac_objext \
 
13146
    conftest$ac_exeext conftest.$ac_ext
14370
13147
LIBS=$ac_check_lib_save_LIBS
14371
13148
fi
14372
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
13149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14373
13150
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
14374
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
 
13151
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
14375
13152
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14376
13153
fi
14377
13154
 
14385
13162
    # variants that don't use the name server (or something).  -lsocket
14386
13163
    # must be given before -lnsl if both are needed.  We assume that
14387
13164
    # if connect needs -lnsl, so does gethostbyname.
14388
 
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
14389
 
$as_echo_n "checking for connect... " >&6; }
14390
 
if test "${ac_cv_func_connect+set}" = set; then
14391
 
  $as_echo_n "(cached) " >&6
14392
 
else
14393
 
  cat >conftest.$ac_ext <<_ACEOF
14394
 
/* confdefs.h.  */
14395
 
_ACEOF
14396
 
cat confdefs.h >>conftest.$ac_ext
14397
 
cat >>conftest.$ac_ext <<_ACEOF
14398
 
/* end confdefs.h.  */
14399
 
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
14400
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14401
 
#define connect innocuous_connect
14402
 
 
14403
 
/* System header to define __stub macros and hopefully few prototypes,
14404
 
    which can conflict with char connect (); below.
14405
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14406
 
    <limits.h> exists even on freestanding compilers.  */
14407
 
 
14408
 
#ifdef __STDC__
14409
 
# include <limits.h>
14410
 
#else
14411
 
# include <assert.h>
14412
 
#endif
14413
 
 
14414
 
#undef connect
14415
 
 
14416
 
/* Override any GCC internal prototype to avoid an error.
14417
 
   Use char because int might match the return type of a GCC
14418
 
   builtin and then its argument prototype would still apply.  */
14419
 
#ifdef __cplusplus
14420
 
extern "C"
14421
 
#endif
14422
 
char connect ();
14423
 
/* The GNU C library defines this for functions which it implements
14424
 
    to always fail with ENOSYS.  Some functions are actually named
14425
 
    something starting with __ and the normal name is an alias.  */
14426
 
#if defined __stub_connect || defined __stub___connect
14427
 
choke me
14428
 
#endif
14429
 
 
14430
 
int
14431
 
main ()
14432
 
{
14433
 
return connect ();
14434
 
  ;
14435
 
  return 0;
14436
 
}
14437
 
_ACEOF
14438
 
rm -f conftest.$ac_objext conftest$ac_exeext
14439
 
if { (ac_try="$ac_link"
14440
 
case "(($ac_try" in
14441
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442
 
  *) ac_try_echo=$ac_try;;
14443
 
esac
14444
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14445
 
$as_echo "$ac_try_echo") >&5
14446
 
  (eval "$ac_link") 2>conftest.er1
14447
 
  ac_status=$?
14448
 
  grep -v '^ *+' conftest.er1 >conftest.err
14449
 
  rm -f conftest.er1
14450
 
  cat conftest.err >&5
14451
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452
 
  (exit $ac_status); } && {
14453
 
         test -z "$ac_c_werror_flag" ||
14454
 
         test ! -s conftest.err
14455
 
       } && test -s conftest$ac_exeext && {
14456
 
         test "$cross_compiling" = yes ||
14457
 
         $as_test_x conftest$ac_exeext
14458
 
       }; then
14459
 
  ac_cv_func_connect=yes
14460
 
else
14461
 
  $as_echo "$as_me: failed program was:" >&5
14462
 
sed 's/^/| /' conftest.$ac_ext >&5
14463
 
 
14464
 
        ac_cv_func_connect=no
14465
 
fi
14466
 
 
14467
 
rm -rf conftest.dSYM
14468
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14469
 
      conftest$ac_exeext conftest.$ac_ext
14470
 
fi
14471
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
14472
 
$as_echo "$ac_cv_func_connect" >&6; }
 
13165
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 
13166
if test "x$ac_cv_func_connect" = x""yes; then :
 
13167
 
 
13168
fi
14473
13169
 
14474
13170
    if test $ac_cv_func_connect = no; then
14475
 
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
13171
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14476
13172
$as_echo_n "checking for connect in -lsocket... " >&6; }
14477
 
if test "${ac_cv_lib_socket_connect+set}" = set; then
 
13173
if test "${ac_cv_lib_socket_connect+set}" = set; then :
14478
13174
  $as_echo_n "(cached) " >&6
14479
13175
else
14480
13176
  ac_check_lib_save_LIBS=$LIBS
14481
13177
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14482
 
cat >conftest.$ac_ext <<_ACEOF
14483
 
/* confdefs.h.  */
14484
 
_ACEOF
14485
 
cat confdefs.h >>conftest.$ac_ext
14486
 
cat >>conftest.$ac_ext <<_ACEOF
 
13178
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487
13179
/* end confdefs.h.  */
14488
13180
 
14489
13181
/* Override any GCC internal prototype to avoid an error.
14501
13193
  return 0;
14502
13194
}
14503
13195
_ACEOF
14504
 
rm -f conftest.$ac_objext conftest$ac_exeext
14505
 
if { (ac_try="$ac_link"
14506
 
case "(($ac_try" in
14507
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14508
 
  *) ac_try_echo=$ac_try;;
14509
 
esac
14510
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14511
 
$as_echo "$ac_try_echo") >&5
14512
 
  (eval "$ac_link") 2>conftest.er1
14513
 
  ac_status=$?
14514
 
  grep -v '^ *+' conftest.er1 >conftest.err
14515
 
  rm -f conftest.er1
14516
 
  cat conftest.err >&5
14517
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518
 
  (exit $ac_status); } && {
14519
 
         test -z "$ac_c_werror_flag" ||
14520
 
         test ! -s conftest.err
14521
 
       } && test -s conftest$ac_exeext && {
14522
 
         test "$cross_compiling" = yes ||
14523
 
         $as_test_x conftest$ac_exeext
14524
 
       }; then
 
13196
if ac_fn_c_try_link "$LINENO"; then :
14525
13197
  ac_cv_lib_socket_connect=yes
14526
13198
else
14527
 
  $as_echo "$as_me: failed program was:" >&5
14528
 
sed 's/^/| /' conftest.$ac_ext >&5
14529
 
 
14530
 
        ac_cv_lib_socket_connect=no
 
13199
  ac_cv_lib_socket_connect=no
14531
13200
fi
14532
 
 
14533
 
rm -rf conftest.dSYM
14534
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14535
 
      conftest$ac_exeext conftest.$ac_ext
 
13201
rm -f core conftest.err conftest.$ac_objext \
 
13202
    conftest$ac_exeext conftest.$ac_ext
14536
13203
LIBS=$ac_check_lib_save_LIBS
14537
13204
fi
14538
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
13205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14539
13206
$as_echo "$ac_cv_lib_socket_connect" >&6; }
14540
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then
 
13207
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
14541
13208
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14542
13209
fi
14543
13210
 
14544
13211
    fi
14545
13212
 
14546
13213
    # Guillermo Gomez says -lposix is necessary on A/UX.
14547
 
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
14548
 
$as_echo_n "checking for remove... " >&6; }
14549
 
if test "${ac_cv_func_remove+set}" = set; then
14550
 
  $as_echo_n "(cached) " >&6
14551
 
else
14552
 
  cat >conftest.$ac_ext <<_ACEOF
14553
 
/* confdefs.h.  */
14554
 
_ACEOF
14555
 
cat confdefs.h >>conftest.$ac_ext
14556
 
cat >>conftest.$ac_ext <<_ACEOF
14557
 
/* end confdefs.h.  */
14558
 
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
14559
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14560
 
#define remove innocuous_remove
14561
 
 
14562
 
/* System header to define __stub macros and hopefully few prototypes,
14563
 
    which can conflict with char remove (); below.
14564
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14565
 
    <limits.h> exists even on freestanding compilers.  */
14566
 
 
14567
 
#ifdef __STDC__
14568
 
# include <limits.h>
14569
 
#else
14570
 
# include <assert.h>
14571
 
#endif
14572
 
 
14573
 
#undef remove
14574
 
 
14575
 
/* Override any GCC internal prototype to avoid an error.
14576
 
   Use char because int might match the return type of a GCC
14577
 
   builtin and then its argument prototype would still apply.  */
14578
 
#ifdef __cplusplus
14579
 
extern "C"
14580
 
#endif
14581
 
char remove ();
14582
 
/* The GNU C library defines this for functions which it implements
14583
 
    to always fail with ENOSYS.  Some functions are actually named
14584
 
    something starting with __ and the normal name is an alias.  */
14585
 
#if defined __stub_remove || defined __stub___remove
14586
 
choke me
14587
 
#endif
14588
 
 
14589
 
int
14590
 
main ()
14591
 
{
14592
 
return remove ();
14593
 
  ;
14594
 
  return 0;
14595
 
}
14596
 
_ACEOF
14597
 
rm -f conftest.$ac_objext conftest$ac_exeext
14598
 
if { (ac_try="$ac_link"
14599
 
case "(($ac_try" in
14600
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14601
 
  *) ac_try_echo=$ac_try;;
14602
 
esac
14603
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14604
 
$as_echo "$ac_try_echo") >&5
14605
 
  (eval "$ac_link") 2>conftest.er1
14606
 
  ac_status=$?
14607
 
  grep -v '^ *+' conftest.er1 >conftest.err
14608
 
  rm -f conftest.er1
14609
 
  cat conftest.err >&5
14610
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611
 
  (exit $ac_status); } && {
14612
 
         test -z "$ac_c_werror_flag" ||
14613
 
         test ! -s conftest.err
14614
 
       } && test -s conftest$ac_exeext && {
14615
 
         test "$cross_compiling" = yes ||
14616
 
         $as_test_x conftest$ac_exeext
14617
 
       }; then
14618
 
  ac_cv_func_remove=yes
14619
 
else
14620
 
  $as_echo "$as_me: failed program was:" >&5
14621
 
sed 's/^/| /' conftest.$ac_ext >&5
14622
 
 
14623
 
        ac_cv_func_remove=no
14624
 
fi
14625
 
 
14626
 
rm -rf conftest.dSYM
14627
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14628
 
      conftest$ac_exeext conftest.$ac_ext
14629
 
fi
14630
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
14631
 
$as_echo "$ac_cv_func_remove" >&6; }
 
13214
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
 
13215
if test "x$ac_cv_func_remove" = x""yes; then :
 
13216
 
 
13217
fi
14632
13218
 
14633
13219
    if test $ac_cv_func_remove = no; then
14634
 
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
13220
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14635
13221
$as_echo_n "checking for remove in -lposix... " >&6; }
14636
 
if test "${ac_cv_lib_posix_remove+set}" = set; then
 
13222
if test "${ac_cv_lib_posix_remove+set}" = set; then :
14637
13223
  $as_echo_n "(cached) " >&6
14638
13224
else
14639
13225
  ac_check_lib_save_LIBS=$LIBS
14640
13226
LIBS="-lposix  $LIBS"
14641
 
cat >conftest.$ac_ext <<_ACEOF
14642
 
/* confdefs.h.  */
14643
 
_ACEOF
14644
 
cat confdefs.h >>conftest.$ac_ext
14645
 
cat >>conftest.$ac_ext <<_ACEOF
 
13227
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14646
13228
/* end confdefs.h.  */
14647
13229
 
14648
13230
/* Override any GCC internal prototype to avoid an error.
14660
13242
  return 0;
14661
13243
}
14662
13244
_ACEOF
14663
 
rm -f conftest.$ac_objext conftest$ac_exeext
14664
 
if { (ac_try="$ac_link"
14665
 
case "(($ac_try" in
14666
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14667
 
  *) ac_try_echo=$ac_try;;
14668
 
esac
14669
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14670
 
$as_echo "$ac_try_echo") >&5
14671
 
  (eval "$ac_link") 2>conftest.er1
14672
 
  ac_status=$?
14673
 
  grep -v '^ *+' conftest.er1 >conftest.err
14674
 
  rm -f conftest.er1
14675
 
  cat conftest.err >&5
14676
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677
 
  (exit $ac_status); } && {
14678
 
         test -z "$ac_c_werror_flag" ||
14679
 
         test ! -s conftest.err
14680
 
       } && test -s conftest$ac_exeext && {
14681
 
         test "$cross_compiling" = yes ||
14682
 
         $as_test_x conftest$ac_exeext
14683
 
       }; then
 
13245
if ac_fn_c_try_link "$LINENO"; then :
14684
13246
  ac_cv_lib_posix_remove=yes
14685
13247
else
14686
 
  $as_echo "$as_me: failed program was:" >&5
14687
 
sed 's/^/| /' conftest.$ac_ext >&5
14688
 
 
14689
 
        ac_cv_lib_posix_remove=no
 
13248
  ac_cv_lib_posix_remove=no
14690
13249
fi
14691
 
 
14692
 
rm -rf conftest.dSYM
14693
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14694
 
      conftest$ac_exeext conftest.$ac_ext
 
13250
rm -f core conftest.err conftest.$ac_objext \
 
13251
    conftest$ac_exeext conftest.$ac_ext
14695
13252
LIBS=$ac_check_lib_save_LIBS
14696
13253
fi
14697
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
13254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14698
13255
$as_echo "$ac_cv_lib_posix_remove" >&6; }
14699
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then
 
13256
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
14700
13257
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14701
13258
fi
14702
13259
 
14703
13260
    fi
14704
13261
 
14705
13262
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14706
 
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
14707
 
$as_echo_n "checking for shmat... " >&6; }
14708
 
if test "${ac_cv_func_shmat+set}" = set; then
14709
 
  $as_echo_n "(cached) " >&6
14710
 
else
14711
 
  cat >conftest.$ac_ext <<_ACEOF
14712
 
/* confdefs.h.  */
14713
 
_ACEOF
14714
 
cat confdefs.h >>conftest.$ac_ext
14715
 
cat >>conftest.$ac_ext <<_ACEOF
14716
 
/* end confdefs.h.  */
14717
 
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
14718
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14719
 
#define shmat innocuous_shmat
14720
 
 
14721
 
/* System header to define __stub macros and hopefully few prototypes,
14722
 
    which can conflict with char shmat (); below.
14723
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14724
 
    <limits.h> exists even on freestanding compilers.  */
14725
 
 
14726
 
#ifdef __STDC__
14727
 
# include <limits.h>
14728
 
#else
14729
 
# include <assert.h>
14730
 
#endif
14731
 
 
14732
 
#undef shmat
14733
 
 
14734
 
/* Override any GCC internal prototype to avoid an error.
14735
 
   Use char because int might match the return type of a GCC
14736
 
   builtin and then its argument prototype would still apply.  */
14737
 
#ifdef __cplusplus
14738
 
extern "C"
14739
 
#endif
14740
 
char shmat ();
14741
 
/* The GNU C library defines this for functions which it implements
14742
 
    to always fail with ENOSYS.  Some functions are actually named
14743
 
    something starting with __ and the normal name is an alias.  */
14744
 
#if defined __stub_shmat || defined __stub___shmat
14745
 
choke me
14746
 
#endif
14747
 
 
14748
 
int
14749
 
main ()
14750
 
{
14751
 
return shmat ();
14752
 
  ;
14753
 
  return 0;
14754
 
}
14755
 
_ACEOF
14756
 
rm -f conftest.$ac_objext conftest$ac_exeext
14757
 
if { (ac_try="$ac_link"
14758
 
case "(($ac_try" in
14759
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14760
 
  *) ac_try_echo=$ac_try;;
14761
 
esac
14762
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14763
 
$as_echo "$ac_try_echo") >&5
14764
 
  (eval "$ac_link") 2>conftest.er1
14765
 
  ac_status=$?
14766
 
  grep -v '^ *+' conftest.er1 >conftest.err
14767
 
  rm -f conftest.er1
14768
 
  cat conftest.err >&5
14769
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770
 
  (exit $ac_status); } && {
14771
 
         test -z "$ac_c_werror_flag" ||
14772
 
         test ! -s conftest.err
14773
 
       } && test -s conftest$ac_exeext && {
14774
 
         test "$cross_compiling" = yes ||
14775
 
         $as_test_x conftest$ac_exeext
14776
 
       }; then
14777
 
  ac_cv_func_shmat=yes
14778
 
else
14779
 
  $as_echo "$as_me: failed program was:" >&5
14780
 
sed 's/^/| /' conftest.$ac_ext >&5
14781
 
 
14782
 
        ac_cv_func_shmat=no
14783
 
fi
14784
 
 
14785
 
rm -rf conftest.dSYM
14786
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14787
 
      conftest$ac_exeext conftest.$ac_ext
14788
 
fi
14789
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
14790
 
$as_echo "$ac_cv_func_shmat" >&6; }
 
13263
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
 
13264
if test "x$ac_cv_func_shmat" = x""yes; then :
 
13265
 
 
13266
fi
14791
13267
 
14792
13268
    if test $ac_cv_func_shmat = no; then
14793
 
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
13269
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14794
13270
$as_echo_n "checking for shmat in -lipc... " >&6; }
14795
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
 
13271
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
14796
13272
  $as_echo_n "(cached) " >&6
14797
13273
else
14798
13274
  ac_check_lib_save_LIBS=$LIBS
14799
13275
LIBS="-lipc  $LIBS"
14800
 
cat >conftest.$ac_ext <<_ACEOF
14801
 
/* confdefs.h.  */
14802
 
_ACEOF
14803
 
cat confdefs.h >>conftest.$ac_ext
14804
 
cat >>conftest.$ac_ext <<_ACEOF
 
13276
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805
13277
/* end confdefs.h.  */
14806
13278
 
14807
13279
/* Override any GCC internal prototype to avoid an error.
14819
13291
  return 0;
14820
13292
}
14821
13293
_ACEOF
14822
 
rm -f conftest.$ac_objext conftest$ac_exeext
14823
 
if { (ac_try="$ac_link"
14824
 
case "(($ac_try" in
14825
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14826
 
  *) ac_try_echo=$ac_try;;
14827
 
esac
14828
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14829
 
$as_echo "$ac_try_echo") >&5
14830
 
  (eval "$ac_link") 2>conftest.er1
14831
 
  ac_status=$?
14832
 
  grep -v '^ *+' conftest.er1 >conftest.err
14833
 
  rm -f conftest.er1
14834
 
  cat conftest.err >&5
14835
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836
 
  (exit $ac_status); } && {
14837
 
         test -z "$ac_c_werror_flag" ||
14838
 
         test ! -s conftest.err
14839
 
       } && test -s conftest$ac_exeext && {
14840
 
         test "$cross_compiling" = yes ||
14841
 
         $as_test_x conftest$ac_exeext
14842
 
       }; then
 
13294
if ac_fn_c_try_link "$LINENO"; then :
14843
13295
  ac_cv_lib_ipc_shmat=yes
14844
13296
else
14845
 
  $as_echo "$as_me: failed program was:" >&5
14846
 
sed 's/^/| /' conftest.$ac_ext >&5
14847
 
 
14848
 
        ac_cv_lib_ipc_shmat=no
 
13297
  ac_cv_lib_ipc_shmat=no
14849
13298
fi
14850
 
 
14851
 
rm -rf conftest.dSYM
14852
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14853
 
      conftest$ac_exeext conftest.$ac_ext
 
13299
rm -f core conftest.err conftest.$ac_objext \
 
13300
    conftest$ac_exeext conftest.$ac_ext
14854
13301
LIBS=$ac_check_lib_save_LIBS
14855
13302
fi
14856
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
13303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14857
13304
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
14858
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
 
13305
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
14859
13306
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14860
13307
fi
14861
13308
 
14871
13318
  # These have to be linked with before -lX11, unlike the other
14872
13319
  # libraries we check for below, so use a different variable.
14873
13320
  # John Interrante, Karl Berry
14874
 
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
13321
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14875
13322
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
14876
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
 
13323
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
14877
13324
  $as_echo_n "(cached) " >&6
14878
13325
else
14879
13326
  ac_check_lib_save_LIBS=$LIBS
14880
13327
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14881
 
cat >conftest.$ac_ext <<_ACEOF
14882
 
/* confdefs.h.  */
14883
 
_ACEOF
14884
 
cat confdefs.h >>conftest.$ac_ext
14885
 
cat >>conftest.$ac_ext <<_ACEOF
 
13328
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886
13329
/* end confdefs.h.  */
14887
13330
 
14888
13331
/* Override any GCC internal prototype to avoid an error.
14900
13343
  return 0;
14901
13344
}
14902
13345
_ACEOF
14903
 
rm -f conftest.$ac_objext conftest$ac_exeext
14904
 
if { (ac_try="$ac_link"
14905
 
case "(($ac_try" in
14906
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14907
 
  *) ac_try_echo=$ac_try;;
14908
 
esac
14909
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14910
 
$as_echo "$ac_try_echo") >&5
14911
 
  (eval "$ac_link") 2>conftest.er1
14912
 
  ac_status=$?
14913
 
  grep -v '^ *+' conftest.er1 >conftest.err
14914
 
  rm -f conftest.er1
14915
 
  cat conftest.err >&5
14916
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917
 
  (exit $ac_status); } && {
14918
 
         test -z "$ac_c_werror_flag" ||
14919
 
         test ! -s conftest.err
14920
 
       } && test -s conftest$ac_exeext && {
14921
 
         test "$cross_compiling" = yes ||
14922
 
         $as_test_x conftest$ac_exeext
14923
 
       }; then
 
13346
if ac_fn_c_try_link "$LINENO"; then :
14924
13347
  ac_cv_lib_ICE_IceConnectionNumber=yes
14925
13348
else
14926
 
  $as_echo "$as_me: failed program was:" >&5
14927
 
sed 's/^/| /' conftest.$ac_ext >&5
14928
 
 
14929
 
        ac_cv_lib_ICE_IceConnectionNumber=no
 
13349
  ac_cv_lib_ICE_IceConnectionNumber=no
14930
13350
fi
14931
 
 
14932
 
rm -rf conftest.dSYM
14933
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14934
 
      conftest$ac_exeext conftest.$ac_ext
 
13351
rm -f core conftest.err conftest.$ac_objext \
 
13352
    conftest$ac_exeext conftest.$ac_ext
14935
13353
LIBS=$ac_check_lib_save_LIBS
14936
13354
fi
14937
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
13355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14938
13356
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14939
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
 
13357
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
14940
13358
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14941
13359
fi
14942
13360
 
14959
13377
  do
14960
13378
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14961
13379
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14962
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14963
13381
$as_echo_n "checking for $ac_word... " >&6; }
14964
 
if test "${ac_cv_prog_CXX+set}" = set; then
 
13382
if test "${ac_cv_prog_CXX+set}" = set; then :
14965
13383
  $as_echo_n "(cached) " >&6
14966
13384
else
14967
13385
  if test -n "$CXX"; then
14972
13390
do
14973
13391
  IFS=$as_save_IFS
14974
13392
  test -z "$as_dir" && as_dir=.
14975
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13393
    for ac_exec_ext in '' $ac_executable_extensions; do
14976
13394
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14977
13395
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14978
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13396
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14979
13397
    break 2
14980
13398
  fi
14981
13399
done
14982
 
done
 
13400
  done
14983
13401
IFS=$as_save_IFS
14984
13402
 
14985
13403
fi
14986
13404
fi
14987
13405
CXX=$ac_cv_prog_CXX
14988
13406
if test -n "$CXX"; then
14989
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
13407
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14990
13408
$as_echo "$CXX" >&6; }
14991
13409
else
14992
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13410
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14993
13411
$as_echo "no" >&6; }
14994
13412
fi
14995
13413
 
15003
13421
do
15004
13422
  # Extract the first word of "$ac_prog", so it can be a program name with args.
15005
13423
set dummy $ac_prog; ac_word=$2
15006
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15007
13425
$as_echo_n "checking for $ac_word... " >&6; }
15008
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
13426
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
15009
13427
  $as_echo_n "(cached) " >&6
15010
13428
else
15011
13429
  if test -n "$ac_ct_CXX"; then
15016
13434
do
15017
13435
  IFS=$as_save_IFS
15018
13436
  test -z "$as_dir" && as_dir=.
15019
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13437
    for ac_exec_ext in '' $ac_executable_extensions; do
15020
13438
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15021
13439
    ac_cv_prog_ac_ct_CXX="$ac_prog"
15022
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13440
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15023
13441
    break 2
15024
13442
  fi
15025
13443
done
15026
 
done
 
13444
  done
15027
13445
IFS=$as_save_IFS
15028
13446
 
15029
13447
fi
15030
13448
fi
15031
13449
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15032
13450
if test -n "$ac_ct_CXX"; then
15033
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
13451
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15034
13452
$as_echo "$ac_ct_CXX" >&6; }
15035
13453
else
15036
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13454
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15037
13455
$as_echo "no" >&6; }
15038
13456
fi
15039
13457
 
15046
13464
  else
15047
13465
    case $cross_compiling:$ac_tool_warned in
15048
13466
yes:)
15049
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
13467
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15050
13468
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15051
13469
ac_tool_warned=yes ;;
15052
13470
esac
15057
13475
  fi
15058
13476
fi
15059
13477
# Provide some information about the compiler.
15060
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
13478
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15061
13479
set X $ac_compile
15062
13480
ac_compiler=$2
15063
 
{ (ac_try="$ac_compiler --version >&5"
15064
 
case "(($ac_try" in
15065
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15066
 
  *) ac_try_echo=$ac_try;;
15067
 
esac
15068
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15069
 
$as_echo "$ac_try_echo") >&5
15070
 
  (eval "$ac_compiler --version >&5") 2>&5
15071
 
  ac_status=$?
15072
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073
 
  (exit $ac_status); }
15074
 
{ (ac_try="$ac_compiler -v >&5"
15075
 
case "(($ac_try" in
15076
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15077
 
  *) ac_try_echo=$ac_try;;
15078
 
esac
15079
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15080
 
$as_echo "$ac_try_echo") >&5
15081
 
  (eval "$ac_compiler -v >&5") 2>&5
15082
 
  ac_status=$?
15083
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084
 
  (exit $ac_status); }
15085
 
{ (ac_try="$ac_compiler -V >&5"
15086
 
case "(($ac_try" in
15087
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15088
 
  *) ac_try_echo=$ac_try;;
15089
 
esac
15090
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15091
 
$as_echo "$ac_try_echo") >&5
15092
 
  (eval "$ac_compiler -V >&5") 2>&5
15093
 
  ac_status=$?
15094
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095
 
  (exit $ac_status); }
 
13481
for ac_option in --version -v -V -qversion; do
 
13482
  { { ac_try="$ac_compiler $ac_option >&5"
 
13483
case "(($ac_try" in
 
13484
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13485
  *) ac_try_echo=$ac_try;;
 
13486
esac
 
13487
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
13488
$as_echo "$ac_try_echo"; } >&5
 
13489
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
13490
  ac_status=$?
 
13491
  if test -s conftest.err; then
 
13492
    sed '10a\
 
13493
... rest of stderr output deleted ...
 
13494
         10q' conftest.err >conftest.er1
 
13495
    cat conftest.er1 >&5
 
13496
  fi
 
13497
  rm -f conftest.er1 conftest.err
 
13498
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13499
  test $ac_status = 0; }
 
13500
done
15096
13501
 
15097
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
13502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15098
13503
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15099
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
13504
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
15100
13505
  $as_echo_n "(cached) " >&6
15101
13506
else
15102
 
  cat >conftest.$ac_ext <<_ACEOF
15103
 
/* confdefs.h.  */
15104
 
_ACEOF
15105
 
cat confdefs.h >>conftest.$ac_ext
15106
 
cat >>conftest.$ac_ext <<_ACEOF
 
13507
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15107
13508
/* end confdefs.h.  */
15108
13509
 
15109
13510
int
15117
13518
  return 0;
15118
13519
}
15119
13520
_ACEOF
15120
 
rm -f conftest.$ac_objext
15121
 
if { (ac_try="$ac_compile"
15122
 
case "(($ac_try" in
15123
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15124
 
  *) ac_try_echo=$ac_try;;
15125
 
esac
15126
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15127
 
$as_echo "$ac_try_echo") >&5
15128
 
  (eval "$ac_compile") 2>conftest.er1
15129
 
  ac_status=$?
15130
 
  grep -v '^ *+' conftest.er1 >conftest.err
15131
 
  rm -f conftest.er1
15132
 
  cat conftest.err >&5
15133
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134
 
  (exit $ac_status); } && {
15135
 
         test -z "$ac_cxx_werror_flag" ||
15136
 
         test ! -s conftest.err
15137
 
       } && test -s conftest.$ac_objext; then
 
13521
if ac_fn_cxx_try_compile "$LINENO"; then :
15138
13522
  ac_compiler_gnu=yes
15139
13523
else
15140
 
  $as_echo "$as_me: failed program was:" >&5
15141
 
sed 's/^/| /' conftest.$ac_ext >&5
15142
 
 
15143
 
        ac_compiler_gnu=no
 
13524
  ac_compiler_gnu=no
15144
13525
fi
15145
 
 
15146
13526
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15147
13527
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15148
13528
 
15149
13529
fi
15150
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
13530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
15151
13531
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15152
13532
if test $ac_compiler_gnu = yes; then
15153
13533
  GXX=yes
15156
13536
fi
15157
13537
ac_test_CXXFLAGS=${CXXFLAGS+set}
15158
13538
ac_save_CXXFLAGS=$CXXFLAGS
15159
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
13539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
15160
13540
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
15161
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
13541
if test "${ac_cv_prog_cxx_g+set}" = set; then :
15162
13542
  $as_echo_n "(cached) " >&6
15163
13543
else
15164
13544
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15165
13545
   ac_cxx_werror_flag=yes
15166
13546
   ac_cv_prog_cxx_g=no
15167
13547
   CXXFLAGS="-g"
15168
 
   cat >conftest.$ac_ext <<_ACEOF
15169
 
/* confdefs.h.  */
15170
 
_ACEOF
15171
 
cat confdefs.h >>conftest.$ac_ext
15172
 
cat >>conftest.$ac_ext <<_ACEOF
 
13548
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173
13549
/* end confdefs.h.  */
15174
13550
 
15175
13551
int
15180
13556
  return 0;
15181
13557
}
15182
13558
_ACEOF
15183
 
rm -f conftest.$ac_objext
15184
 
if { (ac_try="$ac_compile"
15185
 
case "(($ac_try" in
15186
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15187
 
  *) ac_try_echo=$ac_try;;
15188
 
esac
15189
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15190
 
$as_echo "$ac_try_echo") >&5
15191
 
  (eval "$ac_compile") 2>conftest.er1
15192
 
  ac_status=$?
15193
 
  grep -v '^ *+' conftest.er1 >conftest.err
15194
 
  rm -f conftest.er1
15195
 
  cat conftest.err >&5
15196
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197
 
  (exit $ac_status); } && {
15198
 
         test -z "$ac_cxx_werror_flag" ||
15199
 
         test ! -s conftest.err
15200
 
       } && test -s conftest.$ac_objext; then
 
13559
if ac_fn_cxx_try_compile "$LINENO"; then :
15201
13560
  ac_cv_prog_cxx_g=yes
15202
13561
else
15203
 
  $as_echo "$as_me: failed program was:" >&5
15204
 
sed 's/^/| /' conftest.$ac_ext >&5
15205
 
 
15206
 
        CXXFLAGS=""
15207
 
      cat >conftest.$ac_ext <<_ACEOF
15208
 
/* confdefs.h.  */
15209
 
_ACEOF
15210
 
cat confdefs.h >>conftest.$ac_ext
15211
 
cat >>conftest.$ac_ext <<_ACEOF
 
13562
  CXXFLAGS=""
 
13563
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15212
13564
/* end confdefs.h.  */
15213
13565
 
15214
13566
int
15219
13571
  return 0;
15220
13572
}
15221
13573
_ACEOF
15222
 
rm -f conftest.$ac_objext
15223
 
if { (ac_try="$ac_compile"
15224
 
case "(($ac_try" in
15225
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15226
 
  *) ac_try_echo=$ac_try;;
15227
 
esac
15228
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15229
 
$as_echo "$ac_try_echo") >&5
15230
 
  (eval "$ac_compile") 2>conftest.er1
15231
 
  ac_status=$?
15232
 
  grep -v '^ *+' conftest.er1 >conftest.err
15233
 
  rm -f conftest.er1
15234
 
  cat conftest.err >&5
15235
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15236
 
  (exit $ac_status); } && {
15237
 
         test -z "$ac_cxx_werror_flag" ||
15238
 
         test ! -s conftest.err
15239
 
       } && test -s conftest.$ac_objext; then
15240
 
  :
 
13574
if ac_fn_cxx_try_compile "$LINENO"; then :
 
13575
 
15241
13576
else
15242
 
  $as_echo "$as_me: failed program was:" >&5
15243
 
sed 's/^/| /' conftest.$ac_ext >&5
15244
 
 
15245
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
13577
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15246
13578
         CXXFLAGS="-g"
15247
 
         cat >conftest.$ac_ext <<_ACEOF
15248
 
/* confdefs.h.  */
15249
 
_ACEOF
15250
 
cat confdefs.h >>conftest.$ac_ext
15251
 
cat >>conftest.$ac_ext <<_ACEOF
 
13579
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15252
13580
/* end confdefs.h.  */
15253
13581
 
15254
13582
int
15259
13587
  return 0;
15260
13588
}
15261
13589
_ACEOF
15262
 
rm -f conftest.$ac_objext
15263
 
if { (ac_try="$ac_compile"
15264
 
case "(($ac_try" in
15265
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15266
 
  *) ac_try_echo=$ac_try;;
15267
 
esac
15268
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15269
 
$as_echo "$ac_try_echo") >&5
15270
 
  (eval "$ac_compile") 2>conftest.er1
15271
 
  ac_status=$?
15272
 
  grep -v '^ *+' conftest.er1 >conftest.err
15273
 
  rm -f conftest.er1
15274
 
  cat conftest.err >&5
15275
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276
 
  (exit $ac_status); } && {
15277
 
         test -z "$ac_cxx_werror_flag" ||
15278
 
         test ! -s conftest.err
15279
 
       } && test -s conftest.$ac_objext; then
 
13590
if ac_fn_cxx_try_compile "$LINENO"; then :
15280
13591
  ac_cv_prog_cxx_g=yes
15281
 
else
15282
 
  $as_echo "$as_me: failed program was:" >&5
15283
 
sed 's/^/| /' conftest.$ac_ext >&5
15284
 
 
15285
 
 
15286
 
fi
15287
 
 
15288
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15289
 
fi
15290
 
 
15291
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15292
 
fi
15293
 
 
 
13592
fi
 
13593
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13594
fi
 
13595
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13596
fi
15294
13597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15295
13598
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15296
13599
fi
15297
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
13600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
15298
13601
$as_echo "$ac_cv_prog_cxx_g" >&6; }
15299
13602
if test "$ac_test_CXXFLAGS" = set; then
15300
13603
  CXXFLAGS=$ac_save_CXXFLAGS
15319
13622
 
15320
13623
depcc="$CXX"  am_compiler_list=
15321
13624
 
15322
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
13625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15323
13626
$as_echo_n "checking dependency style of $depcc... " >&6; }
15324
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
13627
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
15325
13628
  $as_echo_n "(cached) " >&6
15326
13629
else
15327
13630
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15347
13650
  if test "$am_compiler_list" = ""; then
15348
13651
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15349
13652
  fi
 
13653
  am__universal=false
 
13654
  case " $depcc " in #(
 
13655
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
13656
     esac
 
13657
 
15350
13658
  for depmode in $am_compiler_list; do
15351
13659
    # Setup a source with many dependencies, because some compilers
15352
13660
    # like to wrap large dependency lists on column 80 (with \), and
15364
13672
    done
15365
13673
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15366
13674
 
 
13675
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
13676
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
13677
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
13678
    # versions had trouble with output in subdirs
 
13679
    am__obj=sub/conftest.${OBJEXT-o}
 
13680
    am__minus_obj="-o $am__obj"
15367
13681
    case $depmode in
 
13682
    gcc)
 
13683
      # This depmode causes a compiler race in universal mode.
 
13684
      test "$am__universal" = false || continue
 
13685
      ;;
15368
13686
    nosideeffect)
15369
13687
      # after this tag, mechanisms are not by side-effect, so they'll
15370
13688
      # only be used when explicitly requested
15374
13692
        break
15375
13693
      fi
15376
13694
      ;;
 
13695
    msvisualcpp | msvcmsys)
 
13696
      # This compiler won't grok `-c -o', but also, the minuso test has
 
13697
      # not run yet.  These depmodes are late enough in the game, and
 
13698
      # so weak that their functioning should not be impacted.
 
13699
      am__obj=conftest.${OBJEXT-o}
 
13700
      am__minus_obj=
 
13701
      ;;
15377
13702
    none) break ;;
15378
13703
    esac
15379
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
15380
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
15381
 
    # handle `-M -o', and we need to detect this.
15382
13704
    if depmode=$depmode \
15383
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
13705
       source=sub/conftest.c object=$am__obj \
15384
13706
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15385
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
13707
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15386
13708
         >/dev/null 2>conftest.err &&
15387
13709
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15388
13710
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15389
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
13711
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15390
13712
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15391
13713
      # icc doesn't choke on unknown options, it will just issue warnings
15392
13714
      # or remarks (even with -Werror).  So we grep stderr for any message
15410
13732
fi
15411
13733
 
15412
13734
fi
15413
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
13735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15414
13736
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15415
13737
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15416
13738
 
15440
13762
  do
15441
13763
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15442
13764
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15443
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15444
13766
$as_echo_n "checking for $ac_word... " >&6; }
15445
 
if test "${ac_cv_prog_CXX+set}" = set; then
 
13767
if test "${ac_cv_prog_CXX+set}" = set; then :
15446
13768
  $as_echo_n "(cached) " >&6
15447
13769
else
15448
13770
  if test -n "$CXX"; then
15453
13775
do
15454
13776
  IFS=$as_save_IFS
15455
13777
  test -z "$as_dir" && as_dir=.
15456
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13778
    for ac_exec_ext in '' $ac_executable_extensions; do
15457
13779
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15458
13780
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15459
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13781
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15460
13782
    break 2
15461
13783
  fi
15462
13784
done
15463
 
done
 
13785
  done
15464
13786
IFS=$as_save_IFS
15465
13787
 
15466
13788
fi
15467
13789
fi
15468
13790
CXX=$ac_cv_prog_CXX
15469
13791
if test -n "$CXX"; then
15470
 
  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
 
13792
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15471
13793
$as_echo "$CXX" >&6; }
15472
13794
else
15473
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13795
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15474
13796
$as_echo "no" >&6; }
15475
13797
fi
15476
13798
 
15484
13806
do
15485
13807
  # Extract the first word of "$ac_prog", so it can be a program name with args.
15486
13808
set dummy $ac_prog; ac_word=$2
15487
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
13809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15488
13810
$as_echo_n "checking for $ac_word... " >&6; }
15489
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
 
13811
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
15490
13812
  $as_echo_n "(cached) " >&6
15491
13813
else
15492
13814
  if test -n "$ac_ct_CXX"; then
15497
13819
do
15498
13820
  IFS=$as_save_IFS
15499
13821
  test -z "$as_dir" && as_dir=.
15500
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
13822
    for ac_exec_ext in '' $ac_executable_extensions; do
15501
13823
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15502
13824
    ac_cv_prog_ac_ct_CXX="$ac_prog"
15503
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13825
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15504
13826
    break 2
15505
13827
  fi
15506
13828
done
15507
 
done
 
13829
  done
15508
13830
IFS=$as_save_IFS
15509
13831
 
15510
13832
fi
15511
13833
fi
15512
13834
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15513
13835
if test -n "$ac_ct_CXX"; then
15514
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
 
13836
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15515
13837
$as_echo "$ac_ct_CXX" >&6; }
15516
13838
else
15517
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
13839
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15518
13840
$as_echo "no" >&6; }
15519
13841
fi
15520
13842
 
15527
13849
  else
15528
13850
    case $cross_compiling:$ac_tool_warned in
15529
13851
yes:)
15530
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
13852
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15531
13853
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15532
13854
ac_tool_warned=yes ;;
15533
13855
esac
15538
13860
  fi
15539
13861
fi
15540
13862
# Provide some information about the compiler.
15541
 
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
 
13863
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15542
13864
set X $ac_compile
15543
13865
ac_compiler=$2
15544
 
{ (ac_try="$ac_compiler --version >&5"
15545
 
case "(($ac_try" in
15546
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15547
 
  *) ac_try_echo=$ac_try;;
15548
 
esac
15549
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15550
 
$as_echo "$ac_try_echo") >&5
15551
 
  (eval "$ac_compiler --version >&5") 2>&5
15552
 
  ac_status=$?
15553
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554
 
  (exit $ac_status); }
15555
 
{ (ac_try="$ac_compiler -v >&5"
15556
 
case "(($ac_try" in
15557
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558
 
  *) ac_try_echo=$ac_try;;
15559
 
esac
15560
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15561
 
$as_echo "$ac_try_echo") >&5
15562
 
  (eval "$ac_compiler -v >&5") 2>&5
15563
 
  ac_status=$?
15564
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565
 
  (exit $ac_status); }
15566
 
{ (ac_try="$ac_compiler -V >&5"
15567
 
case "(($ac_try" in
15568
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15569
 
  *) ac_try_echo=$ac_try;;
15570
 
esac
15571
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15572
 
$as_echo "$ac_try_echo") >&5
15573
 
  (eval "$ac_compiler -V >&5") 2>&5
15574
 
  ac_status=$?
15575
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576
 
  (exit $ac_status); }
 
13866
for ac_option in --version -v -V -qversion; do
 
13867
  { { ac_try="$ac_compiler $ac_option >&5"
 
13868
case "(($ac_try" in
 
13869
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13870
  *) ac_try_echo=$ac_try;;
 
13871
esac
 
13872
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
13873
$as_echo "$ac_try_echo"; } >&5
 
13874
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
13875
  ac_status=$?
 
13876
  if test -s conftest.err; then
 
13877
    sed '10a\
 
13878
... rest of stderr output deleted ...
 
13879
         10q' conftest.err >conftest.er1
 
13880
    cat conftest.er1 >&5
 
13881
  fi
 
13882
  rm -f conftest.er1 conftest.err
 
13883
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13884
  test $ac_status = 0; }
 
13885
done
15577
13886
 
15578
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
 
13887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15579
13888
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15580
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
 
13889
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
15581
13890
  $as_echo_n "(cached) " >&6
15582
13891
else
15583
 
  cat >conftest.$ac_ext <<_ACEOF
15584
 
/* confdefs.h.  */
15585
 
_ACEOF
15586
 
cat confdefs.h >>conftest.$ac_ext
15587
 
cat >>conftest.$ac_ext <<_ACEOF
 
13892
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588
13893
/* end confdefs.h.  */
15589
13894
 
15590
13895
int
15598
13903
  return 0;
15599
13904
}
15600
13905
_ACEOF
15601
 
rm -f conftest.$ac_objext
15602
 
if { (ac_try="$ac_compile"
15603
 
case "(($ac_try" in
15604
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15605
 
  *) ac_try_echo=$ac_try;;
15606
 
esac
15607
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15608
 
$as_echo "$ac_try_echo") >&5
15609
 
  (eval "$ac_compile") 2>conftest.er1
15610
 
  ac_status=$?
15611
 
  grep -v '^ *+' conftest.er1 >conftest.err
15612
 
  rm -f conftest.er1
15613
 
  cat conftest.err >&5
15614
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615
 
  (exit $ac_status); } && {
15616
 
         test -z "$ac_cxx_werror_flag" ||
15617
 
         test ! -s conftest.err
15618
 
       } && test -s conftest.$ac_objext; then
 
13906
if ac_fn_cxx_try_compile "$LINENO"; then :
15619
13907
  ac_compiler_gnu=yes
15620
13908
else
15621
 
  $as_echo "$as_me: failed program was:" >&5
15622
 
sed 's/^/| /' conftest.$ac_ext >&5
15623
 
 
15624
 
        ac_compiler_gnu=no
 
13909
  ac_compiler_gnu=no
15625
13910
fi
15626
 
 
15627
13911
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15628
13912
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15629
13913
 
15630
13914
fi
15631
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
 
13915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
15632
13916
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15633
13917
if test $ac_compiler_gnu = yes; then
15634
13918
  GXX=yes
15637
13921
fi
15638
13922
ac_test_CXXFLAGS=${CXXFLAGS+set}
15639
13923
ac_save_CXXFLAGS=$CXXFLAGS
15640
 
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
 
13924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
15641
13925
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
15642
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
 
13926
if test "${ac_cv_prog_cxx_g+set}" = set; then :
15643
13927
  $as_echo_n "(cached) " >&6
15644
13928
else
15645
13929
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15646
13930
   ac_cxx_werror_flag=yes
15647
13931
   ac_cv_prog_cxx_g=no
15648
13932
   CXXFLAGS="-g"
15649
 
   cat >conftest.$ac_ext <<_ACEOF
15650
 
/* confdefs.h.  */
15651
 
_ACEOF
15652
 
cat confdefs.h >>conftest.$ac_ext
15653
 
cat >>conftest.$ac_ext <<_ACEOF
 
13933
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15654
13934
/* end confdefs.h.  */
15655
13935
 
15656
13936
int
15661
13941
  return 0;
15662
13942
}
15663
13943
_ACEOF
15664
 
rm -f conftest.$ac_objext
15665
 
if { (ac_try="$ac_compile"
15666
 
case "(($ac_try" in
15667
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15668
 
  *) ac_try_echo=$ac_try;;
15669
 
esac
15670
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15671
 
$as_echo "$ac_try_echo") >&5
15672
 
  (eval "$ac_compile") 2>conftest.er1
15673
 
  ac_status=$?
15674
 
  grep -v '^ *+' conftest.er1 >conftest.err
15675
 
  rm -f conftest.er1
15676
 
  cat conftest.err >&5
15677
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678
 
  (exit $ac_status); } && {
15679
 
         test -z "$ac_cxx_werror_flag" ||
15680
 
         test ! -s conftest.err
15681
 
       } && test -s conftest.$ac_objext; then
 
13944
if ac_fn_cxx_try_compile "$LINENO"; then :
15682
13945
  ac_cv_prog_cxx_g=yes
15683
13946
else
15684
 
  $as_echo "$as_me: failed program was:" >&5
15685
 
sed 's/^/| /' conftest.$ac_ext >&5
15686
 
 
15687
 
        CXXFLAGS=""
15688
 
      cat >conftest.$ac_ext <<_ACEOF
15689
 
/* confdefs.h.  */
15690
 
_ACEOF
15691
 
cat confdefs.h >>conftest.$ac_ext
15692
 
cat >>conftest.$ac_ext <<_ACEOF
 
13947
  CXXFLAGS=""
 
13948
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693
13949
/* end confdefs.h.  */
15694
13950
 
15695
13951
int
15700
13956
  return 0;
15701
13957
}
15702
13958
_ACEOF
15703
 
rm -f conftest.$ac_objext
15704
 
if { (ac_try="$ac_compile"
15705
 
case "(($ac_try" in
15706
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15707
 
  *) ac_try_echo=$ac_try;;
15708
 
esac
15709
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15710
 
$as_echo "$ac_try_echo") >&5
15711
 
  (eval "$ac_compile") 2>conftest.er1
15712
 
  ac_status=$?
15713
 
  grep -v '^ *+' conftest.er1 >conftest.err
15714
 
  rm -f conftest.er1
15715
 
  cat conftest.err >&5
15716
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717
 
  (exit $ac_status); } && {
15718
 
         test -z "$ac_cxx_werror_flag" ||
15719
 
         test ! -s conftest.err
15720
 
       } && test -s conftest.$ac_objext; then
15721
 
  :
 
13959
if ac_fn_cxx_try_compile "$LINENO"; then :
 
13960
 
15722
13961
else
15723
 
  $as_echo "$as_me: failed program was:" >&5
15724
 
sed 's/^/| /' conftest.$ac_ext >&5
15725
 
 
15726
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
13962
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15727
13963
         CXXFLAGS="-g"
15728
 
         cat >conftest.$ac_ext <<_ACEOF
15729
 
/* confdefs.h.  */
15730
 
_ACEOF
15731
 
cat confdefs.h >>conftest.$ac_ext
15732
 
cat >>conftest.$ac_ext <<_ACEOF
 
13964
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15733
13965
/* end confdefs.h.  */
15734
13966
 
15735
13967
int
15740
13972
  return 0;
15741
13973
}
15742
13974
_ACEOF
15743
 
rm -f conftest.$ac_objext
15744
 
if { (ac_try="$ac_compile"
15745
 
case "(($ac_try" in
15746
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15747
 
  *) ac_try_echo=$ac_try;;
15748
 
esac
15749
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15750
 
$as_echo "$ac_try_echo") >&5
15751
 
  (eval "$ac_compile") 2>conftest.er1
15752
 
  ac_status=$?
15753
 
  grep -v '^ *+' conftest.er1 >conftest.err
15754
 
  rm -f conftest.er1
15755
 
  cat conftest.err >&5
15756
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757
 
  (exit $ac_status); } && {
15758
 
         test -z "$ac_cxx_werror_flag" ||
15759
 
         test ! -s conftest.err
15760
 
       } && test -s conftest.$ac_objext; then
 
13975
if ac_fn_cxx_try_compile "$LINENO"; then :
15761
13976
  ac_cv_prog_cxx_g=yes
15762
 
else
15763
 
  $as_echo "$as_me: failed program was:" >&5
15764
 
sed 's/^/| /' conftest.$ac_ext >&5
15765
 
 
15766
 
 
15767
 
fi
15768
 
 
15769
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15770
 
fi
15771
 
 
15772
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15773
 
fi
15774
 
 
 
13977
fi
 
13978
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13979
fi
 
13980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13981
fi
15775
13982
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15776
13983
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15777
13984
fi
15778
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
 
13985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
15779
13986
$as_echo "$ac_cv_prog_cxx_g" >&6; }
15780
13987
if test "$ac_test_CXXFLAGS" = set; then
15781
13988
  CXXFLAGS=$ac_save_CXXFLAGS
15800
14007
 
15801
14008
depcc="$CXX"  am_compiler_list=
15802
14009
 
15803
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
14010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15804
14011
$as_echo_n "checking dependency style of $depcc... " >&6; }
15805
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
14012
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
15806
14013
  $as_echo_n "(cached) " >&6
15807
14014
else
15808
14015
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15828
14035
  if test "$am_compiler_list" = ""; then
15829
14036
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15830
14037
  fi
 
14038
  am__universal=false
 
14039
  case " $depcc " in #(
 
14040
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
14041
     esac
 
14042
 
15831
14043
  for depmode in $am_compiler_list; do
15832
14044
    # Setup a source with many dependencies, because some compilers
15833
14045
    # like to wrap large dependency lists on column 80 (with \), and
15845
14057
    done
15846
14058
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15847
14059
 
 
14060
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
14061
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
14062
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
14063
    # versions had trouble with output in subdirs
 
14064
    am__obj=sub/conftest.${OBJEXT-o}
 
14065
    am__minus_obj="-o $am__obj"
15848
14066
    case $depmode in
 
14067
    gcc)
 
14068
      # This depmode causes a compiler race in universal mode.
 
14069
      test "$am__universal" = false || continue
 
14070
      ;;
15849
14071
    nosideeffect)
15850
14072
      # after this tag, mechanisms are not by side-effect, so they'll
15851
14073
      # only be used when explicitly requested
15855
14077
        break
15856
14078
      fi
15857
14079
      ;;
 
14080
    msvisualcpp | msvcmsys)
 
14081
      # This compiler won't grok `-c -o', but also, the minuso test has
 
14082
      # not run yet.  These depmodes are late enough in the game, and
 
14083
      # so weak that their functioning should not be impacted.
 
14084
      am__obj=conftest.${OBJEXT-o}
 
14085
      am__minus_obj=
 
14086
      ;;
15858
14087
    none) break ;;
15859
14088
    esac
15860
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
15861
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
15862
 
    # handle `-M -o', and we need to detect this.
15863
14089
    if depmode=$depmode \
15864
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
14090
       source=sub/conftest.c object=$am__obj \
15865
14091
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15866
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
14092
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15867
14093
         >/dev/null 2>conftest.err &&
15868
14094
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15869
14095
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15870
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
14096
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15871
14097
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15872
14098
      # icc doesn't choke on unknown options, it will just issue warnings
15873
14099
      # or remarks (even with -Werror).  So we grep stderr for any message
15891
14117
fi
15892
14118
 
15893
14119
fi
15894
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
14120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15895
14121
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15896
14122
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15897
14123
 
15905
14131
  am__fastdepCXX_FALSE=
15906
14132
fi
15907
14133
 
15908
 
{ $as_echo "$as_me:$LINENO: checking what warning flags to pass to the C++ compiler" >&5
 
14134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C++ compiler" >&5
15909
14135
$as_echo_n "checking what warning flags to pass to the C++ compiler... " >&6; }
15910
 
if test "${kpse_cv_warning_cxxflags+set}" = set; then
 
14136
if test "${kpse_cv_warning_cxxflags+set}" = set; then :
15911
14137
  $as_echo_n "(cached) " >&6
15912
14138
else
15913
14139
  if test "x$enable_compiler_warnings" = xno; then
15914
14140
  kpse_cv_warning_cxxflags=
15915
14141
elif test "x$GXX" = xyes; then
15916
 
  kpse_cv_warning_cxxflags="-Wall -Wunused"
15917
 
  case `$CXX -dumpversion` in
15918
 
  3.[234].* | 4.*) kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;;
 
14142
  kpse_cv_warning_cxxflags="-Wimplicit -Wreturn-type"
 
14143
case `$CXX -dumpversion` in #(
 
14144
  3.[234].* | 4.*) :
 
14145
    kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wno-unknown-pragmas" ;; #(
 
14146
  *) :
 
14147
     ;;
15919
14148
esac
15920
 
 
15921
 
  if test "x$enable_compiler_warnings" != xmin; then
15922
 
    if test "x$enable_compiler_warnings" != xyes; then
15923
 
      kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wimplicit -Wparentheses -Wreturn-type"
15924
 
      kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wswitch -Wtrigraphs -Wshadow -Wpointer-arith"
15925
 
      kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align -Wwrite-strings"
 
14149
if test "x$enable_compiler_warnings" != xmin; then
 
14150
  kpse_cv_warning_cxxflags="-Wall -Wunused $kpse_cv_warning_cxxflags"
 
14151
  if test "x$enable_compiler_warnings" != xyes; then
 
14152
    kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
 
14153
    kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wcast-qual -Wcast-align -Wwrite-strings"
 
14154
  fi
 
14155
    if test "x$enable_compiler_warnings" != xmax; then
 
14156
      kpse_cv_warning_cxxflags="$kpse_cv_warning_cxxflags -Wshadow"
15926
14157
    fi
15927
 
  fi
 
14158
fi
15928
14159
else
15929
 
  : # FIXME: warning flags for non-g++ compilers
15930
 
fi
15931
 
fi
15932
 
{ $as_echo "$as_me:$LINENO: result: $kpse_cv_warning_cxxflags" >&5
 
14160
  kpse_cv_warning_cxxflags= # FIXME: warning flags for non-GNU C++ compilers
 
14161
fi
 
14162
fi
 
14163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cxxflags" >&5
15933
14164
$as_echo "$kpse_cv_warning_cxxflags" >&6; }
15934
14165
WARNING_CXXFLAGS=$kpse_cv_warning_cxxflags
15935
14166
 
15942
14173
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15943
14174
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15944
14175
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15945
 
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
 
14176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15946
14177
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15947
14178
if test -z "$CXXCPP"; then
15948
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
 
14179
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
15949
14180
  $as_echo_n "(cached) " >&6
15950
14181
else
15951
14182
      # Double quotes because CXXCPP needs to be expanded
15960
14191
  # <limits.h> exists even on freestanding compilers.
15961
14192
  # On the NeXT, cc -E runs the code through the compiler's parser,
15962
14193
  # not just through cpp. "Syntax error" is here to catch this case.
15963
 
  cat >conftest.$ac_ext <<_ACEOF
15964
 
/* confdefs.h.  */
15965
 
_ACEOF
15966
 
cat confdefs.h >>conftest.$ac_ext
15967
 
cat >>conftest.$ac_ext <<_ACEOF
 
14194
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15968
14195
/* end confdefs.h.  */
15969
14196
#ifdef __STDC__
15970
14197
# include <limits.h>
15973
14200
#endif
15974
14201
                     Syntax error
15975
14202
_ACEOF
15976
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
15977
 
case "(($ac_try" in
15978
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15979
 
  *) ac_try_echo=$ac_try;;
15980
 
esac
15981
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15982
 
$as_echo "$ac_try_echo") >&5
15983
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15984
 
  ac_status=$?
15985
 
  grep -v '^ *+' conftest.er1 >conftest.err
15986
 
  rm -f conftest.er1
15987
 
  cat conftest.err >&5
15988
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15989
 
  (exit $ac_status); } >/dev/null && {
15990
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15991
 
         test ! -s conftest.err
15992
 
       }; then
15993
 
  :
 
14203
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
14204
 
15994
14205
else
15995
 
  $as_echo "$as_me: failed program was:" >&5
15996
 
sed 's/^/| /' conftest.$ac_ext >&5
15997
 
 
15998
14206
  # Broken: fails on valid input.
15999
14207
continue
16000
14208
fi
16001
 
 
16002
14209
rm -f conftest.err conftest.$ac_ext
16003
14210
 
16004
14211
  # OK, works on sane cases.  Now check whether nonexistent headers
16005
14212
  # can be detected and how.
16006
 
  cat >conftest.$ac_ext <<_ACEOF
16007
 
/* confdefs.h.  */
16008
 
_ACEOF
16009
 
cat confdefs.h >>conftest.$ac_ext
16010
 
cat >>conftest.$ac_ext <<_ACEOF
 
14213
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011
14214
/* end confdefs.h.  */
16012
14215
#include <ac_nonexistent.h>
16013
14216
_ACEOF
16014
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16015
 
case "(($ac_try" in
16016
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16017
 
  *) ac_try_echo=$ac_try;;
16018
 
esac
16019
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16020
 
$as_echo "$ac_try_echo") >&5
16021
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16022
 
  ac_status=$?
16023
 
  grep -v '^ *+' conftest.er1 >conftest.err
16024
 
  rm -f conftest.er1
16025
 
  cat conftest.err >&5
16026
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027
 
  (exit $ac_status); } >/dev/null && {
16028
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16029
 
         test ! -s conftest.err
16030
 
       }; then
 
14217
if ac_fn_cxx_try_cpp "$LINENO"; then :
16031
14218
  # Broken: success on invalid input.
16032
14219
continue
16033
14220
else
16034
 
  $as_echo "$as_me: failed program was:" >&5
16035
 
sed 's/^/| /' conftest.$ac_ext >&5
16036
 
 
16037
14221
  # Passes both tests.
16038
14222
ac_preproc_ok=:
16039
14223
break
16040
14224
fi
16041
 
 
16042
14225
rm -f conftest.err conftest.$ac_ext
16043
14226
 
16044
14227
done
16045
14228
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16046
14229
rm -f conftest.err conftest.$ac_ext
16047
 
if $ac_preproc_ok; then
 
14230
if $ac_preproc_ok; then :
16048
14231
  break
16049
14232
fi
16050
14233
 
16056
14239
else
16057
14240
  ac_cv_prog_CXXCPP=$CXXCPP
16058
14241
fi
16059
 
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
 
14242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
16060
14243
$as_echo "$CXXCPP" >&6; }
16061
14244
ac_preproc_ok=false
16062
14245
for ac_cxx_preproc_warn_flag in '' yes
16067
14250
  # <limits.h> exists even on freestanding compilers.
16068
14251
  # On the NeXT, cc -E runs the code through the compiler's parser,
16069
14252
  # not just through cpp. "Syntax error" is here to catch this case.
16070
 
  cat >conftest.$ac_ext <<_ACEOF
16071
 
/* confdefs.h.  */
16072
 
_ACEOF
16073
 
cat confdefs.h >>conftest.$ac_ext
16074
 
cat >>conftest.$ac_ext <<_ACEOF
 
14253
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16075
14254
/* end confdefs.h.  */
16076
14255
#ifdef __STDC__
16077
14256
# include <limits.h>
16080
14259
#endif
16081
14260
                     Syntax error
16082
14261
_ACEOF
16083
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16084
 
case "(($ac_try" in
16085
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16086
 
  *) ac_try_echo=$ac_try;;
16087
 
esac
16088
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16089
 
$as_echo "$ac_try_echo") >&5
16090
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16091
 
  ac_status=$?
16092
 
  grep -v '^ *+' conftest.er1 >conftest.err
16093
 
  rm -f conftest.er1
16094
 
  cat conftest.err >&5
16095
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096
 
  (exit $ac_status); } >/dev/null && {
16097
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16098
 
         test ! -s conftest.err
16099
 
       }; then
16100
 
  :
 
14262
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
14263
 
16101
14264
else
16102
 
  $as_echo "$as_me: failed program was:" >&5
16103
 
sed 's/^/| /' conftest.$ac_ext >&5
16104
 
 
16105
14265
  # Broken: fails on valid input.
16106
14266
continue
16107
14267
fi
16108
 
 
16109
14268
rm -f conftest.err conftest.$ac_ext
16110
14269
 
16111
14270
  # OK, works on sane cases.  Now check whether nonexistent headers
16112
14271
  # can be detected and how.
16113
 
  cat >conftest.$ac_ext <<_ACEOF
16114
 
/* confdefs.h.  */
16115
 
_ACEOF
16116
 
cat confdefs.h >>conftest.$ac_ext
16117
 
cat >>conftest.$ac_ext <<_ACEOF
 
14272
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16118
14273
/* end confdefs.h.  */
16119
14274
#include <ac_nonexistent.h>
16120
14275
_ACEOF
16121
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
16122
 
case "(($ac_try" in
16123
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16124
 
  *) ac_try_echo=$ac_try;;
16125
 
esac
16126
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16127
 
$as_echo "$ac_try_echo") >&5
16128
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16129
 
  ac_status=$?
16130
 
  grep -v '^ *+' conftest.er1 >conftest.err
16131
 
  rm -f conftest.er1
16132
 
  cat conftest.err >&5
16133
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16134
 
  (exit $ac_status); } >/dev/null && {
16135
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
16136
 
         test ! -s conftest.err
16137
 
       }; then
 
14276
if ac_fn_cxx_try_cpp "$LINENO"; then :
16138
14277
  # Broken: success on invalid input.
16139
14278
continue
16140
14279
else
16141
 
  $as_echo "$as_me: failed program was:" >&5
16142
 
sed 's/^/| /' conftest.$ac_ext >&5
16143
 
 
16144
14280
  # Passes both tests.
16145
14281
ac_preproc_ok=:
16146
14282
break
16147
14283
fi
16148
 
 
16149
14284
rm -f conftest.err conftest.$ac_ext
16150
14285
 
16151
14286
done
16152
14287
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16153
14288
rm -f conftest.err conftest.$ac_ext
16154
 
if $ac_preproc_ok; then
16155
 
  :
 
14289
if $ac_preproc_ok; then :
 
14290
 
16156
14291
else
16157
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
14292
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16158
14293
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16159
14294
_lt_caught_CXX_error=yes; }
16160
14295
fi
16297
14432
 
16298
14433
 
16299
14434
# Check whether --with-gnu-ld was given.
16300
 
if test "${with_gnu_ld+set}" = set; then
 
14435
if test "${with_gnu_ld+set}" = set; then :
16301
14436
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16302
14437
else
16303
14438
  with_gnu_ld=no
16306
14441
ac_prog=ld
16307
14442
if test "$GCC" = yes; then
16308
14443
  # Check if gcc -print-prog-name=ld gives a path.
16309
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
14444
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
16310
14445
$as_echo_n "checking for ld used by $CC... " >&6; }
16311
14446
  case $host in
16312
14447
  *-*-mingw*)
16336
14471
    ;;
16337
14472
  esac
16338
14473
elif test "$with_gnu_ld" = yes; then
16339
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
14474
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16340
14475
$as_echo_n "checking for GNU ld... " >&6; }
16341
14476
else
16342
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
14477
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16343
14478
$as_echo_n "checking for non-GNU ld... " >&6; }
16344
14479
fi
16345
 
if test "${lt_cv_path_LD+set}" = set; then
 
14480
if test "${lt_cv_path_LD+set}" = set; then :
16346
14481
  $as_echo_n "(cached) " >&6
16347
14482
else
16348
14483
  if test -z "$LD"; then
16373
14508
 
16374
14509
LD="$lt_cv_path_LD"
16375
14510
if test -n "$LD"; then
16376
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
14511
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16377
14512
$as_echo "$LD" >&6; }
16378
14513
else
16379
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
14514
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16380
14515
$as_echo "no" >&6; }
16381
14516
fi
16382
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16383
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16384
 
   { (exit 1); exit 1; }; }
16385
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
14517
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
 
14518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16386
14519
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16387
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
14520
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
16388
14521
  $as_echo_n "(cached) " >&6
16389
14522
else
16390
14523
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
16397
14530
  ;;
16398
14531
esac
16399
14532
fi
16400
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
14533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
16401
14534
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
16402
14535
with_gnu_ld=$lt_cv_prog_gnu_ld
16403
14536
 
16452
14585
    fi
16453
14586
 
16454
14587
    # PORTME: fill in a description of your system's C++ link characteristics
16455
 
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
14588
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16456
14589
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16457
14590
    ld_shlibs_CXX=yes
16458
14591
    case $host_os in
16553
14686
          allow_undefined_flag_CXX='-berok'
16554
14687
          # Determine the default libpath from the value encoded in an empty
16555
14688
          # executable.
16556
 
          cat >conftest.$ac_ext <<_ACEOF
16557
 
/* confdefs.h.  */
16558
 
_ACEOF
16559
 
cat confdefs.h >>conftest.$ac_ext
16560
 
cat >>conftest.$ac_ext <<_ACEOF
 
14689
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561
14690
/* end confdefs.h.  */
16562
14691
 
16563
14692
int
16568
14697
  return 0;
16569
14698
}
16570
14699
_ACEOF
16571
 
rm -f conftest.$ac_objext conftest$ac_exeext
16572
 
if { (ac_try="$ac_link"
16573
 
case "(($ac_try" in
16574
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16575
 
  *) ac_try_echo=$ac_try;;
16576
 
esac
16577
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16578
 
$as_echo "$ac_try_echo") >&5
16579
 
  (eval "$ac_link") 2>conftest.er1
16580
 
  ac_status=$?
16581
 
  grep -v '^ *+' conftest.er1 >conftest.err
16582
 
  rm -f conftest.er1
16583
 
  cat conftest.err >&5
16584
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585
 
  (exit $ac_status); } && {
16586
 
         test -z "$ac_cxx_werror_flag" ||
16587
 
         test ! -s conftest.err
16588
 
       } && test -s conftest$ac_exeext && {
16589
 
         test "$cross_compiling" = yes ||
16590
 
         $as_test_x conftest$ac_exeext
16591
 
       }; then
 
14700
if ac_fn_cxx_try_link "$LINENO"; then :
16592
14701
 
16593
14702
lt_aix_libpath_sed='
16594
14703
    /Import File Strings/,/^$/ {
16602
14711
if test -z "$aix_libpath"; then
16603
14712
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16604
14713
fi
16605
 
else
16606
 
  $as_echo "$as_me: failed program was:" >&5
16607
 
sed 's/^/| /' conftest.$ac_ext >&5
16608
 
 
16609
 
 
16610
14714
fi
16611
 
 
16612
 
rm -rf conftest.dSYM
16613
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16614
 
      conftest$ac_exeext conftest.$ac_ext
 
14715
rm -f core conftest.err conftest.$ac_objext \
 
14716
    conftest$ac_exeext conftest.$ac_ext
16615
14717
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16616
14718
 
16617
14719
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16625
14727
          else
16626
14728
            # Determine the default libpath from the value encoded in an
16627
14729
            # empty executable.
16628
 
            cat >conftest.$ac_ext <<_ACEOF
16629
 
/* confdefs.h.  */
16630
 
_ACEOF
16631
 
cat confdefs.h >>conftest.$ac_ext
16632
 
cat >>conftest.$ac_ext <<_ACEOF
 
14730
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633
14731
/* end confdefs.h.  */
16634
14732
 
16635
14733
int
16640
14738
  return 0;
16641
14739
}
16642
14740
_ACEOF
16643
 
rm -f conftest.$ac_objext conftest$ac_exeext
16644
 
if { (ac_try="$ac_link"
16645
 
case "(($ac_try" in
16646
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16647
 
  *) ac_try_echo=$ac_try;;
16648
 
esac
16649
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16650
 
$as_echo "$ac_try_echo") >&5
16651
 
  (eval "$ac_link") 2>conftest.er1
16652
 
  ac_status=$?
16653
 
  grep -v '^ *+' conftest.er1 >conftest.err
16654
 
  rm -f conftest.er1
16655
 
  cat conftest.err >&5
16656
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657
 
  (exit $ac_status); } && {
16658
 
         test -z "$ac_cxx_werror_flag" ||
16659
 
         test ! -s conftest.err
16660
 
       } && test -s conftest$ac_exeext && {
16661
 
         test "$cross_compiling" = yes ||
16662
 
         $as_test_x conftest$ac_exeext
16663
 
       }; then
 
14741
if ac_fn_cxx_try_link "$LINENO"; then :
16664
14742
 
16665
14743
lt_aix_libpath_sed='
16666
14744
    /Import File Strings/,/^$/ {
16674
14752
if test -z "$aix_libpath"; then
16675
14753
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16676
14754
fi
16677
 
else
16678
 
  $as_echo "$as_me: failed program was:" >&5
16679
 
sed 's/^/| /' conftest.$ac_ext >&5
16680
 
 
16681
 
 
16682
14755
fi
16683
 
 
16684
 
rm -rf conftest.dSYM
16685
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16686
 
      conftest$ac_exeext conftest.$ac_ext
 
14756
rm -f core conftest.err conftest.$ac_objext \
 
14757
    conftest$ac_exeext conftest.$ac_ext
16687
14758
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16688
14759
 
16689
14760
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17427
15498
        ;;
17428
15499
    esac
17429
15500
 
17430
 
    { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
15501
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17431
15502
$as_echo "$ld_shlibs_CXX" >&6; }
17432
15503
    test "$ld_shlibs_CXX" = no && can_build_shared=no
17433
15504
 
17455
15526
};
17456
15527
_LT_EOF
17457
15528
 
17458
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15529
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17459
15530
  (eval $ac_compile) 2>&5
17460
15531
  ac_status=$?
17461
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462
 
  (exit $ac_status); }; then
 
15532
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15533
  test $ac_status = 0; }; then
17463
15534
  # Parse the compiler output and extract the necessary
17464
15535
  # objects, libraries and library flags.
17465
15536
 
17640
15711
lt_prog_compiler_pic_CXX=
17641
15712
lt_prog_compiler_static_CXX=
17642
15713
 
17643
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
15714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17644
15715
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17645
15716
 
17646
15717
  # C++ specific cases for pic, static, wl, etc.
17957
16028
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17958
16029
    ;;
17959
16030
esac
17960
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 
16031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
17961
16032
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
17962
16033
 
17963
16034
 
17966
16037
# Check to make sure the PIC flag actually works.
17967
16038
#
17968
16039
if test -n "$lt_prog_compiler_pic_CXX"; then
17969
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
16040
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17970
16041
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17971
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 
16042
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
17972
16043
  $as_echo_n "(cached) " >&6
17973
16044
else
17974
16045
  lt_cv_prog_compiler_pic_works_CXX=no
17984
16055
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17985
16056
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17986
16057
   -e 's:$: $lt_compiler_flag:'`
17987
 
   (eval echo "\"\$as_me:17987: $lt_compile\"" >&5)
 
16058
   (eval echo "\"\$as_me:16058: $lt_compile\"" >&5)
17988
16059
   (eval "$lt_compile" 2>conftest.err)
17989
16060
   ac_status=$?
17990
16061
   cat conftest.err >&5
17991
 
   echo "$as_me:17991: \$? = $ac_status" >&5
 
16062
   echo "$as_me:16062: \$? = $ac_status" >&5
17992
16063
   if (exit $ac_status) && test -s "$ac_outfile"; then
17993
16064
     # The compiler can only warn and ignore the option if not recognized
17994
16065
     # So say no if there are warnings other than the usual output.
18001
16072
   $RM conftest*
18002
16073
 
18003
16074
fi
18004
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
16075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
18005
16076
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
18006
16077
 
18007
16078
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
18022
16093
# Check to make sure the static flag actually works.
18023
16094
#
18024
16095
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
18025
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
16096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18026
16097
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18027
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 
16098
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
18028
16099
  $as_echo_n "(cached) " >&6
18029
16100
else
18030
16101
  lt_cv_prog_compiler_static_works_CXX=no
18050
16121
   LDFLAGS="$save_LDFLAGS"
18051
16122
 
18052
16123
fi
18053
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
16124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
18054
16125
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
18055
16126
 
18056
16127
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
18062
16133
 
18063
16134
 
18064
16135
 
18065
 
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16136
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18066
16137
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18067
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
16138
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
18068
16139
  $as_echo_n "(cached) " >&6
18069
16140
else
18070
16141
  lt_cv_prog_compiler_c_o_CXX=no
18083
16154
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18084
16155
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18085
16156
   -e 's:$: $lt_compiler_flag:'`
18086
 
   (eval echo "\"\$as_me:18086: $lt_compile\"" >&5)
 
16157
   (eval echo "\"\$as_me:16157: $lt_compile\"" >&5)
18087
16158
   (eval "$lt_compile" 2>out/conftest.err)
18088
16159
   ac_status=$?
18089
16160
   cat out/conftest.err >&5
18090
 
   echo "$as_me:18090: \$? = $ac_status" >&5
 
16161
   echo "$as_me:16161: \$? = $ac_status" >&5
18091
16162
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18092
16163
   then
18093
16164
     # The compiler can only warn and ignore the option if not recognized
18109
16180
   $RM conftest*
18110
16181
 
18111
16182
fi
18112
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18113
16184
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18114
16185
 
18115
16186
 
18116
16187
 
18117
 
    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
16188
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18118
16189
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18119
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 
16190
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
18120
16191
  $as_echo_n "(cached) " >&6
18121
16192
else
18122
16193
  lt_cv_prog_compiler_c_o_CXX=no
18135
16206
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18136
16207
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18137
16208
   -e 's:$: $lt_compiler_flag:'`
18138
 
   (eval echo "\"\$as_me:18138: $lt_compile\"" >&5)
 
16209
   (eval echo "\"\$as_me:16209: $lt_compile\"" >&5)
18139
16210
   (eval "$lt_compile" 2>out/conftest.err)
18140
16211
   ac_status=$?
18141
16212
   cat out/conftest.err >&5
18142
 
   echo "$as_me:18142: \$? = $ac_status" >&5
 
16213
   echo "$as_me:16213: \$? = $ac_status" >&5
18143
16214
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18144
16215
   then
18145
16216
     # The compiler can only warn and ignore the option if not recognized
18161
16232
   $RM conftest*
18162
16233
 
18163
16234
fi
18164
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
16235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
18165
16236
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
18166
16237
 
18167
16238
 
18170
16241
hard_links="nottested"
18171
16242
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
18172
16243
  # do not overwrite the value of need_locks provided by the user
18173
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
16244
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
18174
16245
$as_echo_n "checking if we can lock with hard links... " >&6; }
18175
16246
  hard_links=yes
18176
16247
  $RM conftest*
18178
16249
  touch conftest.a
18179
16250
  ln conftest.a conftest.b 2>&5 || hard_links=no
18180
16251
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18181
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
16252
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
18182
16253
$as_echo "$hard_links" >&6; }
18183
16254
  if test "$hard_links" = no; then
18184
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
16255
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18185
16256
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18186
16257
    need_locks=warn
18187
16258
  fi
18191
16262
 
18192
16263
 
18193
16264
 
18194
 
    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
16265
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18195
16266
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18196
16267
 
18197
16268
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18217
16288
  esac
18218
16289
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18219
16290
 
18220
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 
16291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18221
16292
$as_echo "$ld_shlibs_CXX" >&6; }
18222
16293
test "$ld_shlibs_CXX" = no && can_build_shared=no
18223
16294
 
18245
16316
      # Test whether the compiler implicitly links with -lc since on some
18246
16317
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18247
16318
      # to ld, don't add -lc before -lgcc.
18248
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
16319
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18249
16320
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18250
16321
      $RM conftest*
18251
16322
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18252
16323
 
18253
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
16324
      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18254
16325
  (eval $ac_compile) 2>&5
18255
16326
  ac_status=$?
18256
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257
 
  (exit $ac_status); } 2>conftest.err; then
 
16327
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16328
  test $ac_status = 0; } 2>conftest.err; then
18258
16329
        soname=conftest
18259
16330
        lib=conftest
18260
16331
        libobjs=conftest.$ac_objext
18268
16339
        libname=conftest
18269
16340
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
18270
16341
        allow_undefined_flag_CXX=
18271
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
16342
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18272
16343
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
18273
16344
  ac_status=$?
18274
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275
 
  (exit $ac_status); }
 
16345
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
16346
  test $ac_status = 0; }
18276
16347
        then
18277
16348
          archive_cmds_need_lc_CXX=no
18278
16349
        else
18283
16354
        cat conftest.err 1>&5
18284
16355
      fi
18285
16356
      $RM conftest*
18286
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 
16357
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
18287
16358
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
18288
16359
      ;;
18289
16360
    esac
18354
16425
 
18355
16426
 
18356
16427
 
18357
 
    { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
16428
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
18358
16429
$as_echo_n "checking dynamic linker characteristics... " >&6; }
18359
16430
 
18360
16431
library_names_spec=
18724
16795
  save_libdir=$libdir
18725
16796
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
18726
16797
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
18727
 
  cat >conftest.$ac_ext <<_ACEOF
18728
 
/* confdefs.h.  */
18729
 
_ACEOF
18730
 
cat confdefs.h >>conftest.$ac_ext
18731
 
cat >>conftest.$ac_ext <<_ACEOF
 
16798
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18732
16799
/* end confdefs.h.  */
18733
16800
 
18734
16801
int
18739
16806
  return 0;
18740
16807
}
18741
16808
_ACEOF
18742
 
rm -f conftest.$ac_objext conftest$ac_exeext
18743
 
if { (ac_try="$ac_link"
18744
 
case "(($ac_try" in
18745
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18746
 
  *) ac_try_echo=$ac_try;;
18747
 
esac
18748
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18749
 
$as_echo "$ac_try_echo") >&5
18750
 
  (eval "$ac_link") 2>conftest.er1
18751
 
  ac_status=$?
18752
 
  grep -v '^ *+' conftest.er1 >conftest.err
18753
 
  rm -f conftest.er1
18754
 
  cat conftest.err >&5
18755
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756
 
  (exit $ac_status); } && {
18757
 
         test -z "$ac_cxx_werror_flag" ||
18758
 
         test ! -s conftest.err
18759
 
       } && test -s conftest$ac_exeext && {
18760
 
         test "$cross_compiling" = yes ||
18761
 
         $as_test_x conftest$ac_exeext
18762
 
       }; then
18763
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
16809
if ac_fn_cxx_try_link "$LINENO"; then :
 
16810
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
18764
16811
  shlibpath_overrides_runpath=yes
18765
16812
fi
18766
 
 
18767
 
else
18768
 
  $as_echo "$as_me: failed program was:" >&5
18769
 
sed 's/^/| /' conftest.$ac_ext >&5
18770
 
 
18771
 
 
18772
16813
fi
18773
 
 
18774
 
rm -rf conftest.dSYM
18775
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18776
 
      conftest$ac_exeext conftest.$ac_ext
 
16814
rm -f core conftest.err conftest.$ac_objext \
 
16815
    conftest$ac_exeext conftest.$ac_ext
18777
16816
  LDFLAGS=$save_LDFLAGS
18778
16817
  libdir=$save_libdir
18779
16818
 
18985
17024
  dynamic_linker=no
18986
17025
  ;;
18987
17026
esac
18988
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
17027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18989
17028
$as_echo "$dynamic_linker" >&6; }
18990
17029
test "$dynamic_linker" = no && can_build_shared=no
18991
17030
 
19036
17075
 
19037
17076
 
19038
17077
 
19039
 
    { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
17078
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19040
17079
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19041
17080
hardcode_action_CXX=
19042
17081
if test -n "$hardcode_libdir_flag_spec_CXX" ||
19061
17100
  # directories.
19062
17101
  hardcode_action_CXX=unsupported
19063
17102
fi
19064
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 
17103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
19065
17104
$as_echo "$hardcode_action_CXX" >&6; }
19066
17105
 
19067
17106
if test "$hardcode_action_CXX" = relink ||
19101
17140
 
19102
17141
 
19103
17142
 
 
17143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
17144
$as_echo_n "checking whether ln -s works... " >&6; }
 
17145
LN_S=$as_ln_s
 
17146
if test "$LN_S" = "ln -s"; then
 
17147
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17148
$as_echo "yes" >&6; }
 
17149
else
 
17150
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
17151
$as_echo "no, using $LN_S" >&6; }
 
17152
fi
 
17153
 
 
17154
 
 
17155
# Check whether --with-ln-s was given.
 
17156
if test "${with_ln_s+set}" = set; then :
 
17157
  withval=$with_ln_s;
 
17158
fi
 
17159
if test "x$LN_S" != "xln -s" && test "x$with_ln_s" != xno; then
 
17160
  as_fn_error "You could use \`--without-ln-s' to build without working \`ln -s'" "$LINENO" 5
 
17161
fi
 
17162
 
 
17163
if test "x$mandir" = 'x${datarootdir}/man'; then
 
17164
  mandir='${prefix}/texmf/doc/man'
 
17165
  ac_configure_args="$ac_configure_args '--mandir=$mandir'"
 
17166
fi
 
17167
 
 
17168
if test "x$infodir" = 'x${datarootdir}/info'; then
 
17169
  infodir='${prefix}/texmf/doc/info'
 
17170
  ac_configure_args="$ac_configure_args '--infodir=$infodir'"
 
17171
fi
 
17172
 
19104
17173
if test "x$enable_web2c" = xyes && test "x$with_system_kpathsea" = xyes; then
19105
17174
  if test "x$with_kpathsea_includes" = x; then
19106
17175
    list="/usr/include /usr/local/include"
19115
17184
    fi
19116
17185
  done
19117
17186
  if test "x$found" = xno; then
19118
 
    { $as_echo "$as_me:$LINENO: You requested to build \`web2c' using an installed \`kpathsea' version," >&5
 
17187
    { $as_echo "$as_me:${as_lineno-$LINENO}: You requested to build \`web2c' using an installed \`kpathsea' version," >&5
19119
17188
$as_echo "$as_me: You requested to build \`web2c' using an installed \`kpathsea' version," >&6;}
19120
 
    { $as_echo "$as_me:$LINENO:     which requires to locate the <kpathsea/paths.h> header file." >&5
 
17189
    { $as_echo "$as_me:${as_lineno-$LINENO}:     which requires to locate the <kpathsea/paths.h> header file." >&5
19121
17190
$as_echo "$as_me:     which requires to locate the <kpathsea/paths.h> header file." >&6;}
19122
 
    { { $as_echo "$as_me:$LINENO: error: Sorry, not found under any of: $list *****" >&5
19123
 
$as_echo "$as_me: error: Sorry, not found under any of: $list *****" >&2;}
19124
 
   { (exit 1); exit 1; }; }
19125
 
  fi
19126
 
fi
 
17191
    as_fn_error "Sorry, not found under any of: $list *****" "$LINENO" 5
 
17192
  fi
 
17193
fi
 
17194
 
 
17195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TeX specific libraries to build" >&5
 
17196
$as_echo_n "checking for TeX specific libraries to build... " >&6; }
 
17197
TEXLIBS=
 
17198
DIST_TEXLIBS=
 
17199
 
 
17200
 
 
17201
 
 
17202
if test -x $srcdir/texk/ptexenc/configure; then
 
17203
  if test "x$with_system_ptexenc" != xyes && \
 
17204
     test "x$need_ptexenc" = xyes; then
 
17205
    TEXLIBS="texk/ptexenc $TEXLIBS"
 
17206
  fi
 
17207
  DIST_TEXLIBS="texk/ptexenc $DIST_TEXLIBS"
 
17208
  if false; then
 
17209
    subdirs="$subdirs texk/ptexenc"
 
17210
 
 
17211
  fi
 
17212
fi
 
17213
 
 
17214
 
 
17215
if test -x $srcdir/texk/kpathsea/configure; then
 
17216
  if test "x$with_system_kpathsea" != xyes && \
 
17217
     test "x$need_kpathsea" = xyes; then
 
17218
    TEXLIBS="texk/kpathsea $TEXLIBS"
 
17219
  fi
 
17220
  DIST_TEXLIBS="texk/kpathsea $DIST_TEXLIBS"
 
17221
  if false; then
 
17222
    subdirs="$subdirs texk/kpathsea"
 
17223
 
 
17224
  fi
 
17225
fi
 
17226
 
 
17227
 
 
17228
 
 
17229
 
 
17230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEXLIBS" >&5
 
17231
$as_echo "$TEXLIBS" >&6; }
 
17232
 
 
17233
kpse_save_CPPFLAGS=$CPPFLAGS
 
17234
kpse_save_LIBS=$LIBS
19127
17235
 
19128
17236
syslib_status=yes
 
17237
syslib_used=no
 
17238
if test "x$with_kpathsea_includes" != x && test "x$with_kpathsea_includes" != xyes; then
 
17239
  KPATHSEA_INCLUDES="-I$with_kpathsea_includes"
 
17240
fi
 
17241
KPATHSEA_LIBS="-lkpathsea"
 
17242
if test "x$with_kpathsea_libdir" != x && test "x$with_kpathsea_libdir" != xyes; then
 
17243
  KPATHSEA_LIBS="-L$with_kpathsea_libdir $KPATHSEA_LIBS"
 
17244
fi
 
17245
 
 
17246
if test "x$with_ptexenc_includes" != x && test "x$with_ptexenc_includes" != xyes; then
 
17247
  PTEXENC_INCLUDES="-I$with_ptexenc_includes"
 
17248
fi
 
17249
PTEXENC_LIBS="-lptexenc"
 
17250
if test "x$with_ptexenc_libdir" != x && test "x$with_ptexenc_libdir" != xyes; then
 
17251
  PTEXENC_LIBS="-L$with_ptexenc_libdir $PTEXENC_LIBS"
 
17252
fi
 
17253
 
19129
17254
if test "x$with_zlib_includes" != x && test "x$with_zlib_includes" != xyes; then
19130
17255
  ZLIB_INCLUDES="-I$with_zlib_includes"
19131
17256
fi
19161
17286
if test -n "$ac_tool_prefix"; then
19162
17287
  # Extract the first word of "${ac_tool_prefix}freetype-config", so it can be a program name with args.
19163
17288
set dummy ${ac_tool_prefix}freetype-config; ac_word=$2
19164
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19165
17290
$as_echo_n "checking for $ac_word... " >&6; }
19166
 
if test "${ac_cv_prog_FT2_CONFIG+set}" = set; then
 
17291
if test "${ac_cv_prog_FT2_CONFIG+set}" = set; then :
19167
17292
  $as_echo_n "(cached) " >&6
19168
17293
else
19169
17294
  if test -n "$FT2_CONFIG"; then
19174
17299
do
19175
17300
  IFS=$as_save_IFS
19176
17301
  test -z "$as_dir" && as_dir=.
19177
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17302
    for ac_exec_ext in '' $ac_executable_extensions; do
19178
17303
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19179
17304
    ac_cv_prog_FT2_CONFIG="${ac_tool_prefix}freetype-config"
19180
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17305
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19181
17306
    break 2
19182
17307
  fi
19183
17308
done
19184
 
done
 
17309
  done
19185
17310
IFS=$as_save_IFS
19186
17311
 
19187
17312
fi
19188
17313
fi
19189
17314
FT2_CONFIG=$ac_cv_prog_FT2_CONFIG
19190
17315
if test -n "$FT2_CONFIG"; then
19191
 
  { $as_echo "$as_me:$LINENO: result: $FT2_CONFIG" >&5
 
17316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
19192
17317
$as_echo "$FT2_CONFIG" >&6; }
19193
17318
else
19194
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17319
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19195
17320
$as_echo "no" >&6; }
19196
17321
fi
19197
17322
 
19201
17326
  ac_ct_FT2_CONFIG=$FT2_CONFIG
19202
17327
  # Extract the first word of "freetype-config", so it can be a program name with args.
19203
17328
set dummy freetype-config; ac_word=$2
19204
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19205
17330
$as_echo_n "checking for $ac_word... " >&6; }
19206
 
if test "${ac_cv_prog_ac_ct_FT2_CONFIG+set}" = set; then
 
17331
if test "${ac_cv_prog_ac_ct_FT2_CONFIG+set}" = set; then :
19207
17332
  $as_echo_n "(cached) " >&6
19208
17333
else
19209
17334
  if test -n "$ac_ct_FT2_CONFIG"; then
19214
17339
do
19215
17340
  IFS=$as_save_IFS
19216
17341
  test -z "$as_dir" && as_dir=.
19217
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17342
    for ac_exec_ext in '' $ac_executable_extensions; do
19218
17343
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19219
17344
    ac_cv_prog_ac_ct_FT2_CONFIG="freetype-config"
19220
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17345
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19221
17346
    break 2
19222
17347
  fi
19223
17348
done
19224
 
done
 
17349
  done
19225
17350
IFS=$as_save_IFS
19226
17351
 
19227
17352
fi
19228
17353
fi
19229
17354
ac_ct_FT2_CONFIG=$ac_cv_prog_ac_ct_FT2_CONFIG
19230
17355
if test -n "$ac_ct_FT2_CONFIG"; then
19231
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_FT2_CONFIG" >&5
 
17356
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FT2_CONFIG" >&5
19232
17357
$as_echo "$ac_ct_FT2_CONFIG" >&6; }
19233
17358
else
19234
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17359
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19235
17360
$as_echo "no" >&6; }
19236
17361
fi
19237
17362
 
19240
17365
  else
19241
17366
    case $cross_compiling:$ac_tool_warned in
19242
17367
yes:)
19243
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
17368
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19244
17369
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19245
17370
ac_tool_warned=yes ;;
19246
17371
esac
19253
17378
if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
19254
17379
  FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
19255
17380
  FREETYPE2_LIBS=`$FT2_CONFIG --libs`
19256
 
elif test "x$need_freetype2:$with_system_freetype2" = 'xyes:yes'; then
19257
 
  { { $as_echo "$as_me:$LINENO: error: did not find freetype-config required for system freetype2 library" >&5
19258
 
$as_echo "$as_me: error: did not find freetype-config required for system freetype2 library" >&2;}
19259
 
   { (exit 1); exit 1; }; }
 
17381
elif test "x$need_freetype2:$with_system_freetype2" = xyes:yes; then
 
17382
  as_fn_error "did not find freetype-config required for system freetype2 library" "$LINENO" 5
19260
17383
fi
19261
17384
 
19262
17385
if test "x$with_gd_includes" != x && test "x$with_gd_includes" != xyes; then
19270
17393
if test -n "$ac_tool_prefix"; then
19271
17394
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19272
17395
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19273
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19274
17397
$as_echo_n "checking for $ac_word... " >&6; }
19275
 
if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
 
17398
if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
19276
17399
  $as_echo_n "(cached) " >&6
19277
17400
else
19278
17401
  if test -n "$PKG_CONFIG"; then
19283
17406
do
19284
17407
  IFS=$as_save_IFS
19285
17408
  test -z "$as_dir" && as_dir=.
19286
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17409
    for ac_exec_ext in '' $ac_executable_extensions; do
19287
17410
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19288
17411
    ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
19289
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17412
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19290
17413
    break 2
19291
17414
  fi
19292
17415
done
19293
 
done
 
17416
  done
19294
17417
IFS=$as_save_IFS
19295
17418
 
19296
17419
fi
19297
17420
fi
19298
17421
PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
19299
17422
if test -n "$PKG_CONFIG"; then
19300
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
17423
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19301
17424
$as_echo "$PKG_CONFIG" >&6; }
19302
17425
else
19303
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17426
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19304
17427
$as_echo "no" >&6; }
19305
17428
fi
19306
17429
 
19310
17433
  ac_ct_PKG_CONFIG=$PKG_CONFIG
19311
17434
  # Extract the first word of "pkg-config", so it can be a program name with args.
19312
17435
set dummy pkg-config; ac_word=$2
19313
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
17436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19314
17437
$as_echo_n "checking for $ac_word... " >&6; }
19315
 
if test "${ac_cv_prog_ac_ct_PKG_CONFIG+set}" = set; then
 
17438
if test "${ac_cv_prog_ac_ct_PKG_CONFIG+set}" = set; then :
19316
17439
  $as_echo_n "(cached) " >&6
19317
17440
else
19318
17441
  if test -n "$ac_ct_PKG_CONFIG"; then
19323
17446
do
19324
17447
  IFS=$as_save_IFS
19325
17448
  test -z "$as_dir" && as_dir=.
19326
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
17449
    for ac_exec_ext in '' $ac_executable_extensions; do
19327
17450
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19328
17451
    ac_cv_prog_ac_ct_PKG_CONFIG="pkg-config"
19329
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17452
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19330
17453
    break 2
19331
17454
  fi
19332
17455
done
19333
 
done
 
17456
  done
19334
17457
IFS=$as_save_IFS
19335
17458
 
19336
17459
fi
19337
17460
fi
19338
17461
ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG
19339
17462
if test -n "$ac_ct_PKG_CONFIG"; then
19340
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_PKG_CONFIG" >&5
 
17463
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
19341
17464
$as_echo "$ac_ct_PKG_CONFIG" >&6; }
19342
17465
else
19343
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
17466
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19344
17467
$as_echo "no" >&6; }
19345
17468
fi
19346
17469
 
19349
17472
  else
19350
17473
    case $cross_compiling:$ac_tool_warned in
19351
17474
yes:)
19352
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
17475
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19353
17476
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19354
17477
ac_tool_warned=yes ;;
19355
17478
esac
19363
17486
  POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
19364
17487
  XPDF_INCLUDES="$POPPLER_VERSION `$PKG_CONFIG poppler --cflags`"
19365
17488
  XPDF_LIBS=`$PKG_CONFIG poppler --libs`
19366
 
elif test "x$need_xpdf:$with_system_xpdf" = 'xyes:yes'; then
19367
 
  { { $as_echo "$as_me:$LINENO: error: did not find poppler-0.10 or better" >&5
19368
 
$as_echo "$as_me: error: did not find poppler-0.10 or better" >&2;}
19369
 
   { (exit 1); exit 1; }; }
19370
 
fi
19371
 
 
19372
 
if test "x$with_graphite_includes" != x && test "x$with_graphite_includes" != xyes; then
19373
 
  GRAPHITE_INCLUDES="-I$with_graphite_includes"
19374
 
fi
19375
 
GRAPHITE_LIBS="-lgraphite"
19376
 
if test "x$with_graphite_libdir" != x && test "x$with_graphite_libdir" != xyes; then
19377
 
  GRAPHITE_LIBS="-L$with_graphite_libdir $GRAPHITE_LIBS"
 
17489
elif test "x$need_xpdf:$with_system_xpdf" = xyes:yes; then
 
17490
  as_fn_error "did not find poppler-0.10 or better" "$LINENO" 5
 
17491
fi
 
17492
 
 
17493
if $PKG_CONFIG zziplib --atleast-version=0.12; then
 
17494
  ZZIPLIB_INCLUDES=`$PKG_CONFIG zziplib --cflags`
 
17495
  ZZIPLIB_LIBS=`$PKG_CONFIG zziplib --libs`
 
17496
elif test "x$need_zziplib:$with_system_zziplib" = xyes:yes; then
 
17497
  as_fn_error "did not find zziplib-0.12 or better" "$LINENO" 5
 
17498
fi
 
17499
 
 
17500
if $PKG_CONFIG silgraphite --atleast-version=2.3; then
 
17501
  GRAPHITE_INCLUDES="`$PKG_CONFIG silgraphite --cflags`"
 
17502
  GRAPHITE_LIBS=`$PKG_CONFIG silgraphite --libs`
 
17503
elif test "x$need_graphite:$with_system_graphite" = xyes:yes; then
 
17504
  as_fn_error "did not find silgraphite 2.3 or better" "$LINENO" 5
19378
17505
fi
19379
17506
 
19380
17507
if test "x$with_teckit_includes" != x && test "x$with_teckit_includes" != xyes; then
19385
17512
  TECKIT_LIBS="-L$with_teckit_libdir $TECKIT_LIBS"
19386
17513
fi
19387
17514
 
19388
 
if test "x$with_kpathsea_includes" != x && test "x$with_kpathsea_includes" != xyes; then
19389
 
  KPATHSEA_INCLUDES="-I$with_kpathsea_includes"
19390
 
fi
19391
 
KPATHSEA_LIBS="-lkpathsea"
19392
 
if test "x$with_kpathsea_libdir" != x && test "x$with_kpathsea_libdir" != xyes; then
19393
 
  KPATHSEA_LIBS="-L$with_kpathsea_libdir $KPATHSEA_LIBS"
 
17515
if test -n "$ac_tool_prefix"; then
 
17516
  # Extract the first word of "${ac_tool_prefix}icu-config", so it can be a program name with args.
 
17517
set dummy ${ac_tool_prefix}icu-config; ac_word=$2
 
17518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17519
$as_echo_n "checking for $ac_word... " >&6; }
 
17520
if test "${ac_cv_prog_ICU_CONFIG+set}" = set; then :
 
17521
  $as_echo_n "(cached) " >&6
 
17522
else
 
17523
  if test -n "$ICU_CONFIG"; then
 
17524
  ac_cv_prog_ICU_CONFIG="$ICU_CONFIG" # Let the user override the test.
 
17525
else
 
17526
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17527
for as_dir in $PATH
 
17528
do
 
17529
  IFS=$as_save_IFS
 
17530
  test -z "$as_dir" && as_dir=.
 
17531
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17532
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17533
    ac_cv_prog_ICU_CONFIG="${ac_tool_prefix}icu-config"
 
17534
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17535
    break 2
 
17536
  fi
 
17537
done
 
17538
  done
 
17539
IFS=$as_save_IFS
 
17540
 
 
17541
fi
 
17542
fi
 
17543
ICU_CONFIG=$ac_cv_prog_ICU_CONFIG
 
17544
if test -n "$ICU_CONFIG"; then
 
17545
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICU_CONFIG" >&5
 
17546
$as_echo "$ICU_CONFIG" >&6; }
 
17547
else
 
17548
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17549
$as_echo "no" >&6; }
 
17550
fi
 
17551
 
 
17552
 
 
17553
fi
 
17554
if test -z "$ac_cv_prog_ICU_CONFIG"; then
 
17555
  ac_ct_ICU_CONFIG=$ICU_CONFIG
 
17556
  # Extract the first word of "icu-config", so it can be a program name with args.
 
17557
set dummy icu-config; ac_word=$2
 
17558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
17559
$as_echo_n "checking for $ac_word... " >&6; }
 
17560
if test "${ac_cv_prog_ac_ct_ICU_CONFIG+set}" = set; then :
 
17561
  $as_echo_n "(cached) " >&6
 
17562
else
 
17563
  if test -n "$ac_ct_ICU_CONFIG"; then
 
17564
  ac_cv_prog_ac_ct_ICU_CONFIG="$ac_ct_ICU_CONFIG" # Let the user override the test.
 
17565
else
 
17566
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
17567
for as_dir in $PATH
 
17568
do
 
17569
  IFS=$as_save_IFS
 
17570
  test -z "$as_dir" && as_dir=.
 
17571
    for ac_exec_ext in '' $ac_executable_extensions; do
 
17572
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
17573
    ac_cv_prog_ac_ct_ICU_CONFIG="icu-config"
 
17574
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
17575
    break 2
 
17576
  fi
 
17577
done
 
17578
  done
 
17579
IFS=$as_save_IFS
 
17580
 
 
17581
fi
 
17582
fi
 
17583
ac_ct_ICU_CONFIG=$ac_cv_prog_ac_ct_ICU_CONFIG
 
17584
if test -n "$ac_ct_ICU_CONFIG"; then
 
17585
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_ICU_CONFIG" >&5
 
17586
$as_echo "$ac_ct_ICU_CONFIG" >&6; }
 
17587
else
 
17588
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17589
$as_echo "no" >&6; }
 
17590
fi
 
17591
 
 
17592
  if test "x$ac_ct_ICU_CONFIG" = x; then
 
17593
    ICU_CONFIG="false"
 
17594
  else
 
17595
    case $cross_compiling:$ac_tool_warned in
 
17596
yes:)
 
17597
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
17598
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
17599
ac_tool_warned=yes ;;
 
17600
esac
 
17601
    ICU_CONFIG=$ac_ct_ICU_CONFIG
 
17602
  fi
 
17603
else
 
17604
  ICU_CONFIG="$ac_cv_prog_ICU_CONFIG"
 
17605
fi
 
17606
 
 
17607
if $ICU_CONFIG --version >/dev/null 2>&1; then
 
17608
  ICU_INCLUDES=`$ICU_CONFIG --cppflags`
 
17609
  # Work around bug in icu-config version 4.4
 
17610
  ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath `
 
17611
  ICU_LIBS="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly --ldflags-system`"
 
17612
elif test "x$need_icu:$with_system_icu" = xyes:yes; then
 
17613
  as_fn_error "did not find icu-config required for system icu libraries" "$LINENO" 5
 
17614
fi
 
17615
 
 
17616
 
 
17617
 
 
17618
 
 
17619
 
 
17620
 
 
17621
## texk/kpathsea/ac/kpathsea.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
 
17622
## basic check of system kpathsea
 
17623
if test "x$need_kpathsea:$with_system_kpathsea" = xyes:yes; then
 
17624
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`kpathsea' library" >&5
 
17625
$as_echo_n "checking requested system \`kpathsea' library... " >&6; }
 
17626
  CPPFLAGS="$KPATHSEA_INCLUDES $CPPFLAGS"
 
17627
  LIBS="$KPATHSEA_LIBS $LIBS"
 
17628
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17629
/* end confdefs.h.  */
 
17630
#include <kpathsea/kpathsea.h>
 
17631
#include <kpathsea/version.h>
 
17632
int
 
17633
main ()
 
17634
{
 
17635
const char *version = kpathsea_version_string;
 
17636
kpse_set_program_name("prog", "name");
 
17637
  ;
 
17638
  return 0;
 
17639
}
 
17640
_ACEOF
 
17641
if ac_fn_c_try_link "$LINENO"; then :
 
17642
  syslib_used=yes kpse_res=ok
 
17643
else
 
17644
  syslib_status=no kpse_res=failed
 
17645
fi
 
17646
rm -f core conftest.err conftest.$ac_objext \
 
17647
    conftest$ac_exeext conftest.$ac_ext
 
17648
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
 
17649
$as_echo "$kpse_res" >&6; }
19394
17650
fi
19395
17651
 
19396
17652
 
19397
17653
## libs/zlib/ac/zlib.ac: configure.ac fragment for the TeX Live subdirectory libs/zlib/
19398
 
## define required functions and headers from system zlib
19399
 
if test "x$need_zlib:$with_system_zlib" = 'xyes:yes'; then
19400
 
  { $as_echo "$as_me:$LINENO: checking requested system \`zlib' library..." >&5
19401
 
$as_echo "$as_me: checking requested system \`zlib' library..." >&6;}
 
17654
## basic check of system zlib
 
17655
if test "x$need_zlib:$with_system_zlib" = xyes:yes; then
 
17656
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`zlib' library" >&5
 
17657
$as_echo_n "checking requested system \`zlib' library... " >&6; }
19402
17658
  CPPFLAGS="$ZLIB_INCLUDES $CPPFLAGS"
19403
17659
  LIBS="$ZLIB_LIBS $LIBS"
19404
 
 
19405
 
for ac_func in inflate
19406
 
do
19407
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19408
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19409
 
$as_echo_n "checking for $ac_func... " >&6; }
19410
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19411
 
  $as_echo_n "(cached) " >&6
19412
 
else
19413
 
  cat >conftest.$ac_ext <<_ACEOF
19414
 
/* confdefs.h.  */
19415
 
_ACEOF
19416
 
cat confdefs.h >>conftest.$ac_ext
19417
 
cat >>conftest.$ac_ext <<_ACEOF
 
17660
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19418
17661
/* end confdefs.h.  */
19419
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19420
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19421
 
#define $ac_func innocuous_$ac_func
19422
 
 
19423
 
/* System header to define __stub macros and hopefully few prototypes,
19424
 
    which can conflict with char $ac_func (); below.
19425
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19426
 
    <limits.h> exists even on freestanding compilers.  */
19427
 
 
19428
 
#ifdef __STDC__
19429
 
# include <limits.h>
19430
 
#else
19431
 
# include <assert.h>
19432
 
#endif
19433
 
 
19434
 
#undef $ac_func
19435
 
 
19436
 
/* Override any GCC internal prototype to avoid an error.
19437
 
   Use char because int might match the return type of a GCC
19438
 
   builtin and then its argument prototype would still apply.  */
19439
 
#ifdef __cplusplus
19440
 
extern "C"
19441
 
#endif
19442
 
char $ac_func ();
19443
 
/* The GNU C library defines this for functions which it implements
19444
 
    to always fail with ENOSYS.  Some functions are actually named
19445
 
    something starting with __ and the normal name is an alias.  */
19446
 
#if defined __stub_$ac_func || defined __stub___$ac_func
19447
 
choke me
19448
 
#endif
19449
 
 
 
17662
#include <zlib.h>
19450
17663
int
19451
17664
main ()
19452
17665
{
19453
 
return $ac_func ();
 
17666
z_stream stream;
 
17667
const char *version = zlibVersion();
 
17668
deflate(&stream, 0);
19454
17669
  ;
19455
17670
  return 0;
19456
17671
}
19457
17672
_ACEOF
19458
 
rm -f conftest.$ac_objext conftest$ac_exeext
19459
 
if { (ac_try="$ac_link"
19460
 
case "(($ac_try" in
19461
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19462
 
  *) ac_try_echo=$ac_try;;
19463
 
esac
19464
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19465
 
$as_echo "$ac_try_echo") >&5
19466
 
  (eval "$ac_link") 2>conftest.er1
19467
 
  ac_status=$?
19468
 
  grep -v '^ *+' conftest.er1 >conftest.err
19469
 
  rm -f conftest.er1
19470
 
  cat conftest.err >&5
19471
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472
 
  (exit $ac_status); } && {
19473
 
         test -z "$ac_c_werror_flag" ||
19474
 
         test ! -s conftest.err
19475
 
       } && test -s conftest$ac_exeext && {
19476
 
         test "$cross_compiling" = yes ||
19477
 
         $as_test_x conftest$ac_exeext
19478
 
       }; then
19479
 
  eval "$as_ac_var=yes"
19480
 
else
19481
 
  $as_echo "$as_me: failed program was:" >&5
19482
 
sed 's/^/| /' conftest.$ac_ext >&5
19483
 
 
19484
 
        eval "$as_ac_var=no"
19485
 
fi
19486
 
 
19487
 
rm -rf conftest.dSYM
19488
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19489
 
      conftest$ac_exeext conftest.$ac_ext
19490
 
fi
19491
 
ac_res=`eval 'as_val=${'$as_ac_var'}
19492
 
                 $as_echo "$as_val"'`
19493
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19494
 
$as_echo "$ac_res" >&6; }
19495
 
as_val=`eval 'as_val=${'$as_ac_var'}
19496
 
                 $as_echo "$as_val"'`
19497
 
   if test "x$as_val" = x""yes; then
19498
 
  cat >>confdefs.h <<_ACEOF
19499
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19500
 
_ACEOF
19501
 
 
19502
 
else
19503
 
  syslib_status=no
19504
 
fi
19505
 
done
19506
 
 
19507
 
 
19508
 
for ac_header in zlib.h
19509
 
do
19510
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19511
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19512
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19513
 
$as_echo_n "checking for $ac_header... " >&6; }
19514
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19515
 
  $as_echo_n "(cached) " >&6
19516
 
fi
19517
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
19518
 
                 $as_echo "$as_val"'`
19519
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19520
 
$as_echo "$ac_res" >&6; }
19521
 
else
19522
 
  # Is the header compilable?
19523
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19524
 
$as_echo_n "checking $ac_header usability... " >&6; }
19525
 
cat >conftest.$ac_ext <<_ACEOF
19526
 
/* confdefs.h.  */
19527
 
_ACEOF
19528
 
cat confdefs.h >>conftest.$ac_ext
19529
 
cat >>conftest.$ac_ext <<_ACEOF
19530
 
/* end confdefs.h.  */
19531
 
$ac_includes_default
19532
 
#include <$ac_header>
19533
 
_ACEOF
19534
 
rm -f conftest.$ac_objext
19535
 
if { (ac_try="$ac_compile"
19536
 
case "(($ac_try" in
19537
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19538
 
  *) ac_try_echo=$ac_try;;
19539
 
esac
19540
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19541
 
$as_echo "$ac_try_echo") >&5
19542
 
  (eval "$ac_compile") 2>conftest.er1
19543
 
  ac_status=$?
19544
 
  grep -v '^ *+' conftest.er1 >conftest.err
19545
 
  rm -f conftest.er1
19546
 
  cat conftest.err >&5
19547
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548
 
  (exit $ac_status); } && {
19549
 
         test -z "$ac_c_werror_flag" ||
19550
 
         test ! -s conftest.err
19551
 
       } && test -s conftest.$ac_objext; then
19552
 
  ac_header_compiler=yes
19553
 
else
19554
 
  $as_echo "$as_me: failed program was:" >&5
19555
 
sed 's/^/| /' conftest.$ac_ext >&5
19556
 
 
19557
 
        ac_header_compiler=no
19558
 
fi
19559
 
 
19560
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19562
 
$as_echo "$ac_header_compiler" >&6; }
19563
 
 
19564
 
# Is the header present?
19565
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19566
 
$as_echo_n "checking $ac_header presence... " >&6; }
19567
 
cat >conftest.$ac_ext <<_ACEOF
19568
 
/* confdefs.h.  */
19569
 
_ACEOF
19570
 
cat confdefs.h >>conftest.$ac_ext
19571
 
cat >>conftest.$ac_ext <<_ACEOF
19572
 
/* end confdefs.h.  */
19573
 
#include <$ac_header>
19574
 
_ACEOF
19575
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
19576
 
case "(($ac_try" in
19577
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19578
 
  *) ac_try_echo=$ac_try;;
19579
 
esac
19580
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19581
 
$as_echo "$ac_try_echo") >&5
19582
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19583
 
  ac_status=$?
19584
 
  grep -v '^ *+' conftest.er1 >conftest.err
19585
 
  rm -f conftest.er1
19586
 
  cat conftest.err >&5
19587
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588
 
  (exit $ac_status); } >/dev/null && {
19589
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19590
 
         test ! -s conftest.err
19591
 
       }; then
19592
 
  ac_header_preproc=yes
19593
 
else
19594
 
  $as_echo "$as_me: failed program was:" >&5
19595
 
sed 's/^/| /' conftest.$ac_ext >&5
19596
 
 
19597
 
  ac_header_preproc=no
19598
 
fi
19599
 
 
19600
 
rm -f conftest.err conftest.$ac_ext
19601
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19602
 
$as_echo "$ac_header_preproc" >&6; }
19603
 
 
19604
 
# So?  What about this header?
19605
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19606
 
  yes:no: )
19607
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19608
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19609
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19610
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19611
 
    ac_header_preproc=yes
19612
 
    ;;
19613
 
  no:yes:* )
19614
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19615
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19616
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19617
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19618
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19619
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19620
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19621
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19622
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19623
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19624
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19625
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19626
 
    ( cat <<\_ASBOX
19627
 
## ---------------------------- ##
19628
 
## Report this to tex-k@tug.org ##
19629
 
## ---------------------------- ##
19630
 
_ASBOX
19631
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19632
 
    ;;
19633
 
esac
19634
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19635
 
$as_echo_n "checking for $ac_header... " >&6; }
19636
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19637
 
  $as_echo_n "(cached) " >&6
19638
 
else
19639
 
  eval "$as_ac_Header=\$ac_header_preproc"
19640
 
fi
19641
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
19642
 
                 $as_echo "$as_val"'`
19643
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19644
 
$as_echo "$ac_res" >&6; }
19645
 
 
19646
 
fi
19647
 
as_val=`eval 'as_val=${'$as_ac_Header'}
19648
 
                 $as_echo "$as_val"'`
19649
 
   if test "x$as_val" = x""yes; then
19650
 
  cat >>confdefs.h <<_ACEOF
19651
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19652
 
_ACEOF
19653
 
 
19654
 
else
19655
 
  syslib_status=no
19656
 
fi
19657
 
 
19658
 
done
19659
 
 
19660
 
  syslib_used=yes
 
17673
if ac_fn_c_try_link "$LINENO"; then :
 
17674
  syslib_used=yes kpse_res=ok
 
17675
else
 
17676
  syslib_status=no kpse_res=failed
 
17677
fi
 
17678
rm -f core conftest.err conftest.$ac_objext \
 
17679
    conftest$ac_exeext conftest.$ac_ext
 
17680
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
 
17681
$as_echo "$kpse_res" >&6; }
19661
17682
fi
19662
17683
 
19663
17684
 
19664
17685
## libs/libpng/ac/libpng.ac: configure.ac fragment for the TeX Live subdirectory libs/libpng/
19665
 
## define required functions and headers from system libpng
19666
 
if test "x$need_libpng:$with_system_libpng" = 'xyes:yes'; then
19667
 
  { $as_echo "$as_me:$LINENO: checking requested system \`libpng' library..." >&5
19668
 
$as_echo "$as_me: checking requested system \`libpng' library..." >&6;}
 
17686
## basic check of system libpng
 
17687
if test "x$need_libpng:$with_system_libpng" = xyes:yes; then
 
17688
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`libpng' library" >&5
 
17689
$as_echo_n "checking requested system \`libpng' library... " >&6; }
19669
17690
  CPPFLAGS="$LIBPNG_INCLUDES $CPPFLAGS"
19670
17691
  LIBS="$LIBPNG_LIBS $LIBS"
19671
 
 
19672
 
for ac_func in png_set_read_fn
19673
 
do
19674
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19675
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19676
 
$as_echo_n "checking for $ac_func... " >&6; }
19677
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19678
 
  $as_echo_n "(cached) " >&6
19679
 
else
19680
 
  cat >conftest.$ac_ext <<_ACEOF
19681
 
/* confdefs.h.  */
19682
 
_ACEOF
19683
 
cat confdefs.h >>conftest.$ac_ext
19684
 
cat >>conftest.$ac_ext <<_ACEOF
 
17692
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19685
17693
/* end confdefs.h.  */
19686
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19687
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19688
 
#define $ac_func innocuous_$ac_func
19689
 
 
19690
 
/* System header to define __stub macros and hopefully few prototypes,
19691
 
    which can conflict with char $ac_func (); below.
19692
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19693
 
    <limits.h> exists even on freestanding compilers.  */
19694
 
 
19695
 
#ifdef __STDC__
19696
 
# include <limits.h>
19697
 
#else
19698
 
# include <assert.h>
19699
 
#endif
19700
 
 
19701
 
#undef $ac_func
19702
 
 
19703
 
/* Override any GCC internal prototype to avoid an error.
19704
 
   Use char because int might match the return type of a GCC
19705
 
   builtin and then its argument prototype would still apply.  */
19706
 
#ifdef __cplusplus
19707
 
extern "C"
19708
 
#endif
19709
 
char $ac_func ();
19710
 
/* The GNU C library defines this for functions which it implements
19711
 
    to always fail with ENOSYS.  Some functions are actually named
19712
 
    something starting with __ and the normal name is an alias.  */
19713
 
#if defined __stub_$ac_func || defined __stub___$ac_func
19714
 
choke me
19715
 
#endif
19716
 
 
 
17694
#include <png.h>
19717
17695
int
19718
17696
main ()
19719
17697
{
19720
 
return $ac_func ();
 
17698
png_structp png; png_voidp io; png_rw_ptr fn;
 
17699
png_set_read_fn(png, io, fn);
19721
17700
  ;
19722
17701
  return 0;
19723
17702
}
19724
17703
_ACEOF
19725
 
rm -f conftest.$ac_objext conftest$ac_exeext
19726
 
if { (ac_try="$ac_link"
19727
 
case "(($ac_try" in
19728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19729
 
  *) ac_try_echo=$ac_try;;
19730
 
esac
19731
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19732
 
$as_echo "$ac_try_echo") >&5
19733
 
  (eval "$ac_link") 2>conftest.er1
19734
 
  ac_status=$?
19735
 
  grep -v '^ *+' conftest.er1 >conftest.err
19736
 
  rm -f conftest.er1
19737
 
  cat conftest.err >&5
19738
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739
 
  (exit $ac_status); } && {
19740
 
         test -z "$ac_c_werror_flag" ||
19741
 
         test ! -s conftest.err
19742
 
       } && test -s conftest$ac_exeext && {
19743
 
         test "$cross_compiling" = yes ||
19744
 
         $as_test_x conftest$ac_exeext
19745
 
       }; then
19746
 
  eval "$as_ac_var=yes"
19747
 
else
19748
 
  $as_echo "$as_me: failed program was:" >&5
19749
 
sed 's/^/| /' conftest.$ac_ext >&5
19750
 
 
19751
 
        eval "$as_ac_var=no"
19752
 
fi
19753
 
 
19754
 
rm -rf conftest.dSYM
19755
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19756
 
      conftest$ac_exeext conftest.$ac_ext
19757
 
fi
19758
 
ac_res=`eval 'as_val=${'$as_ac_var'}
19759
 
                 $as_echo "$as_val"'`
19760
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19761
 
$as_echo "$ac_res" >&6; }
19762
 
as_val=`eval 'as_val=${'$as_ac_var'}
19763
 
                 $as_echo "$as_val"'`
19764
 
   if test "x$as_val" = x""yes; then
19765
 
  cat >>confdefs.h <<_ACEOF
19766
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19767
 
_ACEOF
19768
 
 
19769
 
else
19770
 
  syslib_status=no
19771
 
fi
19772
 
done
19773
 
 
19774
 
 
19775
 
for ac_header in png.h
19776
 
do
19777
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19778
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19779
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19780
 
$as_echo_n "checking for $ac_header... " >&6; }
19781
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19782
 
  $as_echo_n "(cached) " >&6
19783
 
fi
19784
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
19785
 
                 $as_echo "$as_val"'`
19786
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19787
 
$as_echo "$ac_res" >&6; }
19788
 
else
19789
 
  # Is the header compilable?
19790
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
19791
 
$as_echo_n "checking $ac_header usability... " >&6; }
19792
 
cat >conftest.$ac_ext <<_ACEOF
19793
 
/* confdefs.h.  */
19794
 
_ACEOF
19795
 
cat confdefs.h >>conftest.$ac_ext
19796
 
cat >>conftest.$ac_ext <<_ACEOF
19797
 
/* end confdefs.h.  */
19798
 
$ac_includes_default
19799
 
#include <$ac_header>
19800
 
_ACEOF
19801
 
rm -f conftest.$ac_objext
19802
 
if { (ac_try="$ac_compile"
19803
 
case "(($ac_try" in
19804
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19805
 
  *) ac_try_echo=$ac_try;;
19806
 
esac
19807
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19808
 
$as_echo "$ac_try_echo") >&5
19809
 
  (eval "$ac_compile") 2>conftest.er1
19810
 
  ac_status=$?
19811
 
  grep -v '^ *+' conftest.er1 >conftest.err
19812
 
  rm -f conftest.er1
19813
 
  cat conftest.err >&5
19814
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815
 
  (exit $ac_status); } && {
19816
 
         test -z "$ac_c_werror_flag" ||
19817
 
         test ! -s conftest.err
19818
 
       } && test -s conftest.$ac_objext; then
19819
 
  ac_header_compiler=yes
19820
 
else
19821
 
  $as_echo "$as_me: failed program was:" >&5
19822
 
sed 's/^/| /' conftest.$ac_ext >&5
19823
 
 
19824
 
        ac_header_compiler=no
19825
 
fi
19826
 
 
19827
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19828
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19829
 
$as_echo "$ac_header_compiler" >&6; }
19830
 
 
19831
 
# Is the header present?
19832
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
19833
 
$as_echo_n "checking $ac_header presence... " >&6; }
19834
 
cat >conftest.$ac_ext <<_ACEOF
19835
 
/* confdefs.h.  */
19836
 
_ACEOF
19837
 
cat confdefs.h >>conftest.$ac_ext
19838
 
cat >>conftest.$ac_ext <<_ACEOF
19839
 
/* end confdefs.h.  */
19840
 
#include <$ac_header>
19841
 
_ACEOF
19842
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
19843
 
case "(($ac_try" in
19844
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845
 
  *) ac_try_echo=$ac_try;;
19846
 
esac
19847
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19848
 
$as_echo "$ac_try_echo") >&5
19849
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19850
 
  ac_status=$?
19851
 
  grep -v '^ *+' conftest.er1 >conftest.err
19852
 
  rm -f conftest.er1
19853
 
  cat conftest.err >&5
19854
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855
 
  (exit $ac_status); } >/dev/null && {
19856
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19857
 
         test ! -s conftest.err
19858
 
       }; then
19859
 
  ac_header_preproc=yes
19860
 
else
19861
 
  $as_echo "$as_me: failed program was:" >&5
19862
 
sed 's/^/| /' conftest.$ac_ext >&5
19863
 
 
19864
 
  ac_header_preproc=no
19865
 
fi
19866
 
 
19867
 
rm -f conftest.err conftest.$ac_ext
19868
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19869
 
$as_echo "$ac_header_preproc" >&6; }
19870
 
 
19871
 
# So?  What about this header?
19872
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19873
 
  yes:no: )
19874
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19875
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19876
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19877
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19878
 
    ac_header_preproc=yes
19879
 
    ;;
19880
 
  no:yes:* )
19881
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19882
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19883
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
19884
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
19885
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19886
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19887
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
19888
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
19889
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19890
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19891
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19892
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19893
 
    ( cat <<\_ASBOX
19894
 
## ---------------------------- ##
19895
 
## Report this to tex-k@tug.org ##
19896
 
## ---------------------------- ##
19897
 
_ASBOX
19898
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
19899
 
    ;;
19900
 
esac
19901
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
19902
 
$as_echo_n "checking for $ac_header... " >&6; }
19903
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19904
 
  $as_echo_n "(cached) " >&6
19905
 
else
19906
 
  eval "$as_ac_Header=\$ac_header_preproc"
19907
 
fi
19908
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
19909
 
                 $as_echo "$as_val"'`
19910
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19911
 
$as_echo "$ac_res" >&6; }
19912
 
 
19913
 
fi
19914
 
as_val=`eval 'as_val=${'$as_ac_Header'}
19915
 
                 $as_echo "$as_val"'`
19916
 
   if test "x$as_val" = x""yes; then
19917
 
  cat >>confdefs.h <<_ACEOF
19918
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19919
 
_ACEOF
19920
 
 
19921
 
else
19922
 
  syslib_status=no
19923
 
fi
19924
 
 
19925
 
done
19926
 
 
19927
 
  syslib_used=yes
 
17704
if ac_fn_c_try_link "$LINENO"; then :
 
17705
  syslib_used=yes kpse_res=ok
 
17706
else
 
17707
  syslib_status=no kpse_res=failed
 
17708
fi
 
17709
rm -f core conftest.err conftest.$ac_objext \
 
17710
    conftest$ac_exeext conftest.$ac_ext
 
17711
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
 
17712
$as_echo "$kpse_res" >&6; }
19928
17713
fi
19929
17714
 
19930
17715
 
19931
17716
## libs/xpdf/ac/xpdf.ac: configure.ac fragment for the TeX Live subdirectory libs/xpdf/
19932
 
## define required functions and headers from system xpdf
19933
 
if test "x$need_xpdf:$with_system_xpdf" = 'xyes:yes'; then
19934
 
  { $as_echo "$as_me:$LINENO: checking requested system \`xpdf' library..." >&5
19935
 
$as_echo "$as_me: checking requested system \`xpdf' library..." >&6;}
 
17717
## basic check of system xpdf (poppler)
 
17718
ac_ext=cpp
 
17719
ac_cpp='$CXXCPP $CPPFLAGS'
 
17720
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17721
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17722
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
17723
if test "x$need_xpdf:$with_system_xpdf" = xyes:yes; then
 
17724
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`xpdf' library" >&5
 
17725
$as_echo_n "checking requested system \`xpdf' library... " >&6; }
19936
17726
  CPPFLAGS="$XPDF_INCLUDES $CPPFLAGS"
19937
17727
  LIBS="$XPDF_LIBS $LIBS"
19938
 
 
19939
 
for ac_func in free
19940
 
do
19941
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19942
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
19943
 
$as_echo_n "checking for $ac_func... " >&6; }
19944
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
19945
 
  $as_echo_n "(cached) " >&6
19946
 
else
19947
 
  cat >conftest.$ac_ext <<_ACEOF
19948
 
/* confdefs.h.  */
19949
 
_ACEOF
19950
 
cat confdefs.h >>conftest.$ac_ext
19951
 
cat >>conftest.$ac_ext <<_ACEOF
19952
 
/* end confdefs.h.  */
19953
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19954
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19955
 
#define $ac_func innocuous_$ac_func
19956
 
 
19957
 
/* System header to define __stub macros and hopefully few prototypes,
19958
 
    which can conflict with char $ac_func (); below.
19959
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19960
 
    <limits.h> exists even on freestanding compilers.  */
19961
 
 
19962
 
#ifdef __STDC__
19963
 
# include <limits.h>
19964
 
#else
19965
 
# include <assert.h>
19966
 
#endif
19967
 
 
19968
 
#undef $ac_func
19969
 
 
19970
 
/* Override any GCC internal prototype to avoid an error.
19971
 
   Use char because int might match the return type of a GCC
19972
 
   builtin and then its argument prototype would still apply.  */
19973
 
#ifdef __cplusplus
19974
 
extern "C"
19975
 
#endif
19976
 
char $ac_func ();
19977
 
/* The GNU C library defines this for functions which it implements
19978
 
    to always fail with ENOSYS.  Some functions are actually named
19979
 
    something starting with __ and the normal name is an alias.  */
19980
 
#if defined __stub_$ac_func || defined __stub___$ac_func
19981
 
choke me
19982
 
#endif
19983
 
 
19984
 
int
19985
 
main ()
19986
 
{
19987
 
return $ac_func ();
19988
 
  ;
19989
 
  return 0;
19990
 
}
19991
 
_ACEOF
19992
 
rm -f conftest.$ac_objext conftest$ac_exeext
19993
 
if { (ac_try="$ac_link"
19994
 
case "(($ac_try" in
19995
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19996
 
  *) ac_try_echo=$ac_try;;
19997
 
esac
19998
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19999
 
$as_echo "$ac_try_echo") >&5
20000
 
  (eval "$ac_link") 2>conftest.er1
20001
 
  ac_status=$?
20002
 
  grep -v '^ *+' conftest.er1 >conftest.err
20003
 
  rm -f conftest.er1
20004
 
  cat conftest.err >&5
20005
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006
 
  (exit $ac_status); } && {
20007
 
         test -z "$ac_c_werror_flag" ||
20008
 
         test ! -s conftest.err
20009
 
       } && test -s conftest$ac_exeext && {
20010
 
         test "$cross_compiling" = yes ||
20011
 
         $as_test_x conftest$ac_exeext
20012
 
       }; then
20013
 
  eval "$as_ac_var=yes"
20014
 
else
20015
 
  $as_echo "$as_me: failed program was:" >&5
20016
 
sed 's/^/| /' conftest.$ac_ext >&5
20017
 
 
20018
 
        eval "$as_ac_var=no"
20019
 
fi
20020
 
 
20021
 
rm -rf conftest.dSYM
20022
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20023
 
      conftest$ac_exeext conftest.$ac_ext
20024
 
fi
20025
 
ac_res=`eval 'as_val=${'$as_ac_var'}
20026
 
                 $as_echo "$as_val"'`
20027
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20028
 
$as_echo "$ac_res" >&6; }
20029
 
as_val=`eval 'as_val=${'$as_ac_var'}
20030
 
                 $as_echo "$as_val"'`
20031
 
   if test "x$as_val" = x""yes; then
20032
 
  cat >>confdefs.h <<_ACEOF
20033
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20034
 
_ACEOF
20035
 
 
20036
 
else
20037
 
  syslib_status=no
20038
 
fi
20039
 
done
20040
 
 
20041
 
 
20042
 
for ac_header in goo/gtypes.h
20043
 
do
20044
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20045
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20046
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20047
 
$as_echo_n "checking for $ac_header... " >&6; }
20048
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20049
 
  $as_echo_n "(cached) " >&6
20050
 
fi
20051
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
20052
 
                 $as_echo "$as_val"'`
20053
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20054
 
$as_echo "$ac_res" >&6; }
20055
 
else
20056
 
  # Is the header compilable?
20057
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20058
 
$as_echo_n "checking $ac_header usability... " >&6; }
20059
 
cat >conftest.$ac_ext <<_ACEOF
20060
 
/* confdefs.h.  */
20061
 
_ACEOF
20062
 
cat confdefs.h >>conftest.$ac_ext
20063
 
cat >>conftest.$ac_ext <<_ACEOF
20064
 
/* end confdefs.h.  */
20065
 
$ac_includes_default
20066
 
#include <$ac_header>
20067
 
_ACEOF
20068
 
rm -f conftest.$ac_objext
20069
 
if { (ac_try="$ac_compile"
20070
 
case "(($ac_try" in
20071
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20072
 
  *) ac_try_echo=$ac_try;;
20073
 
esac
20074
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20075
 
$as_echo "$ac_try_echo") >&5
20076
 
  (eval "$ac_compile") 2>conftest.er1
20077
 
  ac_status=$?
20078
 
  grep -v '^ *+' conftest.er1 >conftest.err
20079
 
  rm -f conftest.er1
20080
 
  cat conftest.err >&5
20081
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082
 
  (exit $ac_status); } && {
20083
 
         test -z "$ac_c_werror_flag" ||
20084
 
         test ! -s conftest.err
20085
 
       } && test -s conftest.$ac_objext; then
20086
 
  ac_header_compiler=yes
20087
 
else
20088
 
  $as_echo "$as_me: failed program was:" >&5
20089
 
sed 's/^/| /' conftest.$ac_ext >&5
20090
 
 
20091
 
        ac_header_compiler=no
20092
 
fi
20093
 
 
20094
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20095
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20096
 
$as_echo "$ac_header_compiler" >&6; }
20097
 
 
20098
 
# Is the header present?
20099
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20100
 
$as_echo_n "checking $ac_header presence... " >&6; }
20101
 
cat >conftest.$ac_ext <<_ACEOF
20102
 
/* confdefs.h.  */
20103
 
_ACEOF
20104
 
cat confdefs.h >>conftest.$ac_ext
20105
 
cat >>conftest.$ac_ext <<_ACEOF
20106
 
/* end confdefs.h.  */
20107
 
#include <$ac_header>
20108
 
_ACEOF
20109
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
20110
 
case "(($ac_try" in
20111
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20112
 
  *) ac_try_echo=$ac_try;;
20113
 
esac
20114
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20115
 
$as_echo "$ac_try_echo") >&5
20116
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20117
 
  ac_status=$?
20118
 
  grep -v '^ *+' conftest.er1 >conftest.err
20119
 
  rm -f conftest.er1
20120
 
  cat conftest.err >&5
20121
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122
 
  (exit $ac_status); } >/dev/null && {
20123
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20124
 
         test ! -s conftest.err
20125
 
       }; then
20126
 
  ac_header_preproc=yes
20127
 
else
20128
 
  $as_echo "$as_me: failed program was:" >&5
20129
 
sed 's/^/| /' conftest.$ac_ext >&5
20130
 
 
20131
 
  ac_header_preproc=no
20132
 
fi
20133
 
 
20134
 
rm -f conftest.err conftest.$ac_ext
20135
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20136
 
$as_echo "$ac_header_preproc" >&6; }
20137
 
 
20138
 
# So?  What about this header?
20139
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20140
 
  yes:no: )
20141
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20142
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20143
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20144
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20145
 
    ac_header_preproc=yes
20146
 
    ;;
20147
 
  no:yes:* )
20148
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20149
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20150
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20151
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20152
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20153
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20154
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20155
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20156
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20157
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20158
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20159
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20160
 
    ( cat <<\_ASBOX
20161
 
## ---------------------------- ##
20162
 
## Report this to tex-k@tug.org ##
20163
 
## ---------------------------- ##
20164
 
_ASBOX
20165
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20166
 
    ;;
20167
 
esac
20168
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20169
 
$as_echo_n "checking for $ac_header... " >&6; }
20170
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20171
 
  $as_echo_n "(cached) " >&6
20172
 
else
20173
 
  eval "$as_ac_Header=\$ac_header_preproc"
20174
 
fi
20175
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
20176
 
                 $as_echo "$as_val"'`
20177
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20178
 
$as_echo "$ac_res" >&6; }
20179
 
 
20180
 
fi
20181
 
as_val=`eval 'as_val=${'$as_ac_Header'}
20182
 
                 $as_echo "$as_val"'`
20183
 
   if test "x$as_val" = x""yes; then
20184
 
  cat >>confdefs.h <<_ACEOF
20185
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20186
 
_ACEOF
20187
 
 
20188
 
else
20189
 
  syslib_status=no
20190
 
fi
20191
 
 
20192
 
done
20193
 
 
20194
 
  syslib_used=yes
20195
 
fi
20196
 
 
20197
 
 
20198
 
## texk/kpathsea/ac/kpathsea.ac: configure.ac fragment for the TeX Live subdirectory texk/kpathsea/
20199
 
## define required functions and headers from system kpathsea
20200
 
if test "x$need_kpathsea:$with_system_kpathsea" = 'xyes:yes'; then
20201
 
  { $as_echo "$as_me:$LINENO: checking requested system \`kpathsea' library..." >&5
20202
 
$as_echo "$as_me: checking requested system \`kpathsea' library..." >&6;}
20203
 
  CPPFLAGS="$KPATHSEA_INCLUDES $CPPFLAGS"
20204
 
  LIBS="$KPATHSEA_LIBS $LIBS"
20205
 
 
20206
 
for ac_func in kpse_set_program_name
20207
 
do
20208
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20209
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
20210
 
$as_echo_n "checking for $ac_func... " >&6; }
20211
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20212
 
  $as_echo_n "(cached) " >&6
20213
 
else
20214
 
  cat >conftest.$ac_ext <<_ACEOF
20215
 
/* confdefs.h.  */
20216
 
_ACEOF
20217
 
cat confdefs.h >>conftest.$ac_ext
20218
 
cat >>conftest.$ac_ext <<_ACEOF
20219
 
/* end confdefs.h.  */
20220
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20221
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20222
 
#define $ac_func innocuous_$ac_func
20223
 
 
20224
 
/* System header to define __stub macros and hopefully few prototypes,
20225
 
    which can conflict with char $ac_func (); below.
20226
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20227
 
    <limits.h> exists even on freestanding compilers.  */
20228
 
 
20229
 
#ifdef __STDC__
20230
 
# include <limits.h>
20231
 
#else
20232
 
# include <assert.h>
20233
 
#endif
20234
 
 
20235
 
#undef $ac_func
20236
 
 
20237
 
/* Override any GCC internal prototype to avoid an error.
20238
 
   Use char because int might match the return type of a GCC
20239
 
   builtin and then its argument prototype would still apply.  */
20240
 
#ifdef __cplusplus
20241
 
extern "C"
20242
 
#endif
20243
 
char $ac_func ();
20244
 
/* The GNU C library defines this for functions which it implements
20245
 
    to always fail with ENOSYS.  Some functions are actually named
20246
 
    something starting with __ and the normal name is an alias.  */
20247
 
#if defined __stub_$ac_func || defined __stub___$ac_func
20248
 
choke me
20249
 
#endif
20250
 
 
20251
 
int
20252
 
main ()
20253
 
{
20254
 
return $ac_func ();
20255
 
  ;
20256
 
  return 0;
20257
 
}
20258
 
_ACEOF
20259
 
rm -f conftest.$ac_objext conftest$ac_exeext
20260
 
if { (ac_try="$ac_link"
20261
 
case "(($ac_try" in
20262
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20263
 
  *) ac_try_echo=$ac_try;;
20264
 
esac
20265
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20266
 
$as_echo "$ac_try_echo") >&5
20267
 
  (eval "$ac_link") 2>conftest.er1
20268
 
  ac_status=$?
20269
 
  grep -v '^ *+' conftest.er1 >conftest.err
20270
 
  rm -f conftest.er1
20271
 
  cat conftest.err >&5
20272
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273
 
  (exit $ac_status); } && {
20274
 
         test -z "$ac_c_werror_flag" ||
20275
 
         test ! -s conftest.err
20276
 
       } && test -s conftest$ac_exeext && {
20277
 
         test "$cross_compiling" = yes ||
20278
 
         $as_test_x conftest$ac_exeext
20279
 
       }; then
20280
 
  eval "$as_ac_var=yes"
20281
 
else
20282
 
  $as_echo "$as_me: failed program was:" >&5
20283
 
sed 's/^/| /' conftest.$ac_ext >&5
20284
 
 
20285
 
        eval "$as_ac_var=no"
20286
 
fi
20287
 
 
20288
 
rm -rf conftest.dSYM
20289
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20290
 
      conftest$ac_exeext conftest.$ac_ext
20291
 
fi
20292
 
ac_res=`eval 'as_val=${'$as_ac_var'}
20293
 
                 $as_echo "$as_val"'`
20294
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20295
 
$as_echo "$ac_res" >&6; }
20296
 
as_val=`eval 'as_val=${'$as_ac_var'}
20297
 
                 $as_echo "$as_val"'`
20298
 
   if test "x$as_val" = x""yes; then
20299
 
  cat >>confdefs.h <<_ACEOF
20300
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20301
 
_ACEOF
20302
 
 
20303
 
else
20304
 
  syslib_status=no
20305
 
fi
20306
 
done
20307
 
 
20308
 
 
20309
 
 
20310
 
for ac_header in kpathsea/kpathsea.h kpathsea/tex-file.h
20311
 
do
20312
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20313
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20314
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20315
 
$as_echo_n "checking for $ac_header... " >&6; }
20316
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20317
 
  $as_echo_n "(cached) " >&6
20318
 
fi
20319
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
20320
 
                 $as_echo "$as_val"'`
20321
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20322
 
$as_echo "$ac_res" >&6; }
20323
 
else
20324
 
  # Is the header compilable?
20325
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20326
 
$as_echo_n "checking $ac_header usability... " >&6; }
20327
 
cat >conftest.$ac_ext <<_ACEOF
20328
 
/* confdefs.h.  */
20329
 
_ACEOF
20330
 
cat confdefs.h >>conftest.$ac_ext
20331
 
cat >>conftest.$ac_ext <<_ACEOF
20332
 
/* end confdefs.h.  */
20333
 
$ac_includes_default
20334
 
#include <$ac_header>
20335
 
_ACEOF
20336
 
rm -f conftest.$ac_objext
20337
 
if { (ac_try="$ac_compile"
20338
 
case "(($ac_try" in
20339
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20340
 
  *) ac_try_echo=$ac_try;;
20341
 
esac
20342
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20343
 
$as_echo "$ac_try_echo") >&5
20344
 
  (eval "$ac_compile") 2>conftest.er1
20345
 
  ac_status=$?
20346
 
  grep -v '^ *+' conftest.er1 >conftest.err
20347
 
  rm -f conftest.er1
20348
 
  cat conftest.err >&5
20349
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350
 
  (exit $ac_status); } && {
20351
 
         test -z "$ac_c_werror_flag" ||
20352
 
         test ! -s conftest.err
20353
 
       } && test -s conftest.$ac_objext; then
20354
 
  ac_header_compiler=yes
20355
 
else
20356
 
  $as_echo "$as_me: failed program was:" >&5
20357
 
sed 's/^/| /' conftest.$ac_ext >&5
20358
 
 
20359
 
        ac_header_compiler=no
20360
 
fi
20361
 
 
20362
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20363
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20364
 
$as_echo "$ac_header_compiler" >&6; }
20365
 
 
20366
 
# Is the header present?
20367
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20368
 
$as_echo_n "checking $ac_header presence... " >&6; }
20369
 
cat >conftest.$ac_ext <<_ACEOF
20370
 
/* confdefs.h.  */
20371
 
_ACEOF
20372
 
cat confdefs.h >>conftest.$ac_ext
20373
 
cat >>conftest.$ac_ext <<_ACEOF
20374
 
/* end confdefs.h.  */
20375
 
#include <$ac_header>
20376
 
_ACEOF
20377
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
20378
 
case "(($ac_try" in
20379
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20380
 
  *) ac_try_echo=$ac_try;;
20381
 
esac
20382
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20383
 
$as_echo "$ac_try_echo") >&5
20384
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20385
 
  ac_status=$?
20386
 
  grep -v '^ *+' conftest.er1 >conftest.err
20387
 
  rm -f conftest.er1
20388
 
  cat conftest.err >&5
20389
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390
 
  (exit $ac_status); } >/dev/null && {
20391
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20392
 
         test ! -s conftest.err
20393
 
       }; then
20394
 
  ac_header_preproc=yes
20395
 
else
20396
 
  $as_echo "$as_me: failed program was:" >&5
20397
 
sed 's/^/| /' conftest.$ac_ext >&5
20398
 
 
20399
 
  ac_header_preproc=no
20400
 
fi
20401
 
 
20402
 
rm -f conftest.err conftest.$ac_ext
20403
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20404
 
$as_echo "$ac_header_preproc" >&6; }
20405
 
 
20406
 
# So?  What about this header?
20407
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20408
 
  yes:no: )
20409
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20410
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20411
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20412
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20413
 
    ac_header_preproc=yes
20414
 
    ;;
20415
 
  no:yes:* )
20416
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20417
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20418
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20419
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20420
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20421
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20422
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20423
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20424
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20425
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20426
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20427
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20428
 
    ( cat <<\_ASBOX
20429
 
## ---------------------------- ##
20430
 
## Report this to tex-k@tug.org ##
20431
 
## ---------------------------- ##
20432
 
_ASBOX
20433
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20434
 
    ;;
20435
 
esac
20436
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20437
 
$as_echo_n "checking for $ac_header... " >&6; }
20438
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20439
 
  $as_echo_n "(cached) " >&6
20440
 
else
20441
 
  eval "$as_ac_Header=\$ac_header_preproc"
20442
 
fi
20443
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
20444
 
                 $as_echo "$as_val"'`
20445
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20446
 
$as_echo "$ac_res" >&6; }
20447
 
 
20448
 
fi
20449
 
as_val=`eval 'as_val=${'$as_ac_Header'}
20450
 
                 $as_echo "$as_val"'`
20451
 
   if test "x$as_val" = x""yes; then
20452
 
  cat >>confdefs.h <<_ACEOF
20453
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20454
 
_ACEOF
20455
 
 
20456
 
else
20457
 
  syslib_status=no
20458
 
fi
20459
 
 
20460
 
done
20461
 
 
20462
 
  syslib_used=yes
 
17728
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17729
/* end confdefs.h.  */
 
17730
#include <GfxFont.h>
 
17731
int
 
17732
main ()
 
17733
{
 
17734
GfxFont *gfxFont; gfxFont->decRefCnt();
 
17735
  ;
 
17736
  return 0;
 
17737
}
 
17738
_ACEOF
 
17739
if ac_fn_cxx_try_link "$LINENO"; then :
 
17740
  syslib_used=yes kpse_res=ok
 
17741
else
 
17742
  syslib_status=no kpse_res=failed
 
17743
fi
 
17744
rm -f core conftest.err conftest.$ac_objext \
 
17745
    conftest$ac_exeext conftest.$ac_ext
 
17746
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
 
17747
$as_echo "$kpse_res" >&6; }
 
17748
fi
 
17749
ac_ext=c
 
17750
ac_cpp='$CPP $CPPFLAGS'
 
17751
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
17752
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
17753
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
17754
 
 
17755
 
 
17756
## libs/zziplib/ac/zziplib.ac: configure.ac fragment for the TeX Live subdirectory libs/zziplib/
 
17757
## basic check of system zziplib
 
17758
if test "x$need_zziplib:$with_system_zziplib" = xyes:yes; then
 
17759
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking requested system \`zziplib' library" >&5
 
17760
$as_echo_n "checking requested system \`zziplib' library... " >&6; }
 
17761
  CPPFLAGS="$ZZIPLIB_INCLUDES $CPPFLAGS"
 
17762
  LIBS="$ZZIPLIB_LIBS $LIBS"
 
17763
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
17764
/* end confdefs.h.  */
 
17765
#include <zzip/zzip.h>
 
17766
int
 
17767
main ()
 
17768
{
 
17769
ZZIP_FILE *z_FILE = zzip_open("file_name", 0);
 
17770
  ;
 
17771
  return 0;
 
17772
}
 
17773
_ACEOF
 
17774
if ac_fn_c_try_link "$LINENO"; then :
 
17775
  syslib_used=yes kpse_res=ok
 
17776
else
 
17777
  syslib_status=no kpse_res=failed
 
17778
fi
 
17779
rm -f core conftest.err conftest.$ac_objext \
 
17780
    conftest$ac_exeext conftest.$ac_ext
 
17781
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_res" >&5
 
17782
$as_echo "$kpse_res" >&6; }
20463
17783
fi
20464
17784
 
20465
17785
 
20466
17786
if test "x$syslib_status" = xno; then
20467
 
  { { $as_echo "$as_me:$LINENO: error: some requested system libraries failed" >&5
20468
 
$as_echo "$as_me: error: some requested system libraries failed" >&2;}
20469
 
   { (exit 1); exit 1; }; }
20470
 
fi
20471
 
 
20472
 
 if test "x$need_kpathsea" = xyes && test "x$with_system_kpathsea" != xyes; then
20473
 
  build_kpathsea_TRUE=
20474
 
  build_kpathsea_FALSE='#'
 
17787
  as_fn_error "some requested system libraries failed" "$LINENO" 5
 
17788
fi
 
17789
if test "x$syslib_used:$enable_native_texlive_build" = xyes:yes; then
 
17790
  as_fn_error "you can not use system libraries for a native TeX Live build" "$LINENO" 5
 
17791
fi
 
17792
CPPFLAGS=$kpse_save_CPPFLAGS
 
17793
LIBS=$kpse_save_LIBS
 
17794
 
 
17795
 
 
17796
 
 
17797
 if test "x$cross_compiling" = xyes; then
 
17798
  cross_compiling_TRUE=
 
17799
  cross_compiling_FALSE='#'
20475
17800
else
20476
 
  build_kpathsea_TRUE='#'
20477
 
  build_kpathsea_FALSE=
 
17801
  cross_compiling_TRUE='#'
 
17802
  cross_compiling_FALSE=
20478
17803
fi
20479
17804
 
20480
17805
 
20481
 
 
20482
 
 
20483
 
subdirs="$subdirs texk/kpathsea libs utils texk"
 
17806
subdirs="$subdirs auxdir/auxsub libs utils texk"
20484
17807
 
20485
17808
 
20486
17809
ac_config_files="$ac_config_files Makefile"
20513
17836
    case $ac_val in #(
20514
17837
    *${as_nl}*)
20515
17838
      case $ac_var in #(
20516
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
17839
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20517
17840
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20518
17841
      esac
20519
17842
      case $ac_var in #(
20520
17843
      _ | IFS | as_nl) ;; #(
20521
17844
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20522
 
      *) $as_unset $ac_var ;;
 
17845
      *) { eval $ac_var=; unset $ac_var;} ;;
20523
17846
      esac ;;
20524
17847
    esac
20525
17848
  done
20527
17850
  (set) 2>&1 |
20528
17851
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
20529
17852
    *${as_nl}ac_space=\ *)
20530
 
      # `set' does not quote correctly, so add quotes (double-quote
20531
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
17853
      # `set' does not quote correctly, so add quotes: double-quote
 
17854
      # substitution turns \\\\ into \\, and sed turns \\ into \.
20532
17855
      sed -n \
20533
17856
        "s/'/'\\\\''/g;
20534
17857
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20551
17874
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20552
17875
  if test -w "$cache_file"; then
20553
17876
    test "x$cache_file" != "x/dev/null" &&
20554
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
17877
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20555
17878
$as_echo "$as_me: updating cache $cache_file" >&6;}
20556
17879
    cat confcache >$cache_file
20557
17880
  else
20558
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
17881
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20559
17882
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20560
17883
  fi
20561
17884
fi
20611
17934
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20612
17935
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20613
17936
  #    will be set to the directory where LIBOBJS objects are built.
20614
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20615
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
17937
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
17938
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20616
17939
done
20617
17940
LIBOBJS=$ac_libobjs
20618
17941
 
20619
17942
LTLIBOBJS=$ac_ltlibobjs
20620
17943
 
20621
17944
 
 
17945
 if test -n "$EXEEXT"; then
 
17946
  am__EXEEXT_TRUE=
 
17947
  am__EXEEXT_FALSE='#'
 
17948
else
 
17949
  am__EXEEXT_TRUE='#'
 
17950
  am__EXEEXT_FALSE=
 
17951
fi
 
17952
 
20622
17953
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20623
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
20624
 
Usually this means the macro was only invoked conditionally." >&5
20625
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
20626
 
Usually this means the macro was only invoked conditionally." >&2;}
20627
 
   { (exit 1); exit 1; }; }
 
17954
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 
17955
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20628
17956
fi
20629
17957
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20630
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20631
 
Usually this means the macro was only invoked conditionally." >&5
20632
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
20633
 
Usually this means the macro was only invoked conditionally." >&2;}
20634
 
   { (exit 1); exit 1; }; }
 
17958
  as_fn_error "conditional \"AMDEP\" was never defined.
 
17959
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20635
17960
fi
20636
17961
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20637
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20638
 
Usually this means the macro was only invoked conditionally." >&5
20639
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20640
 
Usually this means the macro was only invoked conditionally." >&2;}
20641
 
   { (exit 1); exit 1; }; }
20642
 
fi
20643
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20644
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20645
 
Usually this means the macro was only invoked conditionally." >&5
20646
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20647
 
Usually this means the macro was only invoked conditionally." >&2;}
20648
 
   { (exit 1); exit 1; }; }
20649
 
fi
20650
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20651
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
20652
 
Usually this means the macro was only invoked conditionally." >&5
20653
 
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
20654
 
Usually this means the macro was only invoked conditionally." >&2;}
20655
 
   { (exit 1); exit 1; }; }
20656
 
fi
20657
 
if test -z "${build_kpathsea_TRUE}" && test -z "${build_kpathsea_FALSE}"; then
20658
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"build_kpathsea\" was never defined.
20659
 
Usually this means the macro was only invoked conditionally." >&5
20660
 
$as_echo "$as_me: error: conditional \"build_kpathsea\" was never defined.
20661
 
Usually this means the macro was only invoked conditionally." >&2;}
20662
 
   { (exit 1); exit 1; }; }
 
17962
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
 
17963
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17964
fi
 
17965
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
17966
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
17967
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17968
fi
 
17969
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
17970
  as_fn_error "conditional \"am__fastdepCXX\" was never defined.
 
17971
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
17972
fi
 
17973
if test -z "${cross_compiling_TRUE}" && test -z "${cross_compiling_FALSE}"; then
 
17974
  as_fn_error "conditional \"cross_compiling\" was never defined.
 
17975
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20663
17976
fi
20664
17977
 
20665
17978
: ${CONFIG_STATUS=./config.status}
20666
17979
ac_write_fail=0
20667
17980
ac_clean_files_save=$ac_clean_files
20668
17981
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20669
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
17982
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20670
17983
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20671
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
17984
as_write_fail=0
 
17985
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20672
17986
#! $SHELL
20673
17987
# Generated by $as_me.
20674
17988
# Run this file to recreate the current configuration.
20678
17992
debug=false
20679
17993
ac_cs_recheck=false
20680
17994
ac_cs_silent=false
 
17995
 
20681
17996
SHELL=\${CONFIG_SHELL-$SHELL}
20682
 
_ACEOF
20683
 
 
20684
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20685
 
## --------------------- ##
20686
 
## M4sh Initialization.  ##
20687
 
## --------------------- ##
 
17997
export SHELL
 
17998
_ASEOF
 
17999
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
18000
## -------------------- ##
 
18001
## M4sh Initialization. ##
 
18002
## -------------------- ##
20688
18003
 
20689
18004
# Be more Bourne compatible
20690
18005
DUALCASE=1; export DUALCASE # for MKS sh
20691
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
18006
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20692
18007
  emulate sh
20693
18008
  NULLCMD=:
20694
18009
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20696
18011
  alias -g '${1+"$@"}'='"$@"'
20697
18012
  setopt NO_GLOB_SUBST
20698
18013
else
20699
 
  case `(set -o) 2>/dev/null` in
20700
 
  *posix*) set -o posix ;;
 
18014
  case `(set -o) 2>/dev/null` in #(
 
18015
  *posix*) :
 
18016
    set -o posix ;; #(
 
18017
  *) :
 
18018
     ;;
20701
18019
esac
20702
 
 
20703
18020
fi
20704
18021
 
20705
18022
 
20706
 
 
20707
 
 
20708
 
# PATH needs CR
20709
 
# Avoid depending upon Character Ranges.
20710
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20711
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20712
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20713
 
as_cr_digits='0123456789'
20714
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
20715
 
 
20716
18023
as_nl='
20717
18024
'
20718
18025
export as_nl
20720
18027
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20721
18028
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20722
18029
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20723
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
18030
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
18031
# but without wasting forks for bash or zsh.
 
18032
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
18033
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
18034
  as_echo='print -r --'
 
18035
  as_echo_n='print -rn --'
 
18036
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20724
18037
  as_echo='printf %s\n'
20725
18038
  as_echo_n='printf %s'
20726
18039
else
20731
18044
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20732
18045
    as_echo_n_body='eval
20733
18046
      arg=$1;
20734
 
      case $arg in
 
18047
      case $arg in #(
20735
18048
      *"$as_nl"*)
20736
18049
        expr "X$arg" : "X\\(.*\\)$as_nl";
20737
18050
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20754
18067
  }
20755
18068
fi
20756
18069
 
20757
 
# Support unset when possible.
20758
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20759
 
  as_unset=unset
20760
 
else
20761
 
  as_unset=false
20762
 
fi
20763
 
 
20764
18070
 
20765
18071
# IFS
20766
18072
# We need space, tab and new line, in precisely that order.  Quoting is
20770
18076
IFS=" ""        $as_nl"
20771
18077
 
20772
18078
# Find who we are.  Look in the path if we contain no directory separator.
20773
 
case $0 in
 
18079
case $0 in #((
20774
18080
  *[\\/]* ) as_myself=$0 ;;
20775
18081
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20776
18082
for as_dir in $PATH
20777
18083
do
20778
18084
  IFS=$as_save_IFS
20779
18085
  test -z "$as_dir" && as_dir=.
20780
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20781
 
done
 
18086
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
18087
  done
20782
18088
IFS=$as_save_IFS
20783
18089
 
20784
18090
     ;;
20790
18096
fi
20791
18097
if test ! -f "$as_myself"; then
20792
18098
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20793
 
  { (exit 1); exit 1; }
 
18099
  exit 1
20794
18100
fi
20795
18101
 
20796
 
# Work around bugs in pre-3.0 UWIN ksh.
20797
 
for as_var in ENV MAIL MAILPATH
20798
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
18102
# Unset variables that we do not need and which cause bugs (e.g. in
 
18103
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
18104
# suppresses any "Segmentation fault" message there.  '((' could
 
18105
# trigger a bug in pdksh 5.2.14.
 
18106
for as_var in BASH_ENV ENV MAIL MAILPATH
 
18107
do eval test x\${$as_var+set} = xset \
 
18108
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20799
18109
done
20800
18110
PS1='$ '
20801
18111
PS2='> '
20807
18117
LANGUAGE=C
20808
18118
export LANGUAGE
20809
18119
 
20810
 
# Required to use basename.
 
18120
# CDPATH.
 
18121
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
18122
 
 
18123
 
 
18124
# as_fn_error ERROR [LINENO LOG_FD]
 
18125
# ---------------------------------
 
18126
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
18127
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
18128
# script with status $?, using 1 if that was 0.
 
18129
as_fn_error ()
 
18130
{
 
18131
  as_status=$?; test $as_status -eq 0 && as_status=1
 
18132
  if test "$3"; then
 
18133
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
18134
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 
18135
  fi
 
18136
  $as_echo "$as_me: error: $1" >&2
 
18137
  as_fn_exit $as_status
 
18138
} # as_fn_error
 
18139
 
 
18140
 
 
18141
# as_fn_set_status STATUS
 
18142
# -----------------------
 
18143
# Set $? to STATUS, without forking.
 
18144
as_fn_set_status ()
 
18145
{
 
18146
  return $1
 
18147
} # as_fn_set_status
 
18148
 
 
18149
# as_fn_exit STATUS
 
18150
# -----------------
 
18151
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
18152
as_fn_exit ()
 
18153
{
 
18154
  set +e
 
18155
  as_fn_set_status $1
 
18156
  exit $1
 
18157
} # as_fn_exit
 
18158
 
 
18159
# as_fn_unset VAR
 
18160
# ---------------
 
18161
# Portably unset VAR.
 
18162
as_fn_unset ()
 
18163
{
 
18164
  { eval $1=; unset $1;}
 
18165
}
 
18166
as_unset=as_fn_unset
 
18167
# as_fn_append VAR VALUE
 
18168
# ----------------------
 
18169
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
18170
# advantage of any shell optimizations that allow amortized linear growth over
 
18171
# repeated appends, instead of the typical quadratic growth present in naive
 
18172
# implementations.
 
18173
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
18174
  eval 'as_fn_append ()
 
18175
  {
 
18176
    eval $1+=\$2
 
18177
  }'
 
18178
else
 
18179
  as_fn_append ()
 
18180
  {
 
18181
    eval $1=\$$1\$2
 
18182
  }
 
18183
fi # as_fn_append
 
18184
 
 
18185
# as_fn_arith ARG...
 
18186
# ------------------
 
18187
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
18188
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
18189
# must be portable across $(()) and expr.
 
18190
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
18191
  eval 'as_fn_arith ()
 
18192
  {
 
18193
    as_val=$(( $* ))
 
18194
  }'
 
18195
else
 
18196
  as_fn_arith ()
 
18197
  {
 
18198
    as_val=`expr "$@" || test $? -eq 1`
 
18199
  }
 
18200
fi # as_fn_arith
 
18201
 
 
18202
 
20811
18203
if expr a : '\(a\)' >/dev/null 2>&1 &&
20812
18204
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20813
18205
  as_expr=expr
20821
18213
  as_basename=false
20822
18214
fi
20823
18215
 
 
18216
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
18217
  as_dirname=dirname
 
18218
else
 
18219
  as_dirname=false
 
18220
fi
20824
18221
 
20825
 
# Name of the executable.
20826
18222
as_me=`$as_basename -- "$0" ||
20827
18223
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20828
18224
         X"$0" : 'X\(//\)$' \| \
20842
18238
          }
20843
18239
          s/.*/./; q'`
20844
18240
 
20845
 
# CDPATH.
20846
 
$as_unset CDPATH
20847
 
 
20848
 
 
20849
 
 
20850
 
  as_lineno_1=$LINENO
20851
 
  as_lineno_2=$LINENO
20852
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
20853
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20854
 
 
20855
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20856
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
20857
 
  # line-number line after each line using $LINENO; the second 'sed'
20858
 
  # does the real work.  The second script uses 'N' to pair each
20859
 
  # line-number line with the line containing $LINENO, and appends
20860
 
  # trailing '-' during substitution so that $LINENO is not a special
20861
 
  # case at line end.
20862
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20863
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
20864
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
20865
 
  sed -n '
20866
 
    p
20867
 
    /[$]LINENO/=
20868
 
  ' <$as_myself |
20869
 
    sed '
20870
 
      s/[$]LINENO.*/&-/
20871
 
      t lineno
20872
 
      b
20873
 
      :lineno
20874
 
      N
20875
 
      :loop
20876
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20877
 
      t loop
20878
 
      s/-\n.*//
20879
 
    ' >$as_me.lineno &&
20880
 
  chmod +x "$as_me.lineno" ||
20881
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20882
 
   { (exit 1); exit 1; }; }
20883
 
 
20884
 
  # Don't try to exec as it changes $[0], causing all sort of problems
20885
 
  # (the dirname of $[0] is not the place where we might find the
20886
 
  # original and so on.  Autoconf is especially sensitive to this).
20887
 
  . "./$as_me.lineno"
20888
 
  # Exit status is that of the last command.
20889
 
  exit
20890
 
}
20891
 
 
20892
 
 
20893
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20894
 
  as_dirname=dirname
20895
 
else
20896
 
  as_dirname=false
20897
 
fi
 
18241
# Avoid depending upon Character Ranges.
 
18242
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
18243
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
18244
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
18245
as_cr_digits='0123456789'
 
18246
as_cr_alnum=$as_cr_Letters$as_cr_digits
20898
18247
 
20899
18248
ECHO_C= ECHO_N= ECHO_T=
20900
 
case `echo -n x` in
 
18249
case `echo -n x` in #(((((
20901
18250
-n*)
20902
 
  case `echo 'x\c'` in
 
18251
  case `echo 'xy\c'` in
20903
18252
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
20904
 
  *)   ECHO_C='\c';;
 
18253
  xy)  ECHO_C='\c';;
 
18254
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
18255
       ECHO_T=' ';;
20905
18256
  esac;;
20906
18257
*)
20907
18258
  ECHO_N='-n';;
20908
18259
esac
20909
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
20910
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20911
 
  as_expr=expr
20912
 
else
20913
 
  as_expr=false
20914
 
fi
20915
18260
 
20916
18261
rm -f conf$$ conf$$.exe conf$$.file
20917
18262
if test -d conf$$.dir; then
20940
18285
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20941
18286
rmdir conf$$.dir 2>/dev/null
20942
18287
 
 
18288
 
 
18289
# as_fn_mkdir_p
 
18290
# -------------
 
18291
# Create "$as_dir" as a directory, including parents if necessary.
 
18292
as_fn_mkdir_p ()
 
18293
{
 
18294
 
 
18295
  case $as_dir in #(
 
18296
  -*) as_dir=./$as_dir;;
 
18297
  esac
 
18298
  test -d "$as_dir" || eval $as_mkdir_p || {
 
18299
    as_dirs=
 
18300
    while :; do
 
18301
      case $as_dir in #(
 
18302
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
18303
      *) as_qdir=$as_dir;;
 
18304
      esac
 
18305
      as_dirs="'$as_qdir' $as_dirs"
 
18306
      as_dir=`$as_dirname -- "$as_dir" ||
 
18307
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
18308
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
18309
         X"$as_dir" : 'X\(//\)$' \| \
 
18310
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
18311
$as_echo X"$as_dir" |
 
18312
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
18313
            s//\1/
 
18314
            q
 
18315
          }
 
18316
          /^X\(\/\/\)[^/].*/{
 
18317
            s//\1/
 
18318
            q
 
18319
          }
 
18320
          /^X\(\/\/\)$/{
 
18321
            s//\1/
 
18322
            q
 
18323
          }
 
18324
          /^X\(\/\).*/{
 
18325
            s//\1/
 
18326
            q
 
18327
          }
 
18328
          s/.*/./; q'`
 
18329
      test -d "$as_dir" && break
 
18330
    done
 
18331
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
18332
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 
18333
 
 
18334
 
 
18335
} # as_fn_mkdir_p
20943
18336
if mkdir -p . 2>/dev/null; then
20944
 
  as_mkdir_p=:
 
18337
  as_mkdir_p='mkdir -p "$as_dir"'
20945
18338
else
20946
18339
  test -d ./-p && rmdir ./-p
20947
18340
  as_mkdir_p=false
20960
18353
      if test -d "$1"; then
20961
18354
        test -d "$1/.";
20962
18355
      else
20963
 
        case $1 in
 
18356
        case $1 in #(
20964
18357
        -*)set "./$1";;
20965
18358
        esac;
20966
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
18359
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20967
18360
        ???[sx]*):;;*)false;;esac;fi
20968
18361
    '\'' sh
20969
18362
  '
20978
18371
 
20979
18372
 
20980
18373
exec 6>&1
 
18374
## ----------------------------------- ##
 
18375
## Main body of $CONFIG_STATUS script. ##
 
18376
## ----------------------------------- ##
 
18377
_ASEOF
 
18378
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20981
18379
 
20982
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
18380
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
18381
# Save the log message, to keep $0 and so on meaningful, and to
20983
18382
# report actual input values of CONFIG_FILES etc. instead of their
20984
18383
# values after options handling.
20985
18384
ac_log="
20986
 
This file was extended by TeX Live $as_me 2009test-1.6, which was
20987
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
18385
This file was extended by TeX Live $as_me 2010-04-15, which was
 
18386
generated by GNU Autoconf 2.65.  Invocation command line was
20988
18387
 
20989
18388
  CONFIG_FILES    = $CONFIG_FILES
20990
18389
  CONFIG_HEADERS  = $CONFIG_HEADERS
21012
18411
 
21013
18412
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21014
18413
ac_cs_usage="\
21015
 
\`$as_me' instantiates files from templates according to the
21016
 
current configuration.
 
18414
\`$as_me' instantiates files and other configuration actions
 
18415
from templates according to the current configuration.  Unless the files
 
18416
and actions are specified as TAGs, all are instantiated by default.
21017
18417
 
21018
 
Usage: $0 [OPTION]... [FILE]...
 
18418
Usage: $0 [OPTION]... [TAG]...
21019
18419
 
21020
18420
  -h, --help       print this help, then exit
21021
18421
  -V, --version    print version number and configuration settings, then exit
 
18422
      --config     print configuration, then exit
21022
18423
  -q, --quiet, --silent
21023
18424
                   do not print progress messages
21024
18425
  -d, --debug      don't remove temporary files
21032
18433
Configuration commands:
21033
18434
$config_commands
21034
18435
 
21035
 
Report bugs to <bug-autoconf@gnu.org>."
 
18436
Report bugs to <tex-k@tug.org>."
21036
18437
 
21037
18438
_ACEOF
21038
18439
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
18440
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21039
18441
ac_cs_version="\\
21040
 
TeX Live config.status 2009test-1.6
21041
 
configured by $0, generated by GNU Autoconf 2.63,
21042
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
18442
TeX Live config.status 2010-04-15
 
18443
configured by $0, generated by GNU Autoconf 2.65,
 
18444
  with options \\"\$ac_cs_config\\"
21043
18445
 
21044
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
18446
Copyright (C) 2009 Free Software Foundation, Inc.
21045
18447
This config.status script is free software; the Free Software Foundation
21046
18448
gives unlimited permission to copy, distribute and modify it."
21047
18449
 
21077
18479
    ac_cs_recheck=: ;;
21078
18480
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21079
18481
    $as_echo "$ac_cs_version"; exit ;;
 
18482
  --config | --confi | --conf | --con | --co | --c )
 
18483
    $as_echo "$ac_cs_config"; exit ;;
21080
18484
  --debug | --debu | --deb | --de | --d | -d )
21081
18485
    debug=: ;;
21082
18486
  --file | --fil | --fi | --f )
21084
18488
    case $ac_optarg in
21085
18489
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21086
18490
    esac
21087
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
18491
    as_fn_append CONFIG_FILES " '$ac_optarg'"
21088
18492
    ac_need_defaults=false;;
21089
18493
  --he | --h |  --help | --hel | -h )
21090
18494
    $as_echo "$ac_cs_usage"; exit ;;
21093
18497
    ac_cs_silent=: ;;
21094
18498
 
21095
18499
  # This is an error.
21096
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
21097
 
Try \`$0 --help' for more information." >&2
21098
 
   { (exit 1); exit 1; }; } ;;
 
18500
  -*) as_fn_error "unrecognized option: \`$1'
 
18501
Try \`$0 --help' for more information." ;;
21099
18502
 
21100
 
  *) ac_config_targets="$ac_config_targets $1"
 
18503
  *) as_fn_append ac_config_targets " $1"
21101
18504
     ac_need_defaults=false ;;
21102
18505
 
21103
18506
  esac
21150
18553
delay_variable_subst='$delay_variable_subst'
21151
18554
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21152
18555
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
18556
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
 
18557
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
18558
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
21153
18559
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
21154
18560
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21155
18561
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21176
18582
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
21177
18583
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
21178
18584
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21179
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
21180
18585
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
21181
18586
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
21182
18587
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
21335
18740
lt_SP2NL \
21336
18741
lt_NL2SP \
21337
18742
reload_flag \
21338
 
OBJDUMP \
21339
18743
deplibs_check_method \
21340
18744
file_magic_cmd \
21341
18745
AR \
21488
18892
 
21489
18893
 
21490
18894
 
 
18895
enable_libtool_hack='$enable_libtool_hack'
21491
18896
 
21492
18897
 
21493
18898
 
21503
18908
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21504
18909
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21505
18910
 
21506
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21507
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21508
 
   { (exit 1); exit 1; }; };;
 
18911
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21509
18912
  esac
21510
18913
done
21511
18914
 
21531
18934
  trap 'exit_status=$?
21532
18935
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21533
18936
' 0
21534
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
18937
  trap 'as_fn_exit 1' 1 2 13 15
21535
18938
}
21536
18939
# Create a (secure) tmp directory for tmp files.
21537
18940
 
21542
18945
{
21543
18946
  tmp=./conf$$-$RANDOM
21544
18947
  (umask 077 && mkdir "$tmp")
21545
 
} ||
21546
 
{
21547
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
21548
 
   { (exit 1); exit 1; }
21549
 
}
 
18948
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
21550
18949
 
21551
18950
# Set up the scripts for CONFIG_FILES section.
21552
18951
# No need to generate them if there are no CONFIG_FILES.
21554
18953
if test -n "$CONFIG_FILES"; then
21555
18954
 
21556
18955
 
21557
 
ac_cr='
 
 
b"'"
 
18956
ac_cr=`echo X | tr X '\015'`
 
18957
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
18958
# But we know of no other shell where ac_cr would be empty at this
 
18959
# point, so we can use a bashism as a fallback.
 
18960
if test "x$ac_cr" = x; then
 
18961
  eval ac_cr=\$\'\\r\'
 
18962
fi
21558
18963
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21559
18964
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21560
 
  ac_cs_awk_cr='\\r'
 
18965
  ac_cs_awk_cr='\r'
21561
18966
else
21562
18967
  ac_cs_awk_cr=$ac_cr
21563
18968
fi
21571
18976
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21572
18977
  echo "_ACEOF"
21573
18978
} >conf$$subs.sh ||
21574
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21575
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21576
 
   { (exit 1); exit 1; }; }
 
18979
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
21577
18980
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
21578
18981
ac_delim='%!_!# '
21579
18982
for ac_last_try in false false false false false :; do
21580
18983
  . ./conf$$subs.sh ||
21581
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21582
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21583
 
   { (exit 1); exit 1; }; }
 
18984
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
21584
18985
 
21585
18986
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21586
18987
  if test $ac_delim_n = $ac_delim_num; then
21587
18988
    break
21588
18989
  elif $ac_last_try; then
21589
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21590
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21591
 
   { (exit 1); exit 1; }; }
 
18990
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
21592
18991
  else
21593
18992
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21594
18993
  fi
21610
19009
t delim
21611
19010
:nl
21612
19011
h
21613
 
s/\(.\{148\}\).*/\1/
 
19012
s/\(.\{148\}\)..*/\1/
21614
19013
t more1
21615
19014
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21616
19015
p
21624
19023
t nl
21625
19024
:delim
21626
19025
h
21627
 
s/\(.\{148\}\).*/\1/
 
19026
s/\(.\{148\}\)..*/\1/
21628
19027
t more2
21629
19028
s/["\\]/\\&/g; s/^/"/; s/$/"/
21630
19029
p
21677
19076
else
21678
19077
  cat
21679
19078
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
21680
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
21681
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
21682
 
   { (exit 1); exit 1; }; }
 
19079
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
21683
19080
_ACEOF
21684
19081
 
21685
19082
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21710
19107
  esac
21711
19108
  case $ac_mode$ac_tag in
21712
19109
  :[FHL]*:*);;
21713
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
21714
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
21715
 
   { (exit 1); exit 1; }; };;
 
19110
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
21716
19111
  :[FH]-) ac_tag=-:-;;
21717
19112
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21718
19113
  esac
21740
19135
           [\\/$]*) false;;
21741
19136
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21742
19137
           esac ||
21743
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21744
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21745
 
   { (exit 1); exit 1; }; };;
 
19138
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21746
19139
      esac
21747
19140
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21748
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
19141
      as_fn_append ac_file_inputs " '$ac_f'"
21749
19142
    done
21750
19143
 
21751
19144
    # Let's still pretend it is `configure' which instantiates (i.e., don't
21756
19149
        `' by configure.'
21757
19150
    if test x"$ac_file" != x-; then
21758
19151
      configure_input="$ac_file.  $configure_input"
21759
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
19152
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21760
19153
$as_echo "$as_me: creating $ac_file" >&6;}
21761
19154
    fi
21762
19155
    # Neutralize special characters interpreted by sed in replacement strings.
21769
19162
 
21770
19163
    case $ac_tag in
21771
19164
    *:-:* | *:-) cat >"$tmp/stdin" \
21772
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21773
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
21774
 
   { (exit 1); exit 1; }; } ;;
 
19165
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
21775
19166
    esac
21776
19167
    ;;
21777
19168
  esac
21799
19190
            q
21800
19191
          }
21801
19192
          s/.*/./; q'`
21802
 
  { as_dir="$ac_dir"
21803
 
  case $as_dir in #(
21804
 
  -*) as_dir=./$as_dir;;
21805
 
  esac
21806
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21807
 
    as_dirs=
21808
 
    while :; do
21809
 
      case $as_dir in #(
21810
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21811
 
      *) as_qdir=$as_dir;;
21812
 
      esac
21813
 
      as_dirs="'$as_qdir' $as_dirs"
21814
 
      as_dir=`$as_dirname -- "$as_dir" ||
21815
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21816
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
21817
 
         X"$as_dir" : 'X\(//\)$' \| \
21818
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21819
 
$as_echo X"$as_dir" |
21820
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21821
 
            s//\1/
21822
 
            q
21823
 
          }
21824
 
          /^X\(\/\/\)[^/].*/{
21825
 
            s//\1/
21826
 
            q
21827
 
          }
21828
 
          /^X\(\/\/\)$/{
21829
 
            s//\1/
21830
 
            q
21831
 
          }
21832
 
          /^X\(\/\).*/{
21833
 
            s//\1/
21834
 
            q
21835
 
          }
21836
 
          s/.*/./; q'`
21837
 
      test -d "$as_dir" && break
21838
 
    done
21839
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21840
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21841
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21842
 
   { (exit 1); exit 1; }; }; }
 
19193
  as_dir="$ac_dir"; as_fn_mkdir_p
21843
19194
  ac_builddir=.
21844
19195
 
21845
19196
case "$ac_dir" in
21896
19247
# If the template does not know about datarootdir, expand it.
21897
19248
# FIXME: This hack should be removed a few years after 2.60.
21898
19249
ac_datarootdir_hack=; ac_datarootdir_seen=
21899
 
 
21900
19250
ac_sed_dataroot='
21901
19251
/datarootdir/ {
21902
19252
  p
21906
19256
/@docdir@/p
21907
19257
/@infodir@/p
21908
19258
/@localedir@/p
21909
 
/@mandir@/p
21910
 
'
 
19259
/@mandir@/p'
21911
19260
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21912
19261
*datarootdir*) ac_datarootdir_seen=yes;;
21913
19262
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21914
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
19263
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21915
19264
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21916
19265
_ACEOF
21917
19266
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21921
19270
  s&@infodir@&$infodir&g
21922
19271
  s&@localedir@&$localedir&g
21923
19272
  s&@mandir@&$mandir&g
21924
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
19273
  s&\\\${datarootdir}&$datarootdir&g' ;;
21925
19274
esac
21926
19275
_ACEOF
21927
19276
 
21950
19299
$ac_datarootdir_hack
21951
19300
"
21952
19301
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
21953
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21954
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
21955
 
   { (exit 1); exit 1; }; }
 
19302
  || as_fn_error "could not create $ac_file" "$LINENO" 5
21956
19303
 
21957
19304
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21958
19305
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21959
19306
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21960
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
19307
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21961
19308
which seems to be undefined.  Please make sure it is defined." >&5
21962
19309
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21963
19310
which seems to be undefined.  Please make sure it is defined." >&2;}
21967
19314
  -) cat "$tmp/out" && rm -f "$tmp/out";;
21968
19315
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
21969
19316
  esac \
21970
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
21971
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
21972
 
   { (exit 1); exit 1; }; }
 
19317
  || as_fn_error "could not create $ac_file" "$LINENO" 5
21973
19318
 ;;
21974
19319
 
21975
19320
 
21976
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
19321
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21977
19322
$as_echo "$as_me: executing $ac_file commands" >&6;}
21978
19323
 ;;
21979
19324
  esac
21980
19325
 
21981
19326
 
21982
19327
  case $ac_file$ac_mode in
21983
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
21984
 
# are listed without --file.  Let's play safe and only enable the eval
21985
 
# if we detect the quoting.
21986
 
case $CONFIG_FILES in
21987
 
*\'*) eval set x "$CONFIG_FILES" ;;
21988
 
*)   set x $CONFIG_FILES ;;
21989
 
esac
21990
 
shift
21991
 
for mf
21992
 
do
21993
 
  # Strip MF so we end up with the name of the file.
21994
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
21995
 
  # Check whether this is an Automake generated Makefile or not.
21996
 
  # We used to match only the files named `Makefile.in', but
21997
 
  # some people rename them; so instead we look at the file content.
21998
 
  # Grep'ing the first line is not enough: some people post-process
21999
 
  # each Makefile.in and add a new line on top of each file to say so.
22000
 
  # Grep'ing the whole file is not good either: AIX grep has a line
22001
 
  # limit of 2048, but all sed's we know have understand at least 4000.
22002
 
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
22003
 
    dirpart=`$as_dirname -- "$mf" ||
 
19328
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
19329
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
19330
  # are listed without --file.  Let's play safe and only enable the eval
 
19331
  # if we detect the quoting.
 
19332
  case $CONFIG_FILES in
 
19333
  *\'*) eval set x "$CONFIG_FILES" ;;
 
19334
  *)   set x $CONFIG_FILES ;;
 
19335
  esac
 
19336
  shift
 
19337
  for mf
 
19338
  do
 
19339
    # Strip MF so we end up with the name of the file.
 
19340
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
19341
    # Check whether this is an Automake generated Makefile or not.
 
19342
    # We used to match only the files named `Makefile.in', but
 
19343
    # some people rename them; so instead we look at the file content.
 
19344
    # Grep'ing the first line is not enough: some people post-process
 
19345
    # each Makefile.in and add a new line on top of each file to say so.
 
19346
    # Grep'ing the whole file is not good either: AIX grep has a line
 
19347
    # limit of 2048, but all sed's we know have understand at least 4000.
 
19348
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
19349
      dirpart=`$as_dirname -- "$mf" ||
22004
19350
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22005
19351
         X"$mf" : 'X\(//\)[^/]' \| \
22006
19352
         X"$mf" : 'X\(//\)$' \| \
22023
19369
            q
22024
19370
          }
22025
19371
          s/.*/./; q'`
22026
 
  else
22027
 
    continue
22028
 
  fi
22029
 
  # Extract the definition of DEPDIR, am__include, and am__quote
22030
 
  # from the Makefile without running `make'.
22031
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
22032
 
  test -z "$DEPDIR" && continue
22033
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
22034
 
  test -z "am__include" && continue
22035
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
22036
 
  # When using ansi2knr, U may be empty or an underscore; expand it
22037
 
  U=`sed -n 's/^U = //p' < "$mf"`
22038
 
  # Find all dependency output files, they are included files with
22039
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
22040
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
22041
 
  # expansion.
22042
 
  for file in `sed -n "
22043
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22044
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
22045
 
    # Make sure the directory exists.
22046
 
    test -f "$dirpart/$file" && continue
22047
 
    fdir=`$as_dirname -- "$file" ||
 
19372
    else
 
19373
      continue
 
19374
    fi
 
19375
    # Extract the definition of DEPDIR, am__include, and am__quote
 
19376
    # from the Makefile without running `make'.
 
19377
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
19378
    test -z "$DEPDIR" && continue
 
19379
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
19380
    test -z "am__include" && continue
 
19381
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
19382
    # When using ansi2knr, U may be empty or an underscore; expand it
 
19383
    U=`sed -n 's/^U = //p' < "$mf"`
 
19384
    # Find all dependency output files, they are included files with
 
19385
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
19386
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
19387
    # expansion.
 
19388
    for file in `sed -n "
 
19389
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
19390
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
19391
      # Make sure the directory exists.
 
19392
      test -f "$dirpart/$file" && continue
 
19393
      fdir=`$as_dirname -- "$file" ||
22048
19394
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22049
19395
         X"$file" : 'X\(//\)[^/]' \| \
22050
19396
         X"$file" : 'X\(//\)$' \| \
22067
19413
            q
22068
19414
          }
22069
19415
          s/.*/./; q'`
22070
 
    { as_dir=$dirpart/$fdir
22071
 
  case $as_dir in #(
22072
 
  -*) as_dir=./$as_dir;;
22073
 
  esac
22074
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22075
 
    as_dirs=
22076
 
    while :; do
22077
 
      case $as_dir in #(
22078
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22079
 
      *) as_qdir=$as_dir;;
22080
 
      esac
22081
 
      as_dirs="'$as_qdir' $as_dirs"
22082
 
      as_dir=`$as_dirname -- "$as_dir" ||
22083
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22084
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
22085
 
         X"$as_dir" : 'X\(//\)$' \| \
22086
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22087
 
$as_echo X"$as_dir" |
22088
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22089
 
            s//\1/
22090
 
            q
22091
 
          }
22092
 
          /^X\(\/\/\)[^/].*/{
22093
 
            s//\1/
22094
 
            q
22095
 
          }
22096
 
          /^X\(\/\/\)$/{
22097
 
            s//\1/
22098
 
            q
22099
 
          }
22100
 
          /^X\(\/\).*/{
22101
 
            s//\1/
22102
 
            q
22103
 
          }
22104
 
          s/.*/./; q'`
22105
 
      test -d "$as_dir" && break
 
19416
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
19417
      # echo "creating $dirpart/$file"
 
19418
      echo '# dummy' > "$dirpart/$file"
22106
19419
    done
22107
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
22108
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22109
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22110
 
   { (exit 1); exit 1; }; }; }
22111
 
    # echo "creating $dirpart/$file"
22112
 
    echo '# dummy' > "$dirpart/$file"
22113
19420
  done
22114
 
done
 
19421
}
22115
19422
 ;;
22116
19423
    "libtool":C)
22117
19424
 
22170
19477
macro_version=$macro_version
22171
19478
macro_revision=$macro_revision
22172
19479
 
 
19480
# Assembler program.
 
19481
AS=$AS
 
19482
 
 
19483
# DLL creation program.
 
19484
DLLTOOL=$DLLTOOL
 
19485
 
 
19486
# Object dumper program.
 
19487
OBJDUMP=$OBJDUMP
 
19488
 
22173
19489
# Whether or not to build shared libraries.
22174
19490
build_libtool_libs=$enable_shared
22175
19491
 
22235
19551
reload_flag=$lt_reload_flag
22236
19552
reload_cmds=$lt_reload_cmds
22237
19553
 
22238
 
# An object symbol dumper.
22239
 
OBJDUMP=$lt_OBJDUMP
22240
 
 
22241
19554
# Method to check whether dependent libraries are shared objects.
22242
19555
deplibs_check_method=$lt_deplibs_check_method
22243
19556
 
22914
20227
# ### END LIBTOOL TAG CONFIG: CXX
22915
20228
_LT_EOF
22916
20229
 
 
20230
## KPSE_LT_HACK: Prevent libtool from linking dependency_libs
 
20231
if test "x$enable_libtool_hack" = xyes; then
 
20232
  sed '/# Convert "-framework/i \
 
20233
        ## KPSE_LT_HACK: ignore dependency_libs\
 
20234
        test "X$installed" = Xyes && dependency_libs=\
 
20235
' "$ofile" >"$cfgfile"
 
20236
  mv "$cfgfile" "$ofile" ||
 
20237
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
20238
  chmod +x "$ofile"
 
20239
fi
22917
20240
 ;;
22918
20241
 
22919
20242
  esac
22920
20243
done # for ac_tag
22921
20244
 
22922
20245
 
22923
 
{ (exit 0); exit 0; }
 
20246
as_fn_exit 0
22924
20247
_ACEOF
22925
 
chmod +x $CONFIG_STATUS
22926
20248
ac_clean_files=$ac_clean_files_save
22927
20249
 
22928
20250
test $ac_write_fail = 0 ||
22929
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
22930
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
22931
 
   { (exit 1); exit 1; }; }
 
20251
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
22932
20252
 
22933
20253
 
22934
20254
# configure is writing to config.log, and then calls config.status.
22949
20269
  exec 5>>config.log
22950
20270
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22951
20271
  # would make configure fail if this is the last instruction.
22952
 
  $ac_cs_success || { (exit 1); exit 1; }
 
20272
  $ac_cs_success || as_fn_exit $?
22953
20273
fi
22954
20274
 
22955
20275
#
22993
20313
      case $ac_arg in
22994
20314
      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
22995
20315
      esac
22996
 
      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
 
20316
      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
22997
20317
    esac
22998
20318
  done
22999
20319
 
23022
20342
    test -d "$srcdir/$ac_dir" || continue
23023
20343
 
23024
20344
    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
23025
 
    $as_echo "$as_me:$LINENO: $ac_msg" >&5
 
20345
    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
23026
20346
    $as_echo "$ac_msg" >&6
23027
 
    { as_dir="$ac_dir"
23028
 
  case $as_dir in #(
23029
 
  -*) as_dir=./$as_dir;;
23030
 
  esac
23031
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23032
 
    as_dirs=
23033
 
    while :; do
23034
 
      case $as_dir in #(
23035
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23036
 
      *) as_qdir=$as_dir;;
23037
 
      esac
23038
 
      as_dirs="'$as_qdir' $as_dirs"
23039
 
      as_dir=`$as_dirname -- "$as_dir" ||
23040
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23041
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
23042
 
         X"$as_dir" : 'X\(//\)$' \| \
23043
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23044
 
$as_echo X"$as_dir" |
23045
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23046
 
            s//\1/
23047
 
            q
23048
 
          }
23049
 
          /^X\(\/\/\)[^/].*/{
23050
 
            s//\1/
23051
 
            q
23052
 
          }
23053
 
          /^X\(\/\/\)$/{
23054
 
            s//\1/
23055
 
            q
23056
 
          }
23057
 
          /^X\(\/\).*/{
23058
 
            s//\1/
23059
 
            q
23060
 
          }
23061
 
          s/.*/./; q'`
23062
 
      test -d "$as_dir" && break
23063
 
    done
23064
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23065
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23066
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23067
 
   { (exit 1); exit 1; }; }; }
 
20347
    as_dir="$ac_dir"; as_fn_mkdir_p
23068
20348
    ac_builddir=.
23069
20349
 
23070
20350
case "$ac_dir" in
23111
20391
      # This should be Cygnus configure.
23112
20392
      ac_sub_configure=$ac_aux_dir/configure
23113
20393
    else
23114
 
      { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
 
20394
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
23115
20395
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
23116
20396
      ac_sub_configure=
23117
20397
    fi
23125
20405
        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
23126
20406
      esac
23127
20407
 
23128
 
      { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
 
20408
      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
23129
20409
$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
23130
20410
      # The eval makes quoting arguments work.
23131
20411
      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
23132
20412
           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
23133
 
        { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
23134
 
$as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
23135
 
   { (exit 1); exit 1; }; }
 
20413
        as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
23136
20414
    fi
23137
20415
 
23138
20416
    cd "$ac_popdir"
23139
20417
  done
23140
20418
fi
23141
20419
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23142
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
20420
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23143
20421
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23144
20422
fi
23145
20423
 
23146
20424
 
23147
 
if test "x$cross_compiling" = xyes; then
23148
 
  if test "x$build" = x; then
23149
 
  { { $as_echo "$as_me:$LINENO: error: when cross-compiling you must specify both --host and --build." >&5
23150
 
$as_echo "$as_me: error: when cross-compiling you must specify both --host and --build." >&2;}
23151
 
   { (exit 1); exit 1; }; }
 
20425
if test -z "`${MAKE-make} -v 2>/dev/null | grep GNU`"; then
 
20426
  if test "x$enable_native_texlive_build" = xno; then
 
20427
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building TeX Live may require GNU make" >&5
 
20428
$as_echo "$as_me: WARNING: Building TeX Live may require GNU make" >&2;}
 
20429
  else
 
20430
    as_fn_error "Building TeX Live requires GNU make" "$LINENO" 5
 
20431
  fi
23152
20432
fi
23153
20433
 
23154
 
       msg_compiling="cross-compiling on $build"
 
20434
if test "x$cross_compiling" = xyes; then :
 
20435
  msg_compiling="cross-compiling on $build_alias for $host_alias"
23155
20436
else
23156
 
  msg_compiling="compiling"
 
20437
  msg_compiling="compiling for $kpse_build_alias"
23157
20438
fi
23158
 
 
23159
 
{ $as_echo "$as_me:$LINENO: result:
23160
 
** Configuration summary for $PACKAGE_STRING:
23161
 
 
23162
 
   $msg_compiling for $host
23163
 
   prefix:               $prefix
23164
 
   enable_multiplatform: $enable_multiplatform
 
20439
kpse_bld=`pwd`
 
20440
kpse_src=`cd "$srcdir" && pwd`
 
20441
msg_compiling="$msg_compiling
 
20442
      in $kpse_bld"
 
20443
test "x$srcdir" = x. || msg_compiling="$msg_compiling
 
20444
      from sources in $kpse_src"
 
20445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
 
20446
** Configuration summary for $PACKAGE_STRING:
 
20447
 
 
20448
   $msg_compiling" >&5
 
20449
$as_echo "
 
20450
** Configuration summary for $PACKAGE_STRING:
 
20451
 
 
20452
   $msg_compiling" >&6; }
 
20453
case $kpse_src$kpse_bld in
 
20454
  *' '*) as_fn_error "Absolute source and/or build path with embedded spaces" "$LINENO" 5;;
 
20455
esac
 
20456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result:
 
20457
   prefix:                       $prefix
 
20458
   enable_native_texlive_build:  $enable_native_texlive_build
 
20459
   enable_shared:                $enable_shared
 
20460
   enable_multiplatform:         $enable_multiplatform
 
20461
   enable_cxx_runtime_hack:      $enable_cxx_runtime_hack
 
20462
   enable_libtool_hack:          $enable_libtool_hack
 
20463
   enable_compiler_warnings:     $enable_compiler_warnings
23165
20464
 
23166
20465
** Next run \`make' to configure and build each library and program.
23167
20466
" >&5
23168
20467
$as_echo "
23169
 
** Configuration summary for $PACKAGE_STRING:
23170
 
 
23171
 
   $msg_compiling for $host
23172
 
   prefix:               $prefix
23173
 
   enable_multiplatform: $enable_multiplatform
 
20468
   prefix:                       $prefix
 
20469
   enable_native_texlive_build:  $enable_native_texlive_build
 
20470
   enable_shared:                $enable_shared
 
20471
   enable_multiplatform:         $enable_multiplatform
 
20472
   enable_cxx_runtime_hack:      $enable_cxx_runtime_hack
 
20473
   enable_libtool_hack:          $enable_libtool_hack
 
20474
   enable_compiler_warnings:     $enable_compiler_warnings
23174
20475
 
23175
20476
** Next run \`make' to configure and build each library and program.
23176
20477
" >&6; }