~ubuntu-branches/ubuntu/saucy/libxfont/saucy-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2010-11-19 01:17:48 UTC
  • mfrom: (1.1.13 upstream) (10.1.8 experimental)
  • Revision ID: james.westby@ubuntu.com-20101119011748-k5809pbrfmwd0ywd
Tags: 1:1.4.3-1
* New upstream release.
* Bump xutils-dev build-dep for new macros.
* Add xmlto, xorg-sgml-doctools, and w3m build-dep for the doc.
* Pass --with-xmlto and --without-fop for the regular build (we want
  html and txt only). Disable both for the udeb build.
* Tweak doc filenames, and handle that through dh_install.
* Add --fail-missing -XlibXfont.la for the second dh_install call (the
  udeb one), for additional safety.

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 libXfont 1.4.2.
 
3
# Generated by GNU Autoconf 2.68 for libXfont 1.4.3.
4
4
#
5
5
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
6
6
#
 
7
#
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
10
# Foundation, Inc.
 
11
#
 
12
#
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
 
## --------------------- ##
12
 
## M4sh Initialization.  ##
13
 
## --------------------- ##
 
15
## -------------------- ##
 
16
## M4sh Initialization. ##
 
17
## -------------------- ##
14
18
 
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
22
  emulate sh
19
23
  NULLCMD=:
20
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22
26
  alias -g '${1+"$@"}'='"$@"'
23
27
  setopt NO_GLOB_SUBST
24
28
else
25
 
  case `(set -o) 2>/dev/null` in
26
 
  *posix*) set -o posix ;;
 
29
  case `(set -o) 2>/dev/null` in #(
 
30
  *posix*) :
 
31
    set -o posix ;; #(
 
32
  *) :
 
33
     ;;
27
34
esac
28
 
 
29
35
fi
30
36
 
31
37
 
32
 
 
33
 
 
34
 
# PATH needs CR
35
 
# Avoid depending upon Character Ranges.
36
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
 
as_cr_digits='0123456789'
40
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
 
42
38
as_nl='
43
39
'
44
40
export as_nl
46
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
46
# but without wasting forks for bash or zsh.
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
49
  as_echo='print -r --'
 
50
  as_echo_n='print -rn --'
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
52
  as_echo='printf %s\n'
51
53
  as_echo_n='printf %s'
52
54
else
57
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
60
    as_echo_n_body='eval
59
61
      arg=$1;
60
 
      case $arg in
 
62
      case $arg in #(
61
63
      *"$as_nl"*)
62
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80
82
  }
81
83
fi
82
84
 
83
 
# Support unset when possible.
84
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
 
  as_unset=unset
86
 
else
87
 
  as_unset=false
88
 
fi
89
 
 
90
85
 
91
86
# IFS
92
87
# We need space, tab and new line, in precisely that order.  Quoting is
96
91
IFS=" ""        $as_nl"
97
92
 
98
93
# Find who we are.  Look in the path if we contain no directory separator.
99
 
case $0 in
 
94
as_myself=
 
95
case $0 in #((
100
96
  *[\\/]* ) as_myself=$0 ;;
101
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
98
for as_dir in $PATH
103
99
do
104
100
  IFS=$as_save_IFS
105
101
  test -z "$as_dir" && as_dir=.
106
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
 
done
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
103
  done
108
104
IFS=$as_save_IFS
109
105
 
110
106
     ;;
116
112
fi
117
113
if test ! -f "$as_myself"; then
118
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
 
  { (exit 1); exit 1; }
 
115
  exit 1
120
116
fi
121
117
 
122
 
# Work around bugs in pre-3.0 UWIN ksh.
123
 
for as_var in ENV MAIL MAILPATH
124
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
121
# trigger a bug in pdksh 5.2.14.
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
123
do eval test x\${$as_var+set} = xset \
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125
125
done
126
126
PS1='$ '
127
127
PS2='> '
133
133
LANGUAGE=C
134
134
export LANGUAGE
135
135
 
136
 
# Required to use basename.
137
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
 
  as_expr=expr
140
 
else
141
 
  as_expr=false
142
 
fi
143
 
 
144
 
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
 
  as_basename=basename
146
 
else
147
 
  as_basename=false
148
 
fi
149
 
 
150
 
 
151
 
# Name of the executable.
152
 
as_me=`$as_basename -- "$0" ||
153
 
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
 
         X"$0" : 'X\(//\)$' \| \
155
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
 
$as_echo X/"$0" |
157
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
 
            s//\1/
159
 
            q
160
 
          }
161
 
          /^X\/\(\/\/\)$/{
162
 
            s//\1/
163
 
            q
164
 
          }
165
 
          /^X\/\(\/\).*/{
166
 
            s//\1/
167
 
            q
168
 
          }
169
 
          s/.*/./; q'`
170
 
 
171
136
# CDPATH.
172
 
$as_unset CDPATH
173
 
 
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
174
138
 
175
139
if test "x$CONFIG_SHELL" = x; then
176
 
  if (eval ":") 2>/dev/null; then
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
141
  emulate sh
 
142
  NULLCMD=:
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
144
  # is contrary to our usage.  Disable this feature.
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
146
  setopt NO_GLOB_SUBST
 
147
else
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
149
  *posix*) :
 
150
    set -o posix ;; #(
 
151
  *) :
 
152
     ;;
 
153
esac
 
154
fi
 
155
"
 
156
  as_required="as_fn_return () { (exit \$1); }
 
157
as_fn_success () { as_fn_return 0; }
 
158
as_fn_failure () { as_fn_return 1; }
 
159
as_fn_ret_success () { return 0; }
 
160
as_fn_ret_failure () { return 1; }
 
161
 
 
162
exitcode=0
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
168
 
 
169
else
 
170
  exitcode=1; echo positional parameters were not saved.
 
171
fi
 
172
test x\$exitcode = x0 || exit 1"
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
177
test \$(( 1 + 1 )) = 2 || exit 1
 
178
 
 
179
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
180
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
182
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
183
    PATH=/empty FPATH=/empty; export PATH FPATH
 
184
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
185
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
 
186
  if (eval "$as_required") 2>/dev/null; then :
177
187
  as_have_required=yes
178
188
else
179
189
  as_have_required=no
180
190
fi
181
 
 
182
 
  if test $as_have_required = yes &&     (eval ":
183
 
(as_func_return () {
184
 
  (exit \$1)
185
 
}
186
 
as_func_success () {
187
 
  as_func_return 0
188
 
}
189
 
as_func_failure () {
190
 
  as_func_return 1
191
 
}
192
 
as_func_ret_success () {
193
 
  return 0
194
 
}
195
 
as_func_ret_failure () {
196
 
  return 1
197
 
}
198
 
 
199
 
exitcode=0
200
 
if as_func_success; then
201
 
  :
202
 
else
203
 
  exitcode=1
204
 
  echo as_func_success failed.
205
 
fi
206
 
 
207
 
if as_func_failure; then
208
 
  exitcode=1
209
 
  echo as_func_failure succeeded.
210
 
fi
211
 
 
212
 
if as_func_ret_success; then
213
 
  :
214
 
else
215
 
  exitcode=1
216
 
  echo as_func_ret_success failed.
217
 
fi
218
 
 
219
 
if as_func_ret_failure; then
220
 
  exitcode=1
221
 
  echo as_func_ret_failure succeeded.
222
 
fi
223
 
 
224
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
 
  :
226
 
else
227
 
  exitcode=1
228
 
  echo positional parameters were not saved.
229
 
fi
230
 
 
231
 
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
 
233
 
(
234
 
  as_lineno_1=\$LINENO
235
 
  as_lineno_2=\$LINENO
236
 
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
 
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
 
") 2> /dev/null; then
239
 
  :
240
 
else
241
 
  as_candidate_shells=
242
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
191
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
192
 
 
193
else
 
194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
195
as_found=false
243
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
197
do
245
198
  IFS=$as_save_IFS
246
199
  test -z "$as_dir" && as_dir=.
247
 
  case $as_dir in
 
200
  as_found=:
 
201
  case $as_dir in #(
248
202
         /*)
249
203
           for as_base in sh bash ksh sh5; do
250
 
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
204
             # Try only shells that exist, to save several forks.
 
205
             as_shell=$as_dir/$as_base
 
206
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
207
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
208
  CONFIG_SHELL=$as_shell as_have_required=yes
 
209
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
210
  break 2
 
211
fi
 
212
fi
251
213
           done;;
252
214
       esac
 
215
  as_found=false
253
216
done
 
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
218
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
219
  CONFIG_SHELL=$SHELL as_have_required=yes
 
220
fi; }
254
221
IFS=$as_save_IFS
255
222
 
256
223
 
257
 
      for as_shell in $as_candidate_shells $SHELL; do
258
 
         # Try only shells that exist, to save several forks.
259
 
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
 
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
 
  emulate sh
263
 
  NULLCMD=:
264
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
 
  # is contrary to our usage.  Disable this feature.
266
 
  alias -g '${1+"$@"}'='"$@"'
267
 
  setopt NO_GLOB_SUBST
268
 
else
269
 
  case `(set -o) 2>/dev/null` in
270
 
  *posix*) set -o posix ;;
271
 
esac
272
 
 
273
 
fi
274
 
 
275
 
 
276
 
:
277
 
_ASEOF
278
 
}; then
279
 
  CONFIG_SHELL=$as_shell
280
 
               as_have_required=yes
281
 
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
 
  emulate sh
284
 
  NULLCMD=:
285
 
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
 
  # is contrary to our usage.  Disable this feature.
287
 
  alias -g '${1+"$@"}'='"$@"'
288
 
  setopt NO_GLOB_SUBST
289
 
else
290
 
  case `(set -o) 2>/dev/null` in
291
 
  *posix*) set -o posix ;;
292
 
esac
293
 
 
294
 
fi
295
 
 
296
 
 
297
 
:
298
 
(as_func_return () {
299
 
  (exit $1)
300
 
}
301
 
as_func_success () {
302
 
  as_func_return 0
303
 
}
304
 
as_func_failure () {
305
 
  as_func_return 1
306
 
}
307
 
as_func_ret_success () {
308
 
  return 0
309
 
}
310
 
as_func_ret_failure () {
311
 
  return 1
312
 
}
313
 
 
314
 
exitcode=0
315
 
if as_func_success; then
316
 
  :
317
 
else
318
 
  exitcode=1
319
 
  echo as_func_success failed.
320
 
fi
321
 
 
322
 
if as_func_failure; then
323
 
  exitcode=1
324
 
  echo as_func_failure succeeded.
325
 
fi
326
 
 
327
 
if as_func_ret_success; then
328
 
  :
329
 
else
330
 
  exitcode=1
331
 
  echo as_func_ret_success failed.
332
 
fi
333
 
 
334
 
if as_func_ret_failure; then
335
 
  exitcode=1
336
 
  echo as_func_ret_failure succeeded.
337
 
fi
338
 
 
339
 
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
 
  :
341
 
else
342
 
  exitcode=1
343
 
  echo positional parameters were not saved.
344
 
fi
345
 
 
346
 
test $exitcode = 0) || { (exit 1); exit 1; }
347
 
 
348
 
(
349
 
  as_lineno_1=$LINENO
350
 
  as_lineno_2=$LINENO
351
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353
 
 
354
 
_ASEOF
355
 
}; then
356
 
  break
357
 
fi
358
 
 
359
 
fi
360
 
 
361
 
      done
362
 
 
363
 
      if test "x$CONFIG_SHELL" != x; then
364
 
  for as_var in BASH_ENV ENV
365
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
 
        done
 
224
      if test "x$CONFIG_SHELL" != x; then :
 
225
  # We cannot yet assume a decent shell, so we have to provide a
 
226
        # neutralization value for shells without unset; and this also
 
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
 
229
        BASH_ENV=/dev/null
 
230
        ENV=/dev/null
 
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
232
        export CONFIG_SHELL
368
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
 
fi
370
 
 
371
 
 
372
 
    if test $as_have_required = no; then
373
 
  echo This script requires a shell more modern than all the
374
 
      echo shells that I found on your system.  Please install a
375
 
      echo modern shell, or manually run the script under such a
376
 
      echo shell if you do have one.
377
 
      { (exit 1); exit 1; }
378
 
fi
379
 
 
380
 
 
381
 
fi
382
 
 
383
 
fi
384
 
 
385
 
 
386
 
 
387
 
(eval "as_func_return () {
388
 
  (exit \$1)
389
 
}
390
 
as_func_success () {
391
 
  as_func_return 0
392
 
}
393
 
as_func_failure () {
394
 
  as_func_return 1
395
 
}
396
 
as_func_ret_success () {
397
 
  return 0
398
 
}
399
 
as_func_ret_failure () {
400
 
  return 1
401
 
}
402
 
 
403
 
exitcode=0
404
 
if as_func_success; then
405
 
  :
406
 
else
407
 
  exitcode=1
408
 
  echo as_func_success failed.
409
 
fi
410
 
 
411
 
if as_func_failure; then
412
 
  exitcode=1
413
 
  echo as_func_failure succeeded.
414
 
fi
415
 
 
416
 
if as_func_ret_success; then
417
 
  :
418
 
else
419
 
  exitcode=1
420
 
  echo as_func_ret_success failed.
421
 
fi
422
 
 
423
 
if as_func_ret_failure; then
424
 
  exitcode=1
425
 
  echo as_func_ret_failure succeeded.
426
 
fi
427
 
 
428
 
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
 
  :
430
 
else
431
 
  exitcode=1
432
 
  echo positional parameters were not saved.
433
 
fi
434
 
 
435
 
test \$exitcode = 0") || {
436
 
  echo No shell found that supports shell functions.
437
 
  echo Please tell bug-autoconf@gnu.org about your system,
438
 
  echo including any error possibly output before this message.
439
 
  echo This can help us improve future autoconf versions.
440
 
  echo Configuration will now proceed without shell functions.
441
 
}
442
 
 
443
 
 
444
 
 
445
 
  as_lineno_1=$LINENO
446
 
  as_lineno_2=$LINENO
447
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
 
450
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
 
  # line-number line after each line using $LINENO; the second 'sed'
453
 
  # does the real work.  The second script uses 'N' to pair each
454
 
  # line-number line with the line containing $LINENO, and appends
455
 
  # trailing '-' during substitution so that $LINENO is not a special
456
 
  # case at line end.
457
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
240
fi
 
241
 
 
242
    if test x$as_have_required = xno; then :
 
243
  $as_echo "$0: This script requires a shell more modern than all"
 
244
  $as_echo "$0: the shells that I found on your system."
 
245
  if test x${ZSH_VERSION+set} = xset ; then
 
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
248
  else
 
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and
 
250
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
 
251
$0: about your system, including any error possibly output
 
252
$0: before this message. Then install a modern shell, or
 
253
$0: manually run the script under such a shell if you do
 
254
$0: have one."
 
255
  fi
 
256
  exit 1
 
257
fi
 
258
fi
 
259
fi
 
260
SHELL=${CONFIG_SHELL-/bin/sh}
 
261
export SHELL
 
262
# Unset more variables known to interfere with behavior of common tools.
 
263
CLICOLOR_FORCE= GREP_OPTIONS=
 
264
unset CLICOLOR_FORCE GREP_OPTIONS
 
265
 
 
266
## --------------------- ##
 
267
## M4sh Shell Functions. ##
 
268
## --------------------- ##
 
269
# as_fn_unset VAR
 
270
# ---------------
 
271
# Portably unset VAR.
 
272
as_fn_unset ()
 
273
{
 
274
  { eval $1=; unset $1;}
 
275
}
 
276
as_unset=as_fn_unset
 
277
 
 
278
# as_fn_set_status STATUS
 
279
# -----------------------
 
280
# Set $? to STATUS, without forking.
 
281
as_fn_set_status ()
 
282
{
 
283
  return $1
 
284
} # as_fn_set_status
 
285
 
 
286
# as_fn_exit STATUS
 
287
# -----------------
 
288
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
289
as_fn_exit ()
 
290
{
 
291
  set +e
 
292
  as_fn_set_status $1
 
293
  exit $1
 
294
} # as_fn_exit
 
295
 
 
296
# as_fn_mkdir_p
 
297
# -------------
 
298
# Create "$as_dir" as a directory, including parents if necessary.
 
299
as_fn_mkdir_p ()
 
300
{
 
301
 
 
302
  case $as_dir in #(
 
303
  -*) as_dir=./$as_dir;;
 
304
  esac
 
305
  test -d "$as_dir" || eval $as_mkdir_p || {
 
306
    as_dirs=
 
307
    while :; do
 
308
      case $as_dir in #(
 
309
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
310
      *) as_qdir=$as_dir;;
 
311
      esac
 
312
      as_dirs="'$as_qdir' $as_dirs"
 
313
      as_dir=`$as_dirname -- "$as_dir" ||
 
314
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
315
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
316
         X"$as_dir" : 'X\(//\)$' \| \
 
317
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
318
$as_echo X"$as_dir" |
 
319
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
320
            s//\1/
 
321
            q
 
322
          }
 
323
          /^X\(\/\/\)[^/].*/{
 
324
            s//\1/
 
325
            q
 
326
          }
 
327
          /^X\(\/\/\)$/{
 
328
            s//\1/
 
329
            q
 
330
          }
 
331
          /^X\(\/\).*/{
 
332
            s//\1/
 
333
            q
 
334
          }
 
335
          s/.*/./; q'`
 
336
      test -d "$as_dir" && break
 
337
    done
 
338
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
339
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
340
 
 
341
 
 
342
} # as_fn_mkdir_p
 
343
# as_fn_append VAR VALUE
 
344
# ----------------------
 
345
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
346
# advantage of any shell optimizations that allow amortized linear growth over
 
347
# repeated appends, instead of the typical quadratic growth present in naive
 
348
# implementations.
 
349
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
350
  eval 'as_fn_append ()
 
351
  {
 
352
    eval $1+=\$2
 
353
  }'
 
354
else
 
355
  as_fn_append ()
 
356
  {
 
357
    eval $1=\$$1\$2
 
358
  }
 
359
fi # as_fn_append
 
360
 
 
361
# as_fn_arith ARG...
 
362
# ------------------
 
363
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
364
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
365
# must be portable across $(()) and expr.
 
366
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
367
  eval 'as_fn_arith ()
 
368
  {
 
369
    as_val=$(( $* ))
 
370
  }'
 
371
else
 
372
  as_fn_arith ()
 
373
  {
 
374
    as_val=`expr "$@" || test $? -eq 1`
 
375
  }
 
376
fi # as_fn_arith
 
377
 
 
378
 
 
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
380
# ----------------------------------------
 
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
383
# script with STATUS, using 1 if that was 0.
 
384
as_fn_error ()
 
385
{
 
386
  as_status=$1; test $as_status -eq 0 && as_status=1
 
387
  if test "$4"; then
 
388
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
389
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
390
  fi
 
391
  $as_echo "$as_me: error: $2" >&2
 
392
  as_fn_exit $as_status
 
393
} # as_fn_error
 
394
 
 
395
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
396
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
397
  as_expr=expr
 
398
else
 
399
  as_expr=false
 
400
fi
 
401
 
 
402
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
403
  as_basename=basename
 
404
else
 
405
  as_basename=false
 
406
fi
 
407
 
 
408
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
409
  as_dirname=dirname
 
410
else
 
411
  as_dirname=false
 
412
fi
 
413
 
 
414
as_me=`$as_basename -- "$0" ||
 
415
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
416
         X"$0" : 'X\(//\)$' \| \
 
417
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
418
$as_echo X/"$0" |
 
419
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
420
            s//\1/
 
421
            q
 
422
          }
 
423
          /^X\/\(\/\/\)$/{
 
424
            s//\1/
 
425
            q
 
426
          }
 
427
          /^X\/\(\/\).*/{
 
428
            s//\1/
 
429
            q
 
430
          }
 
431
          s/.*/./; q'`
 
432
 
 
433
# Avoid depending upon Character Ranges.
 
434
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
435
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
436
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
437
as_cr_digits='0123456789'
 
438
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
439
 
 
440
 
 
441
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
442
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
443
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
444
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
445
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
460
446
  sed -n '
461
447
    p
462
448
    /[$]LINENO/=
473
459
      s/-\n.*//
474
460
    ' >$as_me.lineno &&
475
461
  chmod +x "$as_me.lineno" ||
476
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
 
   { (exit 1); exit 1; }; }
 
462
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
478
463
 
479
464
  # Don't try to exec as it changes $[0], causing all sort of problems
480
465
  # (the dirname of $[0] is not the place where we might find the
484
469
  exit
485
470
}
486
471
 
487
 
 
488
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
 
  as_dirname=dirname
490
 
else
491
 
  as_dirname=false
492
 
fi
493
 
 
494
472
ECHO_C= ECHO_N= ECHO_T=
495
 
case `echo -n x` in
 
473
case `echo -n x` in #(((((
496
474
-n*)
497
 
  case `echo 'x\c'` in
 
475
  case `echo 'xy\c'` in
498
476
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499
 
  *)   ECHO_C='\c';;
 
477
  xy)  ECHO_C='\c';;
 
478
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
479
       ECHO_T=' ';;
500
480
  esac;;
501
481
*)
502
482
  ECHO_N='-n';;
503
483
esac
504
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
 
  as_expr=expr
507
 
else
508
 
  as_expr=false
509
 
fi
510
484
 
511
485
rm -f conf$$ conf$$.exe conf$$.file
512
486
if test -d conf$$.dir; then
536
510
rmdir conf$$.dir 2>/dev/null
537
511
 
538
512
if mkdir -p . 2>/dev/null; then
539
 
  as_mkdir_p=:
 
513
  as_mkdir_p='mkdir -p "$as_dir"'
540
514
else
541
515
  test -d ./-p && rmdir ./-p
542
516
  as_mkdir_p=false
555
529
      if test -d "$1"; then
556
530
        test -d "$1/.";
557
531
      else
558
 
        case $1 in
 
532
        case $1 in #(
559
533
        -*)set "./$1";;
560
534
        esac;
561
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
535
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
562
536
        ???[sx]*):;;*)false;;esac;fi
563
537
    '\'' sh
564
538
  '
571
545
# Sed expression to map a string onto a valid variable name.
572
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
547
 
574
 
 
575
548
as_awk_strverscmp='
576
549
  # Use only awk features that work with 7th edition Unix awk (1978).
577
550
  # My, what an old awk you have, Mr. Solaris!
632
605
    if (length(v1)) exit 2
633
606
  }
634
607
'
635
 
 
636
 
 
637
 
# Check that we are running under the correct shell.
638
608
SHELL=${CONFIG_SHELL-/bin/sh}
639
609
 
640
 
case X$lt_ECHO in
641
 
X*--fallback-echo)
642
 
  # Remove one level of quotation (which was required for Make).
643
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
644
 
  ;;
645
 
esac
646
 
 
647
 
ECHO=${lt_ECHO-echo}
648
 
if test "X$1" = X--no-reexec; then
649
 
  # Discard the --no-reexec flag, and continue.
650
 
  shift
651
 
elif test "X$1" = X--fallback-echo; then
652
 
  # Avoid inline document here, it may be left over
653
 
  :
654
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
655
 
  # Yippee, $ECHO works!
656
 
  :
657
 
else
658
 
  # Restart under the correct shell.
659
 
  exec $SHELL "$0" --no-reexec ${1+"$@"}
660
 
fi
661
 
 
662
 
if test "X$1" = X--fallback-echo; then
663
 
  # used as fallback echo
664
 
  shift
665
 
  cat <<_LT_EOF
666
 
$*
667
 
_LT_EOF
668
 
  exit 0
669
 
fi
670
 
 
671
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
672
 
# if CDPATH is set.
673
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
674
 
 
675
 
if test -z "$lt_ECHO"; then
676
 
  if test "X${echo_test_string+set}" != Xset; then
677
 
    # find a string as large as possible, as long as the shell can cope with it
678
 
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
679
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
680
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
681
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
682
 
      then
683
 
        break
684
 
      fi
685
 
    done
686
 
  fi
687
 
 
688
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
689
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
690
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
691
 
    :
692
 
  else
693
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
694
 
    # backslashes.  This makes it impossible to quote backslashes using
695
 
    #   echo "$something" | sed 's/\\/\\\\/g'
696
 
    #
697
 
    # So, first we look for a working echo in the user's PATH.
698
 
 
699
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
700
 
    for dir in $PATH /usr/ucb; do
701
 
      IFS="$lt_save_ifs"
702
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
703
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
704
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
705
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
706
 
        ECHO="$dir/echo"
707
 
        break
708
 
      fi
709
 
    done
710
 
    IFS="$lt_save_ifs"
711
 
 
712
 
    if test "X$ECHO" = Xecho; then
713
 
      # We didn't find a better echo, so look for alternatives.
714
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
715
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
716
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
717
 
        # This shell has a builtin print -r that does the trick.
718
 
        ECHO='print -r'
719
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
720
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
721
 
        # If we have ksh, try running configure again with it.
722
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
723
 
        export ORIGINAL_CONFIG_SHELL
724
 
        CONFIG_SHELL=/bin/ksh
725
 
        export CONFIG_SHELL
726
 
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
727
 
      else
728
 
        # Try using printf.
729
 
        ECHO='printf %s\n'
730
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
731
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
732
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
733
 
          # Cool, printf works
734
 
          :
735
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
736
 
             test "X$echo_testing_string" = 'X\t' &&
737
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
738
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
739
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
740
 
          export CONFIG_SHELL
741
 
          SHELL="$CONFIG_SHELL"
742
 
          export SHELL
743
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
744
 
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
745
 
             test "X$echo_testing_string" = 'X\t' &&
746
 
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
747
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
748
 
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
749
 
        else
750
 
          # maybe with a smaller string...
751
 
          prev=:
752
 
 
753
 
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
754
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
755
 
            then
756
 
              break
757
 
            fi
758
 
            prev="$cmd"
759
 
          done
760
 
 
761
 
          if test "$prev" != 'sed 50q "$0"'; then
762
 
            echo_test_string=`eval $prev`
763
 
            export echo_test_string
764
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
765
 
          else
766
 
            # Oops.  We lost completely, so just stick with echo.
767
 
            ECHO=echo
768
 
          fi
769
 
        fi
770
 
      fi
771
 
    fi
772
 
  fi
773
 
fi
774
 
 
775
 
# Copy echo and quote the copy suitably for passing to libtool from
776
 
# the Makefile, instead of quoting the original, which is used later.
777
 
lt_ECHO=$ECHO
778
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
779
 
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
780
 
fi
781
 
 
782
 
 
783
 
 
784
 
 
785
 
exec 7<&0 </dev/null 6>&1
 
610
 
 
611
test -n "$DJDIR" || exec 7<&0 </dev/null
 
612
exec 6>&1
786
613
 
787
614
# Name of the host.
788
 
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
 
615
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
789
616
# so uname gets run too.
790
617
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
791
618
 
800
627
subdirs=
801
628
MFLAGS=
802
629
MAKEFLAGS=
803
 
SHELL=${CONFIG_SHELL-/bin/sh}
804
630
 
805
631
# Identity of this package.
806
632
PACKAGE_NAME='libXfont'
807
633
PACKAGE_TARNAME='libXfont'
808
 
PACKAGE_VERSION='1.4.2'
809
 
PACKAGE_STRING='libXfont 1.4.2'
 
634
PACKAGE_VERSION='1.4.3'
 
635
PACKAGE_STRING='libXfont 1.4.3'
810
636
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
 
637
PACKAGE_URL=''
811
638
 
812
639
# Factoring default headers for most tests.
813
640
ac_includes_default="\
845
672
# include <unistd.h>
846
673
#endif"
847
674
 
848
 
ac_subst_vars='LTLIBOBJS
 
675
ac_subst_vars='am__EXEEXT_FALSE
 
676
am__EXEEXT_TRUE
 
677
LTLIBOBJS
849
678
LIBOBJS
850
679
OS_CFLAGS
851
680
XFONT_LIBS
880
709
LIPO
881
710
NMEDIT
882
711
DSYMUTIL
883
 
lt_ECHO
884
712
RANLIB
885
713
AR
886
714
OBJDUMP
891
719
LD
892
720
FGREP
893
721
LIBTOOL
 
722
HAVE_STYLESHEETS_FALSE
 
723
HAVE_STYLESHEETS_TRUE
 
724
XSL_STYLESHEET
 
725
STYLESHEET_SRCDIR
 
726
XORG_SGML_PATH
894
727
HAVE_FOP_FALSE
895
728
HAVE_FOP_TRUE
896
729
FOP
897
730
HAVE_XMLTO_FALSE
898
731
HAVE_XMLTO_TRUE
 
732
HAVE_XMLTO_TEXT_FALSE
 
733
HAVE_XMLTO_TEXT_TRUE
899
734
XMLTO
900
735
ENABLE_DEVEL_DOCS_FALSE
901
736
ENABLE_DEVEL_DOCS_TRUE
 
737
AM_BACKSLASH
902
738
AM_DEFAULT_VERBOSITY
903
739
MAN_SUBSTS
904
740
XORG_MAN_PAGE
1002
838
program_transform_name
1003
839
prefix
1004
840
exec_prefix
 
841
PACKAGE_URL
1005
842
PACKAGE_BUGREPORT
1006
843
PACKAGE_STRING
1007
844
PACKAGE_VERSION
1015
852
enable_maintainer_mode
1016
853
enable_dependency_tracking
1017
854
enable_strict_compilation
 
855
enable_silent_rules
1018
856
enable_devel_docs
1019
857
with_xmlto
1020
858
with_fop
1115
953
  fi
1116
954
 
1117
955
  case $ac_option in
1118
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1119
 
  *)    ac_optarg=yes ;;
 
956
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
957
  *=)   ac_optarg= ;;
 
958
  *)    ac_optarg=yes ;;
1120
959
  esac
1121
960
 
1122
961
  # Accept the important Cygnus configure options, so we can diagnose typos.
1161
1000
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1162
1001
    # Reject names that are not valid shell variable names.
1163
1002
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1164
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1165
 
   { (exit 1); exit 1; }; }
 
1003
      as_fn_error $? "invalid feature name: $ac_useropt"
1166
1004
    ac_useropt_orig=$ac_useropt
1167
1005
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1168
1006
    case $ac_user_opts in
1188
1026
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1189
1027
    # Reject names that are not valid shell variable names.
1190
1028
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1191
 
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1192
 
   { (exit 1); exit 1; }; }
 
1029
      as_fn_error $? "invalid feature name: $ac_useropt"
1193
1030
    ac_useropt_orig=$ac_useropt
1194
1031
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195
1032
    case $ac_user_opts in
1393
1230
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1394
1231
    # Reject names that are not valid shell variable names.
1395
1232
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1396
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1397
 
   { (exit 1); exit 1; }; }
 
1233
      as_fn_error $? "invalid package name: $ac_useropt"
1398
1234
    ac_useropt_orig=$ac_useropt
1399
1235
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1400
1236
    case $ac_user_opts in
1410
1246
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1411
1247
    # Reject names that are not valid shell variable names.
1412
1248
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1413
 
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1414
 
   { (exit 1); exit 1; }; }
 
1249
      as_fn_error $? "invalid package name: $ac_useropt"
1415
1250
    ac_useropt_orig=$ac_useropt
1416
1251
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1417
1252
    case $ac_user_opts in
1441
1276
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1442
1277
    x_libraries=$ac_optarg ;;
1443
1278
 
1444
 
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1445
 
Try \`$0 --help' for more information." >&2
1446
 
   { (exit 1); exit 1; }; }
 
1279
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
1280
Try \`$0 --help' for more information"
1447
1281
    ;;
1448
1282
 
1449
1283
  *=*)
1450
1284
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1451
1285
    # Reject names that are not valid shell variable names.
1452
 
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1453
 
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1454
 
   { (exit 1); exit 1; }; }
 
1286
    case $ac_envvar in #(
 
1287
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
1288
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
1289
    esac
1455
1290
    eval $ac_envvar=\$ac_optarg
1456
1291
    export $ac_envvar ;;
1457
1292
 
1460
1295
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1461
1296
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1462
1297
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1463
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1298
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1464
1299
    ;;
1465
1300
 
1466
1301
  esac
1468
1303
 
1469
1304
if test -n "$ac_prev"; then
1470
1305
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1471
 
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1472
 
   { (exit 1); exit 1; }; }
 
1306
  as_fn_error $? "missing argument to $ac_option"
1473
1307
fi
1474
1308
 
1475
1309
if test -n "$ac_unrecognized_opts"; then
1476
1310
  case $enable_option_checking in
1477
1311
    no) ;;
1478
 
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1479
 
   { (exit 1); exit 1; }; } ;;
 
1312
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1480
1313
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1481
1314
  esac
1482
1315
fi
1499
1332
    [\\/$]* | ?:[\\/]* )  continue;;
1500
1333
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1501
1334
  esac
1502
 
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1503
 
   { (exit 1); exit 1; }; }
 
1335
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1504
1336
done
1505
1337
 
1506
1338
# There might be people who depend on the old broken behavior: `$host'
1514
1346
if test "x$host_alias" != x; then
1515
1347
  if test "x$build_alias" = x; then
1516
1348
    cross_compiling=maybe
1517
 
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1518
 
    If a cross compiler is detected then cross compile mode will be used." >&2
 
1349
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
1350
    If a cross compiler is detected then cross compile mode will be used" >&2
1519
1351
  elif test "x$build_alias" != "x$host_alias"; then
1520
1352
    cross_compiling=yes
1521
1353
  fi
1530
1362
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1531
1363
ac_ls_di=`ls -di .` &&
1532
1364
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1533
 
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1534
 
   { (exit 1); exit 1; }; }
 
1365
  as_fn_error $? "working directory cannot be determined"
1535
1366
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1536
 
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1537
 
   { (exit 1); exit 1; }; }
 
1367
  as_fn_error $? "pwd does not report name of working directory"
1538
1368
 
1539
1369
 
1540
1370
# Find the source files, if location was not specified.
1573
1403
fi
1574
1404
if test ! -r "$srcdir/$ac_unique_file"; then
1575
1405
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1576
 
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1577
 
   { (exit 1); exit 1; }; }
 
1406
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1578
1407
fi
1579
1408
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1580
1409
ac_abs_confdir=`(
1581
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1582
 
   { (exit 1); exit 1; }; }
 
1410
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1583
1411
        pwd)`
1584
1412
# When building in place, set srcdir=.
1585
1413
if test "$ac_abs_confdir" = "$ac_pwd"; then
1605
1433
  # Omit some internal or obsolete options to make the list less imposing.
1606
1434
  # This message is too long to be a string in the A/UX 3.1 sh.
1607
1435
  cat <<_ACEOF
1608
 
\`configure' configures libXfont 1.4.2 to adapt to many kinds of systems.
 
1436
\`configure' configures libXfont 1.4.3 to adapt to many kinds of systems.
1609
1437
 
1610
1438
Usage: $0 [OPTION]... [VAR=VALUE]...
1611
1439
 
1619
1447
      --help=short        display options specific to this package
1620
1448
      --help=recursive    display the short help of all the included packages
1621
1449
  -V, --version           display version information and exit
1622
 
  -q, --quiet, --silent   do not print \`checking...' messages
 
1450
  -q, --quiet, --silent   do not print \`checking ...' messages
1623
1451
      --cache-file=FILE   cache test results in FILE [disabled]
1624
1452
  -C, --config-cache      alias for \`--cache-file=config.cache'
1625
1453
  -n, --no-create         do not create output files
1675
1503
 
1676
1504
if test -n "$ac_init_help"; then
1677
1505
  case $ac_init_help in
1678
 
     short | recursive ) echo "Configuration of libXfont 1.4.2:";;
 
1506
     short | recursive ) echo "Configuration of libXfont 1.4.3:";;
1679
1507
   esac
1680
1508
  cat <<\_ACEOF
1681
1509
 
1690
1518
  --enable-strict-compilation
1691
1519
                          Enable all warnings from compiler and make them
1692
1520
                          errors (default: disabled)
 
1521
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1522
  --disable-silent-rules         verbose build output (undo: `make V=0')
1693
1523
  --enable-devel-docs     Enable building the developer documentation
1694
1524
                          (default: yes)
1695
1525
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1728
1558
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1729
1559
              nonstandard directory <lib dir>
1730
1560
  LIBS        libraries to pass to the linker, e.g. -l<library>
1731
 
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1561
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1732
1562
              you have headers in a nonstandard directory <include dir>
1733
1563
  CPP         C preprocessor
1734
1564
  PKG_CONFIG  path to pkg-config utility
1808
1638
test -n "$ac_init_help" && exit $ac_status
1809
1639
if $ac_init_version; then
1810
1640
  cat <<\_ACEOF
1811
 
libXfont configure 1.4.2
1812
 
generated by GNU Autoconf 2.63
 
1641
libXfont configure 1.4.3
 
1642
generated by GNU Autoconf 2.68
1813
1643
 
1814
 
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1815
 
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
1644
Copyright (C) 2010 Free Software Foundation, Inc.
1816
1645
This configure script is free software; the Free Software Foundation
1817
1646
gives unlimited permission to copy, distribute and modify it.
1818
1647
_ACEOF
1819
1648
  exit
1820
1649
fi
 
1650
 
 
1651
## ------------------------ ##
 
1652
## Autoconf initialization. ##
 
1653
## ------------------------ ##
 
1654
 
 
1655
# ac_fn_c_try_compile LINENO
 
1656
# --------------------------
 
1657
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
1658
ac_fn_c_try_compile ()
 
1659
{
 
1660
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1661
  rm -f conftest.$ac_objext
 
1662
  if { { ac_try="$ac_compile"
 
1663
case "(($ac_try" in
 
1664
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1665
  *) ac_try_echo=$ac_try;;
 
1666
esac
 
1667
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1668
$as_echo "$ac_try_echo"; } >&5
 
1669
  (eval "$ac_compile") 2>conftest.err
 
1670
  ac_status=$?
 
1671
  if test -s conftest.err; then
 
1672
    grep -v '^ *+' conftest.err >conftest.er1
 
1673
    cat conftest.er1 >&5
 
1674
    mv -f conftest.er1 conftest.err
 
1675
  fi
 
1676
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1677
  test $ac_status = 0; } && {
 
1678
         test -z "$ac_c_werror_flag" ||
 
1679
         test ! -s conftest.err
 
1680
       } && test -s conftest.$ac_objext; then :
 
1681
  ac_retval=0
 
1682
else
 
1683
  $as_echo "$as_me: failed program was:" >&5
 
1684
sed 's/^/| /' conftest.$ac_ext >&5
 
1685
 
 
1686
        ac_retval=1
 
1687
fi
 
1688
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1689
  as_fn_set_status $ac_retval
 
1690
 
 
1691
} # ac_fn_c_try_compile
 
1692
 
 
1693
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
 
1694
# ---------------------------------------------
 
1695
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
 
1696
# accordingly.
 
1697
ac_fn_c_check_decl ()
 
1698
{
 
1699
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1700
  as_decl_name=`echo $2|sed 's/ *(.*//'`
 
1701
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
 
1702
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
 
1703
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
 
1704
if eval \${$3+:} false; then :
 
1705
  $as_echo_n "(cached) " >&6
 
1706
else
 
1707
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1708
/* end confdefs.h.  */
 
1709
$4
 
1710
int
 
1711
main ()
 
1712
{
 
1713
#ifndef $as_decl_name
 
1714
#ifdef __cplusplus
 
1715
  (void) $as_decl_use;
 
1716
#else
 
1717
  (void) $as_decl_name;
 
1718
#endif
 
1719
#endif
 
1720
 
 
1721
  ;
 
1722
  return 0;
 
1723
}
 
1724
_ACEOF
 
1725
if ac_fn_c_try_compile "$LINENO"; then :
 
1726
  eval "$3=yes"
 
1727
else
 
1728
  eval "$3=no"
 
1729
fi
 
1730
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1731
fi
 
1732
eval ac_res=\$$3
 
1733
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1734
$as_echo "$ac_res" >&6; }
 
1735
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1736
 
 
1737
} # ac_fn_c_check_decl
 
1738
 
 
1739
# ac_fn_c_try_cpp LINENO
 
1740
# ----------------------
 
1741
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
1742
ac_fn_c_try_cpp ()
 
1743
{
 
1744
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1745
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
1746
case "(($ac_try" in
 
1747
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1748
  *) ac_try_echo=$ac_try;;
 
1749
esac
 
1750
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1751
$as_echo "$ac_try_echo"; } >&5
 
1752
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
1753
  ac_status=$?
 
1754
  if test -s conftest.err; then
 
1755
    grep -v '^ *+' conftest.err >conftest.er1
 
1756
    cat conftest.er1 >&5
 
1757
    mv -f conftest.er1 conftest.err
 
1758
  fi
 
1759
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1760
  test $ac_status = 0; } > conftest.i && {
 
1761
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
1762
         test ! -s conftest.err
 
1763
       }; then :
 
1764
  ac_retval=0
 
1765
else
 
1766
  $as_echo "$as_me: failed program was:" >&5
 
1767
sed 's/^/| /' conftest.$ac_ext >&5
 
1768
 
 
1769
    ac_retval=1
 
1770
fi
 
1771
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1772
  as_fn_set_status $ac_retval
 
1773
 
 
1774
} # ac_fn_c_try_cpp
 
1775
 
 
1776
# ac_fn_c_try_run LINENO
 
1777
# ----------------------
 
1778
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
1779
# that executables *can* be run.
 
1780
ac_fn_c_try_run ()
 
1781
{
 
1782
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1783
  if { { ac_try="$ac_link"
 
1784
case "(($ac_try" in
 
1785
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1786
  *) ac_try_echo=$ac_try;;
 
1787
esac
 
1788
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1789
$as_echo "$ac_try_echo"; } >&5
 
1790
  (eval "$ac_link") 2>&5
 
1791
  ac_status=$?
 
1792
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1793
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
1794
  { { case "(($ac_try" in
 
1795
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1796
  *) ac_try_echo=$ac_try;;
 
1797
esac
 
1798
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1799
$as_echo "$ac_try_echo"; } >&5
 
1800
  (eval "$ac_try") 2>&5
 
1801
  ac_status=$?
 
1802
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1803
  test $ac_status = 0; }; }; then :
 
1804
  ac_retval=0
 
1805
else
 
1806
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
1807
       $as_echo "$as_me: failed program was:" >&5
 
1808
sed 's/^/| /' conftest.$ac_ext >&5
 
1809
 
 
1810
       ac_retval=$ac_status
 
1811
fi
 
1812
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1813
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1814
  as_fn_set_status $ac_retval
 
1815
 
 
1816
} # ac_fn_c_try_run
 
1817
 
 
1818
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
1819
# -------------------------------------------------------
 
1820
# Tests whether HEADER exists and can be compiled using the include files in
 
1821
# INCLUDES, setting the cache variable VAR accordingly.
 
1822
ac_fn_c_check_header_compile ()
 
1823
{
 
1824
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1825
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1826
$as_echo_n "checking for $2... " >&6; }
 
1827
if eval \${$3+:} false; then :
 
1828
  $as_echo_n "(cached) " >&6
 
1829
else
 
1830
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1831
/* end confdefs.h.  */
 
1832
$4
 
1833
#include <$2>
 
1834
_ACEOF
 
1835
if ac_fn_c_try_compile "$LINENO"; then :
 
1836
  eval "$3=yes"
 
1837
else
 
1838
  eval "$3=no"
 
1839
fi
 
1840
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1841
fi
 
1842
eval ac_res=\$$3
 
1843
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1844
$as_echo "$ac_res" >&6; }
 
1845
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1846
 
 
1847
} # ac_fn_c_check_header_compile
 
1848
 
 
1849
# ac_fn_c_try_link LINENO
 
1850
# -----------------------
 
1851
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
1852
ac_fn_c_try_link ()
 
1853
{
 
1854
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1855
  rm -f conftest.$ac_objext conftest$ac_exeext
 
1856
  if { { ac_try="$ac_link"
 
1857
case "(($ac_try" in
 
1858
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
1859
  *) ac_try_echo=$ac_try;;
 
1860
esac
 
1861
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
1862
$as_echo "$ac_try_echo"; } >&5
 
1863
  (eval "$ac_link") 2>conftest.err
 
1864
  ac_status=$?
 
1865
  if test -s conftest.err; then
 
1866
    grep -v '^ *+' conftest.err >conftest.er1
 
1867
    cat conftest.er1 >&5
 
1868
    mv -f conftest.er1 conftest.err
 
1869
  fi
 
1870
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
1871
  test $ac_status = 0; } && {
 
1872
         test -z "$ac_c_werror_flag" ||
 
1873
         test ! -s conftest.err
 
1874
       } && test -s conftest$ac_exeext && {
 
1875
         test "$cross_compiling" = yes ||
 
1876
         $as_test_x conftest$ac_exeext
 
1877
       }; then :
 
1878
  ac_retval=0
 
1879
else
 
1880
  $as_echo "$as_me: failed program was:" >&5
 
1881
sed 's/^/| /' conftest.$ac_ext >&5
 
1882
 
 
1883
        ac_retval=1
 
1884
fi
 
1885
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
1886
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
1887
  # interfere with the next link command; also delete a directory that is
 
1888
  # left behind by Apple's compiler.  We do this before executing the actions.
 
1889
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
1890
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1891
  as_fn_set_status $ac_retval
 
1892
 
 
1893
} # ac_fn_c_try_link
 
1894
 
 
1895
# ac_fn_c_check_func LINENO FUNC VAR
 
1896
# ----------------------------------
 
1897
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
1898
ac_fn_c_check_func ()
 
1899
{
 
1900
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1901
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1902
$as_echo_n "checking for $2... " >&6; }
 
1903
if eval \${$3+:} false; then :
 
1904
  $as_echo_n "(cached) " >&6
 
1905
else
 
1906
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1907
/* end confdefs.h.  */
 
1908
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
1909
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
1910
#define $2 innocuous_$2
 
1911
 
 
1912
/* System header to define __stub macros and hopefully few prototypes,
 
1913
    which can conflict with char $2 (); below.
 
1914
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
1915
    <limits.h> exists even on freestanding compilers.  */
 
1916
 
 
1917
#ifdef __STDC__
 
1918
# include <limits.h>
 
1919
#else
 
1920
# include <assert.h>
 
1921
#endif
 
1922
 
 
1923
#undef $2
 
1924
 
 
1925
/* Override any GCC internal prototype to avoid an error.
 
1926
   Use char because int might match the return type of a GCC
 
1927
   builtin and then its argument prototype would still apply.  */
 
1928
#ifdef __cplusplus
 
1929
extern "C"
 
1930
#endif
 
1931
char $2 ();
 
1932
/* The GNU C library defines this for functions which it implements
 
1933
    to always fail with ENOSYS.  Some functions are actually named
 
1934
    something starting with __ and the normal name is an alias.  */
 
1935
#if defined __stub_$2 || defined __stub___$2
 
1936
choke me
 
1937
#endif
 
1938
 
 
1939
int
 
1940
main ()
 
1941
{
 
1942
return $2 ();
 
1943
  ;
 
1944
  return 0;
 
1945
}
 
1946
_ACEOF
 
1947
if ac_fn_c_try_link "$LINENO"; then :
 
1948
  eval "$3=yes"
 
1949
else
 
1950
  eval "$3=no"
 
1951
fi
 
1952
rm -f core conftest.err conftest.$ac_objext \
 
1953
    conftest$ac_exeext conftest.$ac_ext
 
1954
fi
 
1955
eval ac_res=\$$3
 
1956
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1957
$as_echo "$ac_res" >&6; }
 
1958
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
1959
 
 
1960
} # ac_fn_c_check_func
 
1961
 
 
1962
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
1963
# -------------------------------------------------------
 
1964
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
1965
# the include files in INCLUDES and setting the cache variable VAR
 
1966
# accordingly.
 
1967
ac_fn_c_check_header_mongrel ()
 
1968
{
 
1969
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
1970
  if eval \${$3+:} false; then :
 
1971
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
1972
$as_echo_n "checking for $2... " >&6; }
 
1973
if eval \${$3+:} false; then :
 
1974
  $as_echo_n "(cached) " >&6
 
1975
fi
 
1976
eval ac_res=\$$3
 
1977
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
1978
$as_echo "$ac_res" >&6; }
 
1979
else
 
1980
  # Is the header compilable?
 
1981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
1982
$as_echo_n "checking $2 usability... " >&6; }
 
1983
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
1984
/* end confdefs.h.  */
 
1985
$4
 
1986
#include <$2>
 
1987
_ACEOF
 
1988
if ac_fn_c_try_compile "$LINENO"; then :
 
1989
  ac_header_compiler=yes
 
1990
else
 
1991
  ac_header_compiler=no
 
1992
fi
 
1993
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
1994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
1995
$as_echo "$ac_header_compiler" >&6; }
 
1996
 
 
1997
# Is the header present?
 
1998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
1999
$as_echo_n "checking $2 presence... " >&6; }
 
2000
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2001
/* end confdefs.h.  */
 
2002
#include <$2>
 
2003
_ACEOF
 
2004
if ac_fn_c_try_cpp "$LINENO"; then :
 
2005
  ac_header_preproc=yes
 
2006
else
 
2007
  ac_header_preproc=no
 
2008
fi
 
2009
rm -f conftest.err conftest.i conftest.$ac_ext
 
2010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
2011
$as_echo "$ac_header_preproc" >&6; }
 
2012
 
 
2013
# So?  What about this header?
 
2014
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
2015
  yes:no: )
 
2016
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
2017
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
2018
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2019
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2020
    ;;
 
2021
  no:yes:* )
 
2022
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
2023
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
2024
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
2025
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
2026
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
2027
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
2028
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
2029
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
2030
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
2031
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
2032
( $as_echo "## ---------------------------------------------------------------------- ##
 
2033
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
 
2034
## ---------------------------------------------------------------------- ##"
 
2035
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
2036
    ;;
 
2037
esac
 
2038
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2039
$as_echo_n "checking for $2... " >&6; }
 
2040
if eval \${$3+:} false; then :
 
2041
  $as_echo_n "(cached) " >&6
 
2042
else
 
2043
  eval "$3=\$ac_header_compiler"
 
2044
fi
 
2045
eval ac_res=\$$3
 
2046
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2047
$as_echo "$ac_res" >&6; }
 
2048
fi
 
2049
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2050
 
 
2051
} # ac_fn_c_check_header_mongrel
 
2052
 
 
2053
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 
2054
# ----------------------------------------------------
 
2055
# Tries to find if the field MEMBER exists in type AGGR, after including
 
2056
# INCLUDES, setting cache variable VAR accordingly.
 
2057
ac_fn_c_check_member ()
 
2058
{
 
2059
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2060
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 
2061
$as_echo_n "checking for $2.$3... " >&6; }
 
2062
if eval \${$4+:} false; then :
 
2063
  $as_echo_n "(cached) " >&6
 
2064
else
 
2065
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2066
/* end confdefs.h.  */
 
2067
$5
 
2068
int
 
2069
main ()
 
2070
{
 
2071
static $2 ac_aggr;
 
2072
if (ac_aggr.$3)
 
2073
return 0;
 
2074
  ;
 
2075
  return 0;
 
2076
}
 
2077
_ACEOF
 
2078
if ac_fn_c_try_compile "$LINENO"; then :
 
2079
  eval "$4=yes"
 
2080
else
 
2081
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2082
/* end confdefs.h.  */
 
2083
$5
 
2084
int
 
2085
main ()
 
2086
{
 
2087
static $2 ac_aggr;
 
2088
if (sizeof ac_aggr.$3)
 
2089
return 0;
 
2090
  ;
 
2091
  return 0;
 
2092
}
 
2093
_ACEOF
 
2094
if ac_fn_c_try_compile "$LINENO"; then :
 
2095
  eval "$4=yes"
 
2096
else
 
2097
  eval "$4=no"
 
2098
fi
 
2099
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2100
fi
 
2101
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2102
fi
 
2103
eval ac_res=\$$4
 
2104
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2105
$as_echo "$ac_res" >&6; }
 
2106
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2107
 
 
2108
} # ac_fn_c_check_member
 
2109
 
 
2110
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
 
2111
# -------------------------------------------
 
2112
# Tests whether TYPE exists after having included INCLUDES, setting cache
 
2113
# variable VAR accordingly.
 
2114
ac_fn_c_check_type ()
 
2115
{
 
2116
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2117
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
2118
$as_echo_n "checking for $2... " >&6; }
 
2119
if eval \${$3+:} false; then :
 
2120
  $as_echo_n "(cached) " >&6
 
2121
else
 
2122
  eval "$3=no"
 
2123
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2124
/* end confdefs.h.  */
 
2125
$4
 
2126
int
 
2127
main ()
 
2128
{
 
2129
if (sizeof ($2))
 
2130
         return 0;
 
2131
  ;
 
2132
  return 0;
 
2133
}
 
2134
_ACEOF
 
2135
if ac_fn_c_try_compile "$LINENO"; then :
 
2136
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2137
/* end confdefs.h.  */
 
2138
$4
 
2139
int
 
2140
main ()
 
2141
{
 
2142
if (sizeof (($2)))
 
2143
            return 0;
 
2144
  ;
 
2145
  return 0;
 
2146
}
 
2147
_ACEOF
 
2148
if ac_fn_c_try_compile "$LINENO"; then :
 
2149
 
 
2150
else
 
2151
  eval "$3=yes"
 
2152
fi
 
2153
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2154
fi
 
2155
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2156
fi
 
2157
eval ac_res=\$$3
 
2158
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2159
$as_echo "$ac_res" >&6; }
 
2160
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2161
 
 
2162
} # ac_fn_c_check_type
1821
2163
cat >config.log <<_ACEOF
1822
2164
This file contains any messages produced by compilers while
1823
2165
running configure, to aid debugging if configure makes a mistake.
1824
2166
 
1825
 
It was created by libXfont $as_me 1.4.2, which was
1826
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
2167
It was created by libXfont $as_me 1.4.3, which was
 
2168
generated by GNU Autoconf 2.68.  Invocation command line was
1827
2169
 
1828
2170
  $ $0 $@
1829
2171
 
1859
2201
do
1860
2202
  IFS=$as_save_IFS
1861
2203
  test -z "$as_dir" && as_dir=.
1862
 
  $as_echo "PATH: $as_dir"
1863
 
done
 
2204
    $as_echo "PATH: $as_dir"
 
2205
  done
1864
2206
IFS=$as_save_IFS
1865
2207
 
1866
2208
} >&5
1897
2239
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1898
2240
    esac
1899
2241
    case $ac_pass in
1900
 
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
 
2242
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1901
2243
    2)
1902
 
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
 
2244
      as_fn_append ac_configure_args1 " '$ac_arg'"
1903
2245
      if test $ac_must_keep_next = true; then
1904
2246
        ac_must_keep_next=false # Got value, back to normal.
1905
2247
      else
1915
2257
          -* ) ac_must_keep_next=true ;;
1916
2258
        esac
1917
2259
      fi
1918
 
      ac_configure_args="$ac_configure_args '$ac_arg'"
 
2260
      as_fn_append ac_configure_args " '$ac_arg'"
1919
2261
      ;;
1920
2262
    esac
1921
2263
  done
1922
2264
done
1923
 
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1924
 
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
 
2265
{ ac_configure_args0=; unset ac_configure_args0;}
 
2266
{ ac_configure_args1=; unset ac_configure_args1;}
1925
2267
 
1926
2268
# When interrupted or exit'd, cleanup temporary files, and complete
1927
2269
# config.log.  We remove comments because anyway the quotes in there
1933
2275
  {
1934
2276
    echo
1935
2277
 
1936
 
    cat <<\_ASBOX
1937
 
## ---------------- ##
 
2278
    $as_echo "## ---------------- ##
1938
2279
## Cache variables. ##
1939
 
## ---------------- ##
1940
 
_ASBOX
 
2280
## ---------------- ##"
1941
2281
    echo
1942
2282
    # The following way of writing the cache mishandles newlines in values,
1943
2283
(
1946
2286
    case $ac_val in #(
1947
2287
    *${as_nl}*)
1948
2288
      case $ac_var in #(
1949
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
2289
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1950
2290
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1951
2291
      esac
1952
2292
      case $ac_var in #(
1953
2293
      _ | IFS | as_nl) ;; #(
1954
2294
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1955
 
      *) $as_unset $ac_var ;;
 
2295
      *) { eval $ac_var=; unset $ac_var;} ;;
1956
2296
      esac ;;
1957
2297
    esac
1958
2298
  done
1971
2311
)
1972
2312
    echo
1973
2313
 
1974
 
    cat <<\_ASBOX
1975
 
## ----------------- ##
 
2314
    $as_echo "## ----------------- ##
1976
2315
## Output variables. ##
1977
 
## ----------------- ##
1978
 
_ASBOX
 
2316
## ----------------- ##"
1979
2317
    echo
1980
2318
    for ac_var in $ac_subst_vars
1981
2319
    do
1988
2326
    echo
1989
2327
 
1990
2328
    if test -n "$ac_subst_files"; then
1991
 
      cat <<\_ASBOX
1992
 
## ------------------- ##
 
2329
      $as_echo "## ------------------- ##
1993
2330
## File substitutions. ##
1994
 
## ------------------- ##
1995
 
_ASBOX
 
2331
## ------------------- ##"
1996
2332
      echo
1997
2333
      for ac_var in $ac_subst_files
1998
2334
      do
2006
2342
    fi
2007
2343
 
2008
2344
    if test -s confdefs.h; then
2009
 
      cat <<\_ASBOX
2010
 
## ----------- ##
 
2345
      $as_echo "## ----------- ##
2011
2346
## confdefs.h. ##
2012
 
## ----------- ##
2013
 
_ASBOX
 
2347
## ----------- ##"
2014
2348
      echo
2015
2349
      cat confdefs.h
2016
2350
      echo
2024
2358
    exit $exit_status
2025
2359
' 0
2026
2360
for ac_signal in 1 2 13 15; do
2027
 
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
 
2361
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2028
2362
done
2029
2363
ac_signal=0
2030
2364
 
2031
2365
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2032
2366
rm -f -r conftest* confdefs.h
2033
2367
 
 
2368
$as_echo "/* confdefs.h */" > confdefs.h
 
2369
 
2034
2370
# Predefined preprocessor variables.
2035
2371
 
2036
2372
cat >>confdefs.h <<_ACEOF
2037
2373
#define PACKAGE_NAME "$PACKAGE_NAME"
2038
2374
_ACEOF
2039
2375
 
2040
 
 
2041
2376
cat >>confdefs.h <<_ACEOF
2042
2377
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2043
2378
_ACEOF
2044
2379
 
2045
 
 
2046
2380
cat >>confdefs.h <<_ACEOF
2047
2381
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2048
2382
_ACEOF
2049
2383
 
2050
 
 
2051
2384
cat >>confdefs.h <<_ACEOF
2052
2385
#define PACKAGE_STRING "$PACKAGE_STRING"
2053
2386
_ACEOF
2054
2387
 
2055
 
 
2056
2388
cat >>confdefs.h <<_ACEOF
2057
2389
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2058
2390
_ACEOF
2059
2391
 
 
2392
cat >>confdefs.h <<_ACEOF
 
2393
#define PACKAGE_URL "$PACKAGE_URL"
 
2394
_ACEOF
 
2395
 
2060
2396
 
2061
2397
# Let the site file select an alternate cache file if it wants to.
2062
2398
# Prefer an explicitly selected file to automatically selected ones.
2063
2399
ac_site_file1=NONE
2064
2400
ac_site_file2=NONE
2065
2401
if test -n "$CONFIG_SITE"; then
2066
 
  ac_site_file1=$CONFIG_SITE
 
2402
  # We do not want a PATH search for config.site.
 
2403
  case $CONFIG_SITE in #((
 
2404
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
2405
    */*) ac_site_file1=$CONFIG_SITE;;
 
2406
    *)   ac_site_file1=./$CONFIG_SITE;;
 
2407
  esac
2067
2408
elif test "x$prefix" != xNONE; then
2068
2409
  ac_site_file1=$prefix/share/config.site
2069
2410
  ac_site_file2=$prefix/etc/config.site
2074
2415
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2075
2416
do
2076
2417
  test "x$ac_site_file" = xNONE && continue
2077
 
  if test -r "$ac_site_file"; then
2078
 
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2418
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
2419
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2079
2420
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2080
2421
    sed 's/^/| /' "$ac_site_file" >&5
2081
 
    . "$ac_site_file"
 
2422
    . "$ac_site_file" \
 
2423
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
2424
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2425
as_fn_error $? "failed to load site script $ac_site_file
 
2426
See \`config.log' for more details" "$LINENO" 5; }
2082
2427
  fi
2083
2428
done
2084
2429
 
2085
2430
if test -r "$cache_file"; then
2086
 
  # Some versions of bash will fail to source /dev/null (special
2087
 
  # files actually), so we avoid doing that.
2088
 
  if test -f "$cache_file"; then
2089
 
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2431
  # Some versions of bash will fail to source /dev/null (special files
 
2432
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
2433
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
2434
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2090
2435
$as_echo "$as_me: loading cache $cache_file" >&6;}
2091
2436
    case $cache_file in
2092
2437
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2094
2439
    esac
2095
2440
  fi
2096
2441
else
2097
 
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2442
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2098
2443
$as_echo "$as_me: creating cache $cache_file" >&6;}
2099
2444
  >$cache_file
2100
2445
fi
2109
2454
  eval ac_new_val=\$ac_env_${ac_var}_value
2110
2455
  case $ac_old_set,$ac_new_set in
2111
2456
    set,)
2112
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2457
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2113
2458
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2114
2459
      ac_cache_corrupted=: ;;
2115
2460
    ,set)
2116
 
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2461
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2117
2462
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2118
2463
      ac_cache_corrupted=: ;;
2119
2464
    ,);;
2123
2468
        ac_old_val_w=`echo x $ac_old_val`
2124
2469
        ac_new_val_w=`echo x $ac_new_val`
2125
2470
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2126
 
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2471
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2127
2472
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2128
2473
          ac_cache_corrupted=:
2129
2474
        else
2130
 
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2475
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2131
2476
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2132
2477
          eval $ac_var=\$ac_old_val
2133
2478
        fi
2134
 
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2479
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2135
2480
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2136
 
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2481
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2137
2482
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2138
2483
      fi;;
2139
2484
  esac
2145
2490
    esac
2146
2491
    case " $ac_configure_args " in
2147
2492
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2148
 
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 
2493
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2149
2494
    esac
2150
2495
  fi
2151
2496
done
2152
2497
if $ac_cache_corrupted; then
2153
 
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2498
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2154
2499
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2155
 
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2500
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2156
2501
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2157
 
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2158
 
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2159
 
   { (exit 1); exit 1; }; }
 
2502
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2160
2503
fi
2161
 
 
2162
 
 
2163
 
 
2164
 
 
2165
 
 
2166
 
 
2167
 
 
2168
 
 
2169
 
 
2170
 
 
2171
 
 
2172
 
 
2173
 
 
2174
 
 
2175
 
 
2176
 
 
2177
 
 
2178
 
 
2179
 
 
2180
 
 
2181
 
 
2182
 
 
2183
 
 
2184
 
 
 
2504
## -------------------- ##
 
2505
## Main body of script. ##
 
2506
## -------------------- ##
2185
2507
 
2186
2508
ac_ext=c
2187
2509
ac_cpp='$CPP $CPPFLAGS'
2193
2515
# Autoheader generates config.h.in. No new lines allowed in the list.
2194
2516
ac_config_headers="$ac_config_headers config.h include/X11/fonts/fontconf.h"
2195
2517
 
2196
 
am__api_version='1.10'
 
2518
am__api_version='1.11'
2197
2519
 
2198
2520
ac_aux_dir=
2199
2521
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2212
2534
  fi
2213
2535
done
2214
2536
if test -z "$ac_aux_dir"; then
2215
 
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2216
 
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2217
 
   { (exit 1); exit 1; }; }
 
2537
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2218
2538
fi
2219
2539
 
2220
2540
# These three variables are undocumented and unsupported,
2240
2560
# OS/2's system install, which has a completely different semantic
2241
2561
# ./install, which can be erroneously created by make from ./install.sh.
2242
2562
# Reject install programs that cannot install multiple files.
2243
 
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2244
2564
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2245
2565
if test -z "$INSTALL"; then
2246
 
if test "${ac_cv_path_install+set}" = set; then
 
2566
if ${ac_cv_path_install+:} false; then :
2247
2567
  $as_echo_n "(cached) " >&6
2248
2568
else
2249
2569
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251
2571
do
2252
2572
  IFS=$as_save_IFS
2253
2573
  test -z "$as_dir" && as_dir=.
2254
 
  # Account for people who put trailing slashes in PATH elements.
2255
 
case $as_dir/ in
2256
 
  ./ | .// | /cC/* | \
 
2574
    # Account for people who put trailing slashes in PATH elements.
 
2575
case $as_dir/ in #((
 
2576
  ./ | .// | /[cC]/* | \
2257
2577
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2258
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
2578
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2259
2579
  /usr/ucb/* ) ;;
2260
2580
  *)
2261
2581
    # OSF1 and SCO ODT 3.0 have their own names for install.
2292
2612
    ;;
2293
2613
esac
2294
2614
 
2295
 
done
 
2615
  done
2296
2616
IFS=$as_save_IFS
2297
2617
 
2298
2618
rm -rf conftest.one conftest.two conftest.dir
2308
2628
    INSTALL=$ac_install_sh
2309
2629
  fi
2310
2630
fi
2311
 
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2312
2632
$as_echo "$INSTALL" >&6; }
2313
2633
 
2314
2634
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2319
2639
 
2320
2640
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2321
2641
 
2322
 
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2323
2643
$as_echo_n "checking whether build environment is sane... " >&6; }
2324
2644
# Just in case
2325
2645
sleep 1
2326
2646
echo timestamp > conftest.file
 
2647
# Reject unsafe characters in $srcdir or the absolute working directory
 
2648
# name.  Accept space and tab only in the latter.
 
2649
am_lf='
 
2650
'
 
2651
case `pwd` in
 
2652
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2653
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
2654
esac
 
2655
case $srcdir in
 
2656
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2657
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2658
esac
 
2659
 
2327
2660
# Do `set' in a subshell so we don't clobber the current shell's
2328
2661
# arguments.  Must try -L first in case configure is actually a
2329
2662
# symlink; some systems play weird games with the mod time of symlinks
2330
2663
# (eg FreeBSD returns the mod time of the symlink's containing
2331
2664
# directory).
2332
2665
if (
2333
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2666
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2334
2667
   if test "$*" = "X"; then
2335
2668
      # -L didn't work.
2336
 
      set X `ls -t $srcdir/configure conftest.file`
 
2669
      set X `ls -t "$srcdir/configure" conftest.file`
2337
2670
   fi
2338
2671
   rm -f conftest.file
2339
2672
   if test "$*" != "X $srcdir/configure conftest.file" \
2343
2676
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2344
2677
      # broken ls alias from the environment.  This has actually
2345
2678
      # happened.  Such a system could not be considered "sane".
2346
 
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2347
 
alias in your environment" >&5
2348
 
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2349
 
alias in your environment" >&2;}
2350
 
   { (exit 1); exit 1; }; }
 
2679
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2680
alias in your environment" "$LINENO" 5
2351
2681
   fi
2352
2682
 
2353
2683
   test "$2" = conftest.file
2356
2686
   # Ok.
2357
2687
   :
2358
2688
else
2359
 
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2360
 
Check your system clock" >&5
2361
 
$as_echo "$as_me: error: newly created file is older than distributed files!
2362
 
Check your system clock" >&2;}
2363
 
   { (exit 1); exit 1; }; }
 
2689
   as_fn_error $? "newly created file is older than distributed files!
 
2690
Check your system clock" "$LINENO" 5
2364
2691
fi
2365
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2366
2693
$as_echo "yes" >&6; }
2367
2694
test "$program_prefix" != NONE &&
2368
2695
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2377
2704
# expand $ac_aux_dir to an absolute path
2378
2705
am_aux_dir=`cd $ac_aux_dir && pwd`
2379
2706
 
2380
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2707
if test x"${MISSING+set}" != xset; then
 
2708
  case $am_aux_dir in
 
2709
  *\ * | *\     *)
 
2710
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2711
  *)
 
2712
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2713
  esac
 
2714
fi
2381
2715
# Use eval to expand $SHELL
2382
2716
if eval "$MISSING --run true"; then
2383
2717
  am_missing_run="$MISSING --run "
2384
2718
else
2385
2719
  am_missing_run=
2386
 
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2720
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2387
2721
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2388
2722
fi
2389
2723
 
2390
 
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2724
if test x"${install_sh}" != xset; then
 
2725
  case $am_aux_dir in
 
2726
  *\ * | *\     *)
 
2727
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2728
  *)
 
2729
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2730
  esac
 
2731
fi
 
2732
 
 
2733
# Installed binaries are usually stripped using `strip' when the user
 
2734
# run `make install-strip'.  However `strip' might not be the right
 
2735
# tool to use in cross-compilation environments, therefore Automake
 
2736
# will honor the `STRIP' environment variable to overrule this program.
 
2737
if test "$cross_compiling" != no; then
 
2738
  if test -n "$ac_tool_prefix"; then
 
2739
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2740
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2741
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2742
$as_echo_n "checking for $ac_word... " >&6; }
 
2743
if ${ac_cv_prog_STRIP+:} false; then :
 
2744
  $as_echo_n "(cached) " >&6
 
2745
else
 
2746
  if test -n "$STRIP"; then
 
2747
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2748
else
 
2749
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2750
for as_dir in $PATH
 
2751
do
 
2752
  IFS=$as_save_IFS
 
2753
  test -z "$as_dir" && as_dir=.
 
2754
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2755
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2756
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2757
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2758
    break 2
 
2759
  fi
 
2760
done
 
2761
  done
 
2762
IFS=$as_save_IFS
 
2763
 
 
2764
fi
 
2765
fi
 
2766
STRIP=$ac_cv_prog_STRIP
 
2767
if test -n "$STRIP"; then
 
2768
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
2769
$as_echo "$STRIP" >&6; }
 
2770
else
 
2771
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2772
$as_echo "no" >&6; }
 
2773
fi
 
2774
 
 
2775
 
 
2776
fi
 
2777
if test -z "$ac_cv_prog_STRIP"; then
 
2778
  ac_ct_STRIP=$STRIP
 
2779
  # Extract the first word of "strip", so it can be a program name with args.
 
2780
set dummy strip; ac_word=$2
 
2781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
2782
$as_echo_n "checking for $ac_word... " >&6; }
 
2783
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
2784
  $as_echo_n "(cached) " >&6
 
2785
else
 
2786
  if test -n "$ac_ct_STRIP"; then
 
2787
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2788
else
 
2789
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2790
for as_dir in $PATH
 
2791
do
 
2792
  IFS=$as_save_IFS
 
2793
  test -z "$as_dir" && as_dir=.
 
2794
    for ac_exec_ext in '' $ac_executable_extensions; do
 
2795
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2796
    ac_cv_prog_ac_ct_STRIP="strip"
 
2797
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2798
    break 2
 
2799
  fi
 
2800
done
 
2801
  done
 
2802
IFS=$as_save_IFS
 
2803
 
 
2804
fi
 
2805
fi
 
2806
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2807
if test -n "$ac_ct_STRIP"; then
 
2808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
2809
$as_echo "$ac_ct_STRIP" >&6; }
 
2810
else
 
2811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
2812
$as_echo "no" >&6; }
 
2813
fi
 
2814
 
 
2815
  if test "x$ac_ct_STRIP" = x; then
 
2816
    STRIP=":"
 
2817
  else
 
2818
    case $cross_compiling:$ac_tool_warned in
 
2819
yes:)
 
2820
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
2821
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2822
ac_tool_warned=yes ;;
 
2823
esac
 
2824
    STRIP=$ac_ct_STRIP
 
2825
  fi
 
2826
else
 
2827
  STRIP="$ac_cv_prog_STRIP"
 
2828
fi
 
2829
 
 
2830
fi
 
2831
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2832
 
 
2833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2391
2834
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2392
2835
if test -z "$MKDIR_P"; then
2393
 
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2836
  if ${ac_cv_path_mkdir+:} false; then :
2394
2837
  $as_echo_n "(cached) " >&6
2395
2838
else
2396
2839
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2398
2841
do
2399
2842
  IFS=$as_save_IFS
2400
2843
  test -z "$as_dir" && as_dir=.
2401
 
  for ac_prog in mkdir gmkdir; do
 
2844
    for ac_prog in mkdir gmkdir; do
2402
2845
         for ac_exec_ext in '' $ac_executable_extensions; do
2403
2846
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2404
2847
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2410
2853
           esac
2411
2854
         done
2412
2855
       done
2413
 
done
 
2856
  done
2414
2857
IFS=$as_save_IFS
2415
2858
 
2416
2859
fi
2417
2860
 
 
2861
  test -d ./--version && rmdir ./--version
2418
2862
  if test "${ac_cv_path_mkdir+set}" = set; then
2419
2863
    MKDIR_P="$ac_cv_path_mkdir -p"
2420
2864
  else
2422
2866
    # value for MKDIR_P within a source directory, because that will
2423
2867
    # break other packages using the cache if that directory is
2424
2868
    # removed, or if the value is a relative name.
2425
 
    test -d ./--version && rmdir ./--version
2426
2869
    MKDIR_P="$ac_install_sh -d"
2427
2870
  fi
2428
2871
fi
2429
 
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2430
2873
$as_echo "$MKDIR_P" >&6; }
2431
2874
 
2432
2875
mkdir_p="$MKDIR_P"
2439
2882
do
2440
2883
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2441
2884
set dummy $ac_prog; ac_word=$2
2442
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2443
2886
$as_echo_n "checking for $ac_word... " >&6; }
2444
 
if test "${ac_cv_prog_AWK+set}" = set; then
 
2887
if ${ac_cv_prog_AWK+:} false; then :
2445
2888
  $as_echo_n "(cached) " >&6
2446
2889
else
2447
2890
  if test -n "$AWK"; then
2452
2895
do
2453
2896
  IFS=$as_save_IFS
2454
2897
  test -z "$as_dir" && as_dir=.
2455
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2898
    for ac_exec_ext in '' $ac_executable_extensions; do
2456
2899
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2457
2900
    ac_cv_prog_AWK="$ac_prog"
2458
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2901
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2459
2902
    break 2
2460
2903
  fi
2461
2904
done
2462
 
done
 
2905
  done
2463
2906
IFS=$as_save_IFS
2464
2907
 
2465
2908
fi
2466
2909
fi
2467
2910
AWK=$ac_cv_prog_AWK
2468
2911
if test -n "$AWK"; then
2469
 
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2912
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2470
2913
$as_echo "$AWK" >&6; }
2471
2914
else
2472
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2915
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2473
2916
$as_echo "no" >&6; }
2474
2917
fi
2475
2918
 
2477
2920
  test -n "$AWK" && break
2478
2921
done
2479
2922
 
2480
 
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2481
2924
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2482
2925
set x ${MAKE-make}
2483
2926
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2484
 
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2927
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2485
2928
  $as_echo_n "(cached) " >&6
2486
2929
else
2487
2930
  cat >conftest.make <<\_ACEOF
2489
2932
all:
2490
2933
        @echo '@@@%%%=$(MAKE)=@@@%%%'
2491
2934
_ACEOF
2492
 
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 
2935
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2493
2936
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2494
2937
  *@@@%%%=?*=@@@%%%*)
2495
2938
    eval ac_cv_prog_make_${ac_make}_set=yes;;
2499
2942
rm -f conftest.make
2500
2943
fi
2501
2944
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2502
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2945
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2503
2946
$as_echo "yes" >&6; }
2504
2947
  SET_MAKE=
2505
2948
else
2506
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2949
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2507
2950
$as_echo "no" >&6; }
2508
2951
  SET_MAKE="MAKE=${MAKE-make}"
2509
2952
fi
2523
2966
  am__isrc=' -I$(srcdir)'
2524
2967
  # test to see if srcdir already configured
2525
2968
  if test -f $srcdir/config.status; then
2526
 
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2527
 
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2528
 
   { (exit 1); exit 1; }; }
 
2969
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2529
2970
  fi
2530
2971
fi
2531
2972
 
2541
2982
 
2542
2983
# Define the identity of the package.
2543
2984
 PACKAGE='libXfont'
2544
 
 VERSION='1.4.2'
 
2985
 VERSION='1.4.3'
2545
2986
 
2546
2987
 
2547
2988
cat >>confdefs.h <<_ACEOF
2569
3010
 
2570
3011
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2571
3012
 
2572
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2573
 
 
2574
 
# Installed binaries are usually stripped using `strip' when the user
2575
 
# run `make install-strip'.  However `strip' might not be the right
2576
 
# tool to use in cross-compilation environments, therefore Automake
2577
 
# will honor the `STRIP' environment variable to overrule this program.
2578
 
if test "$cross_compiling" != no; then
2579
 
  if test -n "$ac_tool_prefix"; then
2580
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2581
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2582
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2583
 
$as_echo_n "checking for $ac_word... " >&6; }
2584
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2585
 
  $as_echo_n "(cached) " >&6
2586
 
else
2587
 
  if test -n "$STRIP"; then
2588
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2589
 
else
2590
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591
 
for as_dir in $PATH
2592
 
do
2593
 
  IFS=$as_save_IFS
2594
 
  test -z "$as_dir" && as_dir=.
2595
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2596
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2597
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2598
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2599
 
    break 2
2600
 
  fi
2601
 
done
2602
 
done
2603
 
IFS=$as_save_IFS
2604
 
 
2605
 
fi
2606
 
fi
2607
 
STRIP=$ac_cv_prog_STRIP
2608
 
if test -n "$STRIP"; then
2609
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2610
 
$as_echo "$STRIP" >&6; }
2611
 
else
2612
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2613
 
$as_echo "no" >&6; }
2614
 
fi
2615
 
 
2616
 
 
2617
 
fi
2618
 
if test -z "$ac_cv_prog_STRIP"; then
2619
 
  ac_ct_STRIP=$STRIP
2620
 
  # Extract the first word of "strip", so it can be a program name with args.
2621
 
set dummy strip; ac_word=$2
2622
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2623
 
$as_echo_n "checking for $ac_word... " >&6; }
2624
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2625
 
  $as_echo_n "(cached) " >&6
2626
 
else
2627
 
  if test -n "$ac_ct_STRIP"; then
2628
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2629
 
else
2630
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631
 
for as_dir in $PATH
2632
 
do
2633
 
  IFS=$as_save_IFS
2634
 
  test -z "$as_dir" && as_dir=.
2635
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2636
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2637
 
    ac_cv_prog_ac_ct_STRIP="strip"
2638
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639
 
    break 2
2640
 
  fi
2641
 
done
2642
 
done
2643
 
IFS=$as_save_IFS
2644
 
 
2645
 
fi
2646
 
fi
2647
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2648
 
if test -n "$ac_ct_STRIP"; then
2649
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2650
 
$as_echo "$ac_ct_STRIP" >&6; }
2651
 
else
2652
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
2653
 
$as_echo "no" >&6; }
2654
 
fi
2655
 
 
2656
 
  if test "x$ac_ct_STRIP" = x; then
2657
 
    STRIP=":"
2658
 
  else
2659
 
    case $cross_compiling:$ac_tool_warned in
2660
 
yes:)
2661
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2662
 
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2663
 
ac_tool_warned=yes ;;
2664
 
esac
2665
 
    STRIP=$ac_ct_STRIP
2666
 
  fi
2667
 
else
2668
 
  STRIP="$ac_cv_prog_STRIP"
2669
 
fi
2670
 
 
2671
 
fi
2672
 
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2673
 
 
2674
3013
# We need awk for the "check" target.  The system "awk" is bad on
2675
3014
# some platforms.
2676
3015
# Always define AMTAR for backward compatibility.
2683
3022
 
2684
3023
 
2685
3024
 
2686
 
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
3025
 
 
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2687
3027
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2688
3028
    # Check whether --enable-maintainer-mode was given.
2689
 
if test "${enable_maintainer_mode+set}" = set; then
 
3029
if test "${enable_maintainer_mode+set}" = set; then :
2690
3030
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2691
3031
else
2692
3032
  USE_MAINTAINER_MODE=no
2693
3033
fi
2694
3034
 
2695
 
  { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
 
3035
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2696
3036
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2697
3037
   if test $USE_MAINTAINER_MODE = yes; then
2698
3038
  MAINTAINER_MODE_TRUE=
2706
3046
 
2707
3047
 
2708
3048
 
2709
 
# Require xorg-macros: XORG_DEFAULT_OPTIONS
 
3049
# Require xorg-macros minimum of 1.10 for DocBook XML documentation
2710
3050
 
2711
3051
 
2712
3052
 
2726
3066
am_make=${MAKE-make}
2727
3067
cat > confinc << 'END'
2728
3068
am__doit:
2729
 
        @echo done
 
3069
        @echo this is the am__doit target
2730
3070
.PHONY: am__doit
2731
3071
END
2732
3072
# If we don't find an include directive, just comment out the code.
2733
 
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2734
3074
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2735
3075
am__include="#"
2736
3076
am__quote=
2737
3077
_am_result=none
2738
3078
# First try GNU make style include.
2739
3079
echo "include confinc" > confmf
2740
 
# We grep out `Entering directory' and `Leaving directory'
2741
 
# messages which can occur if `w' ends up in MAKEFLAGS.
2742
 
# In particular we don't look at `^make:' because GNU make might
2743
 
# be invoked under some other name (usually "gmake"), in which
2744
 
# case it prints its new name instead of `make'.
2745
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2746
 
   am__include=include
2747
 
   am__quote=
2748
 
   _am_result=GNU
2749
 
fi
 
3080
# Ignore all kinds of additional output from `make'.
 
3081
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3082
*the\ am__doit\ target*)
 
3083
  am__include=include
 
3084
  am__quote=
 
3085
  _am_result=GNU
 
3086
  ;;
 
3087
esac
2750
3088
# Now try BSD make style include.
2751
3089
if test "$am__include" = "#"; then
2752
3090
   echo '.include "confinc"' > confmf
2753
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2754
 
      am__include=.include
2755
 
      am__quote="\""
2756
 
      _am_result=BSD
2757
 
   fi
 
3091
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3092
   *the\ am__doit\ target*)
 
3093
     am__include=.include
 
3094
     am__quote="\""
 
3095
     _am_result=BSD
 
3096
     ;;
 
3097
   esac
2758
3098
fi
2759
3099
 
2760
3100
 
2761
 
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2762
3102
$as_echo "$_am_result" >&6; }
2763
3103
rm -f confinc confmf
2764
3104
 
2765
3105
# Check whether --enable-dependency-tracking was given.
2766
 
if test "${enable_dependency_tracking+set}" = set; then
 
3106
if test "${enable_dependency_tracking+set}" = set; then :
2767
3107
  enableval=$enable_dependency_tracking;
2768
3108
fi
2769
3109
 
2788
3128
if test -n "$ac_tool_prefix"; then
2789
3129
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2790
3130
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2791
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2792
3132
$as_echo_n "checking for $ac_word... " >&6; }
2793
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3133
if ${ac_cv_prog_CC+:} false; then :
2794
3134
  $as_echo_n "(cached) " >&6
2795
3135
else
2796
3136
  if test -n "$CC"; then
2801
3141
do
2802
3142
  IFS=$as_save_IFS
2803
3143
  test -z "$as_dir" && as_dir=.
2804
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3144
    for ac_exec_ext in '' $ac_executable_extensions; do
2805
3145
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2806
3146
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2807
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3147
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2808
3148
    break 2
2809
3149
  fi
2810
3150
done
2811
 
done
 
3151
  done
2812
3152
IFS=$as_save_IFS
2813
3153
 
2814
3154
fi
2815
3155
fi
2816
3156
CC=$ac_cv_prog_CC
2817
3157
if test -n "$CC"; then
2818
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3158
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2819
3159
$as_echo "$CC" >&6; }
2820
3160
else
2821
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3161
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2822
3162
$as_echo "no" >&6; }
2823
3163
fi
2824
3164
 
2828
3168
  ac_ct_CC=$CC
2829
3169
  # Extract the first word of "gcc", so it can be a program name with args.
2830
3170
set dummy gcc; ac_word=$2
2831
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2832
3172
$as_echo_n "checking for $ac_word... " >&6; }
2833
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3173
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2834
3174
  $as_echo_n "(cached) " >&6
2835
3175
else
2836
3176
  if test -n "$ac_ct_CC"; then
2841
3181
do
2842
3182
  IFS=$as_save_IFS
2843
3183
  test -z "$as_dir" && as_dir=.
2844
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3184
    for ac_exec_ext in '' $ac_executable_extensions; do
2845
3185
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2846
3186
    ac_cv_prog_ac_ct_CC="gcc"
2847
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3187
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2848
3188
    break 2
2849
3189
  fi
2850
3190
done
2851
 
done
 
3191
  done
2852
3192
IFS=$as_save_IFS
2853
3193
 
2854
3194
fi
2855
3195
fi
2856
3196
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2857
3197
if test -n "$ac_ct_CC"; then
2858
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3198
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2859
3199
$as_echo "$ac_ct_CC" >&6; }
2860
3200
else
2861
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3201
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2862
3202
$as_echo "no" >&6; }
2863
3203
fi
2864
3204
 
2867
3207
  else
2868
3208
    case $cross_compiling:$ac_tool_warned in
2869
3209
yes:)
2870
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2871
3211
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2872
3212
ac_tool_warned=yes ;;
2873
3213
esac
2881
3221
          if test -n "$ac_tool_prefix"; then
2882
3222
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2883
3223
set dummy ${ac_tool_prefix}cc; ac_word=$2
2884
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885
3225
$as_echo_n "checking for $ac_word... " >&6; }
2886
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3226
if ${ac_cv_prog_CC+:} false; then :
2887
3227
  $as_echo_n "(cached) " >&6
2888
3228
else
2889
3229
  if test -n "$CC"; then
2894
3234
do
2895
3235
  IFS=$as_save_IFS
2896
3236
  test -z "$as_dir" && as_dir=.
2897
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3237
    for ac_exec_ext in '' $ac_executable_extensions; do
2898
3238
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2899
3239
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2900
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3240
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2901
3241
    break 2
2902
3242
  fi
2903
3243
done
2904
 
done
 
3244
  done
2905
3245
IFS=$as_save_IFS
2906
3246
 
2907
3247
fi
2908
3248
fi
2909
3249
CC=$ac_cv_prog_CC
2910
3250
if test -n "$CC"; then
2911
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3251
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2912
3252
$as_echo "$CC" >&6; }
2913
3253
else
2914
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3254
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915
3255
$as_echo "no" >&6; }
2916
3256
fi
2917
3257
 
2921
3261
if test -z "$CC"; then
2922
3262
  # Extract the first word of "cc", so it can be a program name with args.
2923
3263
set dummy cc; ac_word=$2
2924
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925
3265
$as_echo_n "checking for $ac_word... " >&6; }
2926
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3266
if ${ac_cv_prog_CC+:} false; then :
2927
3267
  $as_echo_n "(cached) " >&6
2928
3268
else
2929
3269
  if test -n "$CC"; then
2935
3275
do
2936
3276
  IFS=$as_save_IFS
2937
3277
  test -z "$as_dir" && as_dir=.
2938
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3278
    for ac_exec_ext in '' $ac_executable_extensions; do
2939
3279
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2940
3280
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2941
3281
       ac_prog_rejected=yes
2942
3282
       continue
2943
3283
     fi
2944
3284
    ac_cv_prog_CC="cc"
2945
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3285
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946
3286
    break 2
2947
3287
  fi
2948
3288
done
2949
 
done
 
3289
  done
2950
3290
IFS=$as_save_IFS
2951
3291
 
2952
3292
if test $ac_prog_rejected = yes; then
2965
3305
fi
2966
3306
CC=$ac_cv_prog_CC
2967
3307
if test -n "$CC"; then
2968
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3308
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969
3309
$as_echo "$CC" >&6; }
2970
3310
else
2971
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3311
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972
3312
$as_echo "no" >&6; }
2973
3313
fi
2974
3314
 
2980
3320
  do
2981
3321
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2982
3322
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2983
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984
3324
$as_echo_n "checking for $ac_word... " >&6; }
2985
 
if test "${ac_cv_prog_CC+set}" = set; then
 
3325
if ${ac_cv_prog_CC+:} false; then :
2986
3326
  $as_echo_n "(cached) " >&6
2987
3327
else
2988
3328
  if test -n "$CC"; then
2993
3333
do
2994
3334
  IFS=$as_save_IFS
2995
3335
  test -z "$as_dir" && as_dir=.
2996
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3336
    for ac_exec_ext in '' $ac_executable_extensions; do
2997
3337
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2998
3338
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2999
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3339
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3000
3340
    break 2
3001
3341
  fi
3002
3342
done
3003
 
done
 
3343
  done
3004
3344
IFS=$as_save_IFS
3005
3345
 
3006
3346
fi
3007
3347
fi
3008
3348
CC=$ac_cv_prog_CC
3009
3349
if test -n "$CC"; then
3010
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3350
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3011
3351
$as_echo "$CC" >&6; }
3012
3352
else
3013
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014
3354
$as_echo "no" >&6; }
3015
3355
fi
3016
3356
 
3024
3364
do
3025
3365
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3026
3366
set dummy $ac_prog; ac_word=$2
3027
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028
3368
$as_echo_n "checking for $ac_word... " >&6; }
3029
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
3369
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3030
3370
  $as_echo_n "(cached) " >&6
3031
3371
else
3032
3372
  if test -n "$ac_ct_CC"; then
3037
3377
do
3038
3378
  IFS=$as_save_IFS
3039
3379
  test -z "$as_dir" && as_dir=.
3040
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3380
    for ac_exec_ext in '' $ac_executable_extensions; do
3041
3381
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042
3382
    ac_cv_prog_ac_ct_CC="$ac_prog"
3043
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3383
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044
3384
    break 2
3045
3385
  fi
3046
3386
done
3047
 
done
 
3387
  done
3048
3388
IFS=$as_save_IFS
3049
3389
 
3050
3390
fi
3051
3391
fi
3052
3392
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3053
3393
if test -n "$ac_ct_CC"; then
3054
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3394
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3055
3395
$as_echo "$ac_ct_CC" >&6; }
3056
3396
else
3057
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3397
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058
3398
$as_echo "no" >&6; }
3059
3399
fi
3060
3400
 
3067
3407
  else
3068
3408
    case $cross_compiling:$ac_tool_warned in
3069
3409
yes:)
3070
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3410
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3071
3411
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3072
3412
ac_tool_warned=yes ;;
3073
3413
esac
3078
3418
fi
3079
3419
 
3080
3420
 
3081
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3421
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3082
3422
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3084
 
See \`config.log' for more details." >&5
3085
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3086
 
See \`config.log' for more details." >&2;}
3087
 
   { (exit 1); exit 1; }; }; }
 
3423
as_fn_error $? "no acceptable C compiler found in \$PATH
 
3424
See \`config.log' for more details" "$LINENO" 5; }
3088
3425
 
3089
3426
# Provide some information about the compiler.
3090
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3427
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3091
3428
set X $ac_compile
3092
3429
ac_compiler=$2
3093
 
{ (ac_try="$ac_compiler --version >&5"
3094
 
case "(($ac_try" in
3095
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3096
 
  *) ac_try_echo=$ac_try;;
3097
 
esac
3098
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3099
 
$as_echo "$ac_try_echo") >&5
3100
 
  (eval "$ac_compiler --version >&5") 2>&5
3101
 
  ac_status=$?
3102
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103
 
  (exit $ac_status); }
3104
 
{ (ac_try="$ac_compiler -v >&5"
3105
 
case "(($ac_try" in
3106
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107
 
  *) ac_try_echo=$ac_try;;
3108
 
esac
3109
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3110
 
$as_echo "$ac_try_echo") >&5
3111
 
  (eval "$ac_compiler -v >&5") 2>&5
3112
 
  ac_status=$?
3113
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114
 
  (exit $ac_status); }
3115
 
{ (ac_try="$ac_compiler -V >&5"
3116
 
case "(($ac_try" in
3117
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118
 
  *) ac_try_echo=$ac_try;;
3119
 
esac
3120
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3121
 
$as_echo "$ac_try_echo") >&5
3122
 
  (eval "$ac_compiler -V >&5") 2>&5
3123
 
  ac_status=$?
3124
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125
 
  (exit $ac_status); }
 
3430
for ac_option in --version -v -V -qversion; do
 
3431
  { { ac_try="$ac_compiler $ac_option >&5"
 
3432
case "(($ac_try" in
 
3433
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3434
  *) ac_try_echo=$ac_try;;
 
3435
esac
 
3436
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3437
$as_echo "$ac_try_echo"; } >&5
 
3438
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
3439
  ac_status=$?
 
3440
  if test -s conftest.err; then
 
3441
    sed '10a\
 
3442
... rest of stderr output deleted ...
 
3443
         10q' conftest.err >conftest.er1
 
3444
    cat conftest.er1 >&5
 
3445
  fi
 
3446
  rm -f conftest.er1 conftest.err
 
3447
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3448
  test $ac_status = 0; }
 
3449
done
3126
3450
 
3127
 
cat >conftest.$ac_ext <<_ACEOF
3128
 
/* confdefs.h.  */
3129
 
_ACEOF
3130
 
cat confdefs.h >>conftest.$ac_ext
3131
 
cat >>conftest.$ac_ext <<_ACEOF
 
3451
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132
3452
/* end confdefs.h.  */
3133
3453
 
3134
3454
int
3144
3464
# Try to create an executable without -o first, disregard a.out.
3145
3465
# It will help us diagnose broken compilers, and finding out an intuition
3146
3466
# of exeext.
3147
 
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3148
 
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
 
3468
$as_echo_n "checking whether the C compiler works... " >&6; }
3149
3469
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3150
3470
 
3151
3471
# The possible output files:
3161
3481
done
3162
3482
rm -f $ac_rmfiles
3163
3483
 
3164
 
if { (ac_try="$ac_link_default"
 
3484
if { { ac_try="$ac_link_default"
3165
3485
case "(($ac_try" in
3166
3486
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167
3487
  *) ac_try_echo=$ac_try;;
3168
3488
esac
3169
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3170
 
$as_echo "$ac_try_echo") >&5
 
3489
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3490
$as_echo "$ac_try_echo"; } >&5
3171
3491
  (eval "$ac_link_default") 2>&5
3172
3492
  ac_status=$?
3173
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174
 
  (exit $ac_status); }; then
 
3493
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3494
  test $ac_status = 0; }; then :
3175
3495
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3176
3496
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3177
3497
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3188
3508
        # certainly right.
3189
3509
        break;;
3190
3510
    *.* )
3191
 
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3511
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3192
3512
        then :; else
3193
3513
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3194
3514
        fi
3207
3527
else
3208
3528
  ac_file=''
3209
3529
fi
 
3530
if test -z "$ac_file"; then :
 
3531
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
3532
$as_echo "no" >&6; }
 
3533
$as_echo "$as_me: failed program was:" >&5
 
3534
sed 's/^/| /' conftest.$ac_ext >&5
3210
3535
 
3211
 
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3536
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3537
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3538
as_fn_error 77 "C compiler cannot create executables
 
3539
See \`config.log' for more details" "$LINENO" 5; }
 
3540
else
 
3541
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
3542
$as_echo "yes" >&6; }
 
3543
fi
 
3544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
 
3545
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3212
3547
$as_echo "$ac_file" >&6; }
3213
 
if test -z "$ac_file"; then
3214
 
  $as_echo "$as_me: failed program was:" >&5
3215
 
sed 's/^/| /' conftest.$ac_ext >&5
3216
 
 
3217
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3218
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3219
 
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3220
 
See \`config.log' for more details." >&5
3221
 
$as_echo "$as_me: error: C compiler cannot create executables
3222
 
See \`config.log' for more details." >&2;}
3223
 
   { (exit 77); exit 77; }; }; }
3224
 
fi
3225
 
 
3226
3548
ac_exeext=$ac_cv_exeext
3227
3549
 
3228
 
# Check that the compiler produces executables we can run.  If not, either
3229
 
# the compiler is broken, or we cross compile.
3230
 
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3231
 
$as_echo_n "checking whether the C compiler works... " >&6; }
3232
 
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3233
 
# If not cross compiling, check that we can run a simple program.
3234
 
if test "$cross_compiling" != yes; then
3235
 
  if { ac_try='./$ac_file'
3236
 
  { (case "(($ac_try" in
3237
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3238
 
  *) ac_try_echo=$ac_try;;
3239
 
esac
3240
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3241
 
$as_echo "$ac_try_echo") >&5
3242
 
  (eval "$ac_try") 2>&5
3243
 
  ac_status=$?
3244
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245
 
  (exit $ac_status); }; }; then
3246
 
    cross_compiling=no
3247
 
  else
3248
 
    if test "$cross_compiling" = maybe; then
3249
 
        cross_compiling=yes
3250
 
    else
3251
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3252
 
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3253
 
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3254
 
If you meant to cross compile, use \`--host'.
3255
 
See \`config.log' for more details." >&5
3256
 
$as_echo "$as_me: error: cannot run C compiled programs.
3257
 
If you meant to cross compile, use \`--host'.
3258
 
See \`config.log' for more details." >&2;}
3259
 
   { (exit 1); exit 1; }; }; }
3260
 
    fi
3261
 
  fi
3262
 
fi
3263
 
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3264
 
$as_echo "yes" >&6; }
3265
 
 
3266
3550
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3267
3551
ac_clean_files=$ac_clean_files_save
3268
 
# Check that the compiler produces executables we can run.  If not, either
3269
 
# the compiler is broken, or we cross compile.
3270
 
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3271
 
$as_echo_n "checking whether we are cross compiling... " >&6; }
3272
 
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3273
 
$as_echo "$cross_compiling" >&6; }
3274
 
 
3275
 
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3276
3553
$as_echo_n "checking for suffix of executables... " >&6; }
3277
 
if { (ac_try="$ac_link"
 
3554
if { { ac_try="$ac_link"
3278
3555
case "(($ac_try" in
3279
3556
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280
3557
  *) ac_try_echo=$ac_try;;
3281
3558
esac
3282
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3283
 
$as_echo "$ac_try_echo") >&5
 
3559
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3560
$as_echo "$ac_try_echo"; } >&5
3284
3561
  (eval "$ac_link") 2>&5
3285
3562
  ac_status=$?
3286
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287
 
  (exit $ac_status); }; then
 
3563
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3564
  test $ac_status = 0; }; then :
3288
3565
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3289
3566
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3290
3567
# work properly (i.e., refer to `conftest.exe'), while it won't with
3299
3576
  esac
3300
3577
done
3301
3578
else
3302
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3579
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3303
3580
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3304
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3305
 
See \`config.log' for more details." >&5
3306
 
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3307
 
See \`config.log' for more details." >&2;}
3308
 
   { (exit 1); exit 1; }; }; }
 
3581
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
3582
See \`config.log' for more details" "$LINENO" 5; }
3309
3583
fi
3310
 
 
3311
 
rm -f conftest$ac_cv_exeext
3312
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3584
rm -f conftest conftest$ac_cv_exeext
 
3585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3313
3586
$as_echo "$ac_cv_exeext" >&6; }
3314
3587
 
3315
3588
rm -f conftest.$ac_ext
3316
3589
EXEEXT=$ac_cv_exeext
3317
3590
ac_exeext=$EXEEXT
3318
 
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3591
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
3592
/* end confdefs.h.  */
 
3593
#include <stdio.h>
 
3594
int
 
3595
main ()
 
3596
{
 
3597
FILE *f = fopen ("conftest.out", "w");
 
3598
 return ferror (f) || fclose (f) != 0;
 
3599
 
 
3600
  ;
 
3601
  return 0;
 
3602
}
 
3603
_ACEOF
 
3604
ac_clean_files="$ac_clean_files conftest.out"
 
3605
# Check that the compiler produces executables we can run.  If not, either
 
3606
# the compiler is broken, or we cross compile.
 
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
3608
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3609
if test "$cross_compiling" != yes; then
 
3610
  { { ac_try="$ac_link"
 
3611
case "(($ac_try" in
 
3612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3613
  *) ac_try_echo=$ac_try;;
 
3614
esac
 
3615
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3616
$as_echo "$ac_try_echo"; } >&5
 
3617
  (eval "$ac_link") 2>&5
 
3618
  ac_status=$?
 
3619
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3620
  test $ac_status = 0; }
 
3621
  if { ac_try='./conftest$ac_cv_exeext'
 
3622
  { { case "(($ac_try" in
 
3623
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3624
  *) ac_try_echo=$ac_try;;
 
3625
esac
 
3626
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3627
$as_echo "$ac_try_echo"; } >&5
 
3628
  (eval "$ac_try") 2>&5
 
3629
  ac_status=$?
 
3630
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3631
  test $ac_status = 0; }; }; then
 
3632
    cross_compiling=no
 
3633
  else
 
3634
    if test "$cross_compiling" = maybe; then
 
3635
        cross_compiling=yes
 
3636
    else
 
3637
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
3638
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3639
as_fn_error $? "cannot run C compiled programs.
 
3640
If you meant to cross compile, use \`--host'.
 
3641
See \`config.log' for more details" "$LINENO" 5; }
 
3642
    fi
 
3643
  fi
 
3644
fi
 
3645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
3646
$as_echo "$cross_compiling" >&6; }
 
3647
 
 
3648
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
3649
ac_clean_files=$ac_clean_files_save
 
3650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3319
3651
$as_echo_n "checking for suffix of object files... " >&6; }
3320
 
if test "${ac_cv_objext+set}" = set; then
 
3652
if ${ac_cv_objext+:} false; then :
3321
3653
  $as_echo_n "(cached) " >&6
3322
3654
else
3323
 
  cat >conftest.$ac_ext <<_ACEOF
3324
 
/* confdefs.h.  */
3325
 
_ACEOF
3326
 
cat confdefs.h >>conftest.$ac_ext
3327
 
cat >>conftest.$ac_ext <<_ACEOF
 
3655
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3328
3656
/* end confdefs.h.  */
3329
3657
 
3330
3658
int
3336
3664
}
3337
3665
_ACEOF
3338
3666
rm -f conftest.o conftest.obj
3339
 
if { (ac_try="$ac_compile"
 
3667
if { { ac_try="$ac_compile"
3340
3668
case "(($ac_try" in
3341
3669
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342
3670
  *) ac_try_echo=$ac_try;;
3343
3671
esac
3344
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3345
 
$as_echo "$ac_try_echo") >&5
 
3672
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
3673
$as_echo "$ac_try_echo"; } >&5
3346
3674
  (eval "$ac_compile") 2>&5
3347
3675
  ac_status=$?
3348
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349
 
  (exit $ac_status); }; then
 
3676
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
3677
  test $ac_status = 0; }; then :
3350
3678
  for ac_file in conftest.o conftest.obj conftest.*; do
3351
3679
  test -f "$ac_file" || continue;
3352
3680
  case $ac_file in
3359
3687
  $as_echo "$as_me: failed program was:" >&5
3360
3688
sed 's/^/| /' conftest.$ac_ext >&5
3361
3689
 
3362
 
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3690
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3363
3691
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3364
 
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3365
 
See \`config.log' for more details." >&5
3366
 
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3367
 
See \`config.log' for more details." >&2;}
3368
 
   { (exit 1); exit 1; }; }; }
 
3692
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
3693
See \`config.log' for more details" "$LINENO" 5; }
3369
3694
fi
3370
 
 
3371
3695
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3372
3696
fi
3373
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3374
3698
$as_echo "$ac_cv_objext" >&6; }
3375
3699
OBJEXT=$ac_cv_objext
3376
3700
ac_objext=$OBJEXT
3377
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3378
3702
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3379
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
3703
if ${ac_cv_c_compiler_gnu+:} false; then :
3380
3704
  $as_echo_n "(cached) " >&6
3381
3705
else
3382
 
  cat >conftest.$ac_ext <<_ACEOF
3383
 
/* confdefs.h.  */
3384
 
_ACEOF
3385
 
cat confdefs.h >>conftest.$ac_ext
3386
 
cat >>conftest.$ac_ext <<_ACEOF
 
3706
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387
3707
/* end confdefs.h.  */
3388
3708
 
3389
3709
int
3397
3717
  return 0;
3398
3718
}
3399
3719
_ACEOF
3400
 
rm -f conftest.$ac_objext
3401
 
if { (ac_try="$ac_compile"
3402
 
case "(($ac_try" in
3403
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404
 
  *) ac_try_echo=$ac_try;;
3405
 
esac
3406
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3407
 
$as_echo "$ac_try_echo") >&5
3408
 
  (eval "$ac_compile") 2>conftest.er1
3409
 
  ac_status=$?
3410
 
  grep -v '^ *+' conftest.er1 >conftest.err
3411
 
  rm -f conftest.er1
3412
 
  cat conftest.err >&5
3413
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414
 
  (exit $ac_status); } && {
3415
 
         test -z "$ac_c_werror_flag" ||
3416
 
         test ! -s conftest.err
3417
 
       } && test -s conftest.$ac_objext; then
 
3720
if ac_fn_c_try_compile "$LINENO"; then :
3418
3721
  ac_compiler_gnu=yes
3419
3722
else
3420
 
  $as_echo "$as_me: failed program was:" >&5
3421
 
sed 's/^/| /' conftest.$ac_ext >&5
3422
 
 
3423
 
        ac_compiler_gnu=no
 
3723
  ac_compiler_gnu=no
3424
3724
fi
3425
 
 
3426
3725
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3427
3726
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3428
3727
 
3429
3728
fi
3430
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3431
3730
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3432
3731
if test $ac_compiler_gnu = yes; then
3433
3732
  GCC=yes
3436
3735
fi
3437
3736
ac_test_CFLAGS=${CFLAGS+set}
3438
3737
ac_save_CFLAGS=$CFLAGS
3439
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3440
3739
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3441
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
3740
if ${ac_cv_prog_cc_g+:} false; then :
3442
3741
  $as_echo_n "(cached) " >&6
3443
3742
else
3444
3743
  ac_save_c_werror_flag=$ac_c_werror_flag
3445
3744
   ac_c_werror_flag=yes
3446
3745
   ac_cv_prog_cc_g=no
3447
3746
   CFLAGS="-g"
3448
 
   cat >conftest.$ac_ext <<_ACEOF
3449
 
/* confdefs.h.  */
3450
 
_ACEOF
3451
 
cat confdefs.h >>conftest.$ac_ext
3452
 
cat >>conftest.$ac_ext <<_ACEOF
 
3747
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453
3748
/* end confdefs.h.  */
3454
3749
 
3455
3750
int
3460
3755
  return 0;
3461
3756
}
3462
3757
_ACEOF
3463
 
rm -f conftest.$ac_objext
3464
 
if { (ac_try="$ac_compile"
3465
 
case "(($ac_try" in
3466
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467
 
  *) ac_try_echo=$ac_try;;
3468
 
esac
3469
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3470
 
$as_echo "$ac_try_echo") >&5
3471
 
  (eval "$ac_compile") 2>conftest.er1
3472
 
  ac_status=$?
3473
 
  grep -v '^ *+' conftest.er1 >conftest.err
3474
 
  rm -f conftest.er1
3475
 
  cat conftest.err >&5
3476
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477
 
  (exit $ac_status); } && {
3478
 
         test -z "$ac_c_werror_flag" ||
3479
 
         test ! -s conftest.err
3480
 
       } && test -s conftest.$ac_objext; then
 
3758
if ac_fn_c_try_compile "$LINENO"; then :
3481
3759
  ac_cv_prog_cc_g=yes
3482
3760
else
3483
 
  $as_echo "$as_me: failed program was:" >&5
3484
 
sed 's/^/| /' conftest.$ac_ext >&5
3485
 
 
3486
 
        CFLAGS=""
3487
 
      cat >conftest.$ac_ext <<_ACEOF
3488
 
/* confdefs.h.  */
3489
 
_ACEOF
3490
 
cat confdefs.h >>conftest.$ac_ext
3491
 
cat >>conftest.$ac_ext <<_ACEOF
 
3761
  CFLAGS=""
 
3762
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492
3763
/* end confdefs.h.  */
3493
3764
 
3494
3765
int
3499
3770
  return 0;
3500
3771
}
3501
3772
_ACEOF
3502
 
rm -f conftest.$ac_objext
3503
 
if { (ac_try="$ac_compile"
3504
 
case "(($ac_try" in
3505
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3506
 
  *) ac_try_echo=$ac_try;;
3507
 
esac
3508
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3509
 
$as_echo "$ac_try_echo") >&5
3510
 
  (eval "$ac_compile") 2>conftest.er1
3511
 
  ac_status=$?
3512
 
  grep -v '^ *+' conftest.er1 >conftest.err
3513
 
  rm -f conftest.er1
3514
 
  cat conftest.err >&5
3515
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516
 
  (exit $ac_status); } && {
3517
 
         test -z "$ac_c_werror_flag" ||
3518
 
         test ! -s conftest.err
3519
 
       } && test -s conftest.$ac_objext; then
3520
 
  :
 
3773
if ac_fn_c_try_compile "$LINENO"; then :
 
3774
 
3521
3775
else
3522
 
  $as_echo "$as_me: failed program was:" >&5
3523
 
sed 's/^/| /' conftest.$ac_ext >&5
3524
 
 
3525
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3776
  ac_c_werror_flag=$ac_save_c_werror_flag
3526
3777
         CFLAGS="-g"
3527
 
         cat >conftest.$ac_ext <<_ACEOF
3528
 
/* confdefs.h.  */
3529
 
_ACEOF
3530
 
cat confdefs.h >>conftest.$ac_ext
3531
 
cat >>conftest.$ac_ext <<_ACEOF
 
3778
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3532
3779
/* end confdefs.h.  */
3533
3780
 
3534
3781
int
3539
3786
  return 0;
3540
3787
}
3541
3788
_ACEOF
3542
 
rm -f conftest.$ac_objext
3543
 
if { (ac_try="$ac_compile"
3544
 
case "(($ac_try" in
3545
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3546
 
  *) ac_try_echo=$ac_try;;
3547
 
esac
3548
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3549
 
$as_echo "$ac_try_echo") >&5
3550
 
  (eval "$ac_compile") 2>conftest.er1
3551
 
  ac_status=$?
3552
 
  grep -v '^ *+' conftest.er1 >conftest.err
3553
 
  rm -f conftest.er1
3554
 
  cat conftest.err >&5
3555
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556
 
  (exit $ac_status); } && {
3557
 
         test -z "$ac_c_werror_flag" ||
3558
 
         test ! -s conftest.err
3559
 
       } && test -s conftest.$ac_objext; then
 
3789
if ac_fn_c_try_compile "$LINENO"; then :
3560
3790
  ac_cv_prog_cc_g=yes
3561
 
else
3562
 
  $as_echo "$as_me: failed program was:" >&5
3563
 
sed 's/^/| /' conftest.$ac_ext >&5
3564
 
 
3565
 
 
3566
 
fi
3567
 
 
3568
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569
 
fi
3570
 
 
3571
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3572
 
fi
3573
 
 
 
3791
fi
 
3792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3793
fi
 
3794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3795
fi
3574
3796
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575
3797
   ac_c_werror_flag=$ac_save_c_werror_flag
3576
3798
fi
3577
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3799
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3578
3800
$as_echo "$ac_cv_prog_cc_g" >&6; }
3579
3801
if test "$ac_test_CFLAGS" = set; then
3580
3802
  CFLAGS=$ac_save_CFLAGS
3591
3813
    CFLAGS=
3592
3814
  fi
3593
3815
fi
3594
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3595
3817
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3596
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3818
if ${ac_cv_prog_cc_c89+:} false; then :
3597
3819
  $as_echo_n "(cached) " >&6
3598
3820
else
3599
3821
  ac_cv_prog_cc_c89=no
3600
3822
ac_save_CC=$CC
3601
 
cat >conftest.$ac_ext <<_ACEOF
3602
 
/* confdefs.h.  */
3603
 
_ACEOF
3604
 
cat confdefs.h >>conftest.$ac_ext
3605
 
cat >>conftest.$ac_ext <<_ACEOF
 
3823
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606
3824
/* end confdefs.h.  */
3607
3825
#include <stdarg.h>
3608
3826
#include <stdio.h>
3659
3877
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3660
3878
do
3661
3879
  CC="$ac_save_CC $ac_arg"
3662
 
  rm -f conftest.$ac_objext
3663
 
if { (ac_try="$ac_compile"
3664
 
case "(($ac_try" in
3665
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666
 
  *) ac_try_echo=$ac_try;;
3667
 
esac
3668
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3669
 
$as_echo "$ac_try_echo") >&5
3670
 
  (eval "$ac_compile") 2>conftest.er1
3671
 
  ac_status=$?
3672
 
  grep -v '^ *+' conftest.er1 >conftest.err
3673
 
  rm -f conftest.er1
3674
 
  cat conftest.err >&5
3675
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676
 
  (exit $ac_status); } && {
3677
 
         test -z "$ac_c_werror_flag" ||
3678
 
         test ! -s conftest.err
3679
 
       } && test -s conftest.$ac_objext; then
 
3880
  if ac_fn_c_try_compile "$LINENO"; then :
3680
3881
  ac_cv_prog_cc_c89=$ac_arg
3681
 
else
3682
 
  $as_echo "$as_me: failed program was:" >&5
3683
 
sed 's/^/| /' conftest.$ac_ext >&5
3684
 
 
3685
 
 
3686
3882
fi
3687
 
 
3688
3883
rm -f core conftest.err conftest.$ac_objext
3689
3884
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3690
3885
done
3695
3890
# AC_CACHE_VAL
3696
3891
case "x$ac_cv_prog_cc_c89" in
3697
3892
  x)
3698
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3893
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3699
3894
$as_echo "none needed" >&6; } ;;
3700
3895
  xno)
3701
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3896
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3702
3897
$as_echo "unsupported" >&6; } ;;
3703
3898
  *)
3704
3899
    CC="$CC $ac_cv_prog_cc_c89"
3705
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3900
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3706
3901
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3707
3902
esac
 
3903
if test "x$ac_cv_prog_cc_c89" != xno; then :
3708
3904
 
 
3905
fi
3709
3906
 
3710
3907
ac_ext=c
3711
3908
ac_cpp='$CPP $CPPFLAGS'
3715
3912
 
3716
3913
depcc="$CC"   am_compiler_list=
3717
3914
 
3718
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3719
3916
$as_echo_n "checking dependency style of $depcc... " >&6; }
3720
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3917
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3721
3918
  $as_echo_n "(cached) " >&6
3722
3919
else
3723
3920
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3743
3940
  if test "$am_compiler_list" = ""; then
3744
3941
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3745
3942
  fi
 
3943
  am__universal=false
 
3944
  case " $depcc " in #(
 
3945
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3946
     esac
 
3947
 
3746
3948
  for depmode in $am_compiler_list; do
3747
3949
    # Setup a source with many dependencies, because some compilers
3748
3950
    # like to wrap large dependency lists on column 80 (with \), and
3760
3962
    done
3761
3963
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3762
3964
 
 
3965
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3966
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3967
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3968
    # versions had trouble with output in subdirs
 
3969
    am__obj=sub/conftest.${OBJEXT-o}
 
3970
    am__minus_obj="-o $am__obj"
3763
3971
    case $depmode in
 
3972
    gcc)
 
3973
      # This depmode causes a compiler race in universal mode.
 
3974
      test "$am__universal" = false || continue
 
3975
      ;;
3764
3976
    nosideeffect)
3765
3977
      # after this tag, mechanisms are not by side-effect, so they'll
3766
3978
      # only be used when explicitly requested
3770
3982
        break
3771
3983
      fi
3772
3984
      ;;
 
3985
    msvisualcpp | msvcmsys)
 
3986
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3987
      # not run yet.  These depmodes are late enough in the game, and
 
3988
      # so weak that their functioning should not be impacted.
 
3989
      am__obj=conftest.${OBJEXT-o}
 
3990
      am__minus_obj=
 
3991
      ;;
3773
3992
    none) break ;;
3774
3993
    esac
3775
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3776
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3777
 
    # handle `-M -o', and we need to detect this.
3778
3994
    if depmode=$depmode \
3779
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3995
       source=sub/conftest.c object=$am__obj \
3780
3996
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3781
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3997
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3782
3998
         >/dev/null 2>conftest.err &&
3783
3999
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3784
4000
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3785
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4001
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3786
4002
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3787
4003
      # icc doesn't choke on unknown options, it will just issue warnings
3788
4004
      # or remarks (even with -Werror).  So we grep stderr for any message
3806
4022
fi
3807
4023
 
3808
4024
fi
3809
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3810
4026
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3811
4027
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3812
4028
 
3821
4037
fi
3822
4038
 
3823
4039
 
3824
 
   { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
 
4040
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3825
4041
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3826
 
if test "${ac_cv_prog_cc_c99+set}" = set; then
 
4042
if ${ac_cv_prog_cc_c99+:} false; then :
3827
4043
  $as_echo_n "(cached) " >&6
3828
4044
else
3829
4045
  ac_cv_prog_cc_c99=no
3830
4046
ac_save_CC=$CC
3831
 
cat >conftest.$ac_ext <<_ACEOF
3832
 
/* confdefs.h.  */
3833
 
_ACEOF
3834
 
cat confdefs.h >>conftest.$ac_ext
3835
 
cat >>conftest.$ac_ext <<_ACEOF
 
4047
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3836
4048
/* end confdefs.h.  */
3837
4049
#include <stdarg.h>
3838
4050
#include <stdbool.h>
3974
4186
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3975
4187
do
3976
4188
  CC="$ac_save_CC $ac_arg"
3977
 
  rm -f conftest.$ac_objext
3978
 
if { (ac_try="$ac_compile"
3979
 
case "(($ac_try" in
3980
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981
 
  *) ac_try_echo=$ac_try;;
3982
 
esac
3983
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3984
 
$as_echo "$ac_try_echo") >&5
3985
 
  (eval "$ac_compile") 2>conftest.er1
3986
 
  ac_status=$?
3987
 
  grep -v '^ *+' conftest.er1 >conftest.err
3988
 
  rm -f conftest.er1
3989
 
  cat conftest.err >&5
3990
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991
 
  (exit $ac_status); } && {
3992
 
         test -z "$ac_c_werror_flag" ||
3993
 
         test ! -s conftest.err
3994
 
       } && test -s conftest.$ac_objext; then
 
4189
  if ac_fn_c_try_compile "$LINENO"; then :
3995
4190
  ac_cv_prog_cc_c99=$ac_arg
3996
 
else
3997
 
  $as_echo "$as_me: failed program was:" >&5
3998
 
sed 's/^/| /' conftest.$ac_ext >&5
3999
 
 
4000
 
 
4001
4191
fi
4002
 
 
4003
4192
rm -f core conftest.err conftest.$ac_objext
4004
4193
  test "x$ac_cv_prog_cc_c99" != "xno" && break
4005
4194
done
4010
4199
# AC_CACHE_VAL
4011
4200
case "x$ac_cv_prog_cc_c99" in
4012
4201
  x)
4013
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4202
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4014
4203
$as_echo "none needed" >&6; } ;;
4015
4204
  xno)
4016
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4205
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4017
4206
$as_echo "unsupported" >&6; } ;;
4018
4207
  *)
4019
4208
    CC="$CC $ac_cv_prog_cc_c99"
4020
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
 
4209
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4021
4210
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4022
4211
esac
 
4212
if test "x$ac_cv_prog_cc_c99" != xno; then :
4023
4213
 
 
4214
fi
4024
4215
 
4025
4216
 
4026
4217
 
4029
4220
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4030
4221
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4031
4222
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4032
 
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
4223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4033
4224
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4034
4225
# On Suns, sometimes $CPP names a directory.
4035
4226
if test -n "$CPP" && test -d "$CPP"; then
4036
4227
  CPP=
4037
4228
fi
4038
4229
if test -z "$CPP"; then
4039
 
  if test "${ac_cv_prog_CPP+set}" = set; then
 
4230
  if ${ac_cv_prog_CPP+:} false; then :
4040
4231
  $as_echo_n "(cached) " >&6
4041
4232
else
4042
4233
      # Double quotes because CPP needs to be expanded
4051
4242
  # <limits.h> exists even on freestanding compilers.
4052
4243
  # On the NeXT, cc -E runs the code through the compiler's parser,
4053
4244
  # not just through cpp. "Syntax error" is here to catch this case.
4054
 
  cat >conftest.$ac_ext <<_ACEOF
4055
 
/* confdefs.h.  */
4056
 
_ACEOF
4057
 
cat confdefs.h >>conftest.$ac_ext
4058
 
cat >>conftest.$ac_ext <<_ACEOF
 
4245
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059
4246
/* end confdefs.h.  */
4060
4247
#ifdef __STDC__
4061
4248
# include <limits.h>
4064
4251
#endif
4065
4252
                     Syntax error
4066
4253
_ACEOF
4067
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4068
 
case "(($ac_try" in
4069
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4070
 
  *) ac_try_echo=$ac_try;;
4071
 
esac
4072
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4073
 
$as_echo "$ac_try_echo") >&5
4074
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4075
 
  ac_status=$?
4076
 
  grep -v '^ *+' conftest.er1 >conftest.err
4077
 
  rm -f conftest.er1
4078
 
  cat conftest.err >&5
4079
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080
 
  (exit $ac_status); } >/dev/null && {
4081
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4082
 
         test ! -s conftest.err
4083
 
       }; then
4084
 
  :
 
4254
if ac_fn_c_try_cpp "$LINENO"; then :
 
4255
 
4085
4256
else
4086
 
  $as_echo "$as_me: failed program was:" >&5
4087
 
sed 's/^/| /' conftest.$ac_ext >&5
4088
 
 
4089
4257
  # Broken: fails on valid input.
4090
4258
continue
4091
4259
fi
4092
 
 
4093
 
rm -f conftest.err conftest.$ac_ext
 
4260
rm -f conftest.err conftest.i conftest.$ac_ext
4094
4261
 
4095
4262
  # OK, works on sane cases.  Now check whether nonexistent headers
4096
4263
  # can be detected and how.
4097
 
  cat >conftest.$ac_ext <<_ACEOF
4098
 
/* confdefs.h.  */
4099
 
_ACEOF
4100
 
cat confdefs.h >>conftest.$ac_ext
4101
 
cat >>conftest.$ac_ext <<_ACEOF
 
4264
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102
4265
/* end confdefs.h.  */
4103
4266
#include <ac_nonexistent.h>
4104
4267
_ACEOF
4105
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4106
 
case "(($ac_try" in
4107
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108
 
  *) ac_try_echo=$ac_try;;
4109
 
esac
4110
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4111
 
$as_echo "$ac_try_echo") >&5
4112
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4113
 
  ac_status=$?
4114
 
  grep -v '^ *+' conftest.er1 >conftest.err
4115
 
  rm -f conftest.er1
4116
 
  cat conftest.err >&5
4117
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118
 
  (exit $ac_status); } >/dev/null && {
4119
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4120
 
         test ! -s conftest.err
4121
 
       }; then
 
4268
if ac_fn_c_try_cpp "$LINENO"; then :
4122
4269
  # Broken: success on invalid input.
4123
4270
continue
4124
4271
else
4125
 
  $as_echo "$as_me: failed program was:" >&5
4126
 
sed 's/^/| /' conftest.$ac_ext >&5
4127
 
 
4128
4272
  # Passes both tests.
4129
4273
ac_preproc_ok=:
4130
4274
break
4131
4275
fi
4132
 
 
4133
 
rm -f conftest.err conftest.$ac_ext
 
4276
rm -f conftest.err conftest.i conftest.$ac_ext
4134
4277
 
4135
4278
done
4136
4279
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4137
 
rm -f conftest.err conftest.$ac_ext
4138
 
if $ac_preproc_ok; then
 
4280
rm -f conftest.i conftest.err conftest.$ac_ext
 
4281
if $ac_preproc_ok; then :
4139
4282
  break
4140
4283
fi
4141
4284
 
4147
4290
else
4148
4291
  ac_cv_prog_CPP=$CPP
4149
4292
fi
4150
 
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4151
4294
$as_echo "$CPP" >&6; }
4152
4295
ac_preproc_ok=false
4153
4296
for ac_c_preproc_warn_flag in '' yes
4158
4301
  # <limits.h> exists even on freestanding compilers.
4159
4302
  # On the NeXT, cc -E runs the code through the compiler's parser,
4160
4303
  # not just through cpp. "Syntax error" is here to catch this case.
4161
 
  cat >conftest.$ac_ext <<_ACEOF
4162
 
/* confdefs.h.  */
4163
 
_ACEOF
4164
 
cat confdefs.h >>conftest.$ac_ext
4165
 
cat >>conftest.$ac_ext <<_ACEOF
 
4304
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166
4305
/* end confdefs.h.  */
4167
4306
#ifdef __STDC__
4168
4307
# include <limits.h>
4171
4310
#endif
4172
4311
                     Syntax error
4173
4312
_ACEOF
4174
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4175
 
case "(($ac_try" in
4176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177
 
  *) ac_try_echo=$ac_try;;
4178
 
esac
4179
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4180
 
$as_echo "$ac_try_echo") >&5
4181
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4182
 
  ac_status=$?
4183
 
  grep -v '^ *+' conftest.er1 >conftest.err
4184
 
  rm -f conftest.er1
4185
 
  cat conftest.err >&5
4186
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187
 
  (exit $ac_status); } >/dev/null && {
4188
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4189
 
         test ! -s conftest.err
4190
 
       }; then
4191
 
  :
 
4313
if ac_fn_c_try_cpp "$LINENO"; then :
 
4314
 
4192
4315
else
4193
 
  $as_echo "$as_me: failed program was:" >&5
4194
 
sed 's/^/| /' conftest.$ac_ext >&5
4195
 
 
4196
4316
  # Broken: fails on valid input.
4197
4317
continue
4198
4318
fi
4199
 
 
4200
 
rm -f conftest.err conftest.$ac_ext
 
4319
rm -f conftest.err conftest.i conftest.$ac_ext
4201
4320
 
4202
4321
  # OK, works on sane cases.  Now check whether nonexistent headers
4203
4322
  # can be detected and how.
4204
 
  cat >conftest.$ac_ext <<_ACEOF
4205
 
/* confdefs.h.  */
4206
 
_ACEOF
4207
 
cat confdefs.h >>conftest.$ac_ext
4208
 
cat >>conftest.$ac_ext <<_ACEOF
 
4323
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209
4324
/* end confdefs.h.  */
4210
4325
#include <ac_nonexistent.h>
4211
4326
_ACEOF
4212
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4213
 
case "(($ac_try" in
4214
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4215
 
  *) ac_try_echo=$ac_try;;
4216
 
esac
4217
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4218
 
$as_echo "$ac_try_echo") >&5
4219
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4220
 
  ac_status=$?
4221
 
  grep -v '^ *+' conftest.er1 >conftest.err
4222
 
  rm -f conftest.er1
4223
 
  cat conftest.err >&5
4224
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225
 
  (exit $ac_status); } >/dev/null && {
4226
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4227
 
         test ! -s conftest.err
4228
 
       }; then
 
4327
if ac_fn_c_try_cpp "$LINENO"; then :
4229
4328
  # Broken: success on invalid input.
4230
4329
continue
4231
4330
else
4232
 
  $as_echo "$as_me: failed program was:" >&5
4233
 
sed 's/^/| /' conftest.$ac_ext >&5
4234
 
 
4235
4331
  # Passes both tests.
4236
4332
ac_preproc_ok=:
4237
4333
break
4238
4334
fi
4239
 
 
4240
 
rm -f conftest.err conftest.$ac_ext
 
4335
rm -f conftest.err conftest.i conftest.$ac_ext
4241
4336
 
4242
4337
done
4243
4338
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4244
 
rm -f conftest.err conftest.$ac_ext
4245
 
if $ac_preproc_ok; then
4246
 
  :
 
4339
rm -f conftest.i conftest.err conftest.$ac_ext
 
4340
if $ac_preproc_ok; then :
 
4341
 
4247
4342
else
4248
 
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4343
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4249
4344
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4250
 
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4251
 
See \`config.log' for more details." >&5
4252
 
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4253
 
See \`config.log' for more details." >&2;}
4254
 
   { (exit 1); exit 1; }; }; }
 
4345
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
4346
See \`config.log' for more details" "$LINENO" 5; }
4255
4347
fi
4256
4348
 
4257
4349
ac_ext=c
4261
4353
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4262
4354
 
4263
4355
 
4264
 
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4265
4357
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4266
 
if test "${ac_cv_path_GREP+set}" = set; then
 
4358
if ${ac_cv_path_GREP+:} false; then :
4267
4359
  $as_echo_n "(cached) " >&6
4268
4360
else
4269
4361
  if test -z "$GREP"; then
4274
4366
do
4275
4367
  IFS=$as_save_IFS
4276
4368
  test -z "$as_dir" && as_dir=.
4277
 
  for ac_prog in grep ggrep; do
 
4369
    for ac_prog in grep ggrep; do
4278
4370
    for ac_exec_ext in '' $ac_executable_extensions; do
4279
4371
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4280
4372
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4294
4386
    $as_echo 'GREP' >> "conftest.nl"
4295
4387
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4296
4388
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4297
 
    ac_count=`expr $ac_count + 1`
 
4389
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4298
4390
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4299
4391
      # Best one so far, save it but keep looking for a better one
4300
4392
      ac_cv_path_GREP="$ac_path_GREP"
4309
4401
      $ac_path_GREP_found && break 3
4310
4402
    done
4311
4403
  done
4312
 
done
 
4404
  done
4313
4405
IFS=$as_save_IFS
4314
4406
  if test -z "$ac_cv_path_GREP"; then
4315
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4316
 
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4317
 
   { (exit 1); exit 1; }; }
 
4407
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4318
4408
  fi
4319
4409
else
4320
4410
  ac_cv_path_GREP=$GREP
4321
4411
fi
4322
4412
 
4323
4413
fi
4324
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4325
4415
$as_echo "$ac_cv_path_GREP" >&6; }
4326
4416
 GREP="$ac_cv_path_GREP"
4327
4417
 
4328
4418
 
4329
 
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4330
4420
$as_echo_n "checking for egrep... " >&6; }
4331
 
if test "${ac_cv_path_EGREP+set}" = set; then
 
4421
if ${ac_cv_path_EGREP+:} false; then :
4332
4422
  $as_echo_n "(cached) " >&6
4333
4423
else
4334
4424
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4342
4432
do
4343
4433
  IFS=$as_save_IFS
4344
4434
  test -z "$as_dir" && as_dir=.
4345
 
  for ac_prog in egrep; do
 
4435
    for ac_prog in egrep; do
4346
4436
    for ac_exec_ext in '' $ac_executable_extensions; do
4347
4437
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4348
4438
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4362
4452
    $as_echo 'EGREP' >> "conftest.nl"
4363
4453
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4364
4454
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4365
 
    ac_count=`expr $ac_count + 1`
 
4455
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4366
4456
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4367
4457
      # Best one so far, save it but keep looking for a better one
4368
4458
      ac_cv_path_EGREP="$ac_path_EGREP"
4377
4467
      $ac_path_EGREP_found && break 3
4378
4468
    done
4379
4469
  done
4380
 
done
 
4470
  done
4381
4471
IFS=$as_save_IFS
4382
4472
  if test -z "$ac_cv_path_EGREP"; then
4383
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4384
 
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4385
 
   { (exit 1); exit 1; }; }
 
4473
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4386
4474
  fi
4387
4475
else
4388
4476
  ac_cv_path_EGREP=$EGREP
4390
4478
 
4391
4479
   fi
4392
4480
fi
4393
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4394
4482
$as_echo "$ac_cv_path_EGREP" >&6; }
4395
4483
 EGREP="$ac_cv_path_EGREP"
4396
4484
 
4397
4485
 
4398
 
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
4486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4399
4487
$as_echo_n "checking for ANSI C header files... " >&6; }
4400
 
if test "${ac_cv_header_stdc+set}" = set; then
 
4488
if ${ac_cv_header_stdc+:} false; then :
4401
4489
  $as_echo_n "(cached) " >&6
4402
4490
else
4403
 
  cat >conftest.$ac_ext <<_ACEOF
4404
 
/* confdefs.h.  */
4405
 
_ACEOF
4406
 
cat confdefs.h >>conftest.$ac_ext
4407
 
cat >>conftest.$ac_ext <<_ACEOF
 
4491
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408
4492
/* end confdefs.h.  */
4409
4493
#include <stdlib.h>
4410
4494
#include <stdarg.h>
4419
4503
  return 0;
4420
4504
}
4421
4505
_ACEOF
4422
 
rm -f conftest.$ac_objext
4423
 
if { (ac_try="$ac_compile"
4424
 
case "(($ac_try" in
4425
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426
 
  *) ac_try_echo=$ac_try;;
4427
 
esac
4428
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4429
 
$as_echo "$ac_try_echo") >&5
4430
 
  (eval "$ac_compile") 2>conftest.er1
4431
 
  ac_status=$?
4432
 
  grep -v '^ *+' conftest.er1 >conftest.err
4433
 
  rm -f conftest.er1
4434
 
  cat conftest.err >&5
4435
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436
 
  (exit $ac_status); } && {
4437
 
         test -z "$ac_c_werror_flag" ||
4438
 
         test ! -s conftest.err
4439
 
       } && test -s conftest.$ac_objext; then
 
4506
if ac_fn_c_try_compile "$LINENO"; then :
4440
4507
  ac_cv_header_stdc=yes
4441
4508
else
4442
 
  $as_echo "$as_me: failed program was:" >&5
4443
 
sed 's/^/| /' conftest.$ac_ext >&5
4444
 
 
4445
 
        ac_cv_header_stdc=no
 
4509
  ac_cv_header_stdc=no
4446
4510
fi
4447
 
 
4448
4511
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4449
4512
 
4450
4513
if test $ac_cv_header_stdc = yes; then
4451
4514
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4452
 
  cat >conftest.$ac_ext <<_ACEOF
4453
 
/* confdefs.h.  */
4454
 
_ACEOF
4455
 
cat confdefs.h >>conftest.$ac_ext
4456
 
cat >>conftest.$ac_ext <<_ACEOF
 
4515
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457
4516
/* end confdefs.h.  */
4458
4517
#include <string.h>
4459
4518
 
4460
4519
_ACEOF
4461
4520
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4462
 
  $EGREP "memchr" >/dev/null 2>&1; then
4463
 
  :
 
4521
  $EGREP "memchr" >/dev/null 2>&1; then :
 
4522
 
4464
4523
else
4465
4524
  ac_cv_header_stdc=no
4466
4525
fi
4470
4529
 
4471
4530
if test $ac_cv_header_stdc = yes; then
4472
4531
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4473
 
  cat >conftest.$ac_ext <<_ACEOF
4474
 
/* confdefs.h.  */
4475
 
_ACEOF
4476
 
cat confdefs.h >>conftest.$ac_ext
4477
 
cat >>conftest.$ac_ext <<_ACEOF
 
4532
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478
4533
/* end confdefs.h.  */
4479
4534
#include <stdlib.h>
4480
4535
 
4481
4536
_ACEOF
4482
4537
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4483
 
  $EGREP "free" >/dev/null 2>&1; then
4484
 
  :
 
4538
  $EGREP "free" >/dev/null 2>&1; then :
 
4539
 
4485
4540
else
4486
4541
  ac_cv_header_stdc=no
4487
4542
fi
4491
4546
 
4492
4547
if test $ac_cv_header_stdc = yes; then
4493
4548
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4494
 
  if test "$cross_compiling" = yes; then
 
4549
  if test "$cross_compiling" = yes; then :
4495
4550
  :
4496
4551
else
4497
 
  cat >conftest.$ac_ext <<_ACEOF
4498
 
/* confdefs.h.  */
4499
 
_ACEOF
4500
 
cat confdefs.h >>conftest.$ac_ext
4501
 
cat >>conftest.$ac_ext <<_ACEOF
 
4552
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502
4553
/* end confdefs.h.  */
4503
4554
#include <ctype.h>
4504
4555
#include <stdlib.h>
4525
4576
  return 0;
4526
4577
}
4527
4578
_ACEOF
4528
 
rm -f conftest$ac_exeext
4529
 
if { (ac_try="$ac_link"
4530
 
case "(($ac_try" in
4531
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4532
 
  *) ac_try_echo=$ac_try;;
4533
 
esac
4534
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4535
 
$as_echo "$ac_try_echo") >&5
4536
 
  (eval "$ac_link") 2>&5
4537
 
  ac_status=$?
4538
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4540
 
  { (case "(($ac_try" in
4541
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4542
 
  *) ac_try_echo=$ac_try;;
4543
 
esac
4544
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4545
 
$as_echo "$ac_try_echo") >&5
4546
 
  (eval "$ac_try") 2>&5
4547
 
  ac_status=$?
4548
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549
 
  (exit $ac_status); }; }; then
4550
 
  :
 
4579
if ac_fn_c_try_run "$LINENO"; then :
 
4580
 
4551
4581
else
4552
 
  $as_echo "$as_me: program exited with status $ac_status" >&5
4553
 
$as_echo "$as_me: failed program was:" >&5
4554
 
sed 's/^/| /' conftest.$ac_ext >&5
4555
 
 
4556
 
( exit $ac_status )
4557
 
ac_cv_header_stdc=no
4558
 
fi
4559
 
rm -rf conftest.dSYM
4560
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4561
 
fi
4562
 
 
4563
 
 
4564
 
fi
4565
 
fi
4566
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
4582
  ac_cv_header_stdc=no
 
4583
fi
 
4584
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
4585
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
4586
fi
 
4587
 
 
4588
fi
 
4589
fi
 
4590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4567
4591
$as_echo "$ac_cv_header_stdc" >&6; }
4568
4592
if test $ac_cv_header_stdc = yes; then
4569
4593
 
4570
 
cat >>confdefs.h <<\_ACEOF
4571
 
#define STDC_HEADERS 1
4572
 
_ACEOF
 
4594
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4573
4595
 
4574
4596
fi
4575
4597
 
4576
4598
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4577
 
 
4578
 
 
4579
 
 
4580
 
 
4581
 
 
4582
 
 
4583
 
 
4584
 
 
4585
 
 
4586
4599
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4587
4600
                  inttypes.h stdint.h unistd.h
4588
 
do
4589
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4590
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4591
 
$as_echo_n "checking for $ac_header... " >&6; }
4592
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4593
 
  $as_echo_n "(cached) " >&6
4594
 
else
4595
 
  cat >conftest.$ac_ext <<_ACEOF
4596
 
/* confdefs.h.  */
4597
 
_ACEOF
4598
 
cat confdefs.h >>conftest.$ac_ext
4599
 
cat >>conftest.$ac_ext <<_ACEOF
4600
 
/* end confdefs.h.  */
4601
 
$ac_includes_default
4602
 
 
4603
 
#include <$ac_header>
4604
 
_ACEOF
4605
 
rm -f conftest.$ac_objext
4606
 
if { (ac_try="$ac_compile"
4607
 
case "(($ac_try" in
4608
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4609
 
  *) ac_try_echo=$ac_try;;
4610
 
esac
4611
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4612
 
$as_echo "$ac_try_echo") >&5
4613
 
  (eval "$ac_compile") 2>conftest.er1
4614
 
  ac_status=$?
4615
 
  grep -v '^ *+' conftest.er1 >conftest.err
4616
 
  rm -f conftest.er1
4617
 
  cat conftest.err >&5
4618
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619
 
  (exit $ac_status); } && {
4620
 
         test -z "$ac_c_werror_flag" ||
4621
 
         test ! -s conftest.err
4622
 
       } && test -s conftest.$ac_objext; then
4623
 
  eval "$as_ac_Header=yes"
4624
 
else
4625
 
  $as_echo "$as_me: failed program was:" >&5
4626
 
sed 's/^/| /' conftest.$ac_ext >&5
4627
 
 
4628
 
        eval "$as_ac_Header=no"
4629
 
fi
4630
 
 
4631
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4632
 
fi
4633
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
4634
 
                 $as_echo "$as_val"'`
4635
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4636
 
$as_echo "$ac_res" >&6; }
4637
 
as_val=`eval 'as_val=${'$as_ac_Header'}
4638
 
                 $as_echo "$as_val"'`
4639
 
   if test "x$as_val" = x""yes; then
 
4601
do :
 
4602
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
4603
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
4604
"
 
4605
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4640
4606
  cat >>confdefs.h <<_ACEOF
4641
4607
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4642
4608
_ACEOF
4652
4618
        if test -n "$ac_tool_prefix"; then
4653
4619
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4654
4620
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4655
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656
4622
$as_echo_n "checking for $ac_word... " >&6; }
4657
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
4623
if ${ac_cv_path_PKG_CONFIG+:} false; then :
4658
4624
  $as_echo_n "(cached) " >&6
4659
4625
else
4660
4626
  case $PKG_CONFIG in
4667
4633
do
4668
4634
  IFS=$as_save_IFS
4669
4635
  test -z "$as_dir" && as_dir=.
4670
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4636
    for ac_exec_ext in '' $ac_executable_extensions; do
4671
4637
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4672
4638
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4673
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4639
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674
4640
    break 2
4675
4641
  fi
4676
4642
done
4677
 
done
 
4643
  done
4678
4644
IFS=$as_save_IFS
4679
4645
 
4680
4646
  ;;
4682
4648
fi
4683
4649
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4684
4650
if test -n "$PKG_CONFIG"; then
4685
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
4651
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4686
4652
$as_echo "$PKG_CONFIG" >&6; }
4687
4653
else
4688
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4654
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689
4655
$as_echo "no" >&6; }
4690
4656
fi
4691
4657
 
4695
4661
  ac_pt_PKG_CONFIG=$PKG_CONFIG
4696
4662
  # Extract the first word of "pkg-config", so it can be a program name with args.
4697
4663
set dummy pkg-config; ac_word=$2
4698
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699
4665
$as_echo_n "checking for $ac_word... " >&6; }
4700
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
4666
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4701
4667
  $as_echo_n "(cached) " >&6
4702
4668
else
4703
4669
  case $ac_pt_PKG_CONFIG in
4710
4676
do
4711
4677
  IFS=$as_save_IFS
4712
4678
  test -z "$as_dir" && as_dir=.
4713
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4679
    for ac_exec_ext in '' $ac_executable_extensions; do
4714
4680
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4715
4681
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4716
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4682
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4717
4683
    break 2
4718
4684
  fi
4719
4685
done
4720
 
done
 
4686
  done
4721
4687
IFS=$as_save_IFS
4722
4688
 
4723
4689
  ;;
4725
4691
fi
4726
4692
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4727
4693
if test -n "$ac_pt_PKG_CONFIG"; then
4728
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
4694
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4729
4695
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4730
4696
else
4731
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4697
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732
4698
$as_echo "no" >&6; }
4733
4699
fi
4734
4700
 
4737
4703
  else
4738
4704
    case $cross_compiling:$ac_tool_warned in
4739
4705
yes:)
4740
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4706
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4741
4707
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4742
4708
ac_tool_warned=yes ;;
4743
4709
esac
4750
4716
fi
4751
4717
if test -n "$PKG_CONFIG"; then
4752
4718
        _pkg_min_version=0.9.0
4753
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
4719
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4754
4720
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4755
4721
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4756
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4722
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4757
4723
$as_echo "yes" >&6; }
4758
4724
        else
4759
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
4725
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4760
4726
$as_echo "no" >&6; }
4761
4727
                PKG_CONFIG=""
4762
4728
        fi
4764
4730
fi
4765
4731
# Make sure we can run config.sub.
4766
4732
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4767
 
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4768
 
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4769
 
   { (exit 1); exit 1; }; }
 
4733
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4770
4734
 
4771
 
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4772
4736
$as_echo_n "checking build system type... " >&6; }
4773
 
if test "${ac_cv_build+set}" = set; then
 
4737
if ${ac_cv_build+:} false; then :
4774
4738
  $as_echo_n "(cached) " >&6
4775
4739
else
4776
4740
  ac_build_alias=$build_alias
4777
4741
test "x$ac_build_alias" = x &&
4778
4742
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4779
4743
test "x$ac_build_alias" = x &&
4780
 
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4781
 
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4782
 
   { (exit 1); exit 1; }; }
 
4744
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4783
4745
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4784
 
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4785
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4786
 
   { (exit 1); exit 1; }; }
 
4746
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4787
4747
 
4788
4748
fi
4789
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4790
4750
$as_echo "$ac_cv_build" >&6; }
4791
4751
case $ac_cv_build in
4792
4752
*-*-*) ;;
4793
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4794
 
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4795
 
   { (exit 1); exit 1; }; };;
 
4753
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4796
4754
esac
4797
4755
build=$ac_cv_build
4798
4756
ac_save_IFS=$IFS; IFS='-'
4808
4766
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4809
4767
 
4810
4768
 
4811
 
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4812
4770
$as_echo_n "checking host system type... " >&6; }
4813
 
if test "${ac_cv_host+set}" = set; then
 
4771
if ${ac_cv_host+:} false; then :
4814
4772
  $as_echo_n "(cached) " >&6
4815
4773
else
4816
4774
  if test "x$host_alias" = x; then
4817
4775
  ac_cv_host=$ac_cv_build
4818
4776
else
4819
4777
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4820
 
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4821
 
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4822
 
   { (exit 1); exit 1; }; }
 
4778
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4823
4779
fi
4824
4780
 
4825
4781
fi
4826
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4827
4783
$as_echo "$ac_cv_host" >&6; }
4828
4784
case $ac_cv_host in
4829
4785
*-*-*) ;;
4830
 
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4831
 
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4832
 
   { (exit 1); exit 1; }; };;
 
4786
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4833
4787
esac
4834
4788
host=$ac_cv_host
4835
4789
ac_save_IFS=$IFS; IFS='-'
4845
4799
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4846
4800
 
4847
4801
 
4848
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4849
4803
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4850
 
if test "${ac_cv_path_SED+set}" = set; then
 
4804
if ${ac_cv_path_SED+:} false; then :
4851
4805
  $as_echo_n "(cached) " >&6
4852
4806
else
4853
4807
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4855
4809
       ac_script="$ac_script$as_nl$ac_script"
4856
4810
     done
4857
4811
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4858
 
     $as_unset ac_script || ac_script=
 
4812
     { ac_script=; unset ac_script;}
4859
4813
     if test -z "$SED"; then
4860
4814
  ac_path_SED_found=false
4861
4815
  # Loop through the user's path and test for each of PROGNAME-LIST
4864
4818
do
4865
4819
  IFS=$as_save_IFS
4866
4820
  test -z "$as_dir" && as_dir=.
4867
 
  for ac_prog in sed gsed; do
 
4821
    for ac_prog in sed gsed; do
4868
4822
    for ac_exec_ext in '' $ac_executable_extensions; do
4869
4823
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4870
4824
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4884
4838
    $as_echo '' >> "conftest.nl"
4885
4839
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4886
4840
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4887
 
    ac_count=`expr $ac_count + 1`
 
4841
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4888
4842
    if test $ac_count -gt ${ac_path_SED_max-0}; then
4889
4843
      # Best one so far, save it but keep looking for a better one
4890
4844
      ac_cv_path_SED="$ac_path_SED"
4899
4853
      $ac_path_SED_found && break 3
4900
4854
    done
4901
4855
  done
4902
 
done
 
4856
  done
4903
4857
IFS=$as_save_IFS
4904
4858
  if test -z "$ac_cv_path_SED"; then
4905
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4906
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4907
 
   { (exit 1); exit 1; }; }
 
4859
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4908
4860
  fi
4909
4861
else
4910
4862
  ac_cv_path_SED=$SED
4911
4863
fi
4912
4864
 
4913
4865
fi
4914
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4915
4867
$as_echo "$ac_cv_path_SED" >&6; }
4916
4868
 SED="$ac_cv_path_SED"
4917
4869
  rm -f conftest.sed
4930
4882
        ;;
4931
4883
    esac
4932
4884
else
4933
 
    { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
4934
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
4935
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
4936
 
  $as_echo_n "(cached) " >&6
4937
 
else
4938
 
  cat >conftest.$ac_ext <<_ACEOF
4939
 
/* confdefs.h.  */
4940
 
_ACEOF
4941
 
cat confdefs.h >>conftest.$ac_ext
4942
 
cat >>conftest.$ac_ext <<_ACEOF
4943
 
/* end confdefs.h.  */
4944
 
$ac_includes_default
4945
 
int
4946
 
main ()
4947
 
{
4948
 
#ifndef __SUNPRO_C
4949
 
  (void) __SUNPRO_C;
4950
 
#endif
4951
 
 
4952
 
  ;
4953
 
  return 0;
4954
 
}
4955
 
_ACEOF
4956
 
rm -f conftest.$ac_objext
4957
 
if { (ac_try="$ac_compile"
4958
 
case "(($ac_try" in
4959
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4960
 
  *) ac_try_echo=$ac_try;;
4961
 
esac
4962
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4963
 
$as_echo "$ac_try_echo") >&5
4964
 
  (eval "$ac_compile") 2>conftest.er1
4965
 
  ac_status=$?
4966
 
  grep -v '^ *+' conftest.er1 >conftest.err
4967
 
  rm -f conftest.er1
4968
 
  cat conftest.err >&5
4969
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970
 
  (exit $ac_status); } && {
4971
 
         test -z "$ac_c_werror_flag" ||
4972
 
         test ! -s conftest.err
4973
 
       } && test -s conftest.$ac_objext; then
4974
 
  ac_cv_have_decl___SUNPRO_C=yes
4975
 
else
4976
 
  $as_echo "$as_me: failed program was:" >&5
4977
 
sed 's/^/| /' conftest.$ac_ext >&5
4978
 
 
4979
 
        ac_cv_have_decl___SUNPRO_C=no
4980
 
fi
4981
 
 
4982
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4983
 
fi
4984
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
4985
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
4986
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
4885
    ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4886
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
4987
4887
  SUNCC="yes"
4988
4888
else
4989
4889
  SUNCC="no"
5001
4901
 
5002
4902
 
5003
4903
# Check whether --enable-strict-compilation was given.
5004
 
if test "${enable_strict_compilation+set}" = set; then
 
4904
if test "${enable_strict_compilation+set}" = set; then :
5005
4905
  enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
5006
4906
else
5007
4907
  STRICT_COMPILE=no
5008
4908
fi
5009
4909
 
5010
4910
if test "x$STRICT_COMPILE" = "xyes"; then
5011
 
        { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
5012
 
$as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
5013
 
if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
5014
 
  $as_echo_n "(cached) " >&6
5015
 
else
5016
 
  cat >conftest.$ac_ext <<_ACEOF
5017
 
/* confdefs.h.  */
5018
 
_ACEOF
5019
 
cat confdefs.h >>conftest.$ac_ext
5020
 
cat >>conftest.$ac_ext <<_ACEOF
5021
 
/* end confdefs.h.  */
5022
 
$ac_includes_default
5023
 
int
5024
 
main ()
5025
 
{
5026
 
#ifndef __SUNPRO_C
5027
 
  (void) __SUNPRO_C;
5028
 
#endif
5029
 
 
5030
 
  ;
5031
 
  return 0;
5032
 
}
5033
 
_ACEOF
5034
 
rm -f conftest.$ac_objext
5035
 
if { (ac_try="$ac_compile"
5036
 
case "(($ac_try" in
5037
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5038
 
  *) ac_try_echo=$ac_try;;
5039
 
esac
5040
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5041
 
$as_echo "$ac_try_echo") >&5
5042
 
  (eval "$ac_compile") 2>conftest.er1
5043
 
  ac_status=$?
5044
 
  grep -v '^ *+' conftest.er1 >conftest.err
5045
 
  rm -f conftest.er1
5046
 
  cat conftest.err >&5
5047
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048
 
  (exit $ac_status); } && {
5049
 
         test -z "$ac_c_werror_flag" ||
5050
 
         test ! -s conftest.err
5051
 
       } && test -s conftest.$ac_objext; then
5052
 
  ac_cv_have_decl___SUNPRO_C=yes
5053
 
else
5054
 
  $as_echo "$as_me: failed program was:" >&5
5055
 
sed 's/^/| /' conftest.$ac_ext >&5
5056
 
 
5057
 
        ac_cv_have_decl___SUNPRO_C=no
5058
 
fi
5059
 
 
5060
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5061
 
fi
5062
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
5063
 
$as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
5064
 
if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
 
4911
        ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
 
4912
if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
5065
4913
  SUNCC="yes"
5066
4914
else
5067
4915
  SUNCC="no"
5068
4916
fi
5069
4917
 
5070
 
        { $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
5071
 
$as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
5072
 
if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
5073
 
  $as_echo_n "(cached) " >&6
5074
 
else
5075
 
  cat >conftest.$ac_ext <<_ACEOF
5076
 
/* confdefs.h.  */
5077
 
_ACEOF
5078
 
cat confdefs.h >>conftest.$ac_ext
5079
 
cat >>conftest.$ac_ext <<_ACEOF
5080
 
/* end confdefs.h.  */
5081
 
$ac_includes_default
5082
 
int
5083
 
main ()
5084
 
{
5085
 
#ifndef __INTEL_COMPILER
5086
 
  (void) __INTEL_COMPILER;
5087
 
#endif
5088
 
 
5089
 
  ;
5090
 
  return 0;
5091
 
}
5092
 
_ACEOF
5093
 
rm -f conftest.$ac_objext
5094
 
if { (ac_try="$ac_compile"
5095
 
case "(($ac_try" in
5096
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5097
 
  *) ac_try_echo=$ac_try;;
5098
 
esac
5099
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5100
 
$as_echo "$ac_try_echo") >&5
5101
 
  (eval "$ac_compile") 2>conftest.er1
5102
 
  ac_status=$?
5103
 
  grep -v '^ *+' conftest.er1 >conftest.err
5104
 
  rm -f conftest.er1
5105
 
  cat conftest.err >&5
5106
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107
 
  (exit $ac_status); } && {
5108
 
         test -z "$ac_c_werror_flag" ||
5109
 
         test ! -s conftest.err
5110
 
       } && test -s conftest.$ac_objext; then
5111
 
  ac_cv_have_decl___INTEL_COMPILER=yes
5112
 
else
5113
 
  $as_echo "$as_me: failed program was:" >&5
5114
 
sed 's/^/| /' conftest.$ac_ext >&5
5115
 
 
5116
 
        ac_cv_have_decl___INTEL_COMPILER=no
5117
 
fi
5118
 
 
5119
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5120
 
fi
5121
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
5122
 
$as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
5123
 
if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
 
4918
        ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
 
4919
if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
5124
4920
  INTELCC="yes"
5125
4921
else
5126
4922
  INTELCC="no"
5258
5054
        -e 's|__xservername__|Xorg|g' \
5259
5055
        -e 's|__xconfigfile__|xorg.conf|g' \
5260
5056
        -e 's|__projectroot__|\$(prefix)|g' \
 
5057
        -e 's|__apploaddir__|\$(appdefaultdir)|g' \
5261
5058
        -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
5262
5059
        -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
5263
5060
        -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
5267
5064
 
5268
5065
 
5269
5066
 
5270
 
AM_DEFAULT_VERBOSITY=1
 
5067
# Check whether --enable-silent-rules was given.
 
5068
if test "${enable_silent_rules+set}" = set; then :
 
5069
  enableval=$enable_silent_rules;
 
5070
fi
 
5071
 
 
5072
case $enable_silent_rules in
 
5073
yes) AM_DEFAULT_VERBOSITY=0;;
 
5074
no)  AM_DEFAULT_VERBOSITY=1;;
 
5075
*)   AM_DEFAULT_VERBOSITY=0;;
 
5076
esac
 
5077
AM_BACKSLASH='\'
5271
5078
 
5272
5079
 
5273
5080
 
5276
5083
  devel_default="yes"
5277
5084
fi
5278
5085
# Check whether --enable-devel-docs was given.
5279
 
if test "${enable_devel_docs+set}" = set; then
 
5086
if test "${enable_devel_docs+set}" = set; then :
5280
5087
  enableval=$enable_devel_docs; build_devel_docs=$enableval
5281
5088
else
5282
5089
  build_devel_docs=$devel_default
5290
5097
  ENABLE_DEVEL_DOCS_FALSE=
5291
5098
fi
5292
5099
 
5293
 
{ $as_echo "$as_me:$LINENO: checking whether to build developer documentation" >&5
 
5100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build developer documentation" >&5
5294
5101
$as_echo_n "checking whether to build developer documentation... " >&6; }
5295
 
{ $as_echo "$as_me:$LINENO: result: $build_devel_docs" >&5
 
5102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_devel_docs" >&5
5296
5103
$as_echo "$build_devel_docs" >&6; }
5297
5104
 
5298
5105
 
5299
5106
 
5300
5107
 
5301
5108
# Check whether --with-xmlto was given.
5302
 
if test "${with_xmlto+set}" = set; then
 
5109
if test "${with_xmlto+set}" = set; then :
5303
5110
  withval=$with_xmlto; use_xmlto=$withval
5304
5111
else
5305
5112
  use_xmlto=auto
5309
5116
if test "x$use_xmlto" = x"auto"; then
5310
5117
   # Extract the first word of "xmlto", so it can be a program name with args.
5311
5118
set dummy xmlto; ac_word=$2
5312
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313
5120
$as_echo_n "checking for $ac_word... " >&6; }
5314
 
if test "${ac_cv_path_XMLTO+set}" = set; then
 
5121
if ${ac_cv_path_XMLTO+:} false; then :
5315
5122
  $as_echo_n "(cached) " >&6
5316
5123
else
5317
5124
  case $XMLTO in
5324
5131
do
5325
5132
  IFS=$as_save_IFS
5326
5133
  test -z "$as_dir" && as_dir=.
5327
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5134
    for ac_exec_ext in '' $ac_executable_extensions; do
5328
5135
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5329
5136
    ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
5330
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5137
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5331
5138
    break 2
5332
5139
  fi
5333
5140
done
5334
 
done
 
5141
  done
5335
5142
IFS=$as_save_IFS
5336
5143
 
5337
5144
  ;;
5339
5146
fi
5340
5147
XMLTO=$ac_cv_path_XMLTO
5341
5148
if test -n "$XMLTO"; then
5342
 
  { $as_echo "$as_me:$LINENO: result: $XMLTO" >&5
 
5149
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
5343
5150
$as_echo "$XMLTO" >&6; }
5344
5151
else
5345
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5152
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346
5153
$as_echo "no" >&6; }
5347
5154
fi
5348
5155
 
5349
5156
 
5350
5157
   if test "x$XMLTO" = "x"; then
5351
 
        { $as_echo "$as_me:$LINENO: WARNING: xmlto not found - documentation targets will be skipped" >&5
 
5158
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
5352
5159
$as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
5353
5160
        have_xmlto=no
5354
5161
   else
5357
5164
elif test "x$use_xmlto" = x"yes" ; then
5358
5165
   # Extract the first word of "xmlto", so it can be a program name with args.
5359
5166
set dummy xmlto; ac_word=$2
5360
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361
5168
$as_echo_n "checking for $ac_word... " >&6; }
5362
 
if test "${ac_cv_path_XMLTO+set}" = set; then
 
5169
if ${ac_cv_path_XMLTO+:} false; then :
5363
5170
  $as_echo_n "(cached) " >&6
5364
5171
else
5365
5172
  case $XMLTO in
5372
5179
do
5373
5180
  IFS=$as_save_IFS
5374
5181
  test -z "$as_dir" && as_dir=.
5375
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5182
    for ac_exec_ext in '' $ac_executable_extensions; do
5376
5183
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5377
5184
    ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
5378
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5185
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379
5186
    break 2
5380
5187
  fi
5381
5188
done
5382
 
done
 
5189
  done
5383
5190
IFS=$as_save_IFS
5384
5191
 
5385
5192
  ;;
5387
5194
fi
5388
5195
XMLTO=$ac_cv_path_XMLTO
5389
5196
if test -n "$XMLTO"; then
5390
 
  { $as_echo "$as_me:$LINENO: result: $XMLTO" >&5
 
5197
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
5391
5198
$as_echo "$XMLTO" >&6; }
5392
5199
else
5393
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5200
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394
5201
$as_echo "no" >&6; }
5395
5202
fi
5396
5203
 
5397
5204
 
5398
5205
   if test "x$XMLTO" = "x"; then
5399
 
        { { $as_echo "$as_me:$LINENO: error: --with-xmlto=yes specified but xmlto not found in PATH" >&5
5400
 
$as_echo "$as_me: error: --with-xmlto=yes specified but xmlto not found in PATH" >&2;}
5401
 
   { (exit 1); exit 1; }; }
 
5206
        as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
5402
5207
   fi
5403
5208
   have_xmlto=yes
5404
5209
elif test "x$use_xmlto" = x"no" ; then
5405
5210
   if test "x$XMLTO" != "x"; then
5406
 
      { $as_echo "$as_me:$LINENO: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
 
5211
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
5407
5212
$as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
5408
5213
   fi
5409
5214
   have_xmlto=no
5410
5215
else
5411
 
   { { $as_echo "$as_me:$LINENO: error: --with-xmlto expects 'yes' or 'no'" >&5
5412
 
$as_echo "$as_me: error: --with-xmlto expects 'yes' or 'no'" >&2;}
5413
 
   { (exit 1); exit 1; }; }
 
5216
   as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
5414
5217
fi
 
5218
 
 
5219
# Test for a minimum version of xmlto, if provided.
5415
5220
if test "$have_xmlto" = yes; then
5416
5221
    # scrape the xmlto version
5417
 
    { $as_echo "$as_me:$LINENO: checking the xmlto version" >&5
 
5222
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
5418
5223
$as_echo_n "checking the xmlto version... " >&6; }
5419
5224
    xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
5420
 
    { $as_echo "$as_me:$LINENO: result: $xmlto_version" >&5
 
5225
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
5421
5226
$as_echo "$xmlto_version" >&6; }
5422
5227
    as_arg_v1=$xmlto_version
5423
5228
as_arg_v2=0.0.20
5424
5229
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
5425
 
case $? in
5426
 
1) if test "x$use_xmlto" = xauto; then
5427
 
            { $as_echo "$as_me:$LINENO: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
 
5230
case $? in #(
 
5231
  1) :
 
5232
    if test "x$use_xmlto" = xauto; then
 
5233
            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
5428
5234
$as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
5429
5235
            have_xmlto=no
5430
5236
        else
5431
 
            { { $as_echo "$as_me:$LINENO: error: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
5432
 
$as_echo "$as_me: error: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
5433
 
   { (exit 1); exit 1; }; }
5434
 
        fi;;
5435
 
0) ;;
5436
 
2) ;;
 
5237
            as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
 
5238
        fi ;; #(
 
5239
  0) :
 
5240
     ;; #(
 
5241
  2) :
 
5242
     ;; #(
 
5243
  *) :
 
5244
     ;;
5437
5245
esac
5438
5246
fi
 
5247
 
 
5248
# Test for the ability of xmlto to generate a text target
 
5249
have_xmlto_text=no
 
5250
cat > conftest.xml << "EOF"
 
5251
EOF
 
5252
if test "$have_xmlto" = yes; then :
 
5253
  if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
 
5254
  have_xmlto_text=yes
 
5255
else
 
5256
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
 
5257
$as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
 
5258
fi
 
5259
fi
 
5260
rm -f conftest.xml
 
5261
 if test $have_xmlto_text = yes; then
 
5262
  HAVE_XMLTO_TEXT_TRUE=
 
5263
  HAVE_XMLTO_TEXT_FALSE='#'
 
5264
else
 
5265
  HAVE_XMLTO_TEXT_TRUE='#'
 
5266
  HAVE_XMLTO_TEXT_FALSE=
 
5267
fi
 
5268
 
5439
5269
 if test "$have_xmlto" = yes; then
5440
5270
  HAVE_XMLTO_TRUE=
5441
5271
  HAVE_XMLTO_FALSE='#'
5449
5279
 
5450
5280
 
5451
5281
# Check whether --with-fop was given.
5452
 
if test "${with_fop+set}" = set; then
 
5282
if test "${with_fop+set}" = set; then :
5453
5283
  withval=$with_fop; use_fop=$withval
5454
5284
else
5455
5285
  use_fop=auto
5459
5289
if test "x$use_fop" = x"auto"; then
5460
5290
   # Extract the first word of "fop", so it can be a program name with args.
5461
5291
set dummy fop; ac_word=$2
5462
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463
5293
$as_echo_n "checking for $ac_word... " >&6; }
5464
 
if test "${ac_cv_path_FOP+set}" = set; then
 
5294
if ${ac_cv_path_FOP+:} false; then :
5465
5295
  $as_echo_n "(cached) " >&6
5466
5296
else
5467
5297
  case $FOP in
5474
5304
do
5475
5305
  IFS=$as_save_IFS
5476
5306
  test -z "$as_dir" && as_dir=.
5477
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5307
    for ac_exec_ext in '' $ac_executable_extensions; do
5478
5308
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5479
5309
    ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
5480
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5310
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5481
5311
    break 2
5482
5312
  fi
5483
5313
done
5484
 
done
 
5314
  done
5485
5315
IFS=$as_save_IFS
5486
5316
 
5487
5317
  ;;
5489
5319
fi
5490
5320
FOP=$ac_cv_path_FOP
5491
5321
if test -n "$FOP"; then
5492
 
  { $as_echo "$as_me:$LINENO: result: $FOP" >&5
 
5322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
5493
5323
$as_echo "$FOP" >&6; }
5494
5324
else
5495
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5325
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5496
5326
$as_echo "no" >&6; }
5497
5327
fi
5498
5328
 
5499
5329
 
5500
5330
   if test "x$FOP" = "x"; then
5501
 
        { $as_echo "$as_me:$LINENO: WARNING: fop not found - documentation targets will be skipped" >&5
 
5331
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
5502
5332
$as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
5503
5333
        have_fop=no
5504
5334
   else
5507
5337
elif test "x$use_fop" = x"yes" ; then
5508
5338
   # Extract the first word of "fop", so it can be a program name with args.
5509
5339
set dummy fop; ac_word=$2
5510
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511
5341
$as_echo_n "checking for $ac_word... " >&6; }
5512
 
if test "${ac_cv_path_FOP+set}" = set; then
 
5342
if ${ac_cv_path_FOP+:} false; then :
5513
5343
  $as_echo_n "(cached) " >&6
5514
5344
else
5515
5345
  case $FOP in
5522
5352
do
5523
5353
  IFS=$as_save_IFS
5524
5354
  test -z "$as_dir" && as_dir=.
5525
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5355
    for ac_exec_ext in '' $ac_executable_extensions; do
5526
5356
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5527
5357
    ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
5528
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5358
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529
5359
    break 2
5530
5360
  fi
5531
5361
done
5532
 
done
 
5362
  done
5533
5363
IFS=$as_save_IFS
5534
5364
 
5535
5365
  ;;
5537
5367
fi
5538
5368
FOP=$ac_cv_path_FOP
5539
5369
if test -n "$FOP"; then
5540
 
  { $as_echo "$as_me:$LINENO: result: $FOP" >&5
 
5370
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
5541
5371
$as_echo "$FOP" >&6; }
5542
5372
else
5543
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5373
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544
5374
$as_echo "no" >&6; }
5545
5375
fi
5546
5376
 
5547
5377
 
5548
5378
   if test "x$FOP" = "x"; then
5549
 
        { { $as_echo "$as_me:$LINENO: error: --with-fop=yes specified but fop not found in PATH" >&5
5550
 
$as_echo "$as_me: error: --with-fop=yes specified but fop not found in PATH" >&2;}
5551
 
   { (exit 1); exit 1; }; }
 
5379
        as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
5552
5380
   fi
5553
5381
   have_fop=yes
5554
5382
elif test "x$use_fop" = x"no" ; then
5555
5383
   if test "x$FOP" != "x"; then
5556
 
      { $as_echo "$as_me:$LINENO: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
 
5384
      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
5557
5385
$as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
5558
5386
   fi
5559
5387
   have_fop=no
5560
5388
else
5561
 
   { { $as_echo "$as_me:$LINENO: error: --with-fop expects 'yes' or 'no'" >&5
5562
 
$as_echo "$as_me: error: --with-fop expects 'yes' or 'no'" >&2;}
5563
 
   { (exit 1); exit 1; }; }
 
5389
   as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
5564
5390
fi
5565
5391
 if test "$have_fop" = yes; then
5566
5392
  HAVE_FOP_TRUE=
5572
5398
 
5573
5399
 
5574
5400
 
 
5401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.5" >&5
 
5402
$as_echo_n "checking for X.Org SGML entities >= 1.5... " >&6; }
 
5403
XORG_SGML_PATH=
 
5404
if test -n "$PKG_CONFIG" && \
 
5405
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.5\""; } >&5
 
5406
  ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.5") 2>&5
 
5407
  ac_status=$?
 
5408
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5409
  test $ac_status = 0; }; then
 
5410
  XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
 
5411
else
 
5412
  :
 
5413
 
 
5414
fi
 
5415
 
 
5416
# Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
 
5417
# the path and the name of the doc stylesheet
 
5418
if test "x$XORG_SGML_PATH" != "x" ; then
 
5419
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
 
5420
$as_echo "$XORG_SGML_PATH" >&6; }
 
5421
   STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
 
5422
   XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
 
5423
else
 
5424
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
5425
$as_echo "no" >&6; }
 
5426
fi
 
5427
 
 
5428
 
 
5429
 
 
5430
 
 
5431
 if test "x$XSL_STYLESHEET" != "x"; then
 
5432
  HAVE_STYLESHEETS_TRUE=
 
5433
  HAVE_STYLESHEETS_FALSE='#'
 
5434
else
 
5435
  HAVE_STYLESHEETS_TRUE='#'
 
5436
  HAVE_STYLESHEETS_FALSE=
 
5437
fi
 
5438
 
 
5439
 
 
5440
 
5575
5441
# Check for progs
5576
5442
ac_ext=c
5577
5443
ac_cpp='$CPP $CPPFLAGS'
5581
5447
if test -n "$ac_tool_prefix"; then
5582
5448
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5583
5449
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5584
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585
5451
$as_echo_n "checking for $ac_word... " >&6; }
5586
 
if test "${ac_cv_prog_CC+set}" = set; then
 
5452
if ${ac_cv_prog_CC+:} false; then :
5587
5453
  $as_echo_n "(cached) " >&6
5588
5454
else
5589
5455
  if test -n "$CC"; then
5594
5460
do
5595
5461
  IFS=$as_save_IFS
5596
5462
  test -z "$as_dir" && as_dir=.
5597
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5463
    for ac_exec_ext in '' $ac_executable_extensions; do
5598
5464
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599
5465
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
5600
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5466
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601
5467
    break 2
5602
5468
  fi
5603
5469
done
5604
 
done
 
5470
  done
5605
5471
IFS=$as_save_IFS
5606
5472
 
5607
5473
fi
5608
5474
fi
5609
5475
CC=$ac_cv_prog_CC
5610
5476
if test -n "$CC"; then
5611
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
5477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5612
5478
$as_echo "$CC" >&6; }
5613
5479
else
5614
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5480
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615
5481
$as_echo "no" >&6; }
5616
5482
fi
5617
5483
 
5621
5487
  ac_ct_CC=$CC
5622
5488
  # Extract the first word of "gcc", so it can be a program name with args.
5623
5489
set dummy gcc; ac_word=$2
5624
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625
5491
$as_echo_n "checking for $ac_word... " >&6; }
5626
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
5492
if ${ac_cv_prog_ac_ct_CC+:} false; then :
5627
5493
  $as_echo_n "(cached) " >&6
5628
5494
else
5629
5495
  if test -n "$ac_ct_CC"; then
5634
5500
do
5635
5501
  IFS=$as_save_IFS
5636
5502
  test -z "$as_dir" && as_dir=.
5637
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5503
    for ac_exec_ext in '' $ac_executable_extensions; do
5638
5504
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639
5505
    ac_cv_prog_ac_ct_CC="gcc"
5640
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5506
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641
5507
    break 2
5642
5508
  fi
5643
5509
done
5644
 
done
 
5510
  done
5645
5511
IFS=$as_save_IFS
5646
5512
 
5647
5513
fi
5648
5514
fi
5649
5515
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5650
5516
if test -n "$ac_ct_CC"; then
5651
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
5517
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5652
5518
$as_echo "$ac_ct_CC" >&6; }
5653
5519
else
5654
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5520
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655
5521
$as_echo "no" >&6; }
5656
5522
fi
5657
5523
 
5660
5526
  else
5661
5527
    case $cross_compiling:$ac_tool_warned in
5662
5528
yes:)
5663
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5529
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664
5530
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665
5531
ac_tool_warned=yes ;;
5666
5532
esac
5674
5540
          if test -n "$ac_tool_prefix"; then
5675
5541
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5676
5542
set dummy ${ac_tool_prefix}cc; ac_word=$2
5677
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678
5544
$as_echo_n "checking for $ac_word... " >&6; }
5679
 
if test "${ac_cv_prog_CC+set}" = set; then
 
5545
if ${ac_cv_prog_CC+:} false; then :
5680
5546
  $as_echo_n "(cached) " >&6
5681
5547
else
5682
5548
  if test -n "$CC"; then
5687
5553
do
5688
5554
  IFS=$as_save_IFS
5689
5555
  test -z "$as_dir" && as_dir=.
5690
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5556
    for ac_exec_ext in '' $ac_executable_extensions; do
5691
5557
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5692
5558
    ac_cv_prog_CC="${ac_tool_prefix}cc"
5693
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5559
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5694
5560
    break 2
5695
5561
  fi
5696
5562
done
5697
 
done
 
5563
  done
5698
5564
IFS=$as_save_IFS
5699
5565
 
5700
5566
fi
5701
5567
fi
5702
5568
CC=$ac_cv_prog_CC
5703
5569
if test -n "$CC"; then
5704
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
5570
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5705
5571
$as_echo "$CC" >&6; }
5706
5572
else
5707
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5573
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708
5574
$as_echo "no" >&6; }
5709
5575
fi
5710
5576
 
5714
5580
if test -z "$CC"; then
5715
5581
  # Extract the first word of "cc", so it can be a program name with args.
5716
5582
set dummy cc; ac_word=$2
5717
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718
5584
$as_echo_n "checking for $ac_word... " >&6; }
5719
 
if test "${ac_cv_prog_CC+set}" = set; then
 
5585
if ${ac_cv_prog_CC+:} false; then :
5720
5586
  $as_echo_n "(cached) " >&6
5721
5587
else
5722
5588
  if test -n "$CC"; then
5728
5594
do
5729
5595
  IFS=$as_save_IFS
5730
5596
  test -z "$as_dir" && as_dir=.
5731
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5597
    for ac_exec_ext in '' $ac_executable_extensions; do
5732
5598
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733
5599
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5734
5600
       ac_prog_rejected=yes
5735
5601
       continue
5736
5602
     fi
5737
5603
    ac_cv_prog_CC="cc"
5738
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5604
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739
5605
    break 2
5740
5606
  fi
5741
5607
done
5742
 
done
 
5608
  done
5743
5609
IFS=$as_save_IFS
5744
5610
 
5745
5611
if test $ac_prog_rejected = yes; then
5758
5624
fi
5759
5625
CC=$ac_cv_prog_CC
5760
5626
if test -n "$CC"; then
5761
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
5627
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5762
5628
$as_echo "$CC" >&6; }
5763
5629
else
5764
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5630
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765
5631
$as_echo "no" >&6; }
5766
5632
fi
5767
5633
 
5773
5639
  do
5774
5640
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5775
5641
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5776
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777
5643
$as_echo_n "checking for $ac_word... " >&6; }
5778
 
if test "${ac_cv_prog_CC+set}" = set; then
 
5644
if ${ac_cv_prog_CC+:} false; then :
5779
5645
  $as_echo_n "(cached) " >&6
5780
5646
else
5781
5647
  if test -n "$CC"; then
5786
5652
do
5787
5653
  IFS=$as_save_IFS
5788
5654
  test -z "$as_dir" && as_dir=.
5789
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5655
    for ac_exec_ext in '' $ac_executable_extensions; do
5790
5656
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5791
5657
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5792
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5658
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5793
5659
    break 2
5794
5660
  fi
5795
5661
done
5796
 
done
 
5662
  done
5797
5663
IFS=$as_save_IFS
5798
5664
 
5799
5665
fi
5800
5666
fi
5801
5667
CC=$ac_cv_prog_CC
5802
5668
if test -n "$CC"; then
5803
 
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
5669
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5804
5670
$as_echo "$CC" >&6; }
5805
5671
else
5806
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5672
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807
5673
$as_echo "no" >&6; }
5808
5674
fi
5809
5675
 
5817
5683
do
5818
5684
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5819
5685
set dummy $ac_prog; ac_word=$2
5820
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821
5687
$as_echo_n "checking for $ac_word... " >&6; }
5822
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
 
5688
if ${ac_cv_prog_ac_ct_CC+:} false; then :
5823
5689
  $as_echo_n "(cached) " >&6
5824
5690
else
5825
5691
  if test -n "$ac_ct_CC"; then
5830
5696
do
5831
5697
  IFS=$as_save_IFS
5832
5698
  test -z "$as_dir" && as_dir=.
5833
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5699
    for ac_exec_ext in '' $ac_executable_extensions; do
5834
5700
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5835
5701
    ac_cv_prog_ac_ct_CC="$ac_prog"
5836
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5702
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837
5703
    break 2
5838
5704
  fi
5839
5705
done
5840
 
done
 
5706
  done
5841
5707
IFS=$as_save_IFS
5842
5708
 
5843
5709
fi
5844
5710
fi
5845
5711
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5846
5712
if test -n "$ac_ct_CC"; then
5847
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
5713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5848
5714
$as_echo "$ac_ct_CC" >&6; }
5849
5715
else
5850
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5716
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851
5717
$as_echo "no" >&6; }
5852
5718
fi
5853
5719
 
5860
5726
  else
5861
5727
    case $cross_compiling:$ac_tool_warned in
5862
5728
yes:)
5863
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5729
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5864
5730
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5865
5731
ac_tool_warned=yes ;;
5866
5732
esac
5871
5737
fi
5872
5738
 
5873
5739
 
5874
 
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
5740
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5875
5741
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5876
 
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5877
 
See \`config.log' for more details." >&5
5878
 
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
5879
 
See \`config.log' for more details." >&2;}
5880
 
   { (exit 1); exit 1; }; }; }
 
5742
as_fn_error $? "no acceptable C compiler found in \$PATH
 
5743
See \`config.log' for more details" "$LINENO" 5; }
5881
5744
 
5882
5745
# Provide some information about the compiler.
5883
 
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
5746
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5884
5747
set X $ac_compile
5885
5748
ac_compiler=$2
5886
 
{ (ac_try="$ac_compiler --version >&5"
5887
 
case "(($ac_try" in
5888
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5889
 
  *) ac_try_echo=$ac_try;;
5890
 
esac
5891
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5892
 
$as_echo "$ac_try_echo") >&5
5893
 
  (eval "$ac_compiler --version >&5") 2>&5
5894
 
  ac_status=$?
5895
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896
 
  (exit $ac_status); }
5897
 
{ (ac_try="$ac_compiler -v >&5"
5898
 
case "(($ac_try" in
5899
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5900
 
  *) ac_try_echo=$ac_try;;
5901
 
esac
5902
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5903
 
$as_echo "$ac_try_echo") >&5
5904
 
  (eval "$ac_compiler -v >&5") 2>&5
5905
 
  ac_status=$?
5906
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5907
 
  (exit $ac_status); }
5908
 
{ (ac_try="$ac_compiler -V >&5"
5909
 
case "(($ac_try" in
5910
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5911
 
  *) ac_try_echo=$ac_try;;
5912
 
esac
5913
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5914
 
$as_echo "$ac_try_echo") >&5
5915
 
  (eval "$ac_compiler -V >&5") 2>&5
5916
 
  ac_status=$?
5917
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918
 
  (exit $ac_status); }
 
5749
for ac_option in --version -v -V -qversion; do
 
5750
  { { ac_try="$ac_compiler $ac_option >&5"
 
5751
case "(($ac_try" in
 
5752
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
5753
  *) ac_try_echo=$ac_try;;
 
5754
esac
 
5755
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
5756
$as_echo "$ac_try_echo"; } >&5
 
5757
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
5758
  ac_status=$?
 
5759
  if test -s conftest.err; then
 
5760
    sed '10a\
 
5761
... rest of stderr output deleted ...
 
5762
         10q' conftest.err >conftest.er1
 
5763
    cat conftest.er1 >&5
 
5764
  fi
 
5765
  rm -f conftest.er1 conftest.err
 
5766
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
5767
  test $ac_status = 0; }
 
5768
done
5919
5769
 
5920
 
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
5770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5921
5771
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5922
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then
 
5772
if ${ac_cv_c_compiler_gnu+:} false; then :
5923
5773
  $as_echo_n "(cached) " >&6
5924
5774
else
5925
 
  cat >conftest.$ac_ext <<_ACEOF
5926
 
/* confdefs.h.  */
5927
 
_ACEOF
5928
 
cat confdefs.h >>conftest.$ac_ext
5929
 
cat >>conftest.$ac_ext <<_ACEOF
 
5775
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5930
5776
/* end confdefs.h.  */
5931
5777
 
5932
5778
int
5940
5786
  return 0;
5941
5787
}
5942
5788
_ACEOF
5943
 
rm -f conftest.$ac_objext
5944
 
if { (ac_try="$ac_compile"
5945
 
case "(($ac_try" in
5946
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5947
 
  *) ac_try_echo=$ac_try;;
5948
 
esac
5949
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5950
 
$as_echo "$ac_try_echo") >&5
5951
 
  (eval "$ac_compile") 2>conftest.er1
5952
 
  ac_status=$?
5953
 
  grep -v '^ *+' conftest.er1 >conftest.err
5954
 
  rm -f conftest.er1
5955
 
  cat conftest.err >&5
5956
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957
 
  (exit $ac_status); } && {
5958
 
         test -z "$ac_c_werror_flag" ||
5959
 
         test ! -s conftest.err
5960
 
       } && test -s conftest.$ac_objext; then
 
5789
if ac_fn_c_try_compile "$LINENO"; then :
5961
5790
  ac_compiler_gnu=yes
5962
5791
else
5963
 
  $as_echo "$as_me: failed program was:" >&5
5964
 
sed 's/^/| /' conftest.$ac_ext >&5
5965
 
 
5966
 
        ac_compiler_gnu=no
 
5792
  ac_compiler_gnu=no
5967
5793
fi
5968
 
 
5969
5794
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5970
5795
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5971
5796
 
5972
5797
fi
5973
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
5798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5974
5799
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5975
5800
if test $ac_compiler_gnu = yes; then
5976
5801
  GCC=yes
5979
5804
fi
5980
5805
ac_test_CFLAGS=${CFLAGS+set}
5981
5806
ac_save_CFLAGS=$CFLAGS
5982
 
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
5807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5983
5808
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5984
 
if test "${ac_cv_prog_cc_g+set}" = set; then
 
5809
if ${ac_cv_prog_cc_g+:} false; then :
5985
5810
  $as_echo_n "(cached) " >&6
5986
5811
else
5987
5812
  ac_save_c_werror_flag=$ac_c_werror_flag
5988
5813
   ac_c_werror_flag=yes
5989
5814
   ac_cv_prog_cc_g=no
5990
5815
   CFLAGS="-g"
5991
 
   cat >conftest.$ac_ext <<_ACEOF
5992
 
/* confdefs.h.  */
5993
 
_ACEOF
5994
 
cat confdefs.h >>conftest.$ac_ext
5995
 
cat >>conftest.$ac_ext <<_ACEOF
 
5816
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5996
5817
/* end confdefs.h.  */
5997
5818
 
5998
5819
int
6003
5824
  return 0;
6004
5825
}
6005
5826
_ACEOF
6006
 
rm -f conftest.$ac_objext
6007
 
if { (ac_try="$ac_compile"
6008
 
case "(($ac_try" in
6009
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6010
 
  *) ac_try_echo=$ac_try;;
6011
 
esac
6012
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6013
 
$as_echo "$ac_try_echo") >&5
6014
 
  (eval "$ac_compile") 2>conftest.er1
6015
 
  ac_status=$?
6016
 
  grep -v '^ *+' conftest.er1 >conftest.err
6017
 
  rm -f conftest.er1
6018
 
  cat conftest.err >&5
6019
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020
 
  (exit $ac_status); } && {
6021
 
         test -z "$ac_c_werror_flag" ||
6022
 
         test ! -s conftest.err
6023
 
       } && test -s conftest.$ac_objext; then
 
5827
if ac_fn_c_try_compile "$LINENO"; then :
6024
5828
  ac_cv_prog_cc_g=yes
6025
5829
else
6026
 
  $as_echo "$as_me: failed program was:" >&5
6027
 
sed 's/^/| /' conftest.$ac_ext >&5
6028
 
 
6029
 
        CFLAGS=""
6030
 
      cat >conftest.$ac_ext <<_ACEOF
6031
 
/* confdefs.h.  */
6032
 
_ACEOF
6033
 
cat confdefs.h >>conftest.$ac_ext
6034
 
cat >>conftest.$ac_ext <<_ACEOF
 
5830
  CFLAGS=""
 
5831
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6035
5832
/* end confdefs.h.  */
6036
5833
 
6037
5834
int
6042
5839
  return 0;
6043
5840
}
6044
5841
_ACEOF
6045
 
rm -f conftest.$ac_objext
6046
 
if { (ac_try="$ac_compile"
6047
 
case "(($ac_try" in
6048
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6049
 
  *) ac_try_echo=$ac_try;;
6050
 
esac
6051
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6052
 
$as_echo "$ac_try_echo") >&5
6053
 
  (eval "$ac_compile") 2>conftest.er1
6054
 
  ac_status=$?
6055
 
  grep -v '^ *+' conftest.er1 >conftest.err
6056
 
  rm -f conftest.er1
6057
 
  cat conftest.err >&5
6058
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059
 
  (exit $ac_status); } && {
6060
 
         test -z "$ac_c_werror_flag" ||
6061
 
         test ! -s conftest.err
6062
 
       } && test -s conftest.$ac_objext; then
6063
 
  :
 
5842
if ac_fn_c_try_compile "$LINENO"; then :
 
5843
 
6064
5844
else
6065
 
  $as_echo "$as_me: failed program was:" >&5
6066
 
sed 's/^/| /' conftest.$ac_ext >&5
6067
 
 
6068
 
        ac_c_werror_flag=$ac_save_c_werror_flag
 
5845
  ac_c_werror_flag=$ac_save_c_werror_flag
6069
5846
         CFLAGS="-g"
6070
 
         cat >conftest.$ac_ext <<_ACEOF
6071
 
/* confdefs.h.  */
6072
 
_ACEOF
6073
 
cat confdefs.h >>conftest.$ac_ext
6074
 
cat >>conftest.$ac_ext <<_ACEOF
 
5847
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6075
5848
/* end confdefs.h.  */
6076
5849
 
6077
5850
int
6082
5855
  return 0;
6083
5856
}
6084
5857
_ACEOF
6085
 
rm -f conftest.$ac_objext
6086
 
if { (ac_try="$ac_compile"
6087
 
case "(($ac_try" in
6088
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6089
 
  *) ac_try_echo=$ac_try;;
6090
 
esac
6091
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6092
 
$as_echo "$ac_try_echo") >&5
6093
 
  (eval "$ac_compile") 2>conftest.er1
6094
 
  ac_status=$?
6095
 
  grep -v '^ *+' conftest.er1 >conftest.err
6096
 
  rm -f conftest.er1
6097
 
  cat conftest.err >&5
6098
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099
 
  (exit $ac_status); } && {
6100
 
         test -z "$ac_c_werror_flag" ||
6101
 
         test ! -s conftest.err
6102
 
       } && test -s conftest.$ac_objext; then
 
5858
if ac_fn_c_try_compile "$LINENO"; then :
6103
5859
  ac_cv_prog_cc_g=yes
6104
 
else
6105
 
  $as_echo "$as_me: failed program was:" >&5
6106
 
sed 's/^/| /' conftest.$ac_ext >&5
6107
 
 
6108
 
 
6109
 
fi
6110
 
 
6111
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6112
 
fi
6113
 
 
6114
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6115
 
fi
6116
 
 
 
5860
fi
 
5861
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5862
fi
 
5863
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
5864
fi
6117
5865
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6118
5866
   ac_c_werror_flag=$ac_save_c_werror_flag
6119
5867
fi
6120
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
5868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6121
5869
$as_echo "$ac_cv_prog_cc_g" >&6; }
6122
5870
if test "$ac_test_CFLAGS" = set; then
6123
5871
  CFLAGS=$ac_save_CFLAGS
6134
5882
    CFLAGS=
6135
5883
  fi
6136
5884
fi
6137
 
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
5885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6138
5886
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6139
 
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
5887
if ${ac_cv_prog_cc_c89+:} false; then :
6140
5888
  $as_echo_n "(cached) " >&6
6141
5889
else
6142
5890
  ac_cv_prog_cc_c89=no
6143
5891
ac_save_CC=$CC
6144
 
cat >conftest.$ac_ext <<_ACEOF
6145
 
/* confdefs.h.  */
6146
 
_ACEOF
6147
 
cat confdefs.h >>conftest.$ac_ext
6148
 
cat >>conftest.$ac_ext <<_ACEOF
 
5892
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6149
5893
/* end confdefs.h.  */
6150
5894
#include <stdarg.h>
6151
5895
#include <stdio.h>
6202
5946
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6203
5947
do
6204
5948
  CC="$ac_save_CC $ac_arg"
6205
 
  rm -f conftest.$ac_objext
6206
 
if { (ac_try="$ac_compile"
6207
 
case "(($ac_try" in
6208
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6209
 
  *) ac_try_echo=$ac_try;;
6210
 
esac
6211
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6212
 
$as_echo "$ac_try_echo") >&5
6213
 
  (eval "$ac_compile") 2>conftest.er1
6214
 
  ac_status=$?
6215
 
  grep -v '^ *+' conftest.er1 >conftest.err
6216
 
  rm -f conftest.er1
6217
 
  cat conftest.err >&5
6218
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219
 
  (exit $ac_status); } && {
6220
 
         test -z "$ac_c_werror_flag" ||
6221
 
         test ! -s conftest.err
6222
 
       } && test -s conftest.$ac_objext; then
 
5949
  if ac_fn_c_try_compile "$LINENO"; then :
6223
5950
  ac_cv_prog_cc_c89=$ac_arg
6224
 
else
6225
 
  $as_echo "$as_me: failed program was:" >&5
6226
 
sed 's/^/| /' conftest.$ac_ext >&5
6227
 
 
6228
 
 
6229
5951
fi
6230
 
 
6231
5952
rm -f core conftest.err conftest.$ac_objext
6232
5953
  test "x$ac_cv_prog_cc_c89" != "xno" && break
6233
5954
done
6238
5959
# AC_CACHE_VAL
6239
5960
case "x$ac_cv_prog_cc_c89" in
6240
5961
  x)
6241
 
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
5962
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6242
5963
$as_echo "none needed" >&6; } ;;
6243
5964
  xno)
6244
 
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
5965
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6245
5966
$as_echo "unsupported" >&6; } ;;
6246
5967
  *)
6247
5968
    CC="$CC $ac_cv_prog_cc_c89"
6248
 
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
5969
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6249
5970
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6250
5971
esac
 
5972
if test "x$ac_cv_prog_cc_c89" != xno; then :
6251
5973
 
 
5974
fi
6252
5975
 
6253
5976
ac_ext=c
6254
5977
ac_cpp='$CPP $CPPFLAGS'
6258
5981
 
6259
5982
depcc="$CC"   am_compiler_list=
6260
5983
 
6261
 
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6262
5985
$as_echo_n "checking dependency style of $depcc... " >&6; }
6263
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
5986
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6264
5987
  $as_echo_n "(cached) " >&6
6265
5988
else
6266
5989
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6286
6009
  if test "$am_compiler_list" = ""; then
6287
6010
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6288
6011
  fi
 
6012
  am__universal=false
 
6013
  case " $depcc " in #(
 
6014
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
6015
     esac
 
6016
 
6289
6017
  for depmode in $am_compiler_list; do
6290
6018
    # Setup a source with many dependencies, because some compilers
6291
6019
    # like to wrap large dependency lists on column 80 (with \), and
6303
6031
    done
6304
6032
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6305
6033
 
 
6034
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
6035
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
6036
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
6037
    # versions had trouble with output in subdirs
 
6038
    am__obj=sub/conftest.${OBJEXT-o}
 
6039
    am__minus_obj="-o $am__obj"
6306
6040
    case $depmode in
 
6041
    gcc)
 
6042
      # This depmode causes a compiler race in universal mode.
 
6043
      test "$am__universal" = false || continue
 
6044
      ;;
6307
6045
    nosideeffect)
6308
6046
      # after this tag, mechanisms are not by side-effect, so they'll
6309
6047
      # only be used when explicitly requested
6313
6051
        break
6314
6052
      fi
6315
6053
      ;;
 
6054
    msvisualcpp | msvcmsys)
 
6055
      # This compiler won't grok `-c -o', but also, the minuso test has
 
6056
      # not run yet.  These depmodes are late enough in the game, and
 
6057
      # so weak that their functioning should not be impacted.
 
6058
      am__obj=conftest.${OBJEXT-o}
 
6059
      am__minus_obj=
 
6060
      ;;
6316
6061
    none) break ;;
6317
6062
    esac
6318
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6319
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6320
 
    # handle `-M -o', and we need to detect this.
6321
6063
    if depmode=$depmode \
6322
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
6064
       source=sub/conftest.c object=$am__obj \
6323
6065
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6324
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
6066
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6325
6067
         >/dev/null 2>conftest.err &&
6326
6068
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6327
6069
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6328
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
6070
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6329
6071
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6330
6072
      # icc doesn't choke on unknown options, it will just issue warnings
6331
6073
      # or remarks (even with -Werror).  So we grep stderr for any message
6349
6091
fi
6350
6092
 
6351
6093
fi
6352
 
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
6094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6353
6095
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6354
6096
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6355
6097
 
6366
6108
 
6367
6109
case `pwd` in
6368
6110
  *\ * | *\     *)
6369
 
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
6111
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6370
6112
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6371
6113
esac
6372
6114
 
6373
6115
 
6374
6116
 
6375
 
macro_version='2.2.6'
6376
 
macro_revision='1.3012'
 
6117
macro_version='2.2.10'
 
6118
macro_revision='1.3175'
6377
6119
 
6378
6120
 
6379
6121
 
6389
6131
 
6390
6132
ltmain="$ac_aux_dir/ltmain.sh"
6391
6133
 
6392
 
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
6134
# Backslashify metacharacters that are still active within
 
6135
# double-quoted strings.
 
6136
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
6137
 
 
6138
# Same as above, but do not quote variable references.
 
6139
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
6140
 
 
6141
# Sed substitution to delay expansion of an escaped shell variable in a
 
6142
# double_quote_subst'ed string.
 
6143
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
6144
 
 
6145
# Sed substitution to delay expansion of an escaped single quote.
 
6146
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
6147
 
 
6148
# Sed substitution to avoid accidental globbing in evaled expressions
 
6149
no_glob_subst='s/\*/\\\*/g'
 
6150
 
 
6151
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
6152
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
6153
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
6154
 
 
6155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
6156
$as_echo_n "checking how to print strings... " >&6; }
 
6157
# Test print first, because it will be a builtin if present.
 
6158
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
6159
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6160
  ECHO='print -r --'
 
6161
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
6162
  ECHO='printf %s\n'
 
6163
else
 
6164
  # Use this function as a fallback that always works.
 
6165
  func_fallback_echo ()
 
6166
  {
 
6167
    eval 'cat <<_LTECHO_EOF
 
6168
$1
 
6169
_LTECHO_EOF'
 
6170
  }
 
6171
  ECHO='func_fallback_echo'
 
6172
fi
 
6173
 
 
6174
# func_echo_all arg...
 
6175
# Invoke $ECHO with all args, space-separated.
 
6176
func_echo_all ()
 
6177
{
 
6178
    $ECHO ""
 
6179
}
 
6180
 
 
6181
case "$ECHO" in
 
6182
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
6183
$as_echo "printf" >&6; } ;;
 
6184
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
6185
$as_echo "print -r" >&6; } ;;
 
6186
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
6187
$as_echo "cat" >&6; } ;;
 
6188
esac
 
6189
 
 
6190
 
 
6191
 
 
6192
 
 
6193
 
 
6194
 
 
6195
 
 
6196
 
 
6197
 
 
6198
 
 
6199
 
 
6200
 
 
6201
 
 
6202
 
 
6203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6393
6204
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6394
 
if test "${ac_cv_path_SED+set}" = set; then
 
6205
if ${ac_cv_path_SED+:} false; then :
6395
6206
  $as_echo_n "(cached) " >&6
6396
6207
else
6397
6208
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6399
6210
       ac_script="$ac_script$as_nl$ac_script"
6400
6211
     done
6401
6212
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6402
 
     $as_unset ac_script || ac_script=
 
6213
     { ac_script=; unset ac_script;}
6403
6214
     if test -z "$SED"; then
6404
6215
  ac_path_SED_found=false
6405
6216
  # Loop through the user's path and test for each of PROGNAME-LIST
6408
6219
do
6409
6220
  IFS=$as_save_IFS
6410
6221
  test -z "$as_dir" && as_dir=.
6411
 
  for ac_prog in sed gsed; do
 
6222
    for ac_prog in sed gsed; do
6412
6223
    for ac_exec_ext in '' $ac_executable_extensions; do
6413
6224
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6414
6225
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6428
6239
    $as_echo '' >> "conftest.nl"
6429
6240
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6430
6241
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6431
 
    ac_count=`expr $ac_count + 1`
 
6242
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6432
6243
    if test $ac_count -gt ${ac_path_SED_max-0}; then
6433
6244
      # Best one so far, save it but keep looking for a better one
6434
6245
      ac_cv_path_SED="$ac_path_SED"
6443
6254
      $ac_path_SED_found && break 3
6444
6255
    done
6445
6256
  done
6446
 
done
 
6257
  done
6447
6258
IFS=$as_save_IFS
6448
6259
  if test -z "$ac_cv_path_SED"; then
6449
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
6450
 
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
6451
 
   { (exit 1); exit 1; }; }
 
6260
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6452
6261
  fi
6453
6262
else
6454
6263
  ac_cv_path_SED=$SED
6455
6264
fi
6456
6265
 
6457
6266
fi
6458
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
6267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6459
6268
$as_echo "$ac_cv_path_SED" >&6; }
6460
6269
 SED="$ac_cv_path_SED"
6461
6270
  rm -f conftest.sed
6473
6282
 
6474
6283
 
6475
6284
 
6476
 
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
6285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6477
6286
$as_echo_n "checking for fgrep... " >&6; }
6478
 
if test "${ac_cv_path_FGREP+set}" = set; then
 
6287
if ${ac_cv_path_FGREP+:} false; then :
6479
6288
  $as_echo_n "(cached) " >&6
6480
6289
else
6481
6290
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6489
6298
do
6490
6299
  IFS=$as_save_IFS
6491
6300
  test -z "$as_dir" && as_dir=.
6492
 
  for ac_prog in fgrep; do
 
6301
    for ac_prog in fgrep; do
6493
6302
    for ac_exec_ext in '' $ac_executable_extensions; do
6494
6303
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6495
6304
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6509
6318
    $as_echo 'FGREP' >> "conftest.nl"
6510
6319
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6511
6320
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6512
 
    ac_count=`expr $ac_count + 1`
 
6321
    as_fn_arith $ac_count + 1 && ac_count=$as_val
6513
6322
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6514
6323
      # Best one so far, save it but keep looking for a better one
6515
6324
      ac_cv_path_FGREP="$ac_path_FGREP"
6524
6333
      $ac_path_FGREP_found && break 3
6525
6334
    done
6526
6335
  done
6527
 
done
 
6336
  done
6528
6337
IFS=$as_save_IFS
6529
6338
  if test -z "$ac_cv_path_FGREP"; then
6530
 
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6531
 
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6532
 
   { (exit 1); exit 1; }; }
 
6339
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6533
6340
  fi
6534
6341
else
6535
6342
  ac_cv_path_FGREP=$FGREP
6537
6344
 
6538
6345
   fi
6539
6346
fi
6540
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
6347
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6541
6348
$as_echo "$ac_cv_path_FGREP" >&6; }
6542
6349
 FGREP="$ac_cv_path_FGREP"
6543
6350
 
6563
6370
 
6564
6371
 
6565
6372
# Check whether --with-gnu-ld was given.
6566
 
if test "${with_gnu_ld+set}" = set; then
 
6373
if test "${with_gnu_ld+set}" = set; then :
6567
6374
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6568
6375
else
6569
6376
  with_gnu_ld=no
6572
6379
ac_prog=ld
6573
6380
if test "$GCC" = yes; then
6574
6381
  # Check if gcc -print-prog-name=ld gives a path.
6575
 
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
6382
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6576
6383
$as_echo_n "checking for ld used by $CC... " >&6; }
6577
6384
  case $host in
6578
6385
  *-*-mingw*)
6602
6409
    ;;
6603
6410
  esac
6604
6411
elif test "$with_gnu_ld" = yes; then
6605
 
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
6412
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6606
6413
$as_echo_n "checking for GNU ld... " >&6; }
6607
6414
else
6608
 
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
6415
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6609
6416
$as_echo_n "checking for non-GNU ld... " >&6; }
6610
6417
fi
6611
 
if test "${lt_cv_path_LD+set}" = set; then
 
6418
if ${lt_cv_path_LD+:} false; then :
6612
6419
  $as_echo_n "(cached) " >&6
6613
6420
else
6614
6421
  if test -z "$LD"; then
6639
6446
 
6640
6447
LD="$lt_cv_path_LD"
6641
6448
if test -n "$LD"; then
6642
 
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
6449
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6643
6450
$as_echo "$LD" >&6; }
6644
6451
else
6645
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6452
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6646
6453
$as_echo "no" >&6; }
6647
6454
fi
6648
 
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6649
 
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6650
 
   { (exit 1); exit 1; }; }
6651
 
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
6455
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
6456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6652
6457
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6653
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
 
6458
if ${lt_cv_prog_gnu_ld+:} false; then :
6654
6459
  $as_echo_n "(cached) " >&6
6655
6460
else
6656
6461
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6663
6468
  ;;
6664
6469
esac
6665
6470
fi
6666
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
6471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6667
6472
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6668
6473
with_gnu_ld=$lt_cv_prog_gnu_ld
6669
6474
 
6675
6480
 
6676
6481
 
6677
6482
 
6678
 
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
6483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6679
6484
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6680
 
if test "${lt_cv_path_NM+set}" = set; then
 
6485
if ${lt_cv_path_NM+:} false; then :
6681
6486
  $as_echo_n "(cached) " >&6
6682
6487
else
6683
6488
  if test -n "$NM"; then
6724
6529
  : ${lt_cv_path_NM=no}
6725
6530
fi
6726
6531
fi
6727
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
6532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6728
6533
$as_echo "$lt_cv_path_NM" >&6; }
6729
6534
if test "$lt_cv_path_NM" != "no"; then
6730
6535
  NM="$lt_cv_path_NM"
6731
6536
else
6732
6537
  # Didn't find any BSD compatible name lister, look for dumpbin.
6733
 
  if test -n "$ac_tool_prefix"; then
6734
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6538
  if test -n "$DUMPBIN"; then :
 
6539
    # Let the user override the test.
 
6540
  else
 
6541
    if test -n "$ac_tool_prefix"; then
 
6542
  for ac_prog in dumpbin "link -dump"
6735
6543
  do
6736
6544
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6737
6545
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6738
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6739
6547
$as_echo_n "checking for $ac_word... " >&6; }
6740
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
6548
if ${ac_cv_prog_DUMPBIN+:} false; then :
6741
6549
  $as_echo_n "(cached) " >&6
6742
6550
else
6743
6551
  if test -n "$DUMPBIN"; then
6748
6556
do
6749
6557
  IFS=$as_save_IFS
6750
6558
  test -z "$as_dir" && as_dir=.
6751
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6559
    for ac_exec_ext in '' $ac_executable_extensions; do
6752
6560
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6753
6561
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6754
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6562
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6755
6563
    break 2
6756
6564
  fi
6757
6565
done
6758
 
done
 
6566
  done
6759
6567
IFS=$as_save_IFS
6760
6568
 
6761
6569
fi
6762
6570
fi
6763
6571
DUMPBIN=$ac_cv_prog_DUMPBIN
6764
6572
if test -n "$DUMPBIN"; then
6765
 
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
6573
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6766
6574
$as_echo "$DUMPBIN" >&6; }
6767
6575
else
6768
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6576
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6769
6577
$as_echo "no" >&6; }
6770
6578
fi
6771
6579
 
6775
6583
fi
6776
6584
if test -z "$DUMPBIN"; then
6777
6585
  ac_ct_DUMPBIN=$DUMPBIN
6778
 
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
6586
  for ac_prog in dumpbin "link -dump"
6779
6587
do
6780
6588
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6781
6589
set dummy $ac_prog; ac_word=$2
6782
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783
6591
$as_echo_n "checking for $ac_word... " >&6; }
6784
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
6592
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6785
6593
  $as_echo_n "(cached) " >&6
6786
6594
else
6787
6595
  if test -n "$ac_ct_DUMPBIN"; then
6792
6600
do
6793
6601
  IFS=$as_save_IFS
6794
6602
  test -z "$as_dir" && as_dir=.
6795
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6603
    for ac_exec_ext in '' $ac_executable_extensions; do
6796
6604
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6797
6605
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6798
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6606
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6799
6607
    break 2
6800
6608
  fi
6801
6609
done
6802
 
done
 
6610
  done
6803
6611
IFS=$as_save_IFS
6804
6612
 
6805
6613
fi
6806
6614
fi
6807
6615
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6808
6616
if test -n "$ac_ct_DUMPBIN"; then
6809
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
6617
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6810
6618
$as_echo "$ac_ct_DUMPBIN" >&6; }
6811
6619
else
6812
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6620
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6813
6621
$as_echo "no" >&6; }
6814
6622
fi
6815
6623
 
6822
6630
  else
6823
6631
    case $cross_compiling:$ac_tool_warned in
6824
6632
yes:)
6825
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6633
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6826
6634
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6827
6635
ac_tool_warned=yes ;;
6828
6636
esac
6830
6638
  fi
6831
6639
fi
6832
6640
 
 
6641
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
6642
    *COFF*)
 
6643
      DUMPBIN="$DUMPBIN -symbols"
 
6644
      ;;
 
6645
    *)
 
6646
      DUMPBIN=:
 
6647
      ;;
 
6648
    esac
 
6649
  fi
6833
6650
 
6834
6651
  if test "$DUMPBIN" != ":"; then
6835
6652
    NM="$DUMPBIN"
6842
6659
 
6843
6660
 
6844
6661
 
6845
 
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
6662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6846
6663
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6847
 
if test "${lt_cv_nm_interface+set}" = set; then
 
6664
if ${lt_cv_nm_interface+:} false; then :
6848
6665
  $as_echo_n "(cached) " >&6
6849
6666
else
6850
6667
  lt_cv_nm_interface="BSD nm"
6851
6668
  echo "int some_variable = 0;" > conftest.$ac_ext
6852
 
  (eval echo "\"\$as_me:6852: $ac_compile\"" >&5)
 
6669
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6853
6670
  (eval "$ac_compile" 2>conftest.err)
6854
6671
  cat conftest.err >&5
6855
 
  (eval echo "\"\$as_me:6855: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
6672
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6856
6673
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6857
6674
  cat conftest.err >&5
6858
 
  (eval echo "\"\$as_me:6858: output\"" >&5)
 
6675
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6859
6676
  cat conftest.out >&5
6860
6677
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6861
6678
    lt_cv_nm_interface="MS dumpbin"
6862
6679
  fi
6863
6680
  rm -f conftest*
6864
6681
fi
6865
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
6682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6866
6683
$as_echo "$lt_cv_nm_interface" >&6; }
6867
6684
 
6868
 
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
6685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6869
6686
$as_echo_n "checking whether ln -s works... " >&6; }
6870
6687
LN_S=$as_ln_s
6871
6688
if test "$LN_S" = "ln -s"; then
6872
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
6689
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6873
6690
$as_echo "yes" >&6; }
6874
6691
else
6875
 
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
6692
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6876
6693
$as_echo "no, using $LN_S" >&6; }
6877
6694
fi
6878
6695
 
6879
6696
# find the maximum length of command line arguments
6880
 
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
6697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6881
6698
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6882
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
6699
if ${lt_cv_sys_max_cmd_len+:} false; then :
6883
6700
  $as_echo_n "(cached) " >&6
6884
6701
else
6885
6702
    i=0
6912
6729
    lt_cv_sys_max_cmd_len=8192;
6913
6730
    ;;
6914
6731
 
 
6732
  mint*)
 
6733
    # On MiNT this can take a long time and run out of memory.
 
6734
    lt_cv_sys_max_cmd_len=8192;
 
6735
    ;;
 
6736
 
6915
6737
  amigaos*)
6916
6738
    # On AmigaOS with pdksh, this test takes hours, literally.
6917
6739
    # So we just punt and use a minimum line length of 8192.
6976
6798
      # If test is not a shell built-in, we'll probably end up computing a
6977
6799
      # maximum length that is only half of the actual maximum length, but
6978
6800
      # we can't tell.
6979
 
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6980
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
6801
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
6802
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6981
6803
              test $i != 17 # 1/2 MB should be enough
6982
6804
      do
6983
6805
        i=`expr $i + 1`
6997
6819
fi
6998
6820
 
6999
6821
if test -n $lt_cv_sys_max_cmd_len ; then
7000
 
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
6822
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7001
6823
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7002
6824
else
7003
 
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
6825
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7004
6826
$as_echo "none" >&6; }
7005
6827
fi
7006
6828
max_cmd_len=$lt_cv_sys_max_cmd_len
7014
6836
: ${MV="mv -f"}
7015
6837
: ${RM="rm -f"}
7016
6838
 
7017
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
6839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7018
6840
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7019
6841
# Try some XSI features
7020
6842
xsi_shell=no
7024
6846
    && eval 'test $(( 1 + 1 )) -eq 2 \
7025
6847
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7026
6848
  && xsi_shell=yes
7027
 
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
6849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7028
6850
$as_echo "$xsi_shell" >&6; }
7029
6851
 
7030
6852
 
7031
 
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
6853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7032
6854
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7033
6855
lt_shell_append=no
7034
6856
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7035
6857
    >/dev/null 2>&1 \
7036
6858
  && lt_shell_append=yes
7037
 
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
6859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7038
6860
$as_echo "$lt_shell_append" >&6; }
7039
6861
 
7040
6862
 
7069
6891
 
7070
6892
 
7071
6893
 
7072
 
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
6894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7073
6895
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7074
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
6896
if ${lt_cv_ld_reload_flag+:} false; then :
7075
6897
  $as_echo_n "(cached) " >&6
7076
6898
else
7077
6899
  lt_cv_ld_reload_flag='-r'
7078
6900
fi
7079
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
6901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7080
6902
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7081
6903
reload_flag=$lt_cv_ld_reload_flag
7082
6904
case $reload_flag in
7105
6927
if test -n "$ac_tool_prefix"; then
7106
6928
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7107
6929
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7108
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109
6931
$as_echo_n "checking for $ac_word... " >&6; }
7110
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
6932
if ${ac_cv_prog_OBJDUMP+:} false; then :
7111
6933
  $as_echo_n "(cached) " >&6
7112
6934
else
7113
6935
  if test -n "$OBJDUMP"; then
7118
6940
do
7119
6941
  IFS=$as_save_IFS
7120
6942
  test -z "$as_dir" && as_dir=.
7121
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6943
    for ac_exec_ext in '' $ac_executable_extensions; do
7122
6944
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7123
6945
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7124
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6946
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7125
6947
    break 2
7126
6948
  fi
7127
6949
done
7128
 
done
 
6950
  done
7129
6951
IFS=$as_save_IFS
7130
6952
 
7131
6953
fi
7132
6954
fi
7133
6955
OBJDUMP=$ac_cv_prog_OBJDUMP
7134
6956
if test -n "$OBJDUMP"; then
7135
 
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
6957
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7136
6958
$as_echo "$OBJDUMP" >&6; }
7137
6959
else
7138
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6960
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139
6961
$as_echo "no" >&6; }
7140
6962
fi
7141
6963
 
7145
6967
  ac_ct_OBJDUMP=$OBJDUMP
7146
6968
  # Extract the first word of "objdump", so it can be a program name with args.
7147
6969
set dummy objdump; ac_word=$2
7148
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7149
6971
$as_echo_n "checking for $ac_word... " >&6; }
7150
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
6972
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7151
6973
  $as_echo_n "(cached) " >&6
7152
6974
else
7153
6975
  if test -n "$ac_ct_OBJDUMP"; then
7158
6980
do
7159
6981
  IFS=$as_save_IFS
7160
6982
  test -z "$as_dir" && as_dir=.
7161
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6983
    for ac_exec_ext in '' $ac_executable_extensions; do
7162
6984
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7163
6985
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7164
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6986
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165
6987
    break 2
7166
6988
  fi
7167
6989
done
7168
 
done
 
6990
  done
7169
6991
IFS=$as_save_IFS
7170
6992
 
7171
6993
fi
7172
6994
fi
7173
6995
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7174
6996
if test -n "$ac_ct_OBJDUMP"; then
7175
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
6997
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7176
6998
$as_echo "$ac_ct_OBJDUMP" >&6; }
7177
6999
else
7178
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7000
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7179
7001
$as_echo "no" >&6; }
7180
7002
fi
7181
7003
 
7184
7006
  else
7185
7007
    case $cross_compiling:$ac_tool_warned in
7186
7008
yes:)
7187
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7009
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7188
7010
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7189
7011
ac_tool_warned=yes ;;
7190
7012
esac
7204
7026
 
7205
7027
 
7206
7028
 
7207
 
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
7029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7208
7030
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7209
 
if test "${lt_cv_deplibs_check_method+set}" = set; then
 
7031
if ${lt_cv_deplibs_check_method+:} false; then :
7210
7032
  $as_echo_n "(cached) " >&6
7211
7033
else
7212
7034
  lt_cv_file_magic_cmd='$MAGIC_CMD'
7248
7070
  # Base MSYS/MinGW do not provide the 'file' command needed by
7249
7071
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7250
7072
  # unless we find 'file', for example because we are cross-compiling.
7251
 
  if ( file / ) >/dev/null 2>&1; then
 
7073
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
7074
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7252
7075
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7253
7076
    lt_cv_file_magic_cmd='func_win32_libid'
7254
7077
  else
7255
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
7078
    # Keep this pattern in sync with the one in func_win32_libid.
 
7079
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7256
7080
    lt_cv_file_magic_cmd='$OBJDUMP -f'
7257
7081
  fi
7258
7082
  ;;
7259
7083
 
7260
 
cegcc)
 
7084
cegcc*)
7261
7085
  # use the weaker test based on 'objdump'. See mingw*.
7262
7086
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7263
7087
  lt_cv_file_magic_cmd='$OBJDUMP -f'
7287
7111
  lt_cv_deplibs_check_method=pass_all
7288
7112
  ;;
7289
7113
 
 
7114
haiku*)
 
7115
  lt_cv_deplibs_check_method=pass_all
 
7116
  ;;
 
7117
 
7290
7118
hpux10.20* | hpux11*)
7291
7119
  lt_cv_file_magic_cmd=/usr/bin/file
7292
7120
  case $host_cpu in
7295
7123
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7296
7124
    ;;
7297
7125
  hppa*64*)
7298
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
 
7126
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7299
7127
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7300
7128
    ;;
7301
7129
  *)
7302
 
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 
7130
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7303
7131
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7304
7132
    ;;
7305
7133
  esac
7321
7149
  ;;
7322
7150
 
7323
7151
# This must be Linux ELF.
7324
 
linux* | k*bsd*-gnu)
 
7152
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7325
7153
  lt_cv_deplibs_check_method=pass_all
7326
7154
  ;;
7327
7155
 
7328
 
netbsd* | netbsdelf*-gnu)
 
7156
netbsd*)
7329
7157
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7330
7158
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7331
7159
  else
7400
7228
esac
7401
7229
 
7402
7230
fi
7403
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
7231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7404
7232
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7405
7233
file_magic_cmd=$lt_cv_file_magic_cmd
7406
7234
deplibs_check_method=$lt_cv_deplibs_check_method
7420
7248
if test -n "$ac_tool_prefix"; then
7421
7249
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7422
7250
set dummy ${ac_tool_prefix}ar; ac_word=$2
7423
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7424
7252
$as_echo_n "checking for $ac_word... " >&6; }
7425
 
if test "${ac_cv_prog_AR+set}" = set; then
 
7253
if ${ac_cv_prog_AR+:} false; then :
7426
7254
  $as_echo_n "(cached) " >&6
7427
7255
else
7428
7256
  if test -n "$AR"; then
7433
7261
do
7434
7262
  IFS=$as_save_IFS
7435
7263
  test -z "$as_dir" && as_dir=.
7436
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7264
    for ac_exec_ext in '' $ac_executable_extensions; do
7437
7265
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7438
7266
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7439
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7267
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440
7268
    break 2
7441
7269
  fi
7442
7270
done
7443
 
done
 
7271
  done
7444
7272
IFS=$as_save_IFS
7445
7273
 
7446
7274
fi
7447
7275
fi
7448
7276
AR=$ac_cv_prog_AR
7449
7277
if test -n "$AR"; then
7450
 
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
7278
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7451
7279
$as_echo "$AR" >&6; }
7452
7280
else
7453
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7281
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454
7282
$as_echo "no" >&6; }
7455
7283
fi
7456
7284
 
7460
7288
  ac_ct_AR=$AR
7461
7289
  # Extract the first word of "ar", so it can be a program name with args.
7462
7290
set dummy ar; ac_word=$2
7463
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464
7292
$as_echo_n "checking for $ac_word... " >&6; }
7465
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
7293
if ${ac_cv_prog_ac_ct_AR+:} false; then :
7466
7294
  $as_echo_n "(cached) " >&6
7467
7295
else
7468
7296
  if test -n "$ac_ct_AR"; then
7473
7301
do
7474
7302
  IFS=$as_save_IFS
7475
7303
  test -z "$as_dir" && as_dir=.
7476
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7304
    for ac_exec_ext in '' $ac_executable_extensions; do
7477
7305
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7478
7306
    ac_cv_prog_ac_ct_AR="ar"
7479
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7307
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480
7308
    break 2
7481
7309
  fi
7482
7310
done
7483
 
done
 
7311
  done
7484
7312
IFS=$as_save_IFS
7485
7313
 
7486
7314
fi
7487
7315
fi
7488
7316
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7489
7317
if test -n "$ac_ct_AR"; then
7490
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
7318
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7491
7319
$as_echo "$ac_ct_AR" >&6; }
7492
7320
else
7493
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7321
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7494
7322
$as_echo "no" >&6; }
7495
7323
fi
7496
7324
 
7499
7327
  else
7500
7328
    case $cross_compiling:$ac_tool_warned in
7501
7329
yes:)
7502
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7330
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7503
7331
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7504
7332
ac_tool_warned=yes ;;
7505
7333
esac
7525
7353
if test -n "$ac_tool_prefix"; then
7526
7354
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7527
7355
set dummy ${ac_tool_prefix}strip; ac_word=$2
7528
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529
7357
$as_echo_n "checking for $ac_word... " >&6; }
7530
 
if test "${ac_cv_prog_STRIP+set}" = set; then
 
7358
if ${ac_cv_prog_STRIP+:} false; then :
7531
7359
  $as_echo_n "(cached) " >&6
7532
7360
else
7533
7361
  if test -n "$STRIP"; then
7538
7366
do
7539
7367
  IFS=$as_save_IFS
7540
7368
  test -z "$as_dir" && as_dir=.
7541
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7369
    for ac_exec_ext in '' $ac_executable_extensions; do
7542
7370
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7543
7371
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7544
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7372
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7545
7373
    break 2
7546
7374
  fi
7547
7375
done
7548
 
done
 
7376
  done
7549
7377
IFS=$as_save_IFS
7550
7378
 
7551
7379
fi
7552
7380
fi
7553
7381
STRIP=$ac_cv_prog_STRIP
7554
7382
if test -n "$STRIP"; then
7555
 
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
7383
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7556
7384
$as_echo "$STRIP" >&6; }
7557
7385
else
7558
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7386
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559
7387
$as_echo "no" >&6; }
7560
7388
fi
7561
7389
 
7565
7393
  ac_ct_STRIP=$STRIP
7566
7394
  # Extract the first word of "strip", so it can be a program name with args.
7567
7395
set dummy strip; ac_word=$2
7568
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7569
7397
$as_echo_n "checking for $ac_word... " >&6; }
7570
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
7398
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7571
7399
  $as_echo_n "(cached) " >&6
7572
7400
else
7573
7401
  if test -n "$ac_ct_STRIP"; then
7578
7406
do
7579
7407
  IFS=$as_save_IFS
7580
7408
  test -z "$as_dir" && as_dir=.
7581
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7409
    for ac_exec_ext in '' $ac_executable_extensions; do
7582
7410
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583
7411
    ac_cv_prog_ac_ct_STRIP="strip"
7584
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7412
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7585
7413
    break 2
7586
7414
  fi
7587
7415
done
7588
 
done
 
7416
  done
7589
7417
IFS=$as_save_IFS
7590
7418
 
7591
7419
fi
7592
7420
fi
7593
7421
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7594
7422
if test -n "$ac_ct_STRIP"; then
7595
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
7423
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7596
7424
$as_echo "$ac_ct_STRIP" >&6; }
7597
7425
else
7598
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7426
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7599
7427
$as_echo "no" >&6; }
7600
7428
fi
7601
7429
 
7604
7432
  else
7605
7433
    case $cross_compiling:$ac_tool_warned in
7606
7434
yes:)
7607
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7435
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7608
7436
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7609
7437
ac_tool_warned=yes ;;
7610
7438
esac
7624
7452
if test -n "$ac_tool_prefix"; then
7625
7453
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7626
7454
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7627
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628
7456
$as_echo_n "checking for $ac_word... " >&6; }
7629
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
7457
if ${ac_cv_prog_RANLIB+:} false; then :
7630
7458
  $as_echo_n "(cached) " >&6
7631
7459
else
7632
7460
  if test -n "$RANLIB"; then
7637
7465
do
7638
7466
  IFS=$as_save_IFS
7639
7467
  test -z "$as_dir" && as_dir=.
7640
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7468
    for ac_exec_ext in '' $ac_executable_extensions; do
7641
7469
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7642
7470
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7643
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7471
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644
7472
    break 2
7645
7473
  fi
7646
7474
done
7647
 
done
 
7475
  done
7648
7476
IFS=$as_save_IFS
7649
7477
 
7650
7478
fi
7651
7479
fi
7652
7480
RANLIB=$ac_cv_prog_RANLIB
7653
7481
if test -n "$RANLIB"; then
7654
 
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
7482
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7655
7483
$as_echo "$RANLIB" >&6; }
7656
7484
else
7657
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7485
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658
7486
$as_echo "no" >&6; }
7659
7487
fi
7660
7488
 
7664
7492
  ac_ct_RANLIB=$RANLIB
7665
7493
  # Extract the first word of "ranlib", so it can be a program name with args.
7666
7494
set dummy ranlib; ac_word=$2
7667
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7668
7496
$as_echo_n "checking for $ac_word... " >&6; }
7669
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
7497
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7670
7498
  $as_echo_n "(cached) " >&6
7671
7499
else
7672
7500
  if test -n "$ac_ct_RANLIB"; then
7677
7505
do
7678
7506
  IFS=$as_save_IFS
7679
7507
  test -z "$as_dir" && as_dir=.
7680
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7508
    for ac_exec_ext in '' $ac_executable_extensions; do
7681
7509
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7682
7510
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7683
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7511
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684
7512
    break 2
7685
7513
  fi
7686
7514
done
7687
 
done
 
7515
  done
7688
7516
IFS=$as_save_IFS
7689
7517
 
7690
7518
fi
7691
7519
fi
7692
7520
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7693
7521
if test -n "$ac_ct_RANLIB"; then
7694
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
7522
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7695
7523
$as_echo "$ac_ct_RANLIB" >&6; }
7696
7524
else
7697
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7525
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7698
7526
$as_echo "no" >&6; }
7699
7527
fi
7700
7528
 
7703
7531
  else
7704
7532
    case $cross_compiling:$ac_tool_warned in
7705
7533
yes:)
7706
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7534
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7707
7535
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7708
7536
ac_tool_warned=yes ;;
7709
7537
esac
7737
7565
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7738
7566
fi
7739
7567
 
 
7568
case $host_os in
 
7569
  darwin*)
 
7570
    lock_old_archive_extraction=yes ;;
 
7571
  *)
 
7572
    lock_old_archive_extraction=no ;;
 
7573
esac
 
7574
 
 
7575
 
 
7576
 
 
7577
 
 
7578
 
 
7579
 
7740
7580
 
7741
7581
 
7742
7582
 
7781
7621
 
7782
7622
 
7783
7623
# Check for command to grab the raw symbol name followed by C symbol from nm.
7784
 
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
7624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7785
7625
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7786
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
 
7626
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7787
7627
  $as_echo_n "(cached) " >&6
7788
7628
else
7789
7629
 
7899
7739
int main(){nm_test_var='a';nm_test_func();return(0);}
7900
7740
_LT_EOF
7901
7741
 
7902
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7742
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7903
7743
  (eval $ac_compile) 2>&5
7904
7744
  ac_status=$?
7905
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906
 
  (exit $ac_status); }; then
 
7745
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7746
  test $ac_status = 0; }; then
7907
7747
    # Now try to grab the symbols.
7908
7748
    nlist=conftest.nm
7909
 
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7910
 
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
 
7749
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
7750
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7911
7751
  ac_status=$?
7912
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913
 
  (exit $ac_status); } && test -s "$nlist"; then
 
7752
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7753
  test $ac_status = 0; } && test -s "$nlist"; then
7914
7754
      # Try sorting and uniquifying the output.
7915
7755
      if sort "$nlist" | uniq > "$nlist"T; then
7916
7756
        mv -f "$nlist"T "$nlist"
7963
7803
          lt_save_CFLAGS="$CFLAGS"
7964
7804
          LIBS="conftstm.$ac_objext"
7965
7805
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7966
 
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
7806
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7967
7807
  (eval $ac_link) 2>&5
7968
7808
  ac_status=$?
7969
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970
 
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
 
7809
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7810
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7971
7811
            pipe_works=yes
7972
7812
          fi
7973
7813
          LIBS="$lt_save_LIBS"
8001
7841
  lt_cv_sys_global_symbol_to_cdecl=
8002
7842
fi
8003
7843
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8004
 
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
7844
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8005
7845
$as_echo "failed" >&6; }
8006
7846
else
8007
 
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
7847
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8008
7848
$as_echo "ok" >&6; }
8009
7849
fi
8010
7850
 
8030
7870
 
8031
7871
 
8032
7872
# Check whether --enable-libtool-lock was given.
8033
 
if test "${enable_libtool_lock+set}" = set; then
 
7873
if test "${enable_libtool_lock+set}" = set; then :
8034
7874
  enableval=$enable_libtool_lock;
8035
7875
fi
8036
7876
 
8042
7882
ia64-*-hpux*)
8043
7883
  # Find out which ABI we are using.
8044
7884
  echo 'int i;' > conftest.$ac_ext
8045
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7885
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8046
7886
  (eval $ac_compile) 2>&5
8047
7887
  ac_status=$?
8048
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049
 
  (exit $ac_status); }; then
 
7888
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7889
  test $ac_status = 0; }; then
8050
7890
    case `/usr/bin/file conftest.$ac_objext` in
8051
7891
      *ELF-32*)
8052
7892
        HPUX_IA64_MODE="32"
8060
7900
  ;;
8061
7901
*-*-irix6*)
8062
7902
  # Find out which ABI we are using.
8063
 
  echo '#line 8063 "configure"' > conftest.$ac_ext
8064
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7903
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
7904
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8065
7905
  (eval $ac_compile) 2>&5
8066
7906
  ac_status=$?
8067
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068
 
  (exit $ac_status); }; then
 
7907
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7908
  test $ac_status = 0; }; then
8069
7909
    if test "$lt_cv_prog_gnu_ld" = yes; then
8070
7910
      case `/usr/bin/file conftest.$ac_objext` in
8071
7911
        *32-bit*)
8099
7939
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8100
7940
  # Find out which ABI we are using.
8101
7941
  echo 'int i;' > conftest.$ac_ext
8102
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
7942
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8103
7943
  (eval $ac_compile) 2>&5
8104
7944
  ac_status=$?
8105
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106
 
  (exit $ac_status); }; then
 
7945
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
7946
  test $ac_status = 0; }; then
8107
7947
    case `/usr/bin/file conftest.o` in
8108
7948
      *32-bit*)
8109
7949
        case $host in
8152
7992
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8153
7993
  SAVE_CFLAGS="$CFLAGS"
8154
7994
  CFLAGS="$CFLAGS -belf"
8155
 
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
7995
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8156
7996
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8157
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
7997
if ${lt_cv_cc_needs_belf+:} false; then :
8158
7998
  $as_echo_n "(cached) " >&6
8159
7999
else
8160
8000
  ac_ext=c
8163
8003
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8164
8004
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8165
8005
 
8166
 
     cat >conftest.$ac_ext <<_ACEOF
8167
 
/* confdefs.h.  */
8168
 
_ACEOF
8169
 
cat confdefs.h >>conftest.$ac_ext
8170
 
cat >>conftest.$ac_ext <<_ACEOF
 
8006
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8171
8007
/* end confdefs.h.  */
8172
8008
 
8173
8009
int
8178
8014
  return 0;
8179
8015
}
8180
8016
_ACEOF
8181
 
rm -f conftest.$ac_objext conftest$ac_exeext
8182
 
if { (ac_try="$ac_link"
8183
 
case "(($ac_try" in
8184
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8185
 
  *) ac_try_echo=$ac_try;;
8186
 
esac
8187
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8188
 
$as_echo "$ac_try_echo") >&5
8189
 
  (eval "$ac_link") 2>conftest.er1
8190
 
  ac_status=$?
8191
 
  grep -v '^ *+' conftest.er1 >conftest.err
8192
 
  rm -f conftest.er1
8193
 
  cat conftest.err >&5
8194
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195
 
  (exit $ac_status); } && {
8196
 
         test -z "$ac_c_werror_flag" ||
8197
 
         test ! -s conftest.err
8198
 
       } && test -s conftest$ac_exeext && {
8199
 
         test "$cross_compiling" = yes ||
8200
 
         $as_test_x conftest$ac_exeext
8201
 
       }; then
 
8017
if ac_fn_c_try_link "$LINENO"; then :
8202
8018
  lt_cv_cc_needs_belf=yes
8203
8019
else
8204
 
  $as_echo "$as_me: failed program was:" >&5
8205
 
sed 's/^/| /' conftest.$ac_ext >&5
8206
 
 
8207
 
        lt_cv_cc_needs_belf=no
 
8020
  lt_cv_cc_needs_belf=no
8208
8021
fi
8209
 
 
8210
 
rm -rf conftest.dSYM
8211
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8212
 
      conftest$ac_exeext conftest.$ac_ext
 
8022
rm -f core conftest.err conftest.$ac_objext \
 
8023
    conftest$ac_exeext conftest.$ac_ext
8213
8024
     ac_ext=c
8214
8025
ac_cpp='$CPP $CPPFLAGS'
8215
8026
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8217
8028
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8218
8029
 
8219
8030
fi
8220
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
8031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8221
8032
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8222
8033
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8223
8034
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8227
8038
sparc*-*solaris*)
8228
8039
  # Find out which ABI we are using.
8229
8040
  echo 'int i;' > conftest.$ac_ext
8230
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8041
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8231
8042
  (eval $ac_compile) 2>&5
8232
8043
  ac_status=$?
8233
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234
 
  (exit $ac_status); }; then
 
8044
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
8045
  test $ac_status = 0; }; then
8235
8046
    case `/usr/bin/file conftest.o` in
8236
8047
    *64-bit*)
8237
8048
      case $lt_cv_prog_gnu_ld in
8257
8068
    if test -n "$ac_tool_prefix"; then
8258
8069
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8259
8070
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8260
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8261
8072
$as_echo_n "checking for $ac_word... " >&6; }
8262
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
8073
if ${ac_cv_prog_DSYMUTIL+:} false; then :
8263
8074
  $as_echo_n "(cached) " >&6
8264
8075
else
8265
8076
  if test -n "$DSYMUTIL"; then
8270
8081
do
8271
8082
  IFS=$as_save_IFS
8272
8083
  test -z "$as_dir" && as_dir=.
8273
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8084
    for ac_exec_ext in '' $ac_executable_extensions; do
8274
8085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8275
8086
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8276
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8087
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8277
8088
    break 2
8278
8089
  fi
8279
8090
done
8280
 
done
 
8091
  done
8281
8092
IFS=$as_save_IFS
8282
8093
 
8283
8094
fi
8284
8095
fi
8285
8096
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8286
8097
if test -n "$DSYMUTIL"; then
8287
 
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
8098
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8288
8099
$as_echo "$DSYMUTIL" >&6; }
8289
8100
else
8290
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8101
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8291
8102
$as_echo "no" >&6; }
8292
8103
fi
8293
8104
 
8297
8108
  ac_ct_DSYMUTIL=$DSYMUTIL
8298
8109
  # Extract the first word of "dsymutil", so it can be a program name with args.
8299
8110
set dummy dsymutil; ac_word=$2
8300
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8301
8112
$as_echo_n "checking for $ac_word... " >&6; }
8302
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
8113
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8303
8114
  $as_echo_n "(cached) " >&6
8304
8115
else
8305
8116
  if test -n "$ac_ct_DSYMUTIL"; then
8310
8121
do
8311
8122
  IFS=$as_save_IFS
8312
8123
  test -z "$as_dir" && as_dir=.
8313
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8124
    for ac_exec_ext in '' $ac_executable_extensions; do
8314
8125
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8315
8126
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8316
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8127
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8317
8128
    break 2
8318
8129
  fi
8319
8130
done
8320
 
done
 
8131
  done
8321
8132
IFS=$as_save_IFS
8322
8133
 
8323
8134
fi
8324
8135
fi
8325
8136
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8326
8137
if test -n "$ac_ct_DSYMUTIL"; then
8327
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
8138
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8328
8139
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8329
8140
else
8330
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8141
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8331
8142
$as_echo "no" >&6; }
8332
8143
fi
8333
8144
 
8336
8147
  else
8337
8148
    case $cross_compiling:$ac_tool_warned in
8338
8149
yes:)
8339
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8150
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8340
8151
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8341
8152
ac_tool_warned=yes ;;
8342
8153
esac
8349
8160
    if test -n "$ac_tool_prefix"; then
8350
8161
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8351
8162
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8352
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8353
8164
$as_echo_n "checking for $ac_word... " >&6; }
8354
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
8165
if ${ac_cv_prog_NMEDIT+:} false; then :
8355
8166
  $as_echo_n "(cached) " >&6
8356
8167
else
8357
8168
  if test -n "$NMEDIT"; then
8362
8173
do
8363
8174
  IFS=$as_save_IFS
8364
8175
  test -z "$as_dir" && as_dir=.
8365
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8176
    for ac_exec_ext in '' $ac_executable_extensions; do
8366
8177
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8367
8178
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8368
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8179
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8369
8180
    break 2
8370
8181
  fi
8371
8182
done
8372
 
done
 
8183
  done
8373
8184
IFS=$as_save_IFS
8374
8185
 
8375
8186
fi
8376
8187
fi
8377
8188
NMEDIT=$ac_cv_prog_NMEDIT
8378
8189
if test -n "$NMEDIT"; then
8379
 
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
8190
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8380
8191
$as_echo "$NMEDIT" >&6; }
8381
8192
else
8382
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8193
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8383
8194
$as_echo "no" >&6; }
8384
8195
fi
8385
8196
 
8389
8200
  ac_ct_NMEDIT=$NMEDIT
8390
8201
  # Extract the first word of "nmedit", so it can be a program name with args.
8391
8202
set dummy nmedit; ac_word=$2
8392
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8393
8204
$as_echo_n "checking for $ac_word... " >&6; }
8394
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
8205
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8395
8206
  $as_echo_n "(cached) " >&6
8396
8207
else
8397
8208
  if test -n "$ac_ct_NMEDIT"; then
8402
8213
do
8403
8214
  IFS=$as_save_IFS
8404
8215
  test -z "$as_dir" && as_dir=.
8405
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8216
    for ac_exec_ext in '' $ac_executable_extensions; do
8406
8217
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8407
8218
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8408
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8219
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8409
8220
    break 2
8410
8221
  fi
8411
8222
done
8412
 
done
 
8223
  done
8413
8224
IFS=$as_save_IFS
8414
8225
 
8415
8226
fi
8416
8227
fi
8417
8228
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8418
8229
if test -n "$ac_ct_NMEDIT"; then
8419
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
8230
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8420
8231
$as_echo "$ac_ct_NMEDIT" >&6; }
8421
8232
else
8422
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8233
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8423
8234
$as_echo "no" >&6; }
8424
8235
fi
8425
8236
 
8428
8239
  else
8429
8240
    case $cross_compiling:$ac_tool_warned in
8430
8241
yes:)
8431
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8242
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8432
8243
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8433
8244
ac_tool_warned=yes ;;
8434
8245
esac
8441
8252
    if test -n "$ac_tool_prefix"; then
8442
8253
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8443
8254
set dummy ${ac_tool_prefix}lipo; ac_word=$2
8444
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8445
8256
$as_echo_n "checking for $ac_word... " >&6; }
8446
 
if test "${ac_cv_prog_LIPO+set}" = set; then
 
8257
if ${ac_cv_prog_LIPO+:} false; then :
8447
8258
  $as_echo_n "(cached) " >&6
8448
8259
else
8449
8260
  if test -n "$LIPO"; then
8454
8265
do
8455
8266
  IFS=$as_save_IFS
8456
8267
  test -z "$as_dir" && as_dir=.
8457
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8268
    for ac_exec_ext in '' $ac_executable_extensions; do
8458
8269
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8459
8270
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8460
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8271
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8461
8272
    break 2
8462
8273
  fi
8463
8274
done
8464
 
done
 
8275
  done
8465
8276
IFS=$as_save_IFS
8466
8277
 
8467
8278
fi
8468
8279
fi
8469
8280
LIPO=$ac_cv_prog_LIPO
8470
8281
if test -n "$LIPO"; then
8471
 
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
8282
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8472
8283
$as_echo "$LIPO" >&6; }
8473
8284
else
8474
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8285
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8475
8286
$as_echo "no" >&6; }
8476
8287
fi
8477
8288
 
8481
8292
  ac_ct_LIPO=$LIPO
8482
8293
  # Extract the first word of "lipo", so it can be a program name with args.
8483
8294
set dummy lipo; ac_word=$2
8484
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8485
8296
$as_echo_n "checking for $ac_word... " >&6; }
8486
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
8297
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8487
8298
  $as_echo_n "(cached) " >&6
8488
8299
else
8489
8300
  if test -n "$ac_ct_LIPO"; then
8494
8305
do
8495
8306
  IFS=$as_save_IFS
8496
8307
  test -z "$as_dir" && as_dir=.
8497
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8308
    for ac_exec_ext in '' $ac_executable_extensions; do
8498
8309
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8499
8310
    ac_cv_prog_ac_ct_LIPO="lipo"
8500
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8311
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8501
8312
    break 2
8502
8313
  fi
8503
8314
done
8504
 
done
 
8315
  done
8505
8316
IFS=$as_save_IFS
8506
8317
 
8507
8318
fi
8508
8319
fi
8509
8320
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8510
8321
if test -n "$ac_ct_LIPO"; then
8511
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
8322
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8512
8323
$as_echo "$ac_ct_LIPO" >&6; }
8513
8324
else
8514
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8325
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8515
8326
$as_echo "no" >&6; }
8516
8327
fi
8517
8328
 
8520
8331
  else
8521
8332
    case $cross_compiling:$ac_tool_warned in
8522
8333
yes:)
8523
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8334
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8524
8335
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8525
8336
ac_tool_warned=yes ;;
8526
8337
esac
8533
8344
    if test -n "$ac_tool_prefix"; then
8534
8345
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8535
8346
set dummy ${ac_tool_prefix}otool; ac_word=$2
8536
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8537
8348
$as_echo_n "checking for $ac_word... " >&6; }
8538
 
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
8349
if ${ac_cv_prog_OTOOL+:} false; then :
8539
8350
  $as_echo_n "(cached) " >&6
8540
8351
else
8541
8352
  if test -n "$OTOOL"; then
8546
8357
do
8547
8358
  IFS=$as_save_IFS
8548
8359
  test -z "$as_dir" && as_dir=.
8549
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8360
    for ac_exec_ext in '' $ac_executable_extensions; do
8550
8361
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8551
8362
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8552
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8363
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8553
8364
    break 2
8554
8365
  fi
8555
8366
done
8556
 
done
 
8367
  done
8557
8368
IFS=$as_save_IFS
8558
8369
 
8559
8370
fi
8560
8371
fi
8561
8372
OTOOL=$ac_cv_prog_OTOOL
8562
8373
if test -n "$OTOOL"; then
8563
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
8374
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8564
8375
$as_echo "$OTOOL" >&6; }
8565
8376
else
8566
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8377
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8567
8378
$as_echo "no" >&6; }
8568
8379
fi
8569
8380
 
8573
8384
  ac_ct_OTOOL=$OTOOL
8574
8385
  # Extract the first word of "otool", so it can be a program name with args.
8575
8386
set dummy otool; ac_word=$2
8576
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8577
8388
$as_echo_n "checking for $ac_word... " >&6; }
8578
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
8389
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8579
8390
  $as_echo_n "(cached) " >&6
8580
8391
else
8581
8392
  if test -n "$ac_ct_OTOOL"; then
8586
8397
do
8587
8398
  IFS=$as_save_IFS
8588
8399
  test -z "$as_dir" && as_dir=.
8589
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8400
    for ac_exec_ext in '' $ac_executable_extensions; do
8590
8401
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8591
8402
    ac_cv_prog_ac_ct_OTOOL="otool"
8592
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8403
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8593
8404
    break 2
8594
8405
  fi
8595
8406
done
8596
 
done
 
8407
  done
8597
8408
IFS=$as_save_IFS
8598
8409
 
8599
8410
fi
8600
8411
fi
8601
8412
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8602
8413
if test -n "$ac_ct_OTOOL"; then
8603
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
8414
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8604
8415
$as_echo "$ac_ct_OTOOL" >&6; }
8605
8416
else
8606
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8417
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8607
8418
$as_echo "no" >&6; }
8608
8419
fi
8609
8420
 
8612
8423
  else
8613
8424
    case $cross_compiling:$ac_tool_warned in
8614
8425
yes:)
8615
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8426
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8616
8427
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8617
8428
ac_tool_warned=yes ;;
8618
8429
esac
8625
8436
    if test -n "$ac_tool_prefix"; then
8626
8437
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8627
8438
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8628
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8629
8440
$as_echo_n "checking for $ac_word... " >&6; }
8630
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
8441
if ${ac_cv_prog_OTOOL64+:} false; then :
8631
8442
  $as_echo_n "(cached) " >&6
8632
8443
else
8633
8444
  if test -n "$OTOOL64"; then
8638
8449
do
8639
8450
  IFS=$as_save_IFS
8640
8451
  test -z "$as_dir" && as_dir=.
8641
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8452
    for ac_exec_ext in '' $ac_executable_extensions; do
8642
8453
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8643
8454
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8644
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8455
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8645
8456
    break 2
8646
8457
  fi
8647
8458
done
8648
 
done
 
8459
  done
8649
8460
IFS=$as_save_IFS
8650
8461
 
8651
8462
fi
8652
8463
fi
8653
8464
OTOOL64=$ac_cv_prog_OTOOL64
8654
8465
if test -n "$OTOOL64"; then
8655
 
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
8466
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8656
8467
$as_echo "$OTOOL64" >&6; }
8657
8468
else
8658
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8469
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8659
8470
$as_echo "no" >&6; }
8660
8471
fi
8661
8472
 
8665
8476
  ac_ct_OTOOL64=$OTOOL64
8666
8477
  # Extract the first word of "otool64", so it can be a program name with args.
8667
8478
set dummy otool64; ac_word=$2
8668
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
8479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8669
8480
$as_echo_n "checking for $ac_word... " >&6; }
8670
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
8481
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8671
8482
  $as_echo_n "(cached) " >&6
8672
8483
else
8673
8484
  if test -n "$ac_ct_OTOOL64"; then
8678
8489
do
8679
8490
  IFS=$as_save_IFS
8680
8491
  test -z "$as_dir" && as_dir=.
8681
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
8492
    for ac_exec_ext in '' $ac_executable_extensions; do
8682
8493
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8683
8494
    ac_cv_prog_ac_ct_OTOOL64="otool64"
8684
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
8495
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8685
8496
    break 2
8686
8497
  fi
8687
8498
done
8688
 
done
 
8499
  done
8689
8500
IFS=$as_save_IFS
8690
8501
 
8691
8502
fi
8692
8503
fi
8693
8504
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8694
8505
if test -n "$ac_ct_OTOOL64"; then
8695
 
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
8506
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8696
8507
$as_echo "$ac_ct_OTOOL64" >&6; }
8697
8508
else
8698
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8509
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8699
8510
$as_echo "no" >&6; }
8700
8511
fi
8701
8512
 
8704
8515
  else
8705
8516
    case $cross_compiling:$ac_tool_warned in
8706
8517
yes:)
8707
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
8518
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8708
8519
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8709
8520
ac_tool_warned=yes ;;
8710
8521
esac
8740
8551
 
8741
8552
 
8742
8553
 
8743
 
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
8554
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8744
8555
$as_echo_n "checking for -single_module linker flag... " >&6; }
8745
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
8556
if ${lt_cv_apple_cc_single_mod+:} false; then :
8746
8557
  $as_echo_n "(cached) " >&6
8747
8558
else
8748
8559
  lt_cv_apple_cc_single_mod=no
8767
8578
        rm -f conftest.*
8768
8579
      fi
8769
8580
fi
8770
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
8581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8771
8582
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8772
 
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
8583
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8773
8584
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8774
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
8585
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8775
8586
  $as_echo_n "(cached) " >&6
8776
8587
else
8777
8588
  lt_cv_ld_exported_symbols_list=no
8778
8589
      save_LDFLAGS=$LDFLAGS
8779
8590
      echo "_main" > conftest.sym
8780
8591
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8781
 
      cat >conftest.$ac_ext <<_ACEOF
8782
 
/* confdefs.h.  */
8783
 
_ACEOF
8784
 
cat confdefs.h >>conftest.$ac_ext
8785
 
cat >>conftest.$ac_ext <<_ACEOF
 
8592
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8786
8593
/* end confdefs.h.  */
8787
8594
 
8788
8595
int
8793
8600
  return 0;
8794
8601
}
8795
8602
_ACEOF
8796
 
rm -f conftest.$ac_objext conftest$ac_exeext
8797
 
if { (ac_try="$ac_link"
8798
 
case "(($ac_try" in
8799
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8800
 
  *) ac_try_echo=$ac_try;;
8801
 
esac
8802
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8803
 
$as_echo "$ac_try_echo") >&5
8804
 
  (eval "$ac_link") 2>conftest.er1
8805
 
  ac_status=$?
8806
 
  grep -v '^ *+' conftest.er1 >conftest.err
8807
 
  rm -f conftest.er1
8808
 
  cat conftest.err >&5
8809
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810
 
  (exit $ac_status); } && {
8811
 
         test -z "$ac_c_werror_flag" ||
8812
 
         test ! -s conftest.err
8813
 
       } && test -s conftest$ac_exeext && {
8814
 
         test "$cross_compiling" = yes ||
8815
 
         $as_test_x conftest$ac_exeext
8816
 
       }; then
 
8603
if ac_fn_c_try_link "$LINENO"; then :
8817
8604
  lt_cv_ld_exported_symbols_list=yes
8818
8605
else
8819
 
  $as_echo "$as_me: failed program was:" >&5
8820
 
sed 's/^/| /' conftest.$ac_ext >&5
8821
 
 
8822
 
        lt_cv_ld_exported_symbols_list=no
 
8606
  lt_cv_ld_exported_symbols_list=no
8823
8607
fi
8824
 
 
8825
 
rm -rf conftest.dSYM
8826
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8827
 
      conftest$ac_exeext conftest.$ac_ext
 
8608
rm -f core conftest.err conftest.$ac_objext \
 
8609
    conftest$ac_exeext conftest.$ac_ext
8828
8610
        LDFLAGS="$save_LDFLAGS"
8829
8611
 
8830
8612
fi
8831
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
8613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8832
8614
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
8615
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
8616
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
8617
if ${lt_cv_ld_force_load+:} false; then :
 
8618
  $as_echo_n "(cached) " >&6
 
8619
else
 
8620
  lt_cv_ld_force_load=no
 
8621
      cat > conftest.c << _LT_EOF
 
8622
int forced_loaded() { return 2;}
 
8623
_LT_EOF
 
8624
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
8625
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
8626
      echo "$AR cru libconftest.a conftest.o" >&5
 
8627
      $AR cru libconftest.a conftest.o 2>&5
 
8628
      echo "$RANLIB libconftest.a" >&5
 
8629
      $RANLIB libconftest.a 2>&5
 
8630
      cat > conftest.c << _LT_EOF
 
8631
int main() { return 0;}
 
8632
_LT_EOF
 
8633
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
8634
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
8635
      _lt_result=$?
 
8636
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
8637
        lt_cv_ld_force_load=yes
 
8638
      else
 
8639
        cat conftest.err >&5
 
8640
      fi
 
8641
        rm -f conftest.err libconftest.a conftest conftest.c
 
8642
        rm -rf conftest.dSYM
 
8643
 
 
8644
fi
 
8645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
8646
$as_echo "$lt_cv_ld_force_load" >&6; }
8833
8647
    case $host_os in
8834
8648
    rhapsody* | darwin1.[012])
8835
8649
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8857
8671
    else
8858
8672
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8859
8673
    fi
8860
 
    if test "$DSYMUTIL" != ":"; then
 
8674
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8861
8675
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8862
8676
    else
8863
8677
      _lt_dsymutil=
8865
8679
    ;;
8866
8680
  esac
8867
8681
 
8868
 
 
8869
8682
for ac_header in dlfcn.h
8870
 
do
8871
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8872
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8873
 
$as_echo_n "checking for $ac_header... " >&6; }
8874
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8875
 
  $as_echo_n "(cached) " >&6
8876
 
else
8877
 
  cat >conftest.$ac_ext <<_ACEOF
8878
 
/* confdefs.h.  */
8879
 
_ACEOF
8880
 
cat confdefs.h >>conftest.$ac_ext
8881
 
cat >>conftest.$ac_ext <<_ACEOF
8882
 
/* end confdefs.h.  */
8883
 
$ac_includes_default
8884
 
 
8885
 
#include <$ac_header>
8886
 
_ACEOF
8887
 
rm -f conftest.$ac_objext
8888
 
if { (ac_try="$ac_compile"
8889
 
case "(($ac_try" in
8890
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8891
 
  *) ac_try_echo=$ac_try;;
8892
 
esac
8893
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8894
 
$as_echo "$ac_try_echo") >&5
8895
 
  (eval "$ac_compile") 2>conftest.er1
8896
 
  ac_status=$?
8897
 
  grep -v '^ *+' conftest.er1 >conftest.err
8898
 
  rm -f conftest.er1
8899
 
  cat conftest.err >&5
8900
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901
 
  (exit $ac_status); } && {
8902
 
         test -z "$ac_c_werror_flag" ||
8903
 
         test ! -s conftest.err
8904
 
       } && test -s conftest.$ac_objext; then
8905
 
  eval "$as_ac_Header=yes"
8906
 
else
8907
 
  $as_echo "$as_me: failed program was:" >&5
8908
 
sed 's/^/| /' conftest.$ac_ext >&5
8909
 
 
8910
 
        eval "$as_ac_Header=no"
8911
 
fi
8912
 
 
8913
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8914
 
fi
8915
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
8916
 
                 $as_echo "$as_val"'`
8917
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8918
 
$as_echo "$ac_res" >&6; }
8919
 
as_val=`eval 'as_val=${'$as_ac_Header'}
8920
 
                 $as_echo "$as_val"'`
8921
 
   if test "x$as_val" = x""yes; then
 
8683
do :
 
8684
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
8685
"
 
8686
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8922
8687
  cat >>confdefs.h <<_ACEOF
8923
 
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8688
#define HAVE_DLFCN_H 1
8924
8689
_ACEOF
8925
8690
 
8926
8691
fi
8929
8694
 
8930
8695
 
8931
8696
 
 
8697
 
 
8698
 
8932
8699
# Set options
8933
8700
 
8934
8701
 
8940
8707
 
8941
8708
 
8942
8709
            # Check whether --enable-shared was given.
8943
 
if test "${enable_shared+set}" = set; then
 
8710
if test "${enable_shared+set}" = set; then :
8944
8711
  enableval=$enable_shared; p=${PACKAGE-default}
8945
8712
    case $enableval in
8946
8713
    yes) enable_shared=yes ;;
8971
8738
 
8972
8739
 
8973
8740
  # Check whether --enable-static was given.
8974
 
if test "${enable_static+set}" = set; then
 
8741
if test "${enable_static+set}" = set; then :
8975
8742
  enableval=$enable_static; p=${PACKAGE-default}
8976
8743
    case $enableval in
8977
8744
    yes) enable_static=yes ;;
9003
8770
 
9004
8771
 
9005
8772
# Check whether --with-pic was given.
9006
 
if test "${with_pic+set}" = set; then
 
8773
if test "${with_pic+set}" = set; then :
9007
8774
  withval=$with_pic; pic_mode="$withval"
9008
8775
else
9009
8776
  pic_mode=default
9019
8786
 
9020
8787
 
9021
8788
  # Check whether --enable-fast-install was given.
9022
 
if test "${enable_fast_install+set}" = set; then
 
8789
if test "${enable_fast_install+set}" = set; then :
9023
8790
  enableval=$enable_fast_install; p=${PACKAGE-default}
9024
8791
    case $enableval in
9025
8792
    yes) enable_fast_install=yes ;;
9081
8848
 
9082
8849
 
9083
8850
 
 
8851
 
9084
8852
test -z "$LN_S" && LN_S="ln -s"
9085
8853
 
9086
8854
 
9100
8868
   setopt NO_GLOB_SUBST
9101
8869
fi
9102
8870
 
9103
 
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9104
8872
$as_echo_n "checking for objdir... " >&6; }
9105
 
if test "${lt_cv_objdir+set}" = set; then
 
8873
if ${lt_cv_objdir+:} false; then :
9106
8874
  $as_echo_n "(cached) " >&6
9107
8875
else
9108
8876
  rm -f .libs 2>/dev/null
9115
8883
fi
9116
8884
rmdir .libs 2>/dev/null
9117
8885
fi
9118
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9119
8887
$as_echo "$lt_cv_objdir" >&6; }
9120
8888
objdir=$lt_cv_objdir
9121
8889
 
9130
8898
 
9131
8899
 
9132
8900
 
9133
 
 
9134
 
 
9135
 
 
9136
 
 
9137
 
 
9138
 
 
9139
 
 
9140
 
 
9141
 
 
9142
 
 
9143
 
 
9144
 
 
9145
 
 
9146
8901
case $host_os in
9147
8902
aix3*)
9148
8903
  # AIX sometimes has problems with the GCC collect2 program.  For some
9155
8910
  ;;
9156
8911
esac
9157
8912
 
9158
 
# Sed substitution that helps us do robust quoting.  It backslashifies
9159
 
# metacharacters that are still active within double-quoted strings.
9160
 
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9161
 
 
9162
 
# Same as above, but do not quote variable references.
9163
 
double_quote_subst='s/\(["`\\]\)/\\\1/g'
9164
 
 
9165
 
# Sed substitution to delay expansion of an escaped shell variable in a
9166
 
# double_quote_subst'ed string.
9167
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9168
 
 
9169
 
# Sed substitution to delay expansion of an escaped single quote.
9170
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9171
 
 
9172
 
# Sed substitution to avoid accidental globbing in evaled expressions
9173
 
no_glob_subst='s/\*/\\\*/g'
9174
 
 
9175
8913
# Global variables:
9176
8914
ofile=libtool
9177
8915
can_build_shared=yes
9200
8938
    *) break;;
9201
8939
  esac
9202
8940
done
9203
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8941
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9204
8942
 
9205
8943
 
9206
8944
# Only perform the check for file, if the check method requires it
9208
8946
case $deplibs_check_method in
9209
8947
file_magic*)
9210
8948
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9211
 
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8949
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9212
8950
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9213
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8951
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9214
8952
  $as_echo_n "(cached) " >&6
9215
8953
else
9216
8954
  case $MAGIC_CMD in
9261
8999
 
9262
9000
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9263
9001
if test -n "$MAGIC_CMD"; then
9264
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9002
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9265
9003
$as_echo "$MAGIC_CMD" >&6; }
9266
9004
else
9267
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9005
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9268
9006
$as_echo "no" >&6; }
9269
9007
fi
9270
9008
 
9274
9012
 
9275
9013
if test -z "$lt_cv_path_MAGIC_CMD"; then
9276
9014
  if test -n "$ac_tool_prefix"; then
9277
 
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
9015
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9278
9016
$as_echo_n "checking for file... " >&6; }
9279
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
9017
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9280
9018
  $as_echo_n "(cached) " >&6
9281
9019
else
9282
9020
  case $MAGIC_CMD in
9327
9065
 
9328
9066
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9329
9067
if test -n "$MAGIC_CMD"; then
9330
 
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
9068
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9331
9069
$as_echo "$MAGIC_CMD" >&6; }
9332
9070
else
9333
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
9071
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9334
9072
$as_echo "no" >&6; }
9335
9073
fi
9336
9074
 
9405
9143
lt_prog_compiler_no_builtin_flag=
9406
9144
 
9407
9145
if test "$GCC" = yes; then
9408
 
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 
9146
  case $cc_basename in
 
9147
  nvcc*)
 
9148
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
9149
  *)
 
9150
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
9151
  esac
9409
9152
 
9410
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
9153
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9411
9154
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9412
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 
9155
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9413
9156
  $as_echo_n "(cached) " >&6
9414
9157
else
9415
9158
  lt_cv_prog_compiler_rtti_exceptions=no
9425
9168
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9426
9169
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9427
9170
   -e 's:$: $lt_compiler_flag:'`
9428
 
   (eval echo "\"\$as_me:9428: $lt_compile\"" >&5)
 
9171
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9429
9172
   (eval "$lt_compile" 2>conftest.err)
9430
9173
   ac_status=$?
9431
9174
   cat conftest.err >&5
9432
 
   echo "$as_me:9432: \$? = $ac_status" >&5
 
9175
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433
9176
   if (exit $ac_status) && test -s "$ac_outfile"; then
9434
9177
     # The compiler can only warn and ignore the option if not recognized
9435
9178
     # So say no if there are warnings other than the usual output.
9436
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9179
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9437
9180
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9438
9181
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9439
9182
       lt_cv_prog_compiler_rtti_exceptions=yes
9442
9185
   $RM conftest*
9443
9186
 
9444
9187
fi
9445
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
9188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9446
9189
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9447
9190
 
9448
9191
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9462
9205
lt_prog_compiler_pic=
9463
9206
lt_prog_compiler_static=
9464
9207
 
9465
 
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
9208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9466
9209
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9467
9210
 
9468
9211
  if test "$GCC" = yes; then
9511
9254
      lt_prog_compiler_pic='-fno-common'
9512
9255
      ;;
9513
9256
 
 
9257
    haiku*)
 
9258
      # PIC is the default for Haiku.
 
9259
      # The "-static" flag exists, but is broken.
 
9260
      lt_prog_compiler_static=
 
9261
      ;;
 
9262
 
9514
9263
    hpux*)
9515
9264
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9516
9265
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9553
9302
      lt_prog_compiler_pic='-fPIC'
9554
9303
      ;;
9555
9304
    esac
 
9305
 
 
9306
    case $cc_basename in
 
9307
    nvcc*) # Cuda Compiler Driver 2.2
 
9308
      lt_prog_compiler_wl='-Xlinker '
 
9309
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
9310
      ;;
 
9311
    esac
9556
9312
  else
9557
9313
    # PORTME Check for flag to pass linker flags through the system compiler.
9558
9314
    case $host_os in
9594
9350
      lt_prog_compiler_static='-non_shared'
9595
9351
      ;;
9596
9352
 
9597
 
    linux* | k*bsd*-gnu)
 
9353
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
9598
9354
      case $cc_basename in
9599
9355
      # old Intel for x86_64 which still supported -KPIC.
9600
9356
      ecc*)
9615
9371
        lt_prog_compiler_pic='--shared'
9616
9372
        lt_prog_compiler_static='--static'
9617
9373
        ;;
9618
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
9374
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9619
9375
        # Portland Group compilers (*not* the Pentium gcc compiler,
9620
9376
        # which looks to be a dead project)
9621
9377
        lt_prog_compiler_wl='-Wl,'
9627
9383
        # All Alpha code is PIC.
9628
9384
        lt_prog_compiler_static='-non_shared'
9629
9385
        ;;
9630
 
      xl*)
9631
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
9386
      xl* | bgxl* | bgf* | mpixl*)
 
9387
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9632
9388
        lt_prog_compiler_wl='-Wl,'
9633
9389
        lt_prog_compiler_pic='-qpic'
9634
9390
        lt_prog_compiler_static='-qstaticlink'
9635
9391
        ;;
9636
9392
      *)
9637
9393
        case `$CC -V 2>&1 | sed 5q` in
 
9394
        *Sun\ F* | *Sun*Fortran*)
 
9395
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
9396
          lt_prog_compiler_pic='-KPIC'
 
9397
          lt_prog_compiler_static='-Bstatic'
 
9398
          lt_prog_compiler_wl=''
 
9399
          ;;
9638
9400
        *Sun\ C*)
9639
9401
          # Sun C 5.9
9640
9402
          lt_prog_compiler_pic='-KPIC'
9641
9403
          lt_prog_compiler_static='-Bstatic'
9642
9404
          lt_prog_compiler_wl='-Wl,'
9643
9405
          ;;
9644
 
        *Sun\ F*)
9645
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
9646
 
          lt_prog_compiler_pic='-KPIC'
9647
 
          lt_prog_compiler_static='-Bstatic'
9648
 
          lt_prog_compiler_wl=''
9649
 
          ;;
9650
9406
        esac
9651
9407
        ;;
9652
9408
      esac
9677
9433
      lt_prog_compiler_pic='-KPIC'
9678
9434
      lt_prog_compiler_static='-Bstatic'
9679
9435
      case $cc_basename in
9680
 
      f77* | f90* | f95*)
 
9436
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9681
9437
        lt_prog_compiler_wl='-Qoption ld ';;
9682
9438
      *)
9683
9439
        lt_prog_compiler_wl='-Wl,';;
9734
9490
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9735
9491
    ;;
9736
9492
esac
9737
 
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
9493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9738
9494
$as_echo "$lt_prog_compiler_pic" >&6; }
9739
9495
 
9740
9496
 
9746
9502
# Check to make sure the PIC flag actually works.
9747
9503
#
9748
9504
if test -n "$lt_prog_compiler_pic"; then
9749
 
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
9505
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9750
9506
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9751
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
9507
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9752
9508
  $as_echo_n "(cached) " >&6
9753
9509
else
9754
9510
  lt_cv_prog_compiler_pic_works=no
9764
9520
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9765
9521
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9766
9522
   -e 's:$: $lt_compiler_flag:'`
9767
 
   (eval echo "\"\$as_me:9767: $lt_compile\"" >&5)
 
9523
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9768
9524
   (eval "$lt_compile" 2>conftest.err)
9769
9525
   ac_status=$?
9770
9526
   cat conftest.err >&5
9771
 
   echo "$as_me:9771: \$? = $ac_status" >&5
 
9527
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772
9528
   if (exit $ac_status) && test -s "$ac_outfile"; then
9773
9529
     # The compiler can only warn and ignore the option if not recognized
9774
9530
     # So say no if there are warnings other than the usual output.
9775
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
9531
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9776
9532
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9777
9533
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9778
9534
       lt_cv_prog_compiler_pic_works=yes
9781
9537
   $RM conftest*
9782
9538
 
9783
9539
fi
9784
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
9540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9785
9541
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9786
9542
 
9787
9543
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9805
9561
# Check to make sure the static flag actually works.
9806
9562
#
9807
9563
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9808
 
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
9564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9809
9565
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9810
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
9566
if ${lt_cv_prog_compiler_static_works+:} false; then :
9811
9567
  $as_echo_n "(cached) " >&6
9812
9568
else
9813
9569
  lt_cv_prog_compiler_static_works=no
9820
9576
     if test -s conftest.err; then
9821
9577
       # Append any errors to the config.log.
9822
9578
       cat conftest.err 1>&5
9823
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
9579
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9824
9580
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9825
9581
       if diff conftest.exp conftest.er2 >/dev/null; then
9826
9582
         lt_cv_prog_compiler_static_works=yes
9833
9589
   LDFLAGS="$save_LDFLAGS"
9834
9590
 
9835
9591
fi
9836
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
9592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9837
9593
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9838
9594
 
9839
9595
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9848
9604
 
9849
9605
 
9850
9606
 
9851
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9607
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9852
9608
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9853
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9609
if ${lt_cv_prog_compiler_c_o+:} false; then :
9854
9610
  $as_echo_n "(cached) " >&6
9855
9611
else
9856
9612
  lt_cv_prog_compiler_c_o=no
9869
9625
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9870
9626
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9871
9627
   -e 's:$: $lt_compiler_flag:'`
9872
 
   (eval echo "\"\$as_me:9872: $lt_compile\"" >&5)
 
9628
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9873
9629
   (eval "$lt_compile" 2>out/conftest.err)
9874
9630
   ac_status=$?
9875
9631
   cat out/conftest.err >&5
9876
 
   echo "$as_me:9876: \$? = $ac_status" >&5
 
9632
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9877
9633
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9878
9634
   then
9879
9635
     # The compiler can only warn and ignore the option if not recognized
9880
9636
     # So say no if there are warnings
9881
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9637
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9882
9638
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9883
9639
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9884
9640
       lt_cv_prog_compiler_c_o=yes
9895
9651
   $RM conftest*
9896
9652
 
9897
9653
fi
9898
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9899
9655
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9900
9656
 
9901
9657
 
9903
9659
 
9904
9660
 
9905
9661
 
9906
 
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9662
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9907
9663
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9908
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9664
if ${lt_cv_prog_compiler_c_o+:} false; then :
9909
9665
  $as_echo_n "(cached) " >&6
9910
9666
else
9911
9667
  lt_cv_prog_compiler_c_o=no
9924
9680
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9925
9681
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9926
9682
   -e 's:$: $lt_compiler_flag:'`
9927
 
   (eval echo "\"\$as_me:9927: $lt_compile\"" >&5)
 
9683
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9928
9684
   (eval "$lt_compile" 2>out/conftest.err)
9929
9685
   ac_status=$?
9930
9686
   cat out/conftest.err >&5
9931
 
   echo "$as_me:9931: \$? = $ac_status" >&5
 
9687
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932
9688
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9933
9689
   then
9934
9690
     # The compiler can only warn and ignore the option if not recognized
9935
9691
     # So say no if there are warnings
9936
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9692
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9937
9693
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9938
9694
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9939
9695
       lt_cv_prog_compiler_c_o=yes
9950
9706
   $RM conftest*
9951
9707
 
9952
9708
fi
9953
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9954
9710
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9955
9711
 
9956
9712
 
9959
9715
hard_links="nottested"
9960
9716
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9961
9717
  # do not overwrite the value of need_locks provided by the user
9962
 
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9718
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9963
9719
$as_echo_n "checking if we can lock with hard links... " >&6; }
9964
9720
  hard_links=yes
9965
9721
  $RM conftest*
9967
9723
  touch conftest.a
9968
9724
  ln conftest.a conftest.b 2>&5 || hard_links=no
9969
9725
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9970
 
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9726
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9971
9727
$as_echo "$hard_links" >&6; }
9972
9728
  if test "$hard_links" = no; then
9973
 
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9729
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9974
9730
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9975
9731
    need_locks=warn
9976
9732
  fi
9983
9739
 
9984
9740
 
9985
9741
 
9986
 
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9742
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9987
9743
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9988
9744
 
9989
9745
  runpath_var=
10046
9802
  esac
10047
9803
 
10048
9804
  ld_shlibs=yes
 
9805
 
 
9806
  # On some targets, GNU ld is compatible enough with the native linker
 
9807
  # that we're better off using the native interface for both.
 
9808
  lt_use_gnu_ld_interface=no
10049
9809
  if test "$with_gnu_ld" = yes; then
 
9810
    case $host_os in
 
9811
      aix*)
 
9812
        # The AIX port of GNU ld has always aspired to compatibility
 
9813
        # with the native linker.  However, as the warning in the GNU ld
 
9814
        # block says, versions before 2.19.5* couldn't really create working
 
9815
        # shared libraries, regardless of the interface used.
 
9816
        case `$LD -v 2>&1` in
 
9817
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
9818
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
9819
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
9820
          *)
 
9821
            lt_use_gnu_ld_interface=yes
 
9822
            ;;
 
9823
        esac
 
9824
        ;;
 
9825
      *)
 
9826
        lt_use_gnu_ld_interface=yes
 
9827
        ;;
 
9828
    esac
 
9829
  fi
 
9830
 
 
9831
  if test "$lt_use_gnu_ld_interface" = yes; then
10050
9832
    # If archive_cmds runs LD, not CC, wlarc should be empty
10051
9833
    wlarc='${wl}'
10052
9834
 
10064
9846
    fi
10065
9847
    supports_anon_versioning=no
10066
9848
    case `$LD -v 2>&1` in
 
9849
      *GNU\ gold*) supports_anon_versioning=yes ;;
10067
9850
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10068
9851
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10069
9852
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10079
9862
        ld_shlibs=no
10080
9863
        cat <<_LT_EOF 1>&2
10081
9864
 
10082
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
9865
*** Warning: the GNU linker, at least up to release 2.19, is reported
10083
9866
*** to be unable to reliably create shared libraries on AIX.
10084
9867
*** Therefore, libtool is disabling shared libraries support.  If you
10085
 
*** really care for shared libraries, you may want to modify your PATH
10086
 
*** so that a non-GNU linker is found, and then restart.
 
9868
*** really care for shared libraries, you may want to install binutils
 
9869
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
9870
*** You will then need to restart the configuration process.
10087
9871
 
10088
9872
_LT_EOF
10089
9873
      fi
10119
9903
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10120
9904
      # as there is no search path for DLLs.
10121
9905
      hardcode_libdir_flag_spec='-L$libdir'
 
9906
      export_dynamic_flag_spec='${wl}--export-all-symbols'
10122
9907
      allow_undefined_flag=unsupported
10123
9908
      always_export_symbols=no
10124
9909
      enable_shared_with_static_runtimes=yes
10140
9925
      fi
10141
9926
      ;;
10142
9927
 
 
9928
    haiku*)
 
9929
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9930
      link_all_deplibs=yes
 
9931
      ;;
 
9932
 
10143
9933
    interix[3-9]*)
10144
9934
      hardcode_direct=no
10145
9935
      hardcode_shlibpath_var=no
10155
9945
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10156
9946
      ;;
10157
9947
 
10158
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9948
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10159
9949
      tmp_diet=no
10160
9950
      if test "$host_os" = linux-dietlibc; then
10161
9951
        case $cc_basename in
10169
9959
        tmp_sharedflag='-shared'
10170
9960
        case $cc_basename,$host_cpu in
10171
9961
        pgcc*)                          # Portland Group C compiler
10172
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9962
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10173
9963
          tmp_addflag=' $pic_flag'
10174
9964
          ;;
10175
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
10176
 
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9965
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
9966
                                        # Portland Group f77 and f90 compilers
 
9967
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10177
9968
          tmp_addflag=' $pic_flag -Mnomain' ;;
10178
9969
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10179
9970
          tmp_addflag=' -i_dynamic' ;;
10184
9975
        lf95*)                          # Lahey Fortran 8.1
10185
9976
          whole_archive_flag_spec=
10186
9977
          tmp_sharedflag='--shared' ;;
10187
 
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9978
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10188
9979
          tmp_sharedflag='-qmkshrobj'
10189
9980
          tmp_addflag= ;;
 
9981
        nvcc*)  # Cuda Compiler Driver 2.2
 
9982
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
9983
          compiler_needs_object=yes
 
9984
          ;;
10190
9985
        esac
10191
9986
        case `$CC -V 2>&1 | sed 5q` in
10192
9987
        *Sun\ C*)                       # Sun C 5.9
10193
 
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
9988
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10194
9989
          compiler_needs_object=yes
10195
9990
          tmp_sharedflag='-G' ;;
10196
9991
        *Sun\ F*)                       # Sun Fortran 8.3
10206
10001
        fi
10207
10002
 
10208
10003
        case $cc_basename in
10209
 
        xlf*)
 
10004
        xlf* | bgf* | bgxlf* | mpixlf*)
10210
10005
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10211
10006
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10212
10007
          hardcode_libdir_flag_spec=
10213
10008
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
10214
 
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
10009
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10215
10010
          if test "x$supports_anon_versioning" = xyes; then
10216
10011
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10217
10012
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10218
10013
              echo "local: *; };" >> $output_objdir/$libname.ver~
10219
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
10014
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10220
10015
          fi
10221
10016
          ;;
10222
10017
        esac
10225
10020
      fi
10226
10021
      ;;
10227
10022
 
10228
 
    netbsd* | netbsdelf*-gnu)
 
10023
    netbsd*)
10229
10024
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10230
10025
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10231
10026
        wlarc=
10337
10132
      else
10338
10133
        # If we're using GNU nm, then we don't want the "-C" option.
10339
10134
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
10135
        # Also, AIX nm treats weak defined symbols like other global
 
10136
        # defined symbols, whereas GNU nm marks them as "W".
10340
10137
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10341
 
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
10138
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10342
10139
        else
10343
10140
          export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10344
10141
        fi
10400
10197
        if test "$aix_use_runtimelinking" = yes; then
10401
10198
          shared_flag="$shared_flag "'${wl}-G'
10402
10199
        fi
10403
 
        link_all_deplibs=no
10404
10200
      else
10405
10201
        # not using gcc
10406
10202
        if test "$host_cpu" = ia64; then
10426
10222
        allow_undefined_flag='-berok'
10427
10223
        # Determine the default libpath from the value encoded in an
10428
10224
        # empty executable.
10429
 
        cat >conftest.$ac_ext <<_ACEOF
10430
 
/* confdefs.h.  */
10431
 
_ACEOF
10432
 
cat confdefs.h >>conftest.$ac_ext
10433
 
cat >>conftest.$ac_ext <<_ACEOF
 
10225
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434
10226
/* end confdefs.h.  */
10435
10227
 
10436
10228
int
10441
10233
  return 0;
10442
10234
}
10443
10235
_ACEOF
10444
 
rm -f conftest.$ac_objext conftest$ac_exeext
10445
 
if { (ac_try="$ac_link"
10446
 
case "(($ac_try" in
10447
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10448
 
  *) ac_try_echo=$ac_try;;
10449
 
esac
10450
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10451
 
$as_echo "$ac_try_echo") >&5
10452
 
  (eval "$ac_link") 2>conftest.er1
10453
 
  ac_status=$?
10454
 
  grep -v '^ *+' conftest.er1 >conftest.err
10455
 
  rm -f conftest.er1
10456
 
  cat conftest.err >&5
10457
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458
 
  (exit $ac_status); } && {
10459
 
         test -z "$ac_c_werror_flag" ||
10460
 
         test ! -s conftest.err
10461
 
       } && test -s conftest$ac_exeext && {
10462
 
         test "$cross_compiling" = yes ||
10463
 
         $as_test_x conftest$ac_exeext
10464
 
       }; then
 
10236
if ac_fn_c_try_link "$LINENO"; then :
10465
10237
 
10466
10238
lt_aix_libpath_sed='
10467
10239
    /Import File Strings/,/^$/ {
10475
10247
if test -z "$aix_libpath"; then
10476
10248
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10477
10249
fi
10478
 
else
10479
 
  $as_echo "$as_me: failed program was:" >&5
10480
 
sed 's/^/| /' conftest.$ac_ext >&5
10481
 
 
10482
 
 
10483
10250
fi
10484
 
 
10485
 
rm -rf conftest.dSYM
10486
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10487
 
      conftest$ac_exeext conftest.$ac_ext
 
10251
rm -f core conftest.err conftest.$ac_objext \
 
10252
    conftest$ac_exeext conftest.$ac_ext
10488
10253
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10489
10254
 
10490
10255
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10491
 
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
10256
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10492
10257
      else
10493
10258
        if test "$host_cpu" = ia64; then
10494
10259
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10497
10262
        else
10498
10263
         # Determine the default libpath from the value encoded in an
10499
10264
         # empty executable.
10500
 
         cat >conftest.$ac_ext <<_ACEOF
10501
 
/* confdefs.h.  */
10502
 
_ACEOF
10503
 
cat confdefs.h >>conftest.$ac_ext
10504
 
cat >>conftest.$ac_ext <<_ACEOF
 
10265
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10505
10266
/* end confdefs.h.  */
10506
10267
 
10507
10268
int
10512
10273
  return 0;
10513
10274
}
10514
10275
_ACEOF
10515
 
rm -f conftest.$ac_objext conftest$ac_exeext
10516
 
if { (ac_try="$ac_link"
10517
 
case "(($ac_try" in
10518
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10519
 
  *) ac_try_echo=$ac_try;;
10520
 
esac
10521
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10522
 
$as_echo "$ac_try_echo") >&5
10523
 
  (eval "$ac_link") 2>conftest.er1
10524
 
  ac_status=$?
10525
 
  grep -v '^ *+' conftest.er1 >conftest.err
10526
 
  rm -f conftest.er1
10527
 
  cat conftest.err >&5
10528
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529
 
  (exit $ac_status); } && {
10530
 
         test -z "$ac_c_werror_flag" ||
10531
 
         test ! -s conftest.err
10532
 
       } && test -s conftest$ac_exeext && {
10533
 
         test "$cross_compiling" = yes ||
10534
 
         $as_test_x conftest$ac_exeext
10535
 
       }; then
 
10276
if ac_fn_c_try_link "$LINENO"; then :
10536
10277
 
10537
10278
lt_aix_libpath_sed='
10538
10279
    /Import File Strings/,/^$/ {
10546
10287
if test -z "$aix_libpath"; then
10547
10288
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10548
10289
fi
10549
 
else
10550
 
  $as_echo "$as_me: failed program was:" >&5
10551
 
sed 's/^/| /' conftest.$ac_ext >&5
10552
 
 
10553
 
 
10554
10290
fi
10555
 
 
10556
 
rm -rf conftest.dSYM
10557
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10558
 
      conftest$ac_exeext conftest.$ac_ext
 
10291
rm -f core conftest.err conftest.$ac_objext \
 
10292
    conftest$ac_exeext conftest.$ac_ext
10559
10293
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10560
10294
 
10561
10295
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10563
10297
          # -berok will link without error, but may produce a broken library.
10564
10298
          no_undefined_flag=' ${wl}-bernotok'
10565
10299
          allow_undefined_flag=' ${wl}-berok'
10566
 
          # Exported symbols can be pulled into shared objects from archives
10567
 
          whole_archive_flag_spec='$convenience'
 
10300
          if test "$with_gnu_ld" = yes; then
 
10301
            # We only use this code for GNU lds that support --whole-archive.
 
10302
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
10303
          else
 
10304
            # Exported symbols can be pulled into shared objects from archives
 
10305
            whole_archive_flag_spec='$convenience'
 
10306
          fi
10568
10307
          archive_cmds_need_lc=yes
10569
10308
          # This is similar to how AIX traditionally builds its shared libraries.
10570
10309
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10603
10342
      # Tell ltmain to make .dll files, not .so files.
10604
10343
      shrext_cmds=".dll"
10605
10344
      # FIXME: Setting linknames here is a bad hack.
10606
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
10345
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10607
10346
      # The linker will automatically build a .lib file if we build a DLL.
10608
10347
      old_archive_from_new_cmds='true'
10609
10348
      # FIXME: Should let the user specify the lib program.
10619
10358
  hardcode_direct=no
10620
10359
  hardcode_automatic=yes
10621
10360
  hardcode_shlibpath_var=unsupported
10622
 
  whole_archive_flag_spec=''
 
10361
  if test "$lt_cv_ld_force_load" = "yes"; then
 
10362
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
10363
  else
 
10364
    whole_archive_flag_spec=''
 
10365
  fi
10623
10366
  link_all_deplibs=yes
10624
10367
  allow_undefined_flag="$_lt_dar_allow_undefined"
10625
10368
  case $cc_basename in
10627
10370
     *) _lt_dar_can_shared=$GCC ;;
10628
10371
  esac
10629
10372
  if test "$_lt_dar_can_shared" = "yes"; then
10630
 
    output_verbose_link_cmd=echo
 
10373
    output_verbose_link_cmd=func_echo_all
10631
10374
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10632
10375
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10633
10376
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10693
10436
      ;;
10694
10437
 
10695
10438
    hpux10*)
10696
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
10439
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10697
10440
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10698
10441
      else
10699
10442
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10712
10455
      ;;
10713
10456
 
10714
10457
    hpux11*)
10715
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
10458
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10716
10459
        case $host_cpu in
10717
10460
        hppa*64*)
10718
10461
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10733
10476
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10734
10477
          ;;
10735
10478
        *)
10736
 
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10479
 
 
10480
          # Older versions of the 11.00 compiler do not understand -b yet
 
10481
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
10482
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
10483
$as_echo_n "checking if $CC understands -b... " >&6; }
 
10484
if ${lt_cv_prog_compiler__b+:} false; then :
 
10485
  $as_echo_n "(cached) " >&6
 
10486
else
 
10487
  lt_cv_prog_compiler__b=no
 
10488
   save_LDFLAGS="$LDFLAGS"
 
10489
   LDFLAGS="$LDFLAGS -b"
 
10490
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
10491
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
10492
     # The linker can only warn and ignore the option if not recognized
 
10493
     # So say no if there are warnings
 
10494
     if test -s conftest.err; then
 
10495
       # Append any errors to the config.log.
 
10496
       cat conftest.err 1>&5
 
10497
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
10498
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
10499
       if diff conftest.exp conftest.er2 >/dev/null; then
 
10500
         lt_cv_prog_compiler__b=yes
 
10501
       fi
 
10502
     else
 
10503
       lt_cv_prog_compiler__b=yes
 
10504
     fi
 
10505
   fi
 
10506
   $RM -r conftest*
 
10507
   LDFLAGS="$save_LDFLAGS"
 
10508
 
 
10509
fi
 
10510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
10511
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
10512
 
 
10513
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
10514
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10515
else
 
10516
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
10517
fi
 
10518
 
10737
10519
          ;;
10738
10520
        esac
10739
10521
      fi
10761
10543
 
10762
10544
    irix5* | irix6* | nonstopux*)
10763
10545
      if test "$GCC" = yes; then
10764
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10546
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10765
10547
        # Try to use the -exported_symbol ld option, if it does not
10766
10548
        # work, assume that -exports_file does not work either and
10767
10549
        # implicitly export all symbols.
10768
10550
        save_LDFLAGS="$LDFLAGS"
10769
10551
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10770
 
        cat >conftest.$ac_ext <<_ACEOF
 
10552
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10553
/* end confdefs.h.  */
10771
10554
int foo(void) {}
10772
10555
_ACEOF
10773
 
rm -f conftest.$ac_objext conftest$ac_exeext
10774
 
if { (ac_try="$ac_link"
10775
 
case "(($ac_try" in
10776
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10777
 
  *) ac_try_echo=$ac_try;;
10778
 
esac
10779
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10780
 
$as_echo "$ac_try_echo") >&5
10781
 
  (eval "$ac_link") 2>conftest.er1
10782
 
  ac_status=$?
10783
 
  grep -v '^ *+' conftest.er1 >conftest.err
10784
 
  rm -f conftest.er1
10785
 
  cat conftest.err >&5
10786
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787
 
  (exit $ac_status); } && {
10788
 
         test -z "$ac_c_werror_flag" ||
10789
 
         test ! -s conftest.err
10790
 
       } && test -s conftest$ac_exeext && {
10791
 
         test "$cross_compiling" = yes ||
10792
 
         $as_test_x conftest$ac_exeext
10793
 
       }; then
10794
 
  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'
10795
 
 
10796
 
else
10797
 
  $as_echo "$as_me: failed program was:" >&5
10798
 
sed 's/^/| /' conftest.$ac_ext >&5
10799
 
 
 
10556
if ac_fn_c_try_link "$LINENO"; then :
 
10557
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10800
10558
 
10801
10559
fi
10802
 
 
10803
 
rm -rf conftest.dSYM
10804
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10805
 
      conftest$ac_exeext conftest.$ac_ext
 
10560
rm -f core conftest.err conftest.$ac_objext \
 
10561
    conftest$ac_exeext conftest.$ac_ext
10806
10562
        LDFLAGS="$save_LDFLAGS"
10807
10563
      else
10808
 
        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'
10809
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 
10564
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
10565
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10810
10566
      fi
10811
10567
      archive_cmds_need_lc='no'
10812
10568
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10815
10571
      link_all_deplibs=yes
10816
10572
      ;;
10817
10573
 
10818
 
    netbsd* | netbsdelf*-gnu)
 
10574
    netbsd*)
10819
10575
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10820
10576
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10821
10577
      else
10868
10624
      hardcode_libdir_flag_spec='-L$libdir'
10869
10625
      hardcode_minus_L=yes
10870
10626
      allow_undefined_flag=unsupported
10871
 
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
 
10627
      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10872
10628
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10873
10629
      ;;
10874
10630
 
10875
10631
    osf3*)
10876
10632
      if test "$GCC" = yes; then
10877
10633
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10878
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10634
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10879
10635
      else
10880
10636
        allow_undefined_flag=' -expect_unresolved \*'
10881
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
10637
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10882
10638
      fi
10883
10639
      archive_cmds_need_lc='no'
10884
10640
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10888
10644
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
10889
10645
      if test "$GCC" = yes; then
10890
10646
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10891
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10647
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10892
10648
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10893
10649
      else
10894
10650
        allow_undefined_flag=' -expect_unresolved \*'
10895
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
10651
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10896
10652
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10897
 
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 
10653
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10898
10654
 
10899
10655
        # Both c and cxx compiler support -rpath directly
10900
10656
        hardcode_libdir_flag_spec='-rpath $libdir'
11058
10814
    fi
11059
10815
  fi
11060
10816
 
11061
 
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11062
10818
$as_echo "$ld_shlibs" >&6; }
11063
10819
test "$ld_shlibs" = no && can_build_shared=no
11064
10820
 
11095
10851
      # Test whether the compiler implicitly links with -lc since on some
11096
10852
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11097
10853
      # to ld, don't add -lc before -lgcc.
11098
 
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10854
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11099
10855
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11100
 
      $RM conftest*
11101
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10856
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
10857
  $as_echo_n "(cached) " >&6
 
10858
else
 
10859
  $RM conftest*
 
10860
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11102
10861
 
11103
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
10862
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11104
10863
  (eval $ac_compile) 2>&5
11105
10864
  ac_status=$?
11106
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107
 
  (exit $ac_status); } 2>conftest.err; then
11108
 
        soname=conftest
11109
 
        lib=conftest
11110
 
        libobjs=conftest.$ac_objext
11111
 
        deplibs=
11112
 
        wl=$lt_prog_compiler_wl
11113
 
        pic_flag=$lt_prog_compiler_pic
11114
 
        compiler_flags=-v
11115
 
        linker_flags=-v
11116
 
        verstring=
11117
 
        output_objdir=.
11118
 
        libname=conftest
11119
 
        lt_save_allow_undefined_flag=$allow_undefined_flag
11120
 
        allow_undefined_flag=
11121
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10865
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10866
  test $ac_status = 0; } 2>conftest.err; then
 
10867
          soname=conftest
 
10868
          lib=conftest
 
10869
          libobjs=conftest.$ac_objext
 
10870
          deplibs=
 
10871
          wl=$lt_prog_compiler_wl
 
10872
          pic_flag=$lt_prog_compiler_pic
 
10873
          compiler_flags=-v
 
10874
          linker_flags=-v
 
10875
          verstring=
 
10876
          output_objdir=.
 
10877
          libname=conftest
 
10878
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
10879
          allow_undefined_flag=
 
10880
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11122
10881
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11123
10882
  ac_status=$?
11124
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125
 
  (exit $ac_status); }
11126
 
        then
11127
 
          archive_cmds_need_lc=no
11128
 
        else
11129
 
          archive_cmds_need_lc=yes
11130
 
        fi
11131
 
        allow_undefined_flag=$lt_save_allow_undefined_flag
11132
 
      else
11133
 
        cat conftest.err 1>&5
11134
 
      fi
11135
 
      $RM conftest*
11136
 
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11137
 
$as_echo "$archive_cmds_need_lc" >&6; }
 
10883
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
10884
  test $ac_status = 0; }
 
10885
          then
 
10886
            lt_cv_archive_cmds_need_lc=no
 
10887
          else
 
10888
            lt_cv_archive_cmds_need_lc=yes
 
10889
          fi
 
10890
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
10891
        else
 
10892
          cat conftest.err 1>&5
 
10893
        fi
 
10894
        $RM conftest*
 
10895
 
 
10896
fi
 
10897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
10898
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
10899
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11138
10900
      ;;
11139
10901
    esac
11140
10902
  fi
11297
11059
 
11298
11060
 
11299
11061
 
11300
 
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
11062
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11301
11063
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11302
11064
 
11303
11065
if test "$GCC" = yes; then
11305
11067
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11306
11068
    *) lt_awk_arg="/^libraries:/" ;;
11307
11069
  esac
11308
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11309
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
11070
  case $host_os in
 
11071
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
11072
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
11073
  esac
 
11074
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
11075
  case $lt_search_path_spec in
 
11076
  *\;*)
11310
11077
    # if the path contains ";" then we assume it to be the separator
11311
11078
    # otherwise default to the standard path separator (i.e. ":") - it is
11312
11079
    # assumed that no part of a normal pathname contains ";" but that should
11313
11080
    # okay in the real world where ";" in dirpaths is itself problematic.
11314
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11315
 
  else
11316
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11317
 
  fi
 
11081
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
11082
    ;;
 
11083
  *)
 
11084
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
11085
    ;;
 
11086
  esac
11318
11087
  # Ok, now we have the path, separated by spaces, we can step through it
11319
11088
  # and add multilib dir if necessary.
11320
11089
  lt_tmp_lt_search_path_spec=
11327
11096
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11328
11097
    fi
11329
11098
  done
11330
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
11099
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11331
11100
BEGIN {RS=" "; FS="/|\n";} {
11332
11101
  lt_foo="";
11333
11102
  lt_count=0;
11347
11116
  if (lt_foo != "") { lt_freq[lt_foo]++; }
11348
11117
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11349
11118
}'`
11350
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
11119
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
11120
  # for these hosts.
 
11121
  case $host_os in
 
11122
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
11123
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
11124
  esac
 
11125
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11351
11126
else
11352
11127
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11353
11128
fi
11435
11210
  m68k)
11436
11211
    library_names_spec='$libname.ixlibrary $libname.a'
11437
11212
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11438
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
11213
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11439
11214
    ;;
11440
11215
  esac
11441
11216
  ;;
11488
11263
    cygwin*)
11489
11264
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11490
11265
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11491
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
11266
 
 
11267
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11492
11268
      ;;
11493
11269
    mingw* | cegcc*)
11494
11270
      # MinGW DLLs use traditional 'lib' prefix
11495
11271
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11496
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11497
 
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11498
 
        # It is most probably a Windows format PATH printed by
11499
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
11500
 
        # path with ; separators, and with drive letters. We can handle the
11501
 
        # drive letters (cygwin fileutils understands them), so leave them,
11502
 
        # especially as we might pass files found there to a mingw objdump,
11503
 
        # which wouldn't understand a cygwinified path. Ahh.
11504
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11505
 
      else
11506
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11507
 
      fi
11508
11272
      ;;
11509
11273
    pw32*)
11510
11274
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11604
11368
  hardcode_into_libs=yes
11605
11369
  ;;
11606
11370
 
 
11371
haiku*)
 
11372
  version_type=linux
 
11373
  need_lib_prefix=no
 
11374
  need_version=no
 
11375
  dynamic_linker="$host_os runtime_loader"
 
11376
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
11377
  soname_spec='${libname}${release}${shared_ext}$major'
 
11378
  shlibpath_var=LIBRARY_PATH
 
11379
  shlibpath_overrides_runpath=yes
 
11380
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
11381
  hardcode_into_libs=yes
 
11382
  ;;
 
11383
 
11607
11384
hpux9* | hpux10* | hpux11*)
11608
11385
  # Give a soname corresponding to the major version so that dld.sl refuses to
11609
11386
  # link against other versions.
11646
11423
    soname_spec='${libname}${release}${shared_ext}$major'
11647
11424
    ;;
11648
11425
  esac
11649
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
11426
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11650
11427
  postinstall_cmds='chmod 555 $lib'
 
11428
  # or fails outright, so override atomically:
 
11429
  install_override_mode=555
11651
11430
  ;;
11652
11431
 
11653
11432
interix[3-9]*)
11705
11484
  ;;
11706
11485
 
11707
11486
# This must be Linux ELF.
11708
 
linux* | k*bsd*-gnu)
 
11487
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11709
11488
  version_type=linux
11710
11489
  need_lib_prefix=no
11711
11490
  need_version=no
11714
11493
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11715
11494
  shlibpath_var=LD_LIBRARY_PATH
11716
11495
  shlibpath_overrides_runpath=no
 
11496
 
11717
11497
  # Some binutils ld are patched to set DT_RUNPATH
11718
 
  save_LDFLAGS=$LDFLAGS
11719
 
  save_libdir=$libdir
11720
 
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11721
 
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11722
 
  cat >conftest.$ac_ext <<_ACEOF
11723
 
/* confdefs.h.  */
11724
 
_ACEOF
11725
 
cat confdefs.h >>conftest.$ac_ext
11726
 
cat >>conftest.$ac_ext <<_ACEOF
 
11498
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
11499
  $as_echo_n "(cached) " >&6
 
11500
else
 
11501
  lt_cv_shlibpath_overrides_runpath=no
 
11502
    save_LDFLAGS=$LDFLAGS
 
11503
    save_libdir=$libdir
 
11504
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
11505
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
11506
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11727
11507
/* end confdefs.h.  */
11728
11508
 
11729
11509
int
11734
11514
  return 0;
11735
11515
}
11736
11516
_ACEOF
11737
 
rm -f conftest.$ac_objext conftest$ac_exeext
11738
 
if { (ac_try="$ac_link"
11739
 
case "(($ac_try" in
11740
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11741
 
  *) ac_try_echo=$ac_try;;
11742
 
esac
11743
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11744
 
$as_echo "$ac_try_echo") >&5
11745
 
  (eval "$ac_link") 2>conftest.er1
11746
 
  ac_status=$?
11747
 
  grep -v '^ *+' conftest.er1 >conftest.err
11748
 
  rm -f conftest.er1
11749
 
  cat conftest.err >&5
11750
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751
 
  (exit $ac_status); } && {
11752
 
         test -z "$ac_c_werror_flag" ||
11753
 
         test ! -s conftest.err
11754
 
       } && test -s conftest$ac_exeext && {
11755
 
         test "$cross_compiling" = yes ||
11756
 
         $as_test_x conftest$ac_exeext
11757
 
       }; then
11758
 
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11759
 
  shlibpath_overrides_runpath=yes
11760
 
fi
11761
 
 
11762
 
else
11763
 
  $as_echo "$as_me: failed program was:" >&5
11764
 
sed 's/^/| /' conftest.$ac_ext >&5
11765
 
 
11766
 
 
11767
 
fi
11768
 
 
11769
 
rm -rf conftest.dSYM
11770
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11771
 
      conftest$ac_exeext conftest.$ac_ext
11772
 
  LDFLAGS=$save_LDFLAGS
11773
 
  libdir=$save_libdir
 
11517
if ac_fn_c_try_link "$LINENO"; then :
 
11518
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
11519
  lt_cv_shlibpath_overrides_runpath=yes
 
11520
fi
 
11521
fi
 
11522
rm -f core conftest.err conftest.$ac_objext \
 
11523
    conftest$ac_exeext conftest.$ac_ext
 
11524
    LDFLAGS=$save_LDFLAGS
 
11525
    libdir=$save_libdir
 
11526
 
 
11527
fi
 
11528
 
 
11529
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11774
11530
 
11775
11531
  # This implies no fast_install, which is unacceptable.
11776
11532
  # Some rework will be needed to allow for fast_install
11779
11535
 
11780
11536
  # Append ld.so.conf contents to the search path
11781
11537
  if test -f /etc/ld.so.conf; then
11782
 
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
11538
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11783
11539
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11784
11540
  fi
11785
11541
 
11792
11548
  dynamic_linker='GNU/Linux ld.so'
11793
11549
  ;;
11794
11550
 
11795
 
netbsdelf*-gnu)
11796
 
  version_type=linux
11797
 
  need_lib_prefix=no
11798
 
  need_version=no
11799
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11800
 
  soname_spec='${libname}${release}${shared_ext}$major'
11801
 
  shlibpath_var=LD_LIBRARY_PATH
11802
 
  shlibpath_overrides_runpath=no
11803
 
  hardcode_into_libs=yes
11804
 
  dynamic_linker='NetBSD ld.elf_so'
11805
 
  ;;
11806
 
 
11807
11551
netbsd*)
11808
11552
  version_type=sunos
11809
11553
  need_lib_prefix=no
11992
11736
  dynamic_linker=no
11993
11737
  ;;
11994
11738
esac
11995
 
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11996
11740
$as_echo "$dynamic_linker" >&6; }
11997
11741
test "$dynamic_linker" = no && can_build_shared=no
11998
11742
 
12094
11838
 
12095
11839
 
12096
11840
 
12097
 
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11841
 
 
11842
 
 
11843
 
 
11844
 
 
11845
 
 
11846
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12098
11847
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12099
11848
hardcode_action=
12100
11849
if test -n "$hardcode_libdir_flag_spec" ||
12119
11868
  # directories.
12120
11869
  hardcode_action=unsupported
12121
11870
fi
12122
 
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12123
11872
$as_echo "$hardcode_action" >&6; }
12124
11873
 
12125
11874
if test "$hardcode_action" = relink ||
12164
11913
 
12165
11914
  darwin*)
12166
11915
  # if libdl is installed we need to link against it
12167
 
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11916
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12168
11917
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12169
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
11918
if ${ac_cv_lib_dl_dlopen+:} false; then :
12170
11919
  $as_echo_n "(cached) " >&6
12171
11920
else
12172
11921
  ac_check_lib_save_LIBS=$LIBS
12173
11922
LIBS="-ldl  $LIBS"
12174
 
cat >conftest.$ac_ext <<_ACEOF
12175
 
/* confdefs.h.  */
12176
 
_ACEOF
12177
 
cat confdefs.h >>conftest.$ac_ext
12178
 
cat >>conftest.$ac_ext <<_ACEOF
 
11923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179
11924
/* end confdefs.h.  */
12180
11925
 
12181
11926
/* Override any GCC internal prototype to avoid an error.
12193
11938
  return 0;
12194
11939
}
12195
11940
_ACEOF
12196
 
rm -f conftest.$ac_objext conftest$ac_exeext
12197
 
if { (ac_try="$ac_link"
12198
 
case "(($ac_try" in
12199
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12200
 
  *) ac_try_echo=$ac_try;;
12201
 
esac
12202
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12203
 
$as_echo "$ac_try_echo") >&5
12204
 
  (eval "$ac_link") 2>conftest.er1
12205
 
  ac_status=$?
12206
 
  grep -v '^ *+' conftest.er1 >conftest.err
12207
 
  rm -f conftest.er1
12208
 
  cat conftest.err >&5
12209
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210
 
  (exit $ac_status); } && {
12211
 
         test -z "$ac_c_werror_flag" ||
12212
 
         test ! -s conftest.err
12213
 
       } && test -s conftest$ac_exeext && {
12214
 
         test "$cross_compiling" = yes ||
12215
 
         $as_test_x conftest$ac_exeext
12216
 
       }; then
 
11941
if ac_fn_c_try_link "$LINENO"; then :
12217
11942
  ac_cv_lib_dl_dlopen=yes
12218
11943
else
12219
 
  $as_echo "$as_me: failed program was:" >&5
12220
 
sed 's/^/| /' conftest.$ac_ext >&5
12221
 
 
12222
 
        ac_cv_lib_dl_dlopen=no
 
11944
  ac_cv_lib_dl_dlopen=no
12223
11945
fi
12224
 
 
12225
 
rm -rf conftest.dSYM
12226
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12227
 
      conftest$ac_exeext conftest.$ac_ext
 
11946
rm -f core conftest.err conftest.$ac_objext \
 
11947
    conftest$ac_exeext conftest.$ac_ext
12228
11948
LIBS=$ac_check_lib_save_LIBS
12229
11949
fi
12230
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12231
11951
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12232
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
11952
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12233
11953
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12234
11954
else
12235
11955
 
12242
11962
    ;;
12243
11963
 
12244
11964
  *)
12245
 
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12246
 
$as_echo_n "checking for shl_load... " >&6; }
12247
 
if test "${ac_cv_func_shl_load+set}" = set; then
12248
 
  $as_echo_n "(cached) " >&6
12249
 
else
12250
 
  cat >conftest.$ac_ext <<_ACEOF
12251
 
/* confdefs.h.  */
12252
 
_ACEOF
12253
 
cat confdefs.h >>conftest.$ac_ext
12254
 
cat >>conftest.$ac_ext <<_ACEOF
12255
 
/* end confdefs.h.  */
12256
 
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12257
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12258
 
#define shl_load innocuous_shl_load
12259
 
 
12260
 
/* System header to define __stub macros and hopefully few prototypes,
12261
 
    which can conflict with char shl_load (); below.
12262
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12263
 
    <limits.h> exists even on freestanding compilers.  */
12264
 
 
12265
 
#ifdef __STDC__
12266
 
# include <limits.h>
12267
 
#else
12268
 
# include <assert.h>
12269
 
#endif
12270
 
 
12271
 
#undef shl_load
12272
 
 
12273
 
/* Override any GCC internal prototype to avoid an error.
12274
 
   Use char because int might match the return type of a GCC
12275
 
   builtin and then its argument prototype would still apply.  */
12276
 
#ifdef __cplusplus
12277
 
extern "C"
12278
 
#endif
12279
 
char shl_load ();
12280
 
/* The GNU C library defines this for functions which it implements
12281
 
    to always fail with ENOSYS.  Some functions are actually named
12282
 
    something starting with __ and the normal name is an alias.  */
12283
 
#if defined __stub_shl_load || defined __stub___shl_load
12284
 
choke me
12285
 
#endif
12286
 
 
12287
 
int
12288
 
main ()
12289
 
{
12290
 
return shl_load ();
12291
 
  ;
12292
 
  return 0;
12293
 
}
12294
 
_ACEOF
12295
 
rm -f conftest.$ac_objext conftest$ac_exeext
12296
 
if { (ac_try="$ac_link"
12297
 
case "(($ac_try" in
12298
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12299
 
  *) ac_try_echo=$ac_try;;
12300
 
esac
12301
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12302
 
$as_echo "$ac_try_echo") >&5
12303
 
  (eval "$ac_link") 2>conftest.er1
12304
 
  ac_status=$?
12305
 
  grep -v '^ *+' conftest.er1 >conftest.err
12306
 
  rm -f conftest.er1
12307
 
  cat conftest.err >&5
12308
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309
 
  (exit $ac_status); } && {
12310
 
         test -z "$ac_c_werror_flag" ||
12311
 
         test ! -s conftest.err
12312
 
       } && test -s conftest$ac_exeext && {
12313
 
         test "$cross_compiling" = yes ||
12314
 
         $as_test_x conftest$ac_exeext
12315
 
       }; then
12316
 
  ac_cv_func_shl_load=yes
12317
 
else
12318
 
  $as_echo "$as_me: failed program was:" >&5
12319
 
sed 's/^/| /' conftest.$ac_ext >&5
12320
 
 
12321
 
        ac_cv_func_shl_load=no
12322
 
fi
12323
 
 
12324
 
rm -rf conftest.dSYM
12325
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12326
 
      conftest$ac_exeext conftest.$ac_ext
12327
 
fi
12328
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12329
 
$as_echo "$ac_cv_func_shl_load" >&6; }
12330
 
if test "x$ac_cv_func_shl_load" = x""yes; then
 
11965
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
11966
if test "x$ac_cv_func_shl_load" = xyes; then :
12331
11967
  lt_cv_dlopen="shl_load"
12332
11968
else
12333
 
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11969
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12334
11970
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12335
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 
11971
if ${ac_cv_lib_dld_shl_load+:} false; then :
12336
11972
  $as_echo_n "(cached) " >&6
12337
11973
else
12338
11974
  ac_check_lib_save_LIBS=$LIBS
12339
11975
LIBS="-ldld  $LIBS"
12340
 
cat >conftest.$ac_ext <<_ACEOF
12341
 
/* confdefs.h.  */
12342
 
_ACEOF
12343
 
cat confdefs.h >>conftest.$ac_ext
12344
 
cat >>conftest.$ac_ext <<_ACEOF
 
11976
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12345
11977
/* end confdefs.h.  */
12346
11978
 
12347
11979
/* Override any GCC internal prototype to avoid an error.
12359
11991
  return 0;
12360
11992
}
12361
11993
_ACEOF
12362
 
rm -f conftest.$ac_objext conftest$ac_exeext
12363
 
if { (ac_try="$ac_link"
12364
 
case "(($ac_try" in
12365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12366
 
  *) ac_try_echo=$ac_try;;
12367
 
esac
12368
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12369
 
$as_echo "$ac_try_echo") >&5
12370
 
  (eval "$ac_link") 2>conftest.er1
12371
 
  ac_status=$?
12372
 
  grep -v '^ *+' conftest.er1 >conftest.err
12373
 
  rm -f conftest.er1
12374
 
  cat conftest.err >&5
12375
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376
 
  (exit $ac_status); } && {
12377
 
         test -z "$ac_c_werror_flag" ||
12378
 
         test ! -s conftest.err
12379
 
       } && test -s conftest$ac_exeext && {
12380
 
         test "$cross_compiling" = yes ||
12381
 
         $as_test_x conftest$ac_exeext
12382
 
       }; then
 
11994
if ac_fn_c_try_link "$LINENO"; then :
12383
11995
  ac_cv_lib_dld_shl_load=yes
12384
11996
else
12385
 
  $as_echo "$as_me: failed program was:" >&5
12386
 
sed 's/^/| /' conftest.$ac_ext >&5
12387
 
 
12388
 
        ac_cv_lib_dld_shl_load=no
 
11997
  ac_cv_lib_dld_shl_load=no
12389
11998
fi
12390
 
 
12391
 
rm -rf conftest.dSYM
12392
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12393
 
      conftest$ac_exeext conftest.$ac_ext
 
11999
rm -f core conftest.err conftest.$ac_objext \
 
12000
    conftest$ac_exeext conftest.$ac_ext
12394
12001
LIBS=$ac_check_lib_save_LIBS
12395
12002
fi
12396
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
12003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12397
12004
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12398
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
12005
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12399
12006
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12400
12007
else
12401
 
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12402
 
$as_echo_n "checking for dlopen... " >&6; }
12403
 
if test "${ac_cv_func_dlopen+set}" = set; then
12404
 
  $as_echo_n "(cached) " >&6
12405
 
else
12406
 
  cat >conftest.$ac_ext <<_ACEOF
12407
 
/* confdefs.h.  */
12408
 
_ACEOF
12409
 
cat confdefs.h >>conftest.$ac_ext
12410
 
cat >>conftest.$ac_ext <<_ACEOF
12411
 
/* end confdefs.h.  */
12412
 
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12413
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12414
 
#define dlopen innocuous_dlopen
12415
 
 
12416
 
/* System header to define __stub macros and hopefully few prototypes,
12417
 
    which can conflict with char dlopen (); below.
12418
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12419
 
    <limits.h> exists even on freestanding compilers.  */
12420
 
 
12421
 
#ifdef __STDC__
12422
 
# include <limits.h>
12423
 
#else
12424
 
# include <assert.h>
12425
 
#endif
12426
 
 
12427
 
#undef dlopen
12428
 
 
12429
 
/* Override any GCC internal prototype to avoid an error.
12430
 
   Use char because int might match the return type of a GCC
12431
 
   builtin and then its argument prototype would still apply.  */
12432
 
#ifdef __cplusplus
12433
 
extern "C"
12434
 
#endif
12435
 
char dlopen ();
12436
 
/* The GNU C library defines this for functions which it implements
12437
 
    to always fail with ENOSYS.  Some functions are actually named
12438
 
    something starting with __ and the normal name is an alias.  */
12439
 
#if defined __stub_dlopen || defined __stub___dlopen
12440
 
choke me
12441
 
#endif
12442
 
 
12443
 
int
12444
 
main ()
12445
 
{
12446
 
return dlopen ();
12447
 
  ;
12448
 
  return 0;
12449
 
}
12450
 
_ACEOF
12451
 
rm -f conftest.$ac_objext conftest$ac_exeext
12452
 
if { (ac_try="$ac_link"
12453
 
case "(($ac_try" in
12454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12455
 
  *) ac_try_echo=$ac_try;;
12456
 
esac
12457
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12458
 
$as_echo "$ac_try_echo") >&5
12459
 
  (eval "$ac_link") 2>conftest.er1
12460
 
  ac_status=$?
12461
 
  grep -v '^ *+' conftest.er1 >conftest.err
12462
 
  rm -f conftest.er1
12463
 
  cat conftest.err >&5
12464
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465
 
  (exit $ac_status); } && {
12466
 
         test -z "$ac_c_werror_flag" ||
12467
 
         test ! -s conftest.err
12468
 
       } && test -s conftest$ac_exeext && {
12469
 
         test "$cross_compiling" = yes ||
12470
 
         $as_test_x conftest$ac_exeext
12471
 
       }; then
12472
 
  ac_cv_func_dlopen=yes
12473
 
else
12474
 
  $as_echo "$as_me: failed program was:" >&5
12475
 
sed 's/^/| /' conftest.$ac_ext >&5
12476
 
 
12477
 
        ac_cv_func_dlopen=no
12478
 
fi
12479
 
 
12480
 
rm -rf conftest.dSYM
12481
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12482
 
      conftest$ac_exeext conftest.$ac_ext
12483
 
fi
12484
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12485
 
$as_echo "$ac_cv_func_dlopen" >&6; }
12486
 
if test "x$ac_cv_func_dlopen" = x""yes; then
 
12008
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
12009
if test "x$ac_cv_func_dlopen" = xyes; then :
12487
12010
  lt_cv_dlopen="dlopen"
12488
12011
else
12489
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
12012
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12490
12013
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12491
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 
12014
if ${ac_cv_lib_dl_dlopen+:} false; then :
12492
12015
  $as_echo_n "(cached) " >&6
12493
12016
else
12494
12017
  ac_check_lib_save_LIBS=$LIBS
12495
12018
LIBS="-ldl  $LIBS"
12496
 
cat >conftest.$ac_ext <<_ACEOF
12497
 
/* confdefs.h.  */
12498
 
_ACEOF
12499
 
cat confdefs.h >>conftest.$ac_ext
12500
 
cat >>conftest.$ac_ext <<_ACEOF
 
12019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12501
12020
/* end confdefs.h.  */
12502
12021
 
12503
12022
/* Override any GCC internal prototype to avoid an error.
12515
12034
  return 0;
12516
12035
}
12517
12036
_ACEOF
12518
 
rm -f conftest.$ac_objext conftest$ac_exeext
12519
 
if { (ac_try="$ac_link"
12520
 
case "(($ac_try" in
12521
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12522
 
  *) ac_try_echo=$ac_try;;
12523
 
esac
12524
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12525
 
$as_echo "$ac_try_echo") >&5
12526
 
  (eval "$ac_link") 2>conftest.er1
12527
 
  ac_status=$?
12528
 
  grep -v '^ *+' conftest.er1 >conftest.err
12529
 
  rm -f conftest.er1
12530
 
  cat conftest.err >&5
12531
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532
 
  (exit $ac_status); } && {
12533
 
         test -z "$ac_c_werror_flag" ||
12534
 
         test ! -s conftest.err
12535
 
       } && test -s conftest$ac_exeext && {
12536
 
         test "$cross_compiling" = yes ||
12537
 
         $as_test_x conftest$ac_exeext
12538
 
       }; then
 
12037
if ac_fn_c_try_link "$LINENO"; then :
12539
12038
  ac_cv_lib_dl_dlopen=yes
12540
12039
else
12541
 
  $as_echo "$as_me: failed program was:" >&5
12542
 
sed 's/^/| /' conftest.$ac_ext >&5
12543
 
 
12544
 
        ac_cv_lib_dl_dlopen=no
 
12040
  ac_cv_lib_dl_dlopen=no
12545
12041
fi
12546
 
 
12547
 
rm -rf conftest.dSYM
12548
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12549
 
      conftest$ac_exeext conftest.$ac_ext
 
12042
rm -f core conftest.err conftest.$ac_objext \
 
12043
    conftest$ac_exeext conftest.$ac_ext
12550
12044
LIBS=$ac_check_lib_save_LIBS
12551
12045
fi
12552
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
12046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12553
12047
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12554
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 
12048
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12555
12049
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12556
12050
else
12557
 
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
12051
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12558
12052
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12559
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 
12053
if ${ac_cv_lib_svld_dlopen+:} false; then :
12560
12054
  $as_echo_n "(cached) " >&6
12561
12055
else
12562
12056
  ac_check_lib_save_LIBS=$LIBS
12563
12057
LIBS="-lsvld  $LIBS"
12564
 
cat >conftest.$ac_ext <<_ACEOF
12565
 
/* confdefs.h.  */
12566
 
_ACEOF
12567
 
cat confdefs.h >>conftest.$ac_ext
12568
 
cat >>conftest.$ac_ext <<_ACEOF
 
12058
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12569
12059
/* end confdefs.h.  */
12570
12060
 
12571
12061
/* Override any GCC internal prototype to avoid an error.
12583
12073
  return 0;
12584
12074
}
12585
12075
_ACEOF
12586
 
rm -f conftest.$ac_objext conftest$ac_exeext
12587
 
if { (ac_try="$ac_link"
12588
 
case "(($ac_try" in
12589
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12590
 
  *) ac_try_echo=$ac_try;;
12591
 
esac
12592
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12593
 
$as_echo "$ac_try_echo") >&5
12594
 
  (eval "$ac_link") 2>conftest.er1
12595
 
  ac_status=$?
12596
 
  grep -v '^ *+' conftest.er1 >conftest.err
12597
 
  rm -f conftest.er1
12598
 
  cat conftest.err >&5
12599
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600
 
  (exit $ac_status); } && {
12601
 
         test -z "$ac_c_werror_flag" ||
12602
 
         test ! -s conftest.err
12603
 
       } && test -s conftest$ac_exeext && {
12604
 
         test "$cross_compiling" = yes ||
12605
 
         $as_test_x conftest$ac_exeext
12606
 
       }; then
 
12076
if ac_fn_c_try_link "$LINENO"; then :
12607
12077
  ac_cv_lib_svld_dlopen=yes
12608
12078
else
12609
 
  $as_echo "$as_me: failed program was:" >&5
12610
 
sed 's/^/| /' conftest.$ac_ext >&5
12611
 
 
12612
 
        ac_cv_lib_svld_dlopen=no
 
12079
  ac_cv_lib_svld_dlopen=no
12613
12080
fi
12614
 
 
12615
 
rm -rf conftest.dSYM
12616
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12617
 
      conftest$ac_exeext conftest.$ac_ext
 
12081
rm -f core conftest.err conftest.$ac_objext \
 
12082
    conftest$ac_exeext conftest.$ac_ext
12618
12083
LIBS=$ac_check_lib_save_LIBS
12619
12084
fi
12620
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
12085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12621
12086
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12622
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 
12087
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12623
12088
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12624
12089
else
12625
 
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
12090
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12626
12091
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12627
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 
12092
if ${ac_cv_lib_dld_dld_link+:} false; then :
12628
12093
  $as_echo_n "(cached) " >&6
12629
12094
else
12630
12095
  ac_check_lib_save_LIBS=$LIBS
12631
12096
LIBS="-ldld  $LIBS"
12632
 
cat >conftest.$ac_ext <<_ACEOF
12633
 
/* confdefs.h.  */
12634
 
_ACEOF
12635
 
cat confdefs.h >>conftest.$ac_ext
12636
 
cat >>conftest.$ac_ext <<_ACEOF
 
12097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12637
12098
/* end confdefs.h.  */
12638
12099
 
12639
12100
/* Override any GCC internal prototype to avoid an error.
12651
12112
  return 0;
12652
12113
}
12653
12114
_ACEOF
12654
 
rm -f conftest.$ac_objext conftest$ac_exeext
12655
 
if { (ac_try="$ac_link"
12656
 
case "(($ac_try" in
12657
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12658
 
  *) ac_try_echo=$ac_try;;
12659
 
esac
12660
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12661
 
$as_echo "$ac_try_echo") >&5
12662
 
  (eval "$ac_link") 2>conftest.er1
12663
 
  ac_status=$?
12664
 
  grep -v '^ *+' conftest.er1 >conftest.err
12665
 
  rm -f conftest.er1
12666
 
  cat conftest.err >&5
12667
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668
 
  (exit $ac_status); } && {
12669
 
         test -z "$ac_c_werror_flag" ||
12670
 
         test ! -s conftest.err
12671
 
       } && test -s conftest$ac_exeext && {
12672
 
         test "$cross_compiling" = yes ||
12673
 
         $as_test_x conftest$ac_exeext
12674
 
       }; then
 
12115
if ac_fn_c_try_link "$LINENO"; then :
12675
12116
  ac_cv_lib_dld_dld_link=yes
12676
12117
else
12677
 
  $as_echo "$as_me: failed program was:" >&5
12678
 
sed 's/^/| /' conftest.$ac_ext >&5
12679
 
 
12680
 
        ac_cv_lib_dld_dld_link=no
 
12118
  ac_cv_lib_dld_dld_link=no
12681
12119
fi
12682
 
 
12683
 
rm -rf conftest.dSYM
12684
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12685
 
      conftest$ac_exeext conftest.$ac_ext
 
12120
rm -f core conftest.err conftest.$ac_objext \
 
12121
    conftest$ac_exeext conftest.$ac_ext
12686
12122
LIBS=$ac_check_lib_save_LIBS
12687
12123
fi
12688
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
12124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12689
12125
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12690
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
12126
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12691
12127
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12692
12128
fi
12693
12129
 
12726
12162
    save_LIBS="$LIBS"
12727
12163
    LIBS="$lt_cv_dlopen_libs $LIBS"
12728
12164
 
12729
 
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
12165
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12730
12166
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12731
 
if test "${lt_cv_dlopen_self+set}" = set; then
 
12167
if ${lt_cv_dlopen_self+:} false; then :
12732
12168
  $as_echo_n "(cached) " >&6
12733
12169
else
12734
12170
          if test "$cross_compiling" = yes; then :
12737
12173
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12738
12174
  lt_status=$lt_dlunknown
12739
12175
  cat > conftest.$ac_ext <<_LT_EOF
12740
 
#line 12740 "configure"
 
12176
#line $LINENO "configure"
12741
12177
#include "confdefs.h"
12742
12178
 
12743
12179
#if HAVE_DLFCN_H
12778
12214
#  endif
12779
12215
#endif
12780
12216
 
12781
 
void fnord() { int i=42;}
 
12217
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12218
   correspondingly for the symbols needed.  */
 
12219
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12220
void fnord () __attribute__((visibility("default")));
 
12221
#endif
 
12222
 
 
12223
void fnord () { int i=42; }
12782
12224
int main ()
12783
12225
{
12784
12226
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12787
12229
  if (self)
12788
12230
    {
12789
12231
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12790
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12232
      else
 
12233
        {
 
12234
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12235
          else puts (dlerror ());
 
12236
        }
12791
12237
      /* dlclose (self); */
12792
12238
    }
12793
12239
  else
12796
12242
  return status;
12797
12243
}
12798
12244
_LT_EOF
12799
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12245
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12800
12246
  (eval $ac_link) 2>&5
12801
12247
  ac_status=$?
12802
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12803
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12248
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12249
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12804
12250
    (./conftest; exit; ) >&5 2>/dev/null
12805
12251
    lt_status=$?
12806
12252
    case x$lt_status in
12817
12263
 
12818
12264
 
12819
12265
fi
12820
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
12266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12821
12267
$as_echo "$lt_cv_dlopen_self" >&6; }
12822
12268
 
12823
12269
    if test "x$lt_cv_dlopen_self" = xyes; then
12824
12270
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12825
 
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
12271
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12826
12272
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12827
 
if test "${lt_cv_dlopen_self_static+set}" = set; then
 
12273
if ${lt_cv_dlopen_self_static+:} false; then :
12828
12274
  $as_echo_n "(cached) " >&6
12829
12275
else
12830
12276
          if test "$cross_compiling" = yes; then :
12833
12279
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12834
12280
  lt_status=$lt_dlunknown
12835
12281
  cat > conftest.$ac_ext <<_LT_EOF
12836
 
#line 12836 "configure"
 
12282
#line $LINENO "configure"
12837
12283
#include "confdefs.h"
12838
12284
 
12839
12285
#if HAVE_DLFCN_H
12874
12320
#  endif
12875
12321
#endif
12876
12322
 
12877
 
void fnord() { int i=42;}
 
12323
/* When -fvisbility=hidden is used, assume the code has been annotated
 
12324
   correspondingly for the symbols needed.  */
 
12325
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
12326
void fnord () __attribute__((visibility("default")));
 
12327
#endif
 
12328
 
 
12329
void fnord () { int i=42; }
12878
12330
int main ()
12879
12331
{
12880
12332
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12883
12335
  if (self)
12884
12336
    {
12885
12337
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12886
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
12338
      else
 
12339
        {
 
12340
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
12341
          else puts (dlerror ());
 
12342
        }
12887
12343
      /* dlclose (self); */
12888
12344
    }
12889
12345
  else
12892
12348
  return status;
12893
12349
}
12894
12350
_LT_EOF
12895
 
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 
12351
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12896
12352
  (eval $ac_link) 2>&5
12897
12353
  ac_status=$?
12898
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899
 
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 
12354
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12355
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12900
12356
    (./conftest; exit; ) >&5 2>/dev/null
12901
12357
    lt_status=$?
12902
12358
    case x$lt_status in
12913
12369
 
12914
12370
 
12915
12371
fi
12916
 
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12917
12373
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12918
12374
    fi
12919
12375
 
12952
12408
 
12953
12409
striplib=
12954
12410
old_striplib=
12955
 
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12956
12412
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12957
12413
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12958
12414
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12959
12415
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12960
 
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12961
12417
$as_echo "yes" >&6; }
12962
12418
else
12963
12419
# FIXME - insert some real tests, host_os isn't really good enough
12966
12422
    if test -n "$STRIP" ; then
12967
12423
      striplib="$STRIP -x"
12968
12424
      old_striplib="$STRIP -S"
12969
 
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12425
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12970
12426
$as_echo "yes" >&6; }
12971
12427
    else
12972
 
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
12428
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12973
12429
$as_echo "no" >&6; }
12974
12430
    fi
12975
12431
    ;;
12976
12432
  *)
12977
 
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
12433
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12978
12434
$as_echo "no" >&6; }
12979
12435
    ;;
12980
12436
  esac
12992
12448
 
12993
12449
 
12994
12450
  # Report which library types will actually be built
12995
 
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12451
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12996
12452
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12997
 
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12453
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12998
12454
$as_echo "$can_build_shared" >&6; }
12999
12455
 
13000
 
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12456
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13001
12457
$as_echo_n "checking whether to build shared libraries... " >&6; }
13002
12458
  test "$can_build_shared" = "no" && enable_shared=no
13003
12459
 
13018
12474
    fi
13019
12475
    ;;
13020
12476
  esac
13021
 
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12477
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13022
12478
$as_echo "$enable_shared" >&6; }
13023
12479
 
13024
 
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12480
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13025
12481
$as_echo_n "checking whether to build static libraries... " >&6; }
13026
12482
  # Make sure either enable_shared or enable_static is yes.
13027
12483
  test "$enable_shared" = yes || enable_static=yes
13028
 
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12484
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13029
12485
$as_echo "$enable_static" >&6; }
13030
12486
 
13031
12487
 
13066
12522
        if test -n "$ac_tool_prefix"; then
13067
12523
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13068
12524
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13069
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13070
12526
$as_echo_n "checking for $ac_word... " >&6; }
13071
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 
12527
if ${ac_cv_path_PKG_CONFIG+:} false; then :
13072
12528
  $as_echo_n "(cached) " >&6
13073
12529
else
13074
12530
  case $PKG_CONFIG in
13081
12537
do
13082
12538
  IFS=$as_save_IFS
13083
12539
  test -z "$as_dir" && as_dir=.
13084
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12540
    for ac_exec_ext in '' $ac_executable_extensions; do
13085
12541
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13086
12542
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13087
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12543
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13088
12544
    break 2
13089
12545
  fi
13090
12546
done
13091
 
done
 
12547
  done
13092
12548
IFS=$as_save_IFS
13093
12549
 
13094
12550
  ;;
13096
12552
fi
13097
12553
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13098
12554
if test -n "$PKG_CONFIG"; then
13099
 
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 
12555
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13100
12556
$as_echo "$PKG_CONFIG" >&6; }
13101
12557
else
13102
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12558
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13103
12559
$as_echo "no" >&6; }
13104
12560
fi
13105
12561
 
13109
12565
  ac_pt_PKG_CONFIG=$PKG_CONFIG
13110
12566
  # Extract the first word of "pkg-config", so it can be a program name with args.
13111
12567
set dummy pkg-config; ac_word=$2
13112
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13113
12569
$as_echo_n "checking for $ac_word... " >&6; }
13114
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
12570
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13115
12571
  $as_echo_n "(cached) " >&6
13116
12572
else
13117
12573
  case $ac_pt_PKG_CONFIG in
13124
12580
do
13125
12581
  IFS=$as_save_IFS
13126
12582
  test -z "$as_dir" && as_dir=.
13127
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12583
    for ac_exec_ext in '' $ac_executable_extensions; do
13128
12584
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13129
12585
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13130
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12586
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13131
12587
    break 2
13132
12588
  fi
13133
12589
done
13134
 
done
 
12590
  done
13135
12591
IFS=$as_save_IFS
13136
12592
 
13137
12593
  ;;
13139
12595
fi
13140
12596
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13141
12597
if test -n "$ac_pt_PKG_CONFIG"; then
13142
 
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
12598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13143
12599
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13144
12600
else
13145
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12601
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13146
12602
$as_echo "no" >&6; }
13147
12603
fi
13148
12604
 
13151
12607
  else
13152
12608
    case $cross_compiling:$ac_tool_warned in
13153
12609
yes:)
13154
 
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
12610
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13155
12611
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13156
12612
ac_tool_warned=yes ;;
13157
12613
esac
13164
12620
fi
13165
12621
if test -n "$PKG_CONFIG"; then
13166
12622
        _pkg_min_version=0.9.0
13167
 
        { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
12623
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13168
12624
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13169
12625
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13170
 
                { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12626
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13171
12627
$as_echo "yes" >&6; }
13172
12628
        else
13173
 
                { $as_echo "$as_me:$LINENO: result: no" >&5
 
12629
                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13174
12630
$as_echo "no" >&6; }
13175
12631
                PKG_CONFIG=""
13176
12632
        fi
13178
12634
fi
13179
12635
 
13180
12636
# Look for headers
13181
 
 
13182
 
 
13183
 
 
13184
12637
for ac_header in endian.h poll.h sys/poll.h
13185
 
do
13186
 
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13187
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13188
 
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13189
 
$as_echo_n "checking for $ac_header... " >&6; }
13190
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13191
 
  $as_echo_n "(cached) " >&6
13192
 
fi
13193
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13194
 
                 $as_echo "$as_val"'`
13195
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13196
 
$as_echo "$ac_res" >&6; }
13197
 
else
13198
 
  # Is the header compilable?
13199
 
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13200
 
$as_echo_n "checking $ac_header usability... " >&6; }
13201
 
cat >conftest.$ac_ext <<_ACEOF
13202
 
/* confdefs.h.  */
13203
 
_ACEOF
13204
 
cat confdefs.h >>conftest.$ac_ext
13205
 
cat >>conftest.$ac_ext <<_ACEOF
13206
 
/* end confdefs.h.  */
13207
 
$ac_includes_default
13208
 
#include <$ac_header>
13209
 
_ACEOF
13210
 
rm -f conftest.$ac_objext
13211
 
if { (ac_try="$ac_compile"
13212
 
case "(($ac_try" in
13213
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13214
 
  *) ac_try_echo=$ac_try;;
13215
 
esac
13216
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13217
 
$as_echo "$ac_try_echo") >&5
13218
 
  (eval "$ac_compile") 2>conftest.er1
13219
 
  ac_status=$?
13220
 
  grep -v '^ *+' conftest.er1 >conftest.err
13221
 
  rm -f conftest.er1
13222
 
  cat conftest.err >&5
13223
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224
 
  (exit $ac_status); } && {
13225
 
         test -z "$ac_c_werror_flag" ||
13226
 
         test ! -s conftest.err
13227
 
       } && test -s conftest.$ac_objext; then
13228
 
  ac_header_compiler=yes
13229
 
else
13230
 
  $as_echo "$as_me: failed program was:" >&5
13231
 
sed 's/^/| /' conftest.$ac_ext >&5
13232
 
 
13233
 
        ac_header_compiler=no
13234
 
fi
13235
 
 
13236
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13237
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13238
 
$as_echo "$ac_header_compiler" >&6; }
13239
 
 
13240
 
# Is the header present?
13241
 
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13242
 
$as_echo_n "checking $ac_header presence... " >&6; }
13243
 
cat >conftest.$ac_ext <<_ACEOF
13244
 
/* confdefs.h.  */
13245
 
_ACEOF
13246
 
cat confdefs.h >>conftest.$ac_ext
13247
 
cat >>conftest.$ac_ext <<_ACEOF
13248
 
/* end confdefs.h.  */
13249
 
#include <$ac_header>
13250
 
_ACEOF
13251
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
13252
 
case "(($ac_try" in
13253
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13254
 
  *) ac_try_echo=$ac_try;;
13255
 
esac
13256
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13257
 
$as_echo "$ac_try_echo") >&5
13258
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13259
 
  ac_status=$?
13260
 
  grep -v '^ *+' conftest.er1 >conftest.err
13261
 
  rm -f conftest.er1
13262
 
  cat conftest.err >&5
13263
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264
 
  (exit $ac_status); } >/dev/null && {
13265
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13266
 
         test ! -s conftest.err
13267
 
       }; then
13268
 
  ac_header_preproc=yes
13269
 
else
13270
 
  $as_echo "$as_me: failed program was:" >&5
13271
 
sed 's/^/| /' conftest.$ac_ext >&5
13272
 
 
13273
 
  ac_header_preproc=no
13274
 
fi
13275
 
 
13276
 
rm -f conftest.err conftest.$ac_ext
13277
 
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13278
 
$as_echo "$ac_header_preproc" >&6; }
13279
 
 
13280
 
# So?  What about this header?
13281
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13282
 
  yes:no: )
13283
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13284
 
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13285
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13286
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13287
 
    ac_header_preproc=yes
13288
 
    ;;
13289
 
  no:yes:* )
13290
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13291
 
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13292
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
13293
 
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
13294
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13295
 
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13296
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
13297
 
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
13298
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13299
 
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13300
 
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13301
 
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13302
 
    ( cat <<\_ASBOX
13303
 
## ---------------------------------------------------------------------- ##
13304
 
## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
13305
 
## ---------------------------------------------------------------------- ##
13306
 
_ASBOX
13307
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
13308
 
    ;;
13309
 
esac
13310
 
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13311
 
$as_echo_n "checking for $ac_header... " >&6; }
13312
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13313
 
  $as_echo_n "(cached) " >&6
13314
 
else
13315
 
  eval "$as_ac_Header=\$ac_header_preproc"
13316
 
fi
13317
 
ac_res=`eval 'as_val=${'$as_ac_Header'}
13318
 
                 $as_echo "$as_val"'`
13319
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13320
 
$as_echo "$ac_res" >&6; }
13321
 
 
13322
 
fi
13323
 
as_val=`eval 'as_val=${'$as_ac_Header'}
13324
 
                 $as_echo "$as_val"'`
13325
 
   if test "x$as_val" = x""yes; then
 
12638
do :
 
12639
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12640
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 
12641
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13326
12642
  cat >>confdefs.h <<_ACEOF
13327
12643
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13328
12644
_ACEOF
13331
12647
 
13332
12648
done
13333
12649
 
13334
 
 
13335
12650
for ac_func in poll
13336
 
do
13337
 
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13338
 
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13339
 
$as_echo_n "checking for $ac_func... " >&6; }
13340
 
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13341
 
  $as_echo_n "(cached) " >&6
13342
 
else
13343
 
  cat >conftest.$ac_ext <<_ACEOF
13344
 
/* confdefs.h.  */
13345
 
_ACEOF
13346
 
cat confdefs.h >>conftest.$ac_ext
13347
 
cat >>conftest.$ac_ext <<_ACEOF
13348
 
/* end confdefs.h.  */
13349
 
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13350
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13351
 
#define $ac_func innocuous_$ac_func
13352
 
 
13353
 
/* System header to define __stub macros and hopefully few prototypes,
13354
 
    which can conflict with char $ac_func (); below.
13355
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13356
 
    <limits.h> exists even on freestanding compilers.  */
13357
 
 
13358
 
#ifdef __STDC__
13359
 
# include <limits.h>
13360
 
#else
13361
 
# include <assert.h>
13362
 
#endif
13363
 
 
13364
 
#undef $ac_func
13365
 
 
13366
 
/* Override any GCC internal prototype to avoid an error.
13367
 
   Use char because int might match the return type of a GCC
13368
 
   builtin and then its argument prototype would still apply.  */
13369
 
#ifdef __cplusplus
13370
 
extern "C"
13371
 
#endif
13372
 
char $ac_func ();
13373
 
/* The GNU C library defines this for functions which it implements
13374
 
    to always fail with ENOSYS.  Some functions are actually named
13375
 
    something starting with __ and the normal name is an alias.  */
13376
 
#if defined __stub_$ac_func || defined __stub___$ac_func
13377
 
choke me
13378
 
#endif
13379
 
 
13380
 
int
13381
 
main ()
13382
 
{
13383
 
return $ac_func ();
13384
 
  ;
13385
 
  return 0;
13386
 
}
13387
 
_ACEOF
13388
 
rm -f conftest.$ac_objext conftest$ac_exeext
13389
 
if { (ac_try="$ac_link"
13390
 
case "(($ac_try" in
13391
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13392
 
  *) ac_try_echo=$ac_try;;
13393
 
esac
13394
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13395
 
$as_echo "$ac_try_echo") >&5
13396
 
  (eval "$ac_link") 2>conftest.er1
13397
 
  ac_status=$?
13398
 
  grep -v '^ *+' conftest.er1 >conftest.err
13399
 
  rm -f conftest.er1
13400
 
  cat conftest.err >&5
13401
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402
 
  (exit $ac_status); } && {
13403
 
         test -z "$ac_c_werror_flag" ||
13404
 
         test ! -s conftest.err
13405
 
       } && test -s conftest$ac_exeext && {
13406
 
         test "$cross_compiling" = yes ||
13407
 
         $as_test_x conftest$ac_exeext
13408
 
       }; then
13409
 
  eval "$as_ac_var=yes"
13410
 
else
13411
 
  $as_echo "$as_me: failed program was:" >&5
13412
 
sed 's/^/| /' conftest.$ac_ext >&5
13413
 
 
13414
 
        eval "$as_ac_var=no"
13415
 
fi
13416
 
 
13417
 
rm -rf conftest.dSYM
13418
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13419
 
      conftest$ac_exeext conftest.$ac_ext
13420
 
fi
13421
 
ac_res=`eval 'as_val=${'$as_ac_var'}
13422
 
                 $as_echo "$as_val"'`
13423
 
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13424
 
$as_echo "$ac_res" >&6; }
13425
 
as_val=`eval 'as_val=${'$as_ac_var'}
13426
 
                 $as_echo "$as_val"'`
13427
 
   if test "x$as_val" = x""yes; then
 
12651
do :
 
12652
  ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
 
12653
if test "x$ac_cv_func_poll" = xyes; then :
13428
12654
  cat >>confdefs.h <<_ACEOF
13429
 
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12655
#define HAVE_POLL 1
13430
12656
_ACEOF
13431
12657
 
13432
12658
fi
13445
12671
#       Bitstream Speedo rasterizer
13446
12672
#
13447
12673
# Check whether --enable-freetype was given.
13448
 
if test "${enable_freetype+set}" = set; then
 
12674
if test "${enable_freetype+set}" = set; then :
13449
12675
  enableval=$enable_freetype; XFONT_FREETYPE=$enableval
13450
12676
else
13451
12677
  XFONT_FREETYPE=yes
13461
12687
 
13462
12688
if test x$XFONT_FREETYPE = xyes; then
13463
12689
 
13464
 
cat >>confdefs.h <<\_ACEOF
13465
 
#define XFONT_FREETYPE 1
13466
 
_ACEOF
 
12690
$as_echo "#define XFONT_FREETYPE 1" >>confdefs.h
13467
12691
 
13468
12692
 
13469
12693
# Check whether --with-freetype-config was given.
13470
 
if test "${with_freetype_config+set}" = set; then
 
12694
if test "${with_freetype_config+set}" = set; then :
13471
12695
  withval=$with_freetype_config; freetype_config=$withval
13472
12696
else
13473
12697
  freetype_config=auto
13477
12701
        if test "$freetype_config" = "auto" ; then
13478
12702
 
13479
12703
pkg_failed=no
13480
 
{ $as_echo "$as_me:$LINENO: checking for FREETYPE" >&5
 
12704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
13481
12705
$as_echo_n "checking for FREETYPE... " >&6; }
13482
12706
 
13483
 
if test -n "$PKG_CONFIG"; then
13484
 
    if test -n "$FREETYPE_CFLAGS"; then
13485
 
        pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
13486
 
    else
13487
 
        if test -n "$PKG_CONFIG" && \
13488
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
 
12707
if test -n "$FREETYPE_CFLAGS"; then
 
12708
    pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
 
12709
 elif test -n "$PKG_CONFIG"; then
 
12710
    if test -n "$PKG_CONFIG" && \
 
12711
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
13489
12712
  ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
13490
12713
  ac_status=$?
13491
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492
 
  (exit $ac_status); }; then
 
12714
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12715
  test $ac_status = 0; }; then
13493
12716
  pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
13494
12717
else
13495
12718
  pkg_failed=yes
13496
12719
fi
13497
 
    fi
13498
 
else
13499
 
        pkg_failed=untried
 
12720
 else
 
12721
    pkg_failed=untried
13500
12722
fi
13501
 
if test -n "$PKG_CONFIG"; then
13502
 
    if test -n "$FREETYPE_LIBS"; then
13503
 
        pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
13504
 
    else
13505
 
        if test -n "$PKG_CONFIG" && \
13506
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"freetype2\"") >&5
 
12723
if test -n "$FREETYPE_LIBS"; then
 
12724
    pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
 
12725
 elif test -n "$PKG_CONFIG"; then
 
12726
    if test -n "$PKG_CONFIG" && \
 
12727
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
13507
12728
  ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
13508
12729
  ac_status=$?
13509
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510
 
  (exit $ac_status); }; then
 
12730
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12731
  test $ac_status = 0; }; then
13511
12732
  pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
13512
12733
else
13513
12734
  pkg_failed=yes
13514
12735
fi
13515
 
    fi
13516
 
else
13517
 
        pkg_failed=untried
 
12736
 else
 
12737
    pkg_failed=untried
13518
12738
fi
13519
12739
 
13520
12740
 
13527
12747
        _pkg_short_errors_supported=no
13528
12748
fi
13529
12749
        if test $_pkg_short_errors_supported = yes; then
13530
 
                FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2"`
 
12750
                FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
13531
12751
        else
13532
 
                FREETYPE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2"`
 
12752
                FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
13533
12753
        fi
13534
12754
        # Put the nasty error message in config.log where it belongs
13535
12755
        echo "$FREETYPE_PKG_ERRORS" >&5
13536
12756
 
13537
 
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
12757
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13538
12758
$as_echo "no" >&6; }
13539
12759
                freetype_config=yes
13540
12760
elif test $pkg_failed = untried; then
13542
12762
else
13543
12763
        FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
13544
12764
        FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
13545
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12765
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13546
12766
$as_echo "yes" >&6; }
13547
12767
        freetype_config=no
13548
12768
fi
13551
12771
        if test "$freetype_config" = "yes"; then
13552
12772
                # Extract the first word of "freetype-config", so it can be a program name with args.
13553
12773
set dummy freetype-config; ac_word=$2
13554
 
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13555
12775
$as_echo_n "checking for $ac_word... " >&6; }
13556
 
if test "${ac_cv_path_ft_config+set}" = set; then
 
12776
if ${ac_cv_path_ft_config+:} false; then :
13557
12777
  $as_echo_n "(cached) " >&6
13558
12778
else
13559
12779
  case $ft_config in
13566
12786
do
13567
12787
  IFS=$as_save_IFS
13568
12788
  test -z "$as_dir" && as_dir=.
13569
 
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12789
    for ac_exec_ext in '' $ac_executable_extensions; do
13570
12790
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13571
12791
    ac_cv_path_ft_config="$as_dir/$ac_word$ac_exec_ext"
13572
 
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12792
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13573
12793
    break 2
13574
12794
  fi
13575
12795
done
13576
 
done
 
12796
  done
13577
12797
IFS=$as_save_IFS
13578
12798
 
13579
12799
  test -z "$ac_cv_path_ft_config" && ac_cv_path_ft_config="no"
13582
12802
fi
13583
12803
ft_config=$ac_cv_path_ft_config
13584
12804
if test -n "$ft_config"; then
13585
 
  { $as_echo "$as_me:$LINENO: result: $ft_config" >&5
 
12805
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_config" >&5
13586
12806
$as_echo "$ft_config" >&6; }
13587
12807
else
13588
 
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12808
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13589
12809
$as_echo "no" >&6; }
13590
12810
fi
13591
12811
 
13592
12812
 
13593
12813
                if test "$ft_config" = "no"; then
13594
 
                        { { $as_echo "$as_me:$LINENO: error: You must have freetype installed; see http://www.freetype.org/" >&5
13595
 
$as_echo "$as_me: error: You must have freetype installed; see http://www.freetype.org/" >&2;}
13596
 
   { (exit 1); exit 1; }; }
 
12814
                        as_fn_error $? "You must have freetype installed; see http://www.freetype.org/" "$LINENO" 5
13597
12815
                fi
13598
12816
        else
13599
12817
                ft_config="$freetype_config"
13623
12841
#
13624
12842
 
13625
12843
 
13626
 
cat >>confdefs.h <<\_ACEOF
13627
 
#define X_GZIP_FONT_COMPRESSION 1
13628
 
_ACEOF
 
12844
$as_echo "#define X_GZIP_FONT_COMPRESSION 1" >>confdefs.h
13629
12845
 
13630
12846
X_GZIP_FONT_COMPRESSION=1
13631
12847
 
13632
 
{ $as_echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
 
12848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzopen in -lz" >&5
13633
12849
$as_echo_n "checking for gzopen in -lz... " >&6; }
13634
 
if test "${ac_cv_lib_z_gzopen+set}" = set; then
 
12850
if ${ac_cv_lib_z_gzopen+:} false; then :
13635
12851
  $as_echo_n "(cached) " >&6
13636
12852
else
13637
12853
  ac_check_lib_save_LIBS=$LIBS
13638
12854
LIBS="-lz  $LIBS"
13639
 
cat >conftest.$ac_ext <<_ACEOF
13640
 
/* confdefs.h.  */
13641
 
_ACEOF
13642
 
cat confdefs.h >>conftest.$ac_ext
13643
 
cat >>conftest.$ac_ext <<_ACEOF
 
12855
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13644
12856
/* end confdefs.h.  */
13645
12857
 
13646
12858
/* Override any GCC internal prototype to avoid an error.
13658
12870
  return 0;
13659
12871
}
13660
12872
_ACEOF
13661
 
rm -f conftest.$ac_objext conftest$ac_exeext
13662
 
if { (ac_try="$ac_link"
13663
 
case "(($ac_try" in
13664
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13665
 
  *) ac_try_echo=$ac_try;;
13666
 
esac
13667
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13668
 
$as_echo "$ac_try_echo") >&5
13669
 
  (eval "$ac_link") 2>conftest.er1
13670
 
  ac_status=$?
13671
 
  grep -v '^ *+' conftest.er1 >conftest.err
13672
 
  rm -f conftest.er1
13673
 
  cat conftest.err >&5
13674
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675
 
  (exit $ac_status); } && {
13676
 
         test -z "$ac_c_werror_flag" ||
13677
 
         test ! -s conftest.err
13678
 
       } && test -s conftest$ac_exeext && {
13679
 
         test "$cross_compiling" = yes ||
13680
 
         $as_test_x conftest$ac_exeext
13681
 
       }; then
 
12873
if ac_fn_c_try_link "$LINENO"; then :
13682
12874
  ac_cv_lib_z_gzopen=yes
13683
12875
else
13684
 
  $as_echo "$as_me: failed program was:" >&5
13685
 
sed 's/^/| /' conftest.$ac_ext >&5
13686
 
 
13687
 
        ac_cv_lib_z_gzopen=no
 
12876
  ac_cv_lib_z_gzopen=no
13688
12877
fi
13689
 
 
13690
 
rm -rf conftest.dSYM
13691
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13692
 
      conftest$ac_exeext conftest.$ac_ext
 
12878
rm -f core conftest.err conftest.$ac_objext \
 
12879
    conftest$ac_exeext conftest.$ac_ext
13693
12880
LIBS=$ac_check_lib_save_LIBS
13694
12881
fi
13695
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
 
12882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzopen" >&5
13696
12883
$as_echo "$ac_cv_lib_z_gzopen" >&6; }
13697
 
if test "x$ac_cv_lib_z_gzopen" = x""yes; then
 
12884
if test "x$ac_cv_lib_z_gzopen" = xyes; then :
13698
12885
  Z_LIBS=-lz
13699
12886
else
13700
 
  { { $as_echo "$as_me:$LINENO: error: *** zlib is required" >&5
13701
 
$as_echo "$as_me: error: *** zlib is required" >&2;}
13702
 
   { (exit 1); exit 1; }; }
 
12887
  as_fn_error $? "*** zlib is required" "$LINENO" 5
13703
12888
fi
13704
12889
 
13705
12890
 
13706
12891
 
13707
12892
# Check whether --with-bzip2 was given.
13708
 
if test "${with_bzip2+set}" = set; then
 
12893
if test "${with_bzip2+set}" = set; then :
13709
12894
  withval=$with_bzip2;
13710
12895
else
13711
12896
  with_bzip2=no
13712
12897
fi
13713
12898
 
13714
12899
if test "x$with_bzip2" = xyes; then
13715
 
        { $as_echo "$as_me:$LINENO: checking for BZ2_bzopen in -lbz2" >&5
 
12900
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzopen in -lbz2" >&5
13716
12901
$as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
13717
 
if test "${ac_cv_lib_bz2_BZ2_bzopen+set}" = set; then
 
12902
if ${ac_cv_lib_bz2_BZ2_bzopen+:} false; then :
13718
12903
  $as_echo_n "(cached) " >&6
13719
12904
else
13720
12905
  ac_check_lib_save_LIBS=$LIBS
13721
12906
LIBS="-lbz2  $LIBS"
13722
 
cat >conftest.$ac_ext <<_ACEOF
13723
 
/* confdefs.h.  */
13724
 
_ACEOF
13725
 
cat confdefs.h >>conftest.$ac_ext
13726
 
cat >>conftest.$ac_ext <<_ACEOF
 
12907
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13727
12908
/* end confdefs.h.  */
13728
12909
 
13729
12910
/* Override any GCC internal prototype to avoid an error.
13741
12922
  return 0;
13742
12923
}
13743
12924
_ACEOF
13744
 
rm -f conftest.$ac_objext conftest$ac_exeext
13745
 
if { (ac_try="$ac_link"
13746
 
case "(($ac_try" in
13747
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13748
 
  *) ac_try_echo=$ac_try;;
13749
 
esac
13750
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13751
 
$as_echo "$ac_try_echo") >&5
13752
 
  (eval "$ac_link") 2>conftest.er1
13753
 
  ac_status=$?
13754
 
  grep -v '^ *+' conftest.er1 >conftest.err
13755
 
  rm -f conftest.er1
13756
 
  cat conftest.err >&5
13757
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758
 
  (exit $ac_status); } && {
13759
 
         test -z "$ac_c_werror_flag" ||
13760
 
         test ! -s conftest.err
13761
 
       } && test -s conftest$ac_exeext && {
13762
 
         test "$cross_compiling" = yes ||
13763
 
         $as_test_x conftest$ac_exeext
13764
 
       }; then
 
12925
if ac_fn_c_try_link "$LINENO"; then :
13765
12926
  ac_cv_lib_bz2_BZ2_bzopen=yes
13766
12927
else
13767
 
  $as_echo "$as_me: failed program was:" >&5
13768
 
sed 's/^/| /' conftest.$ac_ext >&5
13769
 
 
13770
 
        ac_cv_lib_bz2_BZ2_bzopen=no
 
12928
  ac_cv_lib_bz2_BZ2_bzopen=no
13771
12929
fi
13772
 
 
13773
 
rm -rf conftest.dSYM
13774
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13775
 
      conftest$ac_exeext conftest.$ac_ext
 
12930
rm -f core conftest.err conftest.$ac_objext \
 
12931
    conftest$ac_exeext conftest.$ac_ext
13776
12932
LIBS=$ac_check_lib_save_LIBS
13777
12933
fi
13778
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
 
12934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
13779
12935
$as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
13780
 
if test "x$ac_cv_lib_bz2_BZ2_bzopen" = x""yes; then
 
12936
if test "x$ac_cv_lib_bz2_BZ2_bzopen" = xyes; then :
13781
12937
  Z_LIBS="$Z_LIBS -lbz2"
13782
12938
else
13783
 
  { { $as_echo "$as_me:$LINENO: error: *** libbz2 is required for bzip2 support" >&5
13784
 
$as_echo "$as_me: error: *** libbz2 is required for bzip2 support" >&2;}
13785
 
   { (exit 1); exit 1; }; }
 
12939
  as_fn_error $? "*** libbz2 is required for bzip2 support" "$LINENO" 5
13786
12940
fi
13787
12941
 
13788
12942
 
13789
 
cat >>confdefs.h <<\_ACEOF
13790
 
#define X_BZIP2_FONT_COMPRESSION 1
13791
 
_ACEOF
 
12943
$as_echo "#define X_BZIP2_FONT_COMPRESSION 1" >>confdefs.h
13792
12944
 
13793
12945
fi
13794
12946
 if test "x$with_bzip2" = xyes ; then
13802
12954
 
13803
12955
 
13804
12956
# Check whether --enable-builtins was given.
13805
 
if test "${enable_builtins+set}" = set; then
 
12957
if test "${enable_builtins+set}" = set; then :
13806
12958
  enableval=$enable_builtins; XFONT_BUILTINS=$enableval
13807
12959
else
13808
12960
  XFONT_BUILTINS=yes
13818
12970
 
13819
12971
if test "x$XFONT_BUILTINS" = xyes; then
13820
12972
 
13821
 
cat >>confdefs.h <<\_ACEOF
13822
 
#define XFONT_BUILTINS 1
13823
 
_ACEOF
 
12973
$as_echo "#define XFONT_BUILTINS 1" >>confdefs.h
13824
12974
 
13825
12975
        XFONT_BITMAP=yes
13826
12976
fi
13827
12977
 
13828
12978
# Check whether --enable-pcfformat was given.
13829
 
if test "${enable_pcfformat+set}" = set; then
 
12979
if test "${enable_pcfformat+set}" = set; then :
13830
12980
  enableval=$enable_pcfformat; XFONT_PCFFORMAT=$enableval
13831
12981
else
13832
12982
  XFONT_PCFFORMAT=yes
13842
12992
 
13843
12993
if test "x$XFONT_PCFFORMAT" = xyes; then
13844
12994
 
13845
 
cat >>confdefs.h <<\_ACEOF
13846
 
#define XFONT_PCFFORMAT 1
13847
 
_ACEOF
 
12995
$as_echo "#define XFONT_PCFFORMAT 1" >>confdefs.h
13848
12996
 
13849
12997
        XFONT_BITMAP=yes
13850
12998
fi
13851
12999
 
13852
13000
# Check whether --enable-bdfformat was given.
13853
 
if test "${enable_bdfformat+set}" = set; then
 
13001
if test "${enable_bdfformat+set}" = set; then :
13854
13002
  enableval=$enable_bdfformat; XFONT_BDFFORMAT=$enableval
13855
13003
else
13856
13004
  XFONT_BDFFORMAT=yes
13866
13014
 
13867
13015
if test "x$XFONT_BDFFORMAT" = xyes; then
13868
13016
 
13869
 
cat >>confdefs.h <<\_ACEOF
13870
 
#define XFONT_BDFFORMAT 1
13871
 
_ACEOF
 
13017
$as_echo "#define XFONT_BDFFORMAT 1" >>confdefs.h
13872
13018
 
13873
13019
        XFONT_BITMAP=yes
13874
13020
fi
13875
13021
 
13876
13022
# Check whether --enable-snfformat was given.
13877
 
if test "${enable_snfformat+set}" = set; then
 
13023
if test "${enable_snfformat+set}" = set; then :
13878
13024
  enableval=$enable_snfformat; XFONT_SNFFORMAT=$enableval
13879
13025
else
13880
13026
  XFONT_SNFFORMAT=yes
13890
13036
 
13891
13037
if test "x$XFONT_SNFFORMAT" = xyes; then
13892
13038
 
13893
 
cat >>confdefs.h <<\_ACEOF
13894
 
#define XFONT_SNFFORMAT 1
13895
 
_ACEOF
 
13039
$as_echo "#define XFONT_SNFFORMAT 1" >>confdefs.h
13896
13040
 
13897
13041
        XFONT_BITMAP=yes
13898
13042
fi
13907
13051
 
13908
13052
if test "x$XFONT_BITMAP" = xyes; then
13909
13053
 
13910
 
cat >>confdefs.h <<\_ACEOF
13911
 
#define XFONT_BITMAP 1
13912
 
_ACEOF
 
13054
$as_echo "#define XFONT_BITMAP 1" >>confdefs.h
13913
13055
 
13914
13056
        XFONT_FONTFILE=yes
13915
13057
fi
13924
13066
 
13925
13067
if test "x$XFONT_FONTFILE" = xyes; then
13926
13068
 
13927
 
cat >>confdefs.h <<\_ACEOF
13928
 
#define XFONT_FONTFILE 1
13929
 
_ACEOF
 
13069
$as_echo "#define XFONT_FONTFILE 1" >>confdefs.h
13930
13070
 
13931
13071
fi
13932
13072
 
13935
13075
#
13936
13076
 
13937
13077
# Check whether --enable-fc was given.
13938
 
if test "${enable_fc+set}" = set; then
 
13078
if test "${enable_fc+set}" = set; then :
13939
13079
  enableval=$enable_fc; XFONT_FC=$enableval
13940
13080
else
13941
13081
  XFONT_FC=yes
13951
13091
 
13952
13092
if test "x$XFONT_FC" = xyes; then
13953
13093
 
13954
 
cat >>confdefs.h <<\_ACEOF
13955
 
#define XFONT_FC 1
13956
 
_ACEOF
 
13094
$as_echo "#define XFONT_FC 1" >>confdefs.h
13957
13095
 
13958
13096
fi
13959
13097
 
13960
13098
 
13961
 
{ $as_echo "$as_me:$LINENO: checking for hypot in -lm" >&5
 
13099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
13962
13100
$as_echo_n "checking for hypot in -lm... " >&6; }
13963
 
if test "${ac_cv_lib_m_hypot+set}" = set; then
 
13101
if ${ac_cv_lib_m_hypot+:} false; then :
13964
13102
  $as_echo_n "(cached) " >&6
13965
13103
else
13966
13104
  ac_check_lib_save_LIBS=$LIBS
13967
13105
LIBS="-lm  $LIBS"
13968
 
cat >conftest.$ac_ext <<_ACEOF
13969
 
/* confdefs.h.  */
13970
 
_ACEOF
13971
 
cat confdefs.h >>conftest.$ac_ext
13972
 
cat >>conftest.$ac_ext <<_ACEOF
 
13106
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973
13107
/* end confdefs.h.  */
13974
13108
 
13975
13109
/* Override any GCC internal prototype to avoid an error.
13987
13121
  return 0;
13988
13122
}
13989
13123
_ACEOF
13990
 
rm -f conftest.$ac_objext conftest$ac_exeext
13991
 
if { (ac_try="$ac_link"
13992
 
case "(($ac_try" in
13993
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13994
 
  *) ac_try_echo=$ac_try;;
13995
 
esac
13996
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13997
 
$as_echo "$ac_try_echo") >&5
13998
 
  (eval "$ac_link") 2>conftest.er1
13999
 
  ac_status=$?
14000
 
  grep -v '^ *+' conftest.er1 >conftest.err
14001
 
  rm -f conftest.er1
14002
 
  cat conftest.err >&5
14003
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004
 
  (exit $ac_status); } && {
14005
 
         test -z "$ac_c_werror_flag" ||
14006
 
         test ! -s conftest.err
14007
 
       } && test -s conftest$ac_exeext && {
14008
 
         test "$cross_compiling" = yes ||
14009
 
         $as_test_x conftest$ac_exeext
14010
 
       }; then
 
13124
if ac_fn_c_try_link "$LINENO"; then :
14011
13125
  ac_cv_lib_m_hypot=yes
14012
13126
else
14013
 
  $as_echo "$as_me: failed program was:" >&5
14014
 
sed 's/^/| /' conftest.$ac_ext >&5
14015
 
 
14016
 
        ac_cv_lib_m_hypot=no
 
13127
  ac_cv_lib_m_hypot=no
14017
13128
fi
14018
 
 
14019
 
rm -rf conftest.dSYM
14020
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14021
 
      conftest$ac_exeext conftest.$ac_ext
 
13129
rm -f core conftest.err conftest.$ac_objext \
 
13130
    conftest$ac_exeext conftest.$ac_ext
14022
13131
LIBS=$ac_check_lib_save_LIBS
14023
13132
fi
14024
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
 
13133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
14025
13134
$as_echo "$ac_cv_lib_m_hypot" >&6; }
14026
 
if test "x$ac_cv_lib_m_hypot" = x""yes; then
 
13135
if test "x$ac_cv_lib_m_hypot" = xyes; then :
14027
13136
  MATH_LIBS=-lm
14028
13137
 
14029
13138
else
14030
 
  { { $as_echo "$as_me:$LINENO: error: *** libm is required" >&5
14031
 
$as_echo "$as_me: error: *** libm is required" >&2;}
14032
 
   { (exit 1); exit 1; }; }
 
13139
  as_fn_error $? "*** libm is required" "$LINENO" 5
14033
13140
fi
14034
13141
 
14035
13142
 
14036
13143
 
14037
13144
pkg_failed=no
14038
 
{ $as_echo "$as_me:$LINENO: checking for XFONT" >&5
 
13145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFONT" >&5
14039
13146
$as_echo_n "checking for XFONT... " >&6; }
14040
13147
 
14041
 
if test -n "$PKG_CONFIG"; then
14042
 
    if test -n "$XFONT_CFLAGS"; then
14043
 
        pkg_cv_XFONT_CFLAGS="$XFONT_CFLAGS"
14044
 
    else
14045
 
        if test -n "$PKG_CONFIG" && \
14046
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto fontenc\"") >&5
 
13148
if test -n "$XFONT_CFLAGS"; then
 
13149
    pkg_cv_XFONT_CFLAGS="$XFONT_CFLAGS"
 
13150
 elif test -n "$PKG_CONFIG"; then
 
13151
    if test -n "$PKG_CONFIG" && \
 
13152
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto fontenc\""; } >&5
14047
13153
  ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto fontenc") 2>&5
14048
13154
  ac_status=$?
14049
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050
 
  (exit $ac_status); }; then
 
13155
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13156
  test $ac_status = 0; }; then
14051
13157
  pkg_cv_XFONT_CFLAGS=`$PKG_CONFIG --cflags "xproto xtrans fontsproto fontenc" 2>/dev/null`
14052
13158
else
14053
13159
  pkg_failed=yes
14054
13160
fi
14055
 
    fi
14056
 
else
14057
 
        pkg_failed=untried
 
13161
 else
 
13162
    pkg_failed=untried
14058
13163
fi
14059
 
if test -n "$PKG_CONFIG"; then
14060
 
    if test -n "$XFONT_LIBS"; then
14061
 
        pkg_cv_XFONT_LIBS="$XFONT_LIBS"
14062
 
    else
14063
 
        if test -n "$PKG_CONFIG" && \
14064
 
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto fontenc\"") >&5
 
13164
if test -n "$XFONT_LIBS"; then
 
13165
    pkg_cv_XFONT_LIBS="$XFONT_LIBS"
 
13166
 elif test -n "$PKG_CONFIG"; then
 
13167
    if test -n "$PKG_CONFIG" && \
 
13168
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto xtrans fontsproto fontenc\""; } >&5
14065
13169
  ($PKG_CONFIG --exists --print-errors "xproto xtrans fontsproto fontenc") 2>&5
14066
13170
  ac_status=$?
14067
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068
 
  (exit $ac_status); }; then
 
13171
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
13172
  test $ac_status = 0; }; then
14069
13173
  pkg_cv_XFONT_LIBS=`$PKG_CONFIG --libs "xproto xtrans fontsproto fontenc" 2>/dev/null`
14070
13174
else
14071
13175
  pkg_failed=yes
14072
13176
fi
14073
 
    fi
14074
 
else
14075
 
        pkg_failed=untried
 
13177
 else
 
13178
    pkg_failed=untried
14076
13179
fi
14077
13180
 
14078
13181
 
14085
13188
        _pkg_short_errors_supported=no
14086
13189
fi
14087
13190
        if test $_pkg_short_errors_supported = yes; then
14088
 
                XFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xproto xtrans fontsproto fontenc"`
 
13191
                XFONT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto xtrans fontsproto fontenc" 2>&1`
14089
13192
        else
14090
 
                XFONT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xproto xtrans fontsproto fontenc"`
 
13193
                XFONT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto xtrans fontsproto fontenc" 2>&1`
14091
13194
        fi
14092
13195
        # Put the nasty error message in config.log where it belongs
14093
13196
        echo "$XFONT_PKG_ERRORS" >&5
14094
13197
 
14095
 
        { { $as_echo "$as_me:$LINENO: error: Package requirements (xproto xtrans fontsproto fontenc) were not met:
14096
 
 
14097
 
$XFONT_PKG_ERRORS
14098
 
 
14099
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14100
 
installed software in a non-standard prefix.
14101
 
 
14102
 
Alternatively, you may set the environment variables XFONT_CFLAGS
14103
 
and XFONT_LIBS to avoid the need to call pkg-config.
14104
 
See the pkg-config man page for more details.
14105
 
" >&5
14106
 
$as_echo "$as_me: error: Package requirements (xproto xtrans fontsproto fontenc) were not met:
14107
 
 
14108
 
$XFONT_PKG_ERRORS
14109
 
 
14110
 
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14111
 
installed software in a non-standard prefix.
14112
 
 
14113
 
Alternatively, you may set the environment variables XFONT_CFLAGS
14114
 
and XFONT_LIBS to avoid the need to call pkg-config.
14115
 
See the pkg-config man page for more details.
14116
 
" >&2;}
14117
 
   { (exit 1); exit 1; }; }
 
13198
        as_fn_error $? "Package requirements (xproto xtrans fontsproto fontenc) were not met:
 
13199
 
 
13200
$XFONT_PKG_ERRORS
 
13201
 
 
13202
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
13203
installed software in a non-standard prefix.
 
13204
 
 
13205
Alternatively, you may set the environment variables XFONT_CFLAGS
 
13206
and XFONT_LIBS to avoid the need to call pkg-config.
 
13207
See the pkg-config man page for more details.
 
13208
" "$LINENO" 5
14118
13209
elif test $pkg_failed = untried; then
14119
 
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
13210
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14120
13211
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14121
 
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
14122
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14123
 
path to pkg-config.
14124
 
 
14125
 
Alternatively, you may set the environment variables XFONT_CFLAGS
14126
 
and XFONT_LIBS to avoid the need to call pkg-config.
14127
 
See the pkg-config man page for more details.
14128
 
 
14129
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14130
 
See \`config.log' for more details." >&5
14131
 
$as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
14132
 
is in your PATH or set the PKG_CONFIG environment variable to the full
14133
 
path to pkg-config.
14134
 
 
14135
 
Alternatively, you may set the environment variables XFONT_CFLAGS
14136
 
and XFONT_LIBS to avoid the need to call pkg-config.
14137
 
See the pkg-config man page for more details.
14138
 
 
14139
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14140
 
See \`config.log' for more details." >&2;}
14141
 
   { (exit 1); exit 1; }; }; }
 
13212
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
13213
is in your PATH or set the PKG_CONFIG environment variable to the full
 
13214
path to pkg-config.
 
13215
 
 
13216
Alternatively, you may set the environment variables XFONT_CFLAGS
 
13217
and XFONT_LIBS to avoid the need to call pkg-config.
 
13218
See the pkg-config man page for more details.
 
13219
 
 
13220
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
13221
See \`config.log' for more details" "$LINENO" 5; }
14142
13222
else
14143
13223
        XFONT_CFLAGS=$pkg_cv_XFONT_CFLAGS
14144
13224
        XFONT_LIBS=$pkg_cv_XFONT_LIBS
14145
 
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
13225
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14146
13226
$as_echo "yes" >&6; }
14147
13227
        :
14148
13228
fi
14149
13229
 
14150
13230
# Transport selection macro from xtrans.m4
14151
 
{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
13231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
14152
13232
$as_echo_n "checking return type of signal handlers... " >&6; }
14153
 
if test "${ac_cv_type_signal+set}" = set; then
 
13233
if ${ac_cv_type_signal+:} false; then :
14154
13234
  $as_echo_n "(cached) " >&6
14155
13235
else
14156
 
  cat >conftest.$ac_ext <<_ACEOF
14157
 
/* confdefs.h.  */
14158
 
_ACEOF
14159
 
cat confdefs.h >>conftest.$ac_ext
14160
 
cat >>conftest.$ac_ext <<_ACEOF
 
13236
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14161
13237
/* end confdefs.h.  */
14162
13238
#include <sys/types.h>
14163
13239
#include <signal.h>
14170
13246
  return 0;
14171
13247
}
14172
13248
_ACEOF
14173
 
rm -f conftest.$ac_objext
14174
 
if { (ac_try="$ac_compile"
14175
 
case "(($ac_try" in
14176
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14177
 
  *) ac_try_echo=$ac_try;;
14178
 
esac
14179
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14180
 
$as_echo "$ac_try_echo") >&5
14181
 
  (eval "$ac_compile") 2>conftest.er1
14182
 
  ac_status=$?
14183
 
  grep -v '^ *+' conftest.er1 >conftest.err
14184
 
  rm -f conftest.er1
14185
 
  cat conftest.err >&5
14186
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14187
 
  (exit $ac_status); } && {
14188
 
         test -z "$ac_c_werror_flag" ||
14189
 
         test ! -s conftest.err
14190
 
       } && test -s conftest.$ac_objext; then
 
13249
if ac_fn_c_try_compile "$LINENO"; then :
14191
13250
  ac_cv_type_signal=int
14192
13251
else
14193
 
  $as_echo "$as_me: failed program was:" >&5
14194
 
sed 's/^/| /' conftest.$ac_ext >&5
14195
 
 
14196
 
        ac_cv_type_signal=void
 
13252
  ac_cv_type_signal=void
14197
13253
fi
14198
 
 
14199
13254
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14200
13255
fi
14201
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
13256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
14202
13257
$as_echo "$ac_cv_type_signal" >&6; }
14203
13258
 
14204
13259
cat >>confdefs.h <<_ACEOF
14214
13269
        *)      unixdef="yes"  ;;
14215
13270
 esac
14216
13271
 # Check whether --enable-unix-transport was given.
14217
 
if test "${enable_unix_transport+set}" = set; then
 
13272
if test "${enable_unix_transport+set}" = set; then :
14218
13273
  enableval=$enable_unix_transport; UNIXCONN=$enableval
14219
13274
else
14220
13275
  UNIXCONN=$unixdef
14221
13276
fi
14222
13277
 
14223
 
 { $as_echo "$as_me:$LINENO: checking if Xtrans should support UNIX socket connections" >&5
 
13278
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
14224
13279
$as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
14225
13280
 if test "$UNIXCONN" = "yes"; then
14226
13281
 
14227
 
cat >>confdefs.h <<\_ACEOF
14228
 
#define UNIXCONN 1
14229
 
_ACEOF
 
13282
$as_echo "#define UNIXCONN 1" >>confdefs.h
14230
13283
 
14231
13284
 fi
14232
 
 { $as_echo "$as_me:$LINENO: result: $UNIXCONN" >&5
 
13285
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
14233
13286
$as_echo "$UNIXCONN" >&6; }
14234
13287
 # Check whether --enable-tcp-transport was given.
14235
 
if test "${enable_tcp_transport+set}" = set; then
 
13288
if test "${enable_tcp_transport+set}" = set; then :
14236
13289
  enableval=$enable_tcp_transport; TCPCONN=$enableval
14237
13290
else
14238
13291
  TCPCONN=yes
14239
13292
fi
14240
13293
 
14241
 
 { $as_echo "$as_me:$LINENO: checking if Xtrans should support TCP socket connections" >&5
 
13294
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
14242
13295
$as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
14243
 
 { $as_echo "$as_me:$LINENO: result: $TCPCONN" >&5
 
13296
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
14244
13297
$as_echo "$TCPCONN" >&6; }
14245
13298
 if test "$TCPCONN" = "yes"; then
14246
13299
 
14247
 
cat >>confdefs.h <<\_ACEOF
14248
 
#define TCPCONN 1
14249
 
_ACEOF
 
13300
$as_echo "#define TCPCONN 1" >>confdefs.h
14250
13301
 
14251
13302
 
14252
13303
 # SVR4 hides these in libraries other than libc
14253
 
 { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5
 
13304
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14254
13305
$as_echo_n "checking for library containing socket... " >&6; }
14255
 
if test "${ac_cv_search_socket+set}" = set; then
 
13306
if ${ac_cv_search_socket+:} false; then :
14256
13307
  $as_echo_n "(cached) " >&6
14257
13308
else
14258
13309
  ac_func_search_save_LIBS=$LIBS
14259
 
cat >conftest.$ac_ext <<_ACEOF
14260
 
/* confdefs.h.  */
14261
 
_ACEOF
14262
 
cat confdefs.h >>conftest.$ac_ext
14263
 
cat >>conftest.$ac_ext <<_ACEOF
 
13310
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14264
13311
/* end confdefs.h.  */
14265
13312
 
14266
13313
/* Override any GCC internal prototype to avoid an error.
14285
13332
    ac_res=-l$ac_lib
14286
13333
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14287
13334
  fi
14288
 
  rm -f conftest.$ac_objext conftest$ac_exeext
14289
 
if { (ac_try="$ac_link"
14290
 
case "(($ac_try" in
14291
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14292
 
  *) ac_try_echo=$ac_try;;
14293
 
esac
14294
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14295
 
$as_echo "$ac_try_echo") >&5
14296
 
  (eval "$ac_link") 2>conftest.er1
14297
 
  ac_status=$?
14298
 
  grep -v '^ *+' conftest.er1 >conftest.err
14299
 
  rm -f conftest.er1
14300
 
  cat conftest.err >&5
14301
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302
 
  (exit $ac_status); } && {
14303
 
         test -z "$ac_c_werror_flag" ||
14304
 
         test ! -s conftest.err
14305
 
       } && test -s conftest$ac_exeext && {
14306
 
         test "$cross_compiling" = yes ||
14307
 
         $as_test_x conftest$ac_exeext
14308
 
       }; then
 
13335
  if ac_fn_c_try_link "$LINENO"; then :
14309
13336
  ac_cv_search_socket=$ac_res
14310
 
else
14311
 
  $as_echo "$as_me: failed program was:" >&5
14312
 
sed 's/^/| /' conftest.$ac_ext >&5
14313
 
 
14314
 
 
14315
13337
fi
14316
 
 
14317
 
rm -rf conftest.dSYM
14318
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14319
 
      conftest$ac_exeext
14320
 
  if test "${ac_cv_search_socket+set}" = set; then
 
13338
rm -f core conftest.err conftest.$ac_objext \
 
13339
    conftest$ac_exeext
 
13340
  if ${ac_cv_search_socket+:} false; then :
14321
13341
  break
14322
13342
fi
14323
13343
done
14324
 
if test "${ac_cv_search_socket+set}" = set; then
14325
 
  :
 
13344
if ${ac_cv_search_socket+:} false; then :
 
13345
 
14326
13346
else
14327
13347
  ac_cv_search_socket=no
14328
13348
fi
14329
13349
rm conftest.$ac_ext
14330
13350
LIBS=$ac_func_search_save_LIBS
14331
13351
fi
14332
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
 
13352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14333
13353
$as_echo "$ac_cv_search_socket" >&6; }
14334
13354
ac_res=$ac_cv_search_socket
14335
 
if test "$ac_res" != no; then
 
13355
if test "$ac_res" != no; then :
14336
13356
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14337
13357
 
14338
13358
fi
14339
13359
 
14340
 
 { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
 
13360
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14341
13361
$as_echo_n "checking for library containing gethostbyname... " >&6; }
14342
 
if test "${ac_cv_search_gethostbyname+set}" = set; then
 
13362
if ${ac_cv_search_gethostbyname+:} false; then :
14343
13363
  $as_echo_n "(cached) " >&6
14344
13364
else
14345
13365
  ac_func_search_save_LIBS=$LIBS
14346
 
cat >conftest.$ac_ext <<_ACEOF
14347
 
/* confdefs.h.  */
14348
 
_ACEOF
14349
 
cat confdefs.h >>conftest.$ac_ext
14350
 
cat >>conftest.$ac_ext <<_ACEOF
 
13366
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351
13367
/* end confdefs.h.  */
14352
13368
 
14353
13369
/* Override any GCC internal prototype to avoid an error.
14372
13388
    ac_res=-l$ac_lib
14373
13389
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14374
13390
  fi
14375
 
  rm -f conftest.$ac_objext conftest$ac_exeext
14376
 
if { (ac_try="$ac_link"
14377
 
case "(($ac_try" in
14378
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14379
 
  *) ac_try_echo=$ac_try;;
14380
 
esac
14381
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14382
 
$as_echo "$ac_try_echo") >&5
14383
 
  (eval "$ac_link") 2>conftest.er1
14384
 
  ac_status=$?
14385
 
  grep -v '^ *+' conftest.er1 >conftest.err
14386
 
  rm -f conftest.er1
14387
 
  cat conftest.err >&5
14388
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389
 
  (exit $ac_status); } && {
14390
 
         test -z "$ac_c_werror_flag" ||
14391
 
         test ! -s conftest.err
14392
 
       } && test -s conftest$ac_exeext && {
14393
 
         test "$cross_compiling" = yes ||
14394
 
         $as_test_x conftest$ac_exeext
14395
 
       }; then
 
13391
  if ac_fn_c_try_link "$LINENO"; then :
14396
13392
  ac_cv_search_gethostbyname=$ac_res
14397
 
else
14398
 
  $as_echo "$as_me: failed program was:" >&5
14399
 
sed 's/^/| /' conftest.$ac_ext >&5
14400
 
 
14401
 
 
14402
13393
fi
14403
 
 
14404
 
rm -rf conftest.dSYM
14405
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14406
 
      conftest$ac_exeext
14407
 
  if test "${ac_cv_search_gethostbyname+set}" = set; then
 
13394
rm -f core conftest.err conftest.$ac_objext \
 
13395
    conftest$ac_exeext
 
13396
  if ${ac_cv_search_gethostbyname+:} false; then :
14408
13397
  break
14409
13398
fi
14410
13399
done
14411
 
if test "${ac_cv_search_gethostbyname+set}" = set; then
14412
 
  :
 
13400
if ${ac_cv_search_gethostbyname+:} false; then :
 
13401
 
14413
13402
else
14414
13403
  ac_cv_search_gethostbyname=no
14415
13404
fi
14416
13405
rm conftest.$ac_ext
14417
13406
LIBS=$ac_func_search_save_LIBS
14418
13407
fi
14419
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
 
13408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14420
13409
$as_echo "$ac_cv_search_gethostbyname" >&6; }
14421
13410
ac_res=$ac_cv_search_gethostbyname
14422
 
if test "$ac_res" != no; then
 
13411
if test "$ac_res" != no; then :
14423
13412
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14424
13413
 
14425
13414
fi
14426
13415
 
14427
 
 
14428
 
{ $as_echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
 
13416
 if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
 
13417
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
14429
13418
$as_echo_n "checking for main in -lws2_32... " >&6; }
14430
 
if test "${ac_cv_lib_ws2_32_main+set}" = set; then
 
13419
if ${ac_cv_lib_ws2_32_main+:} false; then :
14431
13420
  $as_echo_n "(cached) " >&6
14432
13421
else
14433
13422
  ac_check_lib_save_LIBS=$LIBS
14434
13423
LIBS="-lws2_32  $LIBS"
14435
 
cat >conftest.$ac_ext <<_ACEOF
14436
 
/* confdefs.h.  */
14437
 
_ACEOF
14438
 
cat confdefs.h >>conftest.$ac_ext
14439
 
cat >>conftest.$ac_ext <<_ACEOF
 
13424
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14440
13425
/* end confdefs.h.  */
14441
13426
 
14442
13427
 
14448
13433
  return 0;
14449
13434
}
14450
13435
_ACEOF
14451
 
rm -f conftest.$ac_objext conftest$ac_exeext
14452
 
if { (ac_try="$ac_link"
14453
 
case "(($ac_try" in
14454
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455
 
  *) ac_try_echo=$ac_try;;
14456
 
esac
14457
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14458
 
$as_echo "$ac_try_echo") >&5
14459
 
  (eval "$ac_link") 2>conftest.er1
14460
 
  ac_status=$?
14461
 
  grep -v '^ *+' conftest.er1 >conftest.err
14462
 
  rm -f conftest.er1
14463
 
  cat conftest.err >&5
14464
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465
 
  (exit $ac_status); } && {
14466
 
         test -z "$ac_c_werror_flag" ||
14467
 
         test ! -s conftest.err
14468
 
       } && test -s conftest$ac_exeext && {
14469
 
         test "$cross_compiling" = yes ||
14470
 
         $as_test_x conftest$ac_exeext
14471
 
       }; then
 
13436
if ac_fn_c_try_link "$LINENO"; then :
14472
13437
  ac_cv_lib_ws2_32_main=yes
14473
13438
else
14474
 
  $as_echo "$as_me: failed program was:" >&5
14475
 
sed 's/^/| /' conftest.$ac_ext >&5
14476
 
 
14477
 
        ac_cv_lib_ws2_32_main=no
 
13439
  ac_cv_lib_ws2_32_main=no
14478
13440
fi
14479
 
 
14480
 
rm -rf conftest.dSYM
14481
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14482
 
      conftest$ac_exeext conftest.$ac_ext
 
13441
rm -f core conftest.err conftest.$ac_objext \
 
13442
    conftest$ac_exeext conftest.$ac_ext
14483
13443
LIBS=$ac_check_lib_save_LIBS
14484
13444
fi
14485
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ws2_32_main" >&5
 
13445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
14486
13446
$as_echo "$ac_cv_lib_ws2_32_main" >&6; }
14487
 
if test "x$ac_cv_lib_ws2_32_main" = x""yes; then
 
13447
if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
14488
13448
  cat >>confdefs.h <<_ACEOF
14489
13449
#define HAVE_LIBWS2_32 1
14490
13450
_ACEOF
14494
13454
fi
14495
13455
ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
14496
13456
 
 
13457
 fi
14497
13458
 
14498
13459
 # Needs to come after above checks for libsocket & libnsl for SVR4 systems
14499
13460
 # Check whether --enable-ipv6 was given.
14500
 
if test "${enable_ipv6+set}" = set; then
 
13461
if test "${enable_ipv6+set}" = set; then :
14501
13462
  enableval=$enable_ipv6; IPV6CONN=$enableval
14502
13463
else
14503
 
  { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
14504
 
$as_echo_n "checking for getaddrinfo... " >&6; }
14505
 
if test "${ac_cv_func_getaddrinfo+set}" = set; then
14506
 
  $as_echo_n "(cached) " >&6
14507
 
else
14508
 
  cat >conftest.$ac_ext <<_ACEOF
14509
 
/* confdefs.h.  */
14510
 
_ACEOF
14511
 
cat confdefs.h >>conftest.$ac_ext
14512
 
cat >>conftest.$ac_ext <<_ACEOF
14513
 
/* end confdefs.h.  */
14514
 
/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
14515
 
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14516
 
#define getaddrinfo innocuous_getaddrinfo
14517
 
 
14518
 
/* System header to define __stub macros and hopefully few prototypes,
14519
 
    which can conflict with char getaddrinfo (); below.
14520
 
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14521
 
    <limits.h> exists even on freestanding compilers.  */
14522
 
 
14523
 
#ifdef __STDC__
14524
 
# include <limits.h>
14525
 
#else
14526
 
# include <assert.h>
14527
 
#endif
14528
 
 
14529
 
#undef getaddrinfo
14530
 
 
14531
 
/* Override any GCC internal prototype to avoid an error.
14532
 
   Use char because int might match the return type of a GCC
14533
 
   builtin and then its argument prototype would still apply.  */
14534
 
#ifdef __cplusplus
14535
 
extern "C"
14536
 
#endif
14537
 
char getaddrinfo ();
14538
 
/* The GNU C library defines this for functions which it implements
14539
 
    to always fail with ENOSYS.  Some functions are actually named
14540
 
    something starting with __ and the normal name is an alias.  */
14541
 
#if defined __stub_getaddrinfo || defined __stub___getaddrinfo
14542
 
choke me
14543
 
#endif
14544
 
 
14545
 
int
14546
 
main ()
14547
 
{
14548
 
return getaddrinfo ();
14549
 
  ;
14550
 
  return 0;
14551
 
}
14552
 
_ACEOF
14553
 
rm -f conftest.$ac_objext conftest$ac_exeext
14554
 
if { (ac_try="$ac_link"
14555
 
case "(($ac_try" in
14556
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557
 
  *) ac_try_echo=$ac_try;;
14558
 
esac
14559
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14560
 
$as_echo "$ac_try_echo") >&5
14561
 
  (eval "$ac_link") 2>conftest.er1
14562
 
  ac_status=$?
14563
 
  grep -v '^ *+' conftest.er1 >conftest.err
14564
 
  rm -f conftest.er1
14565
 
  cat conftest.err >&5
14566
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567
 
  (exit $ac_status); } && {
14568
 
         test -z "$ac_c_werror_flag" ||
14569
 
         test ! -s conftest.err
14570
 
       } && test -s conftest$ac_exeext && {
14571
 
         test "$cross_compiling" = yes ||
14572
 
         $as_test_x conftest$ac_exeext
14573
 
       }; then
14574
 
  ac_cv_func_getaddrinfo=yes
14575
 
else
14576
 
  $as_echo "$as_me: failed program was:" >&5
14577
 
sed 's/^/| /' conftest.$ac_ext >&5
14578
 
 
14579
 
        ac_cv_func_getaddrinfo=no
14580
 
fi
14581
 
 
14582
 
rm -rf conftest.dSYM
14583
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14584
 
      conftest$ac_exeext conftest.$ac_ext
14585
 
fi
14586
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
14587
 
$as_echo "$ac_cv_func_getaddrinfo" >&6; }
14588
 
if test "x$ac_cv_func_getaddrinfo" = x""yes; then
 
13464
  ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
 
13465
if test "x$ac_cv_func_getaddrinfo" = xyes; then :
14589
13466
  IPV6CONN=yes
14590
13467
else
14591
13468
  IPV6CONN=no
14593
13470
 
14594
13471
fi
14595
13472
 
14596
 
 { $as_echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5
 
13473
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
14597
13474
$as_echo_n "checking if IPv6 support should be built... " >&6; }
14598
13475
 if test "$IPV6CONN" = "yes"; then
14599
13476
 
14600
 
cat >>confdefs.h <<\_ACEOF
14601
 
#define IPv6 1
14602
 
_ACEOF
 
13477
$as_echo "#define IPv6 1" >>confdefs.h
14603
13478
 
14604
13479
 fi
14605
 
 { $as_echo "$as_me:$LINENO: result: $IPV6CONN" >&5
 
13480
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
14606
13481
$as_echo "$IPV6CONN" >&6; }
14607
13482
 
14608
13483
 # 4.3BSD-Reno added a new member to struct sockaddr_in
14609
 
 { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
14610
 
$as_echo_n "checking for struct sockaddr_in.sin_len... " >&6; }
14611
 
if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
14612
 
  $as_echo_n "(cached) " >&6
14613
 
else
14614
 
  cat >conftest.$ac_ext <<_ACEOF
14615
 
/* confdefs.h.  */
14616
 
_ACEOF
14617
 
cat confdefs.h >>conftest.$ac_ext
14618
 
cat >>conftest.$ac_ext <<_ACEOF
14619
 
/* end confdefs.h.  */
14620
 
 
14621
 
#include <sys/types.h>
14622
 
#include <sys/socket.h>
14623
 
#include <netinet/in.h>
14624
 
 
14625
 
 
14626
 
int
14627
 
main ()
14628
 
{
14629
 
static struct sockaddr_in ac_aggr;
14630
 
if (ac_aggr.sin_len)
14631
 
return 0;
14632
 
  ;
14633
 
  return 0;
14634
 
}
14635
 
_ACEOF
14636
 
rm -f conftest.$ac_objext
14637
 
if { (ac_try="$ac_compile"
14638
 
case "(($ac_try" in
14639
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640
 
  *) ac_try_echo=$ac_try;;
14641
 
esac
14642
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14643
 
$as_echo "$ac_try_echo") >&5
14644
 
  (eval "$ac_compile") 2>conftest.er1
14645
 
  ac_status=$?
14646
 
  grep -v '^ *+' conftest.er1 >conftest.err
14647
 
  rm -f conftest.er1
14648
 
  cat conftest.err >&5
14649
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650
 
  (exit $ac_status); } && {
14651
 
         test -z "$ac_c_werror_flag" ||
14652
 
         test ! -s conftest.err
14653
 
       } && test -s conftest.$ac_objext; then
14654
 
  ac_cv_member_struct_sockaddr_in_sin_len=yes
14655
 
else
14656
 
  $as_echo "$as_me: failed program was:" >&5
14657
 
sed 's/^/| /' conftest.$ac_ext >&5
14658
 
 
14659
 
        cat >conftest.$ac_ext <<_ACEOF
14660
 
/* confdefs.h.  */
14661
 
_ACEOF
14662
 
cat confdefs.h >>conftest.$ac_ext
14663
 
cat >>conftest.$ac_ext <<_ACEOF
14664
 
/* end confdefs.h.  */
14665
 
 
14666
 
#include <sys/types.h>
14667
 
#include <sys/socket.h>
14668
 
#include <netinet/in.h>
14669
 
 
14670
 
 
14671
 
int
14672
 
main ()
14673
 
{
14674
 
static struct sockaddr_in ac_aggr;
14675
 
if (sizeof ac_aggr.sin_len)
14676
 
return 0;
14677
 
  ;
14678
 
  return 0;
14679
 
}
14680
 
_ACEOF
14681
 
rm -f conftest.$ac_objext
14682
 
if { (ac_try="$ac_compile"
14683
 
case "(($ac_try" in
14684
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14685
 
  *) ac_try_echo=$ac_try;;
14686
 
esac
14687
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14688
 
$as_echo "$ac_try_echo") >&5
14689
 
  (eval "$ac_compile") 2>conftest.er1
14690
 
  ac_status=$?
14691
 
  grep -v '^ *+' conftest.er1 >conftest.err
14692
 
  rm -f conftest.er1
14693
 
  cat conftest.err >&5
14694
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695
 
  (exit $ac_status); } && {
14696
 
         test -z "$ac_c_werror_flag" ||
14697
 
         test ! -s conftest.err
14698
 
       } && test -s conftest.$ac_objext; then
14699
 
  ac_cv_member_struct_sockaddr_in_sin_len=yes
14700
 
else
14701
 
  $as_echo "$as_me: failed program was:" >&5
14702
 
sed 's/^/| /' conftest.$ac_ext >&5
14703
 
 
14704
 
        ac_cv_member_struct_sockaddr_in_sin_len=no
14705
 
fi
14706
 
 
14707
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14708
 
fi
14709
 
 
14710
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14711
 
fi
14712
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
14713
 
$as_echo "$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
14714
 
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = x""yes; then
14715
 
 
14716
 
cat >>confdefs.h <<\_ACEOF
14717
 
#define BSD44SOCKETS 1
14718
 
_ACEOF
 
13484
 ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
 
13485
#include <sys/types.h>
 
13486
#include <sys/socket.h>
 
13487
#include <netinet/in.h>
 
13488
 
 
13489
"
 
13490
if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
 
13491
 
 
13492
$as_echo "#define BSD44SOCKETS 1" >>confdefs.h
14719
13493
 
14720
13494
fi
14721
13495
 
14722
13496
 
14723
13497
 # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
14724
 
 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
14725
 
$as_echo_n "checking for socklen_t... " >&6; }
14726
 
if test "${ac_cv_type_socklen_t+set}" = set; then
14727
 
  $as_echo_n "(cached) " >&6
14728
 
else
14729
 
  ac_cv_type_socklen_t=no
14730
 
cat >conftest.$ac_ext <<_ACEOF
14731
 
/* confdefs.h.  */
14732
 
_ACEOF
14733
 
cat confdefs.h >>conftest.$ac_ext
14734
 
cat >>conftest.$ac_ext <<_ACEOF
14735
 
/* end confdefs.h.  */
14736
 
 
14737
 
$ac_includes_default
14738
 
#include <sys/socket.h>
14739
 
 
14740
 
int
14741
 
main ()
14742
 
{
14743
 
if (sizeof (socklen_t))
14744
 
       return 0;
14745
 
  ;
14746
 
  return 0;
14747
 
}
14748
 
_ACEOF
14749
 
rm -f conftest.$ac_objext
14750
 
if { (ac_try="$ac_compile"
14751
 
case "(($ac_try" in
14752
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753
 
  *) ac_try_echo=$ac_try;;
14754
 
esac
14755
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14756
 
$as_echo "$ac_try_echo") >&5
14757
 
  (eval "$ac_compile") 2>conftest.er1
14758
 
  ac_status=$?
14759
 
  grep -v '^ *+' conftest.er1 >conftest.err
14760
 
  rm -f conftest.er1
14761
 
  cat conftest.err >&5
14762
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763
 
  (exit $ac_status); } && {
14764
 
         test -z "$ac_c_werror_flag" ||
14765
 
         test ! -s conftest.err
14766
 
       } && test -s conftest.$ac_objext; then
14767
 
  cat >conftest.$ac_ext <<_ACEOF
14768
 
/* confdefs.h.  */
14769
 
_ACEOF
14770
 
cat confdefs.h >>conftest.$ac_ext
14771
 
cat >>conftest.$ac_ext <<_ACEOF
14772
 
/* end confdefs.h.  */
14773
 
 
14774
 
$ac_includes_default
14775
 
#include <sys/socket.h>
14776
 
 
14777
 
int
14778
 
main ()
14779
 
{
14780
 
if (sizeof ((socklen_t)))
14781
 
          return 0;
14782
 
  ;
14783
 
  return 0;
14784
 
}
14785
 
_ACEOF
14786
 
rm -f conftest.$ac_objext
14787
 
if { (ac_try="$ac_compile"
14788
 
case "(($ac_try" in
14789
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14790
 
  *) ac_try_echo=$ac_try;;
14791
 
esac
14792
 
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14793
 
$as_echo "$ac_try_echo") >&5
14794
 
  (eval "$ac_compile") 2>conftest.er1
14795
 
  ac_status=$?
14796
 
  grep -v '^ *+' conftest.er1 >conftest.err
14797
 
  rm -f conftest.er1
14798
 
  cat conftest.err >&5
14799
 
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800
 
  (exit $ac_status); } && {
14801
 
         test -z "$ac_c_werror_flag" ||
14802
 
         test ! -s conftest.err
14803
 
       } && test -s conftest.$ac_objext; then
14804
 
  :
14805
 
else
14806
 
  $as_echo "$as_me: failed program was:" >&5
14807
 
sed 's/^/| /' conftest.$ac_ext >&5
14808
 
 
14809
 
        ac_cv_type_socklen_t=yes
14810
 
fi
14811
 
 
14812
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14813
 
else
14814
 
  $as_echo "$as_me: failed program was:" >&5
14815
 
sed 's/^/| /' conftest.$ac_ext >&5
14816
 
 
14817
 
 
14818
 
fi
14819
 
 
14820
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14821
 
fi
14822
 
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
14823
 
$as_echo "$ac_cv_type_socklen_t" >&6; }
14824
 
if test "x$ac_cv_type_socklen_t" = x""yes; then
 
13498
 ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
 
13499
$ac_includes_default
 
13500
#include <sys/socket.h>
 
13501
"
 
13502
if test "x$ac_cv_type_socklen_t" = xyes; then :
14825
13503
 
14826
13504
cat >>confdefs.h <<_ACEOF
14827
13505
#define HAVE_SOCKLEN_T 1
14838
13516
        *)                      localdef="no"  ;;
14839
13517
 esac
14840
13518
 # Check whether --enable-local-transport was given.
14841
 
if test "${enable_local_transport+set}" = set; then
 
13519
if test "${enable_local_transport+set}" = set; then :
14842
13520
  enableval=$enable_local_transport; LOCALCONN=$enableval
14843
13521
else
14844
13522
  LOCALCONN=$localdef
14845
13523
fi
14846
13524
 
14847
 
 { $as_echo "$as_me:$LINENO: checking if Xtrans should support os-specific local connections" >&5
 
13525
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
14848
13526
$as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
14849
 
 { $as_echo "$as_me:$LINENO: result: $LOCALCONN" >&5
 
13527
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
14850
13528
$as_echo "$LOCALCONN" >&6; }
14851
13529
 if test "$LOCALCONN" = "yes"; then
14852
13530
 
14853
 
cat >>confdefs.h <<\_ACEOF
14854
 
#define LOCALCONN 1
14855
 
_ACEOF
 
13531
$as_echo "#define LOCALCONN 1" >>confdefs.h
14856
13532
 
14857
13533
 fi
14858
13534
 
14871
13547
esac
14872
13548
 
14873
13549
 
14874
 
ac_config_files="$ac_config_files Makefile src/Makefile src/fontfile/Makefile src/FreeType/Makefile src/builtins/Makefile src/bitmap/Makefile src/fc/Makefile src/util/Makefile src/stubs/Makefile xfont.pc"
 
13550
ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/fontfile/Makefile src/FreeType/Makefile src/builtins/Makefile src/bitmap/Makefile src/fc/Makefile src/util/Makefile src/stubs/Makefile xfont.pc"
14875
13551
 
14876
13552
cat >confcache <<\_ACEOF
14877
13553
# This file is a shell script that caches the results of configure
14900
13576
    case $ac_val in #(
14901
13577
    *${as_nl}*)
14902
13578
      case $ac_var in #(
14903
 
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
13579
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14904
13580
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14905
13581
      esac
14906
13582
      case $ac_var in #(
14907
13583
      _ | IFS | as_nl) ;; #(
14908
13584
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14909
 
      *) $as_unset $ac_var ;;
 
13585
      *) { eval $ac_var=; unset $ac_var;} ;;
14910
13586
      esac ;;
14911
13587
    esac
14912
13588
  done
14914
13590
  (set) 2>&1 |
14915
13591
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14916
13592
    *${as_nl}ac_space=\ *)
14917
 
      # `set' does not quote correctly, so add quotes (double-quote
14918
 
      # substitution turns \\\\ into \\, and sed turns \\ into \).
 
13593
      # `set' does not quote correctly, so add quotes: double-quote
 
13594
      # substitution turns \\\\ into \\, and sed turns \\ into \.
14919
13595
      sed -n \
14920
13596
        "s/'/'\\\\''/g;
14921
13597
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14937
13613
     :end' >>confcache
14938
13614
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14939
13615
  if test -w "$cache_file"; then
14940
 
    test "x$cache_file" != "x/dev/null" &&
14941
 
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
13616
    if test "x$cache_file" != "x/dev/null"; then
 
13617
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14942
13618
$as_echo "$as_me: updating cache $cache_file" >&6;}
14943
 
    cat confcache >$cache_file
 
13619
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
13620
        cat confcache >"$cache_file"
 
13621
      else
 
13622
        case $cache_file in #(
 
13623
        */* | ?:*)
 
13624
          mv -f confcache "$cache_file"$$ &&
 
13625
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
13626
        *)
 
13627
          mv -f confcache "$cache_file" ;;
 
13628
        esac
 
13629
      fi
 
13630
    fi
14944
13631
  else
14945
 
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
13632
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14946
13633
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14947
13634
  fi
14948
13635
fi
14956
13643
 
14957
13644
ac_libobjs=
14958
13645
ac_ltlibobjs=
 
13646
U=
14959
13647
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14960
13648
  # 1. Remove the extension, and $U if already installed.
14961
13649
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14962
13650
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14963
13651
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14964
13652
  #    will be set to the directory where LIBOBJS objects are built.
14965
 
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14966
 
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 
13653
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
13654
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14967
13655
done
14968
13656
LIBOBJS=$ac_libobjs
14969
13657
 
14970
13658
LTLIBOBJS=$ac_ltlibobjs
14971
13659
 
14972
13660
 
 
13661
 if test -n "$EXEEXT"; then
 
13662
  am__EXEEXT_TRUE=
 
13663
  am__EXEEXT_FALSE='#'
 
13664
else
 
13665
  am__EXEEXT_TRUE='#'
 
13666
  am__EXEEXT_FALSE=
 
13667
fi
 
13668
 
14973
13669
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14974
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
14975
 
Usually this means the macro was only invoked conditionally." >&5
14976
 
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
14977
 
Usually this means the macro was only invoked conditionally." >&2;}
14978
 
   { (exit 1); exit 1; }; }
 
13670
  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 
13671
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14979
13672
fi
14980
13673
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14981
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
14982
 
Usually this means the macro was only invoked conditionally." >&5
14983
 
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
14984
 
Usually this means the macro was only invoked conditionally." >&2;}
14985
 
   { (exit 1); exit 1; }; }
 
13674
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
13675
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14986
13676
fi
14987
13677
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14988
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
14989
 
Usually this means the macro was only invoked conditionally." >&5
14990
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
14991
 
Usually this means the macro was only invoked conditionally." >&2;}
14992
 
   { (exit 1); exit 1; }; }
 
13678
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
13679
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14993
13680
fi
14994
13681
if test -z "${ENABLE_DEVEL_DOCS_TRUE}" && test -z "${ENABLE_DEVEL_DOCS_FALSE}"; then
14995
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DEVEL_DOCS\" was never defined.
14996
 
Usually this means the macro was only invoked conditionally." >&5
14997
 
$as_echo "$as_me: error: conditional \"ENABLE_DEVEL_DOCS\" was never defined.
14998
 
Usually this means the macro was only invoked conditionally." >&2;}
14999
 
   { (exit 1); exit 1; }; }
 
13682
  as_fn_error $? "conditional \"ENABLE_DEVEL_DOCS\" was never defined.
 
13683
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13684
fi
 
13685
if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
 
13686
  as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
 
13687
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15000
13688
fi
15001
13689
if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
15002
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XMLTO\" was never defined.
15003
 
Usually this means the macro was only invoked conditionally." >&5
15004
 
$as_echo "$as_me: error: conditional \"HAVE_XMLTO\" was never defined.
15005
 
Usually this means the macro was only invoked conditionally." >&2;}
15006
 
   { (exit 1); exit 1; }; }
 
13690
  as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
 
13691
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15007
13692
fi
15008
13693
if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
15009
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_FOP\" was never defined.
15010
 
Usually this means the macro was only invoked conditionally." >&5
15011
 
$as_echo "$as_me: error: conditional \"HAVE_FOP\" was never defined.
15012
 
Usually this means the macro was only invoked conditionally." >&2;}
15013
 
   { (exit 1); exit 1; }; }
 
13694
  as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
 
13695
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
13696
fi
 
13697
if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
 
13698
  as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
 
13699
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15014
13700
fi
15015
13701
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15016
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15017
 
Usually this means the macro was only invoked conditionally." >&5
15018
 
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15019
 
Usually this means the macro was only invoked conditionally." >&2;}
15020
 
   { (exit 1); exit 1; }; }
 
13702
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
13703
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15021
13704
fi
15022
13705
if test -z "${XFONT_FREETYPE_TRUE}" && test -z "${XFONT_FREETYPE_FALSE}"; then
15023
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FREETYPE\" was never defined.
15024
 
Usually this means the macro was only invoked conditionally." >&5
15025
 
$as_echo "$as_me: error: conditional \"XFONT_FREETYPE\" was never defined.
15026
 
Usually this means the macro was only invoked conditionally." >&2;}
15027
 
   { (exit 1); exit 1; }; }
 
13706
  as_fn_error $? "conditional \"XFONT_FREETYPE\" was never defined.
 
13707
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15028
13708
fi
15029
13709
if test -z "${X_BZIP2_FONT_COMPRESSION_TRUE}" && test -z "${X_BZIP2_FONT_COMPRESSION_FALSE}"; then
15030
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
15031
 
Usually this means the macro was only invoked conditionally." >&5
15032
 
$as_echo "$as_me: error: conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
15033
 
Usually this means the macro was only invoked conditionally." >&2;}
15034
 
   { (exit 1); exit 1; }; }
 
13710
  as_fn_error $? "conditional \"X_BZIP2_FONT_COMPRESSION\" was never defined.
 
13711
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15035
13712
fi
15036
13713
if test -z "${XFONT_BUILTINS_TRUE}" && test -z "${XFONT_BUILTINS_FALSE}"; then
15037
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BUILTINS\" was never defined.
15038
 
Usually this means the macro was only invoked conditionally." >&5
15039
 
$as_echo "$as_me: error: conditional \"XFONT_BUILTINS\" was never defined.
15040
 
Usually this means the macro was only invoked conditionally." >&2;}
15041
 
   { (exit 1); exit 1; }; }
 
13714
  as_fn_error $? "conditional \"XFONT_BUILTINS\" was never defined.
 
13715
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15042
13716
fi
15043
13717
if test -z "${XFONT_PCFFORMAT_TRUE}" && test -z "${XFONT_PCFFORMAT_FALSE}"; then
15044
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_PCFFORMAT\" was never defined.
15045
 
Usually this means the macro was only invoked conditionally." >&5
15046
 
$as_echo "$as_me: error: conditional \"XFONT_PCFFORMAT\" was never defined.
15047
 
Usually this means the macro was only invoked conditionally." >&2;}
15048
 
   { (exit 1); exit 1; }; }
 
13718
  as_fn_error $? "conditional \"XFONT_PCFFORMAT\" was never defined.
 
13719
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15049
13720
fi
15050
13721
if test -z "${XFONT_BDFFORMAT_TRUE}" && test -z "${XFONT_BDFFORMAT_FALSE}"; then
15051
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BDFFORMAT\" was never defined.
15052
 
Usually this means the macro was only invoked conditionally." >&5
15053
 
$as_echo "$as_me: error: conditional \"XFONT_BDFFORMAT\" was never defined.
15054
 
Usually this means the macro was only invoked conditionally." >&2;}
15055
 
   { (exit 1); exit 1; }; }
 
13722
  as_fn_error $? "conditional \"XFONT_BDFFORMAT\" was never defined.
 
13723
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15056
13724
fi
15057
13725
if test -z "${XFONT_SNFFORMAT_TRUE}" && test -z "${XFONT_SNFFORMAT_FALSE}"; then
15058
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_SNFFORMAT\" was never defined.
15059
 
Usually this means the macro was only invoked conditionally." >&5
15060
 
$as_echo "$as_me: error: conditional \"XFONT_SNFFORMAT\" was never defined.
15061
 
Usually this means the macro was only invoked conditionally." >&2;}
15062
 
   { (exit 1); exit 1; }; }
 
13726
  as_fn_error $? "conditional \"XFONT_SNFFORMAT\" was never defined.
 
13727
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15063
13728
fi
15064
13729
if test -z "${XFONT_BITMAP_TRUE}" && test -z "${XFONT_BITMAP_FALSE}"; then
15065
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_BITMAP\" was never defined.
15066
 
Usually this means the macro was only invoked conditionally." >&5
15067
 
$as_echo "$as_me: error: conditional \"XFONT_BITMAP\" was never defined.
15068
 
Usually this means the macro was only invoked conditionally." >&2;}
15069
 
   { (exit 1); exit 1; }; }
 
13730
  as_fn_error $? "conditional \"XFONT_BITMAP\" was never defined.
 
13731
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15070
13732
fi
15071
13733
if test -z "${XFONT_FONTFILE_TRUE}" && test -z "${XFONT_FONTFILE_FALSE}"; then
15072
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FONTFILE\" was never defined.
15073
 
Usually this means the macro was only invoked conditionally." >&5
15074
 
$as_echo "$as_me: error: conditional \"XFONT_FONTFILE\" was never defined.
15075
 
Usually this means the macro was only invoked conditionally." >&2;}
15076
 
   { (exit 1); exit 1; }; }
 
13734
  as_fn_error $? "conditional \"XFONT_FONTFILE\" was never defined.
 
13735
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15077
13736
fi
15078
13737
if test -z "${XFONT_FC_TRUE}" && test -z "${XFONT_FC_FALSE}"; then
15079
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"XFONT_FC\" was never defined.
15080
 
Usually this means the macro was only invoked conditionally." >&5
15081
 
$as_echo "$as_me: error: conditional \"XFONT_FC\" was never defined.
15082
 
Usually this means the macro was only invoked conditionally." >&2;}
15083
 
   { (exit 1); exit 1; }; }
 
13738
  as_fn_error $? "conditional \"XFONT_FC\" was never defined.
 
13739
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15084
13740
fi
15085
13741
 
15086
 
: ${CONFIG_STATUS=./config.status}
 
13742
: "${CONFIG_STATUS=./config.status}"
15087
13743
ac_write_fail=0
15088
13744
ac_clean_files_save=$ac_clean_files
15089
13745
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15090
 
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
13746
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15091
13747
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15092
 
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13748
as_write_fail=0
 
13749
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15093
13750
#! $SHELL
15094
13751
# Generated by $as_me.
15095
13752
# Run this file to recreate the current configuration.
15099
13756
debug=false
15100
13757
ac_cs_recheck=false
15101
13758
ac_cs_silent=false
 
13759
 
15102
13760
SHELL=\${CONFIG_SHELL-$SHELL}
15103
 
_ACEOF
15104
 
 
15105
 
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15106
 
## --------------------- ##
15107
 
## M4sh Initialization.  ##
15108
 
## --------------------- ##
 
13761
export SHELL
 
13762
_ASEOF
 
13763
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
13764
## -------------------- ##
 
13765
## M4sh Initialization. ##
 
13766
## -------------------- ##
15109
13767
 
15110
13768
# Be more Bourne compatible
15111
13769
DUALCASE=1; export DUALCASE # for MKS sh
15112
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
13770
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15113
13771
  emulate sh
15114
13772
  NULLCMD=:
15115
13773
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15117
13775
  alias -g '${1+"$@"}'='"$@"'
15118
13776
  setopt NO_GLOB_SUBST
15119
13777
else
15120
 
  case `(set -o) 2>/dev/null` in
15121
 
  *posix*) set -o posix ;;
 
13778
  case `(set -o) 2>/dev/null` in #(
 
13779
  *posix*) :
 
13780
    set -o posix ;; #(
 
13781
  *) :
 
13782
     ;;
15122
13783
esac
15123
 
 
15124
13784
fi
15125
13785
 
15126
13786
 
15127
 
 
15128
 
 
15129
 
# PATH needs CR
15130
 
# Avoid depending upon Character Ranges.
15131
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15132
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15133
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15134
 
as_cr_digits='0123456789'
15135
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
15136
 
 
15137
13787
as_nl='
15138
13788
'
15139
13789
export as_nl
15141
13791
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15142
13792
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15143
13793
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15144
 
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13794
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
13795
# but without wasting forks for bash or zsh.
 
13796
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
13797
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13798
  as_echo='print -r --'
 
13799
  as_echo_n='print -rn --'
 
13800
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15145
13801
  as_echo='printf %s\n'
15146
13802
  as_echo_n='printf %s'
15147
13803
else
15152
13808
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15153
13809
    as_echo_n_body='eval
15154
13810
      arg=$1;
15155
 
      case $arg in
 
13811
      case $arg in #(
15156
13812
      *"$as_nl"*)
15157
13813
        expr "X$arg" : "X\\(.*\\)$as_nl";
15158
13814
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15175
13831
  }
15176
13832
fi
15177
13833
 
15178
 
# Support unset when possible.
15179
 
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15180
 
  as_unset=unset
15181
 
else
15182
 
  as_unset=false
15183
 
fi
15184
 
 
15185
13834
 
15186
13835
# IFS
15187
13836
# We need space, tab and new line, in precisely that order.  Quoting is
15191
13840
IFS=" ""        $as_nl"
15192
13841
 
15193
13842
# Find who we are.  Look in the path if we contain no directory separator.
15194
 
case $0 in
 
13843
as_myself=
 
13844
case $0 in #((
15195
13845
  *[\\/]* ) as_myself=$0 ;;
15196
13846
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15197
13847
for as_dir in $PATH
15198
13848
do
15199
13849
  IFS=$as_save_IFS
15200
13850
  test -z "$as_dir" && as_dir=.
15201
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15202
 
done
 
13851
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
13852
  done
15203
13853
IFS=$as_save_IFS
15204
13854
 
15205
13855
     ;;
15211
13861
fi
15212
13862
if test ! -f "$as_myself"; then
15213
13863
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15214
 
  { (exit 1); exit 1; }
 
13864
  exit 1
15215
13865
fi
15216
13866
 
15217
 
# Work around bugs in pre-3.0 UWIN ksh.
15218
 
for as_var in ENV MAIL MAILPATH
15219
 
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
13867
# Unset variables that we do not need and which cause bugs (e.g. in
 
13868
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
13869
# suppresses any "Segmentation fault" message there.  '((' could
 
13870
# trigger a bug in pdksh 5.2.14.
 
13871
for as_var in BASH_ENV ENV MAIL MAILPATH
 
13872
do eval test x\${$as_var+set} = xset \
 
13873
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15220
13874
done
15221
13875
PS1='$ '
15222
13876
PS2='> '
15228
13882
LANGUAGE=C
15229
13883
export LANGUAGE
15230
13884
 
15231
 
# Required to use basename.
 
13885
# CDPATH.
 
13886
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13887
 
 
13888
 
 
13889
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
13890
# ----------------------------------------
 
13891
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
13892
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
13893
# script with STATUS, using 1 if that was 0.
 
13894
as_fn_error ()
 
13895
{
 
13896
  as_status=$1; test $as_status -eq 0 && as_status=1
 
13897
  if test "$4"; then
 
13898
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
13899
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
13900
  fi
 
13901
  $as_echo "$as_me: error: $2" >&2
 
13902
  as_fn_exit $as_status
 
13903
} # as_fn_error
 
13904
 
 
13905
 
 
13906
# as_fn_set_status STATUS
 
13907
# -----------------------
 
13908
# Set $? to STATUS, without forking.
 
13909
as_fn_set_status ()
 
13910
{
 
13911
  return $1
 
13912
} # as_fn_set_status
 
13913
 
 
13914
# as_fn_exit STATUS
 
13915
# -----------------
 
13916
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
13917
as_fn_exit ()
 
13918
{
 
13919
  set +e
 
13920
  as_fn_set_status $1
 
13921
  exit $1
 
13922
} # as_fn_exit
 
13923
 
 
13924
# as_fn_unset VAR
 
13925
# ---------------
 
13926
# Portably unset VAR.
 
13927
as_fn_unset ()
 
13928
{
 
13929
  { eval $1=; unset $1;}
 
13930
}
 
13931
as_unset=as_fn_unset
 
13932
# as_fn_append VAR VALUE
 
13933
# ----------------------
 
13934
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
13935
# advantage of any shell optimizations that allow amortized linear growth over
 
13936
# repeated appends, instead of the typical quadratic growth present in naive
 
13937
# implementations.
 
13938
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
13939
  eval 'as_fn_append ()
 
13940
  {
 
13941
    eval $1+=\$2
 
13942
  }'
 
13943
else
 
13944
  as_fn_append ()
 
13945
  {
 
13946
    eval $1=\$$1\$2
 
13947
  }
 
13948
fi # as_fn_append
 
13949
 
 
13950
# as_fn_arith ARG...
 
13951
# ------------------
 
13952
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
13953
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
13954
# must be portable across $(()) and expr.
 
13955
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
13956
  eval 'as_fn_arith ()
 
13957
  {
 
13958
    as_val=$(( $* ))
 
13959
  }'
 
13960
else
 
13961
  as_fn_arith ()
 
13962
  {
 
13963
    as_val=`expr "$@" || test $? -eq 1`
 
13964
  }
 
13965
fi # as_fn_arith
 
13966
 
 
13967
 
15232
13968
if expr a : '\(a\)' >/dev/null 2>&1 &&
15233
13969
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15234
13970
  as_expr=expr
15242
13978
  as_basename=false
15243
13979
fi
15244
13980
 
 
13981
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
13982
  as_dirname=dirname
 
13983
else
 
13984
  as_dirname=false
 
13985
fi
15245
13986
 
15246
 
# Name of the executable.
15247
13987
as_me=`$as_basename -- "$0" ||
15248
13988
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15249
13989
         X"$0" : 'X\(//\)$' \| \
15263
14003
          }
15264
14004
          s/.*/./; q'`
15265
14005
 
15266
 
# CDPATH.
15267
 
$as_unset CDPATH
15268
 
 
15269
 
 
15270
 
 
15271
 
  as_lineno_1=$LINENO
15272
 
  as_lineno_2=$LINENO
15273
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
15274
 
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15275
 
 
15276
 
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15277
 
  # uniformly replaced by the line number.  The first 'sed' inserts a
15278
 
  # line-number line after each line using $LINENO; the second 'sed'
15279
 
  # does the real work.  The second script uses 'N' to pair each
15280
 
  # line-number line with the line containing $LINENO, and appends
15281
 
  # trailing '-' during substitution so that $LINENO is not a special
15282
 
  # case at line end.
15283
 
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15284
 
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
15285
 
  # E. McMahon (1931-1989) for sed's syntax.  :-)
15286
 
  sed -n '
15287
 
    p
15288
 
    /[$]LINENO/=
15289
 
  ' <$as_myself |
15290
 
    sed '
15291
 
      s/[$]LINENO.*/&-/
15292
 
      t lineno
15293
 
      b
15294
 
      :lineno
15295
 
      N
15296
 
      :loop
15297
 
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15298
 
      t loop
15299
 
      s/-\n.*//
15300
 
    ' >$as_me.lineno &&
15301
 
  chmod +x "$as_me.lineno" ||
15302
 
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15303
 
   { (exit 1); exit 1; }; }
15304
 
 
15305
 
  # Don't try to exec as it changes $[0], causing all sort of problems
15306
 
  # (the dirname of $[0] is not the place where we might find the
15307
 
  # original and so on.  Autoconf is especially sensitive to this).
15308
 
  . "./$as_me.lineno"
15309
 
  # Exit status is that of the last command.
15310
 
  exit
15311
 
}
15312
 
 
15313
 
 
15314
 
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15315
 
  as_dirname=dirname
15316
 
else
15317
 
  as_dirname=false
15318
 
fi
 
14006
# Avoid depending upon Character Ranges.
 
14007
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
14008
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
14009
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
14010
as_cr_digits='0123456789'
 
14011
as_cr_alnum=$as_cr_Letters$as_cr_digits
15319
14012
 
15320
14013
ECHO_C= ECHO_N= ECHO_T=
15321
 
case `echo -n x` in
 
14014
case `echo -n x` in #(((((
15322
14015
-n*)
15323
 
  case `echo 'x\c'` in
 
14016
  case `echo 'xy\c'` in
15324
14017
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
15325
 
  *)   ECHO_C='\c';;
 
14018
  xy)  ECHO_C='\c';;
 
14019
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
14020
       ECHO_T=' ';;
15326
14021
  esac;;
15327
14022
*)
15328
14023
  ECHO_N='-n';;
15329
14024
esac
15330
 
if expr a : '\(a\)' >/dev/null 2>&1 &&
15331
 
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15332
 
  as_expr=expr
15333
 
else
15334
 
  as_expr=false
15335
 
fi
15336
14025
 
15337
14026
rm -f conf$$ conf$$.exe conf$$.file
15338
14027
if test -d conf$$.dir; then
15361
14050
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15362
14051
rmdir conf$$.dir 2>/dev/null
15363
14052
 
 
14053
 
 
14054
# as_fn_mkdir_p
 
14055
# -------------
 
14056
# Create "$as_dir" as a directory, including parents if necessary.
 
14057
as_fn_mkdir_p ()
 
14058
{
 
14059
 
 
14060
  case $as_dir in #(
 
14061
  -*) as_dir=./$as_dir;;
 
14062
  esac
 
14063
  test -d "$as_dir" || eval $as_mkdir_p || {
 
14064
    as_dirs=
 
14065
    while :; do
 
14066
      case $as_dir in #(
 
14067
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
14068
      *) as_qdir=$as_dir;;
 
14069
      esac
 
14070
      as_dirs="'$as_qdir' $as_dirs"
 
14071
      as_dir=`$as_dirname -- "$as_dir" ||
 
14072
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14073
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
14074
         X"$as_dir" : 'X\(//\)$' \| \
 
14075
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
14076
$as_echo X"$as_dir" |
 
14077
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
14078
            s//\1/
 
14079
            q
 
14080
          }
 
14081
          /^X\(\/\/\)[^/].*/{
 
14082
            s//\1/
 
14083
            q
 
14084
          }
 
14085
          /^X\(\/\/\)$/{
 
14086
            s//\1/
 
14087
            q
 
14088
          }
 
14089
          /^X\(\/\).*/{
 
14090
            s//\1/
 
14091
            q
 
14092
          }
 
14093
          s/.*/./; q'`
 
14094
      test -d "$as_dir" && break
 
14095
    done
 
14096
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
14097
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
14098
 
 
14099
 
 
14100
} # as_fn_mkdir_p
15364
14101
if mkdir -p . 2>/dev/null; then
15365
 
  as_mkdir_p=:
 
14102
  as_mkdir_p='mkdir -p "$as_dir"'
15366
14103
else
15367
14104
  test -d ./-p && rmdir ./-p
15368
14105
  as_mkdir_p=false
15381
14118
      if test -d "$1"; then
15382
14119
        test -d "$1/.";
15383
14120
      else
15384
 
        case $1 in
 
14121
        case $1 in #(
15385
14122
        -*)set "./$1";;
15386
14123
        esac;
15387
 
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
14124
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15388
14125
        ???[sx]*):;;*)false;;esac;fi
15389
14126
    '\'' sh
15390
14127
  '
15399
14136
 
15400
14137
 
15401
14138
exec 6>&1
 
14139
## ----------------------------------- ##
 
14140
## Main body of $CONFIG_STATUS script. ##
 
14141
## ----------------------------------- ##
 
14142
_ASEOF
 
14143
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15402
14144
 
15403
 
# Save the log message, to keep $[0] and so on meaningful, and to
 
14145
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14146
# Save the log message, to keep $0 and so on meaningful, and to
15404
14147
# report actual input values of CONFIG_FILES etc. instead of their
15405
14148
# values after options handling.
15406
14149
ac_log="
15407
 
This file was extended by libXfont $as_me 1.4.2, which was
15408
 
generated by GNU Autoconf 2.63.  Invocation command line was
 
14150
This file was extended by libXfont $as_me 1.4.3, which was
 
14151
generated by GNU Autoconf 2.68.  Invocation command line was
15409
14152
 
15410
14153
  CONFIG_FILES    = $CONFIG_FILES
15411
14154
  CONFIG_HEADERS  = $CONFIG_HEADERS
15437
14180
 
15438
14181
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15439
14182
ac_cs_usage="\
15440
 
\`$as_me' instantiates files from templates according to the
15441
 
current configuration.
 
14183
\`$as_me' instantiates files and other configuration actions
 
14184
from templates according to the current configuration.  Unless the files
 
14185
and actions are specified as TAGs, all are instantiated by default.
15442
14186
 
15443
 
Usage: $0 [OPTION]... [FILE]...
 
14187
Usage: $0 [OPTION]... [TAG]...
15444
14188
 
15445
14189
  -h, --help       print this help, then exit
15446
14190
  -V, --version    print version number and configuration settings, then exit
 
14191
      --config     print configuration, then exit
15447
14192
  -q, --quiet, --silent
15448
14193
                   do not print progress messages
15449
14194
  -d, --debug      don't remove temporary files
15462
14207
Configuration commands:
15463
14208
$config_commands
15464
14209
 
15465
 
Report bugs to <bug-autoconf@gnu.org>."
 
14210
Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
15466
14211
 
15467
14212
_ACEOF
15468
14213
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14214
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15469
14215
ac_cs_version="\\
15470
 
libXfont config.status 1.4.2
15471
 
configured by $0, generated by GNU Autoconf 2.63,
15472
 
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
14216
libXfont config.status 1.4.3
 
14217
configured by $0, generated by GNU Autoconf 2.68,
 
14218
  with options \\"\$ac_cs_config\\"
15473
14219
 
15474
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
14220
Copyright (C) 2010 Free Software Foundation, Inc.
15475
14221
This config.status script is free software; the Free Software Foundation
15476
14222
gives unlimited permission to copy, distribute and modify it."
15477
14223
 
15489
14235
while test $# != 0
15490
14236
do
15491
14237
  case $1 in
15492
 
  --*=*)
 
14238
  --*=?*)
15493
14239
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15494
14240
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15495
14241
    ac_shift=:
15496
14242
    ;;
 
14243
  --*=)
 
14244
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
14245
    ac_optarg=
 
14246
    ac_shift=:
 
14247
    ;;
15497
14248
  *)
15498
14249
    ac_option=$1
15499
14250
    ac_optarg=$2
15507
14258
    ac_cs_recheck=: ;;
15508
14259
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15509
14260
    $as_echo "$ac_cs_version"; exit ;;
 
14261
  --config | --confi | --conf | --con | --co | --c )
 
14262
    $as_echo "$ac_cs_config"; exit ;;
15510
14263
  --debug | --debu | --deb | --de | --d | -d )
15511
14264
    debug=: ;;
15512
14265
  --file | --fil | --fi | --f )
15513
14266
    $ac_shift
15514
14267
    case $ac_optarg in
15515
14268
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
14269
    '') as_fn_error $? "missing file argument" ;;
15516
14270
    esac
15517
 
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
14271
    as_fn_append CONFIG_FILES " '$ac_optarg'"
15518
14272
    ac_need_defaults=false;;
15519
14273
  --header | --heade | --head | --hea )
15520
14274
    $ac_shift
15521
14275
    case $ac_optarg in
15522
14276
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15523
14277
    esac
15524
 
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
14278
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15525
14279
    ac_need_defaults=false;;
15526
14280
  --he | --h)
15527
14281
    # Conflict between --help and --header
15528
 
    { $as_echo "$as_me: error: ambiguous option: $1
15529
 
Try \`$0 --help' for more information." >&2
15530
 
   { (exit 1); exit 1; }; };;
 
14282
    as_fn_error $? "ambiguous option: \`$1'
 
14283
Try \`$0 --help' for more information.";;
15531
14284
  --help | --hel | -h )
15532
14285
    $as_echo "$ac_cs_usage"; exit ;;
15533
14286
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15535
14288
    ac_cs_silent=: ;;
15536
14289
 
15537
14290
  # This is an error.
15538
 
  -*) { $as_echo "$as_me: error: unrecognized option: $1
15539
 
Try \`$0 --help' for more information." >&2
15540
 
   { (exit 1); exit 1; }; } ;;
 
14291
  -*) as_fn_error $? "unrecognized option: \`$1'
 
14292
Try \`$0 --help' for more information." ;;
15541
14293
 
15542
 
  *) ac_config_targets="$ac_config_targets $1"
 
14294
  *) as_fn_append ac_config_targets " $1"
15543
14295
     ac_need_defaults=false ;;
15544
14296
 
15545
14297
  esac
15590
14342
sed_quote_subst='$sed_quote_subst'
15591
14343
double_quote_subst='$double_quote_subst'
15592
14344
delay_variable_subst='$delay_variable_subst'
15593
 
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15594
 
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15595
 
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15596
 
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15597
 
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15598
 
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15599
 
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15600
 
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15601
 
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15602
 
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15603
 
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15604
 
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15605
 
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15606
 
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15607
 
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15608
 
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15609
 
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15610
 
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15611
 
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15612
 
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15613
 
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15614
 
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15615
 
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15616
 
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15617
 
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15618
 
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15619
 
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15620
 
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15621
 
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15622
 
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15623
 
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15624
 
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15625
 
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15626
 
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15627
 
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15628
 
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15629
 
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15630
 
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15631
 
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15632
 
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15633
 
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15634
 
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15635
 
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15636
 
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15637
 
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
15638
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15639
 
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15640
 
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15641
 
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15642
 
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15643
 
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15644
 
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15645
 
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15646
 
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15647
 
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15648
 
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15649
 
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15650
 
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15651
 
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15652
 
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15653
 
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15654
 
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15655
 
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15656
 
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15657
 
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15658
 
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15659
 
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15660
 
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15661
 
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15662
 
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15663
 
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15664
 
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15665
 
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15666
 
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15667
 
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15668
 
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15669
 
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15670
 
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15671
 
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15672
 
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15673
 
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15674
 
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15675
 
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15676
 
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15677
 
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15678
 
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15679
 
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15680
 
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15681
 
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15682
 
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15683
 
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15684
 
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15685
 
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15686
 
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15687
 
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15688
 
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15689
 
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15690
 
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15691
 
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15692
 
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15693
 
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15694
 
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15695
 
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15696
 
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15697
 
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15698
 
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15699
 
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15700
 
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15701
 
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15702
 
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15703
 
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15704
 
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15705
 
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15706
 
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15707
 
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15708
 
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15709
 
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15710
 
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
14345
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
14346
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
14347
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
14348
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
14349
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
14350
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
14351
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
14352
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
14353
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
14354
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
14355
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
14356
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
14357
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
14358
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
14359
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
14360
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
14361
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
14362
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
14363
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
14364
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
14365
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
14366
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
14367
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
14368
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
14369
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
14370
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
14371
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
14372
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
14373
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
14374
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
14375
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
14376
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
14377
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
14378
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
14379
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
14380
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
14381
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
14382
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14383
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14384
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14385
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
14386
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
14387
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
14388
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
14389
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
14390
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
14391
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
14392
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
14393
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14394
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
14395
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
14396
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
14397
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
14398
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
14399
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
14400
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
14401
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
14402
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
14403
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
14404
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
14405
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
14406
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
14407
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
14408
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
14409
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14410
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
14411
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
14412
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14413
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14414
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
14415
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
14416
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
14417
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
14418
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14419
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
14420
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
14421
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
14422
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14423
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
14424
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
14425
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 
14426
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
14427
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
14428
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
14429
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
14430
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14431
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
14432
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
14433
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
14434
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
 
14435
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
14436
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
14437
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
14438
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
14439
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
14440
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
14441
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
14442
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
14443
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
14444
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
14445
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
14446
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
14447
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
14448
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
14449
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
14450
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
14451
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
14452
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14453
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
14454
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
14455
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
14456
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
14457
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
14458
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
14459
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
14460
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
14461
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
14462
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
14463
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
14464
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15711
14465
 
15712
14466
LTCC='$LTCC'
15713
14467
LTCFLAGS='$LTCFLAGS'
15714
14468
compiler='$compiler_DEFAULT'
15715
14469
 
 
14470
# A function that is used when there is no print builtin or printf.
 
14471
func_fallback_echo ()
 
14472
{
 
14473
  eval 'cat <<_LTECHO_EOF
 
14474
\$1
 
14475
_LTECHO_EOF'
 
14476
}
 
14477
 
15716
14478
# Quote evaled strings.
15717
 
for var in SED \
 
14479
for var in SHELL \
 
14480
ECHO \
 
14481
SED \
15718
14482
GREP \
15719
14483
EGREP \
15720
14484
FGREP \
15738
14502
lt_cv_sys_global_symbol_to_cdecl \
15739
14503
lt_cv_sys_global_symbol_to_c_name_address \
15740
14504
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15741
 
SHELL \
15742
 
ECHO \
15743
14505
lt_prog_compiler_no_builtin_flag \
15744
14506
lt_prog_compiler_wl \
15745
14507
lt_prog_compiler_pic \
15769
14531
libname_spec \
15770
14532
library_names_spec \
15771
14533
soname_spec \
 
14534
install_override_mode \
15772
14535
finish_eval \
15773
14536
old_striplib \
15774
14537
striplib; do
15775
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14538
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15776
14539
    *[\\\\\\\`\\"\\\$]*)
15777
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
14540
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15778
14541
      ;;
15779
14542
    *)
15780
14543
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15801
14564
finish_cmds \
15802
14565
sys_lib_search_path_spec \
15803
14566
sys_lib_dlsearch_path_spec; do
15804
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
14567
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15805
14568
    *[\\\\\\\`\\"\\\$]*)
15806
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
14569
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15807
14570
      ;;
15808
14571
    *)
15809
14572
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15811
14574
    esac
15812
14575
done
15813
14576
 
15814
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
15815
 
case \$lt_ECHO in
15816
 
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15817
 
  ;;
15818
 
esac
15819
 
 
15820
14577
ac_aux_dir='$ac_aux_dir'
15821
14578
xsi_shell='$xsi_shell'
15822
14579
lt_shell_append='$lt_shell_append'
15850
14607
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15851
14608
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15852
14609
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
14610
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15853
14611
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15854
14612
    "src/fontfile/Makefile") CONFIG_FILES="$CONFIG_FILES src/fontfile/Makefile" ;;
15855
14613
    "src/FreeType/Makefile") CONFIG_FILES="$CONFIG_FILES src/FreeType/Makefile" ;;
15860
14618
    "src/stubs/Makefile") CONFIG_FILES="$CONFIG_FILES src/stubs/Makefile" ;;
15861
14619
    "xfont.pc") CONFIG_FILES="$CONFIG_FILES xfont.pc" ;;
15862
14620
 
15863
 
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15864
 
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15865
 
   { (exit 1); exit 1; }; };;
 
14621
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15866
14622
  esac
15867
14623
done
15868
14624
 
15885
14641
# after its creation but before its name has been assigned to `$tmp'.
15886
14642
$debug ||
15887
14643
{
15888
 
  tmp=
 
14644
  tmp= ac_tmp=
15889
14645
  trap 'exit_status=$?
15890
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
14646
  : "${ac_tmp:=$tmp}"
 
14647
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15891
14648
' 0
15892
 
  trap '{ (exit 1); exit 1; }' 1 2 13 15
 
14649
  trap 'as_fn_exit 1' 1 2 13 15
15893
14650
}
15894
14651
# Create a (secure) tmp directory for tmp files.
15895
14652
 
15896
14653
{
15897
14654
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15898
 
  test -n "$tmp" && test -d "$tmp"
 
14655
  test -d "$tmp"
15899
14656
}  ||
15900
14657
{
15901
14658
  tmp=./conf$$-$RANDOM
15902
14659
  (umask 077 && mkdir "$tmp")
15903
 
} ||
15904
 
{
15905
 
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
15906
 
   { (exit 1); exit 1; }
15907
 
}
 
14660
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
14661
ac_tmp=$tmp
15908
14662
 
15909
14663
# Set up the scripts for CONFIG_FILES section.
15910
14664
# No need to generate them if there are no CONFIG_FILES.
15912
14666
if test -n "$CONFIG_FILES"; then
15913
14667
 
15914
14668
 
15915
 
ac_cr='
 
 
b"'"
 
14669
ac_cr=`echo X | tr X '\015'`
 
14670
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
14671
# But we know of no other shell where ac_cr would be empty at this
 
14672
# point, so we can use a bashism as a fallback.
 
14673
if test "x$ac_cr" = x; then
 
14674
  eval ac_cr=\$\'\\r\'
 
14675
fi
15916
14676
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15917
14677
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15918
14678
  ac_cs_awk_cr='\\r'
15920
14680
  ac_cs_awk_cr=$ac_cr
15921
14681
fi
15922
14682
 
15923
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
14683
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15924
14684
_ACEOF
15925
14685
 
15926
14686
 
15929
14689
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15930
14690
  echo "_ACEOF"
15931
14691
} >conf$$subs.sh ||
15932
 
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15933
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15934
 
   { (exit 1); exit 1; }; }
15935
 
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
14692
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
14693
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15936
14694
ac_delim='%!_!# '
15937
14695
for ac_last_try in false false false false false :; do
15938
14696
  . ./conf$$subs.sh ||
15939
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15940
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15941
 
   { (exit 1); exit 1; }; }
 
14697
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15942
14698
 
15943
14699
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15944
14700
  if test $ac_delim_n = $ac_delim_num; then
15945
14701
    break
15946
14702
  elif $ac_last_try; then
15947
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15948
 
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15949
 
   { (exit 1); exit 1; }; }
 
14703
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15950
14704
  else
15951
14705
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15952
14706
  fi
15954
14708
rm -f conf$$subs.sh
15955
14709
 
15956
14710
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15957
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
14711
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15958
14712
_ACEOF
15959
14713
sed -n '
15960
14714
h
15968
14722
t delim
15969
14723
:nl
15970
14724
h
15971
 
s/\(.\{148\}\).*/\1/
 
14725
s/\(.\{148\}\)..*/\1/
15972
14726
t more1
15973
14727
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15974
14728
p
15982
14736
t nl
15983
14737
:delim
15984
14738
h
15985
 
s/\(.\{148\}\).*/\1/
 
14739
s/\(.\{148\}\)..*/\1/
15986
14740
t more2
15987
14741
s/["\\]/\\&/g; s/^/"/; s/$/"/
15988
14742
p
16002
14756
rm -f conf$$subs.awk
16003
14757
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16004
14758
_ACAWK
16005
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
14759
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16006
14760
  for (key in S) S_is_set[key] = 1
16007
14761
  FS = ""
16008
14762
 
16034
14788
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16035
14789
else
16036
14790
  cat
16037
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16038
 
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
16039
 
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
16040
 
   { (exit 1); exit 1; }; }
 
14791
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
14792
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16041
14793
_ACEOF
16042
14794
 
16043
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
16044
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
14795
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
14796
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16045
14797
# trailing colons and then remove the whole line if VPATH becomes empty
16046
14798
# (actually we leave an empty line to preserve line numbers).
16047
14799
if test "x$srcdir" = x.; then
16048
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
16049
 
s/:*\$(srcdir):*/:/
16050
 
s/:*\${srcdir}:*/:/
16051
 
s/:*@srcdir@:*/:/
16052
 
s/^\([^=]*=[     ]*\):*/\1/
 
14800
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
14801
h
 
14802
s///
 
14803
s/^/:/
 
14804
s/[      ]*$/:/
 
14805
s/:\$(srcdir):/:/g
 
14806
s/:\${srcdir}:/:/g
 
14807
s/:@srcdir@:/:/g
 
14808
s/^:*//
16053
14809
s/:*$//
 
14810
x
 
14811
s/\(=[   ]*\).*/\1/
 
14812
G
 
14813
s/\n//
16054
14814
s/^[^=]*=[       ]*$//
16055
14815
}'
16056
14816
fi
16062
14822
# No need to generate them if there are no CONFIG_HEADERS.
16063
14823
# This happens for instance with `./config.status Makefile'.
16064
14824
if test -n "$CONFIG_HEADERS"; then
16065
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
14825
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16066
14826
BEGIN {
16067
14827
_ACEOF
16068
14828
 
16074
14834
# handling of long lines.
16075
14835
ac_delim='%!_!# '
16076
14836
for ac_last_try in false false :; do
16077
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16078
 
  if test -z "$ac_t"; then
 
14837
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
14838
  if test -z "$ac_tt"; then
16079
14839
    break
16080
14840
  elif $ac_last_try; then
16081
 
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
16082
 
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
16083
 
   { (exit 1); exit 1; }; }
 
14841
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16084
14842
  else
16085
14843
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16086
14844
  fi
16165
14923
_ACAWK
16166
14924
_ACEOF
16167
14925
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16168
 
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
16169
 
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
16170
 
   { (exit 1); exit 1; }; }
 
14926
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16171
14927
fi # test -n "$CONFIG_HEADERS"
16172
14928
 
16173
14929
 
16180
14936
  esac
16181
14937
  case $ac_mode$ac_tag in
16182
14938
  :[FHL]*:*);;
16183
 
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
16184
 
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
16185
 
   { (exit 1); exit 1; }; };;
 
14939
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16186
14940
  :[FH]-) ac_tag=-:-;;
16187
14941
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16188
14942
  esac
16201
14955
    for ac_f
16202
14956
    do
16203
14957
      case $ac_f in
16204
 
      -) ac_f="$tmp/stdin";;
 
14958
      -) ac_f="$ac_tmp/stdin";;
16205
14959
      *) # Look for the file first in the build tree, then in the source tree
16206
14960
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
16207
14961
         # because $ac_f cannot contain `:'.
16210
14964
           [\\/$]*) false;;
16211
14965
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16212
14966
           esac ||
16213
 
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16214
 
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16215
 
   { (exit 1); exit 1; }; };;
 
14967
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16216
14968
      esac
16217
14969
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16218
 
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
14970
      as_fn_append ac_file_inputs " '$ac_f'"
16219
14971
    done
16220
14972
 
16221
14973
    # Let's still pretend it is `configure' which instantiates (i.e., don't
16226
14978
        `' by configure.'
16227
14979
    if test x"$ac_file" != x-; then
16228
14980
      configure_input="$ac_file.  $configure_input"
16229
 
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
14981
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16230
14982
$as_echo "$as_me: creating $ac_file" >&6;}
16231
14983
    fi
16232
14984
    # Neutralize special characters interpreted by sed in replacement strings.
16238
14990
    esac
16239
14991
 
16240
14992
    case $ac_tag in
16241
 
    *:-:* | *:-) cat >"$tmp/stdin" \
16242
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16243
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16244
 
   { (exit 1); exit 1; }; } ;;
 
14993
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
14994
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16245
14995
    esac
16246
14996
    ;;
16247
14997
  esac
16269
15019
            q
16270
15020
          }
16271
15021
          s/.*/./; q'`
16272
 
  { as_dir="$ac_dir"
16273
 
  case $as_dir in #(
16274
 
  -*) as_dir=./$as_dir;;
16275
 
  esac
16276
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16277
 
    as_dirs=
16278
 
    while :; do
16279
 
      case $as_dir in #(
16280
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16281
 
      *) as_qdir=$as_dir;;
16282
 
      esac
16283
 
      as_dirs="'$as_qdir' $as_dirs"
16284
 
      as_dir=`$as_dirname -- "$as_dir" ||
16285
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16286
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16287
 
         X"$as_dir" : 'X\(//\)$' \| \
16288
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16289
 
$as_echo X"$as_dir" |
16290
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16291
 
            s//\1/
16292
 
            q
16293
 
          }
16294
 
          /^X\(\/\/\)[^/].*/{
16295
 
            s//\1/
16296
 
            q
16297
 
          }
16298
 
          /^X\(\/\/\)$/{
16299
 
            s//\1/
16300
 
            q
16301
 
          }
16302
 
          /^X\(\/\).*/{
16303
 
            s//\1/
16304
 
            q
16305
 
          }
16306
 
          s/.*/./; q'`
16307
 
      test -d "$as_dir" && break
16308
 
    done
16309
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16310
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16311
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16312
 
   { (exit 1); exit 1; }; }; }
 
15022
  as_dir="$ac_dir"; as_fn_mkdir_p
16313
15023
  ac_builddir=.
16314
15024
 
16315
15025
case "$ac_dir" in
16366
15076
# If the template does not know about datarootdir, expand it.
16367
15077
# FIXME: This hack should be removed a few years after 2.60.
16368
15078
ac_datarootdir_hack=; ac_datarootdir_seen=
16369
 
 
16370
15079
ac_sed_dataroot='
16371
15080
/datarootdir/ {
16372
15081
  p
16376
15085
/@docdir@/p
16377
15086
/@infodir@/p
16378
15087
/@localedir@/p
16379
 
/@mandir@/p
16380
 
'
 
15088
/@mandir@/p'
16381
15089
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16382
15090
*datarootdir*) ac_datarootdir_seen=yes;;
16383
15091
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16384
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
15092
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16385
15093
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16386
15094
_ACEOF
16387
15095
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16391
15099
  s&@infodir@&$infodir&g
16392
15100
  s&@localedir@&$localedir&g
16393
15101
  s&@mandir@&$mandir&g
16394
 
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
15102
  s&\\\${datarootdir}&$datarootdir&g' ;;
16395
15103
esac
16396
15104
_ACEOF
16397
15105
 
16419
15127
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16420
15128
$ac_datarootdir_hack
16421
15129
"
16422
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16423
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16424
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16425
 
   { (exit 1); exit 1; }; }
 
15130
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
15131
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16426
15132
 
16427
15133
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16428
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16429
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16430
 
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16431
 
which seems to be undefined.  Please make sure it is defined." >&5
 
15134
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
15135
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
15136
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
15137
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
15138
which seems to be undefined.  Please make sure it is defined" >&5
16432
15139
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16433
 
which seems to be undefined.  Please make sure it is defined." >&2;}
 
15140
which seems to be undefined.  Please make sure it is defined" >&2;}
16434
15141
 
16435
 
  rm -f "$tmp/stdin"
 
15142
  rm -f "$ac_tmp/stdin"
16436
15143
  case $ac_file in
16437
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
16438
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
15144
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
15145
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16439
15146
  esac \
16440
 
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16441
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16442
 
   { (exit 1); exit 1; }; }
 
15147
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16443
15148
 ;;
16444
15149
  :H)
16445
15150
  #
16448
15153
  if test x"$ac_file" != x-; then
16449
15154
    {
16450
15155
      $as_echo "/* $configure_input  */" \
16451
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16452
 
    } >"$tmp/config.h" \
16453
 
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16454
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16455
 
   { (exit 1); exit 1; }; }
16456
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16457
 
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
15156
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
15157
    } >"$ac_tmp/config.h" \
 
15158
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
15159
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
15160
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16458
15161
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16459
15162
    else
16460
15163
      rm -f "$ac_file"
16461
 
      mv "$tmp/config.h" "$ac_file" \
16462
 
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
16463
 
$as_echo "$as_me: error: could not create $ac_file" >&2;}
16464
 
   { (exit 1); exit 1; }; }
 
15164
      mv "$ac_tmp/config.h" "$ac_file" \
 
15165
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16465
15166
    fi
16466
15167
  else
16467
15168
    $as_echo "/* $configure_input  */" \
16468
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16469
 
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
16470
 
$as_echo "$as_me: error: could not create -" >&2;}
16471
 
   { (exit 1); exit 1; }; }
 
15169
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
15170
      || as_fn_error $? "could not create -" "$LINENO" 5
16472
15171
  fi
16473
15172
# Compute "$ac_file"'s index in $config_headers.
16474
15173
_am_arg="$ac_file"
16506
15205
          s/.*/./; q'`/stamp-h$_am_stamp_count
16507
15206
 ;;
16508
15207
 
16509
 
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
15208
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16510
15209
$as_echo "$as_me: executing $ac_file commands" >&6;}
16511
15210
 ;;
16512
15211
  esac
16601
15300
            q
16602
15301
          }
16603
15302
          s/.*/./; q'`
16604
 
      { as_dir=$dirpart/$fdir
16605
 
  case $as_dir in #(
16606
 
  -*) as_dir=./$as_dir;;
16607
 
  esac
16608
 
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16609
 
    as_dirs=
16610
 
    while :; do
16611
 
      case $as_dir in #(
16612
 
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16613
 
      *) as_qdir=$as_dir;;
16614
 
      esac
16615
 
      as_dirs="'$as_qdir' $as_dirs"
16616
 
      as_dir=`$as_dirname -- "$as_dir" ||
16617
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16618
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
16619
 
         X"$as_dir" : 'X\(//\)$' \| \
16620
 
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16621
 
$as_echo X"$as_dir" |
16622
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16623
 
            s//\1/
16624
 
            q
16625
 
          }
16626
 
          /^X\(\/\/\)[^/].*/{
16627
 
            s//\1/
16628
 
            q
16629
 
          }
16630
 
          /^X\(\/\/\)$/{
16631
 
            s//\1/
16632
 
            q
16633
 
          }
16634
 
          /^X\(\/\).*/{
16635
 
            s//\1/
16636
 
            q
16637
 
          }
16638
 
          s/.*/./; q'`
16639
 
      test -d "$as_dir" && break
16640
 
    done
16641
 
    test -z "$as_dirs" || eval "mkdir $as_dirs"
16642
 
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16643
 
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
16644
 
   { (exit 1); exit 1; }; }; }
 
15303
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16645
15304
      # echo "creating $dirpart/$file"
16646
15305
      echo '# dummy' > "$dirpart/$file"
16647
15306
    done
16669
15328
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16670
15329
#
16671
15330
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16672
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
15331
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
15332
#                 Inc.
16673
15333
#   Written by Gordon Matzigkeit, 1996
16674
15334
#
16675
15335
#   This file is part of GNU Libtool.
16717
15377
# Whether or not to optimize for fast installation.
16718
15378
fast_install=$enable_fast_install
16719
15379
 
 
15380
# Shell to use when invoking shell scripts.
 
15381
SHELL=$lt_SHELL
 
15382
 
 
15383
# An echo program that protects backslashes.
 
15384
ECHO=$lt_ECHO
 
15385
 
16720
15386
# The host system.
16721
15387
host_alias=$host_alias
16722
15388
host=$host
16766
15432
# turn newlines into spaces.
16767
15433
NL2SP=$lt_lt_NL2SP
16768
15434
 
16769
 
# How to create reloadable object files.
16770
 
reload_flag=$lt_reload_flag
16771
 
reload_cmds=$lt_reload_cmds
16772
 
 
16773
15435
# An object symbol dumper.
16774
15436
OBJDUMP=$lt_OBJDUMP
16775
15437
 
16791
15453
old_postinstall_cmds=$lt_old_postinstall_cmds
16792
15454
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16793
15455
 
 
15456
# Whether to use a lock for old archive extraction.
 
15457
lock_old_archive_extraction=$lock_old_archive_extraction
 
15458
 
16794
15459
# A C compiler.
16795
15460
LTCC=$lt_CC
16796
15461
 
16812
15477
# The name of the directory that contains temporary libtool files.
16813
15478
objdir=$objdir
16814
15479
 
16815
 
# Shell to use when invoking shell scripts.
16816
 
SHELL=$lt_SHELL
16817
 
 
16818
 
# An echo program that does not interpret backslashes.
16819
 
ECHO=$lt_ECHO
16820
 
 
16821
15480
# Used to examine libraries when file_magic_cmd begins with "file".
16822
15481
MAGIC_CMD=$MAGIC_CMD
16823
15482
 
16880
15539
# The coded name of the library, if different from the real name.
16881
15540
soname_spec=$lt_soname_spec
16882
15541
 
 
15542
# Permission mode override for installation of shared libraries.
 
15543
install_override_mode=$lt_install_override_mode
 
15544
 
16883
15545
# Command to use after installation of a shared archive.
16884
15546
postinstall_cmds=$lt_postinstall_cmds
16885
15547
 
16919
15581
# The linker used to build libraries.
16920
15582
LD=$lt_LD
16921
15583
 
 
15584
# How to create reloadable object files.
 
15585
reload_flag=$lt_reload_flag
 
15586
reload_cmds=$lt_reload_cmds
 
15587
 
16922
15588
# Commands used to build an old-style archive.
16923
15589
old_archive_cmds=$lt_old_archive_cmds
16924
15590
 
17178
15844
func_dirname ()
17179
15845
{
17180
15846
  # Extract subdirectory from the argument.
17181
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
15847
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
17182
15848
  if test "X$func_dirname_result" = "X${1}"; then
17183
15849
    func_dirname_result="${3}"
17184
15850
  else
17189
15855
# func_basename file
17190
15856
func_basename ()
17191
15857
{
17192
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
15858
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
17193
15859
}
17194
15860
 
17195
15861
 
17202
15868
func_stripname ()
17203
15869
{
17204
15870
  case ${2} in
17205
 
    .*) func_stripname_result=`$ECHO "X${3}" \
17206
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17207
 
    *)  func_stripname_result=`$ECHO "X${3}" \
17208
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
15871
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
15872
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17209
15873
  esac
17210
15874
}
17211
15875
 
17216
15880
# func_opt_split
17217
15881
func_opt_split ()
17218
15882
{
17219
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17220
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
15883
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 
15884
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
17221
15885
}
17222
15886
 
17223
15887
# func_lo2o object
17224
15888
func_lo2o ()
17225
15889
{
17226
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
15890
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
17227
15891
}
17228
15892
 
17229
15893
# func_xform libobj-or-source
17230
15894
func_xform ()
17231
15895
{
17232
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
15896
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
17233
15897
}
17234
15898
 
17235
15899
# func_arith arithmetic-term...
17288
15952
done # for ac_tag
17289
15953
 
17290
15954
 
17291
 
{ (exit 0); exit 0; }
 
15955
as_fn_exit 0
17292
15956
_ACEOF
17293
 
chmod +x $CONFIG_STATUS
17294
15957
ac_clean_files=$ac_clean_files_save
17295
15958
 
17296
15959
test $ac_write_fail = 0 ||
17297
 
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
17298
 
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
17299
 
   { (exit 1); exit 1; }; }
 
15960
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17300
15961
 
17301
15962
 
17302
15963
# configure is writing to config.log, and then calls config.status.
17317
15978
  exec 5>>config.log
17318
15979
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17319
15980
  # would make configure fail if this is the last instruction.
17320
 
  $ac_cs_success || { (exit 1); exit 1; }
 
15981
  $ac_cs_success || as_fn_exit 1
17321
15982
fi
17322
15983
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17323
 
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
15984
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17324
15985
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17325
15986
fi
17326
15987