~ubuntu-branches/ubuntu/raring/openmotif/raring-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bauer
  • Date: 2010-06-29 09:42:21 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100629094221-yee9gtet2dngu6cv
Tags: 2.3.3-1
* New upstream release
* Drop patch for autoconf-bug as this was fixed upstream
* Applied patch to fix implicit pointer conversion (Closes: #587461)
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59.
 
3
# Generated by GNU Autoconf 2.63.
4
4
#
5
 
# Copyright (C) 2003 Free Software Foundation, Inc.
 
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6
7
# This configure script is free software; the Free Software Foundation
7
8
# gives unlimited permission to copy, distribute and modify it.
8
9
## --------------------- ##
9
10
## M4sh Initialization.  ##
10
11
## --------------------- ##
11
12
 
12
 
# Be Bourne compatible
13
 
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14
 
  emulate sh
15
 
  NULLCMD=:
16
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
 
  # is contrary to our usage.  Disable this feature.
18
 
  alias -g '${1+"$@"}'='"$@"'
19
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20
 
  set -o posix
21
 
fi
 
13
# Be more Bourne compatible
22
14
DUALCASE=1; export DUALCASE # for MKS sh
 
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
16
  emulate sh
 
17
  NULLCMD=:
 
18
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
19
  # is contrary to our usage.  Disable this feature.
 
20
  alias -g '${1+"$@"}'='"$@"'
 
21
  setopt NO_GLOB_SUBST
 
22
else
 
23
  case `(set -o) 2>/dev/null` in
 
24
  *posix*) set -o posix ;;
 
25
esac
 
26
 
 
27
fi
 
28
 
 
29
 
 
30
 
 
31
 
 
32
# PATH needs CR
 
33
# Avoid depending upon Character Ranges.
 
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
37
as_cr_digits='0123456789'
 
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
39
 
 
40
as_nl='
 
41
'
 
42
export as_nl
 
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
48
  as_echo='printf %s\n'
 
49
  as_echo_n='printf %s'
 
50
else
 
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
53
    as_echo_n='/usr/ucb/echo -n'
 
54
  else
 
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
56
    as_echo_n_body='eval
 
57
      arg=$1;
 
58
      case $arg in
 
59
      *"$as_nl"*)
 
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
62
      esac;
 
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
64
    '
 
65
    export as_echo_n_body
 
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
67
  fi
 
68
  export as_echo_body
 
69
  as_echo='sh -c $as_echo_body as_echo'
 
70
fi
 
71
 
 
72
# The user is always right.
 
73
if test "${PATH_SEPARATOR+set}" != set; then
 
74
  PATH_SEPARATOR=:
 
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
77
      PATH_SEPARATOR=';'
 
78
  }
 
79
fi
23
80
 
24
81
# Support unset when possible.
25
82
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29
86
fi
30
87
 
31
88
 
 
89
# IFS
 
90
# We need space, tab and new line, in precisely that order.  Quoting is
 
91
# there to prevent editors from complaining about space-tab.
 
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
93
# splitting by setting IFS to empty value.)
 
94
IFS=" ""        $as_nl"
 
95
 
 
96
# Find who we are.  Look in the path if we contain no directory separator.
 
97
case $0 in
 
98
  *[\\/]* ) as_myself=$0 ;;
 
99
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
100
for as_dir in $PATH
 
101
do
 
102
  IFS=$as_save_IFS
 
103
  test -z "$as_dir" && as_dir=.
 
104
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
105
done
 
106
IFS=$as_save_IFS
 
107
 
 
108
     ;;
 
109
esac
 
110
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
111
# in which case we are not to be found in the path.
 
112
if test "x$as_myself" = x; then
 
113
  as_myself=$0
 
114
fi
 
115
if test ! -f "$as_myself"; then
 
116
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
117
  { (exit 1); exit 1; }
 
118
fi
 
119
 
32
120
# Work around bugs in pre-3.0 UWIN ksh.
33
 
$as_unset ENV MAIL MAILPATH
 
121
for as_var in ENV MAIL MAILPATH
 
122
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
123
done
34
124
PS1='$ '
35
125
PS2='> '
36
126
PS4='+ '
37
127
 
38
128
# NLS nuisances.
39
 
for as_var in \
40
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42
 
  LC_TELEPHONE LC_TIME
43
 
do
44
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
 
    eval $as_var=C; export $as_var
46
 
  else
47
 
    $as_unset $as_var
48
 
  fi
49
 
done
 
129
LC_ALL=C
 
130
export LC_ALL
 
131
LANGUAGE=C
 
132
export LANGUAGE
50
133
 
51
134
# Required to use basename.
52
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
136
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
53
137
  as_expr=expr
54
138
else
55
139
  as_expr=false
56
140
fi
57
141
 
58
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59
143
  as_basename=basename
60
144
else
61
145
  as_basename=false
63
147
 
64
148
 
65
149
# Name of the executable.
66
 
as_me=`$as_basename "$0" ||
 
150
as_me=`$as_basename -- "$0" ||
67
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
152
         X"$0" : 'X\(//\)$' \| \
69
 
         X"$0" : 'X\(/\)$' \| \
70
 
         .     : '\(.\)' 2>/dev/null ||
71
 
echo X/"$0" |
72
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
74
 
          /^X\/\(\/\).*/{ s//\1/; q; }
75
 
          s/.*/./; q'`
76
 
 
77
 
 
78
 
# PATH needs CR, and LINENO needs CR and PATH.
79
 
# Avoid depending upon Character Ranges.
80
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
 
as_cr_digits='0123456789'
84
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
85
 
 
86
 
# The user is always right.
87
 
if test "${PATH_SEPARATOR+set}" != set; then
88
 
  echo "#! /bin/sh" >conf$$.sh
89
 
  echo  "exit 0"   >>conf$$.sh
90
 
  chmod +x conf$$.sh
91
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92
 
    PATH_SEPARATOR=';'
93
 
  else
94
 
    PATH_SEPARATOR=:
95
 
  fi
96
 
  rm -f conf$$.sh
97
 
fi
98
 
 
99
 
 
100
 
  as_lineno_1=$LINENO
101
 
  as_lineno_2=$LINENO
102
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
104
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105
 
  # Find who we are.  Look in the path if we contain no path at all
106
 
  # relative or not.
107
 
  case $0 in
108
 
    *[\\/]* ) as_myself=$0 ;;
109
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110
 
for as_dir in $PATH
111
 
do
112
 
  IFS=$as_save_IFS
113
 
  test -z "$as_dir" && as_dir=.
114
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115
 
done
116
 
 
117
 
       ;;
118
 
  esac
119
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
120
 
  # in which case we are not to be found in the path.
121
 
  if test "x$as_myself" = x; then
122
 
    as_myself=$0
123
 
  fi
124
 
  if test ! -f "$as_myself"; then
125
 
    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
 
   { (exit 1); exit 1; }; }
127
 
  fi
128
 
  case $CONFIG_SHELL in
129
 
  '')
 
153
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
154
$as_echo X/"$0" |
 
155
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
156
            s//\1/
 
157
            q
 
158
          }
 
159
          /^X\/\(\/\/\)$/{
 
160
            s//\1/
 
161
            q
 
162
          }
 
163
          /^X\/\(\/\).*/{
 
164
            s//\1/
 
165
            q
 
166
          }
 
167
          s/.*/./; q'`
 
168
 
 
169
# CDPATH.
 
170
$as_unset CDPATH
 
171
 
 
172
 
 
173
if test "x$CONFIG_SHELL" = x; then
 
174
  if (eval ":") 2>/dev/null; then
 
175
  as_have_required=yes
 
176
else
 
177
  as_have_required=no
 
178
fi
 
179
 
 
180
  if test $as_have_required = yes &&     (eval ":
 
181
(as_func_return () {
 
182
  (exit \$1)
 
183
}
 
184
as_func_success () {
 
185
  as_func_return 0
 
186
}
 
187
as_func_failure () {
 
188
  as_func_return 1
 
189
}
 
190
as_func_ret_success () {
 
191
  return 0
 
192
}
 
193
as_func_ret_failure () {
 
194
  return 1
 
195
}
 
196
 
 
197
exitcode=0
 
198
if as_func_success; then
 
199
  :
 
200
else
 
201
  exitcode=1
 
202
  echo as_func_success failed.
 
203
fi
 
204
 
 
205
if as_func_failure; then
 
206
  exitcode=1
 
207
  echo as_func_failure succeeded.
 
208
fi
 
209
 
 
210
if as_func_ret_success; then
 
211
  :
 
212
else
 
213
  exitcode=1
 
214
  echo as_func_ret_success failed.
 
215
fi
 
216
 
 
217
if as_func_ret_failure; then
 
218
  exitcode=1
 
219
  echo as_func_ret_failure succeeded.
 
220
fi
 
221
 
 
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
223
  :
 
224
else
 
225
  exitcode=1
 
226
  echo positional parameters were not saved.
 
227
fi
 
228
 
 
229
test \$exitcode = 0) || { (exit 1); exit 1; }
 
230
 
 
231
(
 
232
  as_lineno_1=\$LINENO
 
233
  as_lineno_2=\$LINENO
 
234
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
 
235
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
 
236
") 2> /dev/null; then
 
237
  :
 
238
else
 
239
  as_candidate_shells=
130
240
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
241
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132
242
do
133
243
  IFS=$as_save_IFS
134
244
  test -z "$as_dir" && as_dir=.
135
 
  for as_base in sh bash ksh sh5; do
136
 
         case $as_dir in
 
245
  case $as_dir in
137
246
         /*)
138
 
           if ("$as_dir/$as_base" -c '
139
 
  as_lineno_1=$LINENO
140
 
  as_lineno_2=$LINENO
141
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
143
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
 
             CONFIG_SHELL=$as_dir/$as_base
147
 
             export CONFIG_SHELL
148
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149
 
           fi;;
150
 
         esac
151
 
       done
 
247
           for as_base in sh bash ksh sh5; do
 
248
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
 
249
           done;;
 
250
       esac
152
251
done
153
 
;;
154
 
  esac
 
252
IFS=$as_save_IFS
 
253
 
 
254
 
 
255
      for as_shell in $as_candidate_shells $SHELL; do
 
256
         # Try only shells that exist, to save several forks.
 
257
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
258
                { ("$as_shell") 2> /dev/null <<\_ASEOF
 
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
260
  emulate sh
 
261
  NULLCMD=:
 
262
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
263
  # is contrary to our usage.  Disable this feature.
 
264
  alias -g '${1+"$@"}'='"$@"'
 
265
  setopt NO_GLOB_SUBST
 
266
else
 
267
  case `(set -o) 2>/dev/null` in
 
268
  *posix*) set -o posix ;;
 
269
esac
 
270
 
 
271
fi
 
272
 
 
273
 
 
274
:
 
275
_ASEOF
 
276
}; then
 
277
  CONFIG_SHELL=$as_shell
 
278
               as_have_required=yes
 
279
               if { "$as_shell" 2> /dev/null <<\_ASEOF
 
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 
281
  emulate sh
 
282
  NULLCMD=:
 
283
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
284
  # is contrary to our usage.  Disable this feature.
 
285
  alias -g '${1+"$@"}'='"$@"'
 
286
  setopt NO_GLOB_SUBST
 
287
else
 
288
  case `(set -o) 2>/dev/null` in
 
289
  *posix*) set -o posix ;;
 
290
esac
 
291
 
 
292
fi
 
293
 
 
294
 
 
295
:
 
296
(as_func_return () {
 
297
  (exit $1)
 
298
}
 
299
as_func_success () {
 
300
  as_func_return 0
 
301
}
 
302
as_func_failure () {
 
303
  as_func_return 1
 
304
}
 
305
as_func_ret_success () {
 
306
  return 0
 
307
}
 
308
as_func_ret_failure () {
 
309
  return 1
 
310
}
 
311
 
 
312
exitcode=0
 
313
if as_func_success; then
 
314
  :
 
315
else
 
316
  exitcode=1
 
317
  echo as_func_success failed.
 
318
fi
 
319
 
 
320
if as_func_failure; then
 
321
  exitcode=1
 
322
  echo as_func_failure succeeded.
 
323
fi
 
324
 
 
325
if as_func_ret_success; then
 
326
  :
 
327
else
 
328
  exitcode=1
 
329
  echo as_func_ret_success failed.
 
330
fi
 
331
 
 
332
if as_func_ret_failure; then
 
333
  exitcode=1
 
334
  echo as_func_ret_failure succeeded.
 
335
fi
 
336
 
 
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
 
338
  :
 
339
else
 
340
  exitcode=1
 
341
  echo positional parameters were not saved.
 
342
fi
 
343
 
 
344
test $exitcode = 0) || { (exit 1); exit 1; }
 
345
 
 
346
(
 
347
  as_lineno_1=$LINENO
 
348
  as_lineno_2=$LINENO
 
349
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
350
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
 
351
 
 
352
_ASEOF
 
353
}; then
 
354
  break
 
355
fi
 
356
 
 
357
fi
 
358
 
 
359
      done
 
360
 
 
361
      if test "x$CONFIG_SHELL" != x; then
 
362
  for as_var in BASH_ENV ENV
 
363
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
364
        done
 
365
        export CONFIG_SHELL
 
366
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
367
fi
 
368
 
 
369
 
 
370
    if test $as_have_required = no; then
 
371
  echo This script requires a shell more modern than all the
 
372
      echo shells that I found on your system.  Please install a
 
373
      echo modern shell, or manually run the script under such a
 
374
      echo shell if you do have one.
 
375
      { (exit 1); exit 1; }
 
376
fi
 
377
 
 
378
 
 
379
fi
 
380
 
 
381
fi
 
382
 
 
383
 
 
384
 
 
385
(eval "as_func_return () {
 
386
  (exit \$1)
 
387
}
 
388
as_func_success () {
 
389
  as_func_return 0
 
390
}
 
391
as_func_failure () {
 
392
  as_func_return 1
 
393
}
 
394
as_func_ret_success () {
 
395
  return 0
 
396
}
 
397
as_func_ret_failure () {
 
398
  return 1
 
399
}
 
400
 
 
401
exitcode=0
 
402
if as_func_success; then
 
403
  :
 
404
else
 
405
  exitcode=1
 
406
  echo as_func_success failed.
 
407
fi
 
408
 
 
409
if as_func_failure; then
 
410
  exitcode=1
 
411
  echo as_func_failure succeeded.
 
412
fi
 
413
 
 
414
if as_func_ret_success; then
 
415
  :
 
416
else
 
417
  exitcode=1
 
418
  echo as_func_ret_success failed.
 
419
fi
 
420
 
 
421
if as_func_ret_failure; then
 
422
  exitcode=1
 
423
  echo as_func_ret_failure succeeded.
 
424
fi
 
425
 
 
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
 
427
  :
 
428
else
 
429
  exitcode=1
 
430
  echo positional parameters were not saved.
 
431
fi
 
432
 
 
433
test \$exitcode = 0") || {
 
434
  echo No shell found that supports shell functions.
 
435
  echo Please tell bug-autoconf@gnu.org about your system,
 
436
  echo including any error possibly output before this message.
 
437
  echo This can help us improve future autoconf versions.
 
438
  echo Configuration will now proceed without shell functions.
 
439
}
 
440
 
 
441
 
 
442
 
 
443
  as_lineno_1=$LINENO
 
444
  as_lineno_2=$LINENO
 
445
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
446
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
155
447
 
156
448
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
449
  # uniformly replaced by the line number.  The first 'sed' inserts a
158
 
  # line-number line before each line; the second 'sed' does the real
159
 
  # work.  The second script uses 'N' to pair each line-number line
160
 
  # with the numbered line, and appends trailing '-' during
161
 
  # substitution so that $LINENO is not a special case at line end.
 
450
  # line-number line after each line using $LINENO; the second 'sed'
 
451
  # does the real work.  The second script uses 'N' to pair each
 
452
  # line-number line with the line containing $LINENO, and appends
 
453
  # trailing '-' during substitution so that $LINENO is not a special
 
454
  # case at line end.
162
455
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164
 
  sed '=' <$as_myself |
 
456
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
457
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
458
  sed -n '
 
459
    p
 
460
    /[$]LINENO/=
 
461
  ' <$as_myself |
165
462
    sed '
 
463
      s/[$]LINENO.*/&-/
 
464
      t lineno
 
465
      b
 
466
      :lineno
166
467
      N
167
 
      s,$,-,
168
 
      : loop
169
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
468
      :loop
 
469
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
170
470
      t loop
171
 
      s,-$,,
172
 
      s,^['$as_cr_digits']*\n,,
 
471
      s/-\n.*//
173
472
    ' >$as_me.lineno &&
174
 
  chmod +x $as_me.lineno ||
175
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
473
  chmod +x "$as_me.lineno" ||
 
474
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
475
   { (exit 1); exit 1; }; }
177
476
 
178
477
  # Don't try to exec as it changes $[0], causing all sort of problems
179
478
  # (the dirname of $[0] is not the place where we might find the
180
 
  # original and so on.  Autoconf is especially sensible to this).
181
 
  . ./$as_me.lineno
 
479
  # original and so on.  Autoconf is especially sensitive to this).
 
480
  . "./$as_me.lineno"
182
481
  # Exit status is that of the last command.
183
482
  exit
184
483
}
185
484
 
186
485
 
187
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
 
  *c*,-n*) ECHO_N= ECHO_C='
189
 
' ECHO_T='      ' ;;
190
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
486
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
487
  as_dirname=dirname
 
488
else
 
489
  as_dirname=false
 
490
fi
 
491
 
 
492
ECHO_C= ECHO_N= ECHO_T=
 
493
case `echo -n x` in
 
494
-n*)
 
495
  case `echo 'x\c'` in
 
496
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
497
  *)   ECHO_C='\c';;
 
498
  esac;;
 
499
*)
 
500
  ECHO_N='-n';;
192
501
esac
193
 
 
194
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
503
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
195
504
  as_expr=expr
196
505
else
197
506
  as_expr=false
198
507
fi
199
508
 
200
509
rm -f conf$$ conf$$.exe conf$$.file
201
 
echo >conf$$.file
202
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
 
  # We could just check for DJGPP; but this test a) works b) is more generic
204
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
 
  if test -f conf$$.exe; then
206
 
    # Don't use ln at all; we don't have any links
 
510
if test -d conf$$.dir; then
 
511
  rm -f conf$$.dir/conf$$.file
 
512
else
 
513
  rm -f conf$$.dir
 
514
  mkdir conf$$.dir 2>/dev/null
 
515
fi
 
516
if (echo >conf$$.file) 2>/dev/null; then
 
517
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
518
    as_ln_s='ln -s'
 
519
    # ... but there are two gotchas:
 
520
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
521
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
522
    # In both cases, we have to default to `cp -p'.
 
523
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
524
      as_ln_s='cp -p'
 
525
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
526
    as_ln_s=ln
 
527
  else
207
528
    as_ln_s='cp -p'
208
 
  else
209
 
    as_ln_s='ln -s'
210
529
  fi
211
 
elif ln conf$$.file conf$$ 2>/dev/null; then
212
 
  as_ln_s=ln
213
530
else
214
531
  as_ln_s='cp -p'
215
532
fi
216
 
rm -f conf$$ conf$$.exe conf$$.file
 
533
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
534
rmdir conf$$.dir 2>/dev/null
217
535
 
218
536
if mkdir -p . 2>/dev/null; then
219
537
  as_mkdir_p=:
222
540
  as_mkdir_p=false
223
541
fi
224
542
 
225
 
as_executable_p="test -f"
 
543
if test -x / >/dev/null 2>&1; then
 
544
  as_test_x='test -x'
 
545
else
 
546
  if ls -dL / >/dev/null 2>&1; then
 
547
    as_ls_L_option=L
 
548
  else
 
549
    as_ls_L_option=
 
550
  fi
 
551
  as_test_x='
 
552
    eval sh -c '\''
 
553
      if test -d "$1"; then
 
554
        test -d "$1/.";
 
555
      else
 
556
        case $1 in
 
557
        -*)set "./$1";;
 
558
        esac;
 
559
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
560
        ???[sx]*):;;*)false;;esac;fi
 
561
    '\'' sh
 
562
  '
 
563
fi
 
564
as_executable_p=$as_test_x
226
565
 
227
566
# Sed expression to map a string onto a valid CPP name.
228
567
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
570
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
571
 
233
572
 
234
 
# IFS
235
 
# We need space, tab and new line, in precisely that order.
236
 
as_nl='
237
 
'
238
 
IFS="   $as_nl"
239
 
 
240
 
# CDPATH.
241
 
$as_unset CDPATH
242
 
 
243
573
 
244
574
 
245
575
# Check that we are running under the correct shell.
246
576
SHELL=${CONFIG_SHELL-/bin/sh}
247
577
 
248
 
case X$ECHO in
 
578
case X$lt_ECHO in
249
579
X*--fallback-echo)
250
580
  # Remove one level of quotation (which was required for Make).
251
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
581
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252
582
  ;;
253
583
esac
254
584
 
255
 
echo=${ECHO-echo}
 
585
ECHO=${lt_ECHO-echo}
256
586
if test "X$1" = X--no-reexec; then
257
587
  # Discard the --no-reexec flag, and continue.
258
588
  shift
259
589
elif test "X$1" = X--fallback-echo; then
260
590
  # Avoid inline document here, it may be left over
261
591
  :
262
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
263
 
  # Yippee, $echo works!
 
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
593
  # Yippee, $ECHO works!
264
594
  :
265
595
else
266
596
  # Restart under the correct shell.
270
600
if test "X$1" = X--fallback-echo; then
271
601
  # used as fallback echo
272
602
  shift
273
 
  cat <<EOF
 
603
  cat <<_LT_EOF
274
604
$*
275
 
EOF
 
605
_LT_EOF
276
606
  exit 0
277
607
fi
278
608
 
280
610
# if CDPATH is set.
281
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
612
 
283
 
if test -z "$ECHO"; then
284
 
if test "X${echo_test_string+set}" != Xset; then
285
 
# find a string as large as possible, as long as the shell can cope with it
286
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
289
 
       echo_test_string=`eval $cmd` &&
290
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
291
 
    then
292
 
      break
293
 
    fi
294
 
  done
295
 
fi
296
 
 
297
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
298
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
299
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
300
 
  :
301
 
else
302
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
303
 
  # backslashes.  This makes it impossible to quote backslashes using
304
 
  #   echo "$something" | sed 's/\\/\\\\/g'
305
 
  #
306
 
  # So, first we look for a working echo in the user's PATH.
307
 
 
308
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
309
 
  for dir in $PATH /usr/ucb; do
 
613
if test -z "$lt_ECHO"; then
 
614
  if test "X${echo_test_string+set}" != Xset; then
 
615
    # find a string as large as possible, as long as the shell can cope with it
 
616
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
 
617
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
618
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
 
619
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
 
620
      then
 
621
        break
 
622
      fi
 
623
    done
 
624
  fi
 
625
 
 
626
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
627
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
628
     test "X$echo_testing_string" = "X$echo_test_string"; then
 
629
    :
 
630
  else
 
631
    # The Solaris, AIX, and Digital Unix default echo programs unquote
 
632
    # backslashes.  This makes it impossible to quote backslashes using
 
633
    #   echo "$something" | sed 's/\\/\\\\/g'
 
634
    #
 
635
    # So, first we look for a working echo in the user's PATH.
 
636
 
 
637
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
638
    for dir in $PATH /usr/ucb; do
 
639
      IFS="$lt_save_ifs"
 
640
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
 
641
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
 
642
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
 
643
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
644
        ECHO="$dir/echo"
 
645
        break
 
646
      fi
 
647
    done
310
648
    IFS="$lt_save_ifs"
311
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
312
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
313
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
314
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
315
 
      echo="$dir/echo"
316
 
      break
317
 
    fi
318
 
  done
319
 
  IFS="$lt_save_ifs"
320
649
 
321
 
  if test "X$echo" = Xecho; then
322
 
    # We didn't find a better echo, so look for alternatives.
323
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
324
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
325
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
326
 
      # This shell has a builtin print -r that does the trick.
327
 
      echo='print -r'
328
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
329
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
330
 
      # If we have ksh, try running configure again with it.
331
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
332
 
      export ORIGINAL_CONFIG_SHELL
333
 
      CONFIG_SHELL=/bin/ksh
334
 
      export CONFIG_SHELL
335
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
336
 
    else
337
 
      # Try using printf.
338
 
      echo='printf %s\n'
339
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
340
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
341
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
342
 
        # Cool, printf works
343
 
        :
344
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
345
 
           test "X$echo_testing_string" = 'X\t' &&
346
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
347
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
348
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
349
 
        export CONFIG_SHELL
350
 
        SHELL="$CONFIG_SHELL"
351
 
        export SHELL
352
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
353
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354
 
           test "X$echo_testing_string" = 'X\t' &&
355
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
357
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
650
    if test "X$ECHO" = Xecho; then
 
651
      # We didn't find a better echo, so look for alternatives.
 
652
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
 
653
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
 
654
         test "X$echo_testing_string" = "X$echo_test_string"; then
 
655
        # This shell has a builtin print -r that does the trick.
 
656
        ECHO='print -r'
 
657
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
 
658
           test "X$CONFIG_SHELL" != X/bin/ksh; then
 
659
        # If we have ksh, try running configure again with it.
 
660
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 
661
        export ORIGINAL_CONFIG_SHELL
 
662
        CONFIG_SHELL=/bin/ksh
 
663
        export CONFIG_SHELL
 
664
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
358
665
      else
359
 
        # maybe with a smaller string...
360
 
        prev=:
361
 
 
362
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
363
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
364
 
          then
365
 
            break
 
666
        # Try using printf.
 
667
        ECHO='printf %s\n'
 
668
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
 
669
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
 
670
           test "X$echo_testing_string" = "X$echo_test_string"; then
 
671
          # Cool, printf works
 
672
          :
 
673
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
674
             test "X$echo_testing_string" = 'X\t' &&
 
675
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
676
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
677
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
 
678
          export CONFIG_SHELL
 
679
          SHELL="$CONFIG_SHELL"
 
680
          export SHELL
 
681
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
682
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
 
683
             test "X$echo_testing_string" = 'X\t' &&
 
684
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
 
685
             test "X$echo_testing_string" = "X$echo_test_string"; then
 
686
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
 
687
        else
 
688
          # maybe with a smaller string...
 
689
          prev=:
 
690
 
 
691
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
 
692
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
 
693
            then
 
694
              break
 
695
            fi
 
696
            prev="$cmd"
 
697
          done
 
698
 
 
699
          if test "$prev" != 'sed 50q "$0"'; then
 
700
            echo_test_string=`eval $prev`
 
701
            export echo_test_string
 
702
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
 
703
          else
 
704
            # Oops.  We lost completely, so just stick with echo.
 
705
            ECHO=echo
366
706
          fi
367
 
          prev="$cmd"
368
 
        done
369
 
 
370
 
        if test "$prev" != 'sed 50q "$0"'; then
371
 
          echo_test_string=`eval $prev`
372
 
          export echo_test_string
373
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374
 
        else
375
 
          # Oops.  We lost completely, so just stick with echo.
376
 
          echo=echo
377
 
        fi
 
707
        fi
378
708
      fi
379
709
    fi
380
710
  fi
381
711
fi
382
 
fi
383
712
 
384
713
# Copy echo and quote the copy suitably for passing to libtool from
385
714
# the Makefile, instead of quoting the original, which is used later.
386
 
ECHO=$echo
387
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
388
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
715
lt_ECHO=$ECHO
 
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
 
717
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
389
718
fi
390
719
 
391
720
 
392
721
 
393
722
 
394
 
tagnames=${tagnames+${tagnames},}CXX
395
 
 
396
 
tagnames=${tagnames+${tagnames},}F77
 
723
exec 7<&0 </dev/null 6>&1
397
724
 
398
725
# Name of the host.
399
726
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
400
727
# so uname gets run too.
401
728
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
402
729
 
403
 
exec 6>&1
404
 
 
405
730
#
406
731
# Initializations.
407
732
#
408
733
ac_default_prefix=/usr/local
 
734
ac_clean_files=
409
735
ac_config_libobj_dir=.
 
736
LIBOBJS=
410
737
cross_compiling=no
411
738
subdirs=
412
739
MFLAGS=
413
740
MAKEFLAGS=
414
741
SHELL=${CONFIG_SHELL-/bin/sh}
415
742
 
416
 
# Maximum number of lines to put in a shell here document.
417
 
# This variable seems obsolete.  It should probably be removed, and
418
 
# only ac_max_sed_lines should be used.
419
 
: ${ac_max_here_lines=38}
420
 
 
421
743
# Identity of this package.
422
744
PACKAGE_NAME=
423
745
PACKAGE_TARNAME=
429
751
# Factoring default headers for most tests.
430
752
ac_includes_default="\
431
753
#include <stdio.h>
432
 
#if HAVE_SYS_TYPES_H
 
754
#ifdef HAVE_SYS_TYPES_H
433
755
# include <sys/types.h>
434
756
#endif
435
 
#if HAVE_SYS_STAT_H
 
757
#ifdef HAVE_SYS_STAT_H
436
758
# include <sys/stat.h>
437
759
#endif
438
 
#if STDC_HEADERS
 
760
#ifdef STDC_HEADERS
439
761
# include <stdlib.h>
440
762
# include <stddef.h>
441
763
#else
442
 
# if HAVE_STDLIB_H
 
764
# ifdef HAVE_STDLIB_H
443
765
#  include <stdlib.h>
444
766
# endif
445
767
#endif
446
 
#if HAVE_STRING_H
447
 
# if !STDC_HEADERS && HAVE_MEMORY_H
 
768
#ifdef HAVE_STRING_H
 
769
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
448
770
#  include <memory.h>
449
771
# endif
450
772
# include <string.h>
451
773
#endif
452
 
#if HAVE_STRINGS_H
 
774
#ifdef HAVE_STRINGS_H
453
775
# include <strings.h>
454
776
#endif
455
 
#if HAVE_INTTYPES_H
 
777
#ifdef HAVE_INTTYPES_H
456
778
# include <inttypes.h>
457
 
#else
458
 
# if HAVE_STDINT_H
459
 
#  include <stdint.h>
460
 
# endif
461
 
#endif
462
 
#if HAVE_UNISTD_H
 
779
#endif
 
780
#ifdef HAVE_STDINT_H
 
781
# include <stdint.h>
 
782
#endif
 
783
#ifdef HAVE_UNISTD_H
463
784
# include <unistd.h>
464
785
#endif"
465
786
 
466
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CURRENT REVISION AGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP SED EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL YACC LEX LEXLIB LEX_OUTPUT_ROOT X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS X_XMU OM_XMU_TRUE OM_XMU_FALSE ALLOCA LIBOBJS MessageCatalog_TRUE MessageCatalog_FALSE XMTHEME_DIST OM_XMTHEMES_TRUE OM_XMTHEMES_FALSE CDE_INSTALLATION_TOP CDE_CONFIGURATION_TOP LIBDIR INCDIR XMBINDDIR_FALLBACK OM22_COMPATIBILITY_FALSE OM22_COMPATIBILITY_TRUE ft_config FREETYPE_CFLAGS FC_DEFAULT_FONTS confdir CONFDIR XRENDER_CFLAGS XRENDER_LIBS fc_config FONTCONFIG_CFLAGS FONTCONFIG_LIBS OM_LIBJPEG_TRUE OM_LIBJPEG_FALSE OM_LIBPNG_TRUE OM_LIBPNG_FALSE LTLIBOBJS'
 
787
ac_subst_vars='am__EXEEXT_FALSE
 
788
am__EXEEXT_TRUE
 
789
LTLIBOBJS
 
790
OM_LIBPNG_FALSE
 
791
OM_LIBPNG_TRUE
 
792
OM_LIBJPEG_FALSE
 
793
OM_LIBJPEG_TRUE
 
794
FONTCONFIG_LIBS
 
795
FONTCONFIG_CFLAGS
 
796
fc_config
 
797
XRENDER_LIBS
 
798
XRENDER_CFLAGS
 
799
CONFDIR
 
800
confdir
 
801
FC_DEFAULT_FONTS
 
802
FREETYPE_CFLAGS
 
803
ft_config
 
804
LIB_XP
 
805
PRINTING_FALSE
 
806
PRINTING_TRUE
 
807
PRINTING_SUPPORTED_TRUE
 
808
PRINTING_SUPPORTED_FALSE
 
809
OM22_COMPATIBILITY_TRUE
 
810
OM22_COMPATIBILITY_FALSE
 
811
RM
 
812
XMBINDDIR_FALLBACK
 
813
INCDIR
 
814
MWMRCDIR
 
815
LIBDIR
 
816
CDE_CONFIGURATION_TOP
 
817
CDE_INSTALLATION_TOP
 
818
OM_XMTHEMES_FALSE
 
819
OM_XMTHEMES_TRUE
 
820
XMTHEME_DIST
 
821
MessageCatalog_FALSE
 
822
MessageCatalog_TRUE
 
823
LIBOBJS
 
824
ALLOCA
 
825
OM_XMU_FALSE
 
826
OM_XMU_TRUE
 
827
X_XMU
 
828
X_EXTRA_LIBS
 
829
X_LIBS
 
830
X_PRE_LIBS
 
831
X_CFLAGS
 
832
XMKMF
 
833
LEXLIB
 
834
LEX_OUTPUT_ROOT
 
835
LEX
 
836
SPLINT
 
837
YACC
 
838
OTOOL64
 
839
OTOOL
 
840
LIPO
 
841
NMEDIT
 
842
DSYMUTIL
 
843
lt_ECHO
 
844
RANLIB
 
845
AR
 
846
OBJDUMP
 
847
LN_S
 
848
NM
 
849
ac_ct_DUMPBIN
 
850
DUMPBIN
 
851
LD
 
852
FGREP
 
853
EGREP
 
854
GREP
 
855
SED
 
856
LIBTOOL
 
857
CPP
 
858
am__fastdepCC_FALSE
 
859
am__fastdepCC_TRUE
 
860
CCDEPMODE
 
861
AMDEPBACKSLASH
 
862
AMDEP_FALSE
 
863
AMDEP_TRUE
 
864
am__quote
 
865
am__include
 
866
DEPDIR
 
867
OBJEXT
 
868
EXEEXT
 
869
ac_ct_CC
 
870
CPPFLAGS
 
871
LDFLAGS
 
872
CFLAGS
 
873
CC
 
874
am__untar
 
875
am__tar
 
876
AMTAR
 
877
am__leading_dot
 
878
SET_MAKE
 
879
AWK
 
880
mkdir_p
 
881
MKDIR_P
 
882
INSTALL_STRIP_PROGRAM
 
883
STRIP
 
884
install_sh
 
885
MAKEINFO
 
886
AUTOHEADER
 
887
AUTOMAKE
 
888
AUTOCONF
 
889
ACLOCAL
 
890
VERSION
 
891
PACKAGE
 
892
CYGPATH_W
 
893
am__isrc
 
894
INSTALL_DATA
 
895
INSTALL_SCRIPT
 
896
INSTALL_PROGRAM
 
897
AGE
 
898
REVISION
 
899
CURRENT
 
900
target_os
 
901
target_vendor
 
902
target_cpu
 
903
target
 
904
host_os
 
905
host_vendor
 
906
host_cpu
 
907
host
 
908
build_os
 
909
build_vendor
 
910
build_cpu
 
911
build
 
912
target_alias
 
913
host_alias
 
914
build_alias
 
915
LIBS
 
916
ECHO_T
 
917
ECHO_N
 
918
ECHO_C
 
919
DEFS
 
920
mandir
 
921
localedir
 
922
libdir
 
923
psdir
 
924
pdfdir
 
925
dvidir
 
926
htmldir
 
927
infodir
 
928
docdir
 
929
oldincludedir
 
930
includedir
 
931
localstatedir
 
932
sharedstatedir
 
933
sysconfdir
 
934
datadir
 
935
datarootdir
 
936
libexecdir
 
937
sbindir
 
938
bindir
 
939
program_transform_name
 
940
prefix
 
941
exec_prefix
 
942
PACKAGE_BUGREPORT
 
943
PACKAGE_STRING
 
944
PACKAGE_VERSION
 
945
PACKAGE_TARNAME
 
946
PACKAGE_NAME
 
947
PATH_SEPARATOR
 
948
SHELL'
467
949
ac_subst_files=''
 
950
ac_user_opts='
 
951
enable_option_checking
 
952
enable_dependency_tracking
 
953
enable_shared
 
954
enable_static
 
955
with_pic
 
956
enable_fast_install
 
957
with_gnu_ld
 
958
enable_libtool_lock
 
959
with_x
 
960
enable_message_catalog
 
961
enable_themes
 
962
enable_debug_themes
 
963
enable_motif22_compatibility
 
964
enable_utf8
 
965
enable_printing
 
966
enable_xft
 
967
with_freetype_includes
 
968
with_freetype_lib
 
969
with_freetype_config
 
970
with_default_fonts
 
971
with_fontconfig_includes
 
972
with_fontconfig_lib
 
973
with_fontconfig_config
 
974
enable_jpeg
 
975
with_libjpeg_includes
 
976
with_libjpeg_lib
 
977
enable_png
 
978
with_libpng_includes
 
979
with_libpng_lib
 
980
'
 
981
      ac_precious_vars='build_alias
 
982
host_alias
 
983
target_alias
 
984
CC
 
985
CFLAGS
 
986
LDFLAGS
 
987
LIBS
 
988
CPPFLAGS
 
989
CPP
 
990
XMKMF'
 
991
 
468
992
 
469
993
# Initialize some variables set by options.
470
994
ac_init_help=
471
995
ac_init_version=false
 
996
ac_unrecognized_opts=
 
997
ac_unrecognized_sep=
472
998
# The variables have the same names as the options, with
473
999
# dashes changed to underlines.
474
1000
cache_file=/dev/null
491
1017
# and all the variables that are supposed to be based on exec_prefix
492
1018
# by default will actually change.
493
1019
# Use braces instead of parens because sh, perl, etc. also accept them.
 
1020
# (The list follows the same order as the GNU Coding Standards.)
494
1021
bindir='${exec_prefix}/bin'
495
1022
sbindir='${exec_prefix}/sbin'
496
1023
libexecdir='${exec_prefix}/libexec'
497
 
datadir='${prefix}/share'
 
1024
datarootdir='${prefix}/share'
 
1025
datadir='${datarootdir}'
498
1026
sysconfdir='${prefix}/etc'
499
1027
sharedstatedir='${prefix}/com'
500
1028
localstatedir='${prefix}/var'
501
 
libdir='${exec_prefix}/lib'
502
1029
includedir='${prefix}/include'
503
1030
oldincludedir='/usr/include'
504
 
infodir='${prefix}/info'
505
 
mandir='${prefix}/man'
 
1031
docdir='${datarootdir}/doc/${PACKAGE}'
 
1032
infodir='${datarootdir}/info'
 
1033
htmldir='${docdir}'
 
1034
dvidir='${docdir}'
 
1035
pdfdir='${docdir}'
 
1036
psdir='${docdir}'
 
1037
libdir='${exec_prefix}/lib'
 
1038
localedir='${datarootdir}/locale'
 
1039
mandir='${datarootdir}/man'
506
1040
 
507
1041
ac_prev=
 
1042
ac_dashdash=
508
1043
for ac_option
509
1044
do
510
1045
  # If the previous option needs an argument, assign it.
511
1046
  if test -n "$ac_prev"; then
512
 
    eval "$ac_prev=\$ac_option"
 
1047
    eval $ac_prev=\$ac_option
513
1048
    ac_prev=
514
1049
    continue
515
1050
  fi
516
1051
 
517
 
  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
 
1052
  case $ac_option in
 
1053
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1054
  *)    ac_optarg=yes ;;
 
1055
  esac
518
1056
 
519
1057
  # Accept the important Cygnus configure options, so we can diagnose typos.
520
1058
 
521
 
  case $ac_option in
 
1059
  case $ac_dashdash$ac_option in
 
1060
  --)
 
1061
    ac_dashdash=yes ;;
522
1062
 
523
1063
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
524
1064
    ac_prev=bindir ;;
540
1080
  --config-cache | -C)
541
1081
    cache_file=config.cache ;;
542
1082
 
543
 
  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 
1083
  -datadir | --datadir | --datadi | --datad)
544
1084
    ac_prev=datadir ;;
545
 
  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546
 
  | --da=*)
 
1085
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
547
1086
    datadir=$ac_optarg ;;
548
1087
 
 
1088
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
1089
  | --dataroo | --dataro | --datar)
 
1090
    ac_prev=datarootdir ;;
 
1091
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
1092
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
1093
    datarootdir=$ac_optarg ;;
 
1094
 
549
1095
  -disable-* | --disable-*)
550
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1096
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
551
1097
    # Reject names that are not valid shell variable names.
552
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
553
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1098
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1099
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
554
1100
   { (exit 1); exit 1; }; }
555
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
556
 
    eval "enable_$ac_feature=no" ;;
 
1101
    ac_useropt_orig=$ac_useropt
 
1102
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1103
    case $ac_user_opts in
 
1104
      *"
 
1105
"enable_$ac_useropt"
 
1106
"*) ;;
 
1107
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1108
         ac_unrecognized_sep=', ';;
 
1109
    esac
 
1110
    eval enable_$ac_useropt=no ;;
 
1111
 
 
1112
  -docdir | --docdir | --docdi | --doc | --do)
 
1113
    ac_prev=docdir ;;
 
1114
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
1115
    docdir=$ac_optarg ;;
 
1116
 
 
1117
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
1118
    ac_prev=dvidir ;;
 
1119
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
1120
    dvidir=$ac_optarg ;;
557
1121
 
558
1122
  -enable-* | --enable-*)
559
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1123
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
560
1124
    # Reject names that are not valid shell variable names.
561
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
562
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1125
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1126
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
563
1127
   { (exit 1); exit 1; }; }
564
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
565
 
    case $ac_option in
566
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
567
 
      *) ac_optarg=yes ;;
 
1128
    ac_useropt_orig=$ac_useropt
 
1129
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1130
    case $ac_user_opts in
 
1131
      *"
 
1132
"enable_$ac_useropt"
 
1133
"*) ;;
 
1134
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1135
         ac_unrecognized_sep=', ';;
568
1136
    esac
569
 
    eval "enable_$ac_feature='$ac_optarg'" ;;
 
1137
    eval enable_$ac_useropt=\$ac_optarg ;;
570
1138
 
571
1139
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
572
1140
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
593
1161
  -host=* | --host=* | --hos=* | --ho=*)
594
1162
    host_alias=$ac_optarg ;;
595
1163
 
 
1164
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
1165
    ac_prev=htmldir ;;
 
1166
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
1167
  | --ht=*)
 
1168
    htmldir=$ac_optarg ;;
 
1169
 
596
1170
  -includedir | --includedir | --includedi | --included | --include \
597
1171
  | --includ | --inclu | --incl | --inc)
598
1172
    ac_prev=includedir ;;
617
1191
  | --libexe=* | --libex=* | --libe=*)
618
1192
    libexecdir=$ac_optarg ;;
619
1193
 
 
1194
  -localedir | --localedir | --localedi | --localed | --locale)
 
1195
    ac_prev=localedir ;;
 
1196
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
1197
    localedir=$ac_optarg ;;
 
1198
 
620
1199
  -localstatedir | --localstatedir | --localstatedi | --localstated \
621
 
  | --localstate | --localstat | --localsta | --localst \
622
 
  | --locals | --local | --loca | --loc | --lo)
 
1200
  | --localstate | --localstat | --localsta | --localst | --locals)
623
1201
    ac_prev=localstatedir ;;
624
1202
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
625
 
  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
626
 
  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 
1203
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
627
1204
    localstatedir=$ac_optarg ;;
628
1205
 
629
1206
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
688
1265
  | --progr-tra=* | --program-tr=* | --program-t=*)
689
1266
    program_transform_name=$ac_optarg ;;
690
1267
 
 
1268
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
1269
    ac_prev=pdfdir ;;
 
1270
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
1271
    pdfdir=$ac_optarg ;;
 
1272
 
 
1273
  -psdir | --psdir | --psdi | --psd | --ps)
 
1274
    ac_prev=psdir ;;
 
1275
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
1276
    psdir=$ac_optarg ;;
 
1277
 
691
1278
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
692
1279
  | -silent | --silent | --silen | --sile | --sil)
693
1280
    silent=yes ;;
738
1325
    ac_init_version=: ;;
739
1326
 
740
1327
  -with-* | --with-*)
741
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1328
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
742
1329
    # Reject names that are not valid shell variable names.
743
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
744
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1330
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1331
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
745
1332
   { (exit 1); exit 1; }; }
746
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
747
 
    case $ac_option in
748
 
      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
749
 
      *) ac_optarg=yes ;;
 
1333
    ac_useropt_orig=$ac_useropt
 
1334
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1335
    case $ac_user_opts in
 
1336
      *"
 
1337
"with_$ac_useropt"
 
1338
"*) ;;
 
1339
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1340
         ac_unrecognized_sep=', ';;
750
1341
    esac
751
 
    eval "with_$ac_package='$ac_optarg'" ;;
 
1342
    eval with_$ac_useropt=\$ac_optarg ;;
752
1343
 
753
1344
  -without-* | --without-*)
754
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1345
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
755
1346
    # Reject names that are not valid shell variable names.
756
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
757
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1347
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1348
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
758
1349
   { (exit 1); exit 1; }; }
759
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
760
 
    eval "with_$ac_package=no" ;;
 
1350
    ac_useropt_orig=$ac_useropt
 
1351
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1352
    case $ac_user_opts in
 
1353
      *"
 
1354
"with_$ac_useropt"
 
1355
"*) ;;
 
1356
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1357
         ac_unrecognized_sep=', ';;
 
1358
    esac
 
1359
    eval with_$ac_useropt=no ;;
761
1360
 
762
1361
  --x)
763
1362
    # Obsolete; use --with-x.
777
1376
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
778
1377
    x_libraries=$ac_optarg ;;
779
1378
 
780
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1379
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
781
1380
Try \`$0 --help' for more information." >&2
782
1381
   { (exit 1); exit 1; }; }
783
1382
    ;;
786
1385
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
787
1386
    # Reject names that are not valid shell variable names.
788
1387
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
789
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1388
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
790
1389
   { (exit 1); exit 1; }; }
791
 
    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
792
 
    eval "$ac_envvar='$ac_optarg'"
 
1390
    eval $ac_envvar=\$ac_optarg
793
1391
    export $ac_envvar ;;
794
1392
 
795
1393
  *)
796
1394
    # FIXME: should be removed in autoconf 3.0.
797
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1395
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
798
1396
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
799
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1397
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
800
1398
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801
1399
    ;;
802
1400
 
805
1403
 
806
1404
if test -n "$ac_prev"; then
807
1405
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
808
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
809
 
   { (exit 1); exit 1; }; }
810
 
fi
811
 
 
812
 
# Be sure to have absolute paths.
813
 
for ac_var in exec_prefix prefix
814
 
do
815
 
  eval ac_val=$`echo $ac_var`
816
 
  case $ac_val in
817
 
    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
818
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
819
 
   { (exit 1); exit 1; }; };;
820
 
  esac
821
 
done
822
 
 
823
 
# Be sure to have absolute paths.
824
 
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
825
 
              localstatedir libdir includedir oldincludedir infodir mandir
826
 
do
827
 
  eval ac_val=$`echo $ac_var`
828
 
  case $ac_val in
829
 
    [\\/$]* | ?:[\\/]* ) ;;
830
 
    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
831
 
   { (exit 1); exit 1; }; };;
832
 
  esac
 
1406
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
 
1407
   { (exit 1); exit 1; }; }
 
1408
fi
 
1409
 
 
1410
if test -n "$ac_unrecognized_opts"; then
 
1411
  case $enable_option_checking in
 
1412
    no) ;;
 
1413
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1414
   { (exit 1); exit 1; }; } ;;
 
1415
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1416
  esac
 
1417
fi
 
1418
 
 
1419
# Check all directory arguments for consistency.
 
1420
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
1421
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
1422
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
1423
                libdir localedir mandir
 
1424
do
 
1425
  eval ac_val=\$$ac_var
 
1426
  # Remove trailing slashes.
 
1427
  case $ac_val in
 
1428
    */ )
 
1429
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1430
      eval $ac_var=\$ac_val;;
 
1431
  esac
 
1432
  # Be sure to have absolute directory names.
 
1433
  case $ac_val in
 
1434
    [\\/$]* | ?:[\\/]* )  continue;;
 
1435
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
1436
  esac
 
1437
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1438
   { (exit 1); exit 1; }; }
833
1439
done
834
1440
 
835
1441
# There might be people who depend on the old broken behavior: `$host'
843
1449
if test "x$host_alias" != x; then
844
1450
  if test "x$build_alias" = x; then
845
1451
    cross_compiling=maybe
846
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1452
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
847
1453
    If a cross compiler is detected then cross compile mode will be used." >&2
848
1454
  elif test "x$build_alias" != "x$host_alias"; then
849
1455
    cross_compiling=yes
856
1462
test "$silent" = yes && exec 6>/dev/null
857
1463
 
858
1464
 
 
1465
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
1466
ac_ls_di=`ls -di .` &&
 
1467
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
1468
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
 
1469
   { (exit 1); exit 1; }; }
 
1470
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
1471
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
 
1472
   { (exit 1); exit 1; }; }
 
1473
 
 
1474
 
859
1475
# Find the source files, if location was not specified.
860
1476
if test -z "$srcdir"; then
861
1477
  ac_srcdir_defaulted=yes
862
 
  # Try the directory containing this script, then its parent.
863
 
  ac_confdir=`(dirname "$0") 2>/dev/null ||
864
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865
 
         X"$0" : 'X\(//\)[^/]' \| \
866
 
         X"$0" : 'X\(//\)$' \| \
867
 
         X"$0" : 'X\(/\)' \| \
868
 
         .     : '\(.\)' 2>/dev/null ||
869
 
echo X"$0" |
870
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
872
 
          /^X\(\/\/\)$/{ s//\1/; q; }
873
 
          /^X\(\/\).*/{ s//\1/; q; }
874
 
          s/.*/./; q'`
 
1478
  # Try the directory containing this script, then the parent directory.
 
1479
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1480
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1481
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1482
         X"$as_myself" : 'X\(//\)$' \| \
 
1483
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1484
$as_echo X"$as_myself" |
 
1485
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
1486
            s//\1/
 
1487
            q
 
1488
          }
 
1489
          /^X\(\/\/\)[^/].*/{
 
1490
            s//\1/
 
1491
            q
 
1492
          }
 
1493
          /^X\(\/\/\)$/{
 
1494
            s//\1/
 
1495
            q
 
1496
          }
 
1497
          /^X\(\/\).*/{
 
1498
            s//\1/
 
1499
            q
 
1500
          }
 
1501
          s/.*/./; q'`
875
1502
  srcdir=$ac_confdir
876
 
  if test ! -r $srcdir/$ac_unique_file; then
 
1503
  if test ! -r "$srcdir/$ac_unique_file"; then
877
1504
    srcdir=..
878
1505
  fi
879
1506
else
880
1507
  ac_srcdir_defaulted=no
881
1508
fi
882
 
if test ! -r $srcdir/$ac_unique_file; then
883
 
  if test "$ac_srcdir_defaulted" = yes; then
884
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885
 
   { (exit 1); exit 1; }; }
886
 
  else
887
 
    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888
 
   { (exit 1); exit 1; }; }
889
 
  fi
890
 
fi
891
 
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
892
 
  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893
 
   { (exit 1); exit 1; }; }
894
 
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895
 
ac_env_build_alias_set=${build_alias+set}
896
 
ac_env_build_alias_value=$build_alias
897
 
ac_cv_env_build_alias_set=${build_alias+set}
898
 
ac_cv_env_build_alias_value=$build_alias
899
 
ac_env_host_alias_set=${host_alias+set}
900
 
ac_env_host_alias_value=$host_alias
901
 
ac_cv_env_host_alias_set=${host_alias+set}
902
 
ac_cv_env_host_alias_value=$host_alias
903
 
ac_env_target_alias_set=${target_alias+set}
904
 
ac_env_target_alias_value=$target_alias
905
 
ac_cv_env_target_alias_set=${target_alias+set}
906
 
ac_cv_env_target_alias_value=$target_alias
907
 
ac_env_CC_set=${CC+set}
908
 
ac_env_CC_value=$CC
909
 
ac_cv_env_CC_set=${CC+set}
910
 
ac_cv_env_CC_value=$CC
911
 
ac_env_CFLAGS_set=${CFLAGS+set}
912
 
ac_env_CFLAGS_value=$CFLAGS
913
 
ac_cv_env_CFLAGS_set=${CFLAGS+set}
914
 
ac_cv_env_CFLAGS_value=$CFLAGS
915
 
ac_env_LDFLAGS_set=${LDFLAGS+set}
916
 
ac_env_LDFLAGS_value=$LDFLAGS
917
 
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918
 
ac_cv_env_LDFLAGS_value=$LDFLAGS
919
 
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920
 
ac_env_CPPFLAGS_value=$CPPFLAGS
921
 
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922
 
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923
 
ac_env_CPP_set=${CPP+set}
924
 
ac_env_CPP_value=$CPP
925
 
ac_cv_env_CPP_set=${CPP+set}
926
 
ac_cv_env_CPP_value=$CPP
927
 
ac_env_CXX_set=${CXX+set}
928
 
ac_env_CXX_value=$CXX
929
 
ac_cv_env_CXX_set=${CXX+set}
930
 
ac_cv_env_CXX_value=$CXX
931
 
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932
 
ac_env_CXXFLAGS_value=$CXXFLAGS
933
 
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934
 
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935
 
ac_env_CXXCPP_set=${CXXCPP+set}
936
 
ac_env_CXXCPP_value=$CXXCPP
937
 
ac_cv_env_CXXCPP_set=${CXXCPP+set}
938
 
ac_cv_env_CXXCPP_value=$CXXCPP
939
 
ac_env_F77_set=${F77+set}
940
 
ac_env_F77_value=$F77
941
 
ac_cv_env_F77_set=${F77+set}
942
 
ac_cv_env_F77_value=$F77
943
 
ac_env_FFLAGS_set=${FFLAGS+set}
944
 
ac_env_FFLAGS_value=$FFLAGS
945
 
ac_cv_env_FFLAGS_set=${FFLAGS+set}
946
 
ac_cv_env_FFLAGS_value=$FFLAGS
 
1509
if test ! -r "$srcdir/$ac_unique_file"; then
 
1510
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
1511
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1512
   { (exit 1); exit 1; }; }
 
1513
fi
 
1514
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
1515
ac_abs_confdir=`(
 
1516
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
 
1517
   { (exit 1); exit 1; }; }
 
1518
        pwd)`
 
1519
# When building in place, set srcdir=.
 
1520
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
1521
  srcdir=.
 
1522
fi
 
1523
# Remove unnecessary trailing slashes from srcdir.
 
1524
# Double slashes in file names in object file debugging info
 
1525
# mess up M-x gdb in Emacs.
 
1526
case $srcdir in
 
1527
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
1528
esac
 
1529
for ac_var in $ac_precious_vars; do
 
1530
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
1531
  eval ac_env_${ac_var}_value=\$${ac_var}
 
1532
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
1533
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
1534
done
947
1535
 
948
1536
#
949
1537
# Report the --help message.
972
1560
  -n, --no-create         do not create output files
973
1561
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
974
1562
 
975
 
_ACEOF
976
 
 
977
 
  cat <<_ACEOF
978
1563
Installation directories:
979
1564
  --prefix=PREFIX         install architecture-independent files in PREFIX
980
 
                          [$ac_default_prefix]
 
1565
                          [$ac_default_prefix]
981
1566
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
982
 
                          [PREFIX]
 
1567
                          [PREFIX]
983
1568
 
984
1569
By default, \`make install' will install all the files in
985
1570
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
989
1574
For better control, use the options below.
990
1575
 
991
1576
Fine tuning of the installation directories:
992
 
  --bindir=DIR           user executables [EPREFIX/bin]
993
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
994
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
995
 
  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
996
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
997
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
998
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
999
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1000
 
  --includedir=DIR       C header files [PREFIX/include]
1001
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1002
 
  --infodir=DIR          info documentation [PREFIX/info]
1003
 
  --mandir=DIR           man documentation [PREFIX/man]
 
1577
  --bindir=DIR            user executables [EPREFIX/bin]
 
1578
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1579
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1580
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1581
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1582
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1583
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1584
  --includedir=DIR        C header files [PREFIX/include]
 
1585
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1586
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1587
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1588
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1589
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1590
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1591
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
 
1592
  --htmldir=DIR           html documentation [DOCDIR]
 
1593
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1594
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1595
  --psdir=DIR             ps documentation [DOCDIR]
1004
1596
_ACEOF
1005
1597
 
1006
1598
  cat <<\_ACEOF
1026
1618
  cat <<\_ACEOF
1027
1619
 
1028
1620
Optional Features:
 
1621
  --disable-option-checking  ignore unrecognized --enable/--with options
1029
1622
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1030
1623
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1031
 
  --enable-maintainer-mode  enable make rules and dependencies not useful
1032
 
                          (and sometimes confusing) to the casual installer
1033
1624
  --disable-dependency-tracking  speeds up one-time build
1034
1625
  --enable-dependency-tracking   do not reject slow dependency extractors
1035
 
  --enable-shared[=PKGS]
1036
 
                          build shared libraries [default=yes]
1037
 
  --enable-static[=PKGS]
1038
 
                          build static libraries [default=yes]
 
1626
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
1627
  --enable-static[=PKGS]  build static libraries [default=yes]
1039
1628
  --enable-fast-install[=PKGS]
1040
1629
                          optimize for fast installation [default=yes]
1041
1630
  --disable-libtool-lock  avoid locking (might break parallel builds)
1047
1636
                       Disable binary compatibility with OpenMotif 2.2
1048
1637
  --disable-utf8
1049
1638
                       Disable UTF-8 support
 
1639
  --disable-printing
 
1640
                       Disable printing support
1050
1641
  --enable-xft            Enable XFT support (font anti aliasing)
1051
1642
  --enable-jpeg           Enable JPEG support
1052
1643
  --enable-png            Enable PNG support
1054
1645
Optional Packages:
1055
1646
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1056
1647
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1057
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1058
1648
  --with-pic              try to use only PIC/non-PIC objects [default=use
1059
1649
                          both]
1060
 
  --with-tags[=TAGS]
1061
 
                          include additional configurations [automatic]
 
1650
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1062
1651
  --with-x                use the X Window System
1063
1652
  --with-freetype-includes=DIR  Use FreeType includes in DIR
1064
1653
  --with-freetype-lib=DIR       Use FreeType library in DIR
1077
1666
  CFLAGS      C compiler flags
1078
1667
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1079
1668
              nonstandard directory <lib dir>
1080
 
  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1081
 
              headers in a nonstandard directory <include dir>
 
1669
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
1670
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
 
1671
              you have headers in a nonstandard directory <include dir>
1082
1672
  CPP         C preprocessor
1083
 
  CXX         C++ compiler command
1084
 
  CXXFLAGS    C++ compiler flags
1085
 
  CXXCPP      C++ preprocessor
1086
 
  F77         Fortran 77 compiler command
1087
 
  FFLAGS      Fortran 77 compiler flags
 
1673
  XMKMF       Path to xmkmf, Makefile generator for X Window System
1088
1674
 
1089
1675
Use these variables to override the choices made by `configure' or to help
1090
1676
it to find libraries and programs with nonstandard names/locations.
1091
1677
 
1092
1678
_ACEOF
 
1679
ac_status=$?
1093
1680
fi
1094
1681
 
1095
1682
if test "$ac_init_help" = "recursive"; then
1096
1683
  # If there are subdirs, report their specific --help.
1097
 
  ac_popdir=`pwd`
1098
1684
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1099
 
    test -d $ac_dir || continue
 
1685
    test -d "$ac_dir" ||
 
1686
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1687
      continue
1100
1688
    ac_builddir=.
1101
1689
 
1102
 
if test "$ac_dir" != .; then
1103
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1104
 
  # A "../" for each directory in $ac_dir_suffix.
1105
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1106
 
else
1107
 
  ac_dir_suffix= ac_top_builddir=
1108
 
fi
 
1690
case "$ac_dir" in
 
1691
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1692
*)
 
1693
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
1694
  # A ".." for each directory in $ac_dir_suffix.
 
1695
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
1696
  case $ac_top_builddir_sub in
 
1697
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
1698
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
1699
  esac ;;
 
1700
esac
 
1701
ac_abs_top_builddir=$ac_pwd
 
1702
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
1703
# for backward compatibility:
 
1704
ac_top_builddir=$ac_top_build_prefix
1109
1705
 
1110
1706
case $srcdir in
1111
 
  .)  # No --srcdir option.  We are building in place.
 
1707
  .)  # We are building in place.
1112
1708
    ac_srcdir=.
1113
 
    if test -z "$ac_top_builddir"; then
1114
 
       ac_top_srcdir=.
1115
 
    else
1116
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1117
 
    fi ;;
1118
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
1709
    ac_top_srcdir=$ac_top_builddir_sub
 
1710
    ac_abs_top_srcdir=$ac_pwd ;;
 
1711
  [\\/]* | ?:[\\/]* )  # Absolute name.
1119
1712
    ac_srcdir=$srcdir$ac_dir_suffix;
1120
 
    ac_top_srcdir=$srcdir ;;
1121
 
  *) # Relative path.
1122
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1123
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1124
 
esac
1125
 
 
1126
 
# Do not use `cd foo && pwd` to compute absolute paths, because
1127
 
# the directories may not exist.
1128
 
case `pwd` in
1129
 
.) ac_abs_builddir="$ac_dir";;
1130
 
*)
1131
 
  case "$ac_dir" in
1132
 
  .) ac_abs_builddir=`pwd`;;
1133
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1134
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
1135
 
  esac;;
1136
 
esac
1137
 
case $ac_abs_builddir in
1138
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1139
 
*)
1140
 
  case ${ac_top_builddir}. in
1141
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
1142
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1143
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1144
 
  esac;;
1145
 
esac
1146
 
case $ac_abs_builddir in
1147
 
.) ac_abs_srcdir=$ac_srcdir;;
1148
 
*)
1149
 
  case $ac_srcdir in
1150
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
1151
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1152
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1153
 
  esac;;
1154
 
esac
1155
 
case $ac_abs_builddir in
1156
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1157
 
*)
1158
 
  case $ac_top_srcdir in
1159
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
1160
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1161
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1162
 
  esac;;
1163
 
esac
1164
 
 
1165
 
    cd $ac_dir
1166
 
    # Check for guested configure; otherwise get Cygnus style configure.
1167
 
    if test -f $ac_srcdir/configure.gnu; then
1168
 
      echo
1169
 
      $SHELL $ac_srcdir/configure.gnu  --help=recursive
1170
 
    elif test -f $ac_srcdir/configure; then
1171
 
      echo
1172
 
      $SHELL $ac_srcdir/configure  --help=recursive
1173
 
    elif test -f $ac_srcdir/configure.ac ||
1174
 
           test -f $ac_srcdir/configure.in; then
1175
 
      echo
1176
 
      $ac_configure --help
 
1713
    ac_top_srcdir=$srcdir
 
1714
    ac_abs_top_srcdir=$srcdir ;;
 
1715
  *) # Relative name.
 
1716
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
1717
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
1718
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
1719
esac
 
1720
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
1721
 
 
1722
    cd "$ac_dir" || { ac_status=$?; continue; }
 
1723
    # Check for guested configure.
 
1724
    if test -f "$ac_srcdir/configure.gnu"; then
 
1725
      echo &&
 
1726
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
1727
    elif test -f "$ac_srcdir/configure"; then
 
1728
      echo &&
 
1729
      $SHELL "$ac_srcdir/configure" --help=recursive
1177
1730
    else
1178
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1179
 
    fi
1180
 
    cd $ac_popdir
 
1731
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1732
    fi || ac_status=$?
 
1733
    cd "$ac_pwd" || { ac_status=$?; break; }
1181
1734
  done
1182
1735
fi
1183
1736
 
1184
 
test -n "$ac_init_help" && exit 0
 
1737
test -n "$ac_init_help" && exit $ac_status
1185
1738
if $ac_init_version; then
1186
1739
  cat <<\_ACEOF
 
1740
configure
 
1741
generated by GNU Autoconf 2.63
1187
1742
 
1188
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
1743
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
1744
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1189
1745
This configure script is free software; the Free Software Foundation
1190
1746
gives unlimited permission to copy, distribute and modify it.
1191
1747
_ACEOF
1192
 
  exit 0
 
1748
  exit
1193
1749
fi
1194
 
exec 5>config.log
1195
 
cat >&5 <<_ACEOF
 
1750
cat >config.log <<_ACEOF
1196
1751
This file contains any messages produced by compilers while
1197
1752
running configure, to aid debugging if configure makes a mistake.
1198
1753
 
1199
1754
It was created by $as_me, which was
1200
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
1755
generated by GNU Autoconf 2.63.  Invocation command line was
1201
1756
 
1202
1757
  $ $0 $@
1203
1758
 
1204
1759
_ACEOF
 
1760
exec 5>>config.log
1205
1761
{
1206
1762
cat <<_ASUNAME
1207
1763
## --------- ##
1220
1776
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1221
1777
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1222
1778
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1223
 
hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
 
1779
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1224
1780
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1225
1781
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1226
1782
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1232
1788
do
1233
1789
  IFS=$as_save_IFS
1234
1790
  test -z "$as_dir" && as_dir=.
1235
 
  echo "PATH: $as_dir"
 
1791
  $as_echo "PATH: $as_dir"
1236
1792
done
 
1793
IFS=$as_save_IFS
1237
1794
 
1238
1795
} >&5
1239
1796
 
1255
1812
ac_configure_args=
1256
1813
ac_configure_args0=
1257
1814
ac_configure_args1=
1258
 
ac_sep=
1259
1815
ac_must_keep_next=false
1260
1816
for ac_pass in 1 2
1261
1817
do
1266
1822
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267
1823
    | -silent | --silent | --silen | --sile | --sil)
1268
1824
      continue ;;
1269
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1270
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1825
    *\'*)
 
1826
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1271
1827
    esac
1272
1828
    case $ac_pass in
1273
1829
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1288
1844
          -* ) ac_must_keep_next=true ;;
1289
1845
        esac
1290
1846
      fi
1291
 
      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1292
 
      # Get rid of the leading space.
1293
 
      ac_sep=" "
 
1847
      ac_configure_args="$ac_configure_args '$ac_arg'"
1294
1848
      ;;
1295
1849
    esac
1296
1850
  done
1301
1855
# When interrupted or exit'd, cleanup temporary files, and complete
1302
1856
# config.log.  We remove comments because anyway the quotes in there
1303
1857
# would cause problems or look ugly.
1304
 
# WARNING: Be sure not to use single quotes in there, as some shells,
1305
 
# such as our DU 5.0 friend, will then `close' the trap.
 
1858
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
1859
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1306
1860
trap 'exit_status=$?
1307
1861
  # Save into config.log some information that might help in debugging.
1308
1862
  {
1315
1869
_ASBOX
1316
1870
    echo
1317
1871
    # The following way of writing the cache mishandles newlines in values,
1318
 
{
 
1872
(
 
1873
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
1874
    eval ac_val=\$$ac_var
 
1875
    case $ac_val in #(
 
1876
    *${as_nl}*)
 
1877
      case $ac_var in #(
 
1878
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1879
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
1880
      esac
 
1881
      case $ac_var in #(
 
1882
      _ | IFS | as_nl) ;; #(
 
1883
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
1884
      *) $as_unset $ac_var ;;
 
1885
      esac ;;
 
1886
    esac
 
1887
  done
1319
1888
  (set) 2>&1 |
1320
 
    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1321
 
    *ac_space=\ *)
 
1889
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
1890
    *${as_nl}ac_space=\ *)
1322
1891
      sed -n \
1323
 
        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1324
 
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1325
 
      ;;
 
1892
        "s/'\''/'\''\\\\'\'''\''/g;
 
1893
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
1894
      ;; #(
1326
1895
    *)
1327
 
      sed -n \
1328
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
1896
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1329
1897
      ;;
1330
 
    esac;
1331
 
}
 
1898
    esac |
 
1899
    sort
 
1900
)
1332
1901
    echo
1333
1902
 
1334
1903
    cat <<\_ASBOX
1339
1908
    echo
1340
1909
    for ac_var in $ac_subst_vars
1341
1910
    do
1342
 
      eval ac_val=$`echo $ac_var`
1343
 
      echo "$ac_var='"'"'$ac_val'"'"'"
 
1911
      eval ac_val=\$$ac_var
 
1912
      case $ac_val in
 
1913
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1914
      esac
 
1915
      $as_echo "$ac_var='\''$ac_val'\''"
1344
1916
    done | sort
1345
1917
    echo
1346
1918
 
1347
1919
    if test -n "$ac_subst_files"; then
1348
1920
      cat <<\_ASBOX
1349
 
## ------------- ##
1350
 
## Output files. ##
1351
 
## ------------- ##
 
1921
## ------------------- ##
 
1922
## File substitutions. ##
 
1923
## ------------------- ##
1352
1924
_ASBOX
1353
1925
      echo
1354
1926
      for ac_var in $ac_subst_files
1355
1927
      do
1356
 
        eval ac_val=$`echo $ac_var`
1357
 
        echo "$ac_var='"'"'$ac_val'"'"'"
 
1928
        eval ac_val=\$$ac_var
 
1929
        case $ac_val in
 
1930
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1931
        esac
 
1932
        $as_echo "$ac_var='\''$ac_val'\''"
1358
1933
      done | sort
1359
1934
      echo
1360
1935
    fi
1366
1941
## ----------- ##
1367
1942
_ASBOX
1368
1943
      echo
1369
 
      sed "/^$/d" confdefs.h | sort
 
1944
      cat confdefs.h
1370
1945
      echo
1371
1946
    fi
1372
1947
    test "$ac_signal" != 0 &&
1373
 
      echo "$as_me: caught signal $ac_signal"
1374
 
    echo "$as_me: exit $exit_status"
 
1948
      $as_echo "$as_me: caught signal $ac_signal"
 
1949
    $as_echo "$as_me: exit $exit_status"
1375
1950
  } >&5
1376
 
  rm -f core *.core &&
1377
 
  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
 
1951
  rm -f core *.core core.conftest.* &&
 
1952
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1378
1953
    exit $exit_status
1379
 
     ' 0
 
1954
' 0
1380
1955
for ac_signal in 1 2 13 15; do
1381
1956
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1382
1957
done
1383
1958
ac_signal=0
1384
1959
 
1385
1960
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1386
 
rm -rf conftest* confdefs.h
1387
 
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1388
 
echo >confdefs.h
 
1961
rm -f -r conftest* confdefs.h
1389
1962
 
1390
1963
# Predefined preprocessor variables.
1391
1964
 
1415
1988
 
1416
1989
 
1417
1990
# Let the site file select an alternate cache file if it wants to.
1418
 
# Prefer explicitly selected file to automatically selected ones.
1419
 
if test -z "$CONFIG_SITE"; then
1420
 
  if test "x$prefix" != xNONE; then
1421
 
    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1422
 
  else
1423
 
    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1424
 
  fi
 
1991
# Prefer an explicitly selected file to automatically selected ones.
 
1992
ac_site_file1=NONE
 
1993
ac_site_file2=NONE
 
1994
if test -n "$CONFIG_SITE"; then
 
1995
  ac_site_file1=$CONFIG_SITE
 
1996
elif test "x$prefix" != xNONE; then
 
1997
  ac_site_file1=$prefix/share/config.site
 
1998
  ac_site_file2=$prefix/etc/config.site
 
1999
else
 
2000
  ac_site_file1=$ac_default_prefix/share/config.site
 
2001
  ac_site_file2=$ac_default_prefix/etc/config.site
1425
2002
fi
1426
 
for ac_site_file in $CONFIG_SITE; do
 
2003
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
2004
do
 
2005
  test "x$ac_site_file" = xNONE && continue
1427
2006
  if test -r "$ac_site_file"; then
1428
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1429
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
2007
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
2008
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1430
2009
    sed 's/^/| /' "$ac_site_file" >&5
1431
2010
    . "$ac_site_file"
1432
2011
  fi
1436
2015
  # Some versions of bash will fail to source /dev/null (special
1437
2016
  # files actually), so we avoid doing that.
1438
2017
  if test -f "$cache_file"; then
1439
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1440
 
echo "$as_me: loading cache $cache_file" >&6;}
 
2018
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
2019
$as_echo "$as_me: loading cache $cache_file" >&6;}
1441
2020
    case $cache_file in
1442
 
      [\\/]* | ?:[\\/]* ) . $cache_file;;
1443
 
      *)                      . ./$cache_file;;
 
2021
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
2022
      *)                      . "./$cache_file";;
1444
2023
    esac
1445
2024
  fi
1446
2025
else
1447
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1448
 
echo "$as_me: creating cache $cache_file" >&6;}
 
2026
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
2027
$as_echo "$as_me: creating cache $cache_file" >&6;}
1449
2028
  >$cache_file
1450
2029
fi
1451
2030
 
1452
2031
# Check that the precious variables saved in the cache have kept the same
1453
2032
# value.
1454
2033
ac_cache_corrupted=false
1455
 
for ac_var in `(set) 2>&1 |
1456
 
               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
 
2034
for ac_var in $ac_precious_vars; do
1457
2035
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1458
2036
  eval ac_new_set=\$ac_env_${ac_var}_set
1459
 
  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1460
 
  eval ac_new_val="\$ac_env_${ac_var}_value"
 
2037
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
2038
  eval ac_new_val=\$ac_env_${ac_var}_value
1461
2039
  case $ac_old_set,$ac_new_set in
1462
2040
    set,)
1463
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1464
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
2041
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
2042
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1465
2043
      ac_cache_corrupted=: ;;
1466
2044
    ,set)
1467
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1468
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
2045
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
2046
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1469
2047
      ac_cache_corrupted=: ;;
1470
2048
    ,);;
1471
2049
    *)
1472
2050
      if test "x$ac_old_val" != "x$ac_new_val"; then
1473
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1474
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1475
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1476
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1477
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1478
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1479
 
        ac_cache_corrupted=:
 
2051
        # differences in whitespace do not lead to failure.
 
2052
        ac_old_val_w=`echo x $ac_old_val`
 
2053
        ac_new_val_w=`echo x $ac_new_val`
 
2054
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
2055
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
2056
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
2057
          ac_cache_corrupted=:
 
2058
        else
 
2059
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
2060
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
2061
          eval $ac_var=\$ac_old_val
 
2062
        fi
 
2063
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
2064
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
2065
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
2066
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1480
2067
      fi;;
1481
2068
  esac
1482
2069
  # Pass precious variables to config.status.
1483
2070
  if test "$ac_new_set" = set; then
1484
2071
    case $ac_new_val in
1485
 
    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1486
 
      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
2072
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1487
2073
    *) ac_arg=$ac_var=$ac_new_val ;;
1488
2074
    esac
1489
2075
    case " $ac_configure_args " in
1493
2079
  fi
1494
2080
done
1495
2081
if $ac_cache_corrupted; then
1496
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1497
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1498
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1499
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
2082
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2083
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2084
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
2085
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
2086
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2087
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1500
2088
   { (exit 1); exit 1; }; }
1501
2089
fi
1502
2090
 
 
2091
 
 
2092
 
 
2093
 
 
2094
 
 
2095
 
 
2096
 
 
2097
 
 
2098
 
 
2099
 
 
2100
 
 
2101
 
 
2102
 
 
2103
 
 
2104
 
 
2105
 
 
2106
 
1503
2107
ac_ext=c
1504
2108
ac_cpp='$CPP $CPPFLAGS'
1505
2109
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1509
2113
 
1510
2114
 
1511
2115
 
1512
 
 
1513
 
 
1514
 
 
1515
 
 
1516
 
 
1517
 
 
1518
 
 
1519
 
 
1520
 
 
1521
 
 
1522
 
 
1523
 
 
1524
 
 
1525
 
 
1526
 
 
1527
 
 
1528
 
 
1529
2116
ac_aux_dir=
1530
 
for ac_dir in . $srcdir/.; do
1531
 
  if test -f $ac_dir/install-sh; then
 
2117
for ac_dir in . "$srcdir"/.; do
 
2118
  if test -f "$ac_dir/install-sh"; then
1532
2119
    ac_aux_dir=$ac_dir
1533
2120
    ac_install_sh="$ac_aux_dir/install-sh -c"
1534
2121
    break
1535
 
  elif test -f $ac_dir/install.sh; then
 
2122
  elif test -f "$ac_dir/install.sh"; then
1536
2123
    ac_aux_dir=$ac_dir
1537
2124
    ac_install_sh="$ac_aux_dir/install.sh -c"
1538
2125
    break
1539
 
  elif test -f $ac_dir/shtool; then
 
2126
  elif test -f "$ac_dir/shtool"; then
1540
2127
    ac_aux_dir=$ac_dir
1541
2128
    ac_install_sh="$ac_aux_dir/shtool install -c"
1542
2129
    break
1543
2130
  fi
1544
2131
done
1545
2132
if test -z "$ac_aux_dir"; then
1546
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1547
 
echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
 
2133
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
 
2134
$as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
1548
2135
   { (exit 1); exit 1; }; }
1549
2136
fi
1550
 
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1551
 
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1552
 
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1553
 
 
1554
 
echo "$as_me:$LINENO: checking for /usr/X/include/X11/X.h" >&5
1555
 
echo $ECHO_N "checking for /usr/X/include/X11/X.h... $ECHO_C" >&6
 
2137
 
 
2138
# These three variables are undocumented and unsupported,
 
2139
# and are intended to be withdrawn in a future Autoconf release.
 
2140
# They can cause serious problems if a builder's source tree is in a directory
 
2141
# whose full name contains unusual characters.
 
2142
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
2143
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
2144
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
2145
 
 
2146
 
 
2147
{ $as_echo "$as_me:$LINENO: checking for /usr/X/include/X11/X.h" >&5
 
2148
$as_echo_n "checking for /usr/X/include/X11/X.h... " >&6; }
1556
2149
if test "${ac_cv_file__usr_X_include_X11_X_h+set}" = set; then
1557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2150
  $as_echo_n "(cached) " >&6
1558
2151
else
1559
2152
  test "$cross_compiling" = yes &&
1560
 
  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
1561
 
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
 
2153
  { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
 
2154
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
1562
2155
   { (exit 1); exit 1; }; }
1563
2156
if test -r "/usr/X/include/X11/X.h"; then
1564
2157
  ac_cv_file__usr_X_include_X11_X_h=yes
1566
2159
  ac_cv_file__usr_X_include_X11_X_h=no
1567
2160
fi
1568
2161
fi
1569
 
echo "$as_me:$LINENO: result: $ac_cv_file__usr_X_include_X11_X_h" >&5
1570
 
echo "${ECHO_T}$ac_cv_file__usr_X_include_X11_X_h" >&6
1571
 
if test $ac_cv_file__usr_X_include_X11_X_h = yes; then
 
2162
{ $as_echo "$as_me:$LINENO: result: $ac_cv_file__usr_X_include_X11_X_h" >&5
 
2163
$as_echo "$ac_cv_file__usr_X_include_X11_X_h" >&6; }
 
2164
if test "x$ac_cv_file__usr_X_include_X11_X_h" = x""yes; then
1572
2165
  ac_default_prefix=/usr/X
1573
2166
 
1574
2167
else
 
2168
  ac_default_prefix=/usr
 
2169
 
 
2170
fi
 
2171
 
 
2172
{ $as_echo "$as_me:$LINENO: checking for /usr/X11R6/include/X11/X.h" >&5
 
2173
$as_echo_n "checking for /usr/X11R6/include/X11/X.h... " >&6; }
 
2174
if test "${ac_cv_file__usr_X11R6_include_X11_X_h+set}" = set; then
 
2175
  $as_echo_n "(cached) " >&6
 
2176
else
 
2177
  test "$cross_compiling" = yes &&
 
2178
  { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
 
2179
$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
 
2180
   { (exit 1); exit 1; }; }
 
2181
if test -r "/usr/X11R6/include/X11/X.h"; then
 
2182
  ac_cv_file__usr_X11R6_include_X11_X_h=yes
 
2183
else
 
2184
  ac_cv_file__usr_X11R6_include_X11_X_h=no
 
2185
fi
 
2186
fi
 
2187
{ $as_echo "$as_me:$LINENO: result: $ac_cv_file__usr_X11R6_include_X11_X_h" >&5
 
2188
$as_echo "$ac_cv_file__usr_X11R6_include_X11_X_h" >&6; }
 
2189
if test "x$ac_cv_file__usr_X11R6_include_X11_X_h" = x""yes; then
1575
2190
  ac_default_prefix=/usr/X11R6
1576
2191
 
1577
 
fi
1578
 
 
1579
 
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1580
 
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1581
 
    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1582
 
if test "${enable_maintainer_mode+set}" = set; then
1583
 
  enableval="$enable_maintainer_mode"
1584
 
  USE_MAINTAINER_MODE=$enableval
1585
 
else
1586
 
  USE_MAINTAINER_MODE=no
1587
 
fi;
1588
 
  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1589
 
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1590
 
 
1591
 
 
1592
 
if test $USE_MAINTAINER_MODE = yes; then
1593
 
  MAINTAINER_MODE_TRUE=
1594
 
  MAINTAINER_MODE_FALSE='#'
1595
 
else
1596
 
  MAINTAINER_MODE_TRUE='#'
1597
 
  MAINTAINER_MODE_FALSE=
1598
 
fi
1599
 
 
1600
 
  MAINT=$MAINTAINER_MODE_TRUE
 
2192
else
 
2193
  ac_default_prefix=/usr
 
2194
 
 
2195
fi
1601
2196
 
1602
2197
 
1603
2198
# Make sure we can run config.sub.
1604
 
$ac_config_sub sun4 >/dev/null 2>&1 ||
1605
 
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1606
 
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
 
2199
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
2200
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
2201
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1607
2202
   { (exit 1); exit 1; }; }
1608
2203
 
1609
 
echo "$as_me:$LINENO: checking build system type" >&5
1610
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6
 
2204
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
2205
$as_echo_n "checking build system type... " >&6; }
1611
2206
if test "${ac_cv_build+set}" = set; then
1612
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2207
  $as_echo_n "(cached) " >&6
1613
2208
else
1614
 
  ac_cv_build_alias=$build_alias
1615
 
test -z "$ac_cv_build_alias" &&
1616
 
  ac_cv_build_alias=`$ac_config_guess`
1617
 
test -z "$ac_cv_build_alias" &&
1618
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1619
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
2209
  ac_build_alias=$build_alias
 
2210
test "x$ac_build_alias" = x &&
 
2211
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
2212
test "x$ac_build_alias" = x &&
 
2213
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
2214
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1620
2215
   { (exit 1); exit 1; }; }
1621
 
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1622
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1623
 
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
 
2216
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
2217
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
2218
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1624
2219
   { (exit 1); exit 1; }; }
1625
2220
 
1626
2221
fi
1627
 
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1628
 
echo "${ECHO_T}$ac_cv_build" >&6
 
2222
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
2223
$as_echo "$ac_cv_build" >&6; }
 
2224
case $ac_cv_build in
 
2225
*-*-*) ;;
 
2226
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
2227
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
 
2228
   { (exit 1); exit 1; }; };;
 
2229
esac
1629
2230
build=$ac_cv_build
1630
 
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1631
 
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1632
 
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1633
 
 
1634
 
 
1635
 
echo "$as_me:$LINENO: checking host system type" >&5
1636
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6
 
2231
ac_save_IFS=$IFS; IFS='-'
 
2232
set x $ac_cv_build
 
2233
shift
 
2234
build_cpu=$1
 
2235
build_vendor=$2
 
2236
shift; shift
 
2237
# Remember, the first character of IFS is used to create $*,
 
2238
# except with old shells:
 
2239
build_os=$*
 
2240
IFS=$ac_save_IFS
 
2241
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
2242
 
 
2243
 
 
2244
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
2245
$as_echo_n "checking host system type... " >&6; }
1637
2246
if test "${ac_cv_host+set}" = set; then
1638
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1639
 
else
1640
 
  ac_cv_host_alias=$host_alias
1641
 
test -z "$ac_cv_host_alias" &&
1642
 
  ac_cv_host_alias=$ac_cv_build_alias
1643
 
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1644
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1645
 
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
 
2247
  $as_echo_n "(cached) " >&6
 
2248
else
 
2249
  if test "x$host_alias" = x; then
 
2250
  ac_cv_host=$ac_cv_build
 
2251
else
 
2252
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
2253
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
2254
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1646
2255
   { (exit 1); exit 1; }; }
 
2256
fi
1647
2257
 
1648
2258
fi
1649
 
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1650
 
echo "${ECHO_T}$ac_cv_host" >&6
 
2259
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
2260
$as_echo "$ac_cv_host" >&6; }
 
2261
case $ac_cv_host in
 
2262
*-*-*) ;;
 
2263
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
2264
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
 
2265
   { (exit 1); exit 1; }; };;
 
2266
esac
1651
2267
host=$ac_cv_host
1652
 
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1653
 
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1654
 
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1655
 
 
1656
 
 
1657
 
echo "$as_me:$LINENO: checking target system type" >&5
1658
 
echo $ECHO_N "checking target system type... $ECHO_C" >&6
 
2268
ac_save_IFS=$IFS; IFS='-'
 
2269
set x $ac_cv_host
 
2270
shift
 
2271
host_cpu=$1
 
2272
host_vendor=$2
 
2273
shift; shift
 
2274
# Remember, the first character of IFS is used to create $*,
 
2275
# except with old shells:
 
2276
host_os=$*
 
2277
IFS=$ac_save_IFS
 
2278
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
2279
 
 
2280
 
 
2281
{ $as_echo "$as_me:$LINENO: checking target system type" >&5
 
2282
$as_echo_n "checking target system type... " >&6; }
1659
2283
if test "${ac_cv_target+set}" = set; then
1660
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
1661
 
else
1662
 
  ac_cv_target_alias=$target_alias
1663
 
test "x$ac_cv_target_alias" = "x" &&
1664
 
  ac_cv_target_alias=$ac_cv_host_alias
1665
 
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1666
 
  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1667
 
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
 
2284
  $as_echo_n "(cached) " >&6
 
2285
else
 
2286
  if test "x$target_alias" = x; then
 
2287
  ac_cv_target=$ac_cv_host
 
2288
else
 
2289
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
 
2290
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
 
2291
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1668
2292
   { (exit 1); exit 1; }; }
 
2293
fi
1669
2294
 
1670
2295
fi
1671
 
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1672
 
echo "${ECHO_T}$ac_cv_target" >&6
 
2296
{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
 
2297
$as_echo "$ac_cv_target" >&6; }
 
2298
case $ac_cv_target in
 
2299
*-*-*) ;;
 
2300
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
 
2301
$as_echo "$as_me: error: invalid value of canonical target" >&2;}
 
2302
   { (exit 1); exit 1; }; };;
 
2303
esac
1673
2304
target=$ac_cv_target
1674
 
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1675
 
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1676
 
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 
2305
ac_save_IFS=$IFS; IFS='-'
 
2306
set x $ac_cv_target
 
2307
shift
 
2308
target_cpu=$1
 
2309
target_vendor=$2
 
2310
shift; shift
 
2311
# Remember, the first character of IFS is used to create $*,
 
2312
# except with old shells:
 
2313
target_os=$*
 
2314
IFS=$ac_save_IFS
 
2315
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1677
2316
 
1678
2317
 
1679
2318
# The aliases save the names the user supplied, while $host etc.
1684
2323
  program_prefix=${target_alias}-
1685
2324
 
1686
2325
CURRENT=4
1687
 
REVISION=0
 
2326
REVISION=3
1688
2327
AGE=0
1689
2328
 
1690
2329
 
1691
2330
 
1692
2331
 
1693
 
am__api_version="1.9"
 
2332
am__api_version='1.11'
 
2333
 
1694
2334
# Find a good install program.  We prefer a C program (faster),
1695
2335
# so one script is as good as another.  But avoid the broken or
1696
2336
# incompatible versions:
1704
2344
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1705
2345
# OS/2's system install, which has a completely different semantic
1706
2346
# ./install, which can be erroneously created by make from ./install.sh.
1707
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1708
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
2347
# Reject install programs that cannot install multiple files.
 
2348
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2349
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1709
2350
if test -z "$INSTALL"; then
1710
2351
if test "${ac_cv_path_install+set}" = set; then
1711
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2352
  $as_echo_n "(cached) " >&6
1712
2353
else
1713
2354
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714
2355
for as_dir in $PATH
1727
2368
    # by default.
1728
2369
    for ac_prog in ginstall scoinst install; do
1729
2370
      for ac_exec_ext in '' $ac_executable_extensions; do
1730
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
2371
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1731
2372
          if test $ac_prog = install &&
1732
2373
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1733
2374
            # AIX install.  It has an incompatible calling convention.
1737
2378
            # program-specific install script used by HP pwplus--don't use.
1738
2379
            :
1739
2380
          else
1740
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1741
 
            break 3
 
2381
            rm -rf conftest.one conftest.two conftest.dir
 
2382
            echo one > conftest.one
 
2383
            echo two > conftest.two
 
2384
            mkdir conftest.dir
 
2385
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2386
              test -s conftest.one && test -s conftest.two &&
 
2387
              test -s conftest.dir/conftest.one &&
 
2388
              test -s conftest.dir/conftest.two
 
2389
            then
 
2390
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2391
              break 3
 
2392
            fi
1742
2393
          fi
1743
2394
        fi
1744
2395
      done
1745
2396
    done
1746
2397
    ;;
1747
2398
esac
 
2399
 
1748
2400
done
 
2401
IFS=$as_save_IFS
1749
2402
 
 
2403
rm -rf conftest.one conftest.two conftest.dir
1750
2404
 
1751
2405
fi
1752
2406
  if test "${ac_cv_path_install+set}" = set; then
1753
2407
    INSTALL=$ac_cv_path_install
1754
2408
  else
1755
 
    # As a last resort, use the slow shell script.  We don't cache a
1756
 
    # path for INSTALL within a source directory, because that will
 
2409
    # As a last resort, use the slow shell script.  Don't cache a
 
2410
    # value for INSTALL within a source directory, because that will
1757
2411
    # break other packages using the cache if that directory is
1758
 
    # removed, or if the path is relative.
 
2412
    # removed, or if the value is a relative name.
1759
2413
    INSTALL=$ac_install_sh
1760
2414
  fi
1761
2415
fi
1762
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
1763
 
echo "${ECHO_T}$INSTALL" >&6
 
2416
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2417
$as_echo "$INSTALL" >&6; }
1764
2418
 
1765
2419
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1766
2420
# It thinks the first close brace ends the variable substitution.
1770
2424
 
1771
2425
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1772
2426
 
1773
 
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1774
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 
2427
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2428
$as_echo_n "checking whether build environment is sane... " >&6; }
1775
2429
# Just in case
1776
2430
sleep 1
1777
2431
echo timestamp > conftest.file
 
2432
# Reject unsafe characters in $srcdir or the absolute working directory
 
2433
# name.  Accept space and tab only in the latter.
 
2434
am_lf='
 
2435
'
 
2436
case `pwd` in
 
2437
  *[\\\"\#\$\&\'\`$am_lf]*)
 
2438
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
 
2439
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
 
2440
   { (exit 1); exit 1; }; };;
 
2441
esac
 
2442
case $srcdir in
 
2443
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
2444
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
 
2445
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
 
2446
   { (exit 1); exit 1; }; };;
 
2447
esac
 
2448
 
1778
2449
# Do `set' in a subshell so we don't clobber the current shell's
1779
2450
# arguments.  Must try -L first in case configure is actually a
1780
2451
# symlink; some systems play weird games with the mod time of symlinks
1781
2452
# (eg FreeBSD returns the mod time of the symlink's containing
1782
2453
# directory).
1783
2454
if (
1784
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
2455
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1785
2456
   if test "$*" = "X"; then
1786
2457
      # -L didn't work.
1787
 
      set X `ls -t $srcdir/configure conftest.file`
 
2458
      set X `ls -t "$srcdir/configure" conftest.file`
1788
2459
   fi
1789
2460
   rm -f conftest.file
1790
2461
   if test "$*" != "X $srcdir/configure conftest.file" \
1794
2465
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1795
2466
      # broken ls alias from the environment.  This has actually
1796
2467
      # happened.  Such a system could not be considered "sane".
1797
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2468
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1798
2469
alias in your environment" >&5
1799
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2470
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1800
2471
alias in your environment" >&2;}
1801
2472
   { (exit 1); exit 1; }; }
1802
2473
   fi
1807
2478
   # Ok.
1808
2479
   :
1809
2480
else
1810
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2481
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1811
2482
Check your system clock" >&5
1812
 
echo "$as_me: error: newly created file is older than distributed files!
 
2483
$as_echo "$as_me: error: newly created file is older than distributed files!
1813
2484
Check your system clock" >&2;}
1814
2485
   { (exit 1); exit 1; }; }
1815
2486
fi
1816
 
echo "$as_me:$LINENO: result: yes" >&5
1817
 
echo "${ECHO_T}yes" >&6
 
2487
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2488
$as_echo "yes" >&6; }
1818
2489
test "$program_prefix" != NONE &&
1819
 
  program_transform_name="s,^,$program_prefix,;$program_transform_name"
 
2490
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1820
2491
# Use a double $ so make ignores it.
1821
2492
test "$program_suffix" != NONE &&
1822
 
  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1823
 
# Double any \ or $.  echo might interpret backslashes.
 
2493
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
2494
# Double any \ or $.
1824
2495
# By default was `s,x,x', remove it if useless.
1825
 
cat <<\_ACEOF >conftest.sed
1826
 
s/[\\$]/&&/g;s/;s,x,x,$//
1827
 
_ACEOF
1828
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1829
 
rm conftest.sed
 
2496
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2497
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1830
2498
 
1831
2499
# expand $ac_aux_dir to an absolute path
1832
2500
am_aux_dir=`cd $ac_aux_dir && pwd`
1833
2501
 
1834
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
2502
if test x"${MISSING+set}" != xset; then
 
2503
  case $am_aux_dir in
 
2504
  *\ * | *\     *)
 
2505
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
2506
  *)
 
2507
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
2508
  esac
 
2509
fi
1835
2510
# Use eval to expand $SHELL
1836
2511
if eval "$MISSING --run true"; then
1837
2512
  am_missing_run="$MISSING --run "
1838
2513
else
1839
2514
  am_missing_run=
1840
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1841
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1842
 
fi
1843
 
 
1844
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1845
 
  # We used to keeping the `.' as first argument, in order to
1846
 
  # allow $(mkdir_p) to be used without argument.  As in
1847
 
  #   $(mkdir_p) $(somedir)
1848
 
  # where $(somedir) is conditionally defined.  However this is wrong
1849
 
  # for two reasons:
1850
 
  #  1. if the package is installed by a user who cannot write `.'
1851
 
  #     make install will fail,
1852
 
  #  2. the above comment should most certainly read
1853
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
1854
 
  #     so it does not work when $(somedir) is undefined and
1855
 
  #     $(DESTDIR) is not.
1856
 
  #  To support the latter case, we have to write
1857
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1858
 
  #  so the `.' trick is pointless.
1859
 
  mkdir_p='mkdir -p --'
1860
 
else
1861
 
  # On NextStep and OpenStep, the `mkdir' command does not
1862
 
  # recognize any option.  It will interpret all options as
1863
 
  # directories to create, and then abort because `.' already
1864
 
  # exists.
1865
 
  for d in ./-p ./--version;
1866
 
  do
1867
 
    test -d $d && rmdir $d
1868
 
  done
1869
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1870
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
1871
 
    mkdir_p='$(mkinstalldirs)'
1872
 
  else
1873
 
    mkdir_p='$(install_sh) -d'
1874
 
  fi
1875
 
fi
 
2515
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2516
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2517
fi
 
2518
 
 
2519
if test x"${install_sh}" != xset; then
 
2520
  case $am_aux_dir in
 
2521
  *\ * | *\     *)
 
2522
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
2523
  *)
 
2524
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
2525
  esac
 
2526
fi
 
2527
 
 
2528
# Installed binaries are usually stripped using `strip' when the user
 
2529
# run `make install-strip'.  However `strip' might not be the right
 
2530
# tool to use in cross-compilation environments, therefore Automake
 
2531
# will honor the `STRIP' environment variable to overrule this program.
 
2532
if test "$cross_compiling" != no; then
 
2533
  if test -n "$ac_tool_prefix"; then
 
2534
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
2535
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
2536
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2537
$as_echo_n "checking for $ac_word... " >&6; }
 
2538
if test "${ac_cv_prog_STRIP+set}" = set; then
 
2539
  $as_echo_n "(cached) " >&6
 
2540
else
 
2541
  if test -n "$STRIP"; then
 
2542
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
2543
else
 
2544
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2545
for as_dir in $PATH
 
2546
do
 
2547
  IFS=$as_save_IFS
 
2548
  test -z "$as_dir" && as_dir=.
 
2549
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2550
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2551
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
2552
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2553
    break 2
 
2554
  fi
 
2555
done
 
2556
done
 
2557
IFS=$as_save_IFS
 
2558
 
 
2559
fi
 
2560
fi
 
2561
STRIP=$ac_cv_prog_STRIP
 
2562
if test -n "$STRIP"; then
 
2563
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2564
$as_echo "$STRIP" >&6; }
 
2565
else
 
2566
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2567
$as_echo "no" >&6; }
 
2568
fi
 
2569
 
 
2570
 
 
2571
fi
 
2572
if test -z "$ac_cv_prog_STRIP"; then
 
2573
  ac_ct_STRIP=$STRIP
 
2574
  # Extract the first word of "strip", so it can be a program name with args.
 
2575
set dummy strip; ac_word=$2
 
2576
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2577
$as_echo_n "checking for $ac_word... " >&6; }
 
2578
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
2579
  $as_echo_n "(cached) " >&6
 
2580
else
 
2581
  if test -n "$ac_ct_STRIP"; then
 
2582
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
2583
else
 
2584
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2585
for as_dir in $PATH
 
2586
do
 
2587
  IFS=$as_save_IFS
 
2588
  test -z "$as_dir" && as_dir=.
 
2589
  for ac_exec_ext in '' $ac_executable_extensions; do
 
2590
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2591
    ac_cv_prog_ac_ct_STRIP="strip"
 
2592
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2593
    break 2
 
2594
  fi
 
2595
done
 
2596
done
 
2597
IFS=$as_save_IFS
 
2598
 
 
2599
fi
 
2600
fi
 
2601
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2602
if test -n "$ac_ct_STRIP"; then
 
2603
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2604
$as_echo "$ac_ct_STRIP" >&6; }
 
2605
else
 
2606
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2607
$as_echo "no" >&6; }
 
2608
fi
 
2609
 
 
2610
  if test "x$ac_ct_STRIP" = x; then
 
2611
    STRIP=":"
 
2612
  else
 
2613
    case $cross_compiling:$ac_tool_warned in
 
2614
yes:)
 
2615
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2616
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2617
ac_tool_warned=yes ;;
 
2618
esac
 
2619
    STRIP=$ac_ct_STRIP
 
2620
  fi
 
2621
else
 
2622
  STRIP="$ac_cv_prog_STRIP"
 
2623
fi
 
2624
 
 
2625
fi
 
2626
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
2627
 
 
2628
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2629
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2630
if test -z "$MKDIR_P"; then
 
2631
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2632
  $as_echo_n "(cached) " >&6
 
2633
else
 
2634
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2635
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2636
do
 
2637
  IFS=$as_save_IFS
 
2638
  test -z "$as_dir" && as_dir=.
 
2639
  for ac_prog in mkdir gmkdir; do
 
2640
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2641
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2642
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2643
             'mkdir (GNU coreutils) '* | \
 
2644
             'mkdir (coreutils) '* | \
 
2645
             'mkdir (fileutils) '4.1*)
 
2646
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2647
               break 3;;
 
2648
           esac
 
2649
         done
 
2650
       done
 
2651
done
 
2652
IFS=$as_save_IFS
 
2653
 
 
2654
fi
 
2655
 
 
2656
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2657
    MKDIR_P="$ac_cv_path_mkdir -p"
 
2658
  else
 
2659
    # As a last resort, use the slow shell script.  Don't cache a
 
2660
    # value for MKDIR_P within a source directory, because that will
 
2661
    # break other packages using the cache if that directory is
 
2662
    # removed, or if the value is a relative name.
 
2663
    test -d ./--version && rmdir ./--version
 
2664
    MKDIR_P="$ac_install_sh -d"
 
2665
  fi
 
2666
fi
 
2667
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2668
$as_echo "$MKDIR_P" >&6; }
 
2669
 
 
2670
mkdir_p="$MKDIR_P"
 
2671
case $mkdir_p in
 
2672
  [\\/$]* | ?:[\\/]*) ;;
 
2673
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2674
esac
1876
2675
 
1877
2676
for ac_prog in gawk mawk nawk awk
1878
2677
do
1879
2678
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1880
2679
set dummy $ac_prog; ac_word=$2
1881
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
1882
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2680
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2681
$as_echo_n "checking for $ac_word... " >&6; }
1883
2682
if test "${ac_cv_prog_AWK+set}" = set; then
1884
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2683
  $as_echo_n "(cached) " >&6
1885
2684
else
1886
2685
  if test -n "$AWK"; then
1887
2686
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1892
2691
  IFS=$as_save_IFS
1893
2692
  test -z "$as_dir" && as_dir=.
1894
2693
  for ac_exec_ext in '' $ac_executable_extensions; do
1895
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2694
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1896
2695
    ac_cv_prog_AWK="$ac_prog"
1897
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2696
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1898
2697
    break 2
1899
2698
  fi
1900
2699
done
1901
2700
done
 
2701
IFS=$as_save_IFS
1902
2702
 
1903
2703
fi
1904
2704
fi
1905
2705
AWK=$ac_cv_prog_AWK
1906
2706
if test -n "$AWK"; then
1907
 
  echo "$as_me:$LINENO: result: $AWK" >&5
1908
 
echo "${ECHO_T}$AWK" >&6
 
2707
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2708
$as_echo "$AWK" >&6; }
1909
2709
else
1910
 
  echo "$as_me:$LINENO: result: no" >&5
1911
 
echo "${ECHO_T}no" >&6
 
2710
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2711
$as_echo "no" >&6; }
1912
2712
fi
1913
2713
 
 
2714
 
1914
2715
  test -n "$AWK" && break
1915
2716
done
1916
2717
 
1917
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1918
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1919
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1920
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1921
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2718
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2719
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2720
set x ${MAKE-make}
 
2721
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2722
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
2723
  $as_echo_n "(cached) " >&6
1922
2724
else
1923
2725
  cat >conftest.make <<\_ACEOF
 
2726
SHELL = /bin/sh
1924
2727
all:
1925
 
        @echo 'ac_maketemp="$(MAKE)"'
 
2728
        @echo '@@@%%%=$(MAKE)=@@@%%%'
1926
2729
_ACEOF
1927
2730
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1928
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1929
 
if test -n "$ac_maketemp"; then
1930
 
  eval ac_cv_prog_make_${ac_make}_set=yes
1931
 
else
1932
 
  eval ac_cv_prog_make_${ac_make}_set=no
1933
 
fi
 
2731
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
2732
  *@@@%%%=?*=@@@%%%*)
 
2733
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
2734
  *)
 
2735
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
2736
esac
1934
2737
rm -f conftest.make
1935
2738
fi
1936
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1937
 
  echo "$as_me:$LINENO: result: yes" >&5
1938
 
echo "${ECHO_T}yes" >&6
 
2739
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
2740
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2741
$as_echo "yes" >&6; }
1939
2742
  SET_MAKE=
1940
2743
else
1941
 
  echo "$as_me:$LINENO: result: no" >&5
1942
 
echo "${ECHO_T}no" >&6
 
2744
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2745
$as_echo "no" >&6; }
1943
2746
  SET_MAKE="MAKE=${MAKE-make}"
1944
2747
fi
1945
2748
 
1952
2755
fi
1953
2756
rmdir .tst 2>/dev/null
1954
2757
 
1955
 
# test to see if srcdir already configured
1956
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1957
 
   test -f $srcdir/config.status; then
1958
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1959
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2758
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2759
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2760
  # is not polluted with repeated "-I."
 
2761
  am__isrc=' -I$(srcdir)'
 
2762
  # test to see if srcdir already configured
 
2763
  if test -f $srcdir/config.status; then
 
2764
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2765
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1960
2766
   { (exit 1); exit 1; }; }
 
2767
  fi
1961
2768
fi
1962
2769
 
1963
2770
# test whether we have cygpath
1972
2779
 
1973
2780
# Define the identity of the package.
1974
2781
 PACKAGE=openmotif
1975
 
 VERSION=2.3.0
 
2782
 VERSION=2.3.3
1976
2783
 
1977
2784
 
1978
2785
# Some tools Automake needs.
1991
2798
 
1992
2799
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1993
2800
 
1994
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1995
 
 
1996
 
# Installed binaries are usually stripped using `strip' when the user
1997
 
# run `make install-strip'.  However `strip' might not be the right
1998
 
# tool to use in cross-compilation environments, therefore Automake
1999
 
# will honor the `STRIP' environment variable to overrule this program.
2000
 
if test "$cross_compiling" != no; then
2001
 
  if test -n "$ac_tool_prefix"; then
2002
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2003
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
2004
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2005
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2006
 
if test "${ac_cv_prog_STRIP+set}" = set; then
2007
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2008
 
else
2009
 
  if test -n "$STRIP"; then
2010
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2011
 
else
2012
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2013
 
for as_dir in $PATH
2014
 
do
2015
 
  IFS=$as_save_IFS
2016
 
  test -z "$as_dir" && as_dir=.
2017
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2018
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2019
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2020
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2021
 
    break 2
2022
 
  fi
2023
 
done
2024
 
done
2025
 
 
2026
 
fi
2027
 
fi
2028
 
STRIP=$ac_cv_prog_STRIP
2029
 
if test -n "$STRIP"; then
2030
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
2031
 
echo "${ECHO_T}$STRIP" >&6
2032
 
else
2033
 
  echo "$as_me:$LINENO: result: no" >&5
2034
 
echo "${ECHO_T}no" >&6
2035
 
fi
2036
 
 
2037
 
fi
2038
 
if test -z "$ac_cv_prog_STRIP"; then
2039
 
  ac_ct_STRIP=$STRIP
2040
 
  # Extract the first word of "strip", so it can be a program name with args.
2041
 
set dummy strip; ac_word=$2
2042
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2043
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2045
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2046
 
else
2047
 
  if test -n "$ac_ct_STRIP"; then
2048
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2049
 
else
2050
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051
 
for as_dir in $PATH
2052
 
do
2053
 
  IFS=$as_save_IFS
2054
 
  test -z "$as_dir" && as_dir=.
2055
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2056
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057
 
    ac_cv_prog_ac_ct_STRIP="strip"
2058
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2059
 
    break 2
2060
 
  fi
2061
 
done
2062
 
done
2063
 
 
2064
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2065
 
fi
2066
 
fi
2067
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2068
 
if test -n "$ac_ct_STRIP"; then
2069
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2070
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
2071
 
else
2072
 
  echo "$as_me:$LINENO: result: no" >&5
2073
 
echo "${ECHO_T}no" >&6
2074
 
fi
2075
 
 
2076
 
  STRIP=$ac_ct_STRIP
2077
 
else
2078
 
  STRIP="$ac_cv_prog_STRIP"
2079
 
fi
2080
 
 
2081
 
fi
2082
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2083
 
 
2084
2801
# We need awk for the "check" target.  The system "awk" is bad on
2085
2802
# some platforms.
2086
2803
# Always define AMTAR for backward compatibility.
2097
2814
LIBTOOL_VERSION=$CURRENT:$REVISION:$AGE
2098
2815
 
2099
2816
 
2100
 
                    ac_config_headers="$ac_config_headers include/config.h lib/Xm/Xm.h"
 
2817
ac_config_headers="$ac_config_headers include/config.h lib/Xm/Xm.h"
2101
2818
 
2102
2819
 
2103
2820
ac_ext=c
2108
2825
if test -n "$ac_tool_prefix"; then
2109
2826
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2110
2827
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2111
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2112
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2828
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2829
$as_echo_n "checking for $ac_word... " >&6; }
2113
2830
if test "${ac_cv_prog_CC+set}" = set; then
2114
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2831
  $as_echo_n "(cached) " >&6
2115
2832
else
2116
2833
  if test -n "$CC"; then
2117
2834
  ac_cv_prog_CC="$CC" # Let the user override the test.
2122
2839
  IFS=$as_save_IFS
2123
2840
  test -z "$as_dir" && as_dir=.
2124
2841
  for ac_exec_ext in '' $ac_executable_extensions; do
2125
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2842
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126
2843
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2127
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2844
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2128
2845
    break 2
2129
2846
  fi
2130
2847
done
2131
2848
done
 
2849
IFS=$as_save_IFS
2132
2850
 
2133
2851
fi
2134
2852
fi
2135
2853
CC=$ac_cv_prog_CC
2136
2854
if test -n "$CC"; then
2137
 
  echo "$as_me:$LINENO: result: $CC" >&5
2138
 
echo "${ECHO_T}$CC" >&6
 
2855
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2856
$as_echo "$CC" >&6; }
2139
2857
else
2140
 
  echo "$as_me:$LINENO: result: no" >&5
2141
 
echo "${ECHO_T}no" >&6
 
2858
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2859
$as_echo "no" >&6; }
2142
2860
fi
 
2861
 
2143
2862
 
2144
2863
fi
2145
2864
if test -z "$ac_cv_prog_CC"; then
2146
2865
  ac_ct_CC=$CC
2147
2866
  # Extract the first word of "gcc", so it can be a program name with args.
2148
2867
set dummy gcc; ac_word=$2
2149
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2150
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2868
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2869
$as_echo_n "checking for $ac_word... " >&6; }
2151
2870
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2152
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2871
  $as_echo_n "(cached) " >&6
2153
2872
else
2154
2873
  if test -n "$ac_ct_CC"; then
2155
2874
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2160
2879
  IFS=$as_save_IFS
2161
2880
  test -z "$as_dir" && as_dir=.
2162
2881
  for ac_exec_ext in '' $ac_executable_extensions; do
2163
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2882
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2164
2883
    ac_cv_prog_ac_ct_CC="gcc"
2165
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2884
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166
2885
    break 2
2167
2886
  fi
2168
2887
done
2169
2888
done
 
2889
IFS=$as_save_IFS
2170
2890
 
2171
2891
fi
2172
2892
fi
2173
2893
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2174
2894
if test -n "$ac_ct_CC"; then
2175
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2176
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
2895
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2896
$as_echo "$ac_ct_CC" >&6; }
2177
2897
else
2178
 
  echo "$as_me:$LINENO: result: no" >&5
2179
 
echo "${ECHO_T}no" >&6
 
2898
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2899
$as_echo "no" >&6; }
2180
2900
fi
2181
2901
 
2182
 
  CC=$ac_ct_CC
 
2902
  if test "x$ac_ct_CC" = x; then
 
2903
    CC=""
 
2904
  else
 
2905
    case $cross_compiling:$ac_tool_warned in
 
2906
yes:)
 
2907
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2908
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
2909
ac_tool_warned=yes ;;
 
2910
esac
 
2911
    CC=$ac_ct_CC
 
2912
  fi
2183
2913
else
2184
2914
  CC="$ac_cv_prog_CC"
2185
2915
fi
2186
2916
 
2187
2917
if test -z "$CC"; then
2188
 
  if test -n "$ac_tool_prefix"; then
2189
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
2918
          if test -n "$ac_tool_prefix"; then
 
2919
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2190
2920
set dummy ${ac_tool_prefix}cc; ac_word=$2
2191
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2192
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2921
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2922
$as_echo_n "checking for $ac_word... " >&6; }
2193
2923
if test "${ac_cv_prog_CC+set}" = set; then
2194
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2924
  $as_echo_n "(cached) " >&6
2195
2925
else
2196
2926
  if test -n "$CC"; then
2197
2927
  ac_cv_prog_CC="$CC" # Let the user override the test.
2202
2932
  IFS=$as_save_IFS
2203
2933
  test -z "$as_dir" && as_dir=.
2204
2934
  for ac_exec_ext in '' $ac_executable_extensions; do
2205
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2935
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2206
2936
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2207
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2937
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208
2938
    break 2
2209
2939
  fi
2210
2940
done
2211
2941
done
 
2942
IFS=$as_save_IFS
2212
2943
 
2213
2944
fi
2214
2945
fi
2215
2946
CC=$ac_cv_prog_CC
2216
2947
if test -n "$CC"; then
2217
 
  echo "$as_me:$LINENO: result: $CC" >&5
2218
 
echo "${ECHO_T}$CC" >&6
2219
 
else
2220
 
  echo "$as_me:$LINENO: result: no" >&5
2221
 
echo "${ECHO_T}no" >&6
2222
 
fi
2223
 
 
2224
 
fi
2225
 
if test -z "$ac_cv_prog_CC"; then
2226
 
  ac_ct_CC=$CC
2227
 
  # Extract the first word of "cc", so it can be a program name with args.
2228
 
set dummy cc; ac_word=$2
2229
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2230
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2231
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2232
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2233
 
else
2234
 
  if test -n "$ac_ct_CC"; then
2235
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2236
 
else
2237
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238
 
for as_dir in $PATH
2239
 
do
2240
 
  IFS=$as_save_IFS
2241
 
  test -z "$as_dir" && as_dir=.
2242
 
  for ac_exec_ext in '' $ac_executable_extensions; do
2243
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2244
 
    ac_cv_prog_ac_ct_CC="cc"
2245
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2246
 
    break 2
 
2948
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2949
$as_echo "$CC" >&6; }
 
2950
else
 
2951
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2952
$as_echo "no" >&6; }
 
2953
fi
 
2954
 
 
2955
 
2247
2956
  fi
2248
 
done
2249
 
done
2250
 
 
2251
 
fi
2252
 
fi
2253
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2254
 
if test -n "$ac_ct_CC"; then
2255
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2256
 
echo "${ECHO_T}$ac_ct_CC" >&6
2257
 
else
2258
 
  echo "$as_me:$LINENO: result: no" >&5
2259
 
echo "${ECHO_T}no" >&6
2260
 
fi
2261
 
 
2262
 
  CC=$ac_ct_CC
2263
 
else
2264
 
  CC="$ac_cv_prog_CC"
2265
 
fi
2266
 
 
2267
2957
fi
2268
2958
if test -z "$CC"; then
2269
2959
  # Extract the first word of "cc", so it can be a program name with args.
2270
2960
set dummy cc; ac_word=$2
2271
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2272
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
2961
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2962
$as_echo_n "checking for $ac_word... " >&6; }
2273
2963
if test "${ac_cv_prog_CC+set}" = set; then
2274
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2964
  $as_echo_n "(cached) " >&6
2275
2965
else
2276
2966
  if test -n "$CC"; then
2277
2967
  ac_cv_prog_CC="$CC" # Let the user override the test.
2283
2973
  IFS=$as_save_IFS
2284
2974
  test -z "$as_dir" && as_dir=.
2285
2975
  for ac_exec_ext in '' $ac_executable_extensions; do
2286
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
2976
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2287
2977
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2288
2978
       ac_prog_rejected=yes
2289
2979
       continue
2290
2980
     fi
2291
2981
    ac_cv_prog_CC="cc"
2292
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2982
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2293
2983
    break 2
2294
2984
  fi
2295
2985
done
2296
2986
done
 
2987
IFS=$as_save_IFS
2297
2988
 
2298
2989
if test $ac_prog_rejected = yes; then
2299
2990
  # We found a bogon in the path, so make sure we never use it.
2311
3002
fi
2312
3003
CC=$ac_cv_prog_CC
2313
3004
if test -n "$CC"; then
2314
 
  echo "$as_me:$LINENO: result: $CC" >&5
2315
 
echo "${ECHO_T}$CC" >&6
 
3005
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3006
$as_echo "$CC" >&6; }
2316
3007
else
2317
 
  echo "$as_me:$LINENO: result: no" >&5
2318
 
echo "${ECHO_T}no" >&6
 
3008
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3009
$as_echo "no" >&6; }
2319
3010
fi
 
3011
 
2320
3012
 
2321
3013
fi
2322
3014
if test -z "$CC"; then
2323
3015
  if test -n "$ac_tool_prefix"; then
2324
 
  for ac_prog in cl
 
3016
  for ac_prog in cl.exe
2325
3017
  do
2326
3018
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2327
3019
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2328
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2329
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3020
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3021
$as_echo_n "checking for $ac_word... " >&6; }
2330
3022
if test "${ac_cv_prog_CC+set}" = set; then
2331
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3023
  $as_echo_n "(cached) " >&6
2332
3024
else
2333
3025
  if test -n "$CC"; then
2334
3026
  ac_cv_prog_CC="$CC" # Let the user override the test.
2339
3031
  IFS=$as_save_IFS
2340
3032
  test -z "$as_dir" && as_dir=.
2341
3033
  for ac_exec_ext in '' $ac_executable_extensions; do
2342
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3034
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2343
3035
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2344
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3036
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345
3037
    break 2
2346
3038
  fi
2347
3039
done
2348
3040
done
 
3041
IFS=$as_save_IFS
2349
3042
 
2350
3043
fi
2351
3044
fi
2352
3045
CC=$ac_cv_prog_CC
2353
3046
if test -n "$CC"; then
2354
 
  echo "$as_me:$LINENO: result: $CC" >&5
2355
 
echo "${ECHO_T}$CC" >&6
 
3047
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3048
$as_echo "$CC" >&6; }
2356
3049
else
2357
 
  echo "$as_me:$LINENO: result: no" >&5
2358
 
echo "${ECHO_T}no" >&6
 
3050
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3051
$as_echo "no" >&6; }
2359
3052
fi
2360
3053
 
 
3054
 
2361
3055
    test -n "$CC" && break
2362
3056
  done
2363
3057
fi
2364
3058
if test -z "$CC"; then
2365
3059
  ac_ct_CC=$CC
2366
 
  for ac_prog in cl
 
3060
  for ac_prog in cl.exe
2367
3061
do
2368
3062
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2369
3063
set dummy $ac_prog; ac_word=$2
2370
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
2371
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
3064
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3065
$as_echo_n "checking for $ac_word... " >&6; }
2372
3066
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2373
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3067
  $as_echo_n "(cached) " >&6
2374
3068
else
2375
3069
  if test -n "$ac_ct_CC"; then
2376
3070
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2381
3075
  IFS=$as_save_IFS
2382
3076
  test -z "$as_dir" && as_dir=.
2383
3077
  for ac_exec_ext in '' $ac_executable_extensions; do
2384
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
3078
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385
3079
    ac_cv_prog_ac_ct_CC="$ac_prog"
2386
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3080
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387
3081
    break 2
2388
3082
  fi
2389
3083
done
2390
3084
done
 
3085
IFS=$as_save_IFS
2391
3086
 
2392
3087
fi
2393
3088
fi
2394
3089
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2395
3090
if test -n "$ac_ct_CC"; then
2396
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2397
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
3091
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3092
$as_echo "$ac_ct_CC" >&6; }
2398
3093
else
2399
 
  echo "$as_me:$LINENO: result: no" >&5
2400
 
echo "${ECHO_T}no" >&6
 
3094
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3095
$as_echo "no" >&6; }
2401
3096
fi
2402
3097
 
 
3098
 
2403
3099
  test -n "$ac_ct_CC" && break
2404
3100
done
2405
3101
 
2406
 
  CC=$ac_ct_CC
2407
 
fi
2408
 
 
2409
 
fi
2410
 
 
2411
 
 
2412
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
3102
  if test "x$ac_ct_CC" = x; then
 
3103
    CC=""
 
3104
  else
 
3105
    case $cross_compiling:$ac_tool_warned in
 
3106
yes:)
 
3107
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3108
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3109
ac_tool_warned=yes ;;
 
3110
esac
 
3111
    CC=$ac_ct_CC
 
3112
  fi
 
3113
fi
 
3114
 
 
3115
fi
 
3116
 
 
3117
 
 
3118
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3119
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3120
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2413
3121
See \`config.log' for more details." >&5
2414
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
3122
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2415
3123
See \`config.log' for more details." >&2;}
2416
 
   { (exit 1); exit 1; }; }
 
3124
   { (exit 1); exit 1; }; }; }
2417
3125
 
2418
3126
# Provide some information about the compiler.
2419
 
echo "$as_me:$LINENO:" \
2420
 
     "checking for C compiler version" >&5
2421
 
ac_compiler=`set X $ac_compile; echo $2`
2422
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2423
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
2424
 
  ac_status=$?
2425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426
 
  (exit $ac_status); }
2427
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2428
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
2429
 
  ac_status=$?
2430
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431
 
  (exit $ac_status); }
2432
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2433
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
2434
 
  ac_status=$?
2435
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3127
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
3128
set X $ac_compile
 
3129
ac_compiler=$2
 
3130
{ (ac_try="$ac_compiler --version >&5"
 
3131
case "(($ac_try" in
 
3132
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3133
  *) ac_try_echo=$ac_try;;
 
3134
esac
 
3135
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3136
$as_echo "$ac_try_echo") >&5
 
3137
  (eval "$ac_compiler --version >&5") 2>&5
 
3138
  ac_status=$?
 
3139
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3140
  (exit $ac_status); }
 
3141
{ (ac_try="$ac_compiler -v >&5"
 
3142
case "(($ac_try" in
 
3143
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3144
  *) ac_try_echo=$ac_try;;
 
3145
esac
 
3146
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3147
$as_echo "$ac_try_echo") >&5
 
3148
  (eval "$ac_compiler -v >&5") 2>&5
 
3149
  ac_status=$?
 
3150
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3151
  (exit $ac_status); }
 
3152
{ (ac_try="$ac_compiler -V >&5"
 
3153
case "(($ac_try" in
 
3154
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3155
  *) ac_try_echo=$ac_try;;
 
3156
esac
 
3157
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3158
$as_echo "$ac_try_echo") >&5
 
3159
  (eval "$ac_compiler -V >&5") 2>&5
 
3160
  ac_status=$?
 
3161
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436
3162
  (exit $ac_status); }
2437
3163
 
2438
3164
cat >conftest.$ac_ext <<_ACEOF
2451
3177
}
2452
3178
_ACEOF
2453
3179
ac_clean_files_save=$ac_clean_files
2454
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
3180
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2455
3181
# Try to create an executable without -o first, disregard a.out.
2456
3182
# It will help us diagnose broken compilers, and finding out an intuition
2457
3183
# of exeext.
2458
 
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2459
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2460
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2461
 
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2462
 
  (eval $ac_link_default) 2>&5
 
3184
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
3185
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
3186
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
3187
 
 
3188
# The possible output files:
 
3189
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
3190
 
 
3191
ac_rmfiles=
 
3192
for ac_file in $ac_files
 
3193
do
 
3194
  case $ac_file in
 
3195
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
3196
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
3197
  esac
 
3198
done
 
3199
rm -f $ac_rmfiles
 
3200
 
 
3201
if { (ac_try="$ac_link_default"
 
3202
case "(($ac_try" in
 
3203
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3204
  *) ac_try_echo=$ac_try;;
 
3205
esac
 
3206
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3207
$as_echo "$ac_try_echo") >&5
 
3208
  (eval "$ac_link_default") 2>&5
2463
3209
  ac_status=$?
2464
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3210
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465
3211
  (exit $ac_status); }; then
2466
 
  # Find the output, starting from the most likely.  This scheme is
2467
 
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2468
 
# resort.
2469
 
 
2470
 
# Be careful to initialize this variable, since it used to be cached.
2471
 
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2472
 
ac_cv_exeext=
2473
 
# b.out is created by i960 compilers.
2474
 
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
 
3212
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
3213
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
3214
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
3215
# so that the user can short-circuit this test for compilers unknown to
 
3216
# Autoconf.
 
3217
for ac_file in $ac_files ''
2475
3218
do
2476
3219
  test -f "$ac_file" || continue
2477
3220
  case $ac_file in
2478
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2479
 
        ;;
2480
 
    conftest.$ac_ext )
2481
 
        # This is the source file.
 
3221
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2482
3222
        ;;
2483
3223
    [ab].out )
2484
3224
        # We found the default executable, but exeext='' is most
2485
3225
        # certainly right.
2486
3226
        break;;
2487
3227
    *.* )
2488
 
        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2489
 
        # FIXME: I believe we export ac_cv_exeext for Libtool,
2490
 
        # but it would be cool to find out if it's true.  Does anybody
2491
 
        # maintain Libtool? --akim.
2492
 
        export ac_cv_exeext
 
3228
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
3229
        then :; else
 
3230
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
3231
        fi
 
3232
        # We set ac_cv_exeext here because the later test for it is not
 
3233
        # safe: cross compilers may not add the suffix if given an `-o'
 
3234
        # argument, so we may need to know it at that point already.
 
3235
        # Even if this section looks crufty: it has the advantage of
 
3236
        # actually working.
2493
3237
        break;;
2494
3238
    * )
2495
3239
        break;;
2496
3240
  esac
2497
3241
done
 
3242
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
3243
 
2498
3244
else
2499
 
  echo "$as_me: failed program was:" >&5
 
3245
  ac_file=''
 
3246
fi
 
3247
 
 
3248
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3249
$as_echo "$ac_file" >&6; }
 
3250
if test -z "$ac_file"; then
 
3251
  $as_echo "$as_me: failed program was:" >&5
2500
3252
sed 's/^/| /' conftest.$ac_ext >&5
2501
3253
 
2502
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3254
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3255
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3256
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2503
3257
See \`config.log' for more details." >&5
2504
 
echo "$as_me: error: C compiler cannot create executables
 
3258
$as_echo "$as_me: error: C compiler cannot create executables
2505
3259
See \`config.log' for more details." >&2;}
2506
 
   { (exit 77); exit 77; }; }
 
3260
   { (exit 77); exit 77; }; }; }
2507
3261
fi
2508
3262
 
2509
3263
ac_exeext=$ac_cv_exeext
2510
 
echo "$as_me:$LINENO: result: $ac_file" >&5
2511
 
echo "${ECHO_T}$ac_file" >&6
2512
3264
 
2513
 
# Check the compiler produces executables we can run.  If not, either
 
3265
# Check that the compiler produces executables we can run.  If not, either
2514
3266
# the compiler is broken, or we cross compile.
2515
 
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2516
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
 
3267
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3268
$as_echo_n "checking whether the C compiler works... " >&6; }
2517
3269
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2518
3270
# If not cross compiling, check that we can run a simple program.
2519
3271
if test "$cross_compiling" != yes; then
2520
3272
  if { ac_try='./$ac_file'
2521
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522
 
  (eval $ac_try) 2>&5
 
3273
  { (case "(($ac_try" in
 
3274
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3275
  *) ac_try_echo=$ac_try;;
 
3276
esac
 
3277
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3278
$as_echo "$ac_try_echo") >&5
 
3279
  (eval "$ac_try") 2>&5
2523
3280
  ac_status=$?
2524
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3281
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525
3282
  (exit $ac_status); }; }; then
2526
3283
    cross_compiling=no
2527
3284
  else
2528
3285
    if test "$cross_compiling" = maybe; then
2529
3286
        cross_compiling=yes
2530
3287
    else
2531
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3288
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3289
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3290
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2532
3291
If you meant to cross compile, use \`--host'.
2533
3292
See \`config.log' for more details." >&5
2534
 
echo "$as_me: error: cannot run C compiled programs.
 
3293
$as_echo "$as_me: error: cannot run C compiled programs.
2535
3294
If you meant to cross compile, use \`--host'.
2536
3295
See \`config.log' for more details." >&2;}
2537
 
   { (exit 1); exit 1; }; }
 
3296
   { (exit 1); exit 1; }; }; }
2538
3297
    fi
2539
3298
  fi
2540
3299
fi
2541
 
echo "$as_me:$LINENO: result: yes" >&5
2542
 
echo "${ECHO_T}yes" >&6
 
3300
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3301
$as_echo "yes" >&6; }
2543
3302
 
2544
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3303
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2545
3304
ac_clean_files=$ac_clean_files_save
2546
 
# Check the compiler produces executables we can run.  If not, either
 
3305
# Check that the compiler produces executables we can run.  If not, either
2547
3306
# the compiler is broken, or we cross compile.
2548
 
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2549
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2550
 
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2551
 
echo "${ECHO_T}$cross_compiling" >&6
 
3307
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3308
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3309
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3310
$as_echo "$cross_compiling" >&6; }
2552
3311
 
2553
 
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2554
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2555
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2556
 
  (eval $ac_link) 2>&5
 
3312
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3313
$as_echo_n "checking for suffix of executables... " >&6; }
 
3314
if { (ac_try="$ac_link"
 
3315
case "(($ac_try" in
 
3316
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3317
  *) ac_try_echo=$ac_try;;
 
3318
esac
 
3319
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3320
$as_echo "$ac_try_echo") >&5
 
3321
  (eval "$ac_link") 2>&5
2557
3322
  ac_status=$?
2558
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3323
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559
3324
  (exit $ac_status); }; then
2560
3325
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2561
3326
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2564
3329
for ac_file in conftest.exe conftest conftest.*; do
2565
3330
  test -f "$ac_file" || continue
2566
3331
  case $ac_file in
2567
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
 
3332
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2568
3333
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2569
 
          export ac_cv_exeext
2570
3334
          break;;
2571
3335
    * ) break;;
2572
3336
  esac
2573
3337
done
2574
3338
else
2575
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3339
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3340
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3341
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2576
3342
See \`config.log' for more details." >&5
2577
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3343
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2578
3344
See \`config.log' for more details." >&2;}
2579
 
   { (exit 1); exit 1; }; }
 
3345
   { (exit 1); exit 1; }; }; }
2580
3346
fi
2581
3347
 
2582
3348
rm -f conftest$ac_cv_exeext
2583
 
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2584
 
echo "${ECHO_T}$ac_cv_exeext" >&6
 
3349
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3350
$as_echo "$ac_cv_exeext" >&6; }
2585
3351
 
2586
3352
rm -f conftest.$ac_ext
2587
3353
EXEEXT=$ac_cv_exeext
2588
3354
ac_exeext=$EXEEXT
2589
 
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2590
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
 
3355
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3356
$as_echo_n "checking for suffix of object files... " >&6; }
2591
3357
if test "${ac_cv_objext+set}" = set; then
2592
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3358
  $as_echo_n "(cached) " >&6
2593
3359
else
2594
3360
  cat >conftest.$ac_ext <<_ACEOF
2595
3361
/* confdefs.h.  */
2607
3373
}
2608
3374
_ACEOF
2609
3375
rm -f conftest.o conftest.obj
2610
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2611
 
  (eval $ac_compile) 2>&5
 
3376
if { (ac_try="$ac_compile"
 
3377
case "(($ac_try" in
 
3378
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3379
  *) ac_try_echo=$ac_try;;
 
3380
esac
 
3381
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3382
$as_echo "$ac_try_echo") >&5
 
3383
  (eval "$ac_compile") 2>&5
2612
3384
  ac_status=$?
2613
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3385
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614
3386
  (exit $ac_status); }; then
2615
 
  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
 
3387
  for ac_file in conftest.o conftest.obj conftest.*; do
 
3388
  test -f "$ac_file" || continue;
2616
3389
  case $ac_file in
2617
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
 
3390
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2618
3391
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2619
3392
       break;;
2620
3393
  esac
2621
3394
done
2622
3395
else
2623
 
  echo "$as_me: failed program was:" >&5
 
3396
  $as_echo "$as_me: failed program was:" >&5
2624
3397
sed 's/^/| /' conftest.$ac_ext >&5
2625
3398
 
2626
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3399
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3400
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3401
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2627
3402
See \`config.log' for more details." >&5
2628
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3403
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2629
3404
See \`config.log' for more details." >&2;}
2630
 
   { (exit 1); exit 1; }; }
 
3405
   { (exit 1); exit 1; }; }; }
2631
3406
fi
2632
3407
 
2633
3408
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2634
3409
fi
2635
 
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2636
 
echo "${ECHO_T}$ac_cv_objext" >&6
 
3410
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3411
$as_echo "$ac_cv_objext" >&6; }
2637
3412
OBJEXT=$ac_cv_objext
2638
3413
ac_objext=$OBJEXT
2639
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2640
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
3414
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3415
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2641
3416
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2642
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3417
  $as_echo_n "(cached) " >&6
2643
3418
else
2644
3419
  cat >conftest.$ac_ext <<_ACEOF
2645
3420
/* confdefs.h.  */
2660
3435
}
2661
3436
_ACEOF
2662
3437
rm -f conftest.$ac_objext
2663
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2664
 
  (eval $ac_compile) 2>conftest.er1
 
3438
if { (ac_try="$ac_compile"
 
3439
case "(($ac_try" in
 
3440
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3441
  *) ac_try_echo=$ac_try;;
 
3442
esac
 
3443
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3444
$as_echo "$ac_try_echo") >&5
 
3445
  (eval "$ac_compile") 2>conftest.er1
2665
3446
  ac_status=$?
2666
3447
  grep -v '^ *+' conftest.er1 >conftest.err
2667
3448
  rm -f conftest.er1
2668
3449
  cat conftest.err >&5
2669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670
 
  (exit $ac_status); } &&
2671
 
         { ac_try='test -z "$ac_c_werror_flag"
2672
 
                         || test ! -s conftest.err'
2673
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674
 
  (eval $ac_try) 2>&5
2675
 
  ac_status=$?
2676
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677
 
  (exit $ac_status); }; } &&
2678
 
         { ac_try='test -s conftest.$ac_objext'
2679
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680
 
  (eval $ac_try) 2>&5
2681
 
  ac_status=$?
2682
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683
 
  (exit $ac_status); }; }; then
 
3450
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3451
  (exit $ac_status); } && {
 
3452
         test -z "$ac_c_werror_flag" ||
 
3453
         test ! -s conftest.err
 
3454
       } && test -s conftest.$ac_objext; then
2684
3455
  ac_compiler_gnu=yes
2685
3456
else
2686
 
  echo "$as_me: failed program was:" >&5
 
3457
  $as_echo "$as_me: failed program was:" >&5
2687
3458
sed 's/^/| /' conftest.$ac_ext >&5
2688
3459
 
2689
 
ac_compiler_gnu=no
 
3460
        ac_compiler_gnu=no
2690
3461
fi
2691
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3462
 
 
3463
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2692
3464
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2693
3465
 
2694
3466
fi
2695
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2696
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2697
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3467
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3468
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3469
if test $ac_compiler_gnu = yes; then
 
3470
  GCC=yes
 
3471
else
 
3472
  GCC=
 
3473
fi
2698
3474
ac_test_CFLAGS=${CFLAGS+set}
2699
3475
ac_save_CFLAGS=$CFLAGS
2700
 
CFLAGS="-g"
2701
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2702
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
3476
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3477
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2703
3478
if test "${ac_cv_prog_cc_g+set}" = set; then
2704
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
2705
 
else
2706
 
  cat >conftest.$ac_ext <<_ACEOF
2707
 
/* confdefs.h.  */
2708
 
_ACEOF
2709
 
cat confdefs.h >>conftest.$ac_ext
2710
 
cat >>conftest.$ac_ext <<_ACEOF
2711
 
/* end confdefs.h.  */
2712
 
 
2713
 
int
2714
 
main ()
2715
 
{
2716
 
 
2717
 
  ;
2718
 
  return 0;
2719
 
}
2720
 
_ACEOF
2721
 
rm -f conftest.$ac_objext
2722
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2723
 
  (eval $ac_compile) 2>conftest.er1
2724
 
  ac_status=$?
2725
 
  grep -v '^ *+' conftest.er1 >conftest.err
2726
 
  rm -f conftest.er1
2727
 
  cat conftest.err >&5
2728
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729
 
  (exit $ac_status); } &&
2730
 
         { ac_try='test -z "$ac_c_werror_flag"
2731
 
                         || test ! -s conftest.err'
2732
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733
 
  (eval $ac_try) 2>&5
2734
 
  ac_status=$?
2735
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736
 
  (exit $ac_status); }; } &&
2737
 
         { ac_try='test -s conftest.$ac_objext'
2738
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739
 
  (eval $ac_try) 2>&5
2740
 
  ac_status=$?
2741
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742
 
  (exit $ac_status); }; }; then
2743
 
  ac_cv_prog_cc_g=yes
2744
 
else
2745
 
  echo "$as_me: failed program was:" >&5
2746
 
sed 's/^/| /' conftest.$ac_ext >&5
2747
 
 
2748
 
ac_cv_prog_cc_g=no
2749
 
fi
2750
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2751
 
fi
2752
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2753
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
3479
  $as_echo_n "(cached) " >&6
 
3480
else
 
3481
  ac_save_c_werror_flag=$ac_c_werror_flag
 
3482
   ac_c_werror_flag=yes
 
3483
   ac_cv_prog_cc_g=no
 
3484
   CFLAGS="-g"
 
3485
   cat >conftest.$ac_ext <<_ACEOF
 
3486
/* confdefs.h.  */
 
3487
_ACEOF
 
3488
cat confdefs.h >>conftest.$ac_ext
 
3489
cat >>conftest.$ac_ext <<_ACEOF
 
3490
/* end confdefs.h.  */
 
3491
 
 
3492
int
 
3493
main ()
 
3494
{
 
3495
 
 
3496
  ;
 
3497
  return 0;
 
3498
}
 
3499
_ACEOF
 
3500
rm -f conftest.$ac_objext
 
3501
if { (ac_try="$ac_compile"
 
3502
case "(($ac_try" in
 
3503
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3504
  *) ac_try_echo=$ac_try;;
 
3505
esac
 
3506
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3507
$as_echo "$ac_try_echo") >&5
 
3508
  (eval "$ac_compile") 2>conftest.er1
 
3509
  ac_status=$?
 
3510
  grep -v '^ *+' conftest.er1 >conftest.err
 
3511
  rm -f conftest.er1
 
3512
  cat conftest.err >&5
 
3513
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3514
  (exit $ac_status); } && {
 
3515
         test -z "$ac_c_werror_flag" ||
 
3516
         test ! -s conftest.err
 
3517
       } && test -s conftest.$ac_objext; then
 
3518
  ac_cv_prog_cc_g=yes
 
3519
else
 
3520
  $as_echo "$as_me: failed program was:" >&5
 
3521
sed 's/^/| /' conftest.$ac_ext >&5
 
3522
 
 
3523
        CFLAGS=""
 
3524
      cat >conftest.$ac_ext <<_ACEOF
 
3525
/* confdefs.h.  */
 
3526
_ACEOF
 
3527
cat confdefs.h >>conftest.$ac_ext
 
3528
cat >>conftest.$ac_ext <<_ACEOF
 
3529
/* end confdefs.h.  */
 
3530
 
 
3531
int
 
3532
main ()
 
3533
{
 
3534
 
 
3535
  ;
 
3536
  return 0;
 
3537
}
 
3538
_ACEOF
 
3539
rm -f conftest.$ac_objext
 
3540
if { (ac_try="$ac_compile"
 
3541
case "(($ac_try" in
 
3542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3543
  *) ac_try_echo=$ac_try;;
 
3544
esac
 
3545
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3546
$as_echo "$ac_try_echo") >&5
 
3547
  (eval "$ac_compile") 2>conftest.er1
 
3548
  ac_status=$?
 
3549
  grep -v '^ *+' conftest.er1 >conftest.err
 
3550
  rm -f conftest.er1
 
3551
  cat conftest.err >&5
 
3552
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3553
  (exit $ac_status); } && {
 
3554
         test -z "$ac_c_werror_flag" ||
 
3555
         test ! -s conftest.err
 
3556
       } && test -s conftest.$ac_objext; then
 
3557
  :
 
3558
else
 
3559
  $as_echo "$as_me: failed program was:" >&5
 
3560
sed 's/^/| /' conftest.$ac_ext >&5
 
3561
 
 
3562
        ac_c_werror_flag=$ac_save_c_werror_flag
 
3563
         CFLAGS="-g"
 
3564
         cat >conftest.$ac_ext <<_ACEOF
 
3565
/* confdefs.h.  */
 
3566
_ACEOF
 
3567
cat confdefs.h >>conftest.$ac_ext
 
3568
cat >>conftest.$ac_ext <<_ACEOF
 
3569
/* end confdefs.h.  */
 
3570
 
 
3571
int
 
3572
main ()
 
3573
{
 
3574
 
 
3575
  ;
 
3576
  return 0;
 
3577
}
 
3578
_ACEOF
 
3579
rm -f conftest.$ac_objext
 
3580
if { (ac_try="$ac_compile"
 
3581
case "(($ac_try" in
 
3582
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3583
  *) ac_try_echo=$ac_try;;
 
3584
esac
 
3585
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3586
$as_echo "$ac_try_echo") >&5
 
3587
  (eval "$ac_compile") 2>conftest.er1
 
3588
  ac_status=$?
 
3589
  grep -v '^ *+' conftest.er1 >conftest.err
 
3590
  rm -f conftest.er1
 
3591
  cat conftest.err >&5
 
3592
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3593
  (exit $ac_status); } && {
 
3594
         test -z "$ac_c_werror_flag" ||
 
3595
         test ! -s conftest.err
 
3596
       } && test -s conftest.$ac_objext; then
 
3597
  ac_cv_prog_cc_g=yes
 
3598
else
 
3599
  $as_echo "$as_me: failed program was:" >&5
 
3600
sed 's/^/| /' conftest.$ac_ext >&5
 
3601
 
 
3602
 
 
3603
fi
 
3604
 
 
3605
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3606
fi
 
3607
 
 
3608
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3609
fi
 
3610
 
 
3611
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
3612
   ac_c_werror_flag=$ac_save_c_werror_flag
 
3613
fi
 
3614
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3615
$as_echo "$ac_cv_prog_cc_g" >&6; }
2754
3616
if test "$ac_test_CFLAGS" = set; then
2755
3617
  CFLAGS=$ac_save_CFLAGS
2756
3618
elif test $ac_cv_prog_cc_g = yes; then
2766
3628
    CFLAGS=
2767
3629
  fi
2768
3630
fi
2769
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2770
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2771
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2772
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3631
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3632
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
3633
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
3634
  $as_echo_n "(cached) " >&6
2773
3635
else
2774
 
  ac_cv_prog_cc_stdc=no
 
3636
  ac_cv_prog_cc_c89=no
2775
3637
ac_save_CC=$CC
2776
3638
cat >conftest.$ac_ext <<_ACEOF
2777
3639
/* confdefs.h.  */
2805
3667
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2806
3668
   function prototypes and stuff, but not '\xHH' hex character constants.
2807
3669
   These don't provoke an error unfortunately, instead are silently treated
2808
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
3670
   as 'x'.  The following induces an error, until -std is added to get
2809
3671
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2810
3672
   array size at least.  It's necessary to write '\x00'==0 to get something
2811
 
   that's true only with -std1.  */
 
3673
   that's true only with -std.  */
2812
3674
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2813
3675
 
 
3676
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
3677
   inside strings and character constants.  */
 
3678
#define FOO(x) 'x'
 
3679
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
3680
 
2814
3681
int test (int i, double x);
2815
3682
struct s1 {int (*f) (int a);};
2816
3683
struct s2 {int (*f) (double a);};
2825
3692
  return 0;
2826
3693
}
2827
3694
_ACEOF
2828
 
# Don't try gcc -ansi; that turns off useful extensions and
2829
 
# breaks some systems' header files.
2830
 
# AIX                   -qlanglvl=ansi
2831
 
# Ultrix and OSF/1      -std1
2832
 
# HP-UX 10.20 and later -Ae
2833
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
2834
 
# SVR4                  -Xc -D__EXTENSIONS__
2835
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
3695
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
3696
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2836
3697
do
2837
3698
  CC="$ac_save_CC $ac_arg"
2838
3699
  rm -f conftest.$ac_objext
2839
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2840
 
  (eval $ac_compile) 2>conftest.er1
 
3700
if { (ac_try="$ac_compile"
 
3701
case "(($ac_try" in
 
3702
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3703
  *) ac_try_echo=$ac_try;;
 
3704
esac
 
3705
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3706
$as_echo "$ac_try_echo") >&5
 
3707
  (eval "$ac_compile") 2>conftest.er1
2841
3708
  ac_status=$?
2842
3709
  grep -v '^ *+' conftest.er1 >conftest.err
2843
3710
  rm -f conftest.er1
2844
3711
  cat conftest.err >&5
2845
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846
 
  (exit $ac_status); } &&
2847
 
         { ac_try='test -z "$ac_c_werror_flag"
2848
 
                         || test ! -s conftest.err'
2849
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2850
 
  (eval $ac_try) 2>&5
2851
 
  ac_status=$?
2852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853
 
  (exit $ac_status); }; } &&
2854
 
         { ac_try='test -s conftest.$ac_objext'
2855
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2856
 
  (eval $ac_try) 2>&5
2857
 
  ac_status=$?
2858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2859
 
  (exit $ac_status); }; }; then
2860
 
  ac_cv_prog_cc_stdc=$ac_arg
2861
 
break
 
3712
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3713
  (exit $ac_status); } && {
 
3714
         test -z "$ac_c_werror_flag" ||
 
3715
         test ! -s conftest.err
 
3716
       } && test -s conftest.$ac_objext; then
 
3717
  ac_cv_prog_cc_c89=$ac_arg
2862
3718
else
2863
 
  echo "$as_me: failed program was:" >&5
 
3719
  $as_echo "$as_me: failed program was:" >&5
2864
3720
sed 's/^/| /' conftest.$ac_ext >&5
2865
3721
 
 
3722
 
2866
3723
fi
2867
 
rm -f conftest.err conftest.$ac_objext
 
3724
 
 
3725
rm -f core conftest.err conftest.$ac_objext
 
3726
  test "x$ac_cv_prog_cc_c89" != "xno" && break
2868
3727
done
2869
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
3728
rm -f conftest.$ac_ext
2870
3729
CC=$ac_save_CC
2871
3730
 
2872
3731
fi
2873
 
 
2874
 
case "x$ac_cv_prog_cc_stdc" in
2875
 
  x|xno)
2876
 
    echo "$as_me:$LINENO: result: none needed" >&5
2877
 
echo "${ECHO_T}none needed" >&6 ;;
 
3732
# AC_CACHE_VAL
 
3733
case "x$ac_cv_prog_cc_c89" in
 
3734
  x)
 
3735
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3736
$as_echo "none needed" >&6; } ;;
 
3737
  xno)
 
3738
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3739
$as_echo "unsupported" >&6; } ;;
2878
3740
  *)
2879
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2880
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2881
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
3741
    CC="$CC $ac_cv_prog_cc_c89"
 
3742
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3743
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2882
3744
esac
2883
3745
 
2884
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
2885
 
# in C++ we need to declare it.  In case someone uses the same compiler
2886
 
# for both compiling C and C++ we need to have the C++ compiler decide
2887
 
# the declaration of exit, since it's the most demanding environment.
2888
 
cat >conftest.$ac_ext <<_ACEOF
2889
 
#ifndef __cplusplus
2890
 
  choke me
2891
 
#endif
2892
 
_ACEOF
2893
 
rm -f conftest.$ac_objext
2894
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2895
 
  (eval $ac_compile) 2>conftest.er1
2896
 
  ac_status=$?
2897
 
  grep -v '^ *+' conftest.er1 >conftest.err
2898
 
  rm -f conftest.er1
2899
 
  cat conftest.err >&5
2900
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901
 
  (exit $ac_status); } &&
2902
 
         { ac_try='test -z "$ac_c_werror_flag"
2903
 
                         || test ! -s conftest.err'
2904
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905
 
  (eval $ac_try) 2>&5
2906
 
  ac_status=$?
2907
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908
 
  (exit $ac_status); }; } &&
2909
 
         { ac_try='test -s conftest.$ac_objext'
2910
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2911
 
  (eval $ac_try) 2>&5
2912
 
  ac_status=$?
2913
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914
 
  (exit $ac_status); }; }; then
2915
 
  for ac_declaration in \
2916
 
   '' \
2917
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
2918
 
   'extern "C" void std::exit (int); using std::exit;' \
2919
 
   'extern "C" void exit (int) throw ();' \
2920
 
   'extern "C" void exit (int);' \
2921
 
   'void exit (int);'
2922
 
do
2923
 
  cat >conftest.$ac_ext <<_ACEOF
2924
 
/* confdefs.h.  */
2925
 
_ACEOF
2926
 
cat confdefs.h >>conftest.$ac_ext
2927
 
cat >>conftest.$ac_ext <<_ACEOF
2928
 
/* end confdefs.h.  */
2929
 
$ac_declaration
2930
 
#include <stdlib.h>
2931
 
int
2932
 
main ()
2933
 
{
2934
 
exit (42);
2935
 
  ;
2936
 
  return 0;
2937
 
}
2938
 
_ACEOF
2939
 
rm -f conftest.$ac_objext
2940
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2941
 
  (eval $ac_compile) 2>conftest.er1
2942
 
  ac_status=$?
2943
 
  grep -v '^ *+' conftest.er1 >conftest.err
2944
 
  rm -f conftest.er1
2945
 
  cat conftest.err >&5
2946
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947
 
  (exit $ac_status); } &&
2948
 
         { ac_try='test -z "$ac_c_werror_flag"
2949
 
                         || test ! -s conftest.err'
2950
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2951
 
  (eval $ac_try) 2>&5
2952
 
  ac_status=$?
2953
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954
 
  (exit $ac_status); }; } &&
2955
 
         { ac_try='test -s conftest.$ac_objext'
2956
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957
 
  (eval $ac_try) 2>&5
2958
 
  ac_status=$?
2959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960
 
  (exit $ac_status); }; }; then
2961
 
  :
2962
 
else
2963
 
  echo "$as_me: failed program was:" >&5
2964
 
sed 's/^/| /' conftest.$ac_ext >&5
2965
 
 
2966
 
continue
2967
 
fi
2968
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2969
 
  cat >conftest.$ac_ext <<_ACEOF
2970
 
/* confdefs.h.  */
2971
 
_ACEOF
2972
 
cat confdefs.h >>conftest.$ac_ext
2973
 
cat >>conftest.$ac_ext <<_ACEOF
2974
 
/* end confdefs.h.  */
2975
 
$ac_declaration
2976
 
int
2977
 
main ()
2978
 
{
2979
 
exit (42);
2980
 
  ;
2981
 
  return 0;
2982
 
}
2983
 
_ACEOF
2984
 
rm -f conftest.$ac_objext
2985
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2986
 
  (eval $ac_compile) 2>conftest.er1
2987
 
  ac_status=$?
2988
 
  grep -v '^ *+' conftest.er1 >conftest.err
2989
 
  rm -f conftest.er1
2990
 
  cat conftest.err >&5
2991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992
 
  (exit $ac_status); } &&
2993
 
         { ac_try='test -z "$ac_c_werror_flag"
2994
 
                         || test ! -s conftest.err'
2995
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2996
 
  (eval $ac_try) 2>&5
2997
 
  ac_status=$?
2998
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999
 
  (exit $ac_status); }; } &&
3000
 
         { ac_try='test -s conftest.$ac_objext'
3001
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3002
 
  (eval $ac_try) 2>&5
3003
 
  ac_status=$?
3004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005
 
  (exit $ac_status); }; }; then
3006
 
  break
3007
 
else
3008
 
  echo "$as_me: failed program was:" >&5
3009
 
sed 's/^/| /' conftest.$ac_ext >&5
3010
 
 
3011
 
fi
3012
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013
 
done
3014
 
rm -f conftest*
3015
 
if test -n "$ac_declaration"; then
3016
 
  echo '#ifdef __cplusplus' >>confdefs.h
3017
 
  echo $ac_declaration      >>confdefs.h
3018
 
  echo '#endif'             >>confdefs.h
3019
 
fi
3020
 
 
3021
 
else
3022
 
  echo "$as_me: failed program was:" >&5
3023
 
sed 's/^/| /' conftest.$ac_ext >&5
3024
 
 
3025
 
fi
3026
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
3746
 
3027
3747
ac_ext=c
3028
3748
ac_cpp='$CPP $CPPFLAGS'
3029
3749
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3031
3751
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3032
3752
DEPDIR="${am__leading_dot}deps"
3033
3753
 
3034
 
          ac_config_commands="$ac_config_commands depfiles"
 
3754
ac_config_commands="$ac_config_commands depfiles"
3035
3755
 
3036
3756
 
3037
3757
am_make=${MAKE-make}
3038
3758
cat > confinc << 'END'
3039
3759
am__doit:
3040
 
        @echo done
 
3760
        @echo this is the am__doit target
3041
3761
.PHONY: am__doit
3042
3762
END
3043
3763
# If we don't find an include directive, just comment out the code.
3044
 
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3045
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
3764
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3765
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3046
3766
am__include="#"
3047
3767
am__quote=
3048
3768
_am_result=none
3049
3769
# First try GNU make style include.
3050
3770
echo "include confinc" > confmf
3051
 
# We grep out `Entering directory' and `Leaving directory'
3052
 
# messages which can occur if `w' ends up in MAKEFLAGS.
3053
 
# In particular we don't look at `^make:' because GNU make might
3054
 
# be invoked under some other name (usually "gmake"), in which
3055
 
# case it prints its new name instead of `make'.
3056
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3057
 
   am__include=include
3058
 
   am__quote=
3059
 
   _am_result=GNU
3060
 
fi
 
3771
# Ignore all kinds of additional output from `make'.
 
3772
case `$am_make -s -f confmf 2> /dev/null` in #(
 
3773
*the\ am__doit\ target*)
 
3774
  am__include=include
 
3775
  am__quote=
 
3776
  _am_result=GNU
 
3777
  ;;
 
3778
esac
3061
3779
# Now try BSD make style include.
3062
3780
if test "$am__include" = "#"; then
3063
3781
   echo '.include "confinc"' > confmf
3064
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3065
 
      am__include=.include
3066
 
      am__quote="\""
3067
 
      _am_result=BSD
3068
 
   fi
 
3782
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
3783
   *the\ am__doit\ target*)
 
3784
     am__include=.include
 
3785
     am__quote="\""
 
3786
     _am_result=BSD
 
3787
     ;;
 
3788
   esac
3069
3789
fi
3070
3790
 
3071
3791
 
3072
 
echo "$as_me:$LINENO: result: $_am_result" >&5
3073
 
echo "${ECHO_T}$_am_result" >&6
 
3792
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3793
$as_echo "$_am_result" >&6; }
3074
3794
rm -f confinc confmf
3075
3795
 
3076
 
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3796
# Check whether --enable-dependency-tracking was given.
3077
3797
if test "${enable_dependency_tracking+set}" = set; then
3078
 
  enableval="$enable_dependency_tracking"
 
3798
  enableval=$enable_dependency_tracking;
 
3799
fi
3079
3800
 
3080
 
fi;
3081
3801
if test "x$enable_dependency_tracking" != xno; then
3082
3802
  am_depcomp="$ac_aux_dir/depcomp"
3083
3803
  AMDEPBACKSLASH='\'
3084
3804
fi
3085
 
 
3086
 
 
3087
 
if test "x$enable_dependency_tracking" != xno; then
 
3805
 if test "x$enable_dependency_tracking" != xno; then
3088
3806
  AMDEP_TRUE=
3089
3807
  AMDEP_FALSE='#'
3090
3808
else
3094
3812
 
3095
3813
 
3096
3814
 
3097
 
 
3098
3815
depcc="$CC"   am_compiler_list=
3099
3816
 
3100
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3101
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3817
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3818
$as_echo_n "checking dependency style of $depcc... " >&6; }
3102
3819
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3103
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3820
  $as_echo_n "(cached) " >&6
3104
3821
else
3105
3822
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3106
3823
  # We make a subdir and do the tests there.  Otherwise we can end up
3125
3842
  if test "$am_compiler_list" = ""; then
3126
3843
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3127
3844
  fi
 
3845
  am__universal=false
 
3846
  case " $depcc " in #(
 
3847
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
3848
     esac
 
3849
 
3128
3850
  for depmode in $am_compiler_list; do
3129
3851
    # Setup a source with many dependencies, because some compilers
3130
3852
    # like to wrap large dependency lists on column 80 (with \), and
3142
3864
    done
3143
3865
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3144
3866
 
 
3867
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3868
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3869
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
3870
    # versions had trouble with output in subdirs
 
3871
    am__obj=sub/conftest.${OBJEXT-o}
 
3872
    am__minus_obj="-o $am__obj"
3145
3873
    case $depmode in
 
3874
    gcc)
 
3875
      # This depmode causes a compiler race in universal mode.
 
3876
      test "$am__universal" = false || continue
 
3877
      ;;
3146
3878
    nosideeffect)
3147
3879
      # after this tag, mechanisms are not by side-effect, so they'll
3148
3880
      # only be used when explicitly requested
3152
3884
        break
3153
3885
      fi
3154
3886
      ;;
 
3887
    msvisualcpp | msvcmsys)
 
3888
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3889
      # not run yet.  These depmodes are late enough in the game, and
 
3890
      # so weak that their functioning should not be impacted.
 
3891
      am__obj=conftest.${OBJEXT-o}
 
3892
      am__minus_obj=
 
3893
      ;;
3155
3894
    none) break ;;
3156
3895
    esac
3157
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3158
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
3159
 
    # handle `-M -o', and we need to detect this.
3160
3896
    if depmode=$depmode \
3161
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3897
       source=sub/conftest.c object=$am__obj \
3162
3898
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3163
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3899
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3164
3900
         >/dev/null 2>conftest.err &&
 
3901
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3165
3902
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3166
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3903
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3167
3904
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3168
3905
      # icc doesn't choke on unknown options, it will just issue warnings
3169
3906
      # or remarks (even with -Werror).  So we grep stderr for any message
3187
3924
fi
3188
3925
 
3189
3926
fi
3190
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3191
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3927
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3928
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3192
3929
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3193
3930
 
3194
 
 
3195
 
 
3196
 
if
 
3931
 if
3197
3932
  test "x$enable_dependency_tracking" != xno \
3198
3933
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3199
3934
  am__fastdepCC_TRUE=
3209
3944
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3210
3945
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3211
3946
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3212
 
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3213
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 
3947
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
3948
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3214
3949
# On Suns, sometimes $CPP names a directory.
3215
3950
if test -n "$CPP" && test -d "$CPP"; then
3216
3951
  CPP=
3217
3952
fi
3218
3953
if test -z "$CPP"; then
3219
3954
  if test "${ac_cv_prog_CPP+set}" = set; then
3220
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3955
  $as_echo_n "(cached) " >&6
3221
3956
else
3222
3957
      # Double quotes because CPP needs to be expanded
3223
3958
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3244
3979
#endif
3245
3980
                     Syntax error
3246
3981
_ACEOF
3247
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3248
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
3982
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
3983
case "(($ac_try" in
 
3984
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
3985
  *) ac_try_echo=$ac_try;;
 
3986
esac
 
3987
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3988
$as_echo "$ac_try_echo") >&5
 
3989
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3249
3990
  ac_status=$?
3250
3991
  grep -v '^ *+' conftest.er1 >conftest.err
3251
3992
  rm -f conftest.er1
3252
3993
  cat conftest.err >&5
3253
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254
 
  (exit $ac_status); } >/dev/null; then
3255
 
  if test -s conftest.err; then
3256
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3257
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3258
 
  else
3259
 
    ac_cpp_err=
3260
 
  fi
3261
 
else
3262
 
  ac_cpp_err=yes
3263
 
fi
3264
 
if test -z "$ac_cpp_err"; then
 
3994
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3995
  (exit $ac_status); } >/dev/null && {
 
3996
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
3997
         test ! -s conftest.err
 
3998
       }; then
3265
3999
  :
3266
4000
else
3267
 
  echo "$as_me: failed program was:" >&5
 
4001
  $as_echo "$as_me: failed program was:" >&5
3268
4002
sed 's/^/| /' conftest.$ac_ext >&5
3269
4003
 
3270
4004
  # Broken: fails on valid input.
3271
4005
continue
3272
4006
fi
 
4007
 
3273
4008
rm -f conftest.err conftest.$ac_ext
3274
4009
 
3275
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4010
  # OK, works on sane cases.  Now check whether nonexistent headers
3276
4011
  # can be detected and how.
3277
4012
  cat >conftest.$ac_ext <<_ACEOF
3278
4013
/* confdefs.h.  */
3282
4017
/* end confdefs.h.  */
3283
4018
#include <ac_nonexistent.h>
3284
4019
_ACEOF
3285
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3286
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4020
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4021
case "(($ac_try" in
 
4022
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4023
  *) ac_try_echo=$ac_try;;
 
4024
esac
 
4025
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4026
$as_echo "$ac_try_echo") >&5
 
4027
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3287
4028
  ac_status=$?
3288
4029
  grep -v '^ *+' conftest.er1 >conftest.err
3289
4030
  rm -f conftest.er1
3290
4031
  cat conftest.err >&5
3291
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292
 
  (exit $ac_status); } >/dev/null; then
3293
 
  if test -s conftest.err; then
3294
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3295
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3296
 
  else
3297
 
    ac_cpp_err=
3298
 
  fi
3299
 
else
3300
 
  ac_cpp_err=yes
3301
 
fi
3302
 
if test -z "$ac_cpp_err"; then
 
4032
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4033
  (exit $ac_status); } >/dev/null && {
 
4034
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4035
         test ! -s conftest.err
 
4036
       }; then
3303
4037
  # Broken: success on invalid input.
3304
4038
continue
3305
4039
else
3306
 
  echo "$as_me: failed program was:" >&5
 
4040
  $as_echo "$as_me: failed program was:" >&5
3307
4041
sed 's/^/| /' conftest.$ac_ext >&5
3308
4042
 
3309
4043
  # Passes both tests.
3310
4044
ac_preproc_ok=:
3311
4045
break
3312
4046
fi
 
4047
 
3313
4048
rm -f conftest.err conftest.$ac_ext
3314
4049
 
3315
4050
done
3327
4062
else
3328
4063
  ac_cv_prog_CPP=$CPP
3329
4064
fi
3330
 
echo "$as_me:$LINENO: result: $CPP" >&5
3331
 
echo "${ECHO_T}$CPP" >&6
 
4065
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
4066
$as_echo "$CPP" >&6; }
3332
4067
ac_preproc_ok=false
3333
4068
for ac_c_preproc_warn_flag in '' yes
3334
4069
do
3351
4086
#endif
3352
4087
                     Syntax error
3353
4088
_ACEOF
3354
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3355
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4089
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4090
case "(($ac_try" in
 
4091
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4092
  *) ac_try_echo=$ac_try;;
 
4093
esac
 
4094
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4095
$as_echo "$ac_try_echo") >&5
 
4096
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3356
4097
  ac_status=$?
3357
4098
  grep -v '^ *+' conftest.er1 >conftest.err
3358
4099
  rm -f conftest.er1
3359
4100
  cat conftest.err >&5
3360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361
 
  (exit $ac_status); } >/dev/null; then
3362
 
  if test -s conftest.err; then
3363
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3364
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3365
 
  else
3366
 
    ac_cpp_err=
3367
 
  fi
3368
 
else
3369
 
  ac_cpp_err=yes
3370
 
fi
3371
 
if test -z "$ac_cpp_err"; then
 
4101
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4102
  (exit $ac_status); } >/dev/null && {
 
4103
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4104
         test ! -s conftest.err
 
4105
       }; then
3372
4106
  :
3373
4107
else
3374
 
  echo "$as_me: failed program was:" >&5
 
4108
  $as_echo "$as_me: failed program was:" >&5
3375
4109
sed 's/^/| /' conftest.$ac_ext >&5
3376
4110
 
3377
4111
  # Broken: fails on valid input.
3378
4112
continue
3379
4113
fi
 
4114
 
3380
4115
rm -f conftest.err conftest.$ac_ext
3381
4116
 
3382
 
  # OK, works on sane cases.  Now check whether non-existent headers
 
4117
  # OK, works on sane cases.  Now check whether nonexistent headers
3383
4118
  # can be detected and how.
3384
4119
  cat >conftest.$ac_ext <<_ACEOF
3385
4120
/* confdefs.h.  */
3389
4124
/* end confdefs.h.  */
3390
4125
#include <ac_nonexistent.h>
3391
4126
_ACEOF
3392
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3393
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
4127
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
4128
case "(($ac_try" in
 
4129
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4130
  *) ac_try_echo=$ac_try;;
 
4131
esac
 
4132
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4133
$as_echo "$ac_try_echo") >&5
 
4134
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3394
4135
  ac_status=$?
3395
4136
  grep -v '^ *+' conftest.er1 >conftest.err
3396
4137
  rm -f conftest.er1
3397
4138
  cat conftest.err >&5
3398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399
 
  (exit $ac_status); } >/dev/null; then
3400
 
  if test -s conftest.err; then
3401
 
    ac_cpp_err=$ac_c_preproc_warn_flag
3402
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3403
 
  else
3404
 
    ac_cpp_err=
3405
 
  fi
3406
 
else
3407
 
  ac_cpp_err=yes
3408
 
fi
3409
 
if test -z "$ac_cpp_err"; then
 
4139
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4140
  (exit $ac_status); } >/dev/null && {
 
4141
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
4142
         test ! -s conftest.err
 
4143
       }; then
3410
4144
  # Broken: success on invalid input.
3411
4145
continue
3412
4146
else
3413
 
  echo "$as_me: failed program was:" >&5
 
4147
  $as_echo "$as_me: failed program was:" >&5
3414
4148
sed 's/^/| /' conftest.$ac_ext >&5
3415
4149
 
3416
4150
  # Passes both tests.
3417
4151
ac_preproc_ok=:
3418
4152
break
3419
4153
fi
 
4154
 
3420
4155
rm -f conftest.err conftest.$ac_ext
3421
4156
 
3422
4157
done
3425
4160
if $ac_preproc_ok; then
3426
4161
  :
3427
4162
else
3428
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
4163
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4164
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4165
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3429
4166
See \`config.log' for more details." >&5
3430
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
4167
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3431
4168
See \`config.log' for more details." >&2;}
3432
 
   { (exit 1); exit 1; }; }
 
4169
   { (exit 1); exit 1; }; }; }
3433
4170
fi
3434
4171
 
3435
4172
ac_ext=c
3446
4183
if test -n "$ac_tool_prefix"; then
3447
4184
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3448
4185
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3449
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3450
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4186
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4187
$as_echo_n "checking for $ac_word... " >&6; }
3451
4188
if test "${ac_cv_prog_CC+set}" = set; then
3452
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4189
  $as_echo_n "(cached) " >&6
3453
4190
else
3454
4191
  if test -n "$CC"; then
3455
4192
  ac_cv_prog_CC="$CC" # Let the user override the test.
3460
4197
  IFS=$as_save_IFS
3461
4198
  test -z "$as_dir" && as_dir=.
3462
4199
  for ac_exec_ext in '' $ac_executable_extensions; do
3463
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4200
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3464
4201
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3465
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4202
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3466
4203
    break 2
3467
4204
  fi
3468
4205
done
3469
4206
done
 
4207
IFS=$as_save_IFS
3470
4208
 
3471
4209
fi
3472
4210
fi
3473
4211
CC=$ac_cv_prog_CC
3474
4212
if test -n "$CC"; then
3475
 
  echo "$as_me:$LINENO: result: $CC" >&5
3476
 
echo "${ECHO_T}$CC" >&6
 
4213
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4214
$as_echo "$CC" >&6; }
3477
4215
else
3478
 
  echo "$as_me:$LINENO: result: no" >&5
3479
 
echo "${ECHO_T}no" >&6
 
4216
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4217
$as_echo "no" >&6; }
3480
4218
fi
 
4219
 
3481
4220
 
3482
4221
fi
3483
4222
if test -z "$ac_cv_prog_CC"; then
3484
4223
  ac_ct_CC=$CC
3485
4224
  # Extract the first word of "gcc", so it can be a program name with args.
3486
4225
set dummy gcc; ac_word=$2
3487
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3488
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4226
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4227
$as_echo_n "checking for $ac_word... " >&6; }
3489
4228
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4229
  $as_echo_n "(cached) " >&6
3491
4230
else
3492
4231
  if test -n "$ac_ct_CC"; then
3493
4232
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3498
4237
  IFS=$as_save_IFS
3499
4238
  test -z "$as_dir" && as_dir=.
3500
4239
  for ac_exec_ext in '' $ac_executable_extensions; do
3501
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4240
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3502
4241
    ac_cv_prog_ac_ct_CC="gcc"
3503
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4242
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3504
4243
    break 2
3505
4244
  fi
3506
4245
done
3507
4246
done
 
4247
IFS=$as_save_IFS
3508
4248
 
3509
4249
fi
3510
4250
fi
3511
4251
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3512
4252
if test -n "$ac_ct_CC"; then
3513
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3514
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
4253
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4254
$as_echo "$ac_ct_CC" >&6; }
3515
4255
else
3516
 
  echo "$as_me:$LINENO: result: no" >&5
3517
 
echo "${ECHO_T}no" >&6
 
4256
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4257
$as_echo "no" >&6; }
3518
4258
fi
3519
4259
 
3520
 
  CC=$ac_ct_CC
 
4260
  if test "x$ac_ct_CC" = x; then
 
4261
    CC=""
 
4262
  else
 
4263
    case $cross_compiling:$ac_tool_warned in
 
4264
yes:)
 
4265
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4266
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4267
ac_tool_warned=yes ;;
 
4268
esac
 
4269
    CC=$ac_ct_CC
 
4270
  fi
3521
4271
else
3522
4272
  CC="$ac_cv_prog_CC"
3523
4273
fi
3524
4274
 
3525
4275
if test -z "$CC"; then
3526
 
  if test -n "$ac_tool_prefix"; then
3527
 
  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
4276
          if test -n "$ac_tool_prefix"; then
 
4277
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3528
4278
set dummy ${ac_tool_prefix}cc; ac_word=$2
3529
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3530
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4279
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4280
$as_echo_n "checking for $ac_word... " >&6; }
3531
4281
if test "${ac_cv_prog_CC+set}" = set; then
3532
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4282
  $as_echo_n "(cached) " >&6
3533
4283
else
3534
4284
  if test -n "$CC"; then
3535
4285
  ac_cv_prog_CC="$CC" # Let the user override the test.
3540
4290
  IFS=$as_save_IFS
3541
4291
  test -z "$as_dir" && as_dir=.
3542
4292
  for ac_exec_ext in '' $ac_executable_extensions; do
3543
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4293
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3544
4294
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3545
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4295
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3546
4296
    break 2
3547
4297
  fi
3548
4298
done
3549
4299
done
 
4300
IFS=$as_save_IFS
3550
4301
 
3551
4302
fi
3552
4303
fi
3553
4304
CC=$ac_cv_prog_CC
3554
4305
if test -n "$CC"; then
3555
 
  echo "$as_me:$LINENO: result: $CC" >&5
3556
 
echo "${ECHO_T}$CC" >&6
3557
 
else
3558
 
  echo "$as_me:$LINENO: result: no" >&5
3559
 
echo "${ECHO_T}no" >&6
3560
 
fi
3561
 
 
3562
 
fi
3563
 
if test -z "$ac_cv_prog_CC"; then
3564
 
  ac_ct_CC=$CC
3565
 
  # Extract the first word of "cc", so it can be a program name with args.
3566
 
set dummy cc; ac_word=$2
3567
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3568
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3569
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3570
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3571
 
else
3572
 
  if test -n "$ac_ct_CC"; then
3573
 
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3574
 
else
3575
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3576
 
for as_dir in $PATH
3577
 
do
3578
 
  IFS=$as_save_IFS
3579
 
  test -z "$as_dir" && as_dir=.
3580
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3581
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3582
 
    ac_cv_prog_ac_ct_CC="cc"
3583
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3584
 
    break 2
 
4306
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4307
$as_echo "$CC" >&6; }
 
4308
else
 
4309
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4310
$as_echo "no" >&6; }
 
4311
fi
 
4312
 
 
4313
 
3585
4314
  fi
3586
 
done
3587
 
done
3588
 
 
3589
 
fi
3590
 
fi
3591
 
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3592
 
if test -n "$ac_ct_CC"; then
3593
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3594
 
echo "${ECHO_T}$ac_ct_CC" >&6
3595
 
else
3596
 
  echo "$as_me:$LINENO: result: no" >&5
3597
 
echo "${ECHO_T}no" >&6
3598
 
fi
3599
 
 
3600
 
  CC=$ac_ct_CC
3601
 
else
3602
 
  CC="$ac_cv_prog_CC"
3603
 
fi
3604
 
 
3605
4315
fi
3606
4316
if test -z "$CC"; then
3607
4317
  # Extract the first word of "cc", so it can be a program name with args.
3608
4318
set dummy cc; ac_word=$2
3609
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3610
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4319
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4320
$as_echo_n "checking for $ac_word... " >&6; }
3611
4321
if test "${ac_cv_prog_CC+set}" = set; then
3612
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4322
  $as_echo_n "(cached) " >&6
3613
4323
else
3614
4324
  if test -n "$CC"; then
3615
4325
  ac_cv_prog_CC="$CC" # Let the user override the test.
3621
4331
  IFS=$as_save_IFS
3622
4332
  test -z "$as_dir" && as_dir=.
3623
4333
  for ac_exec_ext in '' $ac_executable_extensions; do
3624
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4334
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625
4335
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3626
4336
       ac_prog_rejected=yes
3627
4337
       continue
3628
4338
     fi
3629
4339
    ac_cv_prog_CC="cc"
3630
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4340
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3631
4341
    break 2
3632
4342
  fi
3633
4343
done
3634
4344
done
 
4345
IFS=$as_save_IFS
3635
4346
 
3636
4347
if test $ac_prog_rejected = yes; then
3637
4348
  # We found a bogon in the path, so make sure we never use it.
3649
4360
fi
3650
4361
CC=$ac_cv_prog_CC
3651
4362
if test -n "$CC"; then
3652
 
  echo "$as_me:$LINENO: result: $CC" >&5
3653
 
echo "${ECHO_T}$CC" >&6
 
4363
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4364
$as_echo "$CC" >&6; }
3654
4365
else
3655
 
  echo "$as_me:$LINENO: result: no" >&5
3656
 
echo "${ECHO_T}no" >&6
 
4366
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4367
$as_echo "no" >&6; }
3657
4368
fi
 
4369
 
3658
4370
 
3659
4371
fi
3660
4372
if test -z "$CC"; then
3661
4373
  if test -n "$ac_tool_prefix"; then
3662
 
  for ac_prog in cl
 
4374
  for ac_prog in cl.exe
3663
4375
  do
3664
4376
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3665
4377
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3666
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3667
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4378
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4379
$as_echo_n "checking for $ac_word... " >&6; }
3668
4380
if test "${ac_cv_prog_CC+set}" = set; then
3669
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4381
  $as_echo_n "(cached) " >&6
3670
4382
else
3671
4383
  if test -n "$CC"; then
3672
4384
  ac_cv_prog_CC="$CC" # Let the user override the test.
3677
4389
  IFS=$as_save_IFS
3678
4390
  test -z "$as_dir" && as_dir=.
3679
4391
  for ac_exec_ext in '' $ac_executable_extensions; do
3680
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4392
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3681
4393
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3682
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4394
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3683
4395
    break 2
3684
4396
  fi
3685
4397
done
3686
4398
done
 
4399
IFS=$as_save_IFS
3687
4400
 
3688
4401
fi
3689
4402
fi
3690
4403
CC=$ac_cv_prog_CC
3691
4404
if test -n "$CC"; then
3692
 
  echo "$as_me:$LINENO: result: $CC" >&5
3693
 
echo "${ECHO_T}$CC" >&6
 
4405
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
4406
$as_echo "$CC" >&6; }
3694
4407
else
3695
 
  echo "$as_me:$LINENO: result: no" >&5
3696
 
echo "${ECHO_T}no" >&6
 
4408
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4409
$as_echo "no" >&6; }
3697
4410
fi
3698
4411
 
 
4412
 
3699
4413
    test -n "$CC" && break
3700
4414
  done
3701
4415
fi
3702
4416
if test -z "$CC"; then
3703
4417
  ac_ct_CC=$CC
3704
 
  for ac_prog in cl
 
4418
  for ac_prog in cl.exe
3705
4419
do
3706
4420
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3707
4421
set dummy $ac_prog; ac_word=$2
3708
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
3709
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
4422
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4423
$as_echo_n "checking for $ac_word... " >&6; }
3710
4424
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3711
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4425
  $as_echo_n "(cached) " >&6
3712
4426
else
3713
4427
  if test -n "$ac_ct_CC"; then
3714
4428
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3719
4433
  IFS=$as_save_IFS
3720
4434
  test -z "$as_dir" && as_dir=.
3721
4435
  for ac_exec_ext in '' $ac_executable_extensions; do
3722
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
4436
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3723
4437
    ac_cv_prog_ac_ct_CC="$ac_prog"
3724
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4438
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3725
4439
    break 2
3726
4440
  fi
3727
4441
done
3728
4442
done
 
4443
IFS=$as_save_IFS
3729
4444
 
3730
4445
fi
3731
4446
fi
3732
4447
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3733
4448
if test -n "$ac_ct_CC"; then
3734
 
  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3735
 
echo "${ECHO_T}$ac_ct_CC" >&6
 
4449
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
4450
$as_echo "$ac_ct_CC" >&6; }
3736
4451
else
3737
 
  echo "$as_me:$LINENO: result: no" >&5
3738
 
echo "${ECHO_T}no" >&6
 
4452
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4453
$as_echo "no" >&6; }
3739
4454
fi
3740
4455
 
 
4456
 
3741
4457
  test -n "$ac_ct_CC" && break
3742
4458
done
3743
4459
 
3744
 
  CC=$ac_ct_CC
3745
 
fi
3746
 
 
3747
 
fi
3748
 
 
3749
 
 
3750
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4460
  if test "x$ac_ct_CC" = x; then
 
4461
    CC=""
 
4462
  else
 
4463
    case $cross_compiling:$ac_tool_warned in
 
4464
yes:)
 
4465
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4466
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4467
ac_tool_warned=yes ;;
 
4468
esac
 
4469
    CC=$ac_ct_CC
 
4470
  fi
 
4471
fi
 
4472
 
 
4473
fi
 
4474
 
 
4475
 
 
4476
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4477
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4478
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3751
4479
See \`config.log' for more details." >&5
3752
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4480
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3753
4481
See \`config.log' for more details." >&2;}
3754
 
   { (exit 1); exit 1; }; }
 
4482
   { (exit 1); exit 1; }; }; }
3755
4483
 
3756
4484
# Provide some information about the compiler.
3757
 
echo "$as_me:$LINENO:" \
3758
 
     "checking for C compiler version" >&5
3759
 
ac_compiler=`set X $ac_compile; echo $2`
3760
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3761
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
3762
 
  ac_status=$?
3763
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764
 
  (exit $ac_status); }
3765
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3766
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
3767
 
  ac_status=$?
3768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769
 
  (exit $ac_status); }
3770
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3771
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
3772
 
  ac_status=$?
3773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4485
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4486
set X $ac_compile
 
4487
ac_compiler=$2
 
4488
{ (ac_try="$ac_compiler --version >&5"
 
4489
case "(($ac_try" in
 
4490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4491
  *) ac_try_echo=$ac_try;;
 
4492
esac
 
4493
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4494
$as_echo "$ac_try_echo") >&5
 
4495
  (eval "$ac_compiler --version >&5") 2>&5
 
4496
  ac_status=$?
 
4497
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4498
  (exit $ac_status); }
 
4499
{ (ac_try="$ac_compiler -v >&5"
 
4500
case "(($ac_try" in
 
4501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4502
  *) ac_try_echo=$ac_try;;
 
4503
esac
 
4504
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4505
$as_echo "$ac_try_echo") >&5
 
4506
  (eval "$ac_compiler -v >&5") 2>&5
 
4507
  ac_status=$?
 
4508
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4509
  (exit $ac_status); }
 
4510
{ (ac_try="$ac_compiler -V >&5"
 
4511
case "(($ac_try" in
 
4512
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4513
  *) ac_try_echo=$ac_try;;
 
4514
esac
 
4515
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4516
$as_echo "$ac_try_echo") >&5
 
4517
  (eval "$ac_compiler -V >&5") 2>&5
 
4518
  ac_status=$?
 
4519
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774
4520
  (exit $ac_status); }
3775
4521
 
3776
 
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3777
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
 
4522
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4523
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3778
4524
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3779
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4525
  $as_echo_n "(cached) " >&6
3780
4526
else
3781
4527
  cat >conftest.$ac_ext <<_ACEOF
3782
4528
/* confdefs.h.  */
3797
4543
}
3798
4544
_ACEOF
3799
4545
rm -f conftest.$ac_objext
3800
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3801
 
  (eval $ac_compile) 2>conftest.er1
 
4546
if { (ac_try="$ac_compile"
 
4547
case "(($ac_try" in
 
4548
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4549
  *) ac_try_echo=$ac_try;;
 
4550
esac
 
4551
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4552
$as_echo "$ac_try_echo") >&5
 
4553
  (eval "$ac_compile") 2>conftest.er1
3802
4554
  ac_status=$?
3803
4555
  grep -v '^ *+' conftest.er1 >conftest.err
3804
4556
  rm -f conftest.er1
3805
4557
  cat conftest.err >&5
3806
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807
 
  (exit $ac_status); } &&
3808
 
         { ac_try='test -z "$ac_c_werror_flag"
3809
 
                         || test ! -s conftest.err'
3810
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811
 
  (eval $ac_try) 2>&5
3812
 
  ac_status=$?
3813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814
 
  (exit $ac_status); }; } &&
3815
 
         { ac_try='test -s conftest.$ac_objext'
3816
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817
 
  (eval $ac_try) 2>&5
3818
 
  ac_status=$?
3819
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820
 
  (exit $ac_status); }; }; then
 
4558
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4559
  (exit $ac_status); } && {
 
4560
         test -z "$ac_c_werror_flag" ||
 
4561
         test ! -s conftest.err
 
4562
       } && test -s conftest.$ac_objext; then
3821
4563
  ac_compiler_gnu=yes
3822
4564
else
3823
 
  echo "$as_me: failed program was:" >&5
 
4565
  $as_echo "$as_me: failed program was:" >&5
3824
4566
sed 's/^/| /' conftest.$ac_ext >&5
3825
4567
 
3826
 
ac_compiler_gnu=no
 
4568
        ac_compiler_gnu=no
3827
4569
fi
3828
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4570
 
 
4571
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3829
4572
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3830
4573
 
3831
4574
fi
3832
 
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3833
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3834
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4575
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4576
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4577
if test $ac_compiler_gnu = yes; then
 
4578
  GCC=yes
 
4579
else
 
4580
  GCC=
 
4581
fi
3835
4582
ac_test_CFLAGS=${CFLAGS+set}
3836
4583
ac_save_CFLAGS=$CFLAGS
3837
 
CFLAGS="-g"
3838
 
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3839
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 
4584
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4585
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3840
4586
if test "${ac_cv_prog_cc_g+set}" = set; then
3841
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3842
 
else
3843
 
  cat >conftest.$ac_ext <<_ACEOF
3844
 
/* confdefs.h.  */
3845
 
_ACEOF
3846
 
cat confdefs.h >>conftest.$ac_ext
3847
 
cat >>conftest.$ac_ext <<_ACEOF
3848
 
/* end confdefs.h.  */
3849
 
 
3850
 
int
3851
 
main ()
3852
 
{
3853
 
 
3854
 
  ;
3855
 
  return 0;
3856
 
}
3857
 
_ACEOF
3858
 
rm -f conftest.$ac_objext
3859
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3860
 
  (eval $ac_compile) 2>conftest.er1
3861
 
  ac_status=$?
3862
 
  grep -v '^ *+' conftest.er1 >conftest.err
3863
 
  rm -f conftest.er1
3864
 
  cat conftest.err >&5
3865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866
 
  (exit $ac_status); } &&
3867
 
         { ac_try='test -z "$ac_c_werror_flag"
3868
 
                         || test ! -s conftest.err'
3869
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870
 
  (eval $ac_try) 2>&5
3871
 
  ac_status=$?
3872
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873
 
  (exit $ac_status); }; } &&
3874
 
         { ac_try='test -s conftest.$ac_objext'
3875
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876
 
  (eval $ac_try) 2>&5
3877
 
  ac_status=$?
3878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879
 
  (exit $ac_status); }; }; then
3880
 
  ac_cv_prog_cc_g=yes
3881
 
else
3882
 
  echo "$as_me: failed program was:" >&5
3883
 
sed 's/^/| /' conftest.$ac_ext >&5
3884
 
 
3885
 
ac_cv_prog_cc_g=no
3886
 
fi
3887
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3888
 
fi
3889
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3890
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
 
4587
  $as_echo_n "(cached) " >&6
 
4588
else
 
4589
  ac_save_c_werror_flag=$ac_c_werror_flag
 
4590
   ac_c_werror_flag=yes
 
4591
   ac_cv_prog_cc_g=no
 
4592
   CFLAGS="-g"
 
4593
   cat >conftest.$ac_ext <<_ACEOF
 
4594
/* confdefs.h.  */
 
4595
_ACEOF
 
4596
cat confdefs.h >>conftest.$ac_ext
 
4597
cat >>conftest.$ac_ext <<_ACEOF
 
4598
/* end confdefs.h.  */
 
4599
 
 
4600
int
 
4601
main ()
 
4602
{
 
4603
 
 
4604
  ;
 
4605
  return 0;
 
4606
}
 
4607
_ACEOF
 
4608
rm -f conftest.$ac_objext
 
4609
if { (ac_try="$ac_compile"
 
4610
case "(($ac_try" in
 
4611
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4612
  *) ac_try_echo=$ac_try;;
 
4613
esac
 
4614
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4615
$as_echo "$ac_try_echo") >&5
 
4616
  (eval "$ac_compile") 2>conftest.er1
 
4617
  ac_status=$?
 
4618
  grep -v '^ *+' conftest.er1 >conftest.err
 
4619
  rm -f conftest.er1
 
4620
  cat conftest.err >&5
 
4621
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4622
  (exit $ac_status); } && {
 
4623
         test -z "$ac_c_werror_flag" ||
 
4624
         test ! -s conftest.err
 
4625
       } && test -s conftest.$ac_objext; then
 
4626
  ac_cv_prog_cc_g=yes
 
4627
else
 
4628
  $as_echo "$as_me: failed program was:" >&5
 
4629
sed 's/^/| /' conftest.$ac_ext >&5
 
4630
 
 
4631
        CFLAGS=""
 
4632
      cat >conftest.$ac_ext <<_ACEOF
 
4633
/* confdefs.h.  */
 
4634
_ACEOF
 
4635
cat confdefs.h >>conftest.$ac_ext
 
4636
cat >>conftest.$ac_ext <<_ACEOF
 
4637
/* end confdefs.h.  */
 
4638
 
 
4639
int
 
4640
main ()
 
4641
{
 
4642
 
 
4643
  ;
 
4644
  return 0;
 
4645
}
 
4646
_ACEOF
 
4647
rm -f conftest.$ac_objext
 
4648
if { (ac_try="$ac_compile"
 
4649
case "(($ac_try" in
 
4650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4651
  *) ac_try_echo=$ac_try;;
 
4652
esac
 
4653
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4654
$as_echo "$ac_try_echo") >&5
 
4655
  (eval "$ac_compile") 2>conftest.er1
 
4656
  ac_status=$?
 
4657
  grep -v '^ *+' conftest.er1 >conftest.err
 
4658
  rm -f conftest.er1
 
4659
  cat conftest.err >&5
 
4660
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4661
  (exit $ac_status); } && {
 
4662
         test -z "$ac_c_werror_flag" ||
 
4663
         test ! -s conftest.err
 
4664
       } && test -s conftest.$ac_objext; then
 
4665
  :
 
4666
else
 
4667
  $as_echo "$as_me: failed program was:" >&5
 
4668
sed 's/^/| /' conftest.$ac_ext >&5
 
4669
 
 
4670
        ac_c_werror_flag=$ac_save_c_werror_flag
 
4671
         CFLAGS="-g"
 
4672
         cat >conftest.$ac_ext <<_ACEOF
 
4673
/* confdefs.h.  */
 
4674
_ACEOF
 
4675
cat confdefs.h >>conftest.$ac_ext
 
4676
cat >>conftest.$ac_ext <<_ACEOF
 
4677
/* end confdefs.h.  */
 
4678
 
 
4679
int
 
4680
main ()
 
4681
{
 
4682
 
 
4683
  ;
 
4684
  return 0;
 
4685
}
 
4686
_ACEOF
 
4687
rm -f conftest.$ac_objext
 
4688
if { (ac_try="$ac_compile"
 
4689
case "(($ac_try" in
 
4690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4691
  *) ac_try_echo=$ac_try;;
 
4692
esac
 
4693
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4694
$as_echo "$ac_try_echo") >&5
 
4695
  (eval "$ac_compile") 2>conftest.er1
 
4696
  ac_status=$?
 
4697
  grep -v '^ *+' conftest.er1 >conftest.err
 
4698
  rm -f conftest.er1
 
4699
  cat conftest.err >&5
 
4700
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4701
  (exit $ac_status); } && {
 
4702
         test -z "$ac_c_werror_flag" ||
 
4703
         test ! -s conftest.err
 
4704
       } && test -s conftest.$ac_objext; then
 
4705
  ac_cv_prog_cc_g=yes
 
4706
else
 
4707
  $as_echo "$as_me: failed program was:" >&5
 
4708
sed 's/^/| /' conftest.$ac_ext >&5
 
4709
 
 
4710
 
 
4711
fi
 
4712
 
 
4713
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4714
fi
 
4715
 
 
4716
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4717
fi
 
4718
 
 
4719
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
4720
   ac_c_werror_flag=$ac_save_c_werror_flag
 
4721
fi
 
4722
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4723
$as_echo "$ac_cv_prog_cc_g" >&6; }
3891
4724
if test "$ac_test_CFLAGS" = set; then
3892
4725
  CFLAGS=$ac_save_CFLAGS
3893
4726
elif test $ac_cv_prog_cc_g = yes; then
3903
4736
    CFLAGS=
3904
4737
  fi
3905
4738
fi
3906
 
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3907
 
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3908
 
if test "${ac_cv_prog_cc_stdc+set}" = set; then
3909
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4739
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4740
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
4741
if test "${ac_cv_prog_cc_c89+set}" = set; then
 
4742
  $as_echo_n "(cached) " >&6
3910
4743
else
3911
 
  ac_cv_prog_cc_stdc=no
 
4744
  ac_cv_prog_cc_c89=no
3912
4745
ac_save_CC=$CC
3913
4746
cat >conftest.$ac_ext <<_ACEOF
3914
4747
/* confdefs.h.  */
3942
4775
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3943
4776
   function prototypes and stuff, but not '\xHH' hex character constants.
3944
4777
   These don't provoke an error unfortunately, instead are silently treated
3945
 
   as 'x'.  The following induces an error, until -std1 is added to get
 
4778
   as 'x'.  The following induces an error, until -std is added to get
3946
4779
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3947
4780
   array size at least.  It's necessary to write '\x00'==0 to get something
3948
 
   that's true only with -std1.  */
 
4781
   that's true only with -std.  */
3949
4782
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3950
4783
 
 
4784
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
4785
   inside strings and character constants.  */
 
4786
#define FOO(x) 'x'
 
4787
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
4788
 
3951
4789
int test (int i, double x);
3952
4790
struct s1 {int (*f) (int a);};
3953
4791
struct s2 {int (*f) (double a);};
3962
4800
  return 0;
3963
4801
}
3964
4802
_ACEOF
3965
 
# Don't try gcc -ansi; that turns off useful extensions and
3966
 
# breaks some systems' header files.
3967
 
# AIX                   -qlanglvl=ansi
3968
 
# Ultrix and OSF/1      -std1
3969
 
# HP-UX 10.20 and later -Ae
3970
 
# HP-UX older versions  -Aa -D_HPUX_SOURCE
3971
 
# SVR4                  -Xc -D__EXTENSIONS__
3972
 
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
4803
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
4804
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3973
4805
do
3974
4806
  CC="$ac_save_CC $ac_arg"
3975
4807
  rm -f conftest.$ac_objext
3976
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3977
 
  (eval $ac_compile) 2>conftest.er1
 
4808
if { (ac_try="$ac_compile"
 
4809
case "(($ac_try" in
 
4810
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4811
  *) ac_try_echo=$ac_try;;
 
4812
esac
 
4813
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4814
$as_echo "$ac_try_echo") >&5
 
4815
  (eval "$ac_compile") 2>conftest.er1
3978
4816
  ac_status=$?
3979
4817
  grep -v '^ *+' conftest.er1 >conftest.err
3980
4818
  rm -f conftest.er1
3981
4819
  cat conftest.err >&5
3982
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983
 
  (exit $ac_status); } &&
3984
 
         { ac_try='test -z "$ac_c_werror_flag"
3985
 
                         || test ! -s conftest.err'
3986
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3987
 
  (eval $ac_try) 2>&5
3988
 
  ac_status=$?
3989
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990
 
  (exit $ac_status); }; } &&
3991
 
         { ac_try='test -s conftest.$ac_objext'
3992
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3993
 
  (eval $ac_try) 2>&5
3994
 
  ac_status=$?
3995
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996
 
  (exit $ac_status); }; }; then
3997
 
  ac_cv_prog_cc_stdc=$ac_arg
3998
 
break
 
4820
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4821
  (exit $ac_status); } && {
 
4822
         test -z "$ac_c_werror_flag" ||
 
4823
         test ! -s conftest.err
 
4824
       } && test -s conftest.$ac_objext; then
 
4825
  ac_cv_prog_cc_c89=$ac_arg
3999
4826
else
4000
 
  echo "$as_me: failed program was:" >&5
 
4827
  $as_echo "$as_me: failed program was:" >&5
4001
4828
sed 's/^/| /' conftest.$ac_ext >&5
4002
4829
 
 
4830
 
4003
4831
fi
4004
 
rm -f conftest.err conftest.$ac_objext
 
4832
 
 
4833
rm -f core conftest.err conftest.$ac_objext
 
4834
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4005
4835
done
4006
 
rm -f conftest.$ac_ext conftest.$ac_objext
 
4836
rm -f conftest.$ac_ext
4007
4837
CC=$ac_save_CC
4008
4838
 
4009
4839
fi
4010
 
 
4011
 
case "x$ac_cv_prog_cc_stdc" in
4012
 
  x|xno)
4013
 
    echo "$as_me:$LINENO: result: none needed" >&5
4014
 
echo "${ECHO_T}none needed" >&6 ;;
 
4840
# AC_CACHE_VAL
 
4841
case "x$ac_cv_prog_cc_c89" in
 
4842
  x)
 
4843
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4844
$as_echo "none needed" >&6; } ;;
 
4845
  xno)
 
4846
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4847
$as_echo "unsupported" >&6; } ;;
4015
4848
  *)
4016
 
    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4017
 
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4018
 
    CC="$CC $ac_cv_prog_cc_stdc" ;;
 
4849
    CC="$CC $ac_cv_prog_cc_c89"
 
4850
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4851
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4019
4852
esac
4020
4853
 
4021
 
# Some people use a C++ compiler to compile C.  Since we use `exit',
4022
 
# in C++ we need to declare it.  In case someone uses the same compiler
4023
 
# for both compiling C and C++ we need to have the C++ compiler decide
4024
 
# the declaration of exit, since it's the most demanding environment.
4025
 
cat >conftest.$ac_ext <<_ACEOF
4026
 
#ifndef __cplusplus
4027
 
  choke me
4028
 
#endif
4029
 
_ACEOF
4030
 
rm -f conftest.$ac_objext
4031
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4032
 
  (eval $ac_compile) 2>conftest.er1
4033
 
  ac_status=$?
4034
 
  grep -v '^ *+' conftest.er1 >conftest.err
4035
 
  rm -f conftest.er1
4036
 
  cat conftest.err >&5
4037
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038
 
  (exit $ac_status); } &&
4039
 
         { ac_try='test -z "$ac_c_werror_flag"
4040
 
                         || test ! -s conftest.err'
4041
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042
 
  (eval $ac_try) 2>&5
4043
 
  ac_status=$?
4044
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045
 
  (exit $ac_status); }; } &&
4046
 
         { ac_try='test -s conftest.$ac_objext'
4047
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4048
 
  (eval $ac_try) 2>&5
4049
 
  ac_status=$?
4050
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051
 
  (exit $ac_status); }; }; then
4052
 
  for ac_declaration in \
4053
 
   '' \
4054
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
4055
 
   'extern "C" void std::exit (int); using std::exit;' \
4056
 
   'extern "C" void exit (int) throw ();' \
4057
 
   'extern "C" void exit (int);' \
4058
 
   'void exit (int);'
4059
 
do
4060
 
  cat >conftest.$ac_ext <<_ACEOF
4061
 
/* confdefs.h.  */
4062
 
_ACEOF
4063
 
cat confdefs.h >>conftest.$ac_ext
4064
 
cat >>conftest.$ac_ext <<_ACEOF
4065
 
/* end confdefs.h.  */
4066
 
$ac_declaration
4067
 
#include <stdlib.h>
4068
 
int
4069
 
main ()
4070
 
{
4071
 
exit (42);
4072
 
  ;
4073
 
  return 0;
4074
 
}
4075
 
_ACEOF
4076
 
rm -f conftest.$ac_objext
4077
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4078
 
  (eval $ac_compile) 2>conftest.er1
4079
 
  ac_status=$?
4080
 
  grep -v '^ *+' conftest.er1 >conftest.err
4081
 
  rm -f conftest.er1
4082
 
  cat conftest.err >&5
4083
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084
 
  (exit $ac_status); } &&
4085
 
         { ac_try='test -z "$ac_c_werror_flag"
4086
 
                         || test ! -s conftest.err'
4087
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4088
 
  (eval $ac_try) 2>&5
4089
 
  ac_status=$?
4090
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091
 
  (exit $ac_status); }; } &&
4092
 
         { ac_try='test -s conftest.$ac_objext'
4093
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094
 
  (eval $ac_try) 2>&5
4095
 
  ac_status=$?
4096
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097
 
  (exit $ac_status); }; }; then
4098
 
  :
4099
 
else
4100
 
  echo "$as_me: failed program was:" >&5
4101
 
sed 's/^/| /' conftest.$ac_ext >&5
4102
 
 
4103
 
continue
4104
 
fi
4105
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4106
 
  cat >conftest.$ac_ext <<_ACEOF
4107
 
/* confdefs.h.  */
4108
 
_ACEOF
4109
 
cat confdefs.h >>conftest.$ac_ext
4110
 
cat >>conftest.$ac_ext <<_ACEOF
4111
 
/* end confdefs.h.  */
4112
 
$ac_declaration
4113
 
int
4114
 
main ()
4115
 
{
4116
 
exit (42);
4117
 
  ;
4118
 
  return 0;
4119
 
}
4120
 
_ACEOF
4121
 
rm -f conftest.$ac_objext
4122
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4123
 
  (eval $ac_compile) 2>conftest.er1
4124
 
  ac_status=$?
4125
 
  grep -v '^ *+' conftest.er1 >conftest.err
4126
 
  rm -f conftest.er1
4127
 
  cat conftest.err >&5
4128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129
 
  (exit $ac_status); } &&
4130
 
         { ac_try='test -z "$ac_c_werror_flag"
4131
 
                         || test ! -s conftest.err'
4132
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4133
 
  (eval $ac_try) 2>&5
4134
 
  ac_status=$?
4135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136
 
  (exit $ac_status); }; } &&
4137
 
         { ac_try='test -s conftest.$ac_objext'
4138
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4139
 
  (eval $ac_try) 2>&5
4140
 
  ac_status=$?
4141
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142
 
  (exit $ac_status); }; }; then
4143
 
  break
4144
 
else
4145
 
  echo "$as_me: failed program was:" >&5
4146
 
sed 's/^/| /' conftest.$ac_ext >&5
4147
 
 
4148
 
fi
4149
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4150
 
done
4151
 
rm -f conftest*
4152
 
if test -n "$ac_declaration"; then
4153
 
  echo '#ifdef __cplusplus' >>confdefs.h
4154
 
  echo $ac_declaration      >>confdefs.h
4155
 
  echo '#endif'             >>confdefs.h
4156
 
fi
4157
 
 
4158
 
else
4159
 
  echo "$as_me: failed program was:" >&5
4160
 
sed 's/^/| /' conftest.$ac_ext >&5
4161
 
 
4162
 
fi
4163
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
4854
 
4164
4855
ac_ext=c
4165
4856
ac_cpp='$CPP $CPPFLAGS'
4166
4857
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4169
4860
 
4170
4861
depcc="$CC"   am_compiler_list=
4171
4862
 
4172
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4173
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
4863
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4864
$as_echo_n "checking dependency style of $depcc... " >&6; }
4174
4865
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4175
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4866
  $as_echo_n "(cached) " >&6
4176
4867
else
4177
4868
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4178
4869
  # We make a subdir and do the tests there.  Otherwise we can end up
4197
4888
  if test "$am_compiler_list" = ""; then
4198
4889
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4199
4890
  fi
 
4891
  am__universal=false
 
4892
  case " $depcc " in #(
 
4893
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
4894
     esac
 
4895
 
4200
4896
  for depmode in $am_compiler_list; do
4201
4897
    # Setup a source with many dependencies, because some compilers
4202
4898
    # like to wrap large dependency lists on column 80 (with \), and
4214
4910
    done
4215
4911
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4216
4912
 
 
4913
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4914
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
4915
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
4916
    # versions had trouble with output in subdirs
 
4917
    am__obj=sub/conftest.${OBJEXT-o}
 
4918
    am__minus_obj="-o $am__obj"
4217
4919
    case $depmode in
 
4920
    gcc)
 
4921
      # This depmode causes a compiler race in universal mode.
 
4922
      test "$am__universal" = false || continue
 
4923
      ;;
4218
4924
    nosideeffect)
4219
4925
      # after this tag, mechanisms are not by side-effect, so they'll
4220
4926
      # only be used when explicitly requested
4224
4930
        break
4225
4931
      fi
4226
4932
      ;;
 
4933
    msvisualcpp | msvcmsys)
 
4934
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4935
      # not run yet.  These depmodes are late enough in the game, and
 
4936
      # so weak that their functioning should not be impacted.
 
4937
      am__obj=conftest.${OBJEXT-o}
 
4938
      am__minus_obj=
 
4939
      ;;
4227
4940
    none) break ;;
4228
4941
    esac
4229
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4230
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
4231
 
    # handle `-M -o', and we need to detect this.
4232
4942
    if depmode=$depmode \
4233
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
4943
       source=sub/conftest.c object=$am__obj \
4234
4944
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4235
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
4945
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4236
4946
         >/dev/null 2>conftest.err &&
 
4947
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4237
4948
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4238
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
4949
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4239
4950
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4240
4951
      # icc doesn't choke on unknown options, it will just issue warnings
4241
4952
      # or remarks (even with -Werror).  So we grep stderr for any message
4259
4970
fi
4260
4971
 
4261
4972
fi
4262
 
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4263
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
4973
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4974
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4264
4975
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4265
4976
 
4266
 
 
4267
 
 
4268
 
if
 
4977
 if
4269
4978
  test "x$enable_dependency_tracking" != xno \
4270
4979
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4271
4980
  am__fastdepCC_TRUE=
4279
4988
 
4280
4989
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4281
4990
 
4282
 
# Check whether --enable-shared or --disable-shared was given.
4283
 
if test "${enable_shared+set}" = set; then
4284
 
  enableval="$enable_shared"
4285
 
  p=${PACKAGE-default}
4286
 
    case $enableval in
4287
 
    yes) enable_shared=yes ;;
4288
 
    no) enable_shared=no ;;
4289
 
    *)
4290
 
      enable_shared=no
4291
 
      # Look at the argument we got.  We use all the common list separators.
4292
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4293
 
      for pkg in $enableval; do
4294
 
        IFS="$lt_save_ifs"
4295
 
        if test "X$pkg" = "X$p"; then
4296
 
          enable_shared=yes
4297
 
        fi
4298
 
      done
4299
 
      IFS="$lt_save_ifs"
4300
 
      ;;
4301
 
    esac
4302
 
else
4303
 
  enable_shared=yes
4304
 
fi;
4305
 
 
4306
 
# Check whether --enable-static or --disable-static was given.
4307
 
if test "${enable_static+set}" = set; then
4308
 
  enableval="$enable_static"
4309
 
  p=${PACKAGE-default}
4310
 
    case $enableval in
4311
 
    yes) enable_static=yes ;;
4312
 
    no) enable_static=no ;;
4313
 
    *)
4314
 
     enable_static=no
4315
 
      # Look at the argument we got.  We use all the common list separators.
4316
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4317
 
      for pkg in $enableval; do
4318
 
        IFS="$lt_save_ifs"
4319
 
        if test "X$pkg" = "X$p"; then
4320
 
          enable_static=yes
4321
 
        fi
4322
 
      done
4323
 
      IFS="$lt_save_ifs"
4324
 
      ;;
4325
 
    esac
4326
 
else
4327
 
  enable_static=yes
4328
 
fi;
4329
 
 
4330
 
# Check whether --enable-fast-install or --disable-fast-install was given.
4331
 
if test "${enable_fast_install+set}" = set; then
4332
 
  enableval="$enable_fast_install"
4333
 
  p=${PACKAGE-default}
4334
 
    case $enableval in
4335
 
    yes) enable_fast_install=yes ;;
4336
 
    no) enable_fast_install=no ;;
4337
 
    *)
4338
 
      enable_fast_install=no
4339
 
      # Look at the argument we got.  We use all the common list separators.
4340
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4341
 
      for pkg in $enableval; do
4342
 
        IFS="$lt_save_ifs"
4343
 
        if test "X$pkg" = "X$p"; then
4344
 
          enable_fast_install=yes
4345
 
        fi
4346
 
      done
4347
 
      IFS="$lt_save_ifs"
4348
 
      ;;
4349
 
    esac
4350
 
else
4351
 
  enable_fast_install=yes
4352
 
fi;
4353
 
 
4354
 
echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4355
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4356
 
if test "${lt_cv_path_SED+set}" = set; then
4357
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4358
 
else
4359
 
  # Loop through the user's path and test for sed and gsed.
4360
 
# Then use that list of sed's as ones to test for truncation.
4361
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4991
case `pwd` in
 
4992
  *\ * | *\     *)
 
4993
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4994
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4995
esac
 
4996
 
 
4997
 
 
4998
 
 
4999
macro_version='2.2.6'
 
5000
macro_revision='1.3012'
 
5001
 
 
5002
 
 
5003
 
 
5004
 
 
5005
 
 
5006
 
 
5007
 
 
5008
 
 
5009
 
 
5010
 
 
5011
 
 
5012
 
 
5013
 
 
5014
ltmain="$ac_aux_dir/ltmain.sh"
 
5015
 
 
5016
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
5017
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
5018
if test "${ac_cv_path_SED+set}" = set; then
 
5019
  $as_echo_n "(cached) " >&6
 
5020
else
 
5021
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
5022
     for ac_i in 1 2 3 4 5 6 7; do
 
5023
       ac_script="$ac_script$as_nl$ac_script"
 
5024
     done
 
5025
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
5026
     $as_unset ac_script || ac_script=
 
5027
     if test -z "$SED"; then
 
5028
  ac_path_SED_found=false
 
5029
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5030
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4362
5031
for as_dir in $PATH
4363
5032
do
4364
5033
  IFS=$as_save_IFS
4365
5034
  test -z "$as_dir" && as_dir=.
4366
 
  for lt_ac_prog in sed gsed; do
4367
 
    for ac_exec_ext in '' $ac_executable_extensions; do
4368
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4369
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4370
 
      fi
4371
 
    done
4372
 
  done
4373
 
done
4374
 
IFS=$as_save_IFS
4375
 
lt_ac_max=0
4376
 
lt_ac_count=0
4377
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4378
 
# along with /bin/sed that truncates output.
4379
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4380
 
  test ! -f $lt_ac_sed && continue
4381
 
  cat /dev/null > conftest.in
4382
 
  lt_ac_count=0
4383
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4384
 
  # Check for GNU sed and select it if it is found.
4385
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4386
 
    lt_cv_path_SED=$lt_ac_sed
4387
 
    break
4388
 
  fi
4389
 
  while true; do
4390
 
    cat conftest.in conftest.in >conftest.tmp
4391
 
    mv conftest.tmp conftest.in
4392
 
    cp conftest.in conftest.nl
4393
 
    echo >>conftest.nl
4394
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4395
 
    cmp -s conftest.out conftest.nl || break
4396
 
    # 10000 chars as input seems more than enough
4397
 
    test $lt_ac_count -gt 10 && break
4398
 
    lt_ac_count=`expr $lt_ac_count + 1`
4399
 
    if test $lt_ac_count -gt $lt_ac_max; then
4400
 
      lt_ac_max=$lt_ac_count
4401
 
      lt_cv_path_SED=$lt_ac_sed
4402
 
    fi
4403
 
  done
4404
 
done
4405
 
 
4406
 
fi
4407
 
 
4408
 
SED=$lt_cv_path_SED
4409
 
 
4410
 
echo "$as_me:$LINENO: result: $SED" >&5
4411
 
echo "${ECHO_T}$SED" >&6
4412
 
 
4413
 
echo "$as_me:$LINENO: checking for egrep" >&5
4414
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4415
 
if test "${ac_cv_prog_egrep+set}" = set; then
4416
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4417
 
else
4418
 
  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4419
 
    then ac_cv_prog_egrep='grep -E'
4420
 
    else ac_cv_prog_egrep='egrep'
4421
 
    fi
4422
 
fi
4423
 
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4424
 
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4425
 
 EGREP=$ac_cv_prog_egrep
4426
 
 
4427
 
 
4428
 
 
4429
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
 
5035
  for ac_prog in sed gsed; do
 
5036
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5037
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
5038
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
5039
# Check for GNU ac_path_SED and select it if it is found.
 
5040
  # Check for GNU $ac_path_SED
 
5041
case `"$ac_path_SED" --version 2>&1` in
 
5042
*GNU*)
 
5043
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
5044
*)
 
5045
  ac_count=0
 
5046
  $as_echo_n 0123456789 >"conftest.in"
 
5047
  while :
 
5048
  do
 
5049
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5050
    mv "conftest.tmp" "conftest.in"
 
5051
    cp "conftest.in" "conftest.nl"
 
5052
    $as_echo '' >> "conftest.nl"
 
5053
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5054
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5055
    ac_count=`expr $ac_count + 1`
 
5056
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
5057
      # Best one so far, save it but keep looking for a better one
 
5058
      ac_cv_path_SED="$ac_path_SED"
 
5059
      ac_path_SED_max=$ac_count
 
5060
    fi
 
5061
    # 10*(2^10) chars as input seems more than enough
 
5062
    test $ac_count -gt 10 && break
 
5063
  done
 
5064
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5065
esac
 
5066
 
 
5067
      $ac_path_SED_found && break 3
 
5068
    done
 
5069
  done
 
5070
done
 
5071
IFS=$as_save_IFS
 
5072
  if test -z "$ac_cv_path_SED"; then
 
5073
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
5074
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
5075
   { (exit 1); exit 1; }; }
 
5076
  fi
 
5077
else
 
5078
  ac_cv_path_SED=$SED
 
5079
fi
 
5080
 
 
5081
fi
 
5082
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
5083
$as_echo "$ac_cv_path_SED" >&6; }
 
5084
 SED="$ac_cv_path_SED"
 
5085
  rm -f conftest.sed
 
5086
 
 
5087
test -z "$SED" && SED=sed
 
5088
Xsed="$SED -e 1s/^X//"
 
5089
 
 
5090
 
 
5091
 
 
5092
 
 
5093
 
 
5094
 
 
5095
 
 
5096
 
 
5097
 
 
5098
 
 
5099
 
 
5100
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
5101
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5102
if test "${ac_cv_path_GREP+set}" = set; then
 
5103
  $as_echo_n "(cached) " >&6
 
5104
else
 
5105
  if test -z "$GREP"; then
 
5106
  ac_path_GREP_found=false
 
5107
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5108
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5109
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5110
do
 
5111
  IFS=$as_save_IFS
 
5112
  test -z "$as_dir" && as_dir=.
 
5113
  for ac_prog in grep ggrep; do
 
5114
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5115
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5116
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5117
# Check for GNU ac_path_GREP and select it if it is found.
 
5118
  # Check for GNU $ac_path_GREP
 
5119
case `"$ac_path_GREP" --version 2>&1` in
 
5120
*GNU*)
 
5121
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
5122
*)
 
5123
  ac_count=0
 
5124
  $as_echo_n 0123456789 >"conftest.in"
 
5125
  while :
 
5126
  do
 
5127
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5128
    mv "conftest.tmp" "conftest.in"
 
5129
    cp "conftest.in" "conftest.nl"
 
5130
    $as_echo 'GREP' >> "conftest.nl"
 
5131
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5132
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5133
    ac_count=`expr $ac_count + 1`
 
5134
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
5135
      # Best one so far, save it but keep looking for a better one
 
5136
      ac_cv_path_GREP="$ac_path_GREP"
 
5137
      ac_path_GREP_max=$ac_count
 
5138
    fi
 
5139
    # 10*(2^10) chars as input seems more than enough
 
5140
    test $ac_count -gt 10 && break
 
5141
  done
 
5142
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5143
esac
 
5144
 
 
5145
      $ac_path_GREP_found && break 3
 
5146
    done
 
5147
  done
 
5148
done
 
5149
IFS=$as_save_IFS
 
5150
  if test -z "$ac_cv_path_GREP"; then
 
5151
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5152
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5153
   { (exit 1); exit 1; }; }
 
5154
  fi
 
5155
else
 
5156
  ac_cv_path_GREP=$GREP
 
5157
fi
 
5158
 
 
5159
fi
 
5160
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5161
$as_echo "$ac_cv_path_GREP" >&6; }
 
5162
 GREP="$ac_cv_path_GREP"
 
5163
 
 
5164
 
 
5165
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5166
$as_echo_n "checking for egrep... " >&6; }
 
5167
if test "${ac_cv_path_EGREP+set}" = set; then
 
5168
  $as_echo_n "(cached) " >&6
 
5169
else
 
5170
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
5171
   then ac_cv_path_EGREP="$GREP -E"
 
5172
   else
 
5173
     if test -z "$EGREP"; then
 
5174
  ac_path_EGREP_found=false
 
5175
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5176
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5177
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5178
do
 
5179
  IFS=$as_save_IFS
 
5180
  test -z "$as_dir" && as_dir=.
 
5181
  for ac_prog in egrep; do
 
5182
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5183
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5184
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5185
# Check for GNU ac_path_EGREP and select it if it is found.
 
5186
  # Check for GNU $ac_path_EGREP
 
5187
case `"$ac_path_EGREP" --version 2>&1` in
 
5188
*GNU*)
 
5189
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
5190
*)
 
5191
  ac_count=0
 
5192
  $as_echo_n 0123456789 >"conftest.in"
 
5193
  while :
 
5194
  do
 
5195
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5196
    mv "conftest.tmp" "conftest.in"
 
5197
    cp "conftest.in" "conftest.nl"
 
5198
    $as_echo 'EGREP' >> "conftest.nl"
 
5199
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5200
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5201
    ac_count=`expr $ac_count + 1`
 
5202
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
5203
      # Best one so far, save it but keep looking for a better one
 
5204
      ac_cv_path_EGREP="$ac_path_EGREP"
 
5205
      ac_path_EGREP_max=$ac_count
 
5206
    fi
 
5207
    # 10*(2^10) chars as input seems more than enough
 
5208
    test $ac_count -gt 10 && break
 
5209
  done
 
5210
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5211
esac
 
5212
 
 
5213
      $ac_path_EGREP_found && break 3
 
5214
    done
 
5215
  done
 
5216
done
 
5217
IFS=$as_save_IFS
 
5218
  if test -z "$ac_cv_path_EGREP"; then
 
5219
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5220
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5221
   { (exit 1); exit 1; }; }
 
5222
  fi
 
5223
else
 
5224
  ac_cv_path_EGREP=$EGREP
 
5225
fi
 
5226
 
 
5227
   fi
 
5228
fi
 
5229
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5230
$as_echo "$ac_cv_path_EGREP" >&6; }
 
5231
 EGREP="$ac_cv_path_EGREP"
 
5232
 
 
5233
 
 
5234
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
5235
$as_echo_n "checking for fgrep... " >&6; }
 
5236
if test "${ac_cv_path_FGREP+set}" = set; then
 
5237
  $as_echo_n "(cached) " >&6
 
5238
else
 
5239
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5240
   then ac_cv_path_FGREP="$GREP -F"
 
5241
   else
 
5242
     if test -z "$FGREP"; then
 
5243
  ac_path_FGREP_found=false
 
5244
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5245
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5246
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5247
do
 
5248
  IFS=$as_save_IFS
 
5249
  test -z "$as_dir" && as_dir=.
 
5250
  for ac_prog in fgrep; do
 
5251
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5252
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5253
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5254
# Check for GNU ac_path_FGREP and select it if it is found.
 
5255
  # Check for GNU $ac_path_FGREP
 
5256
case `"$ac_path_FGREP" --version 2>&1` in
 
5257
*GNU*)
 
5258
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5259
*)
 
5260
  ac_count=0
 
5261
  $as_echo_n 0123456789 >"conftest.in"
 
5262
  while :
 
5263
  do
 
5264
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5265
    mv "conftest.tmp" "conftest.in"
 
5266
    cp "conftest.in" "conftest.nl"
 
5267
    $as_echo 'FGREP' >> "conftest.nl"
 
5268
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5269
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5270
    ac_count=`expr $ac_count + 1`
 
5271
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5272
      # Best one so far, save it but keep looking for a better one
 
5273
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5274
      ac_path_FGREP_max=$ac_count
 
5275
    fi
 
5276
    # 10*(2^10) chars as input seems more than enough
 
5277
    test $ac_count -gt 10 && break
 
5278
  done
 
5279
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5280
esac
 
5281
 
 
5282
      $ac_path_FGREP_found && break 3
 
5283
    done
 
5284
  done
 
5285
done
 
5286
IFS=$as_save_IFS
 
5287
  if test -z "$ac_cv_path_FGREP"; then
 
5288
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5289
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5290
   { (exit 1); exit 1; }; }
 
5291
  fi
 
5292
else
 
5293
  ac_cv_path_FGREP=$FGREP
 
5294
fi
 
5295
 
 
5296
   fi
 
5297
fi
 
5298
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5299
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5300
 FGREP="$ac_cv_path_FGREP"
 
5301
 
 
5302
 
 
5303
test -z "$GREP" && GREP=grep
 
5304
 
 
5305
 
 
5306
 
 
5307
 
 
5308
 
 
5309
 
 
5310
 
 
5311
 
 
5312
 
 
5313
 
 
5314
 
 
5315
 
 
5316
 
 
5317
 
 
5318
 
 
5319
 
 
5320
 
 
5321
 
 
5322
 
 
5323
# Check whether --with-gnu-ld was given.
4430
5324
if test "${with_gnu_ld+set}" = set; then
4431
 
  withval="$with_gnu_ld"
4432
 
  test "$withval" = no || with_gnu_ld=yes
 
5325
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4433
5326
else
4434
5327
  with_gnu_ld=no
4435
 
fi;
 
5328
fi
 
5329
 
4436
5330
ac_prog=ld
4437
5331
if test "$GCC" = yes; then
4438
5332
  # Check if gcc -print-prog-name=ld gives a path.
4439
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4440
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
 
5333
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5334
$as_echo_n "checking for ld used by $CC... " >&6; }
4441
5335
  case $host in
4442
5336
  *-*-mingw*)
4443
5337
    # gcc leaves a trailing carriage return which upsets mingw
4450
5344
    [\\/]* | ?:[\\/]*)
4451
5345
      re_direlt='/[^/][^/]*/\.\./'
4452
5346
      # Canonicalize the pathname of ld
4453
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4454
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4455
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
5347
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5348
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5349
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4456
5350
      done
4457
5351
      test -z "$LD" && LD="$ac_prog"
4458
5352
      ;;
4466
5360
    ;;
4467
5361
  esac
4468
5362
elif test "$with_gnu_ld" = yes; then
4469
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
4470
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 
5363
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5364
$as_echo_n "checking for GNU ld... " >&6; }
4471
5365
else
4472
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4473
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 
5366
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5367
$as_echo_n "checking for non-GNU ld... " >&6; }
4474
5368
fi
4475
5369
if test "${lt_cv_path_LD+set}" = set; then
4476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5370
  $as_echo_n "(cached) " >&6
4477
5371
else
4478
5372
  if test -z "$LD"; then
4479
5373
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4503
5397
 
4504
5398
LD="$lt_cv_path_LD"
4505
5399
if test -n "$LD"; then
4506
 
  echo "$as_me:$LINENO: result: $LD" >&5
4507
 
echo "${ECHO_T}$LD" >&6
 
5400
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5401
$as_echo "$LD" >&6; }
4508
5402
else
4509
 
  echo "$as_me:$LINENO: result: no" >&5
4510
 
echo "${ECHO_T}no" >&6
 
5403
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5404
$as_echo "no" >&6; }
4511
5405
fi
4512
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4513
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
5406
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
5407
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4514
5408
   { (exit 1); exit 1; }; }
4515
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4516
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
 
5409
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5410
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4517
5411
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4518
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5412
  $as_echo_n "(cached) " >&6
4519
5413
else
4520
5414
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4521
5415
case `$LD -v 2>&1 </dev/null` in
4527
5421
  ;;
4528
5422
esac
4529
5423
fi
4530
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4531
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
 
5424
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5425
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4532
5426
with_gnu_ld=$lt_cv_prog_gnu_ld
4533
5427
 
4534
5428
 
4535
 
echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4536
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4537
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4538
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4539
 
else
4540
 
  lt_cv_ld_reload_flag='-r'
4541
 
fi
4542
 
echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4543
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4544
 
reload_flag=$lt_cv_ld_reload_flag
4545
 
case $reload_flag in
4546
 
"" | " "*) ;;
4547
 
*) reload_flag=" $reload_flag" ;;
4548
 
esac
4549
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4550
 
case $host_os in
4551
 
  darwin*)
4552
 
    if test "$GCC" = yes; then
4553
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4554
 
    else
4555
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4556
 
    fi
4557
 
    ;;
4558
 
esac
4559
 
 
4560
 
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4561
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 
5429
 
 
5430
 
 
5431
 
 
5432
 
 
5433
 
 
5434
 
 
5435
 
 
5436
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5437
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4562
5438
if test "${lt_cv_path_NM+set}" = set; then
4563
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5439
  $as_echo_n "(cached) " >&6
4564
5440
else
4565
5441
  if test -n "$NM"; then
4566
5442
  # Let the user override the test.
4603
5479
    done
4604
5480
    IFS="$lt_save_ifs"
4605
5481
  done
4606
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4607
 
fi
4608
 
fi
4609
 
echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4610
 
echo "${ECHO_T}$lt_cv_path_NM" >&6
4611
 
NM="$lt_cv_path_NM"
4612
 
 
4613
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
4614
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
5482
  : ${lt_cv_path_NM=no}
 
5483
fi
 
5484
fi
 
5485
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5486
$as_echo "$lt_cv_path_NM" >&6; }
 
5487
if test "$lt_cv_path_NM" != "no"; then
 
5488
  NM="$lt_cv_path_NM"
 
5489
else
 
5490
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5491
  if test -n "$ac_tool_prefix"; then
 
5492
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5493
  do
 
5494
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5495
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5496
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5497
$as_echo_n "checking for $ac_word... " >&6; }
 
5498
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5499
  $as_echo_n "(cached) " >&6
 
5500
else
 
5501
  if test -n "$DUMPBIN"; then
 
5502
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5503
else
 
5504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5505
for as_dir in $PATH
 
5506
do
 
5507
  IFS=$as_save_IFS
 
5508
  test -z "$as_dir" && as_dir=.
 
5509
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5510
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5511
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5512
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5513
    break 2
 
5514
  fi
 
5515
done
 
5516
done
 
5517
IFS=$as_save_IFS
 
5518
 
 
5519
fi
 
5520
fi
 
5521
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5522
if test -n "$DUMPBIN"; then
 
5523
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5524
$as_echo "$DUMPBIN" >&6; }
 
5525
else
 
5526
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5527
$as_echo "no" >&6; }
 
5528
fi
 
5529
 
 
5530
 
 
5531
    test -n "$DUMPBIN" && break
 
5532
  done
 
5533
fi
 
5534
if test -z "$DUMPBIN"; then
 
5535
  ac_ct_DUMPBIN=$DUMPBIN
 
5536
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5537
do
 
5538
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5539
set dummy $ac_prog; ac_word=$2
 
5540
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5541
$as_echo_n "checking for $ac_word... " >&6; }
 
5542
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5543
  $as_echo_n "(cached) " >&6
 
5544
else
 
5545
  if test -n "$ac_ct_DUMPBIN"; then
 
5546
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5547
else
 
5548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5549
for as_dir in $PATH
 
5550
do
 
5551
  IFS=$as_save_IFS
 
5552
  test -z "$as_dir" && as_dir=.
 
5553
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5554
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5555
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5556
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5557
    break 2
 
5558
  fi
 
5559
done
 
5560
done
 
5561
IFS=$as_save_IFS
 
5562
 
 
5563
fi
 
5564
fi
 
5565
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5566
if test -n "$ac_ct_DUMPBIN"; then
 
5567
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5568
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5569
else
 
5570
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5571
$as_echo "no" >&6; }
 
5572
fi
 
5573
 
 
5574
 
 
5575
  test -n "$ac_ct_DUMPBIN" && break
 
5576
done
 
5577
 
 
5578
  if test "x$ac_ct_DUMPBIN" = x; then
 
5579
    DUMPBIN=":"
 
5580
  else
 
5581
    case $cross_compiling:$ac_tool_warned in
 
5582
yes:)
 
5583
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5584
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5585
ac_tool_warned=yes ;;
 
5586
esac
 
5587
    DUMPBIN=$ac_ct_DUMPBIN
 
5588
  fi
 
5589
fi
 
5590
 
 
5591
 
 
5592
  if test "$DUMPBIN" != ":"; then
 
5593
    NM="$DUMPBIN"
 
5594
  fi
 
5595
fi
 
5596
test -z "$NM" && NM=nm
 
5597
 
 
5598
 
 
5599
 
 
5600
 
 
5601
 
 
5602
 
 
5603
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5604
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5605
if test "${lt_cv_nm_interface+set}" = set; then
 
5606
  $as_echo_n "(cached) " >&6
 
5607
else
 
5608
  lt_cv_nm_interface="BSD nm"
 
5609
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5610
  (eval echo "\"\$as_me:5610: $ac_compile\"" >&5)
 
5611
  (eval "$ac_compile" 2>conftest.err)
 
5612
  cat conftest.err >&5
 
5613
  (eval echo "\"\$as_me:5613: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5614
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5615
  cat conftest.err >&5
 
5616
  (eval echo "\"\$as_me:5616: output\"" >&5)
 
5617
  cat conftest.out >&5
 
5618
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5619
    lt_cv_nm_interface="MS dumpbin"
 
5620
  fi
 
5621
  rm -f conftest*
 
5622
fi
 
5623
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5624
$as_echo "$lt_cv_nm_interface" >&6; }
 
5625
 
 
5626
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5627
$as_echo_n "checking whether ln -s works... " >&6; }
4615
5628
LN_S=$as_ln_s
4616
5629
if test "$LN_S" = "ln -s"; then
4617
 
  echo "$as_me:$LINENO: result: yes" >&5
4618
 
echo "${ECHO_T}yes" >&6
4619
 
else
4620
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4621
 
echo "${ECHO_T}no, using $LN_S" >&6
4622
 
fi
4623
 
 
4624
 
echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4625
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
 
5630
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5631
$as_echo "yes" >&6; }
 
5632
else
 
5633
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5634
$as_echo "no, using $LN_S" >&6; }
 
5635
fi
 
5636
 
 
5637
# find the maximum length of command line arguments
 
5638
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5639
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5640
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5641
  $as_echo_n "(cached) " >&6
 
5642
else
 
5643
    i=0
 
5644
  teststring="ABCD"
 
5645
 
 
5646
  case $build_os in
 
5647
  msdosdjgpp*)
 
5648
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5649
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5650
    # during glob expansion).  Even if it were fixed, the result of this
 
5651
    # check would be larger than it should be.
 
5652
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5653
    ;;
 
5654
 
 
5655
  gnu*)
 
5656
    # Under GNU Hurd, this test is not required because there is
 
5657
    # no limit to the length of command line arguments.
 
5658
    # Libtool will interpret -1 as no limit whatsoever
 
5659
    lt_cv_sys_max_cmd_len=-1;
 
5660
    ;;
 
5661
 
 
5662
  cygwin* | mingw* | cegcc*)
 
5663
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5664
    # about 5 minutes as the teststring grows exponentially.
 
5665
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5666
    # you end up with a "frozen" computer, even though with patience
 
5667
    # the test eventually succeeds (with a max line length of 256k).
 
5668
    # Instead, let's just punt: use the minimum linelength reported by
 
5669
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5670
    lt_cv_sys_max_cmd_len=8192;
 
5671
    ;;
 
5672
 
 
5673
  amigaos*)
 
5674
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5675
    # So we just punt and use a minimum line length of 8192.
 
5676
    lt_cv_sys_max_cmd_len=8192;
 
5677
    ;;
 
5678
 
 
5679
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5680
    # This has been around since 386BSD, at least.  Likely further.
 
5681
    if test -x /sbin/sysctl; then
 
5682
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5683
    elif test -x /usr/sbin/sysctl; then
 
5684
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5685
    else
 
5686
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5687
    fi
 
5688
    # And add a safety zone
 
5689
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5690
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5691
    ;;
 
5692
 
 
5693
  interix*)
 
5694
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5695
    lt_cv_sys_max_cmd_len=196608
 
5696
    ;;
 
5697
 
 
5698
  osf*)
 
5699
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5700
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5701
    # nice to cause kernel panics so lets avoid the loop below.
 
5702
    # First set a reasonable default.
 
5703
    lt_cv_sys_max_cmd_len=16384
 
5704
    #
 
5705
    if test -x /sbin/sysconfig; then
 
5706
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5707
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5708
      esac
 
5709
    fi
 
5710
    ;;
 
5711
  sco3.2v5*)
 
5712
    lt_cv_sys_max_cmd_len=102400
 
5713
    ;;
 
5714
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5715
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5716
    if test -n "$kargmax"; then
 
5717
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5718
    else
 
5719
      lt_cv_sys_max_cmd_len=32768
 
5720
    fi
 
5721
    ;;
 
5722
  *)
 
5723
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5724
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5725
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5726
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5727
    else
 
5728
      # Make teststring a little bigger before we do anything with it.
 
5729
      # a 1K string should be a reasonable start.
 
5730
      for i in 1 2 3 4 5 6 7 8 ; do
 
5731
        teststring=$teststring$teststring
 
5732
      done
 
5733
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5734
      # If test is not a shell built-in, we'll probably end up computing a
 
5735
      # maximum length that is only half of the actual maximum length, but
 
5736
      # we can't tell.
 
5737
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
5738
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5739
              test $i != 17 # 1/2 MB should be enough
 
5740
      do
 
5741
        i=`expr $i + 1`
 
5742
        teststring=$teststring$teststring
 
5743
      done
 
5744
      # Only check the string length outside the loop.
 
5745
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5746
      teststring=
 
5747
      # Add a significant safety factor because C++ compilers can tack on
 
5748
      # massive amounts of additional arguments before passing them to the
 
5749
      # linker.  It appears as though 1/2 is a usable value.
 
5750
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5751
    fi
 
5752
    ;;
 
5753
  esac
 
5754
 
 
5755
fi
 
5756
 
 
5757
if test -n $lt_cv_sys_max_cmd_len ; then
 
5758
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5759
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5760
else
 
5761
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5762
$as_echo "none" >&6; }
 
5763
fi
 
5764
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5765
 
 
5766
 
 
5767
 
 
5768
 
 
5769
 
 
5770
 
 
5771
: ${CP="cp -f"}
 
5772
: ${MV="mv -f"}
 
5773
: ${RM="rm -f"}
 
5774
 
 
5775
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5776
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5777
# Try some XSI features
 
5778
xsi_shell=no
 
5779
( _lt_dummy="a/b/c"
 
5780
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
5781
      = c,a/b,, \
 
5782
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5783
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5784
  && xsi_shell=yes
 
5785
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5786
$as_echo "$xsi_shell" >&6; }
 
5787
 
 
5788
 
 
5789
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5790
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5791
lt_shell_append=no
 
5792
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5793
    >/dev/null 2>&1 \
 
5794
  && lt_shell_append=yes
 
5795
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5796
$as_echo "$lt_shell_append" >&6; }
 
5797
 
 
5798
 
 
5799
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5800
  lt_unset=unset
 
5801
else
 
5802
  lt_unset=false
 
5803
fi
 
5804
 
 
5805
 
 
5806
 
 
5807
 
 
5808
 
 
5809
# test EBCDIC or ASCII
 
5810
case `echo X|tr X '\101'` in
 
5811
 A) # ASCII based system
 
5812
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5813
  lt_SP2NL='tr \040 \012'
 
5814
  lt_NL2SP='tr \015\012 \040\040'
 
5815
  ;;
 
5816
 *) # EBCDIC based system
 
5817
  lt_SP2NL='tr \100 \n'
 
5818
  lt_NL2SP='tr \r\n \100\100'
 
5819
  ;;
 
5820
esac
 
5821
 
 
5822
 
 
5823
 
 
5824
 
 
5825
 
 
5826
 
 
5827
 
 
5828
 
 
5829
 
 
5830
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5831
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5832
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5833
  $as_echo_n "(cached) " >&6
 
5834
else
 
5835
  lt_cv_ld_reload_flag='-r'
 
5836
fi
 
5837
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5838
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5839
reload_flag=$lt_cv_ld_reload_flag
 
5840
case $reload_flag in
 
5841
"" | " "*) ;;
 
5842
*) reload_flag=" $reload_flag" ;;
 
5843
esac
 
5844
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5845
case $host_os in
 
5846
  darwin*)
 
5847
    if test "$GCC" = yes; then
 
5848
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5849
    else
 
5850
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5851
    fi
 
5852
    ;;
 
5853
esac
 
5854
 
 
5855
 
 
5856
 
 
5857
 
 
5858
 
 
5859
 
 
5860
 
 
5861
 
 
5862
 
 
5863
if test -n "$ac_tool_prefix"; then
 
5864
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5865
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5866
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5867
$as_echo_n "checking for $ac_word... " >&6; }
 
5868
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5869
  $as_echo_n "(cached) " >&6
 
5870
else
 
5871
  if test -n "$OBJDUMP"; then
 
5872
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5873
else
 
5874
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5875
for as_dir in $PATH
 
5876
do
 
5877
  IFS=$as_save_IFS
 
5878
  test -z "$as_dir" && as_dir=.
 
5879
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5880
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5881
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5882
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5883
    break 2
 
5884
  fi
 
5885
done
 
5886
done
 
5887
IFS=$as_save_IFS
 
5888
 
 
5889
fi
 
5890
fi
 
5891
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5892
if test -n "$OBJDUMP"; then
 
5893
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5894
$as_echo "$OBJDUMP" >&6; }
 
5895
else
 
5896
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5897
$as_echo "no" >&6; }
 
5898
fi
 
5899
 
 
5900
 
 
5901
fi
 
5902
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5903
  ac_ct_OBJDUMP=$OBJDUMP
 
5904
  # Extract the first word of "objdump", so it can be a program name with args.
 
5905
set dummy objdump; ac_word=$2
 
5906
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5907
$as_echo_n "checking for $ac_word... " >&6; }
 
5908
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5909
  $as_echo_n "(cached) " >&6
 
5910
else
 
5911
  if test -n "$ac_ct_OBJDUMP"; then
 
5912
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5913
else
 
5914
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5915
for as_dir in $PATH
 
5916
do
 
5917
  IFS=$as_save_IFS
 
5918
  test -z "$as_dir" && as_dir=.
 
5919
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5920
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5921
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5922
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5923
    break 2
 
5924
  fi
 
5925
done
 
5926
done
 
5927
IFS=$as_save_IFS
 
5928
 
 
5929
fi
 
5930
fi
 
5931
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5932
if test -n "$ac_ct_OBJDUMP"; then
 
5933
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5934
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5935
else
 
5936
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5937
$as_echo "no" >&6; }
 
5938
fi
 
5939
 
 
5940
  if test "x$ac_ct_OBJDUMP" = x; then
 
5941
    OBJDUMP="false"
 
5942
  else
 
5943
    case $cross_compiling:$ac_tool_warned in
 
5944
yes:)
 
5945
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5946
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5947
ac_tool_warned=yes ;;
 
5948
esac
 
5949
    OBJDUMP=$ac_ct_OBJDUMP
 
5950
  fi
 
5951
else
 
5952
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5953
fi
 
5954
 
 
5955
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5956
 
 
5957
 
 
5958
 
 
5959
 
 
5960
 
 
5961
 
 
5962
 
 
5963
 
 
5964
 
 
5965
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5966
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4626
5967
if test "${lt_cv_deplibs_check_method+set}" = set; then
4627
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5968
  $as_echo_n "(cached) " >&6
4628
5969
else
4629
5970
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4630
5971
lt_cv_file_magic_test_file=
4641
5982
# whether `pass_all' will *always* work, you probably want this one.
4642
5983
 
4643
5984
case $host_os in
4644
 
aix4* | aix5*)
 
5985
aix[4-9]*)
4645
5986
  lt_cv_deplibs_check_method=pass_all
4646
5987
  ;;
4647
5988
 
4663
6004
 
4664
6005
mingw* | pw32*)
4665
6006
  # Base MSYS/MinGW do not provide the 'file' command needed by
4666
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4667
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6007
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
6008
  # unless we find 'file', for example because we are cross-compiling.
 
6009
  if ( file / ) >/dev/null 2>&1; then
 
6010
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
6011
    lt_cv_file_magic_cmd='func_win32_libid'
 
6012
  else
 
6013
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
6014
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
6015
  fi
 
6016
  ;;
 
6017
 
 
6018
cegcc)
 
6019
  # use the weaker test based on 'objdump'. See mingw*.
 
6020
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4668
6021
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4669
6022
  ;;
4670
6023
 
4672
6025
  lt_cv_deplibs_check_method=pass_all
4673
6026
  ;;
4674
6027
 
4675
 
freebsd* | kfreebsd*-gnu | dragonfly*)
4676
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6028
freebsd* | dragonfly*)
 
6029
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4677
6030
    case $host_cpu in
4678
6031
    i*86 )
4679
6032
      # Not sure whether the presence of OpenBSD here was a mistake.
4710
6063
  esac
4711
6064
  ;;
4712
6065
 
4713
 
interix3*)
 
6066
interix[3-9]*)
4714
6067
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4715
6068
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4716
6069
  ;;
4726
6079
  ;;
4727
6080
 
4728
6081
# This must be Linux ELF.
4729
 
linux*)
 
6082
linux* | k*bsd*-gnu)
4730
6083
  lt_cv_deplibs_check_method=pass_all
4731
6084
  ;;
4732
6085
 
4733
6086
netbsd*)
4734
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
6087
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4735
6088
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4736
6089
  else
4737
6090
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4744
6097
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4745
6098
  ;;
4746
6099
 
4747
 
nto-qnx*)
4748
 
  lt_cv_deplibs_check_method=unknown
 
6100
*nto* | *qnx*)
 
6101
  lt_cv_deplibs_check_method=pass_all
4749
6102
  ;;
4750
6103
 
4751
6104
openbsd*)
4752
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6105
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4753
6106
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4754
6107
  else
4755
6108
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4760
6113
  lt_cv_deplibs_check_method=pass_all
4761
6114
  ;;
4762
6115
 
 
6116
rdos*)
 
6117
  lt_cv_deplibs_check_method=pass_all
 
6118
  ;;
 
6119
 
4763
6120
solaris*)
4764
6121
  lt_cv_deplibs_check_method=pass_all
4765
6122
  ;;
4766
6123
 
 
6124
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6125
  lt_cv_deplibs_check_method=pass_all
 
6126
  ;;
 
6127
 
4767
6128
sysv4 | sysv4.3*)
4768
6129
  case $host_vendor in
4769
6130
  motorola)
4791
6152
  esac
4792
6153
  ;;
4793
6154
 
4794
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6155
tpf*)
4795
6156
  lt_cv_deplibs_check_method=pass_all
4796
6157
  ;;
4797
6158
esac
4798
6159
 
4799
6160
fi
4800
 
echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4801
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 
6161
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6162
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4802
6163
file_magic_cmd=$lt_cv_file_magic_cmd
4803
6164
deplibs_check_method=$lt_cv_deplibs_check_method
4804
6165
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4806
6167
 
4807
6168
 
4808
6169
 
 
6170
 
 
6171
 
 
6172
 
 
6173
 
 
6174
 
 
6175
 
 
6176
 
 
6177
 
 
6178
if test -n "$ac_tool_prefix"; then
 
6179
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
6180
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6181
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6182
$as_echo_n "checking for $ac_word... " >&6; }
 
6183
if test "${ac_cv_prog_AR+set}" = set; then
 
6184
  $as_echo_n "(cached) " >&6
 
6185
else
 
6186
  if test -n "$AR"; then
 
6187
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6188
else
 
6189
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6190
for as_dir in $PATH
 
6191
do
 
6192
  IFS=$as_save_IFS
 
6193
  test -z "$as_dir" && as_dir=.
 
6194
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6195
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6196
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6197
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6198
    break 2
 
6199
  fi
 
6200
done
 
6201
done
 
6202
IFS=$as_save_IFS
 
6203
 
 
6204
fi
 
6205
fi
 
6206
AR=$ac_cv_prog_AR
 
6207
if test -n "$AR"; then
 
6208
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6209
$as_echo "$AR" >&6; }
 
6210
else
 
6211
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6212
$as_echo "no" >&6; }
 
6213
fi
 
6214
 
 
6215
 
 
6216
fi
 
6217
if test -z "$ac_cv_prog_AR"; then
 
6218
  ac_ct_AR=$AR
 
6219
  # Extract the first word of "ar", so it can be a program name with args.
 
6220
set dummy ar; ac_word=$2
 
6221
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6222
$as_echo_n "checking for $ac_word... " >&6; }
 
6223
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6224
  $as_echo_n "(cached) " >&6
 
6225
else
 
6226
  if test -n "$ac_ct_AR"; then
 
6227
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6228
else
 
6229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6230
for as_dir in $PATH
 
6231
do
 
6232
  IFS=$as_save_IFS
 
6233
  test -z "$as_dir" && as_dir=.
 
6234
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6235
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6236
    ac_cv_prog_ac_ct_AR="ar"
 
6237
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6238
    break 2
 
6239
  fi
 
6240
done
 
6241
done
 
6242
IFS=$as_save_IFS
 
6243
 
 
6244
fi
 
6245
fi
 
6246
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6247
if test -n "$ac_ct_AR"; then
 
6248
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6249
$as_echo "$ac_ct_AR" >&6; }
 
6250
else
 
6251
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6252
$as_echo "no" >&6; }
 
6253
fi
 
6254
 
 
6255
  if test "x$ac_ct_AR" = x; then
 
6256
    AR="false"
 
6257
  else
 
6258
    case $cross_compiling:$ac_tool_warned in
 
6259
yes:)
 
6260
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6261
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6262
ac_tool_warned=yes ;;
 
6263
esac
 
6264
    AR=$ac_ct_AR
 
6265
  fi
 
6266
else
 
6267
  AR="$ac_cv_prog_AR"
 
6268
fi
 
6269
 
 
6270
test -z "$AR" && AR=ar
 
6271
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
6272
 
 
6273
 
 
6274
 
 
6275
 
 
6276
 
 
6277
 
 
6278
 
 
6279
 
 
6280
 
 
6281
 
 
6282
 
 
6283
if test -n "$ac_tool_prefix"; then
 
6284
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6285
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6286
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6287
$as_echo_n "checking for $ac_word... " >&6; }
 
6288
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6289
  $as_echo_n "(cached) " >&6
 
6290
else
 
6291
  if test -n "$STRIP"; then
 
6292
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6293
else
 
6294
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6295
for as_dir in $PATH
 
6296
do
 
6297
  IFS=$as_save_IFS
 
6298
  test -z "$as_dir" && as_dir=.
 
6299
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6300
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6301
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6302
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6303
    break 2
 
6304
  fi
 
6305
done
 
6306
done
 
6307
IFS=$as_save_IFS
 
6308
 
 
6309
fi
 
6310
fi
 
6311
STRIP=$ac_cv_prog_STRIP
 
6312
if test -n "$STRIP"; then
 
6313
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6314
$as_echo "$STRIP" >&6; }
 
6315
else
 
6316
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6317
$as_echo "no" >&6; }
 
6318
fi
 
6319
 
 
6320
 
 
6321
fi
 
6322
if test -z "$ac_cv_prog_STRIP"; then
 
6323
  ac_ct_STRIP=$STRIP
 
6324
  # Extract the first word of "strip", so it can be a program name with args.
 
6325
set dummy strip; ac_word=$2
 
6326
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6327
$as_echo_n "checking for $ac_word... " >&6; }
 
6328
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6329
  $as_echo_n "(cached) " >&6
 
6330
else
 
6331
  if test -n "$ac_ct_STRIP"; then
 
6332
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6333
else
 
6334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6335
for as_dir in $PATH
 
6336
do
 
6337
  IFS=$as_save_IFS
 
6338
  test -z "$as_dir" && as_dir=.
 
6339
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6341
    ac_cv_prog_ac_ct_STRIP="strip"
 
6342
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6343
    break 2
 
6344
  fi
 
6345
done
 
6346
done
 
6347
IFS=$as_save_IFS
 
6348
 
 
6349
fi
 
6350
fi
 
6351
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6352
if test -n "$ac_ct_STRIP"; then
 
6353
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6354
$as_echo "$ac_ct_STRIP" >&6; }
 
6355
else
 
6356
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6357
$as_echo "no" >&6; }
 
6358
fi
 
6359
 
 
6360
  if test "x$ac_ct_STRIP" = x; then
 
6361
    STRIP=":"
 
6362
  else
 
6363
    case $cross_compiling:$ac_tool_warned in
 
6364
yes:)
 
6365
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6366
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6367
ac_tool_warned=yes ;;
 
6368
esac
 
6369
    STRIP=$ac_ct_STRIP
 
6370
  fi
 
6371
else
 
6372
  STRIP="$ac_cv_prog_STRIP"
 
6373
fi
 
6374
 
 
6375
test -z "$STRIP" && STRIP=:
 
6376
 
 
6377
 
 
6378
 
 
6379
 
 
6380
 
 
6381
 
 
6382
if test -n "$ac_tool_prefix"; then
 
6383
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6384
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6385
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6386
$as_echo_n "checking for $ac_word... " >&6; }
 
6387
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6388
  $as_echo_n "(cached) " >&6
 
6389
else
 
6390
  if test -n "$RANLIB"; then
 
6391
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6392
else
 
6393
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6394
for as_dir in $PATH
 
6395
do
 
6396
  IFS=$as_save_IFS
 
6397
  test -z "$as_dir" && as_dir=.
 
6398
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6399
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6400
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6401
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6402
    break 2
 
6403
  fi
 
6404
done
 
6405
done
 
6406
IFS=$as_save_IFS
 
6407
 
 
6408
fi
 
6409
fi
 
6410
RANLIB=$ac_cv_prog_RANLIB
 
6411
if test -n "$RANLIB"; then
 
6412
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6413
$as_echo "$RANLIB" >&6; }
 
6414
else
 
6415
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6416
$as_echo "no" >&6; }
 
6417
fi
 
6418
 
 
6419
 
 
6420
fi
 
6421
if test -z "$ac_cv_prog_RANLIB"; then
 
6422
  ac_ct_RANLIB=$RANLIB
 
6423
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6424
set dummy ranlib; ac_word=$2
 
6425
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6426
$as_echo_n "checking for $ac_word... " >&6; }
 
6427
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6428
  $as_echo_n "(cached) " >&6
 
6429
else
 
6430
  if test -n "$ac_ct_RANLIB"; then
 
6431
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6432
else
 
6433
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6434
for as_dir in $PATH
 
6435
do
 
6436
  IFS=$as_save_IFS
 
6437
  test -z "$as_dir" && as_dir=.
 
6438
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6439
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6440
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6441
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6442
    break 2
 
6443
  fi
 
6444
done
 
6445
done
 
6446
IFS=$as_save_IFS
 
6447
 
 
6448
fi
 
6449
fi
 
6450
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6451
if test -n "$ac_ct_RANLIB"; then
 
6452
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6453
$as_echo "$ac_ct_RANLIB" >&6; }
 
6454
else
 
6455
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6456
$as_echo "no" >&6; }
 
6457
fi
 
6458
 
 
6459
  if test "x$ac_ct_RANLIB" = x; then
 
6460
    RANLIB=":"
 
6461
  else
 
6462
    case $cross_compiling:$ac_tool_warned in
 
6463
yes:)
 
6464
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6465
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6466
ac_tool_warned=yes ;;
 
6467
esac
 
6468
    RANLIB=$ac_ct_RANLIB
 
6469
  fi
 
6470
else
 
6471
  RANLIB="$ac_cv_prog_RANLIB"
 
6472
fi
 
6473
 
 
6474
test -z "$RANLIB" && RANLIB=:
 
6475
 
 
6476
 
 
6477
 
 
6478
 
 
6479
 
 
6480
 
 
6481
# Determine commands to create old-style static archives.
 
6482
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6483
old_postinstall_cmds='chmod 644 $oldlib'
 
6484
old_postuninstall_cmds=
 
6485
 
 
6486
if test -n "$RANLIB"; then
 
6487
  case $host_os in
 
6488
  openbsd*)
 
6489
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6490
    ;;
 
6491
  *)
 
6492
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6493
    ;;
 
6494
  esac
 
6495
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6496
fi
 
6497
 
 
6498
 
 
6499
 
 
6500
 
 
6501
 
 
6502
 
 
6503
 
 
6504
 
 
6505
 
 
6506
 
 
6507
 
 
6508
 
 
6509
 
 
6510
 
 
6511
 
 
6512
 
 
6513
 
 
6514
 
 
6515
 
 
6516
 
 
6517
 
 
6518
 
 
6519
 
 
6520
 
 
6521
 
 
6522
 
 
6523
 
 
6524
 
 
6525
 
 
6526
 
 
6527
 
 
6528
 
 
6529
 
 
6530
 
4809
6531
# If no C compiler was specified, use CC.
4810
6532
LTCC=${LTCC-"$CC"}
4811
6533
 
4816
6538
compiler=$CC
4817
6539
 
4818
6540
 
4819
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4820
 
if test "${enable_libtool_lock+set}" = set; then
4821
 
  enableval="$enable_libtool_lock"
4822
 
 
4823
 
fi;
4824
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4825
 
 
4826
 
# Some flags need to be propagated to the compiler or linker for good
4827
 
# libtool support.
4828
 
case $host in
4829
 
ia64-*-hpux*)
4830
 
  # Find out which ABI we are using.
4831
 
  echo 'int i;' > conftest.$ac_ext
4832
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4833
 
  (eval $ac_compile) 2>&5
4834
 
  ac_status=$?
4835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836
 
  (exit $ac_status); }; then
4837
 
    case `/usr/bin/file conftest.$ac_objext` in
4838
 
    *ELF-32*)
4839
 
      HPUX_IA64_MODE="32"
4840
 
      ;;
4841
 
    *ELF-64*)
4842
 
      HPUX_IA64_MODE="64"
4843
 
      ;;
4844
 
    esac
4845
 
  fi
4846
 
  rm -rf conftest*
4847
 
  ;;
4848
 
*-*-irix6*)
4849
 
  # Find out which ABI we are using.
4850
 
  echo '#line 4850 "configure"' > conftest.$ac_ext
4851
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4852
 
  (eval $ac_compile) 2>&5
4853
 
  ac_status=$?
4854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855
 
  (exit $ac_status); }; then
4856
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4857
 
    case `/usr/bin/file conftest.$ac_objext` in
4858
 
    *32-bit*)
4859
 
      LD="${LD-ld} -melf32bsmip"
4860
 
      ;;
4861
 
    *N32*)
4862
 
      LD="${LD-ld} -melf32bmipn32"
4863
 
      ;;
4864
 
    *64-bit*)
4865
 
      LD="${LD-ld} -melf64bmip"
4866
 
      ;;
4867
 
    esac
4868
 
   else
4869
 
    case `/usr/bin/file conftest.$ac_objext` in
4870
 
    *32-bit*)
4871
 
      LD="${LD-ld} -32"
4872
 
      ;;
4873
 
    *N32*)
4874
 
      LD="${LD-ld} -n32"
4875
 
      ;;
4876
 
    *64-bit*)
4877
 
      LD="${LD-ld} -64"
4878
 
      ;;
4879
 
    esac
4880
 
   fi
4881
 
  fi
4882
 
  rm -rf conftest*
4883
 
  ;;
4884
 
 
4885
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4886
 
  # Find out which ABI we are using.
4887
 
  echo 'int i;' > conftest.$ac_ext
4888
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4889
 
  (eval $ac_compile) 2>&5
4890
 
  ac_status=$?
4891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892
 
  (exit $ac_status); }; then
4893
 
    case `/usr/bin/file conftest.o` in
4894
 
    *32-bit*)
4895
 
      case $host in
4896
 
        x86_64-*linux*)
4897
 
          LD="${LD-ld} -m elf_i386"
4898
 
          ;;
4899
 
        ppc64-*linux*|powerpc64-*linux*)
4900
 
          LD="${LD-ld} -m elf32ppclinux"
4901
 
          ;;
4902
 
        s390x-*linux*)
4903
 
          LD="${LD-ld} -m elf_s390"
4904
 
          ;;
4905
 
        sparc64-*linux*)
4906
 
          LD="${LD-ld} -m elf32_sparc"
4907
 
          ;;
4908
 
      esac
4909
 
      ;;
4910
 
    *64-bit*)
4911
 
      case $host in
4912
 
        x86_64-*linux*)
4913
 
          LD="${LD-ld} -m elf_x86_64"
4914
 
          ;;
4915
 
        ppc*-*linux*|powerpc*-*linux*)
4916
 
          LD="${LD-ld} -m elf64ppc"
4917
 
          ;;
4918
 
        s390*-*linux*)
4919
 
          LD="${LD-ld} -m elf64_s390"
4920
 
          ;;
4921
 
        sparc*-*linux*)
4922
 
          LD="${LD-ld} -m elf64_sparc"
4923
 
          ;;
4924
 
      esac
4925
 
      ;;
4926
 
    esac
4927
 
  fi
4928
 
  rm -rf conftest*
4929
 
  ;;
4930
 
 
4931
 
*-*-sco3.2v5*)
4932
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4933
 
  SAVE_CFLAGS="$CFLAGS"
4934
 
  CFLAGS="$CFLAGS -belf"
4935
 
  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4936
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4937
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4938
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4939
 
else
4940
 
  ac_ext=c
4941
 
ac_cpp='$CPP $CPPFLAGS'
4942
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4943
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4944
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4945
 
 
4946
 
     cat >conftest.$ac_ext <<_ACEOF
4947
 
/* confdefs.h.  */
4948
 
_ACEOF
4949
 
cat confdefs.h >>conftest.$ac_ext
4950
 
cat >>conftest.$ac_ext <<_ACEOF
4951
 
/* end confdefs.h.  */
4952
 
 
4953
 
int
4954
 
main ()
4955
 
{
4956
 
 
4957
 
  ;
4958
 
  return 0;
4959
 
}
4960
 
_ACEOF
4961
 
rm -f conftest.$ac_objext conftest$ac_exeext
4962
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4963
 
  (eval $ac_link) 2>conftest.er1
4964
 
  ac_status=$?
4965
 
  grep -v '^ *+' conftest.er1 >conftest.err
4966
 
  rm -f conftest.er1
4967
 
  cat conftest.err >&5
4968
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969
 
  (exit $ac_status); } &&
4970
 
         { ac_try='test -z "$ac_c_werror_flag"
4971
 
                         || test ! -s conftest.err'
4972
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4973
 
  (eval $ac_try) 2>&5
4974
 
  ac_status=$?
4975
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976
 
  (exit $ac_status); }; } &&
4977
 
         { ac_try='test -s conftest$ac_exeext'
4978
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4979
 
  (eval $ac_try) 2>&5
4980
 
  ac_status=$?
4981
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4982
 
  (exit $ac_status); }; }; then
4983
 
  lt_cv_cc_needs_belf=yes
4984
 
else
4985
 
  echo "$as_me: failed program was:" >&5
4986
 
sed 's/^/| /' conftest.$ac_ext >&5
4987
 
 
4988
 
lt_cv_cc_needs_belf=no
4989
 
fi
4990
 
rm -f conftest.err conftest.$ac_objext \
4991
 
      conftest$ac_exeext conftest.$ac_ext
4992
 
     ac_ext=c
4993
 
ac_cpp='$CPP $CPPFLAGS'
4994
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4997
 
 
4998
 
fi
4999
 
echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5000
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5001
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5002
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5003
 
    CFLAGS="$SAVE_CFLAGS"
5004
 
  fi
5005
 
  ;;
5006
 
sparc*-*solaris*)
5007
 
  # Find out which ABI we are using.
5008
 
  echo 'int i;' > conftest.$ac_ext
5009
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5010
 
  (eval $ac_compile) 2>&5
5011
 
  ac_status=$?
5012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013
 
  (exit $ac_status); }; then
5014
 
    case `/usr/bin/file conftest.o` in
5015
 
    *64-bit*)
5016
 
      case $lt_cv_prog_gnu_ld in
5017
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5018
 
      *)    LD="${LD-ld} -64" ;;
5019
 
      esac
5020
 
      ;;
5021
 
    esac
5022
 
  fi
5023
 
  rm -rf conftest*
5024
 
  ;;
5025
 
 
5026
 
 
5027
 
esac
5028
 
 
5029
 
need_locks="$enable_libtool_lock"
5030
 
 
5031
 
 
5032
 
 
5033
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5034
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5035
 
if test "${ac_cv_header_stdc+set}" = set; then
5036
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5037
 
else
5038
 
  cat >conftest.$ac_ext <<_ACEOF
5039
 
/* confdefs.h.  */
5040
 
_ACEOF
5041
 
cat confdefs.h >>conftest.$ac_ext
5042
 
cat >>conftest.$ac_ext <<_ACEOF
5043
 
/* end confdefs.h.  */
5044
 
#include <stdlib.h>
5045
 
#include <stdarg.h>
5046
 
#include <string.h>
5047
 
#include <float.h>
5048
 
 
5049
 
int
5050
 
main ()
5051
 
{
5052
 
 
5053
 
  ;
5054
 
  return 0;
5055
 
}
5056
 
_ACEOF
5057
 
rm -f conftest.$ac_objext
5058
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5059
 
  (eval $ac_compile) 2>conftest.er1
5060
 
  ac_status=$?
5061
 
  grep -v '^ *+' conftest.er1 >conftest.err
5062
 
  rm -f conftest.er1
5063
 
  cat conftest.err >&5
5064
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065
 
  (exit $ac_status); } &&
5066
 
         { ac_try='test -z "$ac_c_werror_flag"
5067
 
                         || test ! -s conftest.err'
5068
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5069
 
  (eval $ac_try) 2>&5
5070
 
  ac_status=$?
5071
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072
 
  (exit $ac_status); }; } &&
5073
 
         { ac_try='test -s conftest.$ac_objext'
5074
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075
 
  (eval $ac_try) 2>&5
5076
 
  ac_status=$?
5077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078
 
  (exit $ac_status); }; }; then
5079
 
  ac_cv_header_stdc=yes
5080
 
else
5081
 
  echo "$as_me: failed program was:" >&5
5082
 
sed 's/^/| /' conftest.$ac_ext >&5
5083
 
 
5084
 
ac_cv_header_stdc=no
5085
 
fi
5086
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5087
 
 
5088
 
if test $ac_cv_header_stdc = yes; then
5089
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5090
 
  cat >conftest.$ac_ext <<_ACEOF
5091
 
/* confdefs.h.  */
5092
 
_ACEOF
5093
 
cat confdefs.h >>conftest.$ac_ext
5094
 
cat >>conftest.$ac_ext <<_ACEOF
5095
 
/* end confdefs.h.  */
5096
 
#include <string.h>
5097
 
 
5098
 
_ACEOF
5099
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5100
 
  $EGREP "memchr" >/dev/null 2>&1; then
5101
 
  :
5102
 
else
5103
 
  ac_cv_header_stdc=no
5104
 
fi
5105
 
rm -f conftest*
5106
 
 
5107
 
fi
5108
 
 
5109
 
if test $ac_cv_header_stdc = yes; then
5110
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5111
 
  cat >conftest.$ac_ext <<_ACEOF
5112
 
/* confdefs.h.  */
5113
 
_ACEOF
5114
 
cat confdefs.h >>conftest.$ac_ext
5115
 
cat >>conftest.$ac_ext <<_ACEOF
5116
 
/* end confdefs.h.  */
5117
 
#include <stdlib.h>
5118
 
 
5119
 
_ACEOF
5120
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5121
 
  $EGREP "free" >/dev/null 2>&1; then
5122
 
  :
5123
 
else
5124
 
  ac_cv_header_stdc=no
5125
 
fi
5126
 
rm -f conftest*
5127
 
 
5128
 
fi
5129
 
 
5130
 
if test $ac_cv_header_stdc = yes; then
5131
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5132
 
  if test "$cross_compiling" = yes; then
5133
 
  :
5134
 
else
5135
 
  cat >conftest.$ac_ext <<_ACEOF
5136
 
/* confdefs.h.  */
5137
 
_ACEOF
5138
 
cat confdefs.h >>conftest.$ac_ext
5139
 
cat >>conftest.$ac_ext <<_ACEOF
5140
 
/* end confdefs.h.  */
5141
 
#include <ctype.h>
5142
 
#if ((' ' & 0x0FF) == 0x020)
5143
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5144
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5145
 
#else
5146
 
# define ISLOWER(c) \
5147
 
                   (('a' <= (c) && (c) <= 'i') \
5148
 
                     || ('j' <= (c) && (c) <= 'r') \
5149
 
                     || ('s' <= (c) && (c) <= 'z'))
5150
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5151
 
#endif
5152
 
 
5153
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5154
 
int
5155
 
main ()
5156
 
{
5157
 
  int i;
5158
 
  for (i = 0; i < 256; i++)
5159
 
    if (XOR (islower (i), ISLOWER (i))
5160
 
        || toupper (i) != TOUPPER (i))
5161
 
      exit(2);
5162
 
  exit (0);
5163
 
}
5164
 
_ACEOF
5165
 
rm -f conftest$ac_exeext
5166
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5167
 
  (eval $ac_link) 2>&5
5168
 
  ac_status=$?
5169
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5171
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172
 
  (eval $ac_try) 2>&5
5173
 
  ac_status=$?
5174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175
 
  (exit $ac_status); }; }; then
5176
 
  :
5177
 
else
5178
 
  echo "$as_me: program exited with status $ac_status" >&5
5179
 
echo "$as_me: failed program was:" >&5
5180
 
sed 's/^/| /' conftest.$ac_ext >&5
5181
 
 
5182
 
( exit $ac_status )
5183
 
ac_cv_header_stdc=no
5184
 
fi
5185
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5186
 
fi
5187
 
fi
5188
 
fi
5189
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5190
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
5191
 
if test $ac_cv_header_stdc = yes; then
5192
 
 
5193
 
cat >>confdefs.h <<\_ACEOF
5194
 
#define STDC_HEADERS 1
5195
 
_ACEOF
5196
 
 
5197
 
fi
5198
 
 
5199
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5200
 
 
5201
 
 
5202
 
 
5203
 
 
5204
 
 
5205
 
 
5206
 
 
5207
 
 
5208
 
 
5209
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5210
 
                  inttypes.h stdint.h unistd.h
5211
 
do
5212
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5213
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5214
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5215
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5216
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5217
 
else
5218
 
  cat >conftest.$ac_ext <<_ACEOF
5219
 
/* confdefs.h.  */
5220
 
_ACEOF
5221
 
cat confdefs.h >>conftest.$ac_ext
5222
 
cat >>conftest.$ac_ext <<_ACEOF
5223
 
/* end confdefs.h.  */
5224
 
$ac_includes_default
5225
 
 
5226
 
#include <$ac_header>
5227
 
_ACEOF
5228
 
rm -f conftest.$ac_objext
5229
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5230
 
  (eval $ac_compile) 2>conftest.er1
5231
 
  ac_status=$?
5232
 
  grep -v '^ *+' conftest.er1 >conftest.err
5233
 
  rm -f conftest.er1
5234
 
  cat conftest.err >&5
5235
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236
 
  (exit $ac_status); } &&
5237
 
         { ac_try='test -z "$ac_c_werror_flag"
5238
 
                         || test ! -s conftest.err'
5239
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5240
 
  (eval $ac_try) 2>&5
5241
 
  ac_status=$?
5242
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243
 
  (exit $ac_status); }; } &&
5244
 
         { ac_try='test -s conftest.$ac_objext'
5245
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5246
 
  (eval $ac_try) 2>&5
5247
 
  ac_status=$?
5248
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249
 
  (exit $ac_status); }; }; then
5250
 
  eval "$as_ac_Header=yes"
5251
 
else
5252
 
  echo "$as_me: failed program was:" >&5
5253
 
sed 's/^/| /' conftest.$ac_ext >&5
5254
 
 
5255
 
eval "$as_ac_Header=no"
5256
 
fi
5257
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5258
 
fi
5259
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5260
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5261
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5262
 
  cat >>confdefs.h <<_ACEOF
5263
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5264
 
_ACEOF
5265
 
 
5266
 
fi
5267
 
 
5268
 
done
5269
 
 
5270
 
 
5271
 
 
5272
 
for ac_header in dlfcn.h
5273
 
do
5274
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5275
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5276
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
5277
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5278
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5279
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5280
 
fi
5281
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5282
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5283
 
else
5284
 
  # Is the header compilable?
5285
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5286
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5287
 
cat >conftest.$ac_ext <<_ACEOF
5288
 
/* confdefs.h.  */
5289
 
_ACEOF
5290
 
cat confdefs.h >>conftest.$ac_ext
5291
 
cat >>conftest.$ac_ext <<_ACEOF
5292
 
/* end confdefs.h.  */
5293
 
$ac_includes_default
5294
 
#include <$ac_header>
5295
 
_ACEOF
5296
 
rm -f conftest.$ac_objext
5297
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5298
 
  (eval $ac_compile) 2>conftest.er1
5299
 
  ac_status=$?
5300
 
  grep -v '^ *+' conftest.er1 >conftest.err
5301
 
  rm -f conftest.er1
5302
 
  cat conftest.err >&5
5303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304
 
  (exit $ac_status); } &&
5305
 
         { ac_try='test -z "$ac_c_werror_flag"
5306
 
                         || test ! -s conftest.err'
5307
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5308
 
  (eval $ac_try) 2>&5
5309
 
  ac_status=$?
5310
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311
 
  (exit $ac_status); }; } &&
5312
 
         { ac_try='test -s conftest.$ac_objext'
5313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5314
 
  (eval $ac_try) 2>&5
5315
 
  ac_status=$?
5316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317
 
  (exit $ac_status); }; }; then
5318
 
  ac_header_compiler=yes
5319
 
else
5320
 
  echo "$as_me: failed program was:" >&5
5321
 
sed 's/^/| /' conftest.$ac_ext >&5
5322
 
 
5323
 
ac_header_compiler=no
5324
 
fi
5325
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5326
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5327
 
echo "${ECHO_T}$ac_header_compiler" >&6
5328
 
 
5329
 
# Is the header present?
5330
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5331
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5332
 
cat >conftest.$ac_ext <<_ACEOF
5333
 
/* confdefs.h.  */
5334
 
_ACEOF
5335
 
cat confdefs.h >>conftest.$ac_ext
5336
 
cat >>conftest.$ac_ext <<_ACEOF
5337
 
/* end confdefs.h.  */
5338
 
#include <$ac_header>
5339
 
_ACEOF
5340
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5341
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5342
 
  ac_status=$?
5343
 
  grep -v '^ *+' conftest.er1 >conftest.err
5344
 
  rm -f conftest.er1
5345
 
  cat conftest.err >&5
5346
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347
 
  (exit $ac_status); } >/dev/null; then
5348
 
  if test -s conftest.err; then
5349
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5350
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5351
 
  else
5352
 
    ac_cpp_err=
5353
 
  fi
5354
 
else
5355
 
  ac_cpp_err=yes
5356
 
fi
5357
 
if test -z "$ac_cpp_err"; then
5358
 
  ac_header_preproc=yes
5359
 
else
5360
 
  echo "$as_me: failed program was:" >&5
5361
 
sed 's/^/| /' conftest.$ac_ext >&5
5362
 
 
5363
 
  ac_header_preproc=no
5364
 
fi
5365
 
rm -f conftest.err conftest.$ac_ext
5366
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5367
 
echo "${ECHO_T}$ac_header_preproc" >&6
5368
 
 
5369
 
# So?  What about this header?
5370
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5371
 
  yes:no: )
5372
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5373
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5374
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5375
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5376
 
    ac_header_preproc=yes
5377
 
    ;;
5378
 
  no:yes:* )
5379
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5380
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5381
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5382
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5383
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5384
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5385
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5386
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5387
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5388
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5389
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5390
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5391
 
    (
5392
 
      cat <<\_ASBOX
5393
 
## ------------------------------------------ ##
5394
 
## Report this to the AC_PACKAGE_NAME lists.  ##
5395
 
## ------------------------------------------ ##
5396
 
_ASBOX
5397
 
    ) |
5398
 
      sed "s/^/$as_me: WARNING:     /" >&2
5399
 
    ;;
5400
 
esac
5401
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
5402
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5403
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5404
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5405
 
else
5406
 
  eval "$as_ac_Header=\$ac_header_preproc"
5407
 
fi
5408
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5409
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5410
 
 
5411
 
fi
5412
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5413
 
  cat >>confdefs.h <<_ACEOF
5414
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5415
 
_ACEOF
5416
 
 
5417
 
fi
5418
 
 
5419
 
done
5420
 
 
5421
 
ac_ext=cc
5422
 
ac_cpp='$CXXCPP $CPPFLAGS'
5423
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5424
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5425
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5426
 
if test -n "$ac_tool_prefix"; then
5427
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5428
 
  do
5429
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5430
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5431
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5432
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5433
 
if test "${ac_cv_prog_CXX+set}" = set; then
5434
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5435
 
else
5436
 
  if test -n "$CXX"; then
5437
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5438
 
else
5439
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440
 
for as_dir in $PATH
5441
 
do
5442
 
  IFS=$as_save_IFS
5443
 
  test -z "$as_dir" && as_dir=.
5444
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5445
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5446
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5447
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5448
 
    break 2
5449
 
  fi
5450
 
done
5451
 
done
5452
 
 
5453
 
fi
5454
 
fi
5455
 
CXX=$ac_cv_prog_CXX
5456
 
if test -n "$CXX"; then
5457
 
  echo "$as_me:$LINENO: result: $CXX" >&5
5458
 
echo "${ECHO_T}$CXX" >&6
5459
 
else
5460
 
  echo "$as_me:$LINENO: result: no" >&5
5461
 
echo "${ECHO_T}no" >&6
5462
 
fi
5463
 
 
5464
 
    test -n "$CXX" && break
5465
 
  done
5466
 
fi
5467
 
if test -z "$CXX"; then
5468
 
  ac_ct_CXX=$CXX
5469
 
  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5470
 
do
5471
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5472
 
set dummy $ac_prog; ac_word=$2
5473
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
5474
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5475
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5477
 
else
5478
 
  if test -n "$ac_ct_CXX"; then
5479
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5480
 
else
5481
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482
 
for as_dir in $PATH
5483
 
do
5484
 
  IFS=$as_save_IFS
5485
 
  test -z "$as_dir" && as_dir=.
5486
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5487
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5488
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5489
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5490
 
    break 2
5491
 
  fi
5492
 
done
5493
 
done
5494
 
 
5495
 
fi
5496
 
fi
5497
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5498
 
if test -n "$ac_ct_CXX"; then
5499
 
  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5500
 
echo "${ECHO_T}$ac_ct_CXX" >&6
5501
 
else
5502
 
  echo "$as_me:$LINENO: result: no" >&5
5503
 
echo "${ECHO_T}no" >&6
5504
 
fi
5505
 
 
5506
 
  test -n "$ac_ct_CXX" && break
5507
 
done
5508
 
test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
5509
 
 
5510
 
  CXX=$ac_ct_CXX
5511
 
fi
5512
 
 
5513
 
 
5514
 
# Provide some information about the compiler.
5515
 
echo "$as_me:$LINENO:" \
5516
 
     "checking for C++ compiler version" >&5
5517
 
ac_compiler=`set X $ac_compile; echo $2`
5518
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5519
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
5520
 
  ac_status=$?
5521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522
 
  (exit $ac_status); }
5523
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5524
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
5525
 
  ac_status=$?
5526
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527
 
  (exit $ac_status); }
5528
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5529
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
5530
 
  ac_status=$?
5531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532
 
  (exit $ac_status); }
5533
 
 
5534
 
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5535
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5536
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5537
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5538
 
else
5539
 
  cat >conftest.$ac_ext <<_ACEOF
5540
 
/* confdefs.h.  */
5541
 
_ACEOF
5542
 
cat confdefs.h >>conftest.$ac_ext
5543
 
cat >>conftest.$ac_ext <<_ACEOF
5544
 
/* end confdefs.h.  */
5545
 
 
5546
 
int
5547
 
main ()
5548
 
{
5549
 
#ifndef __GNUC__
5550
 
       choke me
5551
 
#endif
5552
 
 
5553
 
  ;
5554
 
  return 0;
5555
 
}
5556
 
_ACEOF
5557
 
rm -f conftest.$ac_objext
5558
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5559
 
  (eval $ac_compile) 2>conftest.er1
5560
 
  ac_status=$?
5561
 
  grep -v '^ *+' conftest.er1 >conftest.err
5562
 
  rm -f conftest.er1
5563
 
  cat conftest.err >&5
5564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565
 
  (exit $ac_status); } &&
5566
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5567
 
                         || test ! -s conftest.err'
5568
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569
 
  (eval $ac_try) 2>&5
5570
 
  ac_status=$?
5571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572
 
  (exit $ac_status); }; } &&
5573
 
         { ac_try='test -s conftest.$ac_objext'
5574
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575
 
  (eval $ac_try) 2>&5
5576
 
  ac_status=$?
5577
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578
 
  (exit $ac_status); }; }; then
5579
 
  ac_compiler_gnu=yes
5580
 
else
5581
 
  echo "$as_me: failed program was:" >&5
5582
 
sed 's/^/| /' conftest.$ac_ext >&5
5583
 
 
5584
 
ac_compiler_gnu=no
5585
 
fi
5586
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5587
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5588
 
 
5589
 
fi
5590
 
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5591
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5592
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5593
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5594
 
ac_save_CXXFLAGS=$CXXFLAGS
5595
 
CXXFLAGS="-g"
5596
 
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5597
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5598
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5599
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5600
 
else
5601
 
  cat >conftest.$ac_ext <<_ACEOF
5602
 
/* confdefs.h.  */
5603
 
_ACEOF
5604
 
cat confdefs.h >>conftest.$ac_ext
5605
 
cat >>conftest.$ac_ext <<_ACEOF
5606
 
/* end confdefs.h.  */
5607
 
 
5608
 
int
5609
 
main ()
5610
 
{
5611
 
 
5612
 
  ;
5613
 
  return 0;
5614
 
}
5615
 
_ACEOF
5616
 
rm -f conftest.$ac_objext
5617
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5618
 
  (eval $ac_compile) 2>conftest.er1
5619
 
  ac_status=$?
5620
 
  grep -v '^ *+' conftest.er1 >conftest.err
5621
 
  rm -f conftest.er1
5622
 
  cat conftest.err >&5
5623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624
 
  (exit $ac_status); } &&
5625
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5626
 
                         || test ! -s conftest.err'
5627
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5628
 
  (eval $ac_try) 2>&5
5629
 
  ac_status=$?
5630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631
 
  (exit $ac_status); }; } &&
5632
 
         { ac_try='test -s conftest.$ac_objext'
5633
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634
 
  (eval $ac_try) 2>&5
5635
 
  ac_status=$?
5636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637
 
  (exit $ac_status); }; }; then
5638
 
  ac_cv_prog_cxx_g=yes
5639
 
else
5640
 
  echo "$as_me: failed program was:" >&5
5641
 
sed 's/^/| /' conftest.$ac_ext >&5
5642
 
 
5643
 
ac_cv_prog_cxx_g=no
5644
 
fi
5645
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5646
 
fi
5647
 
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5648
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5649
 
if test "$ac_test_CXXFLAGS" = set; then
5650
 
  CXXFLAGS=$ac_save_CXXFLAGS
5651
 
elif test $ac_cv_prog_cxx_g = yes; then
5652
 
  if test "$GXX" = yes; then
5653
 
    CXXFLAGS="-g -O2"
5654
 
  else
5655
 
    CXXFLAGS="-g"
5656
 
  fi
5657
 
else
5658
 
  if test "$GXX" = yes; then
5659
 
    CXXFLAGS="-O2"
5660
 
  else
5661
 
    CXXFLAGS=
5662
 
  fi
5663
 
fi
5664
 
for ac_declaration in \
5665
 
   '' \
5666
 
   'extern "C" void std::exit (int) throw (); using std::exit;' \
5667
 
   'extern "C" void std::exit (int); using std::exit;' \
5668
 
   'extern "C" void exit (int) throw ();' \
5669
 
   'extern "C" void exit (int);' \
5670
 
   'void exit (int);'
5671
 
do
5672
 
  cat >conftest.$ac_ext <<_ACEOF
5673
 
/* confdefs.h.  */
5674
 
_ACEOF
5675
 
cat confdefs.h >>conftest.$ac_ext
5676
 
cat >>conftest.$ac_ext <<_ACEOF
5677
 
/* end confdefs.h.  */
5678
 
$ac_declaration
5679
 
#include <stdlib.h>
5680
 
int
5681
 
main ()
5682
 
{
5683
 
exit (42);
5684
 
  ;
5685
 
  return 0;
5686
 
}
5687
 
_ACEOF
5688
 
rm -f conftest.$ac_objext
5689
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5690
 
  (eval $ac_compile) 2>conftest.er1
5691
 
  ac_status=$?
5692
 
  grep -v '^ *+' conftest.er1 >conftest.err
5693
 
  rm -f conftest.er1
5694
 
  cat conftest.err >&5
5695
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696
 
  (exit $ac_status); } &&
5697
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5698
 
                         || test ! -s conftest.err'
5699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700
 
  (eval $ac_try) 2>&5
5701
 
  ac_status=$?
5702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703
 
  (exit $ac_status); }; } &&
5704
 
         { ac_try='test -s conftest.$ac_objext'
5705
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5706
 
  (eval $ac_try) 2>&5
5707
 
  ac_status=$?
5708
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709
 
  (exit $ac_status); }; }; then
5710
 
  :
5711
 
else
5712
 
  echo "$as_me: failed program was:" >&5
5713
 
sed 's/^/| /' conftest.$ac_ext >&5
5714
 
 
5715
 
continue
5716
 
fi
5717
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5718
 
  cat >conftest.$ac_ext <<_ACEOF
5719
 
/* confdefs.h.  */
5720
 
_ACEOF
5721
 
cat confdefs.h >>conftest.$ac_ext
5722
 
cat >>conftest.$ac_ext <<_ACEOF
5723
 
/* end confdefs.h.  */
5724
 
$ac_declaration
5725
 
int
5726
 
main ()
5727
 
{
5728
 
exit (42);
5729
 
  ;
5730
 
  return 0;
5731
 
}
5732
 
_ACEOF
5733
 
rm -f conftest.$ac_objext
5734
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5735
 
  (eval $ac_compile) 2>conftest.er1
5736
 
  ac_status=$?
5737
 
  grep -v '^ *+' conftest.er1 >conftest.err
5738
 
  rm -f conftest.er1
5739
 
  cat conftest.err >&5
5740
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741
 
  (exit $ac_status); } &&
5742
 
         { ac_try='test -z "$ac_cxx_werror_flag"
5743
 
                         || test ! -s conftest.err'
5744
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5745
 
  (eval $ac_try) 2>&5
5746
 
  ac_status=$?
5747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748
 
  (exit $ac_status); }; } &&
5749
 
         { ac_try='test -s conftest.$ac_objext'
5750
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5751
 
  (eval $ac_try) 2>&5
5752
 
  ac_status=$?
5753
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5754
 
  (exit $ac_status); }; }; then
5755
 
  break
5756
 
else
5757
 
  echo "$as_me: failed program was:" >&5
5758
 
sed 's/^/| /' conftest.$ac_ext >&5
5759
 
 
5760
 
fi
5761
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5762
 
done
5763
 
rm -f conftest*
5764
 
if test -n "$ac_declaration"; then
5765
 
  echo '#ifdef __cplusplus' >>confdefs.h
5766
 
  echo $ac_declaration      >>confdefs.h
5767
 
  echo '#endif'             >>confdefs.h
5768
 
fi
5769
 
 
5770
 
ac_ext=cc
5771
 
ac_cpp='$CXXCPP $CPPFLAGS'
5772
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5773
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5774
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5775
 
 
5776
 
depcc="$CXX"  am_compiler_list=
5777
 
 
5778
 
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5779
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
5780
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5781
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5782
 
else
5783
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5784
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5785
 
  # making bogus files that we don't know about and never remove.  For
5786
 
  # instance it was reported that on HP-UX the gcc test will end up
5787
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5788
 
  # in D'.
5789
 
  mkdir conftest.dir
5790
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5791
 
  # using a relative directory.
5792
 
  cp "$am_depcomp" conftest.dir
5793
 
  cd conftest.dir
5794
 
  # We will build objects and dependencies in a subdirectory because
5795
 
  # it helps to detect inapplicable dependency modes.  For instance
5796
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5797
 
  # side effect of compilation, but ICC will put the dependencies in
5798
 
  # the current directory while Tru64 will put them in the object
5799
 
  # directory.
5800
 
  mkdir sub
5801
 
 
5802
 
  am_cv_CXX_dependencies_compiler_type=none
5803
 
  if test "$am_compiler_list" = ""; then
5804
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5805
 
  fi
5806
 
  for depmode in $am_compiler_list; do
5807
 
    # Setup a source with many dependencies, because some compilers
5808
 
    # like to wrap large dependency lists on column 80 (with \), and
5809
 
    # we should not choose a depcomp mode which is confused by this.
5810
 
    #
5811
 
    # We need to recreate these files for each test, as the compiler may
5812
 
    # overwrite some of them when testing with obscure command lines.
5813
 
    # This happens at least with the AIX C compiler.
5814
 
    : > sub/conftest.c
5815
 
    for i in 1 2 3 4 5 6; do
5816
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5817
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5818
 
      # Solaris 8's {/usr,}/bin/sh.
5819
 
      touch sub/conftst$i.h
5820
 
    done
5821
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5822
 
 
5823
 
    case $depmode in
5824
 
    nosideeffect)
5825
 
      # after this tag, mechanisms are not by side-effect, so they'll
5826
 
      # only be used when explicitly requested
5827
 
      if test "x$enable_dependency_tracking" = xyes; then
5828
 
        continue
5829
 
      else
5830
 
        break
5831
 
      fi
5832
 
      ;;
5833
 
    none) break ;;
5834
 
    esac
5835
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5836
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5837
 
    # handle `-M -o', and we need to detect this.
5838
 
    if depmode=$depmode \
5839
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5840
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5841
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5842
 
         >/dev/null 2>conftest.err &&
5843
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5844
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5845
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5846
 
      # icc doesn't choke on unknown options, it will just issue warnings
5847
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5848
 
      # that says an option was ignored or not supported.
5849
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5850
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5851
 
      # The diagnosis changed in icc 8.0:
5852
 
      #   icc: Command line remark: option '-MP' not supported
5853
 
      if (grep 'ignoring option' conftest.err ||
5854
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5855
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5856
 
        break
5857
 
      fi
5858
 
    fi
5859
 
  done
5860
 
 
5861
 
  cd ..
5862
 
  rm -rf conftest.dir
5863
 
else
5864
 
  am_cv_CXX_dependencies_compiler_type=none
5865
 
fi
5866
 
 
5867
 
fi
5868
 
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5869
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
5870
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5871
 
 
5872
 
 
5873
 
 
5874
 
if
5875
 
  test "x$enable_dependency_tracking" != xno \
5876
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5877
 
  am__fastdepCXX_TRUE=
5878
 
  am__fastdepCXX_FALSE='#'
5879
 
else
5880
 
  am__fastdepCXX_TRUE='#'
5881
 
  am__fastdepCXX_FALSE=
5882
 
fi
5883
 
 
5884
 
 
5885
 
 
5886
 
 
5887
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5888
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5889
 
    (test "X$CXX" != "Xg++"))) ; then
5890
 
  ac_ext=cc
5891
 
ac_cpp='$CXXCPP $CPPFLAGS'
5892
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5893
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5894
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5895
 
echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5896
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5897
 
if test -z "$CXXCPP"; then
5898
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5899
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5900
 
else
5901
 
      # Double quotes because CXXCPP needs to be expanded
5902
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
5903
 
    do
5904
 
      ac_preproc_ok=false
5905
 
for ac_cxx_preproc_warn_flag in '' yes
5906
 
do
5907
 
  # Use a header file that comes with gcc, so configuring glibc
5908
 
  # with a fresh cross-compiler works.
5909
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5910
 
  # <limits.h> exists even on freestanding compilers.
5911
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5912
 
  # not just through cpp. "Syntax error" is here to catch this case.
5913
 
  cat >conftest.$ac_ext <<_ACEOF
5914
 
/* confdefs.h.  */
5915
 
_ACEOF
5916
 
cat confdefs.h >>conftest.$ac_ext
5917
 
cat >>conftest.$ac_ext <<_ACEOF
5918
 
/* end confdefs.h.  */
5919
 
#ifdef __STDC__
5920
 
# include <limits.h>
5921
 
#else
5922
 
# include <assert.h>
5923
 
#endif
5924
 
                     Syntax error
5925
 
_ACEOF
5926
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5927
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5928
 
  ac_status=$?
5929
 
  grep -v '^ *+' conftest.er1 >conftest.err
5930
 
  rm -f conftest.er1
5931
 
  cat conftest.err >&5
5932
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933
 
  (exit $ac_status); } >/dev/null; then
5934
 
  if test -s conftest.err; then
5935
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5936
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5937
 
  else
5938
 
    ac_cpp_err=
5939
 
  fi
5940
 
else
5941
 
  ac_cpp_err=yes
5942
 
fi
5943
 
if test -z "$ac_cpp_err"; then
5944
 
  :
5945
 
else
5946
 
  echo "$as_me: failed program was:" >&5
5947
 
sed 's/^/| /' conftest.$ac_ext >&5
5948
 
 
5949
 
  # Broken: fails on valid input.
5950
 
continue
5951
 
fi
5952
 
rm -f conftest.err conftest.$ac_ext
5953
 
 
5954
 
  # OK, works on sane cases.  Now check whether non-existent headers
5955
 
  # can be detected and how.
5956
 
  cat >conftest.$ac_ext <<_ACEOF
5957
 
/* confdefs.h.  */
5958
 
_ACEOF
5959
 
cat confdefs.h >>conftest.$ac_ext
5960
 
cat >>conftest.$ac_ext <<_ACEOF
5961
 
/* end confdefs.h.  */
5962
 
#include <ac_nonexistent.h>
5963
 
_ACEOF
5964
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5965
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5966
 
  ac_status=$?
5967
 
  grep -v '^ *+' conftest.er1 >conftest.err
5968
 
  rm -f conftest.er1
5969
 
  cat conftest.err >&5
5970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971
 
  (exit $ac_status); } >/dev/null; then
5972
 
  if test -s conftest.err; then
5973
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5974
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5975
 
  else
5976
 
    ac_cpp_err=
5977
 
  fi
5978
 
else
5979
 
  ac_cpp_err=yes
5980
 
fi
5981
 
if test -z "$ac_cpp_err"; then
5982
 
  # Broken: success on invalid input.
5983
 
continue
5984
 
else
5985
 
  echo "$as_me: failed program was:" >&5
5986
 
sed 's/^/| /' conftest.$ac_ext >&5
5987
 
 
5988
 
  # Passes both tests.
5989
 
ac_preproc_ok=:
5990
 
break
5991
 
fi
5992
 
rm -f conftest.err conftest.$ac_ext
5993
 
 
5994
 
done
5995
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5996
 
rm -f conftest.err conftest.$ac_ext
5997
 
if $ac_preproc_ok; then
5998
 
  break
5999
 
fi
6000
 
 
6001
 
    done
6002
 
    ac_cv_prog_CXXCPP=$CXXCPP
6003
 
 
6004
 
fi
6005
 
  CXXCPP=$ac_cv_prog_CXXCPP
6006
 
else
6007
 
  ac_cv_prog_CXXCPP=$CXXCPP
6008
 
fi
6009
 
echo "$as_me:$LINENO: result: $CXXCPP" >&5
6010
 
echo "${ECHO_T}$CXXCPP" >&6
6011
 
ac_preproc_ok=false
6012
 
for ac_cxx_preproc_warn_flag in '' yes
6013
 
do
6014
 
  # Use a header file that comes with gcc, so configuring glibc
6015
 
  # with a fresh cross-compiler works.
6016
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6017
 
  # <limits.h> exists even on freestanding compilers.
6018
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6019
 
  # not just through cpp. "Syntax error" is here to catch this case.
6020
 
  cat >conftest.$ac_ext <<_ACEOF
6021
 
/* confdefs.h.  */
6022
 
_ACEOF
6023
 
cat confdefs.h >>conftest.$ac_ext
6024
 
cat >>conftest.$ac_ext <<_ACEOF
6025
 
/* end confdefs.h.  */
6026
 
#ifdef __STDC__
6027
 
# include <limits.h>
6028
 
#else
6029
 
# include <assert.h>
6030
 
#endif
6031
 
                     Syntax error
6032
 
_ACEOF
6033
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6034
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6035
 
  ac_status=$?
6036
 
  grep -v '^ *+' conftest.er1 >conftest.err
6037
 
  rm -f conftest.er1
6038
 
  cat conftest.err >&5
6039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040
 
  (exit $ac_status); } >/dev/null; then
6041
 
  if test -s conftest.err; then
6042
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6043
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6044
 
  else
6045
 
    ac_cpp_err=
6046
 
  fi
6047
 
else
6048
 
  ac_cpp_err=yes
6049
 
fi
6050
 
if test -z "$ac_cpp_err"; then
6051
 
  :
6052
 
else
6053
 
  echo "$as_me: failed program was:" >&5
6054
 
sed 's/^/| /' conftest.$ac_ext >&5
6055
 
 
6056
 
  # Broken: fails on valid input.
6057
 
continue
6058
 
fi
6059
 
rm -f conftest.err conftest.$ac_ext
6060
 
 
6061
 
  # OK, works on sane cases.  Now check whether non-existent headers
6062
 
  # can be detected and how.
6063
 
  cat >conftest.$ac_ext <<_ACEOF
6064
 
/* confdefs.h.  */
6065
 
_ACEOF
6066
 
cat confdefs.h >>conftest.$ac_ext
6067
 
cat >>conftest.$ac_ext <<_ACEOF
6068
 
/* end confdefs.h.  */
6069
 
#include <ac_nonexistent.h>
6070
 
_ACEOF
6071
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6072
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6073
 
  ac_status=$?
6074
 
  grep -v '^ *+' conftest.er1 >conftest.err
6075
 
  rm -f conftest.er1
6076
 
  cat conftest.err >&5
6077
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078
 
  (exit $ac_status); } >/dev/null; then
6079
 
  if test -s conftest.err; then
6080
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6081
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6082
 
  else
6083
 
    ac_cpp_err=
6084
 
  fi
6085
 
else
6086
 
  ac_cpp_err=yes
6087
 
fi
6088
 
if test -z "$ac_cpp_err"; then
6089
 
  # Broken: success on invalid input.
6090
 
continue
6091
 
else
6092
 
  echo "$as_me: failed program was:" >&5
6093
 
sed 's/^/| /' conftest.$ac_ext >&5
6094
 
 
6095
 
  # Passes both tests.
6096
 
ac_preproc_ok=:
6097
 
break
6098
 
fi
6099
 
rm -f conftest.err conftest.$ac_ext
6100
 
 
6101
 
done
6102
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6103
 
rm -f conftest.err conftest.$ac_ext
6104
 
if $ac_preproc_ok; then
6105
 
  :
6106
 
else
6107
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6108
 
See \`config.log' for more details." >&5
6109
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6110
 
See \`config.log' for more details." >&2;}
6111
 
   { (exit 1); exit 1; }; }
6112
 
fi
6113
 
 
6114
 
ac_ext=cc
6115
 
ac_cpp='$CXXCPP $CPPFLAGS'
6116
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6117
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6118
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6119
 
 
6120
 
fi
6121
 
 
6122
 
 
6123
 
ac_ext=f
6124
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6125
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6126
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6127
 
if test -n "$ac_tool_prefix"; then
6128
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6129
 
  do
6130
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6131
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6132
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6133
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6134
 
if test "${ac_cv_prog_F77+set}" = set; then
6135
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6136
 
else
6137
 
  if test -n "$F77"; then
6138
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6139
 
else
6140
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141
 
for as_dir in $PATH
6142
 
do
6143
 
  IFS=$as_save_IFS
6144
 
  test -z "$as_dir" && as_dir=.
6145
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6146
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6147
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6148
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6149
 
    break 2
6150
 
  fi
6151
 
done
6152
 
done
6153
 
 
6154
 
fi
6155
 
fi
6156
 
F77=$ac_cv_prog_F77
6157
 
if test -n "$F77"; then
6158
 
  echo "$as_me:$LINENO: result: $F77" >&5
6159
 
echo "${ECHO_T}$F77" >&6
6160
 
else
6161
 
  echo "$as_me:$LINENO: result: no" >&5
6162
 
echo "${ECHO_T}no" >&6
6163
 
fi
6164
 
 
6165
 
    test -n "$F77" && break
6166
 
  done
6167
 
fi
6168
 
if test -z "$F77"; then
6169
 
  ac_ct_F77=$F77
6170
 
  for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6171
 
do
6172
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6173
 
set dummy $ac_prog; ac_word=$2
6174
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6175
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6176
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6177
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6178
 
else
6179
 
  if test -n "$ac_ct_F77"; then
6180
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6181
 
else
6182
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183
 
for as_dir in $PATH
6184
 
do
6185
 
  IFS=$as_save_IFS
6186
 
  test -z "$as_dir" && as_dir=.
6187
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6188
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6189
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6190
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6191
 
    break 2
6192
 
  fi
6193
 
done
6194
 
done
6195
 
 
6196
 
fi
6197
 
fi
6198
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6199
 
if test -n "$ac_ct_F77"; then
6200
 
  echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6201
 
echo "${ECHO_T}$ac_ct_F77" >&6
6202
 
else
6203
 
  echo "$as_me:$LINENO: result: no" >&5
6204
 
echo "${ECHO_T}no" >&6
6205
 
fi
6206
 
 
6207
 
  test -n "$ac_ct_F77" && break
6208
 
done
6209
 
 
6210
 
  F77=$ac_ct_F77
6211
 
fi
6212
 
 
6213
 
 
6214
 
# Provide some information about the compiler.
6215
 
echo "$as_me:6215:" \
6216
 
     "checking for Fortran 77 compiler version" >&5
6217
 
ac_compiler=`set X $ac_compile; echo $2`
6218
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6219
 
  (eval $ac_compiler --version </dev/null >&5) 2>&5
6220
 
  ac_status=$?
6221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222
 
  (exit $ac_status); }
6223
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6224
 
  (eval $ac_compiler -v </dev/null >&5) 2>&5
6225
 
  ac_status=$?
6226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227
 
  (exit $ac_status); }
6228
 
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6229
 
  (eval $ac_compiler -V </dev/null >&5) 2>&5
6230
 
  ac_status=$?
6231
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232
 
  (exit $ac_status); }
6233
 
rm -f a.out
6234
 
 
6235
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6236
 
# input file.  (Note that this only needs to work for GNU compilers.)
6237
 
ac_save_ext=$ac_ext
6238
 
ac_ext=F
6239
 
echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6240
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
6241
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6242
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6243
 
else
6244
 
  cat >conftest.$ac_ext <<_ACEOF
6245
 
      program main
6246
 
#ifndef __GNUC__
6247
 
       choke me
6248
 
#endif
6249
 
 
6250
 
      end
6251
 
_ACEOF
6252
 
rm -f conftest.$ac_objext
6253
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6254
 
  (eval $ac_compile) 2>conftest.er1
6255
 
  ac_status=$?
6256
 
  grep -v '^ *+' conftest.er1 >conftest.err
6257
 
  rm -f conftest.er1
6258
 
  cat conftest.err >&5
6259
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260
 
  (exit $ac_status); } &&
6261
 
         { ac_try='test -z "$ac_f77_werror_flag"
6262
 
                         || test ! -s conftest.err'
6263
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6264
 
  (eval $ac_try) 2>&5
6265
 
  ac_status=$?
6266
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6267
 
  (exit $ac_status); }; } &&
6268
 
         { ac_try='test -s conftest.$ac_objext'
6269
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6270
 
  (eval $ac_try) 2>&5
6271
 
  ac_status=$?
6272
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273
 
  (exit $ac_status); }; }; then
6274
 
  ac_compiler_gnu=yes
6275
 
else
6276
 
  echo "$as_me: failed program was:" >&5
6277
 
sed 's/^/| /' conftest.$ac_ext >&5
6278
 
 
6279
 
ac_compiler_gnu=no
6280
 
fi
6281
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6282
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6283
 
 
6284
 
fi
6285
 
echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6286
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
6287
 
ac_ext=$ac_save_ext
6288
 
ac_test_FFLAGS=${FFLAGS+set}
6289
 
ac_save_FFLAGS=$FFLAGS
6290
 
FFLAGS=
6291
 
echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6292
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
6293
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6294
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6295
 
else
6296
 
  FFLAGS=-g
6297
 
cat >conftest.$ac_ext <<_ACEOF
6298
 
      program main
6299
 
 
6300
 
      end
6301
 
_ACEOF
6302
 
rm -f conftest.$ac_objext
6303
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6304
 
  (eval $ac_compile) 2>conftest.er1
6305
 
  ac_status=$?
6306
 
  grep -v '^ *+' conftest.er1 >conftest.err
6307
 
  rm -f conftest.er1
6308
 
  cat conftest.err >&5
6309
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310
 
  (exit $ac_status); } &&
6311
 
         { ac_try='test -z "$ac_f77_werror_flag"
6312
 
                         || test ! -s conftest.err'
6313
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6314
 
  (eval $ac_try) 2>&5
6315
 
  ac_status=$?
6316
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6317
 
  (exit $ac_status); }; } &&
6318
 
         { ac_try='test -s conftest.$ac_objext'
6319
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6320
 
  (eval $ac_try) 2>&5
6321
 
  ac_status=$?
6322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323
 
  (exit $ac_status); }; }; then
6324
 
  ac_cv_prog_f77_g=yes
6325
 
else
6326
 
  echo "$as_me: failed program was:" >&5
6327
 
sed 's/^/| /' conftest.$ac_ext >&5
6328
 
 
6329
 
ac_cv_prog_f77_g=no
6330
 
fi
6331
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6332
 
 
6333
 
fi
6334
 
echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6335
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
6336
 
if test "$ac_test_FFLAGS" = set; then
6337
 
  FFLAGS=$ac_save_FFLAGS
6338
 
elif test $ac_cv_prog_f77_g = yes; then
6339
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6340
 
    FFLAGS="-g -O2"
6341
 
  else
6342
 
    FFLAGS="-g"
6343
 
  fi
6344
 
else
6345
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6346
 
    FFLAGS="-O2"
6347
 
  else
6348
 
    FFLAGS=
6349
 
  fi
6350
 
fi
6351
 
 
6352
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6353
 
ac_ext=c
6354
 
ac_cpp='$CPP $CPPFLAGS'
6355
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6356
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6357
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6358
 
 
6359
 
 
6360
 
 
6361
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6362
 
 
6363
 
# find the maximum length of command line arguments
6364
 
echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6365
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6366
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6367
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6368
 
else
6369
 
    i=0
6370
 
  teststring="ABCD"
6371
 
 
6372
 
  case $build_os in
6373
 
  msdosdjgpp*)
6374
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6375
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6376
 
    # during glob expansion).  Even if it were fixed, the result of this
6377
 
    # check would be larger than it should be.
6378
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6379
 
    ;;
6380
 
 
6381
 
  gnu*)
6382
 
    # Under GNU Hurd, this test is not required because there is
6383
 
    # no limit to the length of command line arguments.
6384
 
    # Libtool will interpret -1 as no limit whatsoever
6385
 
    lt_cv_sys_max_cmd_len=-1;
6386
 
    ;;
6387
 
 
6388
 
  cygwin* | mingw*)
6389
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6390
 
    # about 5 minutes as the teststring grows exponentially.
6391
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6392
 
    # you end up with a "frozen" computer, even though with patience
6393
 
    # the test eventually succeeds (with a max line length of 256k).
6394
 
    # Instead, let's just punt: use the minimum linelength reported by
6395
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6396
 
    lt_cv_sys_max_cmd_len=8192;
6397
 
    ;;
6398
 
 
6399
 
  amigaos*)
6400
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6401
 
    # So we just punt and use a minimum line length of 8192.
6402
 
    lt_cv_sys_max_cmd_len=8192;
6403
 
    ;;
6404
 
 
6405
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6406
 
    # This has been around since 386BSD, at least.  Likely further.
6407
 
    if test -x /sbin/sysctl; then
6408
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6409
 
    elif test -x /usr/sbin/sysctl; then
6410
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6411
 
    else
6412
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6413
 
    fi
6414
 
    # And add a safety zone
6415
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6416
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6417
 
    ;;
6418
 
 
6419
 
  interix*)
6420
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6421
 
    lt_cv_sys_max_cmd_len=196608
6422
 
    ;;
6423
 
 
6424
 
  osf*)
6425
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6426
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6427
 
    # nice to cause kernel panics so lets avoid the loop below.
6428
 
    # First set a reasonable default.
6429
 
    lt_cv_sys_max_cmd_len=16384
6430
 
    #
6431
 
    if test -x /sbin/sysconfig; then
6432
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6433
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6434
 
      esac
6435
 
    fi
6436
 
    ;;
6437
 
  sco3.2v5*)
6438
 
    lt_cv_sys_max_cmd_len=102400
6439
 
    ;;
6440
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6441
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6442
 
    if test -n "$kargmax"; then
6443
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6444
 
    else
6445
 
      lt_cv_sys_max_cmd_len=32768
6446
 
    fi
6447
 
    ;;
6448
 
  *)
6449
 
    # If test is not a shell built-in, we'll probably end up computing a
6450
 
    # maximum length that is only half of the actual maximum length, but
6451
 
    # we can't tell.
6452
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6453
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6454
 
               = "XX$teststring") >/dev/null 2>&1 &&
6455
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6456
 
            lt_cv_sys_max_cmd_len=$new_result &&
6457
 
            test $i != 17 # 1/2 MB should be enough
6458
 
    do
6459
 
      i=`expr $i + 1`
6460
 
      teststring=$teststring$teststring
6461
 
    done
6462
 
    teststring=
6463
 
    # Add a significant safety factor because C++ compilers can tack on massive
6464
 
    # amounts of additional arguments before passing them to the linker.
6465
 
    # It appears as though 1/2 is a usable value.
6466
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6467
 
    ;;
6468
 
  esac
6469
 
 
6470
 
fi
6471
 
 
6472
 
if test -n $lt_cv_sys_max_cmd_len ; then
6473
 
  echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6474
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6475
 
else
6476
 
  echo "$as_me:$LINENO: result: none" >&5
6477
 
echo "${ECHO_T}none" >&6
6478
 
fi
6479
 
 
6480
 
 
6481
 
 
6482
 
 
6483
6541
# Check for command to grab the raw symbol name followed by C symbol from nm.
6484
 
echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6485
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
 
6542
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6543
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6486
6544
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6487
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6545
  $as_echo_n "(cached) " >&6
6488
6546
else
6489
6547
 
6490
6548
# These are sane defaults that work on at least a few old systems.
6496
6554
# Regexp to match symbols that can be accessed directly from C.
6497
6555
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6498
6556
 
6499
 
# Transform an extracted symbol line into a proper C declaration
6500
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6501
 
 
6502
 
# Transform an extracted symbol line into symbol name and symbol address
6503
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6504
 
 
6505
6557
# Define system-specific variables.
6506
6558
case $host_os in
6507
6559
aix*)
6508
6560
  symcode='[BCDT]'
6509
6561
  ;;
6510
 
cygwin* | mingw* | pw32*)
 
6562
cygwin* | mingw* | pw32* | cegcc*)
6511
6563
  symcode='[ABCDGISTW]'
6512
6564
  ;;
6513
 
hpux*) # Its linker distinguishes data from code symbols
 
6565
hpux*)
6514
6566
  if test "$host_cpu" = ia64; then
6515
6567
    symcode='[ABCDEGRST]'
6516
6568
  fi
6517
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6518
 
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6519
 
  ;;
6520
 
linux*)
6521
 
  if test "$host_cpu" = ia64; then
6522
 
    symcode='[ABCDGIRSTW]'
6523
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6524
 
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
6525
 
  fi
6526
6569
  ;;
6527
6570
irix* | nonstopux*)
6528
6571
  symcode='[BCDEGRST]'
6547
6590
  ;;
6548
6591
esac
6549
6592
 
 
6593
# If we're using GNU nm, then use its standard symbol codes.
 
6594
case `$NM -V 2>&1` in
 
6595
*GNU* | *'with BFD'*)
 
6596
  symcode='[ABCDGIRSTW]' ;;
 
6597
esac
 
6598
 
 
6599
# Transform an extracted symbol line into a proper C declaration.
 
6600
# Some systems (esp. on ia64) link data and code symbols differently,
 
6601
# so use this general approach.
 
6602
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6603
 
 
6604
# Transform an extracted symbol line into symbol name and symbol address
 
6605
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6606
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
6607
 
6550
6608
# Handle CRLF in mingw tool chain
6551
6609
opt_cr=
6552
6610
case $build_os in
6553
6611
mingw*)
6554
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6612
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6555
6613
  ;;
6556
6614
esac
6557
6615
 
6558
 
# If we're using GNU nm, then use its standard symbol codes.
6559
 
case `$NM -V 2>&1` in
6560
 
*GNU* | *'with BFD'*)
6561
 
  symcode='[ABCDGIRSTW]' ;;
6562
 
esac
6563
 
 
6564
 
# Try without a prefix undercore, then with it.
 
6616
# Try without a prefix underscore, then with it.
6565
6617
for ac_symprfx in "" "_"; do
6566
6618
 
6567
6619
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6568
6620
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6569
6621
 
6570
6622
  # Write the raw and C identifiers.
6571
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6623
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6624
    # Fake it for dumpbin and say T for any non-static function
 
6625
    # and D for any global variable.
 
6626
    # Also find C++ and __fastcall symbols from MSVC++,
 
6627
    # which start with @ or ?.
 
6628
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6629
"     {last_section=section; section=\$ 3};"\
 
6630
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6631
"     \$ 0!~/External *\|/{next};"\
 
6632
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6633
"     {if(hide[section]) next};"\
 
6634
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6635
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6636
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6637
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6638
"     ' prfx=^$ac_symprfx"
 
6639
  else
 
6640
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6641
  fi
6572
6642
 
6573
6643
  # Check to see that the pipe works correctly.
6574
6644
  pipe_works=no
6575
6645
 
6576
6646
  rm -f conftest*
6577
 
  cat > conftest.$ac_ext <<EOF
 
6647
  cat > conftest.$ac_ext <<_LT_EOF
6578
6648
#ifdef __cplusplus
6579
6649
extern "C" {
6580
6650
#endif
6581
6651
char nm_test_var;
6582
 
void nm_test_func(){}
 
6652
void nm_test_func(void);
 
6653
void nm_test_func(void){}
6583
6654
#ifdef __cplusplus
6584
6655
}
6585
6656
#endif
6586
6657
int main(){nm_test_var='a';nm_test_func();return(0);}
6587
 
EOF
 
6658
_LT_EOF
6588
6659
 
6589
6660
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6590
6661
  (eval $ac_compile) 2>&5
6591
6662
  ac_status=$?
6592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6663
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593
6664
  (exit $ac_status); }; then
6594
6665
    # Now try to grab the symbols.
6595
6666
    nlist=conftest.nm
6596
6667
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6597
6668
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6598
6669
  ac_status=$?
6599
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6670
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600
6671
  (exit $ac_status); } && test -s "$nlist"; then
6601
6672
      # Try sorting and uniquifying the output.
6602
6673
      if sort "$nlist" | uniq > "$nlist"T; then
6606
6677
      fi
6607
6678
 
6608
6679
      # Make sure that we snagged all the symbols we need.
6609
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6610
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6611
 
          cat <<EOF > conftest.$ac_ext
 
6680
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6681
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6682
          cat <<_LT_EOF > conftest.$ac_ext
6612
6683
#ifdef __cplusplus
6613
6684
extern "C" {
6614
6685
#endif
6615
6686
 
6616
 
EOF
 
6687
_LT_EOF
6617
6688
          # Now generate the symbol file.
6618
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6619
 
 
6620
 
          cat <<EOF >> conftest.$ac_ext
6621
 
#if defined (__STDC__) && __STDC__
6622
 
# define lt_ptr_t void *
6623
 
#else
6624
 
# define lt_ptr_t char *
6625
 
# define const
6626
 
#endif
6627
 
 
6628
 
/* The mapping between symbol names and symbols. */
 
6689
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6690
 
 
6691
          cat <<_LT_EOF >> conftest.$ac_ext
 
6692
 
 
6693
/* The mapping between symbol names and symbols.  */
6629
6694
const struct {
6630
6695
  const char *name;
6631
 
  lt_ptr_t address;
 
6696
  void       *address;
6632
6697
}
6633
 
lt_preloaded_symbols[] =
 
6698
lt__PROGRAM__LTX_preloaded_symbols[] =
6634
6699
{
6635
 
EOF
6636
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6637
 
          cat <<\EOF >> conftest.$ac_ext
6638
 
  {0, (lt_ptr_t) 0}
 
6700
  { "@PROGRAM@", (void *) 0 },
 
6701
_LT_EOF
 
6702
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6703
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6704
  {0, (void *) 0}
6639
6705
};
6640
6706
 
 
6707
/* This works around a problem in FreeBSD linker */
 
6708
#ifdef FREEBSD_WORKAROUND
 
6709
static const void *lt_preloaded_setup() {
 
6710
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6711
}
 
6712
#endif
 
6713
 
6641
6714
#ifdef __cplusplus
6642
6715
}
6643
6716
#endif
6644
 
EOF
 
6717
_LT_EOF
6645
6718
          # Now try linking the two files.
6646
6719
          mv conftest.$ac_objext conftstm.$ac_objext
6647
6720
          lt_save_LIBS="$LIBS"
6651
6724
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6652
6725
  (eval $ac_link) 2>&5
6653
6726
  ac_status=$?
6654
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6727
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655
6728
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6656
6729
            pipe_works=yes
6657
6730
          fi
6670
6743
    echo "$progname: failed program was:" >&5
6671
6744
    cat conftest.$ac_ext >&5
6672
6745
  fi
6673
 
  rm -f conftest* conftst*
 
6746
  rm -rf conftest* conftst*
6674
6747
 
6675
6748
  # Do not use the global_symbol_pipe unless it works.
6676
6749
  if test "$pipe_works" = yes; then
6686
6759
  lt_cv_sys_global_symbol_to_cdecl=
6687
6760
fi
6688
6761
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6689
 
  echo "$as_me:$LINENO: result: failed" >&5
6690
 
echo "${ECHO_T}failed" >&6
6691
 
else
6692
 
  echo "$as_me:$LINENO: result: ok" >&5
6693
 
echo "${ECHO_T}ok" >&6
6694
 
fi
6695
 
 
6696
 
echo "$as_me:$LINENO: checking for objdir" >&5
6697
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6
 
6762
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6763
$as_echo "failed" >&6; }
 
6764
else
 
6765
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6766
$as_echo "ok" >&6; }
 
6767
fi
 
6768
 
 
6769
 
 
6770
 
 
6771
 
 
6772
 
 
6773
 
 
6774
 
 
6775
 
 
6776
 
 
6777
 
 
6778
 
 
6779
 
 
6780
 
 
6781
 
 
6782
 
 
6783
 
 
6784
 
 
6785
 
 
6786
 
 
6787
 
 
6788
 
 
6789
 
 
6790
 
 
6791
# Check whether --enable-libtool-lock was given.
 
6792
if test "${enable_libtool_lock+set}" = set; then
 
6793
  enableval=$enable_libtool_lock;
 
6794
fi
 
6795
 
 
6796
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6797
 
 
6798
# Some flags need to be propagated to the compiler or linker for good
 
6799
# libtool support.
 
6800
case $host in
 
6801
ia64-*-hpux*)
 
6802
  # Find out which ABI we are using.
 
6803
  echo 'int i;' > conftest.$ac_ext
 
6804
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6805
  (eval $ac_compile) 2>&5
 
6806
  ac_status=$?
 
6807
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6808
  (exit $ac_status); }; then
 
6809
    case `/usr/bin/file conftest.$ac_objext` in
 
6810
      *ELF-32*)
 
6811
        HPUX_IA64_MODE="32"
 
6812
        ;;
 
6813
      *ELF-64*)
 
6814
        HPUX_IA64_MODE="64"
 
6815
        ;;
 
6816
    esac
 
6817
  fi
 
6818
  rm -rf conftest*
 
6819
  ;;
 
6820
*-*-irix6*)
 
6821
  # Find out which ABI we are using.
 
6822
  echo '#line 6822 "configure"' > conftest.$ac_ext
 
6823
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6824
  (eval $ac_compile) 2>&5
 
6825
  ac_status=$?
 
6826
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6827
  (exit $ac_status); }; then
 
6828
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6829
      case `/usr/bin/file conftest.$ac_objext` in
 
6830
        *32-bit*)
 
6831
          LD="${LD-ld} -melf32bsmip"
 
6832
          ;;
 
6833
        *N32*)
 
6834
          LD="${LD-ld} -melf32bmipn32"
 
6835
          ;;
 
6836
        *64-bit*)
 
6837
          LD="${LD-ld} -melf64bmip"
 
6838
        ;;
 
6839
      esac
 
6840
    else
 
6841
      case `/usr/bin/file conftest.$ac_objext` in
 
6842
        *32-bit*)
 
6843
          LD="${LD-ld} -32"
 
6844
          ;;
 
6845
        *N32*)
 
6846
          LD="${LD-ld} -n32"
 
6847
          ;;
 
6848
        *64-bit*)
 
6849
          LD="${LD-ld} -64"
 
6850
          ;;
 
6851
      esac
 
6852
    fi
 
6853
  fi
 
6854
  rm -rf conftest*
 
6855
  ;;
 
6856
 
 
6857
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6858
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6859
  # Find out which ABI we are using.
 
6860
  echo 'int i;' > conftest.$ac_ext
 
6861
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6862
  (eval $ac_compile) 2>&5
 
6863
  ac_status=$?
 
6864
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6865
  (exit $ac_status); }; then
 
6866
    case `/usr/bin/file conftest.o` in
 
6867
      *32-bit*)
 
6868
        case $host in
 
6869
          x86_64-*kfreebsd*-gnu)
 
6870
            LD="${LD-ld} -m elf_i386_fbsd"
 
6871
            ;;
 
6872
          x86_64-*linux*)
 
6873
            LD="${LD-ld} -m elf_i386"
 
6874
            ;;
 
6875
          ppc64-*linux*|powerpc64-*linux*)
 
6876
            LD="${LD-ld} -m elf32ppclinux"
 
6877
            ;;
 
6878
          s390x-*linux*)
 
6879
            LD="${LD-ld} -m elf_s390"
 
6880
            ;;
 
6881
          sparc64-*linux*)
 
6882
            LD="${LD-ld} -m elf32_sparc"
 
6883
            ;;
 
6884
        esac
 
6885
        ;;
 
6886
      *64-bit*)
 
6887
        case $host in
 
6888
          x86_64-*kfreebsd*-gnu)
 
6889
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6890
            ;;
 
6891
          x86_64-*linux*)
 
6892
            LD="${LD-ld} -m elf_x86_64"
 
6893
            ;;
 
6894
          ppc*-*linux*|powerpc*-*linux*)
 
6895
            LD="${LD-ld} -m elf64ppc"
 
6896
            ;;
 
6897
          s390*-*linux*|s390*-*tpf*)
 
6898
            LD="${LD-ld} -m elf64_s390"
 
6899
            ;;
 
6900
          sparc*-*linux*)
 
6901
            LD="${LD-ld} -m elf64_sparc"
 
6902
            ;;
 
6903
        esac
 
6904
        ;;
 
6905
    esac
 
6906
  fi
 
6907
  rm -rf conftest*
 
6908
  ;;
 
6909
 
 
6910
*-*-sco3.2v5*)
 
6911
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6912
  SAVE_CFLAGS="$CFLAGS"
 
6913
  CFLAGS="$CFLAGS -belf"
 
6914
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6915
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6916
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6917
  $as_echo_n "(cached) " >&6
 
6918
else
 
6919
  ac_ext=c
 
6920
ac_cpp='$CPP $CPPFLAGS'
 
6921
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6922
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6923
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6924
 
 
6925
     cat >conftest.$ac_ext <<_ACEOF
 
6926
/* confdefs.h.  */
 
6927
_ACEOF
 
6928
cat confdefs.h >>conftest.$ac_ext
 
6929
cat >>conftest.$ac_ext <<_ACEOF
 
6930
/* end confdefs.h.  */
 
6931
 
 
6932
int
 
6933
main ()
 
6934
{
 
6935
 
 
6936
  ;
 
6937
  return 0;
 
6938
}
 
6939
_ACEOF
 
6940
rm -f conftest.$ac_objext conftest$ac_exeext
 
6941
if { (ac_try="$ac_link"
 
6942
case "(($ac_try" in
 
6943
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6944
  *) ac_try_echo=$ac_try;;
 
6945
esac
 
6946
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6947
$as_echo "$ac_try_echo") >&5
 
6948
  (eval "$ac_link") 2>conftest.er1
 
6949
  ac_status=$?
 
6950
  grep -v '^ *+' conftest.er1 >conftest.err
 
6951
  rm -f conftest.er1
 
6952
  cat conftest.err >&5
 
6953
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6954
  (exit $ac_status); } && {
 
6955
         test -z "$ac_c_werror_flag" ||
 
6956
         test ! -s conftest.err
 
6957
       } && test -s conftest$ac_exeext && {
 
6958
         test "$cross_compiling" = yes ||
 
6959
         $as_test_x conftest$ac_exeext
 
6960
       }; then
 
6961
  lt_cv_cc_needs_belf=yes
 
6962
else
 
6963
  $as_echo "$as_me: failed program was:" >&5
 
6964
sed 's/^/| /' conftest.$ac_ext >&5
 
6965
 
 
6966
        lt_cv_cc_needs_belf=no
 
6967
fi
 
6968
 
 
6969
rm -rf conftest.dSYM
 
6970
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6971
      conftest$ac_exeext conftest.$ac_ext
 
6972
     ac_ext=c
 
6973
ac_cpp='$CPP $CPPFLAGS'
 
6974
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6975
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6976
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6977
 
 
6978
fi
 
6979
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6980
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6981
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6982
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6983
    CFLAGS="$SAVE_CFLAGS"
 
6984
  fi
 
6985
  ;;
 
6986
sparc*-*solaris*)
 
6987
  # Find out which ABI we are using.
 
6988
  echo 'int i;' > conftest.$ac_ext
 
6989
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6990
  (eval $ac_compile) 2>&5
 
6991
  ac_status=$?
 
6992
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6993
  (exit $ac_status); }; then
 
6994
    case `/usr/bin/file conftest.o` in
 
6995
    *64-bit*)
 
6996
      case $lt_cv_prog_gnu_ld in
 
6997
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6998
      *)
 
6999
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
7000
          LD="${LD-ld} -64"
 
7001
        fi
 
7002
        ;;
 
7003
      esac
 
7004
      ;;
 
7005
    esac
 
7006
  fi
 
7007
  rm -rf conftest*
 
7008
  ;;
 
7009
esac
 
7010
 
 
7011
need_locks="$enable_libtool_lock"
 
7012
 
 
7013
 
 
7014
  case $host_os in
 
7015
    rhapsody* | darwin*)
 
7016
    if test -n "$ac_tool_prefix"; then
 
7017
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
7018
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
7019
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7020
$as_echo_n "checking for $ac_word... " >&6; }
 
7021
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
7022
  $as_echo_n "(cached) " >&6
 
7023
else
 
7024
  if test -n "$DSYMUTIL"; then
 
7025
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
7026
else
 
7027
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7028
for as_dir in $PATH
 
7029
do
 
7030
  IFS=$as_save_IFS
 
7031
  test -z "$as_dir" && as_dir=.
 
7032
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7033
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7034
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
7035
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7036
    break 2
 
7037
  fi
 
7038
done
 
7039
done
 
7040
IFS=$as_save_IFS
 
7041
 
 
7042
fi
 
7043
fi
 
7044
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
7045
if test -n "$DSYMUTIL"; then
 
7046
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
7047
$as_echo "$DSYMUTIL" >&6; }
 
7048
else
 
7049
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7050
$as_echo "no" >&6; }
 
7051
fi
 
7052
 
 
7053
 
 
7054
fi
 
7055
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
7056
  ac_ct_DSYMUTIL=$DSYMUTIL
 
7057
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
7058
set dummy dsymutil; ac_word=$2
 
7059
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7060
$as_echo_n "checking for $ac_word... " >&6; }
 
7061
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
7062
  $as_echo_n "(cached) " >&6
 
7063
else
 
7064
  if test -n "$ac_ct_DSYMUTIL"; then
 
7065
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
7066
else
 
7067
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7068
for as_dir in $PATH
 
7069
do
 
7070
  IFS=$as_save_IFS
 
7071
  test -z "$as_dir" && as_dir=.
 
7072
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7073
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7074
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
7075
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7076
    break 2
 
7077
  fi
 
7078
done
 
7079
done
 
7080
IFS=$as_save_IFS
 
7081
 
 
7082
fi
 
7083
fi
 
7084
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
7085
if test -n "$ac_ct_DSYMUTIL"; then
 
7086
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
7087
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
7088
else
 
7089
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7090
$as_echo "no" >&6; }
 
7091
fi
 
7092
 
 
7093
  if test "x$ac_ct_DSYMUTIL" = x; then
 
7094
    DSYMUTIL=":"
 
7095
  else
 
7096
    case $cross_compiling:$ac_tool_warned in
 
7097
yes:)
 
7098
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7099
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7100
ac_tool_warned=yes ;;
 
7101
esac
 
7102
    DSYMUTIL=$ac_ct_DSYMUTIL
 
7103
  fi
 
7104
else
 
7105
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
7106
fi
 
7107
 
 
7108
    if test -n "$ac_tool_prefix"; then
 
7109
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
7110
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
7111
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7112
$as_echo_n "checking for $ac_word... " >&6; }
 
7113
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
7114
  $as_echo_n "(cached) " >&6
 
7115
else
 
7116
  if test -n "$NMEDIT"; then
 
7117
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
7118
else
 
7119
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7120
for as_dir in $PATH
 
7121
do
 
7122
  IFS=$as_save_IFS
 
7123
  test -z "$as_dir" && as_dir=.
 
7124
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7125
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7126
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
7127
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7128
    break 2
 
7129
  fi
 
7130
done
 
7131
done
 
7132
IFS=$as_save_IFS
 
7133
 
 
7134
fi
 
7135
fi
 
7136
NMEDIT=$ac_cv_prog_NMEDIT
 
7137
if test -n "$NMEDIT"; then
 
7138
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7139
$as_echo "$NMEDIT" >&6; }
 
7140
else
 
7141
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7142
$as_echo "no" >&6; }
 
7143
fi
 
7144
 
 
7145
 
 
7146
fi
 
7147
if test -z "$ac_cv_prog_NMEDIT"; then
 
7148
  ac_ct_NMEDIT=$NMEDIT
 
7149
  # Extract the first word of "nmedit", so it can be a program name with args.
 
7150
set dummy nmedit; ac_word=$2
 
7151
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7152
$as_echo_n "checking for $ac_word... " >&6; }
 
7153
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
7154
  $as_echo_n "(cached) " >&6
 
7155
else
 
7156
  if test -n "$ac_ct_NMEDIT"; then
 
7157
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
7158
else
 
7159
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7160
for as_dir in $PATH
 
7161
do
 
7162
  IFS=$as_save_IFS
 
7163
  test -z "$as_dir" && as_dir=.
 
7164
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7165
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7166
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
7167
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7168
    break 2
 
7169
  fi
 
7170
done
 
7171
done
 
7172
IFS=$as_save_IFS
 
7173
 
 
7174
fi
 
7175
fi
 
7176
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
7177
if test -n "$ac_ct_NMEDIT"; then
 
7178
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7179
$as_echo "$ac_ct_NMEDIT" >&6; }
 
7180
else
 
7181
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7182
$as_echo "no" >&6; }
 
7183
fi
 
7184
 
 
7185
  if test "x$ac_ct_NMEDIT" = x; then
 
7186
    NMEDIT=":"
 
7187
  else
 
7188
    case $cross_compiling:$ac_tool_warned in
 
7189
yes:)
 
7190
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7191
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7192
ac_tool_warned=yes ;;
 
7193
esac
 
7194
    NMEDIT=$ac_ct_NMEDIT
 
7195
  fi
 
7196
else
 
7197
  NMEDIT="$ac_cv_prog_NMEDIT"
 
7198
fi
 
7199
 
 
7200
    if test -n "$ac_tool_prefix"; then
 
7201
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7202
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7203
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7204
$as_echo_n "checking for $ac_word... " >&6; }
 
7205
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7206
  $as_echo_n "(cached) " >&6
 
7207
else
 
7208
  if test -n "$LIPO"; then
 
7209
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7210
else
 
7211
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7212
for as_dir in $PATH
 
7213
do
 
7214
  IFS=$as_save_IFS
 
7215
  test -z "$as_dir" && as_dir=.
 
7216
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7217
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7218
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7219
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7220
    break 2
 
7221
  fi
 
7222
done
 
7223
done
 
7224
IFS=$as_save_IFS
 
7225
 
 
7226
fi
 
7227
fi
 
7228
LIPO=$ac_cv_prog_LIPO
 
7229
if test -n "$LIPO"; then
 
7230
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7231
$as_echo "$LIPO" >&6; }
 
7232
else
 
7233
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7234
$as_echo "no" >&6; }
 
7235
fi
 
7236
 
 
7237
 
 
7238
fi
 
7239
if test -z "$ac_cv_prog_LIPO"; then
 
7240
  ac_ct_LIPO=$LIPO
 
7241
  # Extract the first word of "lipo", so it can be a program name with args.
 
7242
set dummy lipo; ac_word=$2
 
7243
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7244
$as_echo_n "checking for $ac_word... " >&6; }
 
7245
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7246
  $as_echo_n "(cached) " >&6
 
7247
else
 
7248
  if test -n "$ac_ct_LIPO"; then
 
7249
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7250
else
 
7251
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7252
for as_dir in $PATH
 
7253
do
 
7254
  IFS=$as_save_IFS
 
7255
  test -z "$as_dir" && as_dir=.
 
7256
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7257
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7258
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7259
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7260
    break 2
 
7261
  fi
 
7262
done
 
7263
done
 
7264
IFS=$as_save_IFS
 
7265
 
 
7266
fi
 
7267
fi
 
7268
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7269
if test -n "$ac_ct_LIPO"; then
 
7270
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7271
$as_echo "$ac_ct_LIPO" >&6; }
 
7272
else
 
7273
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7274
$as_echo "no" >&6; }
 
7275
fi
 
7276
 
 
7277
  if test "x$ac_ct_LIPO" = x; then
 
7278
    LIPO=":"
 
7279
  else
 
7280
    case $cross_compiling:$ac_tool_warned in
 
7281
yes:)
 
7282
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7283
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7284
ac_tool_warned=yes ;;
 
7285
esac
 
7286
    LIPO=$ac_ct_LIPO
 
7287
  fi
 
7288
else
 
7289
  LIPO="$ac_cv_prog_LIPO"
 
7290
fi
 
7291
 
 
7292
    if test -n "$ac_tool_prefix"; then
 
7293
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7294
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7295
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7296
$as_echo_n "checking for $ac_word... " >&6; }
 
7297
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7298
  $as_echo_n "(cached) " >&6
 
7299
else
 
7300
  if test -n "$OTOOL"; then
 
7301
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7302
else
 
7303
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7304
for as_dir in $PATH
 
7305
do
 
7306
  IFS=$as_save_IFS
 
7307
  test -z "$as_dir" && as_dir=.
 
7308
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7309
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7310
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7311
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7312
    break 2
 
7313
  fi
 
7314
done
 
7315
done
 
7316
IFS=$as_save_IFS
 
7317
 
 
7318
fi
 
7319
fi
 
7320
OTOOL=$ac_cv_prog_OTOOL
 
7321
if test -n "$OTOOL"; then
 
7322
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7323
$as_echo "$OTOOL" >&6; }
 
7324
else
 
7325
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7326
$as_echo "no" >&6; }
 
7327
fi
 
7328
 
 
7329
 
 
7330
fi
 
7331
if test -z "$ac_cv_prog_OTOOL"; then
 
7332
  ac_ct_OTOOL=$OTOOL
 
7333
  # Extract the first word of "otool", so it can be a program name with args.
 
7334
set dummy otool; ac_word=$2
 
7335
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7336
$as_echo_n "checking for $ac_word... " >&6; }
 
7337
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7338
  $as_echo_n "(cached) " >&6
 
7339
else
 
7340
  if test -n "$ac_ct_OTOOL"; then
 
7341
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7342
else
 
7343
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7344
for as_dir in $PATH
 
7345
do
 
7346
  IFS=$as_save_IFS
 
7347
  test -z "$as_dir" && as_dir=.
 
7348
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7349
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7350
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7351
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7352
    break 2
 
7353
  fi
 
7354
done
 
7355
done
 
7356
IFS=$as_save_IFS
 
7357
 
 
7358
fi
 
7359
fi
 
7360
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7361
if test -n "$ac_ct_OTOOL"; then
 
7362
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7363
$as_echo "$ac_ct_OTOOL" >&6; }
 
7364
else
 
7365
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7366
$as_echo "no" >&6; }
 
7367
fi
 
7368
 
 
7369
  if test "x$ac_ct_OTOOL" = x; then
 
7370
    OTOOL=":"
 
7371
  else
 
7372
    case $cross_compiling:$ac_tool_warned in
 
7373
yes:)
 
7374
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7375
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7376
ac_tool_warned=yes ;;
 
7377
esac
 
7378
    OTOOL=$ac_ct_OTOOL
 
7379
  fi
 
7380
else
 
7381
  OTOOL="$ac_cv_prog_OTOOL"
 
7382
fi
 
7383
 
 
7384
    if test -n "$ac_tool_prefix"; then
 
7385
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7386
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7387
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7388
$as_echo_n "checking for $ac_word... " >&6; }
 
7389
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7390
  $as_echo_n "(cached) " >&6
 
7391
else
 
7392
  if test -n "$OTOOL64"; then
 
7393
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7394
else
 
7395
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7396
for as_dir in $PATH
 
7397
do
 
7398
  IFS=$as_save_IFS
 
7399
  test -z "$as_dir" && as_dir=.
 
7400
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7401
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7402
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7403
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7404
    break 2
 
7405
  fi
 
7406
done
 
7407
done
 
7408
IFS=$as_save_IFS
 
7409
 
 
7410
fi
 
7411
fi
 
7412
OTOOL64=$ac_cv_prog_OTOOL64
 
7413
if test -n "$OTOOL64"; then
 
7414
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7415
$as_echo "$OTOOL64" >&6; }
 
7416
else
 
7417
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7418
$as_echo "no" >&6; }
 
7419
fi
 
7420
 
 
7421
 
 
7422
fi
 
7423
if test -z "$ac_cv_prog_OTOOL64"; then
 
7424
  ac_ct_OTOOL64=$OTOOL64
 
7425
  # Extract the first word of "otool64", so it can be a program name with args.
 
7426
set dummy otool64; ac_word=$2
 
7427
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7428
$as_echo_n "checking for $ac_word... " >&6; }
 
7429
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7430
  $as_echo_n "(cached) " >&6
 
7431
else
 
7432
  if test -n "$ac_ct_OTOOL64"; then
 
7433
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7434
else
 
7435
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7436
for as_dir in $PATH
 
7437
do
 
7438
  IFS=$as_save_IFS
 
7439
  test -z "$as_dir" && as_dir=.
 
7440
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7441
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7442
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7443
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7444
    break 2
 
7445
  fi
 
7446
done
 
7447
done
 
7448
IFS=$as_save_IFS
 
7449
 
 
7450
fi
 
7451
fi
 
7452
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7453
if test -n "$ac_ct_OTOOL64"; then
 
7454
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7455
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7456
else
 
7457
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7458
$as_echo "no" >&6; }
 
7459
fi
 
7460
 
 
7461
  if test "x$ac_ct_OTOOL64" = x; then
 
7462
    OTOOL64=":"
 
7463
  else
 
7464
    case $cross_compiling:$ac_tool_warned in
 
7465
yes:)
 
7466
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7467
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7468
ac_tool_warned=yes ;;
 
7469
esac
 
7470
    OTOOL64=$ac_ct_OTOOL64
 
7471
  fi
 
7472
else
 
7473
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7474
fi
 
7475
 
 
7476
 
 
7477
 
 
7478
 
 
7479
 
 
7480
 
 
7481
 
 
7482
 
 
7483
 
 
7484
 
 
7485
 
 
7486
 
 
7487
 
 
7488
 
 
7489
 
 
7490
 
 
7491
 
 
7492
 
 
7493
 
 
7494
 
 
7495
 
 
7496
 
 
7497
 
 
7498
 
 
7499
 
 
7500
 
 
7501
 
 
7502
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7503
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
7504
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
7505
  $as_echo_n "(cached) " >&6
 
7506
else
 
7507
  lt_cv_apple_cc_single_mod=no
 
7508
      if test -z "${LT_MULTI_MODULE}"; then
 
7509
        # By default we will add the -single_module flag. You can override
 
7510
        # by either setting the environment variable LT_MULTI_MODULE
 
7511
        # non-empty at configure time, or by adding -multi_module to the
 
7512
        # link flags.
 
7513
        rm -rf libconftest.dylib*
 
7514
        echo "int foo(void){return 1;}" > conftest.c
 
7515
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7516
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7517
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7518
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7519
        _lt_result=$?
 
7520
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7521
          lt_cv_apple_cc_single_mod=yes
 
7522
        else
 
7523
          cat conftest.err >&5
 
7524
        fi
 
7525
        rm -rf libconftest.dylib*
 
7526
        rm -f conftest.*
 
7527
      fi
 
7528
fi
 
7529
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7530
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7531
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7532
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
7533
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
7534
  $as_echo_n "(cached) " >&6
 
7535
else
 
7536
  lt_cv_ld_exported_symbols_list=no
 
7537
      save_LDFLAGS=$LDFLAGS
 
7538
      echo "_main" > conftest.sym
 
7539
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
7540
      cat >conftest.$ac_ext <<_ACEOF
 
7541
/* confdefs.h.  */
 
7542
_ACEOF
 
7543
cat confdefs.h >>conftest.$ac_ext
 
7544
cat >>conftest.$ac_ext <<_ACEOF
 
7545
/* end confdefs.h.  */
 
7546
 
 
7547
int
 
7548
main ()
 
7549
{
 
7550
 
 
7551
  ;
 
7552
  return 0;
 
7553
}
 
7554
_ACEOF
 
7555
rm -f conftest.$ac_objext conftest$ac_exeext
 
7556
if { (ac_try="$ac_link"
 
7557
case "(($ac_try" in
 
7558
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7559
  *) ac_try_echo=$ac_try;;
 
7560
esac
 
7561
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7562
$as_echo "$ac_try_echo") >&5
 
7563
  (eval "$ac_link") 2>conftest.er1
 
7564
  ac_status=$?
 
7565
  grep -v '^ *+' conftest.er1 >conftest.err
 
7566
  rm -f conftest.er1
 
7567
  cat conftest.err >&5
 
7568
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7569
  (exit $ac_status); } && {
 
7570
         test -z "$ac_c_werror_flag" ||
 
7571
         test ! -s conftest.err
 
7572
       } && test -s conftest$ac_exeext && {
 
7573
         test "$cross_compiling" = yes ||
 
7574
         $as_test_x conftest$ac_exeext
 
7575
       }; then
 
7576
  lt_cv_ld_exported_symbols_list=yes
 
7577
else
 
7578
  $as_echo "$as_me: failed program was:" >&5
 
7579
sed 's/^/| /' conftest.$ac_ext >&5
 
7580
 
 
7581
        lt_cv_ld_exported_symbols_list=no
 
7582
fi
 
7583
 
 
7584
rm -rf conftest.dSYM
 
7585
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
7586
      conftest$ac_exeext conftest.$ac_ext
 
7587
        LDFLAGS="$save_LDFLAGS"
 
7588
 
 
7589
fi
 
7590
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7591
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7592
    case $host_os in
 
7593
    rhapsody* | darwin1.[012])
 
7594
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
7595
    darwin1.*)
 
7596
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7597
    darwin*) # darwin 5.x on
 
7598
      # if running on 10.5 or later, the deployment target defaults
 
7599
      # to the OS version, if on x86, and 10.4, the deployment
 
7600
      # target defaults to 10.4. Don't you love it?
 
7601
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
7602
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7603
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7604
        10.[012]*)
 
7605
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7606
        10.*)
 
7607
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7608
      esac
 
7609
    ;;
 
7610
  esac
 
7611
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
7612
      _lt_dar_single_mod='$single_module'
 
7613
    fi
 
7614
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
7615
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
7616
    else
 
7617
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7618
    fi
 
7619
    if test "$DSYMUTIL" != ":"; then
 
7620
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
7621
    else
 
7622
      _lt_dsymutil=
 
7623
    fi
 
7624
    ;;
 
7625
  esac
 
7626
 
 
7627
 
 
7628
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7629
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7630
if test "${ac_cv_header_stdc+set}" = set; then
 
7631
  $as_echo_n "(cached) " >&6
 
7632
else
 
7633
  cat >conftest.$ac_ext <<_ACEOF
 
7634
/* confdefs.h.  */
 
7635
_ACEOF
 
7636
cat confdefs.h >>conftest.$ac_ext
 
7637
cat >>conftest.$ac_ext <<_ACEOF
 
7638
/* end confdefs.h.  */
 
7639
#include <stdlib.h>
 
7640
#include <stdarg.h>
 
7641
#include <string.h>
 
7642
#include <float.h>
 
7643
 
 
7644
int
 
7645
main ()
 
7646
{
 
7647
 
 
7648
  ;
 
7649
  return 0;
 
7650
}
 
7651
_ACEOF
 
7652
rm -f conftest.$ac_objext
 
7653
if { (ac_try="$ac_compile"
 
7654
case "(($ac_try" in
 
7655
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7656
  *) ac_try_echo=$ac_try;;
 
7657
esac
 
7658
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7659
$as_echo "$ac_try_echo") >&5
 
7660
  (eval "$ac_compile") 2>conftest.er1
 
7661
  ac_status=$?
 
7662
  grep -v '^ *+' conftest.er1 >conftest.err
 
7663
  rm -f conftest.er1
 
7664
  cat conftest.err >&5
 
7665
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7666
  (exit $ac_status); } && {
 
7667
         test -z "$ac_c_werror_flag" ||
 
7668
         test ! -s conftest.err
 
7669
       } && test -s conftest.$ac_objext; then
 
7670
  ac_cv_header_stdc=yes
 
7671
else
 
7672
  $as_echo "$as_me: failed program was:" >&5
 
7673
sed 's/^/| /' conftest.$ac_ext >&5
 
7674
 
 
7675
        ac_cv_header_stdc=no
 
7676
fi
 
7677
 
 
7678
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7679
 
 
7680
if test $ac_cv_header_stdc = yes; then
 
7681
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7682
  cat >conftest.$ac_ext <<_ACEOF
 
7683
/* confdefs.h.  */
 
7684
_ACEOF
 
7685
cat confdefs.h >>conftest.$ac_ext
 
7686
cat >>conftest.$ac_ext <<_ACEOF
 
7687
/* end confdefs.h.  */
 
7688
#include <string.h>
 
7689
 
 
7690
_ACEOF
 
7691
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7692
  $EGREP "memchr" >/dev/null 2>&1; then
 
7693
  :
 
7694
else
 
7695
  ac_cv_header_stdc=no
 
7696
fi
 
7697
rm -f conftest*
 
7698
 
 
7699
fi
 
7700
 
 
7701
if test $ac_cv_header_stdc = yes; then
 
7702
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7703
  cat >conftest.$ac_ext <<_ACEOF
 
7704
/* confdefs.h.  */
 
7705
_ACEOF
 
7706
cat confdefs.h >>conftest.$ac_ext
 
7707
cat >>conftest.$ac_ext <<_ACEOF
 
7708
/* end confdefs.h.  */
 
7709
#include <stdlib.h>
 
7710
 
 
7711
_ACEOF
 
7712
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7713
  $EGREP "free" >/dev/null 2>&1; then
 
7714
  :
 
7715
else
 
7716
  ac_cv_header_stdc=no
 
7717
fi
 
7718
rm -f conftest*
 
7719
 
 
7720
fi
 
7721
 
 
7722
if test $ac_cv_header_stdc = yes; then
 
7723
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7724
  if test "$cross_compiling" = yes; then
 
7725
  :
 
7726
else
 
7727
  cat >conftest.$ac_ext <<_ACEOF
 
7728
/* confdefs.h.  */
 
7729
_ACEOF
 
7730
cat confdefs.h >>conftest.$ac_ext
 
7731
cat >>conftest.$ac_ext <<_ACEOF
 
7732
/* end confdefs.h.  */
 
7733
#include <ctype.h>
 
7734
#include <stdlib.h>
 
7735
#if ((' ' & 0x0FF) == 0x020)
 
7736
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7737
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7738
#else
 
7739
# define ISLOWER(c) \
 
7740
                   (('a' <= (c) && (c) <= 'i') \
 
7741
                     || ('j' <= (c) && (c) <= 'r') \
 
7742
                     || ('s' <= (c) && (c) <= 'z'))
 
7743
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7744
#endif
 
7745
 
 
7746
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7747
int
 
7748
main ()
 
7749
{
 
7750
  int i;
 
7751
  for (i = 0; i < 256; i++)
 
7752
    if (XOR (islower (i), ISLOWER (i))
 
7753
        || toupper (i) != TOUPPER (i))
 
7754
      return 2;
 
7755
  return 0;
 
7756
}
 
7757
_ACEOF
 
7758
rm -f conftest$ac_exeext
 
7759
if { (ac_try="$ac_link"
 
7760
case "(($ac_try" in
 
7761
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7762
  *) ac_try_echo=$ac_try;;
 
7763
esac
 
7764
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7765
$as_echo "$ac_try_echo") >&5
 
7766
  (eval "$ac_link") 2>&5
 
7767
  ac_status=$?
 
7768
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7769
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
7770
  { (case "(($ac_try" in
 
7771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7772
  *) ac_try_echo=$ac_try;;
 
7773
esac
 
7774
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7775
$as_echo "$ac_try_echo") >&5
 
7776
  (eval "$ac_try") 2>&5
 
7777
  ac_status=$?
 
7778
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7779
  (exit $ac_status); }; }; then
 
7780
  :
 
7781
else
 
7782
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
7783
$as_echo "$as_me: failed program was:" >&5
 
7784
sed 's/^/| /' conftest.$ac_ext >&5
 
7785
 
 
7786
( exit $ac_status )
 
7787
ac_cv_header_stdc=no
 
7788
fi
 
7789
rm -rf conftest.dSYM
 
7790
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7791
fi
 
7792
 
 
7793
 
 
7794
fi
 
7795
fi
 
7796
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7797
$as_echo "$ac_cv_header_stdc" >&6; }
 
7798
if test $ac_cv_header_stdc = yes; then
 
7799
 
 
7800
cat >>confdefs.h <<\_ACEOF
 
7801
#define STDC_HEADERS 1
 
7802
_ACEOF
 
7803
 
 
7804
fi
 
7805
 
 
7806
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7807
 
 
7808
 
 
7809
 
 
7810
 
 
7811
 
 
7812
 
 
7813
 
 
7814
 
 
7815
 
 
7816
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7817
                  inttypes.h stdint.h unistd.h
 
7818
do
 
7819
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7820
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7821
$as_echo_n "checking for $ac_header... " >&6; }
 
7822
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7823
  $as_echo_n "(cached) " >&6
 
7824
else
 
7825
  cat >conftest.$ac_ext <<_ACEOF
 
7826
/* confdefs.h.  */
 
7827
_ACEOF
 
7828
cat confdefs.h >>conftest.$ac_ext
 
7829
cat >>conftest.$ac_ext <<_ACEOF
 
7830
/* end confdefs.h.  */
 
7831
$ac_includes_default
 
7832
 
 
7833
#include <$ac_header>
 
7834
_ACEOF
 
7835
rm -f conftest.$ac_objext
 
7836
if { (ac_try="$ac_compile"
 
7837
case "(($ac_try" in
 
7838
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7839
  *) ac_try_echo=$ac_try;;
 
7840
esac
 
7841
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7842
$as_echo "$ac_try_echo") >&5
 
7843
  (eval "$ac_compile") 2>conftest.er1
 
7844
  ac_status=$?
 
7845
  grep -v '^ *+' conftest.er1 >conftest.err
 
7846
  rm -f conftest.er1
 
7847
  cat conftest.err >&5
 
7848
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7849
  (exit $ac_status); } && {
 
7850
         test -z "$ac_c_werror_flag" ||
 
7851
         test ! -s conftest.err
 
7852
       } && test -s conftest.$ac_objext; then
 
7853
  eval "$as_ac_Header=yes"
 
7854
else
 
7855
  $as_echo "$as_me: failed program was:" >&5
 
7856
sed 's/^/| /' conftest.$ac_ext >&5
 
7857
 
 
7858
        eval "$as_ac_Header=no"
 
7859
fi
 
7860
 
 
7861
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7862
fi
 
7863
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7864
                 $as_echo "$as_val"'`
 
7865
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7866
$as_echo "$ac_res" >&6; }
 
7867
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7868
                 $as_echo "$as_val"'`
 
7869
   if test "x$as_val" = x""yes; then
 
7870
  cat >>confdefs.h <<_ACEOF
 
7871
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7872
_ACEOF
 
7873
 
 
7874
fi
 
7875
 
 
7876
done
 
7877
 
 
7878
 
 
7879
 
 
7880
for ac_header in dlfcn.h
 
7881
do
 
7882
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7883
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7884
$as_echo_n "checking for $ac_header... " >&6; }
 
7885
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7886
  $as_echo_n "(cached) " >&6
 
7887
else
 
7888
  cat >conftest.$ac_ext <<_ACEOF
 
7889
/* confdefs.h.  */
 
7890
_ACEOF
 
7891
cat confdefs.h >>conftest.$ac_ext
 
7892
cat >>conftest.$ac_ext <<_ACEOF
 
7893
/* end confdefs.h.  */
 
7894
$ac_includes_default
 
7895
 
 
7896
#include <$ac_header>
 
7897
_ACEOF
 
7898
rm -f conftest.$ac_objext
 
7899
if { (ac_try="$ac_compile"
 
7900
case "(($ac_try" in
 
7901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7902
  *) ac_try_echo=$ac_try;;
 
7903
esac
 
7904
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7905
$as_echo "$ac_try_echo") >&5
 
7906
  (eval "$ac_compile") 2>conftest.er1
 
7907
  ac_status=$?
 
7908
  grep -v '^ *+' conftest.er1 >conftest.err
 
7909
  rm -f conftest.er1
 
7910
  cat conftest.err >&5
 
7911
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7912
  (exit $ac_status); } && {
 
7913
         test -z "$ac_c_werror_flag" ||
 
7914
         test ! -s conftest.err
 
7915
       } && test -s conftest.$ac_objext; then
 
7916
  eval "$as_ac_Header=yes"
 
7917
else
 
7918
  $as_echo "$as_me: failed program was:" >&5
 
7919
sed 's/^/| /' conftest.$ac_ext >&5
 
7920
 
 
7921
        eval "$as_ac_Header=no"
 
7922
fi
 
7923
 
 
7924
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7925
fi
 
7926
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7927
                 $as_echo "$as_val"'`
 
7928
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7929
$as_echo "$ac_res" >&6; }
 
7930
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7931
                 $as_echo "$as_val"'`
 
7932
   if test "x$as_val" = x""yes; then
 
7933
  cat >>confdefs.h <<_ACEOF
 
7934
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7935
_ACEOF
 
7936
 
 
7937
fi
 
7938
 
 
7939
done
 
7940
 
 
7941
 
 
7942
 
 
7943
# Set options
 
7944
 
 
7945
 
 
7946
 
 
7947
        enable_dlopen=no
 
7948
 
 
7949
 
 
7950
  enable_win32_dll=no
 
7951
 
 
7952
 
 
7953
            # Check whether --enable-shared was given.
 
7954
if test "${enable_shared+set}" = set; then
 
7955
  enableval=$enable_shared; p=${PACKAGE-default}
 
7956
    case $enableval in
 
7957
    yes) enable_shared=yes ;;
 
7958
    no) enable_shared=no ;;
 
7959
    *)
 
7960
      enable_shared=no
 
7961
      # Look at the argument we got.  We use all the common list separators.
 
7962
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7963
      for pkg in $enableval; do
 
7964
        IFS="$lt_save_ifs"
 
7965
        if test "X$pkg" = "X$p"; then
 
7966
          enable_shared=yes
 
7967
        fi
 
7968
      done
 
7969
      IFS="$lt_save_ifs"
 
7970
      ;;
 
7971
    esac
 
7972
else
 
7973
  enable_shared=yes
 
7974
fi
 
7975
 
 
7976
 
 
7977
 
 
7978
 
 
7979
 
 
7980
 
 
7981
 
 
7982
 
 
7983
 
 
7984
  # Check whether --enable-static was given.
 
7985
if test "${enable_static+set}" = set; then
 
7986
  enableval=$enable_static; p=${PACKAGE-default}
 
7987
    case $enableval in
 
7988
    yes) enable_static=yes ;;
 
7989
    no) enable_static=no ;;
 
7990
    *)
 
7991
     enable_static=no
 
7992
      # Look at the argument we got.  We use all the common list separators.
 
7993
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7994
      for pkg in $enableval; do
 
7995
        IFS="$lt_save_ifs"
 
7996
        if test "X$pkg" = "X$p"; then
 
7997
          enable_static=yes
 
7998
        fi
 
7999
      done
 
8000
      IFS="$lt_save_ifs"
 
8001
      ;;
 
8002
    esac
 
8003
else
 
8004
  enable_static=yes
 
8005
fi
 
8006
 
 
8007
 
 
8008
 
 
8009
 
 
8010
 
 
8011
 
 
8012
 
 
8013
 
 
8014
 
 
8015
 
 
8016
# Check whether --with-pic was given.
 
8017
if test "${with_pic+set}" = set; then
 
8018
  withval=$with_pic; pic_mode="$withval"
 
8019
else
 
8020
  pic_mode=default
 
8021
fi
 
8022
 
 
8023
 
 
8024
test -z "$pic_mode" && pic_mode=default
 
8025
 
 
8026
 
 
8027
 
 
8028
 
 
8029
 
 
8030
 
 
8031
 
 
8032
  # Check whether --enable-fast-install was given.
 
8033
if test "${enable_fast_install+set}" = set; then
 
8034
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8035
    case $enableval in
 
8036
    yes) enable_fast_install=yes ;;
 
8037
    no) enable_fast_install=no ;;
 
8038
    *)
 
8039
      enable_fast_install=no
 
8040
      # Look at the argument we got.  We use all the common list separators.
 
8041
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8042
      for pkg in $enableval; do
 
8043
        IFS="$lt_save_ifs"
 
8044
        if test "X$pkg" = "X$p"; then
 
8045
          enable_fast_install=yes
 
8046
        fi
 
8047
      done
 
8048
      IFS="$lt_save_ifs"
 
8049
      ;;
 
8050
    esac
 
8051
else
 
8052
  enable_fast_install=yes
 
8053
fi
 
8054
 
 
8055
 
 
8056
 
 
8057
 
 
8058
 
 
8059
 
 
8060
 
 
8061
 
 
8062
 
 
8063
 
 
8064
 
 
8065
# This can be used to rebuild libtool when needed
 
8066
LIBTOOL_DEPS="$ltmain"
 
8067
 
 
8068
# Always use our own libtool.
 
8069
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8070
 
 
8071
 
 
8072
 
 
8073
 
 
8074
 
 
8075
 
 
8076
 
 
8077
 
 
8078
 
 
8079
 
 
8080
 
 
8081
 
 
8082
 
 
8083
 
 
8084
 
 
8085
 
 
8086
 
 
8087
 
 
8088
 
 
8089
 
 
8090
 
 
8091
 
 
8092
 
 
8093
 
 
8094
 
 
8095
test -z "$LN_S" && LN_S="ln -s"
 
8096
 
 
8097
 
 
8098
 
 
8099
 
 
8100
 
 
8101
 
 
8102
 
 
8103
 
 
8104
 
 
8105
 
 
8106
 
 
8107
 
 
8108
 
 
8109
 
 
8110
if test -n "${ZSH_VERSION+set}" ; then
 
8111
   setopt NO_GLOB_SUBST
 
8112
fi
 
8113
 
 
8114
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8115
$as_echo_n "checking for objdir... " >&6; }
6698
8116
if test "${lt_cv_objdir+set}" = set; then
6699
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8117
  $as_echo_n "(cached) " >&6
6700
8118
else
6701
8119
  rm -f .libs 2>/dev/null
6702
8120
mkdir .libs 2>/dev/null
6708
8126
fi
6709
8127
rmdir .libs 2>/dev/null
6710
8128
fi
6711
 
echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6712
 
echo "${ECHO_T}$lt_cv_objdir" >&6
 
8129
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8130
$as_echo "$lt_cv_objdir" >&6; }
6713
8131
objdir=$lt_cv_objdir
6714
8132
 
6715
8133
 
6716
8134
 
6717
8135
 
6718
8136
 
 
8137
cat >>confdefs.h <<_ACEOF
 
8138
#define LT_OBJDIR "$lt_cv_objdir/"
 
8139
_ACEOF
 
8140
 
 
8141
 
 
8142
 
 
8143
 
 
8144
 
 
8145
 
 
8146
 
 
8147
 
 
8148
 
 
8149
 
 
8150
 
 
8151
 
 
8152
 
 
8153
 
 
8154
 
 
8155
 
 
8156
 
6719
8157
case $host_os in
6720
8158
aix3*)
6721
8159
  # AIX sometimes has problems with the GCC collect2 program.  For some
6730
8168
 
6731
8169
# Sed substitution that helps us do robust quoting.  It backslashifies
6732
8170
# metacharacters that are still active within double-quoted strings.
6733
 
Xsed='sed -e 1s/^X//'
6734
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
8171
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6735
8172
 
6736
8173
# Same as above, but do not quote variable references.
6737
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
8174
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6738
8175
 
6739
8176
# Sed substitution to delay expansion of an escaped shell variable in a
6740
8177
# double_quote_subst'ed string.
6741
8178
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6742
8179
 
 
8180
# Sed substitution to delay expansion of an escaped single quote.
 
8181
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8182
 
6743
8183
# Sed substitution to avoid accidental globbing in evaled expressions
6744
8184
no_glob_subst='s/\*/\\\*/g'
6745
8185
 
6746
 
# Constants:
6747
 
rm="rm -f"
6748
 
 
6749
8186
# Global variables:
6750
 
default_ofile=libtool
 
8187
ofile=libtool
6751
8188
can_build_shared=yes
6752
8189
 
6753
8190
# All known linkers require a `.a' archive for static linking (except MSVC,
6754
8191
# which needs '.lib').
6755
8192
libext=a
6756
 
ltmain="$ac_aux_dir/ltmain.sh"
6757
 
ofile="$default_ofile"
 
8193
 
6758
8194
with_gnu_ld="$lt_cv_prog_gnu_ld"
6759
8195
 
6760
 
if test -n "$ac_tool_prefix"; then
6761
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6762
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6763
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6764
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6765
 
if test "${ac_cv_prog_AR+set}" = set; then
6766
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6767
 
else
6768
 
  if test -n "$AR"; then
6769
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6770
 
else
6771
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772
 
for as_dir in $PATH
6773
 
do
6774
 
  IFS=$as_save_IFS
6775
 
  test -z "$as_dir" && as_dir=.
6776
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6777
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6778
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6779
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6780
 
    break 2
6781
 
  fi
6782
 
done
6783
 
done
6784
 
 
6785
 
fi
6786
 
fi
6787
 
AR=$ac_cv_prog_AR
6788
 
if test -n "$AR"; then
6789
 
  echo "$as_me:$LINENO: result: $AR" >&5
6790
 
echo "${ECHO_T}$AR" >&6
6791
 
else
6792
 
  echo "$as_me:$LINENO: result: no" >&5
6793
 
echo "${ECHO_T}no" >&6
6794
 
fi
6795
 
 
6796
 
fi
6797
 
if test -z "$ac_cv_prog_AR"; then
6798
 
  ac_ct_AR=$AR
6799
 
  # Extract the first word of "ar", so it can be a program name with args.
6800
 
set dummy ar; ac_word=$2
6801
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6802
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6803
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6805
 
else
6806
 
  if test -n "$ac_ct_AR"; then
6807
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6808
 
else
6809
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810
 
for as_dir in $PATH
6811
 
do
6812
 
  IFS=$as_save_IFS
6813
 
  test -z "$as_dir" && as_dir=.
6814
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6815
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6816
 
    ac_cv_prog_ac_ct_AR="ar"
6817
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6818
 
    break 2
6819
 
  fi
6820
 
done
6821
 
done
6822
 
 
6823
 
  test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
6824
 
fi
6825
 
fi
6826
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6827
 
if test -n "$ac_ct_AR"; then
6828
 
  echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6829
 
echo "${ECHO_T}$ac_ct_AR" >&6
6830
 
else
6831
 
  echo "$as_me:$LINENO: result: no" >&5
6832
 
echo "${ECHO_T}no" >&6
6833
 
fi
6834
 
 
6835
 
  AR=$ac_ct_AR
6836
 
else
6837
 
  AR="$ac_cv_prog_AR"
6838
 
fi
6839
 
 
6840
 
if test -n "$ac_tool_prefix"; then
6841
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6842
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6843
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6844
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6845
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
6846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6847
 
else
6848
 
  if test -n "$RANLIB"; then
6849
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6850
 
else
6851
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852
 
for as_dir in $PATH
6853
 
do
6854
 
  IFS=$as_save_IFS
6855
 
  test -z "$as_dir" && as_dir=.
6856
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6857
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6858
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6859
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6860
 
    break 2
6861
 
  fi
6862
 
done
6863
 
done
6864
 
 
6865
 
fi
6866
 
fi
6867
 
RANLIB=$ac_cv_prog_RANLIB
6868
 
if test -n "$RANLIB"; then
6869
 
  echo "$as_me:$LINENO: result: $RANLIB" >&5
6870
 
echo "${ECHO_T}$RANLIB" >&6
6871
 
else
6872
 
  echo "$as_me:$LINENO: result: no" >&5
6873
 
echo "${ECHO_T}no" >&6
6874
 
fi
6875
 
 
6876
 
fi
6877
 
if test -z "$ac_cv_prog_RANLIB"; then
6878
 
  ac_ct_RANLIB=$RANLIB
6879
 
  # Extract the first word of "ranlib", so it can be a program name with args.
6880
 
set dummy ranlib; ac_word=$2
6881
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6882
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6883
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6884
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6885
 
else
6886
 
  if test -n "$ac_ct_RANLIB"; then
6887
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6888
 
else
6889
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6890
 
for as_dir in $PATH
6891
 
do
6892
 
  IFS=$as_save_IFS
6893
 
  test -z "$as_dir" && as_dir=.
6894
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6895
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6896
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6897
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6898
 
    break 2
6899
 
  fi
6900
 
done
6901
 
done
6902
 
 
6903
 
  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6904
 
fi
6905
 
fi
6906
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6907
 
if test -n "$ac_ct_RANLIB"; then
6908
 
  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6909
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6
6910
 
else
6911
 
  echo "$as_me:$LINENO: result: no" >&5
6912
 
echo "${ECHO_T}no" >&6
6913
 
fi
6914
 
 
6915
 
  RANLIB=$ac_ct_RANLIB
6916
 
else
6917
 
  RANLIB="$ac_cv_prog_RANLIB"
6918
 
fi
6919
 
 
6920
 
if test -n "$ac_tool_prefix"; then
6921
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6922
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
6923
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6924
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6925
 
if test "${ac_cv_prog_STRIP+set}" = set; then
6926
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6927
 
else
6928
 
  if test -n "$STRIP"; then
6929
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6930
 
else
6931
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932
 
for as_dir in $PATH
6933
 
do
6934
 
  IFS=$as_save_IFS
6935
 
  test -z "$as_dir" && as_dir=.
6936
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6937
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6938
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6939
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6940
 
    break 2
6941
 
  fi
6942
 
done
6943
 
done
6944
 
 
6945
 
fi
6946
 
fi
6947
 
STRIP=$ac_cv_prog_STRIP
6948
 
if test -n "$STRIP"; then
6949
 
  echo "$as_me:$LINENO: result: $STRIP" >&5
6950
 
echo "${ECHO_T}$STRIP" >&6
6951
 
else
6952
 
  echo "$as_me:$LINENO: result: no" >&5
6953
 
echo "${ECHO_T}no" >&6
6954
 
fi
6955
 
 
6956
 
fi
6957
 
if test -z "$ac_cv_prog_STRIP"; then
6958
 
  ac_ct_STRIP=$STRIP
6959
 
  # Extract the first word of "strip", so it can be a program name with args.
6960
 
set dummy strip; ac_word=$2
6961
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
6962
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6963
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6964
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6965
 
else
6966
 
  if test -n "$ac_ct_STRIP"; then
6967
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6968
 
else
6969
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970
 
for as_dir in $PATH
6971
 
do
6972
 
  IFS=$as_save_IFS
6973
 
  test -z "$as_dir" && as_dir=.
6974
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6975
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6976
 
    ac_cv_prog_ac_ct_STRIP="strip"
6977
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6978
 
    break 2
6979
 
  fi
6980
 
done
6981
 
done
6982
 
 
6983
 
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6984
 
fi
6985
 
fi
6986
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6987
 
if test -n "$ac_ct_STRIP"; then
6988
 
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6989
 
echo "${ECHO_T}$ac_ct_STRIP" >&6
6990
 
else
6991
 
  echo "$as_me:$LINENO: result: no" >&5
6992
 
echo "${ECHO_T}no" >&6
6993
 
fi
6994
 
 
6995
 
  STRIP=$ac_ct_STRIP
6996
 
else
6997
 
  STRIP="$ac_cv_prog_STRIP"
6998
 
fi
6999
 
 
7000
 
 
7001
8196
old_CC="$CC"
7002
8197
old_CFLAGS="$CFLAGS"
7003
8198
 
7004
8199
# Set sane defaults for various variables
7005
 
test -z "$AR" && AR=ar
7006
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7007
 
test -z "$AS" && AS=as
7008
8200
test -z "$CC" && CC=cc
7009
8201
test -z "$LTCC" && LTCC=$CC
7010
8202
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7011
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7012
8203
test -z "$LD" && LD=ld
7013
 
test -z "$LN_S" && LN_S="ln -s"
7014
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7015
 
test -z "$NM" && NM=nm
7016
 
test -z "$SED" && SED=sed
7017
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7018
 
test -z "$RANLIB" && RANLIB=:
7019
 
test -z "$STRIP" && STRIP=:
7020
8204
test -z "$ac_objext" && ac_objext=o
7021
8205
 
7022
 
# Determine commands to create old-style static archives.
7023
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7024
 
old_postinstall_cmds='chmod 644 $oldlib'
7025
 
old_postuninstall_cmds=
7026
 
 
7027
 
if test -n "$RANLIB"; then
7028
 
  case $host_os in
7029
 
  openbsd*)
7030
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7031
 
    ;;
7032
 
  *)
7033
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7034
 
    ;;
7035
 
  esac
7036
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7037
 
fi
7038
 
 
7039
8206
for cc_temp in $compiler""; do
7040
8207
  case $cc_temp in
7041
8208
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7044
8211
    *) break;;
7045
8212
  esac
7046
8213
done
7047
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8214
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7048
8215
 
7049
8216
 
7050
8217
# Only perform the check for file, if the check method requires it
 
8218
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7051
8219
case $deplibs_check_method in
7052
8220
file_magic*)
7053
8221
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7054
 
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7055
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
 
8222
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8223
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7056
8224
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7057
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8225
  $as_echo_n "(cached) " >&6
7058
8226
else
7059
8227
  case $MAGIC_CMD in
7060
8228
[\\/*] |  ?:[\\/]*)
7078
8246
            $EGREP "$file_magic_regex" > /dev/null; then
7079
8247
            :
7080
8248
          else
7081
 
            cat <<EOF 1>&2
 
8249
            cat <<_LT_EOF 1>&2
7082
8250
 
7083
8251
*** Warning: the command libtool uses to detect shared libraries,
7084
8252
*** $file_magic_cmd, produces output that libtool cannot recognize.
7089
8257
*** may want to report the problem to your system manager and/or to
7090
8258
*** bug-libtool@gnu.org
7091
8259
 
7092
 
EOF
 
8260
_LT_EOF
7093
8261
          fi ;;
7094
8262
        esac
7095
8263
      fi
7104
8272
 
7105
8273
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7106
8274
if test -n "$MAGIC_CMD"; then
7107
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7108
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
8275
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8276
$as_echo "$MAGIC_CMD" >&6; }
7109
8277
else
7110
 
  echo "$as_me:$LINENO: result: no" >&5
7111
 
echo "${ECHO_T}no" >&6
 
8278
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8279
$as_echo "no" >&6; }
7112
8280
fi
7113
8281
 
 
8282
 
 
8283
 
 
8284
 
 
8285
 
7114
8286
if test -z "$lt_cv_path_MAGIC_CMD"; then
7115
8287
  if test -n "$ac_tool_prefix"; then
7116
 
    echo "$as_me:$LINENO: checking for file" >&5
7117
 
echo $ECHO_N "checking for file... $ECHO_C" >&6
 
8288
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8289
$as_echo_n "checking for file... " >&6; }
7118
8290
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7119
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8291
  $as_echo_n "(cached) " >&6
7120
8292
else
7121
8293
  case $MAGIC_CMD in
7122
8294
[\\/*] |  ?:[\\/]*)
7140
8312
            $EGREP "$file_magic_regex" > /dev/null; then
7141
8313
            :
7142
8314
          else
7143
 
            cat <<EOF 1>&2
 
8315
            cat <<_LT_EOF 1>&2
7144
8316
 
7145
8317
*** Warning: the command libtool uses to detect shared libraries,
7146
8318
*** $file_magic_cmd, produces output that libtool cannot recognize.
7151
8323
*** may want to report the problem to your system manager and/or to
7152
8324
*** bug-libtool@gnu.org
7153
8325
 
7154
 
EOF
 
8326
_LT_EOF
7155
8327
          fi ;;
7156
8328
        esac
7157
8329
      fi
7166
8338
 
7167
8339
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7168
8340
if test -n "$MAGIC_CMD"; then
7169
 
  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7170
 
echo "${ECHO_T}$MAGIC_CMD" >&6
 
8341
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8342
$as_echo "$MAGIC_CMD" >&6; }
7171
8343
else
7172
 
  echo "$as_me:$LINENO: result: no" >&5
7173
 
echo "${ECHO_T}no" >&6
 
8344
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8345
$as_echo "no" >&6; }
7174
8346
fi
7175
8347
 
 
8348
 
7176
8349
  else
7177
8350
    MAGIC_CMD=:
7178
8351
  fi
7182
8355
  ;;
7183
8356
esac
7184
8357
 
7185
 
enable_dlopen=no
7186
 
enable_win32_dll=no
7187
 
 
7188
 
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7189
 
if test "${enable_libtool_lock+set}" = set; then
7190
 
  enableval="$enable_libtool_lock"
7191
 
 
7192
 
fi;
7193
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7194
 
 
7195
 
 
7196
 
# Check whether --with-pic or --without-pic was given.
7197
 
if test "${with_pic+set}" = set; then
7198
 
  withval="$with_pic"
7199
 
  pic_mode="$withval"
7200
 
else
7201
 
  pic_mode=default
7202
 
fi;
7203
 
test -z "$pic_mode" && pic_mode=default
7204
 
 
7205
8358
# Use C for the default configuration in the libtool script
7206
 
tagname=
 
8359
 
7207
8360
lt_save_CC="$CC"
7208
8361
ac_ext=c
7209
8362
ac_cpp='$CPP $CPPFLAGS'
7220
8373
objext=$objext
7221
8374
 
7222
8375
# Code to be used in simple compile tests
7223
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
8376
lt_simple_compile_test_code="int some_variable = 0;"
7224
8377
 
7225
8378
# Code to be used in simple link tests
7226
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
8379
lt_simple_link_test_code='int main(){return(0);}'
 
8380
 
 
8381
 
 
8382
 
 
8383
 
 
8384
 
7227
8385
 
7228
8386
 
7229
8387
# If no C compiler was specified, use CC.
7235
8393
# Allow CC to be a program name with arguments.
7236
8394
compiler=$CC
7237
8395
 
 
8396
# Save the default compiler, since it gets overwritten when the other
 
8397
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8398
compiler_DEFAULT=$CC
7238
8399
 
7239
8400
# save warnings/boilerplate of simple test code
7240
8401
ac_outfile=conftest.$ac_objext
7241
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
8402
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7242
8403
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7243
8404
_lt_compiler_boilerplate=`cat conftest.err`
7244
 
$rm conftest*
 
8405
$RM conftest*
7245
8406
 
7246
8407
ac_outfile=conftest.$ac_objext
7247
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
8408
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7248
8409
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7249
8410
_lt_linker_boilerplate=`cat conftest.err`
7250
 
$rm conftest*
7251
 
 
7252
 
 
 
8411
$RM -r conftest*
 
8412
 
 
8413
 
 
8414
## CAVEAT EMPTOR:
 
8415
## There is no encapsulation within the following macros, do not change
 
8416
## the running order or otherwise move them around unless you know exactly
 
8417
## what you are doing...
 
8418
if test -n "$compiler"; then
7253
8419
 
7254
8420
lt_prog_compiler_no_builtin_flag=
7255
8421
 
7256
8422
if test "$GCC" = yes; then
7257
8423
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7258
8424
 
7259
 
 
7260
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7261
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
 
8425
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8426
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7262
8427
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7263
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8428
  $as_echo_n "(cached) " >&6
7264
8429
else
7265
8430
  lt_cv_prog_compiler_rtti_exceptions=no
7266
 
  ac_outfile=conftest.$ac_objext
7267
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8431
   ac_outfile=conftest.$ac_objext
 
8432
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7268
8433
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7269
8434
   # Insert the option either (1) after the last *FLAGS variable, or
7270
8435
   # (2) before a word containing "conftest.", or (3) at the end.
7275
8440
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7276
8441
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7277
8442
   -e 's:$: $lt_compiler_flag:'`
7278
 
   (eval echo "\"\$as_me:7278: $lt_compile\"" >&5)
 
8443
   (eval echo "\"\$as_me:8443: $lt_compile\"" >&5)
7279
8444
   (eval "$lt_compile" 2>conftest.err)
7280
8445
   ac_status=$?
7281
8446
   cat conftest.err >&5
7282
 
   echo "$as_me:7282: \$? = $ac_status" >&5
 
8447
   echo "$as_me:8447: \$? = $ac_status" >&5
7283
8448
   if (exit $ac_status) && test -s "$ac_outfile"; then
7284
8449
     # The compiler can only warn and ignore the option if not recognized
7285
8450
     # So say no if there are warnings other than the usual output.
7286
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8451
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7287
8452
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7288
8453
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7289
8454
       lt_cv_prog_compiler_rtti_exceptions=yes
7290
8455
     fi
7291
8456
   fi
7292
 
   $rm conftest*
 
8457
   $RM conftest*
7293
8458
 
7294
8459
fi
7295
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7296
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
 
8460
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8461
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7297
8462
 
7298
8463
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7299
8464
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7303
8468
 
7304
8469
fi
7305
8470
 
7306
 
lt_prog_compiler_wl=
 
8471
 
 
8472
 
 
8473
 
 
8474
 
 
8475
 
 
8476
  lt_prog_compiler_wl=
7307
8477
lt_prog_compiler_pic=
7308
8478
lt_prog_compiler_static=
7309
8479
 
7310
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7311
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
 
8480
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8481
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7312
8482
 
7313
8483
  if test "$GCC" = yes; then
7314
8484
    lt_prog_compiler_wl='-Wl,'
7324
8494
      ;;
7325
8495
 
7326
8496
    amigaos*)
7327
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7328
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7329
 
      # like `-m68040'.
7330
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8497
      case $host_cpu in
 
8498
      powerpc)
 
8499
            # see comment about AmigaOS4 .so support
 
8500
            lt_prog_compiler_pic='-fPIC'
 
8501
        ;;
 
8502
      m68k)
 
8503
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8504
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8505
            # like `-m68040'.
 
8506
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8507
        ;;
 
8508
      esac
7331
8509
      ;;
7332
8510
 
7333
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
8511
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7334
8512
      # PIC is the default for these OSes.
7335
8513
      ;;
7336
8514
 
7337
 
    mingw* | pw32* | os2*)
 
8515
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7338
8516
      # This hack is so that the source file can tell whether it is being
7339
8517
      # built for inclusion in a dll (and should export symbols for example).
 
8518
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
8519
      # (--disable-auto-import) libraries
7340
8520
      lt_prog_compiler_pic='-DDLL_EXPORT'
7341
8521
      ;;
7342
8522
 
7346
8526
      lt_prog_compiler_pic='-fno-common'
7347
8527
      ;;
7348
8528
 
7349
 
    interix3*)
 
8529
    hpux*)
 
8530
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8531
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8532
      # sets the default TLS model and affects inlining.
 
8533
      case $host_cpu in
 
8534
      hppa*64*)
 
8535
        # +Z the default
 
8536
        ;;
 
8537
      *)
 
8538
        lt_prog_compiler_pic='-fPIC'
 
8539
        ;;
 
8540
      esac
 
8541
      ;;
 
8542
 
 
8543
    interix[3-9]*)
7350
8544
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7351
8545
      # Instead, we relocate shared libraries at runtime.
7352
8546
      ;;
7358
8552
      enable_shared=no
7359
8553
      ;;
7360
8554
 
 
8555
    *nto* | *qnx*)
 
8556
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8557
      # it will coredump.
 
8558
      lt_prog_compiler_pic='-fPIC -shared'
 
8559
      ;;
 
8560
 
7361
8561
    sysv4*MP*)
7362
8562
      if test -d /usr/nec; then
7363
8563
        lt_prog_compiler_pic=-Kconform_pic
7364
8564
      fi
7365
8565
      ;;
7366
8566
 
7367
 
    hpux*)
7368
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7369
 
      # not for PA HP-UX.
7370
 
      case $host_cpu in
7371
 
      hppa*64*|ia64*)
7372
 
        # +Z the default
7373
 
        ;;
7374
 
      *)
7375
 
        lt_prog_compiler_pic='-fPIC'
7376
 
        ;;
7377
 
      esac
7378
 
      ;;
7379
 
 
7380
8567
    *)
7381
8568
      lt_prog_compiler_pic='-fPIC'
7382
8569
      ;;
7393
8580
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7394
8581
      fi
7395
8582
      ;;
7396
 
      darwin*)
7397
 
        # PIC is the default on this platform
7398
 
        # Common symbols not allowed in MH_DYLIB files
7399
 
       case $cc_basename in
7400
 
         xlc*)
7401
 
         lt_prog_compiler_pic='-qnocommon'
7402
 
         lt_prog_compiler_wl='-Wl,'
7403
 
         ;;
7404
 
       esac
7405
 
       ;;
7406
8583
 
7407
 
    mingw* | pw32* | os2*)
 
8584
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7408
8585
      # This hack is so that the source file can tell whether it is being
7409
8586
      # built for inclusion in a dll (and should export symbols for example).
7410
8587
      lt_prog_compiler_pic='-DDLL_EXPORT'
7432
8609
      lt_prog_compiler_static='-non_shared'
7433
8610
      ;;
7434
8611
 
7435
 
    newsos6)
7436
 
      lt_prog_compiler_pic='-KPIC'
7437
 
      lt_prog_compiler_static='-Bstatic'
7438
 
      ;;
7439
 
 
7440
 
    linux*)
 
8612
    linux* | k*bsd*-gnu)
7441
8613
      case $cc_basename in
7442
 
      icc* | ecc*)
 
8614
      # old Intel for x86_64 which still supported -KPIC.
 
8615
      ecc*)
7443
8616
        lt_prog_compiler_wl='-Wl,'
7444
8617
        lt_prog_compiler_pic='-KPIC'
7445
8618
        lt_prog_compiler_static='-static'
7446
8619
        ;;
 
8620
      # icc used to be incompatible with GCC.
 
8621
      # ICC 10 doesn't accept -KPIC any more.
 
8622
      icc* | ifort*)
 
8623
        lt_prog_compiler_wl='-Wl,'
 
8624
        lt_prog_compiler_pic='-fPIC'
 
8625
        lt_prog_compiler_static='-static'
 
8626
        ;;
 
8627
      # Lahey Fortran 8.1.
 
8628
      lf95*)
 
8629
        lt_prog_compiler_wl='-Wl,'
 
8630
        lt_prog_compiler_pic='--shared'
 
8631
        lt_prog_compiler_static='--static'
 
8632
        ;;
7447
8633
      pgcc* | pgf77* | pgf90* | pgf95*)
7448
8634
        # Portland Group compilers (*not* the Pentium gcc compiler,
7449
8635
        # which looks to be a dead project)
7456
8642
        # All Alpha code is PIC.
7457
8643
        lt_prog_compiler_static='-non_shared'
7458
8644
        ;;
 
8645
      xl*)
 
8646
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8647
        lt_prog_compiler_wl='-Wl,'
 
8648
        lt_prog_compiler_pic='-qpic'
 
8649
        lt_prog_compiler_static='-qstaticlink'
 
8650
        ;;
 
8651
      *)
 
8652
        case `$CC -V 2>&1 | sed 5q` in
 
8653
        *Sun\ C*)
 
8654
          # Sun C 5.9
 
8655
          lt_prog_compiler_pic='-KPIC'
 
8656
          lt_prog_compiler_static='-Bstatic'
 
8657
          lt_prog_compiler_wl='-Wl,'
 
8658
          ;;
 
8659
        *Sun\ F*)
 
8660
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
8661
          lt_prog_compiler_pic='-KPIC'
 
8662
          lt_prog_compiler_static='-Bstatic'
 
8663
          lt_prog_compiler_wl=''
 
8664
          ;;
 
8665
        esac
 
8666
        ;;
7459
8667
      esac
7460
8668
      ;;
7461
8669
 
 
8670
    newsos6)
 
8671
      lt_prog_compiler_pic='-KPIC'
 
8672
      lt_prog_compiler_static='-Bstatic'
 
8673
      ;;
 
8674
 
 
8675
    *nto* | *qnx*)
 
8676
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8677
      # it will coredump.
 
8678
      lt_prog_compiler_pic='-fPIC -shared'
 
8679
      ;;
 
8680
 
7462
8681
    osf3* | osf4* | osf5*)
7463
8682
      lt_prog_compiler_wl='-Wl,'
7464
8683
      # All OSF/1 code is PIC.
7465
8684
      lt_prog_compiler_static='-non_shared'
7466
8685
      ;;
7467
8686
 
 
8687
    rdos*)
 
8688
      lt_prog_compiler_static='-non_shared'
 
8689
      ;;
 
8690
 
7468
8691
    solaris*)
7469
8692
      lt_prog_compiler_pic='-KPIC'
7470
8693
      lt_prog_compiler_static='-Bstatic'
7517
8740
    esac
7518
8741
  fi
7519
8742
 
7520
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7521
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6
 
8743
case $host_os in
 
8744
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8745
  *djgpp*)
 
8746
    lt_prog_compiler_pic=
 
8747
    ;;
 
8748
  *)
 
8749
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8750
    ;;
 
8751
esac
 
8752
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8753
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8754
 
 
8755
 
 
8756
 
 
8757
 
 
8758
 
7522
8759
 
7523
8760
#
7524
8761
# Check to make sure the PIC flag actually works.
7525
8762
#
7526
8763
if test -n "$lt_prog_compiler_pic"; then
7527
 
 
7528
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7529
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7530
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7531
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8764
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8765
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8766
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8767
  $as_echo_n "(cached) " >&6
7532
8768
else
7533
 
  lt_prog_compiler_pic_works=no
7534
 
  ac_outfile=conftest.$ac_objext
7535
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8769
  lt_cv_prog_compiler_pic_works=no
 
8770
   ac_outfile=conftest.$ac_objext
 
8771
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7536
8772
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7537
8773
   # Insert the option either (1) after the last *FLAGS variable, or
7538
8774
   # (2) before a word containing "conftest.", or (3) at the end.
7543
8779
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7544
8780
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7545
8781
   -e 's:$: $lt_compiler_flag:'`
7546
 
   (eval echo "\"\$as_me:7546: $lt_compile\"" >&5)
 
8782
   (eval echo "\"\$as_me:8782: $lt_compile\"" >&5)
7547
8783
   (eval "$lt_compile" 2>conftest.err)
7548
8784
   ac_status=$?
7549
8785
   cat conftest.err >&5
7550
 
   echo "$as_me:7550: \$? = $ac_status" >&5
 
8786
   echo "$as_me:8786: \$? = $ac_status" >&5
7551
8787
   if (exit $ac_status) && test -s "$ac_outfile"; then
7552
8788
     # The compiler can only warn and ignore the option if not recognized
7553
8789
     # So say no if there are warnings other than the usual output.
7554
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8790
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7555
8791
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7556
8792
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7557
 
       lt_prog_compiler_pic_works=yes
 
8793
       lt_cv_prog_compiler_pic_works=yes
7558
8794
     fi
7559
8795
   fi
7560
 
   $rm conftest*
 
8796
   $RM conftest*
7561
8797
 
7562
8798
fi
7563
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7564
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
 
8799
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8800
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7565
8801
 
7566
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
8802
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7567
8803
    case $lt_prog_compiler_pic in
7568
8804
     "" | " "*) ;;
7569
8805
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7574
8810
fi
7575
8811
 
7576
8812
fi
7577
 
case $host_os in
7578
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7579
 
  *djgpp*)
7580
 
    lt_prog_compiler_pic=
7581
 
    ;;
7582
 
  *)
7583
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7584
 
    ;;
7585
 
esac
 
8813
 
 
8814
 
 
8815
 
 
8816
 
 
8817
 
7586
8818
 
7587
8819
#
7588
8820
# Check to make sure the static flag actually works.
7589
8821
#
7590
8822
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7591
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7592
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7593
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7594
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8823
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8824
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8825
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8826
  $as_echo_n "(cached) " >&6
7595
8827
else
7596
 
  lt_prog_compiler_static_works=no
 
8828
  lt_cv_prog_compiler_static_works=no
7597
8829
   save_LDFLAGS="$LDFLAGS"
7598
8830
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7599
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
8831
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7600
8832
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7601
8833
     # The linker can only warn and ignore the option if not recognized
7602
8834
     # So say no if there are warnings
7603
8835
     if test -s conftest.err; then
7604
8836
       # Append any errors to the config.log.
7605
8837
       cat conftest.err 1>&5
7606
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8838
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7607
8839
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7608
8840
       if diff conftest.exp conftest.er2 >/dev/null; then
7609
 
         lt_prog_compiler_static_works=yes
 
8841
         lt_cv_prog_compiler_static_works=yes
7610
8842
       fi
7611
8843
     else
7612
 
       lt_prog_compiler_static_works=yes
 
8844
       lt_cv_prog_compiler_static_works=yes
7613
8845
     fi
7614
8846
   fi
7615
 
   $rm conftest*
 
8847
   $RM -r conftest*
7616
8848
   LDFLAGS="$save_LDFLAGS"
7617
8849
 
7618
8850
fi
7619
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7620
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
 
8851
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8852
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7621
8853
 
7622
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8854
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7623
8855
    :
7624
8856
else
7625
8857
    lt_prog_compiler_static=
7626
8858
fi
7627
8859
 
7628
8860
 
7629
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7630
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7631
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7632
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7633
 
else
7634
 
  lt_cv_prog_compiler_c_o=no
7635
 
   $rm -r conftest 2>/dev/null
7636
 
   mkdir conftest
7637
 
   cd conftest
7638
 
   mkdir out
7639
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7640
 
 
7641
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7642
 
   # Insert the option either (1) after the last *FLAGS variable, or
7643
 
   # (2) before a word containing "conftest.", or (3) at the end.
7644
 
   # Note that $ac_compile itself does not contain backslashes and begins
7645
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7646
 
   lt_compile=`echo "$ac_compile" | $SED \
7647
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7648
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7649
 
   -e 's:$: $lt_compiler_flag:'`
7650
 
   (eval echo "\"\$as_me:7650: $lt_compile\"" >&5)
7651
 
   (eval "$lt_compile" 2>out/conftest.err)
7652
 
   ac_status=$?
7653
 
   cat out/conftest.err >&5
7654
 
   echo "$as_me:7654: \$? = $ac_status" >&5
7655
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7656
 
   then
7657
 
     # The compiler can only warn and ignore the option if not recognized
7658
 
     # So say no if there are warnings
7659
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7660
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7661
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7662
 
       lt_cv_prog_compiler_c_o=yes
7663
 
     fi
7664
 
   fi
7665
 
   chmod u+w . 2>&5
7666
 
   $rm conftest*
7667
 
   # SGI C++ compiler will create directory out/ii_files/ for
7668
 
   # template instantiation
7669
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7670
 
   $rm out/* && rmdir out
7671
 
   cd ..
7672
 
   rmdir conftest
7673
 
   $rm conftest*
7674
 
 
7675
 
fi
7676
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7677
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
 
8861
 
 
8862
 
 
8863
 
 
8864
 
 
8865
 
 
8866
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8867
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8868
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8869
  $as_echo_n "(cached) " >&6
 
8870
else
 
8871
  lt_cv_prog_compiler_c_o=no
 
8872
   $RM -r conftest 2>/dev/null
 
8873
   mkdir conftest
 
8874
   cd conftest
 
8875
   mkdir out
 
8876
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8877
 
 
8878
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8879
   # Insert the option either (1) after the last *FLAGS variable, or
 
8880
   # (2) before a word containing "conftest.", or (3) at the end.
 
8881
   # Note that $ac_compile itself does not contain backslashes and begins
 
8882
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8883
   lt_compile=`echo "$ac_compile" | $SED \
 
8884
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8885
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8886
   -e 's:$: $lt_compiler_flag:'`
 
8887
   (eval echo "\"\$as_me:8887: $lt_compile\"" >&5)
 
8888
   (eval "$lt_compile" 2>out/conftest.err)
 
8889
   ac_status=$?
 
8890
   cat out/conftest.err >&5
 
8891
   echo "$as_me:8891: \$? = $ac_status" >&5
 
8892
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8893
   then
 
8894
     # The compiler can only warn and ignore the option if not recognized
 
8895
     # So say no if there are warnings
 
8896
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8897
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8898
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8899
       lt_cv_prog_compiler_c_o=yes
 
8900
     fi
 
8901
   fi
 
8902
   chmod u+w . 2>&5
 
8903
   $RM conftest*
 
8904
   # SGI C++ compiler will create directory out/ii_files/ for
 
8905
   # template instantiation
 
8906
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8907
   $RM out/* && rmdir out
 
8908
   cd ..
 
8909
   $RM -r conftest
 
8910
   $RM conftest*
 
8911
 
 
8912
fi
 
8913
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8914
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8915
 
 
8916
 
 
8917
 
 
8918
 
 
8919
 
 
8920
 
 
8921
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8922
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8923
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8924
  $as_echo_n "(cached) " >&6
 
8925
else
 
8926
  lt_cv_prog_compiler_c_o=no
 
8927
   $RM -r conftest 2>/dev/null
 
8928
   mkdir conftest
 
8929
   cd conftest
 
8930
   mkdir out
 
8931
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8932
 
 
8933
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8934
   # Insert the option either (1) after the last *FLAGS variable, or
 
8935
   # (2) before a word containing "conftest.", or (3) at the end.
 
8936
   # Note that $ac_compile itself does not contain backslashes and begins
 
8937
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8938
   lt_compile=`echo "$ac_compile" | $SED \
 
8939
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8940
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8941
   -e 's:$: $lt_compiler_flag:'`
 
8942
   (eval echo "\"\$as_me:8942: $lt_compile\"" >&5)
 
8943
   (eval "$lt_compile" 2>out/conftest.err)
 
8944
   ac_status=$?
 
8945
   cat out/conftest.err >&5
 
8946
   echo "$as_me:8946: \$? = $ac_status" >&5
 
8947
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8948
   then
 
8949
     # The compiler can only warn and ignore the option if not recognized
 
8950
     # So say no if there are warnings
 
8951
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8952
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8953
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8954
       lt_cv_prog_compiler_c_o=yes
 
8955
     fi
 
8956
   fi
 
8957
   chmod u+w . 2>&5
 
8958
   $RM conftest*
 
8959
   # SGI C++ compiler will create directory out/ii_files/ for
 
8960
   # template instantiation
 
8961
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8962
   $RM out/* && rmdir out
 
8963
   cd ..
 
8964
   $RM -r conftest
 
8965
   $RM conftest*
 
8966
 
 
8967
fi
 
8968
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8969
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8970
 
 
8971
 
7678
8972
 
7679
8973
 
7680
8974
hard_links="nottested"
7681
8975
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7682
8976
  # do not overwrite the value of need_locks provided by the user
7683
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7684
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
 
8977
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8978
$as_echo_n "checking if we can lock with hard links... " >&6; }
7685
8979
  hard_links=yes
7686
 
  $rm conftest*
 
8980
  $RM conftest*
7687
8981
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7688
8982
  touch conftest.a
7689
8983
  ln conftest.a conftest.b 2>&5 || hard_links=no
7690
8984
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7691
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
7692
 
echo "${ECHO_T}$hard_links" >&6
 
8985
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8986
$as_echo "$hard_links" >&6; }
7693
8987
  if test "$hard_links" = no; then
7694
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7695
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8988
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8989
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7696
8990
    need_locks=warn
7697
8991
  fi
7698
8992
else
7699
8993
  need_locks=no
7700
8994
fi
7701
8995
 
7702
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7703
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 
8996
 
 
8997
 
 
8998
 
 
8999
 
 
9000
 
 
9001
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9002
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7704
9003
 
7705
9004
  runpath_var=
7706
9005
  allow_undefined_flag=
7707
 
  enable_shared_with_static_runtimes=no
 
9006
  always_export_symbols=no
7708
9007
  archive_cmds=
7709
9008
  archive_expsym_cmds=
7710
 
  old_archive_From_new_cmds=
7711
 
  old_archive_from_expsyms_cmds=
 
9009
  compiler_needs_object=no
 
9010
  enable_shared_with_static_runtimes=no
7712
9011
  export_dynamic_flag_spec=
7713
 
  whole_archive_flag_spec=
7714
 
  thread_safe_flag_spec=
 
9012
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9013
  hardcode_automatic=no
 
9014
  hardcode_direct=no
 
9015
  hardcode_direct_absolute=no
7715
9016
  hardcode_libdir_flag_spec=
7716
9017
  hardcode_libdir_flag_spec_ld=
7717
9018
  hardcode_libdir_separator=
7718
 
  hardcode_direct=no
7719
9019
  hardcode_minus_L=no
7720
9020
  hardcode_shlibpath_var=unsupported
 
9021
  inherit_rpath=no
7721
9022
  link_all_deplibs=unknown
7722
 
  hardcode_automatic=no
7723
9023
  module_cmds=
7724
9024
  module_expsym_cmds=
7725
 
  always_export_symbols=no
7726
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9025
  old_archive_from_new_cmds=
 
9026
  old_archive_from_expsyms_cmds=
 
9027
  thread_safe_flag_spec=
 
9028
  whole_archive_flag_spec=
7727
9029
  # include_expsyms should be a list of space-separated symbols to be *always*
7728
9030
  # included in the symbol list
7729
9031
  include_expsyms=
7731
9033
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7732
9034
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7733
9035
  # as well as any symbol that contains `d'.
7734
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
9036
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7735
9037
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7736
9038
  # platforms (ab)use it in PIC code, but their linkers get confused if
7737
9039
  # the symbol is explicitly referenced.  Since portable code cannot
7738
9040
  # rely on this symbol name, it's probably fine to never include it in
7739
9041
  # preloaded symbol tables.
 
9042
  # Exclude shared library initialization/finalization symbols.
7740
9043
  extract_expsyms_cmds=
7741
 
  # Just being paranoid about ensuring that cc_basename is set.
7742
 
  for cc_temp in $compiler""; do
7743
 
  case $cc_temp in
7744
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7745
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7746
 
    \-*) ;;
7747
 
    *) break;;
7748
 
  esac
7749
 
done
7750
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7751
9044
 
7752
9045
  case $host_os in
7753
 
  cygwin* | mingw* | pw32*)
 
9046
  cygwin* | mingw* | pw32* | cegcc*)
7754
9047
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7755
9048
    # When not using gcc, we currently assume that we are using
7756
9049
    # Microsoft Visual C++.
7776
9069
    # are reset later if shared libraries are not supported. Putting them
7777
9070
    # here allows them to be overridden if necessary.
7778
9071
    runpath_var=LD_RUN_PATH
7779
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9072
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7780
9073
    export_dynamic_flag_spec='${wl}--export-dynamic'
7781
9074
    # ancient GNU ld didn't support --whole-archive et. al.
7782
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7783
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7784
 
      else
7785
 
        whole_archive_flag_spec=
 
9075
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9076
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9077
    else
 
9078
      whole_archive_flag_spec=
7786
9079
    fi
7787
9080
    supports_anon_versioning=no
7788
 
    case `$LD -v 2>/dev/null` in
 
9081
    case `$LD -v 2>&1` in
7789
9082
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7790
9083
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7791
9084
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7795
9088
 
7796
9089
    # See if GNU ld supports shared libraries.
7797
9090
    case $host_os in
7798
 
    aix3* | aix4* | aix5*)
 
9091
    aix[3-9]*)
7799
9092
      # On AIX/PPC, the GNU linker is very broken
7800
9093
      if test "$host_cpu" != ia64; then
7801
9094
        ld_shlibs=no
7802
 
        cat <<EOF 1>&2
 
9095
        cat <<_LT_EOF 1>&2
7803
9096
 
7804
9097
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7805
9098
*** to be unable to reliably create shared libraries on AIX.
7807
9100
*** really care for shared libraries, you may want to modify your PATH
7808
9101
*** so that a non-GNU linker is found, and then restart.
7809
9102
 
7810
 
EOF
 
9103
_LT_EOF
7811
9104
      fi
7812
9105
      ;;
7813
9106
 
7814
9107
    amigaos*)
7815
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7816
 
      hardcode_libdir_flag_spec='-L$libdir'
7817
 
      hardcode_minus_L=yes
7818
 
 
7819
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7820
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
7821
 
      # to version 4, is to share data among multiple programs linked
7822
 
      # with the same dynamic library.  Since this doesn't match the
7823
 
      # behavior of shared libraries on other platforms, we can't use
7824
 
      # them.
7825
 
      ld_shlibs=no
 
9108
      case $host_cpu in
 
9109
      powerpc)
 
9110
            # see comment about AmigaOS4 .so support
 
9111
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9112
            archive_expsym_cmds=''
 
9113
        ;;
 
9114
      m68k)
 
9115
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
9116
            hardcode_libdir_flag_spec='-L$libdir'
 
9117
            hardcode_minus_L=yes
 
9118
        ;;
 
9119
      esac
7826
9120
      ;;
7827
9121
 
7828
9122
    beos*)
7829
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9123
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7830
9124
        allow_undefined_flag=unsupported
7831
9125
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7832
9126
        # support --undefined.  This deserves some investigation.  FIXME
7836
9130
      fi
7837
9131
      ;;
7838
9132
 
7839
 
    cygwin* | mingw* | pw32*)
7840
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9133
    cygwin* | mingw* | pw32* | cegcc*)
 
9134
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7841
9135
      # as there is no search path for DLLs.
7842
9136
      hardcode_libdir_flag_spec='-L$libdir'
7843
9137
      allow_undefined_flag=unsupported
7844
9138
      always_export_symbols=no
7845
9139
      enable_shared_with_static_runtimes=yes
7846
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
9140
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7847
9141
 
7848
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9142
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7849
9143
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7850
9144
        # If the export-symbols file already is a .def file (1st line
7851
9145
        # is EXPORTS), use it as is; otherwise, prepend...
7861
9155
      fi
7862
9156
      ;;
7863
9157
 
7864
 
    interix3*)
 
9158
    interix[3-9]*)
7865
9159
      hardcode_direct=no
7866
9160
      hardcode_shlibpath_var=no
7867
9161
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7876
9170
      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'
7877
9171
      ;;
7878
9172
 
7879
 
    linux*)
7880
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9173
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9174
      tmp_diet=no
 
9175
      if test "$host_os" = linux-dietlibc; then
 
9176
        case $cc_basename in
 
9177
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9178
        esac
 
9179
      fi
 
9180
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9181
         && test "$tmp_diet" = no
 
9182
      then
7881
9183
        tmp_addflag=
 
9184
        tmp_sharedflag='-shared'
7882
9185
        case $cc_basename,$host_cpu in
7883
 
        pgcc*)                          # Portland Group C compiler
7884
 
          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'
 
9186
        pgcc*)                          # Portland Group C compiler
 
9187
          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'
7885
9188
          tmp_addflag=' $pic_flag'
7886
9189
          ;;
7887
9190
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7888
 
          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'
 
9191
          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'
7889
9192
          tmp_addflag=' $pic_flag -Mnomain' ;;
7890
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
9193
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7891
9194
          tmp_addflag=' -i_dynamic' ;;
7892
9195
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7893
9196
          tmp_addflag=' -i_dynamic -nofor_main' ;;
7894
9197
        ifc* | ifort*)                  # Intel Fortran compiler
7895
9198
          tmp_addflag=' -nofor_main' ;;
7896
 
        esac
7897
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7898
 
 
7899
 
        if test $supports_anon_versioning = yes; then
7900
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7901
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7902
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
7903
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7904
 
        fi
 
9199
        lf95*)                          # Lahey Fortran 8.1
 
9200
          whole_archive_flag_spec=
 
9201
          tmp_sharedflag='--shared' ;;
 
9202
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9203
          tmp_sharedflag='-qmkshrobj'
 
9204
          tmp_addflag= ;;
 
9205
        esac
 
9206
        case `$CC -V 2>&1 | sed 5q` in
 
9207
        *Sun\ C*)                       # Sun C 5.9
 
9208
          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'
 
9209
          compiler_needs_object=yes
 
9210
          tmp_sharedflag='-G' ;;
 
9211
        *Sun\ F*)                       # Sun Fortran 8.3
 
9212
          tmp_sharedflag='-G' ;;
 
9213
        esac
 
9214
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9215
 
 
9216
        if test "x$supports_anon_versioning" = xyes; then
 
9217
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9218
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9219
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9220
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9221
        fi
 
9222
 
 
9223
        case $cc_basename in
 
9224
        xlf*)
 
9225
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9226
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9227
          hardcode_libdir_flag_spec=
 
9228
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9229
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9230
          if test "x$supports_anon_versioning" = xyes; then
 
9231
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9232
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9233
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9234
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9235
          fi
 
9236
          ;;
 
9237
        esac
7905
9238
      else
7906
 
        ld_shlibs=no
 
9239
        ld_shlibs=no
7907
9240
      fi
7908
9241
      ;;
7909
9242
 
7910
9243
    netbsd*)
7911
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9244
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7912
9245
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7913
9246
        wlarc=
7914
9247
      else
7918
9251
      ;;
7919
9252
 
7920
9253
    solaris*)
7921
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
9254
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7922
9255
        ld_shlibs=no
7923
 
        cat <<EOF 1>&2
 
9256
        cat <<_LT_EOF 1>&2
7924
9257
 
7925
9258
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7926
9259
*** create shared libraries on Solaris systems.  Therefore, libtool
7929
9262
*** your PATH or compiler configuration so that the native linker is
7930
9263
*** used, and then restart.
7931
9264
 
7932
 
EOF
7933
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9265
_LT_EOF
 
9266
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7934
9267
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7935
9268
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7936
9269
      else
7954
9287
_LT_EOF
7955
9288
        ;;
7956
9289
        *)
7957
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7958
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7959
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7960
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9290
          # For security reasons, it is highly recommended that you always
 
9291
          # use absolute paths for naming shared libraries, and exclude the
 
9292
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9293
          # requires that you compile everything twice, which is a pain.
 
9294
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9295
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9296
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9297
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7961
9298
          else
7962
9299
            ld_shlibs=no
7963
9300
          fi
7973
9310
      ;;
7974
9311
 
7975
9312
    *)
7976
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9313
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7977
9314
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7978
9315
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7979
9316
      else
8005
9342
      fi
8006
9343
      ;;
8007
9344
 
8008
 
    aix4* | aix5*)
 
9345
    aix[4-9]*)
8009
9346
      if test "$host_cpu" = ia64; then
8010
9347
        # On IA64, the linker does run time linking by default, so we don't
8011
9348
        # have to do anything special.
8015
9352
      else
8016
9353
        # If we're using GNU nm, then we don't want the "-C" option.
8017
9354
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8018
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8019
 
          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'
 
9355
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9356
          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'
8020
9357
        else
8021
 
          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'
 
9358
          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'
8022
9359
        fi
8023
9360
        aix_use_runtimelinking=no
8024
9361
 
8025
9362
        # Test if we are trying to use run time linking or normal
8026
9363
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8027
9364
        # need to do runtime linking.
8028
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
9365
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8029
9366
          for ld_flag in $LDFLAGS; do
8030
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8031
 
            aix_use_runtimelinking=yes
8032
 
            break
8033
 
          fi
 
9367
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9368
            aix_use_runtimelinking=yes
 
9369
            break
 
9370
          fi
8034
9371
          done
8035
9372
          ;;
8036
9373
        esac
8047
9384
 
8048
9385
      archive_cmds=''
8049
9386
      hardcode_direct=yes
 
9387
      hardcode_direct_absolute=yes
8050
9388
      hardcode_libdir_separator=':'
8051
9389
      link_all_deplibs=yes
 
9390
      file_list_spec='${wl}-f,'
8052
9391
 
8053
9392
      if test "$GCC" = yes; then
8054
9393
        case $host_os in aix4.[012]|aix4.[012].*)
8055
9394
        # We only want to do this on AIX 4.2 and lower, the check
8056
9395
        # below for broken collect2 doesn't work under 4.3+
8057
9396
          collect2name=`${CC} -print-prog-name=collect2`
8058
 
          if test -f "$collect2name" && \
8059
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
9397
          if test -f "$collect2name" &&
 
9398
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8060
9399
          then
8061
 
          # We have reworked collect2
8062
 
          hardcode_direct=yes
 
9400
          # We have reworked collect2
 
9401
          :
8063
9402
          else
8064
 
          # We have old collect2
8065
 
          hardcode_direct=unsupported
8066
 
          # It fails to find uninstalled libraries when the uninstalled
8067
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8068
 
          # to unsupported forces relinking
8069
 
          hardcode_minus_L=yes
8070
 
          hardcode_libdir_flag_spec='-L$libdir'
8071
 
          hardcode_libdir_separator=
 
9403
          # We have old collect2
 
9404
          hardcode_direct=unsupported
 
9405
          # It fails to find uninstalled libraries when the uninstalled
 
9406
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9407
          # to unsupported forces relinking
 
9408
          hardcode_minus_L=yes
 
9409
          hardcode_libdir_flag_spec='-L$libdir'
 
9410
          hardcode_libdir_separator=
8072
9411
          fi
8073
9412
          ;;
8074
9413
        esac
8079
9418
      else
8080
9419
        # not using gcc
8081
9420
        if test "$host_cpu" = ia64; then
8082
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8083
 
        # chokes on -Wl,-G. The following line is correct:
 
9421
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9422
        # chokes on -Wl,-G. The following line is correct:
8084
9423
          shared_flag='-G'
8085
9424
        else
8086
9425
          if test "$aix_use_runtimelinking" = yes; then
8091
9430
        fi
8092
9431
      fi
8093
9432
 
 
9433
      export_dynamic_flag_spec='${wl}-bexpall'
8094
9434
      # It seems that -bexpall does not export symbols beginning with
8095
9435
      # underscore (_), so it is better to generate a list of symbols to export.
8096
9436
      always_export_symbols=yes
8098
9438
        # Warning - without using the other runtime loading flags (-brtl),
8099
9439
        # -berok will link without error, but may produce a broken library.
8100
9440
        allow_undefined_flag='-berok'
8101
 
       # Determine the default libpath from the value encoded in an empty executable.
8102
 
       cat >conftest.$ac_ext <<_ACEOF
 
9441
        # Determine the default libpath from the value encoded in an
 
9442
        # empty executable.
 
9443
        cat >conftest.$ac_ext <<_ACEOF
8103
9444
/* confdefs.h.  */
8104
9445
_ACEOF
8105
9446
cat confdefs.h >>conftest.$ac_ext
8115
9456
}
8116
9457
_ACEOF
8117
9458
rm -f conftest.$ac_objext conftest$ac_exeext
8118
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8119
 
  (eval $ac_link) 2>conftest.er1
 
9459
if { (ac_try="$ac_link"
 
9460
case "(($ac_try" in
 
9461
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9462
  *) ac_try_echo=$ac_try;;
 
9463
esac
 
9464
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9465
$as_echo "$ac_try_echo") >&5
 
9466
  (eval "$ac_link") 2>conftest.er1
8120
9467
  ac_status=$?
8121
9468
  grep -v '^ *+' conftest.er1 >conftest.err
8122
9469
  rm -f conftest.er1
8123
9470
  cat conftest.err >&5
8124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125
 
  (exit $ac_status); } &&
8126
 
         { ac_try='test -z "$ac_c_werror_flag"
8127
 
                         || test ! -s conftest.err'
8128
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129
 
  (eval $ac_try) 2>&5
8130
 
  ac_status=$?
8131
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132
 
  (exit $ac_status); }; } &&
8133
 
         { ac_try='test -s conftest$ac_exeext'
8134
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135
 
  (eval $ac_try) 2>&5
8136
 
  ac_status=$?
8137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138
 
  (exit $ac_status); }; }; then
 
9471
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9472
  (exit $ac_status); } && {
 
9473
         test -z "$ac_c_werror_flag" ||
 
9474
         test ! -s conftest.err
 
9475
       } && test -s conftest$ac_exeext && {
 
9476
         test "$cross_compiling" = yes ||
 
9477
         $as_test_x conftest$ac_exeext
 
9478
       }; then
8139
9479
 
8140
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8141
 
}'`
 
9480
lt_aix_libpath_sed='
 
9481
    /Import File Strings/,/^$/ {
 
9482
        /^0/ {
 
9483
            s/^0  *\(.*\)$/\1/
 
9484
            p
 
9485
        }
 
9486
    }'
 
9487
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8142
9488
# Check for a 64-bit object if we didn't find anything.
8143
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8144
 
}'`; fi
 
9489
if test -z "$aix_libpath"; then
 
9490
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9491
fi
8145
9492
else
8146
 
  echo "$as_me: failed program was:" >&5
 
9493
  $as_echo "$as_me: failed program was:" >&5
8147
9494
sed 's/^/| /' conftest.$ac_ext >&5
8148
9495
 
 
9496
 
8149
9497
fi
8150
 
rm -f conftest.err conftest.$ac_objext \
 
9498
 
 
9499
rm -rf conftest.dSYM
 
9500
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8151
9501
      conftest$ac_exeext conftest.$ac_ext
8152
9502
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8153
9503
 
8154
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8155
 
        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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8156
 
       else
 
9504
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9505
        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"
 
9506
      else
8157
9507
        if test "$host_cpu" = ia64; then
8158
9508
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8159
9509
          allow_undefined_flag="-z nodefs"
8160
9510
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8161
9511
        else
8162
 
         # Determine the default libpath from the value encoded in an empty executable.
 
9512
         # Determine the default libpath from the value encoded in an
 
9513
         # empty executable.
8163
9514
         cat >conftest.$ac_ext <<_ACEOF
8164
9515
/* confdefs.h.  */
8165
9516
_ACEOF
8176
9527
}
8177
9528
_ACEOF
8178
9529
rm -f conftest.$ac_objext conftest$ac_exeext
8179
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8180
 
  (eval $ac_link) 2>conftest.er1
 
9530
if { (ac_try="$ac_link"
 
9531
case "(($ac_try" in
 
9532
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9533
  *) ac_try_echo=$ac_try;;
 
9534
esac
 
9535
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9536
$as_echo "$ac_try_echo") >&5
 
9537
  (eval "$ac_link") 2>conftest.er1
8181
9538
  ac_status=$?
8182
9539
  grep -v '^ *+' conftest.er1 >conftest.err
8183
9540
  rm -f conftest.er1
8184
9541
  cat conftest.err >&5
8185
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186
 
  (exit $ac_status); } &&
8187
 
         { ac_try='test -z "$ac_c_werror_flag"
8188
 
                         || test ! -s conftest.err'
8189
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8190
 
  (eval $ac_try) 2>&5
8191
 
  ac_status=$?
8192
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193
 
  (exit $ac_status); }; } &&
8194
 
         { ac_try='test -s conftest$ac_exeext'
8195
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196
 
  (eval $ac_try) 2>&5
8197
 
  ac_status=$?
8198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199
 
  (exit $ac_status); }; }; then
 
9542
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9543
  (exit $ac_status); } && {
 
9544
         test -z "$ac_c_werror_flag" ||
 
9545
         test ! -s conftest.err
 
9546
       } && test -s conftest$ac_exeext && {
 
9547
         test "$cross_compiling" = yes ||
 
9548
         $as_test_x conftest$ac_exeext
 
9549
       }; then
8200
9550
 
8201
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8202
 
}'`
 
9551
lt_aix_libpath_sed='
 
9552
    /Import File Strings/,/^$/ {
 
9553
        /^0/ {
 
9554
            s/^0  *\(.*\)$/\1/
 
9555
            p
 
9556
        }
 
9557
    }'
 
9558
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8203
9559
# Check for a 64-bit object if we didn't find anything.
8204
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8205
 
}'`; fi
 
9560
if test -z "$aix_libpath"; then
 
9561
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9562
fi
8206
9563
else
8207
 
  echo "$as_me: failed program was:" >&5
 
9564
  $as_echo "$as_me: failed program was:" >&5
8208
9565
sed 's/^/| /' conftest.$ac_ext >&5
8209
9566
 
 
9567
 
8210
9568
fi
8211
 
rm -f conftest.err conftest.$ac_objext \
 
9569
 
 
9570
rm -rf conftest.dSYM
 
9571
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8212
9572
      conftest$ac_exeext conftest.$ac_ext
8213
9573
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8214
9574
 
8227
9587
      ;;
8228
9588
 
8229
9589
    amigaos*)
8230
 
      archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8231
 
      hardcode_libdir_flag_spec='-L$libdir'
8232
 
      hardcode_minus_L=yes
8233
 
      # see comment about different semantics on the GNU ld section
8234
 
      ld_shlibs=no
 
9590
      case $host_cpu in
 
9591
      powerpc)
 
9592
            # see comment about AmigaOS4 .so support
 
9593
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9594
            archive_expsym_cmds=''
 
9595
        ;;
 
9596
      m68k)
 
9597
            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
 
9598
            hardcode_libdir_flag_spec='-L$libdir'
 
9599
            hardcode_minus_L=yes
 
9600
        ;;
 
9601
      esac
8235
9602
      ;;
8236
9603
 
8237
9604
    bsdi[45]*)
8238
9605
      export_dynamic_flag_spec=-rdynamic
8239
9606
      ;;
8240
9607
 
8241
 
    cygwin* | mingw* | pw32*)
 
9608
    cygwin* | mingw* | pw32* | cegcc*)
8242
9609
      # When not using gcc, we currently assume that we are using
8243
9610
      # Microsoft Visual C++.
8244
9611
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8250
9617
      # Tell ltmain to make .dll files, not .so files.
8251
9618
      shrext_cmds=".dll"
8252
9619
      # FIXME: Setting linknames here is a bad hack.
8253
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9620
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8254
9621
      # The linker will automatically build a .lib file if we build a DLL.
8255
 
      old_archive_From_new_cmds='true'
 
9622
      old_archive_from_new_cmds='true'
8256
9623
      # FIXME: Should let the user specify the lib program.
8257
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
9624
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8258
9625
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8259
9626
      enable_shared_with_static_runtimes=yes
8260
9627
      ;;
8261
9628
 
8262
9629
    darwin* | rhapsody*)
8263
 
      case $host_os in
8264
 
        rhapsody* | darwin1.[012])
8265
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8266
 
         ;;
8267
 
       *) # Darwin 1.3 on
8268
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8269
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8270
 
         else
8271
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8272
 
             10.[012])
8273
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8274
 
               ;;
8275
 
             10.*)
8276
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8277
 
               ;;
8278
 
           esac
8279
 
         fi
8280
 
         ;;
8281
 
      esac
8282
 
      archive_cmds_need_lc=no
8283
 
      hardcode_direct=no
8284
 
      hardcode_automatic=yes
8285
 
      hardcode_shlibpath_var=unsupported
8286
 
      whole_archive_flag_spec=''
8287
 
      link_all_deplibs=yes
8288
 
    if test "$GCC" = yes ; then
8289
 
        output_verbose_link_cmd='echo'
8290
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8291
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8292
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8293
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8294
 
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8295
 
    else
8296
 
      case $cc_basename in
8297
 
        xlc*)
8298
 
         output_verbose_link_cmd='echo'
8299
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8300
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8301
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8302
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8303
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8304
 
          ;;
8305
 
       *)
8306
 
         ld_shlibs=no
8307
 
          ;;
8308
 
      esac
8309
 
    fi
 
9630
 
 
9631
 
 
9632
  archive_cmds_need_lc=no
 
9633
  hardcode_direct=no
 
9634
  hardcode_automatic=yes
 
9635
  hardcode_shlibpath_var=unsupported
 
9636
  whole_archive_flag_spec=''
 
9637
  link_all_deplibs=yes
 
9638
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9639
  case $cc_basename in
 
9640
     ifort*) _lt_dar_can_shared=yes ;;
 
9641
     *) _lt_dar_can_shared=$GCC ;;
 
9642
  esac
 
9643
  if test "$_lt_dar_can_shared" = "yes"; then
 
9644
    output_verbose_link_cmd=echo
 
9645
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9646
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9647
    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}"
 
9648
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
 
9649
 
 
9650
  else
 
9651
  ld_shlibs=no
 
9652
  fi
 
9653
 
8310
9654
      ;;
8311
9655
 
8312
9656
    dgux*)
8339
9683
      ;;
8340
9684
 
8341
9685
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8342
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
 
9686
    freebsd* | dragonfly*)
8343
9687
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8344
9688
      hardcode_libdir_flag_spec='-R$libdir'
8345
9689
      hardcode_direct=yes
8348
9692
 
8349
9693
    hpux9*)
8350
9694
      if test "$GCC" = yes; then
8351
 
        archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9695
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8352
9696
      else
8353
 
        archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
9697
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8354
9698
      fi
8355
9699
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8356
9700
      hardcode_libdir_separator=:
8370
9714
      fi
8371
9715
      if test "$with_gnu_ld" = no; then
8372
9716
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9717
        hardcode_libdir_flag_spec_ld='+b $libdir'
8373
9718
        hardcode_libdir_separator=:
8374
 
 
8375
9719
        hardcode_direct=yes
 
9720
        hardcode_direct_absolute=yes
8376
9721
        export_dynamic_flag_spec='${wl}-E'
8377
 
 
8378
9722
        # hardcode_minus_L: Not really in the search PATH,
8379
9723
        # but as the default location of the library.
8380
9724
        hardcode_minus_L=yes
8388
9732
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8389
9733
          ;;
8390
9734
        ia64*)
8391
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9735
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8392
9736
          ;;
8393
9737
        *)
8394
9738
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8413
9757
 
8414
9758
        case $host_cpu in
8415
9759
        hppa*64*|ia64*)
8416
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8417
9760
          hardcode_direct=no
8418
9761
          hardcode_shlibpath_var=no
8419
9762
          ;;
8420
9763
        *)
8421
9764
          hardcode_direct=yes
 
9765
          hardcode_direct_absolute=yes
8422
9766
          export_dynamic_flag_spec='${wl}-E'
8423
9767
 
8424
9768
          # hardcode_minus_L: Not really in the search PATH,
8431
9775
 
8432
9776
    irix5* | irix6* | nonstopux*)
8433
9777
      if test "$GCC" = yes; then
8434
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9778
        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'
 
9779
        # Try to use the -exported_symbol ld option, if it does not
 
9780
        # work, assume that -exports_file does not work either and
 
9781
        # implicitly export all symbols.
 
9782
        save_LDFLAGS="$LDFLAGS"
 
9783
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9784
        cat >conftest.$ac_ext <<_ACEOF
 
9785
int foo(void) {}
 
9786
_ACEOF
 
9787
rm -f conftest.$ac_objext conftest$ac_exeext
 
9788
if { (ac_try="$ac_link"
 
9789
case "(($ac_try" in
 
9790
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9791
  *) ac_try_echo=$ac_try;;
 
9792
esac
 
9793
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9794
$as_echo "$ac_try_echo") >&5
 
9795
  (eval "$ac_link") 2>conftest.er1
 
9796
  ac_status=$?
 
9797
  grep -v '^ *+' conftest.er1 >conftest.err
 
9798
  rm -f conftest.er1
 
9799
  cat conftest.err >&5
 
9800
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9801
  (exit $ac_status); } && {
 
9802
         test -z "$ac_c_werror_flag" ||
 
9803
         test ! -s conftest.err
 
9804
       } && test -s conftest$ac_exeext && {
 
9805
         test "$cross_compiling" = yes ||
 
9806
         $as_test_x conftest$ac_exeext
 
9807
       }; then
 
9808
  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'
 
9809
 
 
9810
else
 
9811
  $as_echo "$as_me: failed program was:" >&5
 
9812
sed 's/^/| /' conftest.$ac_ext >&5
 
9813
 
 
9814
 
 
9815
fi
 
9816
 
 
9817
rm -rf conftest.dSYM
 
9818
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9819
      conftest$ac_exeext conftest.$ac_ext
 
9820
        LDFLAGS="$save_LDFLAGS"
8435
9821
      else
8436
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8437
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9822
        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'
 
9823
        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'
8438
9824
      fi
 
9825
      archive_cmds_need_lc='no'
8439
9826
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8440
9827
      hardcode_libdir_separator=:
 
9828
      inherit_rpath=yes
8441
9829
      link_all_deplibs=yes
8442
9830
      ;;
8443
9831
 
8444
9832
    netbsd*)
8445
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9833
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8446
9834
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8447
9835
      else
8448
9836
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8460
9848
      hardcode_shlibpath_var=no
8461
9849
      ;;
8462
9850
 
 
9851
    *nto* | *qnx*)
 
9852
      ;;
 
9853
 
8463
9854
    openbsd*)
8464
 
      hardcode_direct=yes
8465
 
      hardcode_shlibpath_var=no
8466
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8467
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8468
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8469
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8470
 
        export_dynamic_flag_spec='${wl}-E'
 
9855
      if test -f /usr/libexec/ld.so; then
 
9856
        hardcode_direct=yes
 
9857
        hardcode_shlibpath_var=no
 
9858
        hardcode_direct_absolute=yes
 
9859
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9860
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9861
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
9862
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9863
          export_dynamic_flag_spec='${wl}-E'
 
9864
        else
 
9865
          case $host_os in
 
9866
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
9867
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
9868
             hardcode_libdir_flag_spec='-R$libdir'
 
9869
             ;;
 
9870
           *)
 
9871
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
9872
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
9873
             ;;
 
9874
          esac
 
9875
        fi
8471
9876
      else
8472
 
       case $host_os in
8473
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8474
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8475
 
           hardcode_libdir_flag_spec='-R$libdir'
8476
 
           ;;
8477
 
         *)
8478
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8479
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8480
 
           ;;
8481
 
       esac
 
9877
        ld_shlibs=no
8482
9878
      fi
8483
9879
      ;;
8484
9880
 
8486
9882
      hardcode_libdir_flag_spec='-L$libdir'
8487
9883
      hardcode_minus_L=yes
8488
9884
      allow_undefined_flag=unsupported
8489
 
      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'
8490
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9885
      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'
 
9886
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8491
9887
      ;;
8492
9888
 
8493
9889
    osf3*)
8494
9890
      if test "$GCC" = yes; then
8495
9891
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8496
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9892
        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'
8497
9893
      else
8498
9894
        allow_undefined_flag=' -expect_unresolved \*'
8499
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 
9895
        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'
8500
9896
      fi
 
9897
      archive_cmds_need_lc='no'
8501
9898
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8502
9899
      hardcode_libdir_separator=:
8503
9900
      ;;
8505
9902
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8506
9903
      if test "$GCC" = yes; then
8507
9904
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8508
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9905
        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'
8509
9906
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8510
9907
      else
8511
9908
        allow_undefined_flag=' -expect_unresolved \*'
8512
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8513
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8514
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 
9909
        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'
 
9910
        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~
 
9911
        $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'
8515
9912
 
8516
9913
        # Both c and cxx compiler support -rpath directly
8517
9914
        hardcode_libdir_flag_spec='-rpath $libdir'
8518
9915
      fi
 
9916
      archive_cmds_need_lc='no'
8519
9917
      hardcode_libdir_separator=:
8520
9918
      ;;
8521
9919
 
8522
9920
    solaris*)
8523
 
      no_undefined_flag=' -z text'
 
9921
      no_undefined_flag=' -z defs'
8524
9922
      if test "$GCC" = yes; then
8525
9923
        wlarc='${wl}'
8526
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8527
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8528
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
9924
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9925
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9926
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8529
9927
      else
8530
 
        wlarc=''
8531
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8532
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8533
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
9928
        case `$CC -V 2>&1` in
 
9929
        *"Compilers 5.0"*)
 
9930
          wlarc=''
 
9931
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9932
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9933
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9934
          ;;
 
9935
        *)
 
9936
          wlarc='${wl}'
 
9937
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9938
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9939
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9940
          ;;
 
9941
        esac
8534
9942
      fi
8535
9943
      hardcode_libdir_flag_spec='-R$libdir'
8536
9944
      hardcode_shlibpath_var=no
8537
9945
      case $host_os in
8538
9946
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8539
9947
      *)
8540
 
        # The compiler driver will combine linker options so we
8541
 
        # cannot just pass the convience library names through
8542
 
        # without $wl, iff we do not link with $LD.
8543
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
8544
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8545
 
        case $wlarc in
8546
 
        '')
8547
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8548
 
        *)
8549
 
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8550
 
        esac ;;
 
9948
        # The compiler driver will combine and reorder linker options,
 
9949
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
9950
        # but is careful enough not to reorder.
 
9951
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9952
        if test "$GCC" = yes; then
 
9953
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
9954
        else
 
9955
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
9956
        fi
 
9957
        ;;
8551
9958
      esac
8552
9959
      link_all_deplibs=yes
8553
9960
      ;;
8604
10011
      fi
8605
10012
      ;;
8606
10013
 
8607
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
10014
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8608
10015
      no_undefined_flag='${wl}-z,text'
8609
10016
      archive_cmds_need_lc=no
8610
10017
      hardcode_shlibpath_var=no
8630
10037
      allow_undefined_flag='${wl}-z,nodefs'
8631
10038
      archive_cmds_need_lc=no
8632
10039
      hardcode_shlibpath_var=no
8633
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10040
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8634
10041
      hardcode_libdir_separator=':'
8635
10042
      link_all_deplibs=yes
8636
10043
      export_dynamic_flag_spec='${wl}-Bexport'
8637
10044
      runpath_var='LD_RUN_PATH'
8638
10045
 
8639
10046
      if test "$GCC" = yes; then
8640
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8641
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10047
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10048
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8642
10049
      else
8643
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8644
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10050
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10051
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8645
10052
      fi
8646
10053
      ;;
8647
10054
 
8655
10062
      ld_shlibs=no
8656
10063
      ;;
8657
10064
    esac
 
10065
 
 
10066
    if test x$host_vendor = xsni; then
 
10067
      case $host in
 
10068
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10069
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10070
        ;;
 
10071
      esac
 
10072
    fi
8658
10073
  fi
8659
10074
 
8660
 
echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8661
 
echo "${ECHO_T}$ld_shlibs" >&6
 
10075
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10076
$as_echo "$ld_shlibs" >&6; }
8662
10077
test "$ld_shlibs" = no && can_build_shared=no
8663
10078
 
 
10079
with_gnu_ld=$with_gnu_ld
 
10080
 
 
10081
 
 
10082
 
 
10083
 
 
10084
 
 
10085
 
 
10086
 
 
10087
 
 
10088
 
 
10089
 
 
10090
 
 
10091
 
 
10092
 
 
10093
 
 
10094
 
8664
10095
#
8665
10096
# Do we need to explicitly link libc?
8666
10097
#
8678
10109
      # Test whether the compiler implicitly links with -lc since on some
8679
10110
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8680
10111
      # to ld, don't add -lc before -lgcc.
8681
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8682
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8683
 
      $rm conftest*
8684
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
10112
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10113
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10114
      $RM conftest*
 
10115
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8685
10116
 
8686
10117
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8687
10118
  (eval $ac_compile) 2>&5
8688
10119
  ac_status=$?
8689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10120
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8690
10121
  (exit $ac_status); } 2>conftest.err; then
8691
10122
        soname=conftest
8692
10123
        lib=conftest
8701
10132
        libname=conftest
8702
10133
        lt_save_allow_undefined_flag=$allow_undefined_flag
8703
10134
        allow_undefined_flag=
8704
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8705
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10135
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10136
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8706
10137
  ac_status=$?
8707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10138
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708
10139
  (exit $ac_status); }
8709
10140
        then
8710
10141
          archive_cmds_need_lc=no
8715
10146
      else
8716
10147
        cat conftest.err 1>&5
8717
10148
      fi
8718
 
      $rm conftest*
8719
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8720
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6
 
10149
      $RM conftest*
 
10150
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10151
$as_echo "$archive_cmds_need_lc" >&6; }
8721
10152
      ;;
8722
10153
    esac
8723
10154
  fi
8724
10155
  ;;
8725
10156
esac
8726
10157
 
8727
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8728
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 
10158
 
 
10159
 
 
10160
 
 
10161
 
 
10162
 
 
10163
 
 
10164
 
 
10165
 
 
10166
 
 
10167
 
 
10168
 
 
10169
 
 
10170
 
 
10171
 
 
10172
 
 
10173
 
 
10174
 
 
10175
 
 
10176
 
 
10177
 
 
10178
 
 
10179
 
 
10180
 
 
10181
 
 
10182
 
 
10183
 
 
10184
 
 
10185
 
 
10186
 
 
10187
 
 
10188
 
 
10189
 
 
10190
 
 
10191
 
 
10192
 
 
10193
 
 
10194
 
 
10195
 
 
10196
 
 
10197
 
 
10198
 
 
10199
 
 
10200
 
 
10201
 
 
10202
 
 
10203
 
 
10204
 
 
10205
 
 
10206
 
 
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
 
10212
 
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
 
 
10222
 
 
10223
 
 
10224
 
 
10225
 
 
10226
 
 
10227
 
 
10228
 
 
10229
 
 
10230
 
 
10231
 
 
10232
 
 
10233
 
 
10234
 
 
10235
 
 
10236
 
 
10237
 
 
10238
 
 
10239
 
 
10240
 
 
10241
 
 
10242
 
 
10243
 
 
10244
 
 
10245
 
 
10246
 
 
10247
 
 
10248
 
 
10249
 
 
10250
 
 
10251
 
 
10252
 
 
10253
 
 
10254
 
 
10255
 
 
10256
 
 
10257
 
 
10258
 
 
10259
 
 
10260
 
 
10261
 
 
10262
 
 
10263
 
 
10264
 
 
10265
 
 
10266
 
 
10267
 
 
10268
 
 
10269
 
 
10270
 
 
10271
 
 
10272
 
 
10273
 
 
10274
 
 
10275
 
 
10276
 
 
10277
 
 
10278
 
 
10279
 
 
10280
 
 
10281
 
 
10282
 
 
10283
 
 
10284
 
 
10285
 
 
10286
 
 
10287
 
 
10288
 
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
 
 
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
 
10304
 
 
10305
 
 
10306
 
 
10307
 
 
10308
 
 
10309
 
 
10310
 
 
10311
 
 
10312
 
 
10313
 
 
10314
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10315
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
10316
 
 
10317
if test "$GCC" = yes; then
 
10318
  case $host_os in
 
10319
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
10320
    *) lt_awk_arg="/^libraries:/" ;;
 
10321
  esac
 
10322
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10323
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
10324
    # if the path contains ";" then we assume it to be the separator
 
10325
    # otherwise default to the standard path separator (i.e. ":") - it is
 
10326
    # assumed that no part of a normal pathname contains ";" but that should
 
10327
    # okay in the real world where ";" in dirpaths is itself problematic.
 
10328
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10329
  else
 
10330
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10331
  fi
 
10332
  # Ok, now we have the path, separated by spaces, we can step through it
 
10333
  # and add multilib dir if necessary.
 
10334
  lt_tmp_lt_search_path_spec=
 
10335
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
10336
  for lt_sys_path in $lt_search_path_spec; do
 
10337
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
10338
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
10339
    else
 
10340
      test -d "$lt_sys_path" && \
 
10341
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
10342
    fi
 
10343
  done
 
10344
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
10345
BEGIN {RS=" "; FS="/|\n";} {
 
10346
  lt_foo="";
 
10347
  lt_count=0;
 
10348
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
10349
    if ($lt_i != "" && $lt_i != ".") {
 
10350
      if ($lt_i == "..") {
 
10351
        lt_count++;
 
10352
      } else {
 
10353
        if (lt_count == 0) {
 
10354
          lt_foo="/" $lt_i lt_foo;
 
10355
        } else {
 
10356
          lt_count--;
 
10357
        }
 
10358
      }
 
10359
    }
 
10360
  }
 
10361
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
10362
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
10363
}'`
 
10364
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
10365
else
 
10366
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
10367
fi
8729
10368
library_names_spec=
8730
10369
libname_spec='lib$name'
8731
10370
soname_spec=
8739
10378
version_type=none
8740
10379
dynamic_linker="$host_os ld.so"
8741
10380
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8742
 
if test "$GCC" = yes; then
8743
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8744
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8745
 
    # if the path contains ";" then we assume it to be the separator
8746
 
    # otherwise default to the standard path separator (i.e. ":") - it is
8747
 
    # assumed that no part of a normal pathname contains ";" but that should
8748
 
    # okay in the real world where ";" in dirpaths is itself problematic.
8749
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8750
 
  else
8751
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8752
 
  fi
8753
 
else
8754
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8755
 
fi
8756
10381
need_lib_prefix=unknown
8757
10382
hardcode_into_libs=no
8758
10383
 
8770
10395
  soname_spec='${libname}${release}${shared_ext}$major'
8771
10396
  ;;
8772
10397
 
8773
 
aix4* | aix5*)
 
10398
aix[4-9]*)
8774
10399
  version_type=linux
8775
10400
  need_lib_prefix=no
8776
10401
  need_version=no
8789
10414
      aix4 | aix4.[01] | aix4.[01].*)
8790
10415
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8791
10416
           echo ' yes '
8792
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
10417
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8793
10418
        :
8794
10419
      else
8795
10420
        can_build_shared=no
8815
10440
  ;;
8816
10441
 
8817
10442
amigaos*)
8818
 
  library_names_spec='$libname.ixlibrary $libname.a'
8819
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
8820
 
  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'
 
10443
  case $host_cpu in
 
10444
  powerpc)
 
10445
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10446
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10447
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10448
    ;;
 
10449
  m68k)
 
10450
    library_names_spec='$libname.ixlibrary $libname.a'
 
10451
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10452
    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'
 
10453
    ;;
 
10454
  esac
8821
10455
  ;;
8822
10456
 
8823
10457
beos*)
8840
10474
  # libtool to hard-code these into programs
8841
10475
  ;;
8842
10476
 
8843
 
cygwin* | mingw* | pw32*)
 
10477
cygwin* | mingw* | pw32* | cegcc*)
8844
10478
  version_type=windows
8845
10479
  shrext_cmds=".dll"
8846
10480
  need_version=no
8847
10481
  need_lib_prefix=no
8848
10482
 
8849
10483
  case $GCC,$host_os in
8850
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
10484
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
8851
10485
    library_names_spec='$libname.dll.a'
8852
10486
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8853
10487
    postinstall_cmds='base_file=`basename \${file}`~
8854
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
10488
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8855
10489
      dldir=$destdir/`dirname \$dlpath`~
8856
10490
      test -d \$dldir || mkdir -p \$dldir~
8857
10491
      $install_prog $dir/$dlname \$dldir/$dlname~
8858
 
      chmod a+x \$dldir/$dlname'
 
10492
      chmod a+x \$dldir/$dlname~
 
10493
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10494
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10495
      fi'
8859
10496
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8860
10497
      dlpath=$dir/\$dldll~
8861
 
       $rm \$dlpath'
 
10498
       $RM \$dlpath'
8862
10499
    shlibpath_overrides_runpath=yes
8863
10500
 
8864
10501
    case $host_os in
8867
10504
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8868
10505
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8869
10506
      ;;
8870
 
    mingw*)
 
10507
    mingw* | cegcc*)
8871
10508
      # MinGW DLLs use traditional 'lib' prefix
8872
10509
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8873
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8874
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
10510
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10511
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8875
10512
        # It is most probably a Windows format PATH printed by
8876
10513
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8877
10514
        # path with ; separators, and with drive letters. We can handle the
8878
10515
        # drive letters (cygwin fileutils understands them), so leave them,
8879
10516
        # especially as we might pass files found there to a mingw objdump,
8880
10517
        # which wouldn't understand a cygwinified path. Ahh.
8881
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10518
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8882
10519
      else
8883
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10520
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8884
10521
      fi
8885
10522
      ;;
8886
10523
    pw32*)
8904
10541
  version_type=darwin
8905
10542
  need_lib_prefix=no
8906
10543
  need_version=no
8907
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10544
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8908
10545
  soname_spec='${libname}${release}${major}$shared_ext'
8909
10546
  shlibpath_overrides_runpath=yes
8910
10547
  shlibpath_var=DYLD_LIBRARY_PATH
8911
10548
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8912
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
8913
 
  if test "$GCC" = yes; then
8914
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
8915
 
  else
8916
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
8917
 
  fi
 
10549
 
 
10550
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8918
10551
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8919
10552
  ;;
8920
10553
 
8931
10564
  dynamic_linker=no
8932
10565
  ;;
8933
10566
 
8934
 
kfreebsd*-gnu)
8935
 
  version_type=linux
8936
 
  need_lib_prefix=no
8937
 
  need_version=no
8938
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8939
 
  soname_spec='${libname}${release}${shared_ext}$major'
8940
 
  shlibpath_var=LD_LIBRARY_PATH
8941
 
  shlibpath_overrides_runpath=no
8942
 
  hardcode_into_libs=yes
8943
 
  dynamic_linker='GNU ld.so'
8944
 
  ;;
8945
 
 
8946
10567
freebsd* | dragonfly*)
8947
10568
  # DragonFly does not have aout.  When/if they implement a new
8948
10569
  # versioning mechanism, adjust this.
8980
10601
    shlibpath_overrides_runpath=no
8981
10602
    hardcode_into_libs=yes
8982
10603
    ;;
8983
 
  freebsd*) # from 4.6 on
 
10604
  *) # from 4.6 on, and DragonFly
8984
10605
    shlibpath_overrides_runpath=yes
8985
10606
    hardcode_into_libs=yes
8986
10607
    ;;
9019
10640
    fi
9020
10641
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9021
10642
    ;;
9022
 
   hppa*64*)
9023
 
     shrext_cmds='.sl'
9024
 
     hardcode_into_libs=yes
9025
 
     dynamic_linker="$host_os dld.sl"
9026
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9027
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9028
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9029
 
     soname_spec='${libname}${release}${shared_ext}$major'
9030
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9031
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9032
 
     ;;
9033
 
   *)
 
10643
  hppa*64*)
 
10644
    shrext_cmds='.sl'
 
10645
    hardcode_into_libs=yes
 
10646
    dynamic_linker="$host_os dld.sl"
 
10647
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10648
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10649
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10650
    soname_spec='${libname}${release}${shared_ext}$major'
 
10651
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10652
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10653
    ;;
 
10654
  *)
9034
10655
    shrext_cmds='.sl'
9035
10656
    dynamic_linker="$host_os dld.sl"
9036
10657
    shlibpath_var=SHLIB_PATH
9043
10664
  postinstall_cmds='chmod 555 $lib'
9044
10665
  ;;
9045
10666
 
9046
 
interix3*)
 
10667
interix[3-9]*)
9047
10668
  version_type=linux
9048
10669
  need_lib_prefix=no
9049
10670
  need_version=no
9098
10719
  ;;
9099
10720
 
9100
10721
# This must be Linux ELF.
9101
 
linux*)
 
10722
linux* | k*bsd*-gnu)
9102
10723
  version_type=linux
9103
10724
  need_lib_prefix=no
9104
10725
  need_version=no
9107
10728
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9108
10729
  shlibpath_var=LD_LIBRARY_PATH
9109
10730
  shlibpath_overrides_runpath=no
 
10731
  # Some binutils ld are patched to set DT_RUNPATH
 
10732
  save_LDFLAGS=$LDFLAGS
 
10733
  save_libdir=$libdir
 
10734
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10735
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10736
  cat >conftest.$ac_ext <<_ACEOF
 
10737
/* confdefs.h.  */
 
10738
_ACEOF
 
10739
cat confdefs.h >>conftest.$ac_ext
 
10740
cat >>conftest.$ac_ext <<_ACEOF
 
10741
/* end confdefs.h.  */
 
10742
 
 
10743
int
 
10744
main ()
 
10745
{
 
10746
 
 
10747
  ;
 
10748
  return 0;
 
10749
}
 
10750
_ACEOF
 
10751
rm -f conftest.$ac_objext conftest$ac_exeext
 
10752
if { (ac_try="$ac_link"
 
10753
case "(($ac_try" in
 
10754
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10755
  *) ac_try_echo=$ac_try;;
 
10756
esac
 
10757
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10758
$as_echo "$ac_try_echo") >&5
 
10759
  (eval "$ac_link") 2>conftest.er1
 
10760
  ac_status=$?
 
10761
  grep -v '^ *+' conftest.er1 >conftest.err
 
10762
  rm -f conftest.er1
 
10763
  cat conftest.err >&5
 
10764
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10765
  (exit $ac_status); } && {
 
10766
         test -z "$ac_c_werror_flag" ||
 
10767
         test ! -s conftest.err
 
10768
       } && test -s conftest$ac_exeext && {
 
10769
         test "$cross_compiling" = yes ||
 
10770
         $as_test_x conftest$ac_exeext
 
10771
       }; then
 
10772
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10773
  shlibpath_overrides_runpath=yes
 
10774
fi
 
10775
 
 
10776
else
 
10777
  $as_echo "$as_me: failed program was:" >&5
 
10778
sed 's/^/| /' conftest.$ac_ext >&5
 
10779
 
 
10780
 
 
10781
fi
 
10782
 
 
10783
rm -rf conftest.dSYM
 
10784
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10785
      conftest$ac_exeext conftest.$ac_ext
 
10786
  LDFLAGS=$save_LDFLAGS
 
10787
  libdir=$save_libdir
 
10788
 
9110
10789
  # This implies no fast_install, which is unacceptable.
9111
10790
  # Some rework will be needed to allow for fast_install
9112
10791
  # before this can be enabled.
9113
10792
  hardcode_into_libs=yes
9114
10793
 
9115
 
  # find out which ABI we are using
9116
 
  libsuff=
9117
 
  case "$host_cpu" in
9118
 
  x86_64*|s390x*|powerpc64*)
9119
 
    echo '#line 9119 "configure"' > conftest.$ac_ext
9120
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9121
 
  (eval $ac_compile) 2>&5
9122
 
  ac_status=$?
9123
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124
 
  (exit $ac_status); }; then
9125
 
      case `/usr/bin/file conftest.$ac_objext` in
9126
 
      *64-bit*)
9127
 
        libsuff=64
9128
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9129
 
        ;;
9130
 
      esac
9131
 
    fi
9132
 
    rm -rf conftest*
9133
 
    ;;
9134
 
  esac
9135
 
 
9136
10794
  # Append ld.so.conf contents to the search path
9137
10795
  if test -f /etc/ld.so.conf; then
9138
 
    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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9139
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
 
10796
    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' ' '`
 
10797
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9140
10798
  fi
9141
10799
 
9142
10800
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9148
10806
  dynamic_linker='GNU/Linux ld.so'
9149
10807
  ;;
9150
10808
 
9151
 
knetbsd*-gnu)
9152
 
  version_type=linux
9153
 
  need_lib_prefix=no
9154
 
  need_version=no
9155
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9156
 
  soname_spec='${libname}${release}${shared_ext}$major'
9157
 
  shlibpath_var=LD_LIBRARY_PATH
9158
 
  shlibpath_overrides_runpath=no
9159
 
  hardcode_into_libs=yes
9160
 
  dynamic_linker='GNU ld.so'
9161
 
  ;;
9162
 
 
9163
10809
netbsd*)
9164
10810
  version_type=sunos
9165
10811
  need_lib_prefix=no
9166
10812
  need_version=no
9167
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10813
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9168
10814
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9169
10815
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9170
10816
    dynamic_linker='NetBSD (a.out) ld.so'
9185
10831
  shlibpath_overrides_runpath=yes
9186
10832
  ;;
9187
10833
 
9188
 
nto-qnx*)
9189
 
  version_type=linux
 
10834
*nto* | *qnx*)
 
10835
  version_type=qnx
9190
10836
  need_lib_prefix=no
9191
10837
  need_version=no
9192
10838
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9193
10839
  soname_spec='${libname}${release}${shared_ext}$major'
9194
10840
  shlibpath_var=LD_LIBRARY_PATH
9195
 
  shlibpath_overrides_runpath=yes
 
10841
  shlibpath_overrides_runpath=no
 
10842
  hardcode_into_libs=yes
 
10843
  dynamic_linker='ldqnx.so'
9196
10844
  ;;
9197
10845
 
9198
10846
openbsd*)
9201
10849
  need_lib_prefix=no
9202
10850
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9203
10851
  case $host_os in
9204
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9205
 
    *)                         need_version=no  ;;
 
10852
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10853
    *)                          need_version=no  ;;
9206
10854
  esac
9207
10855
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9208
10856
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9209
10857
  shlibpath_var=LD_LIBRARY_PATH
9210
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10858
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9211
10859
    case $host_os in
9212
10860
      openbsd2.[89] | openbsd2.[89].*)
9213
10861
        shlibpath_overrides_runpath=no
9241
10889
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9242
10890
  ;;
9243
10891
 
 
10892
rdos*)
 
10893
  dynamic_linker=no
 
10894
  ;;
 
10895
 
9244
10896
solaris*)
9245
10897
  version_type=linux
9246
10898
  need_lib_prefix=no
9275
10927
    sni)
9276
10928
      shlibpath_overrides_runpath=no
9277
10929
      need_lib_prefix=no
9278
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9279
10930
      runpath_var=LD_RUN_PATH
9280
10931
      ;;
9281
10932
    siemens)
9306
10957
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9307
10958
  soname_spec='${libname}${release}${shared_ext}$major'
9308
10959
  shlibpath_var=LD_LIBRARY_PATH
 
10960
  shlibpath_overrides_runpath=yes
9309
10961
  hardcode_into_libs=yes
9310
10962
  if test "$with_gnu_ld" = yes; then
9311
10963
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9312
 
    shlibpath_overrides_runpath=no
9313
10964
  else
9314
10965
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9315
 
    shlibpath_overrides_runpath=yes
9316
10966
    case $host_os in
9317
10967
      sco3.2v5*)
9318
10968
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9322
10972
  sys_lib_dlsearch_path_spec='/usr/lib'
9323
10973
  ;;
9324
10974
 
 
10975
tpf*)
 
10976
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10977
  version_type=linux
 
10978
  need_lib_prefix=no
 
10979
  need_version=no
 
10980
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10981
  shlibpath_var=LD_LIBRARY_PATH
 
10982
  shlibpath_overrides_runpath=no
 
10983
  hardcode_into_libs=yes
 
10984
  ;;
 
10985
 
9325
10986
uts4*)
9326
10987
  version_type=linux
9327
10988
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9333
10994
  dynamic_linker=no
9334
10995
  ;;
9335
10996
esac
9336
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9337
 
echo "${ECHO_T}$dynamic_linker" >&6
 
10997
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10998
$as_echo "$dynamic_linker" >&6; }
9338
10999
test "$dynamic_linker" = no && can_build_shared=no
9339
11000
 
9340
11001
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9342
11003
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9343
11004
fi
9344
11005
 
9345
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9346
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
 
11006
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11007
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11008
fi
 
11009
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11010
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11011
fi
 
11012
 
 
11013
 
 
11014
 
 
11015
 
 
11016
 
 
11017
 
 
11018
 
 
11019
 
 
11020
 
 
11021
 
 
11022
 
 
11023
 
 
11024
 
 
11025
 
 
11026
 
 
11027
 
 
11028
 
 
11029
 
 
11030
 
 
11031
 
 
11032
 
 
11033
 
 
11034
 
 
11035
 
 
11036
 
 
11037
 
 
11038
 
 
11039
 
 
11040
 
 
11041
 
 
11042
 
 
11043
 
 
11044
 
 
11045
 
 
11046
 
 
11047
 
 
11048
 
 
11049
 
 
11050
 
 
11051
 
 
11052
 
 
11053
 
 
11054
 
 
11055
 
 
11056
 
 
11057
 
 
11058
 
 
11059
 
 
11060
 
 
11061
 
 
11062
 
 
11063
 
 
11064
 
 
11065
 
 
11066
 
 
11067
 
 
11068
 
 
11069
 
 
11070
 
 
11071
 
 
11072
 
 
11073
 
 
11074
 
 
11075
 
 
11076
 
 
11077
 
 
11078
 
 
11079
 
 
11080
 
 
11081
 
 
11082
 
 
11083
 
 
11084
 
 
11085
 
 
11086
 
 
11087
 
 
11088
 
 
11089
 
 
11090
 
 
11091
 
 
11092
 
 
11093
 
 
11094
 
 
11095
 
 
11096
 
 
11097
 
 
11098
 
 
11099
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11100
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9347
11101
hardcode_action=
9348
 
if test -n "$hardcode_libdir_flag_spec" || \
9349
 
   test -n "$runpath_var" || \
 
11102
if test -n "$hardcode_libdir_flag_spec" ||
 
11103
   test -n "$runpath_var" ||
9350
11104
   test "X$hardcode_automatic" = "Xyes" ; then
9351
11105
 
9352
 
  # We can hardcode non-existant directories.
 
11106
  # We can hardcode non-existent directories.
9353
11107
  if test "$hardcode_direct" != no &&
9354
11108
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9355
11109
     # have to relink, otherwise we might link with an installed library
9356
11110
     # when we should be linking with a yet-to-be-installed one
9357
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11111
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9358
11112
     test "$hardcode_minus_L" != no; then
9359
11113
    # Linking always hardcodes the temporary library directory.
9360
11114
    hardcode_action=relink
9367
11121
  # directories.
9368
11122
  hardcode_action=unsupported
9369
11123
fi
9370
 
echo "$as_me:$LINENO: result: $hardcode_action" >&5
9371
 
echo "${ECHO_T}$hardcode_action" >&6
 
11124
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11125
$as_echo "$hardcode_action" >&6; }
9372
11126
 
9373
 
if test "$hardcode_action" = relink; then
 
11127
if test "$hardcode_action" = relink ||
 
11128
   test "$inherit_rpath" = yes; then
9374
11129
  # Fast installation is not supported
9375
11130
  enable_fast_install=no
9376
11131
elif test "$shlibpath_overrides_runpath" = yes ||
9379
11134
  enable_fast_install=needless
9380
11135
fi
9381
11136
 
9382
 
striplib=
9383
 
old_striplib=
9384
 
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9385
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
9386
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9387
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9388
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9389
 
  echo "$as_me:$LINENO: result: yes" >&5
9390
 
echo "${ECHO_T}yes" >&6
9391
 
else
9392
 
# FIXME - insert some real tests, host_os isn't really good enough
9393
 
  case $host_os in
9394
 
   darwin*)
9395
 
       if test -n "$STRIP" ; then
9396
 
         striplib="$STRIP -x"
9397
 
         echo "$as_me:$LINENO: result: yes" >&5
9398
 
echo "${ECHO_T}yes" >&6
9399
 
       else
9400
 
  echo "$as_me:$LINENO: result: no" >&5
9401
 
echo "${ECHO_T}no" >&6
9402
 
fi
9403
 
       ;;
9404
 
   *)
9405
 
  echo "$as_me:$LINENO: result: no" >&5
9406
 
echo "${ECHO_T}no" >&6
9407
 
    ;;
9408
 
  esac
9409
 
fi
9410
 
 
9411
 
if test "x$enable_dlopen" != xyes; then
 
11137
 
 
11138
 
 
11139
 
 
11140
 
 
11141
 
 
11142
  if test "x$enable_dlopen" != xyes; then
9412
11143
  enable_dlopen=unknown
9413
11144
  enable_dlopen_self=unknown
9414
11145
  enable_dlopen_self_static=unknown
9423
11154
    lt_cv_dlopen_self=yes
9424
11155
    ;;
9425
11156
 
9426
 
  mingw* | pw32*)
 
11157
  mingw* | pw32* | cegcc*)
9427
11158
    lt_cv_dlopen="LoadLibrary"
9428
11159
    lt_cv_dlopen_libs=
9429
 
   ;;
 
11160
    ;;
9430
11161
 
9431
11162
  cygwin*)
9432
11163
    lt_cv_dlopen="dlopen"
9433
11164
    lt_cv_dlopen_libs=
9434
 
   ;;
 
11165
    ;;
9435
11166
 
9436
11167
  darwin*)
9437
11168
  # if libdl is installed we need to link against it
9438
 
    echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9439
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
11169
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11170
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9440
11171
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9441
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11172
  $as_echo_n "(cached) " >&6
9442
11173
else
9443
11174
  ac_check_lib_save_LIBS=$LIBS
9444
11175
LIBS="-ldl  $LIBS"
9449
11180
cat >>conftest.$ac_ext <<_ACEOF
9450
11181
/* end confdefs.h.  */
9451
11182
 
9452
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11183
/* Override any GCC internal prototype to avoid an error.
 
11184
   Use char because int might match the return type of a GCC
 
11185
   builtin and then its argument prototype would still apply.  */
9453
11186
#ifdef __cplusplus
9454
11187
extern "C"
9455
11188
#endif
9456
 
/* We use char because int might match the return type of a gcc2
9457
 
   builtin and then its argument prototype would still apply.  */
9458
11189
char dlopen ();
9459
11190
int
9460
11191
main ()
9461
11192
{
9462
 
dlopen ();
 
11193
return dlopen ();
9463
11194
  ;
9464
11195
  return 0;
9465
11196
}
9466
11197
_ACEOF
9467
11198
rm -f conftest.$ac_objext conftest$ac_exeext
9468
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9469
 
  (eval $ac_link) 2>conftest.er1
 
11199
if { (ac_try="$ac_link"
 
11200
case "(($ac_try" in
 
11201
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11202
  *) ac_try_echo=$ac_try;;
 
11203
esac
 
11204
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11205
$as_echo "$ac_try_echo") >&5
 
11206
  (eval "$ac_link") 2>conftest.er1
9470
11207
  ac_status=$?
9471
11208
  grep -v '^ *+' conftest.er1 >conftest.err
9472
11209
  rm -f conftest.er1
9473
11210
  cat conftest.err >&5
9474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475
 
  (exit $ac_status); } &&
9476
 
         { ac_try='test -z "$ac_c_werror_flag"
9477
 
                         || test ! -s conftest.err'
9478
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479
 
  (eval $ac_try) 2>&5
9480
 
  ac_status=$?
9481
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482
 
  (exit $ac_status); }; } &&
9483
 
         { ac_try='test -s conftest$ac_exeext'
9484
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9485
 
  (eval $ac_try) 2>&5
9486
 
  ac_status=$?
9487
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488
 
  (exit $ac_status); }; }; then
 
11211
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11212
  (exit $ac_status); } && {
 
11213
         test -z "$ac_c_werror_flag" ||
 
11214
         test ! -s conftest.err
 
11215
       } && test -s conftest$ac_exeext && {
 
11216
         test "$cross_compiling" = yes ||
 
11217
         $as_test_x conftest$ac_exeext
 
11218
       }; then
9489
11219
  ac_cv_lib_dl_dlopen=yes
9490
11220
else
9491
 
  echo "$as_me: failed program was:" >&5
 
11221
  $as_echo "$as_me: failed program was:" >&5
9492
11222
sed 's/^/| /' conftest.$ac_ext >&5
9493
11223
 
9494
 
ac_cv_lib_dl_dlopen=no
 
11224
        ac_cv_lib_dl_dlopen=no
9495
11225
fi
9496
 
rm -f conftest.err conftest.$ac_objext \
 
11226
 
 
11227
rm -rf conftest.dSYM
 
11228
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9497
11229
      conftest$ac_exeext conftest.$ac_ext
9498
11230
LIBS=$ac_check_lib_save_LIBS
9499
11231
fi
9500
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9501
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9502
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11232
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11233
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11234
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9503
11235
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9504
11236
else
9505
11237
 
9509
11241
 
9510
11242
fi
9511
11243
 
9512
 
   ;;
 
11244
    ;;
9513
11245
 
9514
11246
  *)
9515
 
    echo "$as_me:$LINENO: checking for shl_load" >&5
9516
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
 
11247
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
11248
$as_echo_n "checking for shl_load... " >&6; }
9517
11249
if test "${ac_cv_func_shl_load+set}" = set; then
9518
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11250
  $as_echo_n "(cached) " >&6
9519
11251
else
9520
11252
  cat >conftest.$ac_ext <<_ACEOF
9521
11253
/* confdefs.h.  */
9540
11272
 
9541
11273
#undef shl_load
9542
11274
 
9543
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11275
/* Override any GCC internal prototype to avoid an error.
 
11276
   Use char because int might match the return type of a GCC
 
11277
   builtin and then its argument prototype would still apply.  */
9544
11278
#ifdef __cplusplus
9545
11279
extern "C"
9546
 
{
9547
11280
#endif
9548
 
/* We use char because int might match the return type of a gcc2
9549
 
   builtin and then its argument prototype would still apply.  */
9550
11281
char shl_load ();
9551
11282
/* The GNU C library defines this for functions which it implements
9552
11283
    to always fail with ENOSYS.  Some functions are actually named
9553
11284
    something starting with __ and the normal name is an alias.  */
9554
 
#if defined (__stub_shl_load) || defined (__stub___shl_load)
 
11285
#if defined __stub_shl_load || defined __stub___shl_load
9555
11286
choke me
9556
 
#else
9557
 
char (*f) () = shl_load;
9558
 
#endif
9559
 
#ifdef __cplusplus
9560
 
}
9561
11287
#endif
9562
11288
 
9563
11289
int
9564
11290
main ()
9565
11291
{
9566
 
return f != shl_load;
 
11292
return shl_load ();
9567
11293
  ;
9568
11294
  return 0;
9569
11295
}
9570
11296
_ACEOF
9571
11297
rm -f conftest.$ac_objext conftest$ac_exeext
9572
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9573
 
  (eval $ac_link) 2>conftest.er1
 
11298
if { (ac_try="$ac_link"
 
11299
case "(($ac_try" in
 
11300
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11301
  *) ac_try_echo=$ac_try;;
 
11302
esac
 
11303
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11304
$as_echo "$ac_try_echo") >&5
 
11305
  (eval "$ac_link") 2>conftest.er1
9574
11306
  ac_status=$?
9575
11307
  grep -v '^ *+' conftest.er1 >conftest.err
9576
11308
  rm -f conftest.er1
9577
11309
  cat conftest.err >&5
9578
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579
 
  (exit $ac_status); } &&
9580
 
         { ac_try='test -z "$ac_c_werror_flag"
9581
 
                         || test ! -s conftest.err'
9582
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9583
 
  (eval $ac_try) 2>&5
9584
 
  ac_status=$?
9585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586
 
  (exit $ac_status); }; } &&
9587
 
         { ac_try='test -s conftest$ac_exeext'
9588
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9589
 
  (eval $ac_try) 2>&5
9590
 
  ac_status=$?
9591
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592
 
  (exit $ac_status); }; }; then
 
11310
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11311
  (exit $ac_status); } && {
 
11312
         test -z "$ac_c_werror_flag" ||
 
11313
         test ! -s conftest.err
 
11314
       } && test -s conftest$ac_exeext && {
 
11315
         test "$cross_compiling" = yes ||
 
11316
         $as_test_x conftest$ac_exeext
 
11317
       }; then
9593
11318
  ac_cv_func_shl_load=yes
9594
11319
else
9595
 
  echo "$as_me: failed program was:" >&5
 
11320
  $as_echo "$as_me: failed program was:" >&5
9596
11321
sed 's/^/| /' conftest.$ac_ext >&5
9597
11322
 
9598
 
ac_cv_func_shl_load=no
 
11323
        ac_cv_func_shl_load=no
9599
11324
fi
9600
 
rm -f conftest.err conftest.$ac_objext \
 
11325
 
 
11326
rm -rf conftest.dSYM
 
11327
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9601
11328
      conftest$ac_exeext conftest.$ac_ext
9602
11329
fi
9603
 
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9604
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9605
 
if test $ac_cv_func_shl_load = yes; then
 
11330
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11331
$as_echo "$ac_cv_func_shl_load" >&6; }
 
11332
if test "x$ac_cv_func_shl_load" = x""yes; then
9606
11333
  lt_cv_dlopen="shl_load"
9607
11334
else
9608
 
  echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9609
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
 
11335
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11336
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9610
11337
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9611
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11338
  $as_echo_n "(cached) " >&6
9612
11339
else
9613
11340
  ac_check_lib_save_LIBS=$LIBS
9614
11341
LIBS="-ldld  $LIBS"
9619
11346
cat >>conftest.$ac_ext <<_ACEOF
9620
11347
/* end confdefs.h.  */
9621
11348
 
9622
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11349
/* Override any GCC internal prototype to avoid an error.
 
11350
   Use char because int might match the return type of a GCC
 
11351
   builtin and then its argument prototype would still apply.  */
9623
11352
#ifdef __cplusplus
9624
11353
extern "C"
9625
11354
#endif
9626
 
/* We use char because int might match the return type of a gcc2
9627
 
   builtin and then its argument prototype would still apply.  */
9628
11355
char shl_load ();
9629
11356
int
9630
11357
main ()
9631
11358
{
9632
 
shl_load ();
 
11359
return shl_load ();
9633
11360
  ;
9634
11361
  return 0;
9635
11362
}
9636
11363
_ACEOF
9637
11364
rm -f conftest.$ac_objext conftest$ac_exeext
9638
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9639
 
  (eval $ac_link) 2>conftest.er1
 
11365
if { (ac_try="$ac_link"
 
11366
case "(($ac_try" in
 
11367
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11368
  *) ac_try_echo=$ac_try;;
 
11369
esac
 
11370
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11371
$as_echo "$ac_try_echo") >&5
 
11372
  (eval "$ac_link") 2>conftest.er1
9640
11373
  ac_status=$?
9641
11374
  grep -v '^ *+' conftest.er1 >conftest.err
9642
11375
  rm -f conftest.er1
9643
11376
  cat conftest.err >&5
9644
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645
 
  (exit $ac_status); } &&
9646
 
         { ac_try='test -z "$ac_c_werror_flag"
9647
 
                         || test ! -s conftest.err'
9648
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9649
 
  (eval $ac_try) 2>&5
9650
 
  ac_status=$?
9651
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652
 
  (exit $ac_status); }; } &&
9653
 
         { ac_try='test -s conftest$ac_exeext'
9654
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9655
 
  (eval $ac_try) 2>&5
9656
 
  ac_status=$?
9657
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658
 
  (exit $ac_status); }; }; then
 
11377
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11378
  (exit $ac_status); } && {
 
11379
         test -z "$ac_c_werror_flag" ||
 
11380
         test ! -s conftest.err
 
11381
       } && test -s conftest$ac_exeext && {
 
11382
         test "$cross_compiling" = yes ||
 
11383
         $as_test_x conftest$ac_exeext
 
11384
       }; then
9659
11385
  ac_cv_lib_dld_shl_load=yes
9660
11386
else
9661
 
  echo "$as_me: failed program was:" >&5
 
11387
  $as_echo "$as_me: failed program was:" >&5
9662
11388
sed 's/^/| /' conftest.$ac_ext >&5
9663
11389
 
9664
 
ac_cv_lib_dld_shl_load=no
 
11390
        ac_cv_lib_dld_shl_load=no
9665
11391
fi
9666
 
rm -f conftest.err conftest.$ac_objext \
 
11392
 
 
11393
rm -rf conftest.dSYM
 
11394
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9667
11395
      conftest$ac_exeext conftest.$ac_ext
9668
11396
LIBS=$ac_check_lib_save_LIBS
9669
11397
fi
9670
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9671
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9672
 
if test $ac_cv_lib_dld_shl_load = yes; then
9673
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
11398
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11399
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11400
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
11401
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9674
11402
else
9675
 
  echo "$as_me:$LINENO: checking for dlopen" >&5
9676
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
 
11403
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
11404
$as_echo_n "checking for dlopen... " >&6; }
9677
11405
if test "${ac_cv_func_dlopen+set}" = set; then
9678
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11406
  $as_echo_n "(cached) " >&6
9679
11407
else
9680
11408
  cat >conftest.$ac_ext <<_ACEOF
9681
11409
/* confdefs.h.  */
9700
11428
 
9701
11429
#undef dlopen
9702
11430
 
9703
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11431
/* Override any GCC internal prototype to avoid an error.
 
11432
   Use char because int might match the return type of a GCC
 
11433
   builtin and then its argument prototype would still apply.  */
9704
11434
#ifdef __cplusplus
9705
11435
extern "C"
9706
 
{
9707
11436
#endif
9708
 
/* We use char because int might match the return type of a gcc2
9709
 
   builtin and then its argument prototype would still apply.  */
9710
11437
char dlopen ();
9711
11438
/* The GNU C library defines this for functions which it implements
9712
11439
    to always fail with ENOSYS.  Some functions are actually named
9713
11440
    something starting with __ and the normal name is an alias.  */
9714
 
#if defined (__stub_dlopen) || defined (__stub___dlopen)
 
11441
#if defined __stub_dlopen || defined __stub___dlopen
9715
11442
choke me
9716
 
#else
9717
 
char (*f) () = dlopen;
9718
 
#endif
9719
 
#ifdef __cplusplus
9720
 
}
9721
11443
#endif
9722
11444
 
9723
11445
int
9724
11446
main ()
9725
11447
{
9726
 
return f != dlopen;
 
11448
return dlopen ();
9727
11449
  ;
9728
11450
  return 0;
9729
11451
}
9730
11452
_ACEOF
9731
11453
rm -f conftest.$ac_objext conftest$ac_exeext
9732
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9733
 
  (eval $ac_link) 2>conftest.er1
 
11454
if { (ac_try="$ac_link"
 
11455
case "(($ac_try" in
 
11456
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11457
  *) ac_try_echo=$ac_try;;
 
11458
esac
 
11459
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11460
$as_echo "$ac_try_echo") >&5
 
11461
  (eval "$ac_link") 2>conftest.er1
9734
11462
  ac_status=$?
9735
11463
  grep -v '^ *+' conftest.er1 >conftest.err
9736
11464
  rm -f conftest.er1
9737
11465
  cat conftest.err >&5
9738
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739
 
  (exit $ac_status); } &&
9740
 
         { ac_try='test -z "$ac_c_werror_flag"
9741
 
                         || test ! -s conftest.err'
9742
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9743
 
  (eval $ac_try) 2>&5
9744
 
  ac_status=$?
9745
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746
 
  (exit $ac_status); }; } &&
9747
 
         { ac_try='test -s conftest$ac_exeext'
9748
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9749
 
  (eval $ac_try) 2>&5
9750
 
  ac_status=$?
9751
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752
 
  (exit $ac_status); }; }; then
 
11466
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11467
  (exit $ac_status); } && {
 
11468
         test -z "$ac_c_werror_flag" ||
 
11469
         test ! -s conftest.err
 
11470
       } && test -s conftest$ac_exeext && {
 
11471
         test "$cross_compiling" = yes ||
 
11472
         $as_test_x conftest$ac_exeext
 
11473
       }; then
9753
11474
  ac_cv_func_dlopen=yes
9754
11475
else
9755
 
  echo "$as_me: failed program was:" >&5
 
11476
  $as_echo "$as_me: failed program was:" >&5
9756
11477
sed 's/^/| /' conftest.$ac_ext >&5
9757
11478
 
9758
 
ac_cv_func_dlopen=no
 
11479
        ac_cv_func_dlopen=no
9759
11480
fi
9760
 
rm -f conftest.err conftest.$ac_objext \
 
11481
 
 
11482
rm -rf conftest.dSYM
 
11483
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9761
11484
      conftest$ac_exeext conftest.$ac_ext
9762
11485
fi
9763
 
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9764
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9765
 
if test $ac_cv_func_dlopen = yes; then
 
11486
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11487
$as_echo "$ac_cv_func_dlopen" >&6; }
 
11488
if test "x$ac_cv_func_dlopen" = x""yes; then
9766
11489
  lt_cv_dlopen="dlopen"
9767
11490
else
9768
 
  echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9769
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 
11491
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11492
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9770
11493
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9771
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11494
  $as_echo_n "(cached) " >&6
9772
11495
else
9773
11496
  ac_check_lib_save_LIBS=$LIBS
9774
11497
LIBS="-ldl  $LIBS"
9779
11502
cat >>conftest.$ac_ext <<_ACEOF
9780
11503
/* end confdefs.h.  */
9781
11504
 
9782
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11505
/* Override any GCC internal prototype to avoid an error.
 
11506
   Use char because int might match the return type of a GCC
 
11507
   builtin and then its argument prototype would still apply.  */
9783
11508
#ifdef __cplusplus
9784
11509
extern "C"
9785
11510
#endif
9786
 
/* We use char because int might match the return type of a gcc2
9787
 
   builtin and then its argument prototype would still apply.  */
9788
11511
char dlopen ();
9789
11512
int
9790
11513
main ()
9791
11514
{
9792
 
dlopen ();
 
11515
return dlopen ();
9793
11516
  ;
9794
11517
  return 0;
9795
11518
}
9796
11519
_ACEOF
9797
11520
rm -f conftest.$ac_objext conftest$ac_exeext
9798
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9799
 
  (eval $ac_link) 2>conftest.er1
 
11521
if { (ac_try="$ac_link"
 
11522
case "(($ac_try" in
 
11523
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11524
  *) ac_try_echo=$ac_try;;
 
11525
esac
 
11526
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11527
$as_echo "$ac_try_echo") >&5
 
11528
  (eval "$ac_link") 2>conftest.er1
9800
11529
  ac_status=$?
9801
11530
  grep -v '^ *+' conftest.er1 >conftest.err
9802
11531
  rm -f conftest.er1
9803
11532
  cat conftest.err >&5
9804
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805
 
  (exit $ac_status); } &&
9806
 
         { ac_try='test -z "$ac_c_werror_flag"
9807
 
                         || test ! -s conftest.err'
9808
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9809
 
  (eval $ac_try) 2>&5
9810
 
  ac_status=$?
9811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812
 
  (exit $ac_status); }; } &&
9813
 
         { ac_try='test -s conftest$ac_exeext'
9814
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9815
 
  (eval $ac_try) 2>&5
9816
 
  ac_status=$?
9817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818
 
  (exit $ac_status); }; }; then
 
11533
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11534
  (exit $ac_status); } && {
 
11535
         test -z "$ac_c_werror_flag" ||
 
11536
         test ! -s conftest.err
 
11537
       } && test -s conftest$ac_exeext && {
 
11538
         test "$cross_compiling" = yes ||
 
11539
         $as_test_x conftest$ac_exeext
 
11540
       }; then
9819
11541
  ac_cv_lib_dl_dlopen=yes
9820
11542
else
9821
 
  echo "$as_me: failed program was:" >&5
 
11543
  $as_echo "$as_me: failed program was:" >&5
9822
11544
sed 's/^/| /' conftest.$ac_ext >&5
9823
11545
 
9824
 
ac_cv_lib_dl_dlopen=no
 
11546
        ac_cv_lib_dl_dlopen=no
9825
11547
fi
9826
 
rm -f conftest.err conftest.$ac_objext \
 
11548
 
 
11549
rm -rf conftest.dSYM
 
11550
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9827
11551
      conftest$ac_exeext conftest.$ac_ext
9828
11552
LIBS=$ac_check_lib_save_LIBS
9829
11553
fi
9830
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9831
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9832
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11554
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11555
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11556
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9833
11557
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9834
11558
else
9835
 
  echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9836
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
 
11559
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11560
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9837
11561
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9838
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11562
  $as_echo_n "(cached) " >&6
9839
11563
else
9840
11564
  ac_check_lib_save_LIBS=$LIBS
9841
11565
LIBS="-lsvld  $LIBS"
9846
11570
cat >>conftest.$ac_ext <<_ACEOF
9847
11571
/* end confdefs.h.  */
9848
11572
 
9849
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11573
/* Override any GCC internal prototype to avoid an error.
 
11574
   Use char because int might match the return type of a GCC
 
11575
   builtin and then its argument prototype would still apply.  */
9850
11576
#ifdef __cplusplus
9851
11577
extern "C"
9852
11578
#endif
9853
 
/* We use char because int might match the return type of a gcc2
9854
 
   builtin and then its argument prototype would still apply.  */
9855
11579
char dlopen ();
9856
11580
int
9857
11581
main ()
9858
11582
{
9859
 
dlopen ();
 
11583
return dlopen ();
9860
11584
  ;
9861
11585
  return 0;
9862
11586
}
9863
11587
_ACEOF
9864
11588
rm -f conftest.$ac_objext conftest$ac_exeext
9865
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9866
 
  (eval $ac_link) 2>conftest.er1
 
11589
if { (ac_try="$ac_link"
 
11590
case "(($ac_try" in
 
11591
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11592
  *) ac_try_echo=$ac_try;;
 
11593
esac
 
11594
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11595
$as_echo "$ac_try_echo") >&5
 
11596
  (eval "$ac_link") 2>conftest.er1
9867
11597
  ac_status=$?
9868
11598
  grep -v '^ *+' conftest.er1 >conftest.err
9869
11599
  rm -f conftest.er1
9870
11600
  cat conftest.err >&5
9871
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872
 
  (exit $ac_status); } &&
9873
 
         { ac_try='test -z "$ac_c_werror_flag"
9874
 
                         || test ! -s conftest.err'
9875
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9876
 
  (eval $ac_try) 2>&5
9877
 
  ac_status=$?
9878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879
 
  (exit $ac_status); }; } &&
9880
 
         { ac_try='test -s conftest$ac_exeext'
9881
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9882
 
  (eval $ac_try) 2>&5
9883
 
  ac_status=$?
9884
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885
 
  (exit $ac_status); }; }; then
 
11601
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11602
  (exit $ac_status); } && {
 
11603
         test -z "$ac_c_werror_flag" ||
 
11604
         test ! -s conftest.err
 
11605
       } && test -s conftest$ac_exeext && {
 
11606
         test "$cross_compiling" = yes ||
 
11607
         $as_test_x conftest$ac_exeext
 
11608
       }; then
9886
11609
  ac_cv_lib_svld_dlopen=yes
9887
11610
else
9888
 
  echo "$as_me: failed program was:" >&5
 
11611
  $as_echo "$as_me: failed program was:" >&5
9889
11612
sed 's/^/| /' conftest.$ac_ext >&5
9890
11613
 
9891
 
ac_cv_lib_svld_dlopen=no
 
11614
        ac_cv_lib_svld_dlopen=no
9892
11615
fi
9893
 
rm -f conftest.err conftest.$ac_objext \
 
11616
 
 
11617
rm -rf conftest.dSYM
 
11618
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9894
11619
      conftest$ac_exeext conftest.$ac_ext
9895
11620
LIBS=$ac_check_lib_save_LIBS
9896
11621
fi
9897
 
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9898
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9899
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11622
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11623
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11624
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
9900
11625
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9901
11626
else
9902
 
  echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9903
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
 
11627
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11628
$as_echo_n "checking for dld_link in -ldld... " >&6; }
9904
11629
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9905
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11630
  $as_echo_n "(cached) " >&6
9906
11631
else
9907
11632
  ac_check_lib_save_LIBS=$LIBS
9908
11633
LIBS="-ldld  $LIBS"
9913
11638
cat >>conftest.$ac_ext <<_ACEOF
9914
11639
/* end confdefs.h.  */
9915
11640
 
9916
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
11641
/* Override any GCC internal prototype to avoid an error.
 
11642
   Use char because int might match the return type of a GCC
 
11643
   builtin and then its argument prototype would still apply.  */
9917
11644
#ifdef __cplusplus
9918
11645
extern "C"
9919
11646
#endif
9920
 
/* We use char because int might match the return type of a gcc2
9921
 
   builtin and then its argument prototype would still apply.  */
9922
11647
char dld_link ();
9923
11648
int
9924
11649
main ()
9925
11650
{
9926
 
dld_link ();
 
11651
return dld_link ();
9927
11652
  ;
9928
11653
  return 0;
9929
11654
}
9930
11655
_ACEOF
9931
11656
rm -f conftest.$ac_objext conftest$ac_exeext
9932
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9933
 
  (eval $ac_link) 2>conftest.er1
 
11657
if { (ac_try="$ac_link"
 
11658
case "(($ac_try" in
 
11659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11660
  *) ac_try_echo=$ac_try;;
 
11661
esac
 
11662
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11663
$as_echo "$ac_try_echo") >&5
 
11664
  (eval "$ac_link") 2>conftest.er1
9934
11665
  ac_status=$?
9935
11666
  grep -v '^ *+' conftest.er1 >conftest.err
9936
11667
  rm -f conftest.er1
9937
11668
  cat conftest.err >&5
9938
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939
 
  (exit $ac_status); } &&
9940
 
         { ac_try='test -z "$ac_c_werror_flag"
9941
 
                         || test ! -s conftest.err'
9942
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9943
 
  (eval $ac_try) 2>&5
9944
 
  ac_status=$?
9945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946
 
  (exit $ac_status); }; } &&
9947
 
         { ac_try='test -s conftest$ac_exeext'
9948
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9949
 
  (eval $ac_try) 2>&5
9950
 
  ac_status=$?
9951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952
 
  (exit $ac_status); }; }; then
 
11669
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11670
  (exit $ac_status); } && {
 
11671
         test -z "$ac_c_werror_flag" ||
 
11672
         test ! -s conftest.err
 
11673
       } && test -s conftest$ac_exeext && {
 
11674
         test "$cross_compiling" = yes ||
 
11675
         $as_test_x conftest$ac_exeext
 
11676
       }; then
9953
11677
  ac_cv_lib_dld_dld_link=yes
9954
11678
else
9955
 
  echo "$as_me: failed program was:" >&5
 
11679
  $as_echo "$as_me: failed program was:" >&5
9956
11680
sed 's/^/| /' conftest.$ac_ext >&5
9957
11681
 
9958
 
ac_cv_lib_dld_dld_link=no
 
11682
        ac_cv_lib_dld_dld_link=no
9959
11683
fi
9960
 
rm -f conftest.err conftest.$ac_objext \
 
11684
 
 
11685
rm -rf conftest.dSYM
 
11686
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9961
11687
      conftest$ac_exeext conftest.$ac_ext
9962
11688
LIBS=$ac_check_lib_save_LIBS
9963
11689
fi
9964
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9965
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9966
 
if test $ac_cv_lib_dld_dld_link = yes; then
9967
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
11690
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11691
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11692
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11693
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
9968
11694
fi
9969
11695
 
9970
11696
 
10002
11728
    save_LIBS="$LIBS"
10003
11729
    LIBS="$lt_cv_dlopen_libs $LIBS"
10004
11730
 
10005
 
    echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10006
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
 
11731
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11732
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10007
11733
if test "${lt_cv_dlopen_self+set}" = set; then
10008
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11734
  $as_echo_n "(cached) " >&6
10009
11735
else
10010
11736
          if test "$cross_compiling" = yes; then :
10011
11737
  lt_cv_dlopen_self=cross
10012
11738
else
10013
11739
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10014
11740
  lt_status=$lt_dlunknown
10015
 
  cat > conftest.$ac_ext <<EOF
10016
 
#line 10016 "configure"
 
11741
  cat > conftest.$ac_ext <<_LT_EOF
 
11742
#line 11742 "configure"
10017
11743
#include "confdefs.h"
10018
11744
 
10019
11745
#if HAVE_DLFCN_H
10054
11780
#  endif
10055
11781
#endif
10056
11782
 
10057
 
#ifdef __cplusplus
10058
 
extern "C" void exit (int);
10059
 
#endif
10060
 
 
10061
11783
void fnord() { int i=42;}
10062
11784
int main ()
10063
11785
{
10073
11795
  else
10074
11796
    puts (dlerror ());
10075
11797
 
10076
 
    exit (status);
 
11798
  return status;
10077
11799
}
10078
 
EOF
 
11800
_LT_EOF
10079
11801
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10080
11802
  (eval $ac_link) 2>&5
10081
11803
  ac_status=$?
10082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11804
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083
11805
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10084
11806
    (./conftest; exit; ) >&5 2>/dev/null
10085
11807
    lt_status=$?
10097
11819
 
10098
11820
 
10099
11821
fi
10100
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10101
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
 
11822
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11823
$as_echo "$lt_cv_dlopen_self" >&6; }
10102
11824
 
10103
11825
    if test "x$lt_cv_dlopen_self" = xyes; then
10104
11826
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10105
 
      echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10106
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
 
11827
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11828
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10107
11829
if test "${lt_cv_dlopen_self_static+set}" = set; then
10108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11830
  $as_echo_n "(cached) " >&6
10109
11831
else
10110
11832
          if test "$cross_compiling" = yes; then :
10111
11833
  lt_cv_dlopen_self_static=cross
10112
11834
else
10113
11835
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10114
11836
  lt_status=$lt_dlunknown
10115
 
  cat > conftest.$ac_ext <<EOF
10116
 
#line 10116 "configure"
 
11837
  cat > conftest.$ac_ext <<_LT_EOF
 
11838
#line 11838 "configure"
10117
11839
#include "confdefs.h"
10118
11840
 
10119
11841
#if HAVE_DLFCN_H
10154
11876
#  endif
10155
11877
#endif
10156
11878
 
10157
 
#ifdef __cplusplus
10158
 
extern "C" void exit (int);
10159
 
#endif
10160
 
 
10161
11879
void fnord() { int i=42;}
10162
11880
int main ()
10163
11881
{
10173
11891
  else
10174
11892
    puts (dlerror ());
10175
11893
 
10176
 
    exit (status);
 
11894
  return status;
10177
11895
}
10178
 
EOF
 
11896
_LT_EOF
10179
11897
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10180
11898
  (eval $ac_link) 2>&5
10181
11899
  ac_status=$?
10182
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11900
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183
11901
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10184
11902
    (./conftest; exit; ) >&5 2>/dev/null
10185
11903
    lt_status=$?
10197
11915
 
10198
11916
 
10199
11917
fi
10200
 
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10201
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
 
11918
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11919
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10202
11920
    fi
10203
11921
 
10204
11922
    CPPFLAGS="$save_CPPFLAGS"
10219
11937
fi
10220
11938
 
10221
11939
 
10222
 
# Report which library types will actually be built
10223
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10224
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10225
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
10226
 
echo "${ECHO_T}$can_build_shared" >&6
10227
 
 
10228
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10229
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10230
 
test "$can_build_shared" = "no" && enable_shared=no
10231
 
 
10232
 
# On AIX, shared libraries and static libraries use the same namespace, and
10233
 
# are all built from PIC.
10234
 
case $host_os in
10235
 
aix3*)
10236
 
  test "$enable_shared" = yes && enable_static=no
10237
 
  if test -n "$RANLIB"; then
10238
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10239
 
    postinstall_cmds='$RANLIB $lib'
10240
 
  fi
10241
 
  ;;
10242
 
 
10243
 
aix4* | aix5*)
10244
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10245
 
    test "$enable_shared" = yes && enable_static=no
10246
 
  fi
10247
 
    ;;
10248
 
esac
10249
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
10250
 
echo "${ECHO_T}$enable_shared" >&6
10251
 
 
10252
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10253
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10254
 
# Make sure either enable_shared or enable_static is yes.
10255
 
test "$enable_shared" = yes || enable_static=yes
10256
 
echo "$as_me:$LINENO: result: $enable_static" >&5
10257
 
echo "${ECHO_T}$enable_static" >&6
10258
 
 
10259
 
# The else clause should only fire when bootstrapping the
10260
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10261
 
# with your package, and you will get complaints that there are
10262
 
# no rules to generate ltmain.sh.
10263
 
if test -f "$ltmain"; then
10264
 
  # See if we are running on zsh, and set the options which allow our commands through
10265
 
  # without removal of \ escapes.
10266
 
  if test -n "${ZSH_VERSION+set}" ; then
10267
 
    setopt NO_GLOB_SUBST
10268
 
  fi
10269
 
  # Now quote all the things that may contain metacharacters while being
10270
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10271
 
  # variables and quote the copies for generation of the libtool script.
10272
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10273
 
    SED SHELL STRIP \
10274
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10275
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10276
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10277
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10278
 
    lt_cv_sys_global_symbol_to_c_name_address \
10279
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10280
 
    old_postinstall_cmds old_postuninstall_cmds \
10281
 
    compiler \
10282
 
    CC \
10283
 
    LD \
10284
 
    lt_prog_compiler_wl \
10285
 
    lt_prog_compiler_pic \
10286
 
    lt_prog_compiler_static \
10287
 
    lt_prog_compiler_no_builtin_flag \
10288
 
    export_dynamic_flag_spec \
10289
 
    thread_safe_flag_spec \
10290
 
    whole_archive_flag_spec \
10291
 
    enable_shared_with_static_runtimes \
10292
 
    old_archive_cmds \
10293
 
    old_archive_from_new_cmds \
10294
 
    predep_objects \
10295
 
    postdep_objects \
10296
 
    predeps \
10297
 
    postdeps \
10298
 
    compiler_lib_search_path \
10299
 
    archive_cmds \
10300
 
    archive_expsym_cmds \
10301
 
    postinstall_cmds \
10302
 
    postuninstall_cmds \
10303
 
    old_archive_from_expsyms_cmds \
10304
 
    allow_undefined_flag \
10305
 
    no_undefined_flag \
10306
 
    export_symbols_cmds \
10307
 
    hardcode_libdir_flag_spec \
10308
 
    hardcode_libdir_flag_spec_ld \
10309
 
    hardcode_libdir_separator \
10310
 
    hardcode_automatic \
10311
 
    module_cmds \
10312
 
    module_expsym_cmds \
10313
 
    lt_cv_prog_compiler_c_o \
10314
 
    exclude_expsyms \
10315
 
    include_expsyms; do
10316
 
 
10317
 
    case $var in
10318
 
    old_archive_cmds | \
10319
 
    old_archive_from_new_cmds | \
10320
 
    archive_cmds | \
10321
 
    archive_expsym_cmds | \
10322
 
    module_cmds | \
10323
 
    module_expsym_cmds | \
10324
 
    old_archive_from_expsyms_cmds | \
10325
 
    export_symbols_cmds | \
10326
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10327
 
    postinstall_cmds | postuninstall_cmds | \
10328
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10329
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10330
 
      # Double-quote double-evaled strings.
10331
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10332
 
      ;;
10333
 
    *)
10334
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10335
 
      ;;
10336
 
    esac
10337
 
  done
10338
 
 
10339
 
  case $lt_echo in
10340
 
  *'\$0 --fallback-echo"')
10341
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10342
 
    ;;
10343
 
  esac
10344
 
 
10345
 
cfgfile="${ofile}T"
10346
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10347
 
  $rm -f "$cfgfile"
10348
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10349
 
echo "$as_me: creating $ofile" >&6;}
10350
 
 
10351
 
  cat <<__EOF__ >> "$cfgfile"
10352
 
#! $SHELL
10353
 
 
10354
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10355
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10356
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10357
 
#
10358
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10359
 
# Free Software Foundation, Inc.
10360
 
#
10361
 
# This file is part of GNU Libtool:
10362
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10363
 
#
10364
 
# This program is free software; you can redistribute it and/or modify
10365
 
# it under the terms of the GNU General Public License as published by
10366
 
# the Free Software Foundation; either version 2 of the License, or
10367
 
# (at your option) any later version.
10368
 
#
10369
 
# This program is distributed in the hope that it will be useful, but
10370
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10371
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10372
 
# General Public License for more details.
10373
 
#
10374
 
# You should have received a copy of the GNU General Public License
10375
 
# along with this program; if not, write to the Free Software
10376
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10377
 
#
10378
 
# As a special exception to the GNU General Public License, if you
10379
 
# distribute this file as part of a program that contains a
10380
 
# configuration script generated by Autoconf, you may include it under
10381
 
# the same distribution terms that you use for the rest of that program.
10382
 
 
10383
 
# A sed program that does not truncate output.
10384
 
SED=$lt_SED
10385
 
 
10386
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10387
 
Xsed="$SED -e 1s/^X//"
10388
 
 
10389
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10390
 
# if CDPATH is set.
10391
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10392
 
 
10393
 
# The names of the tagged configurations supported by this script.
10394
 
available_tags=
10395
 
 
10396
 
# ### BEGIN LIBTOOL CONFIG
10397
 
 
10398
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10399
 
 
10400
 
# Shell to use when invoking shell scripts.
10401
 
SHELL=$lt_SHELL
10402
 
 
10403
 
# Whether or not to build shared libraries.
10404
 
build_libtool_libs=$enable_shared
10405
 
 
10406
 
# Whether or not to build static libraries.
10407
 
build_old_libs=$enable_static
10408
 
 
10409
 
# Whether or not to add -lc for building shared libraries.
10410
 
build_libtool_need_lc=$archive_cmds_need_lc
10411
 
 
10412
 
# Whether or not to disallow shared libs when runtime libs are static
10413
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10414
 
 
10415
 
# Whether or not to optimize for fast installation.
10416
 
fast_install=$enable_fast_install
10417
 
 
10418
 
# The host system.
10419
 
host_alias=$host_alias
10420
 
host=$host
10421
 
host_os=$host_os
10422
 
 
10423
 
# The build system.
10424
 
build_alias=$build_alias
10425
 
build=$build
10426
 
build_os=$build_os
10427
 
 
10428
 
# An echo program that does not interpret backslashes.
10429
 
echo=$lt_echo
10430
 
 
10431
 
# The archiver.
10432
 
AR=$lt_AR
10433
 
AR_FLAGS=$lt_AR_FLAGS
10434
 
 
10435
 
# A C compiler.
10436
 
LTCC=$lt_LTCC
10437
 
 
10438
 
# LTCC compiler flags.
10439
 
LTCFLAGS=$lt_LTCFLAGS
10440
 
 
10441
 
# A language-specific compiler.
10442
 
CC=$lt_compiler
10443
 
 
10444
 
# Is the compiler the GNU C compiler?
10445
 
with_gcc=$GCC
10446
 
 
10447
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
10448
 
gcc_ver=\`gcc -dumpversion\`
10449
 
 
10450
 
# An ERE matcher.
10451
 
EGREP=$lt_EGREP
10452
 
 
10453
 
# The linker used to build libraries.
10454
 
LD=$lt_LD
10455
 
 
10456
 
# Whether we need hard or soft links.
10457
 
LN_S=$lt_LN_S
10458
 
 
10459
 
# A BSD-compatible nm program.
10460
 
NM=$lt_NM
10461
 
 
10462
 
# A symbol stripping program
10463
 
STRIP=$lt_STRIP
10464
 
 
10465
 
# Used to examine libraries when file_magic_cmd begins "file"
10466
 
MAGIC_CMD=$MAGIC_CMD
10467
 
 
10468
 
# Used on cygwin: DLL creation program.
10469
 
DLLTOOL="$DLLTOOL"
10470
 
 
10471
 
# Used on cygwin: object dumper.
10472
 
OBJDUMP="$OBJDUMP"
10473
 
 
10474
 
# Used on cygwin: assembler.
10475
 
AS="$AS"
10476
 
 
10477
 
# The name of the directory that contains temporary libtool files.
10478
 
objdir=$objdir
10479
 
 
10480
 
# How to create reloadable object files.
10481
 
reload_flag=$lt_reload_flag
10482
 
reload_cmds=$lt_reload_cmds
10483
 
 
10484
 
# How to pass a linker flag through the compiler.
10485
 
wl=$lt_lt_prog_compiler_wl
10486
 
 
10487
 
# Object file suffix (normally "o").
10488
 
objext="$ac_objext"
10489
 
 
10490
 
# Old archive suffix (normally "a").
10491
 
libext="$libext"
10492
 
 
10493
 
# Shared library suffix (normally ".so").
10494
 
shrext_cmds='$shrext_cmds'
10495
 
 
10496
 
# Executable file suffix (normally "").
10497
 
exeext="$exeext"
10498
 
 
10499
 
# Additional compiler flags for building library objects.
10500
 
pic_flag=$lt_lt_prog_compiler_pic
10501
 
pic_mode=$pic_mode
10502
 
 
10503
 
# What is the maximum length of a command?
10504
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10505
 
 
10506
 
# Does compiler simultaneously support -c and -o options?
10507
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10508
 
 
10509
 
# Must we lock files when doing compilation?
10510
 
need_locks=$lt_need_locks
10511
 
 
10512
 
# Do we need the lib prefix for modules?
10513
 
need_lib_prefix=$need_lib_prefix
10514
 
 
10515
 
# Do we need a version for libraries?
10516
 
need_version=$need_version
10517
 
 
10518
 
# Whether dlopen is supported.
10519
 
dlopen_support=$enable_dlopen
10520
 
 
10521
 
# Whether dlopen of programs is supported.
10522
 
dlopen_self=$enable_dlopen_self
10523
 
 
10524
 
# Whether dlopen of statically linked programs is supported.
10525
 
dlopen_self_static=$enable_dlopen_self_static
10526
 
 
10527
 
# Compiler flag to prevent dynamic linking.
10528
 
link_static_flag=$lt_lt_prog_compiler_static
10529
 
 
10530
 
# Compiler flag to turn off builtin functions.
10531
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10532
 
 
10533
 
# Compiler flag to allow reflexive dlopens.
10534
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10535
 
 
10536
 
# Compiler flag to generate shared objects directly from archives.
10537
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10538
 
 
10539
 
# Compiler flag to generate thread-safe objects.
10540
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10541
 
 
10542
 
# Library versioning type.
10543
 
version_type=$version_type
10544
 
 
10545
 
# Format of library name prefix.
10546
 
libname_spec=$lt_libname_spec
10547
 
 
10548
 
# List of archive names.  First name is the real one, the rest are links.
10549
 
# The last name is the one that the linker finds with -lNAME.
10550
 
library_names_spec=$lt_library_names_spec
10551
 
 
10552
 
# The coded name of the library, if different from the real name.
10553
 
soname_spec=$lt_soname_spec
10554
 
 
10555
 
# Commands used to build and install an old-style archive.
10556
 
RANLIB=$lt_RANLIB
10557
 
old_archive_cmds=$lt_old_archive_cmds
10558
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10559
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10560
 
 
10561
 
# Create an old-style archive from a shared archive.
10562
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10563
 
 
10564
 
# Create a temporary old-style archive to link instead of a shared archive.
10565
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10566
 
 
10567
 
# Commands used to build and install a shared archive.
10568
 
archive_cmds=$lt_archive_cmds
10569
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10570
 
postinstall_cmds=$lt_postinstall_cmds
10571
 
postuninstall_cmds=$lt_postuninstall_cmds
10572
 
 
10573
 
# Commands used to build a loadable module (assumed same as above if empty)
10574
 
module_cmds=$lt_module_cmds
10575
 
module_expsym_cmds=$lt_module_expsym_cmds
10576
 
 
10577
 
# Commands to strip libraries.
10578
 
old_striplib=$lt_old_striplib
10579
 
striplib=$lt_striplib
10580
 
 
10581
 
# Dependencies to place before the objects being linked to create a
10582
 
# shared library.
10583
 
predep_objects=\`echo $lt_predep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10584
 
 
10585
 
# Dependencies to place after the objects being linked to create a
10586
 
# shared library.
10587
 
postdep_objects=\`echo $lt_postdep_objects | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10588
 
 
10589
 
# Dependencies to place before the objects being linked to create a
10590
 
# shared library.
10591
 
predeps=$lt_predeps
10592
 
 
10593
 
# Dependencies to place after the objects being linked to create a
10594
 
# shared library.
10595
 
postdeps=$lt_postdeps
10596
 
 
10597
 
# The library search path used internally by the compiler when linking
10598
 
# a shared library.
10599
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10600
 
 
10601
 
# Method to check whether dependent libraries are shared objects.
10602
 
deplibs_check_method=$lt_deplibs_check_method
10603
 
 
10604
 
# Command to use when deplibs_check_method == file_magic.
10605
 
file_magic_cmd=$lt_file_magic_cmd
10606
 
 
10607
 
# Flag that allows shared libraries with undefined symbols to be built.
10608
 
allow_undefined_flag=$lt_allow_undefined_flag
10609
 
 
10610
 
# Flag that forces no undefined symbols.
10611
 
no_undefined_flag=$lt_no_undefined_flag
10612
 
 
10613
 
# Commands used to finish a libtool library installation in a directory.
10614
 
finish_cmds=$lt_finish_cmds
10615
 
 
10616
 
# Same as above, but a single script fragment to be evaled but not shown.
10617
 
finish_eval=$lt_finish_eval
10618
 
 
10619
 
# Take the output of nm and produce a listing of raw symbols and C names.
10620
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10621
 
 
10622
 
# Transform the output of nm in a proper C declaration
10623
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10624
 
 
10625
 
# Transform the output of nm in a C name address pair
10626
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10627
 
 
10628
 
# This is the shared library runtime path variable.
10629
 
runpath_var=$runpath_var
10630
 
 
10631
 
# This is the shared library path variable.
10632
 
shlibpath_var=$shlibpath_var
10633
 
 
10634
 
# Is shlibpath searched before the hard-coded library search path?
10635
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10636
 
 
10637
 
# How to hardcode a shared library path into an executable.
10638
 
hardcode_action=$hardcode_action
10639
 
 
10640
 
# Whether we should hardcode library paths into libraries.
10641
 
hardcode_into_libs=$hardcode_into_libs
10642
 
 
10643
 
# Flag to hardcode \$libdir into a binary during linking.
10644
 
# This must work even if \$libdir does not exist.
10645
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10646
 
 
10647
 
# If ld is used when linking, flag to hardcode \$libdir into
10648
 
# a binary during linking. This must work even if \$libdir does
10649
 
# not exist.
10650
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10651
 
 
10652
 
# Whether we need a single -rpath flag with a separated argument.
10653
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10654
 
 
10655
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10656
 
# resulting binary.
10657
 
hardcode_direct=$hardcode_direct
10658
 
 
10659
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10660
 
# resulting binary.
10661
 
hardcode_minus_L=$hardcode_minus_L
10662
 
 
10663
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10664
 
# the resulting binary.
10665
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10666
 
 
10667
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10668
 
# and all subsequent libraries and executables linked against it.
10669
 
hardcode_automatic=$hardcode_automatic
10670
 
 
10671
 
# Variables whose values should be saved in libtool wrapper scripts and
10672
 
# restored at relink time.
10673
 
variables_saved_for_relink="$variables_saved_for_relink"
10674
 
 
10675
 
# Whether libtool must link a program against all its dependency libraries.
10676
 
link_all_deplibs=$link_all_deplibs
10677
 
 
10678
 
# Compile-time system search path for libraries
10679
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
10680
 
 
10681
 
# Run-time system search path for libraries
10682
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10683
 
 
10684
 
# Fix the shell variable \$srcfile for the compiler.
10685
 
fix_srcfile_path="$fix_srcfile_path"
10686
 
 
10687
 
# Set to yes if exported symbols are required.
10688
 
always_export_symbols=$always_export_symbols
10689
 
 
10690
 
# The commands to list exported symbols.
10691
 
export_symbols_cmds=$lt_export_symbols_cmds
10692
 
 
10693
 
# The commands to extract the exported symbol list from a shared archive.
10694
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10695
 
 
10696
 
# Symbols that should not be listed in the preloaded symbols.
10697
 
exclude_expsyms=$lt_exclude_expsyms
10698
 
 
10699
 
# Symbols that must always be exported.
10700
 
include_expsyms=$lt_include_expsyms
10701
 
 
10702
 
# ### END LIBTOOL CONFIG
10703
 
 
10704
 
__EOF__
10705
 
 
10706
 
 
10707
 
  case $host_os in
10708
 
  aix3*)
10709
 
    cat <<\EOF >> "$cfgfile"
10710
 
 
10711
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10712
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10713
 
# vanish in a puff of smoke.
10714
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10715
 
  COLLECT_NAMES=
10716
 
  export COLLECT_NAMES
10717
 
fi
10718
 
EOF
10719
 
    ;;
10720
 
  esac
10721
 
 
10722
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10723
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10724
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10725
 
  # is reportedly fixed, but why not run on old versions too?
10726
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10727
 
 
10728
 
  mv -f "$cfgfile" "$ofile" || \
10729
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10730
 
  chmod +x "$ofile"
10731
 
 
10732
 
else
10733
 
  # If there is no Makefile yet, we rely on a make rule to execute
10734
 
  # `config.status --recheck' to rerun these tests and create the
10735
 
  # libtool script then.
10736
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10737
 
  if test -f "$ltmain_in"; then
10738
 
    test -f Makefile && make "$ltmain"
10739
 
  fi
10740
 
fi
10741
 
 
10742
 
 
10743
 
ac_ext=c
10744
 
ac_cpp='$CPP $CPPFLAGS'
10745
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10746
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10747
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10748
 
 
10749
 
CC="$lt_save_CC"
10750
 
 
10751
 
 
10752
 
# Check whether --with-tags or --without-tags was given.
10753
 
if test "${with_tags+set}" = set; then
10754
 
  withval="$with_tags"
10755
 
  tagnames="$withval"
10756
 
fi;
10757
 
 
10758
 
if test -f "$ltmain" && test -n "$tagnames"; then
10759
 
  if test ! -f "${ofile}"; then
10760
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10761
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10762
 
  fi
10763
 
 
10764
 
  if test -z "$LTCC"; then
10765
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10766
 
    if test -z "$LTCC"; then
10767
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10768
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10769
 
    else
10770
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10771
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10772
 
    fi
10773
 
  fi
10774
 
  if test -z "$LTCFLAGS"; then
10775
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10776
 
  fi
10777
 
 
10778
 
  # Extract list of available tagged configurations in $ofile.
10779
 
  # Note that this assumes the entire list is on one line.
10780
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10781
 
 
10782
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10783
 
  for tagname in $tagnames; do
10784
 
    IFS="$lt_save_ifs"
10785
 
    # Check whether tagname contains only valid characters
10786
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10787
 
    "") ;;
10788
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10789
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10790
 
   { (exit 1); exit 1; }; }
10791
 
        ;;
10792
 
    esac
10793
 
 
10794
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10795
 
    then
10796
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10797
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10798
 
   { (exit 1); exit 1; }; }
10799
 
    fi
10800
 
 
10801
 
    # Update the list of available tags.
10802
 
    if test -n "$tagname"; then
10803
 
      echo appending configuration tag \"$tagname\" to $ofile
10804
 
 
10805
 
      case $tagname in
10806
 
      CXX)
10807
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10808
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10809
 
            (test "X$CXX" != "Xg++"))) ; then
10810
 
          ac_ext=cc
10811
 
ac_cpp='$CXXCPP $CPPFLAGS'
10812
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10813
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10814
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10815
 
 
10816
 
 
10817
 
 
10818
 
 
10819
 
archive_cmds_need_lc_CXX=no
10820
 
allow_undefined_flag_CXX=
10821
 
always_export_symbols_CXX=no
10822
 
archive_expsym_cmds_CXX=
10823
 
export_dynamic_flag_spec_CXX=
10824
 
hardcode_direct_CXX=no
10825
 
hardcode_libdir_flag_spec_CXX=
10826
 
hardcode_libdir_flag_spec_ld_CXX=
10827
 
hardcode_libdir_separator_CXX=
10828
 
hardcode_minus_L_CXX=no
10829
 
hardcode_shlibpath_var_CXX=unsupported
10830
 
hardcode_automatic_CXX=no
10831
 
module_cmds_CXX=
10832
 
module_expsym_cmds_CXX=
10833
 
link_all_deplibs_CXX=unknown
10834
 
old_archive_cmds_CXX=$old_archive_cmds
10835
 
no_undefined_flag_CXX=
10836
 
whole_archive_flag_spec_CXX=
10837
 
enable_shared_with_static_runtimes_CXX=no
10838
 
 
10839
 
# Dependencies to place before and after the object being linked:
10840
 
predep_objects_CXX=
10841
 
postdep_objects_CXX=
10842
 
predeps_CXX=
10843
 
postdeps_CXX=
10844
 
compiler_lib_search_path_CXX=
10845
 
 
10846
 
# Source file extension for C++ test sources.
10847
 
ac_ext=cpp
10848
 
 
10849
 
# Object file extension for compiled C++ test sources.
10850
 
objext=o
10851
 
objext_CXX=$objext
10852
 
 
10853
 
# Code to be used in simple compile tests
10854
 
lt_simple_compile_test_code="int some_variable = 0;\n"
10855
 
 
10856
 
# Code to be used in simple link tests
10857
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10858
 
 
10859
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10860
 
 
10861
 
# If no C compiler was specified, use CC.
10862
 
LTCC=${LTCC-"$CC"}
10863
 
 
10864
 
# If no C compiler flags were specified, use CFLAGS.
10865
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10866
 
 
10867
 
# Allow CC to be a program name with arguments.
10868
 
compiler=$CC
10869
 
 
10870
 
 
10871
 
# save warnings/boilerplate of simple test code
10872
 
ac_outfile=conftest.$ac_objext
10873
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10874
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10875
 
_lt_compiler_boilerplate=`cat conftest.err`
10876
 
$rm conftest*
10877
 
 
10878
 
ac_outfile=conftest.$ac_objext
10879
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10880
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10881
 
_lt_linker_boilerplate=`cat conftest.err`
10882
 
$rm conftest*
10883
 
 
10884
 
 
10885
 
# Allow CC to be a program name with arguments.
10886
 
lt_save_CC=$CC
10887
 
lt_save_LD=$LD
10888
 
lt_save_GCC=$GCC
10889
 
GCC=$GXX
10890
 
lt_save_with_gnu_ld=$with_gnu_ld
10891
 
lt_save_path_LD=$lt_cv_path_LD
10892
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10893
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10894
 
else
10895
 
  $as_unset lt_cv_prog_gnu_ld
10896
 
fi
10897
 
if test -n "${lt_cv_path_LDCXX+set}"; then
10898
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
10899
 
else
10900
 
  $as_unset lt_cv_path_LD
10901
 
fi
10902
 
test -z "${LDCXX+set}" || LD=$LDCXX
10903
 
CC=${CXX-"c++"}
10904
 
compiler=$CC
10905
 
compiler_CXX=$CC
10906
 
for cc_temp in $compiler""; do
10907
 
  case $cc_temp in
10908
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10909
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10910
 
    \-*) ;;
10911
 
    *) break;;
10912
 
  esac
10913
 
done
10914
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10915
 
 
10916
 
 
10917
 
# We don't want -fno-exception wen compiling C++ code, so set the
10918
 
# no_builtin_flag separately
10919
 
if test "$GXX" = yes; then
10920
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10921
 
else
10922
 
  lt_prog_compiler_no_builtin_flag_CXX=
10923
 
fi
10924
 
 
10925
 
if test "$GXX" = yes; then
10926
 
  # Set up default GNU C++ configuration
10927
 
 
10928
 
 
10929
 
# Check whether --with-gnu-ld or --without-gnu-ld was given.
10930
 
if test "${with_gnu_ld+set}" = set; then
10931
 
  withval="$with_gnu_ld"
10932
 
  test "$withval" = no || with_gnu_ld=yes
10933
 
else
10934
 
  with_gnu_ld=no
10935
 
fi;
10936
 
ac_prog=ld
10937
 
if test "$GCC" = yes; then
10938
 
  # Check if gcc -print-prog-name=ld gives a path.
10939
 
  echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10940
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10941
 
  case $host in
10942
 
  *-*-mingw*)
10943
 
    # gcc leaves a trailing carriage return which upsets mingw
10944
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10945
 
  *)
10946
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10947
 
  esac
10948
 
  case $ac_prog in
10949
 
    # Accept absolute paths.
10950
 
    [\\/]* | ?:[\\/]*)
10951
 
      re_direlt='/[^/][^/]*/\.\./'
10952
 
      # Canonicalize the pathname of ld
10953
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
10954
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10955
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
10956
 
      done
10957
 
      test -z "$LD" && LD="$ac_prog"
10958
 
      ;;
10959
 
  "")
10960
 
    # If it fails, then pretend we aren't using GCC.
10961
 
    ac_prog=ld
10962
 
    ;;
10963
 
  *)
10964
 
    # If it is relative, then search for the first ld in PATH.
10965
 
    with_gnu_ld=unknown
10966
 
    ;;
10967
 
  esac
10968
 
elif test "$with_gnu_ld" = yes; then
10969
 
  echo "$as_me:$LINENO: checking for GNU ld" >&5
10970
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10971
 
else
10972
 
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10973
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10974
 
fi
10975
 
if test "${lt_cv_path_LD+set}" = set; then
10976
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10977
 
else
10978
 
  if test -z "$LD"; then
10979
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10980
 
  for ac_dir in $PATH; do
10981
 
    IFS="$lt_save_ifs"
10982
 
    test -z "$ac_dir" && ac_dir=.
10983
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10984
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
10985
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
10986
 
      # but apparently some variants of GNU ld only accept -v.
10987
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
10988
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10989
 
      *GNU* | *'with BFD'*)
10990
 
        test "$with_gnu_ld" != no && break
10991
 
        ;;
10992
 
      *)
10993
 
        test "$with_gnu_ld" != yes && break
10994
 
        ;;
10995
 
      esac
10996
 
    fi
10997
 
  done
10998
 
  IFS="$lt_save_ifs"
10999
 
else
11000
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11001
 
fi
11002
 
fi
11003
 
 
11004
 
LD="$lt_cv_path_LD"
11005
 
if test -n "$LD"; then
11006
 
  echo "$as_me:$LINENO: result: $LD" >&5
11007
 
echo "${ECHO_T}$LD" >&6
11008
 
else
11009
 
  echo "$as_me:$LINENO: result: no" >&5
11010
 
echo "${ECHO_T}no" >&6
11011
 
fi
11012
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11013
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11014
 
   { (exit 1); exit 1; }; }
11015
 
echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11016
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11017
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11018
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11019
 
else
11020
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11021
 
case `$LD -v 2>&1 </dev/null` in
11022
 
*GNU* | *'with BFD'*)
11023
 
  lt_cv_prog_gnu_ld=yes
11024
 
  ;;
11025
 
*)
11026
 
  lt_cv_prog_gnu_ld=no
11027
 
  ;;
11028
 
esac
11029
 
fi
11030
 
echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11031
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11032
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11033
 
 
11034
 
 
11035
 
 
11036
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11037
 
  # archiving commands below assume that GNU ld is being used.
11038
 
  if test "$with_gnu_ld" = yes; then
11039
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11040
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11041
 
 
11042
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11043
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11044
 
 
11045
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11046
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11047
 
    #     investigate it a little bit more. (MM)
11048
 
    wlarc='${wl}'
11049
 
 
11050
 
    # ancient GNU ld didn't support --whole-archive et. al.
11051
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11052
 
        grep 'no-whole-archive' > /dev/null; then
11053
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11054
 
    else
11055
 
      whole_archive_flag_spec_CXX=
11056
 
    fi
11057
 
  else
11058
 
    with_gnu_ld=no
11059
 
    wlarc=
11060
 
 
11061
 
    # A generic and very simple default shared library creation
11062
 
    # command for GNU C++ for the case where it uses the native
11063
 
    # linker, instead of GNU ld.  If possible, this setting should
11064
 
    # overridden to take advantage of the native linker features on
11065
 
    # the platform it is being used on.
11066
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11067
 
  fi
11068
 
 
11069
 
  # Commands to make compiler produce verbose output that lists
11070
 
  # what "hidden" libraries, object files and flags are used when
11071
 
  # linking a shared library.
11072
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11073
 
 
11074
 
else
11075
 
  GXX=no
11076
 
  with_gnu_ld=no
11077
 
  wlarc=
11078
 
fi
11079
 
 
11080
 
# PORTME: fill in a description of your system's C++ link characteristics
11081
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11082
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11083
 
ld_shlibs_CXX=yes
11084
 
case $host_os in
11085
 
  aix3*)
11086
 
    # FIXME: insert proper C++ library support
11087
 
    ld_shlibs_CXX=no
11088
 
    ;;
11089
 
  aix4* | aix5*)
11090
 
    if test "$host_cpu" = ia64; then
11091
 
      # On IA64, the linker does run time linking by default, so we don't
11092
 
      # have to do anything special.
11093
 
      aix_use_runtimelinking=no
11094
 
      exp_sym_flag='-Bexport'
11095
 
      no_entry_flag=""
11096
 
    else
11097
 
      aix_use_runtimelinking=no
11098
 
 
11099
 
      # Test if we are trying to use run time linking or normal
11100
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11101
 
      # need to do runtime linking.
11102
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11103
 
        for ld_flag in $LDFLAGS; do
11104
 
          case $ld_flag in
11105
 
          *-brtl*)
11106
 
            aix_use_runtimelinking=yes
11107
 
            break
11108
 
            ;;
11109
 
          esac
11110
 
        done
11111
 
        ;;
11112
 
      esac
11113
 
 
11114
 
      exp_sym_flag='-bexport'
11115
 
      no_entry_flag='-bnoentry'
11116
 
    fi
11117
 
 
11118
 
    # When large executables or shared objects are built, AIX ld can
11119
 
    # have problems creating the table of contents.  If linking a library
11120
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11121
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11122
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11123
 
 
11124
 
    archive_cmds_CXX=''
11125
 
    hardcode_direct_CXX=yes
11126
 
    hardcode_libdir_separator_CXX=':'
11127
 
    link_all_deplibs_CXX=yes
11128
 
 
11129
 
    if test "$GXX" = yes; then
11130
 
      case $host_os in aix4.[012]|aix4.[012].*)
11131
 
      # We only want to do this on AIX 4.2 and lower, the check
11132
 
      # below for broken collect2 doesn't work under 4.3+
11133
 
        collect2name=`${CC} -print-prog-name=collect2`
11134
 
        if test -f "$collect2name" && \
11135
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11136
 
        then
11137
 
          # We have reworked collect2
11138
 
          hardcode_direct_CXX=yes
11139
 
        else
11140
 
          # We have old collect2
11141
 
          hardcode_direct_CXX=unsupported
11142
 
          # It fails to find uninstalled libraries when the uninstalled
11143
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11144
 
          # to unsupported forces relinking
11145
 
          hardcode_minus_L_CXX=yes
11146
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11147
 
          hardcode_libdir_separator_CXX=
11148
 
        fi
11149
 
        ;;
11150
 
      esac
11151
 
      shared_flag='-shared'
11152
 
      if test "$aix_use_runtimelinking" = yes; then
11153
 
        shared_flag="$shared_flag "'${wl}-G'
11154
 
      fi
11155
 
    else
11156
 
      # not using gcc
11157
 
      if test "$host_cpu" = ia64; then
11158
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11159
 
        # chokes on -Wl,-G. The following line is correct:
11160
 
        shared_flag='-G'
11161
 
      else
11162
 
        if test "$aix_use_runtimelinking" = yes; then
11163
 
          shared_flag='${wl}-G'
11164
 
        else
11165
 
          shared_flag='${wl}-bM:SRE'
11166
 
        fi
11167
 
      fi
11168
 
    fi
11169
 
 
11170
 
    # It seems that -bexpall does not export symbols beginning with
11171
 
    # underscore (_), so it is better to generate a list of symbols to export.
11172
 
    always_export_symbols_CXX=yes
11173
 
    if test "$aix_use_runtimelinking" = yes; then
11174
 
      # Warning - without using the other runtime loading flags (-brtl),
11175
 
      # -berok will link without error, but may produce a broken library.
11176
 
      allow_undefined_flag_CXX='-berok'
11177
 
      # Determine the default libpath from the value encoded in an empty executable.
11178
 
      cat >conftest.$ac_ext <<_ACEOF
11179
 
/* confdefs.h.  */
11180
 
_ACEOF
11181
 
cat confdefs.h >>conftest.$ac_ext
11182
 
cat >>conftest.$ac_ext <<_ACEOF
11183
 
/* end confdefs.h.  */
11184
 
 
11185
 
int
11186
 
main ()
11187
 
{
11188
 
 
11189
 
  ;
11190
 
  return 0;
11191
 
}
11192
 
_ACEOF
11193
 
rm -f conftest.$ac_objext conftest$ac_exeext
11194
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11195
 
  (eval $ac_link) 2>conftest.er1
11196
 
  ac_status=$?
11197
 
  grep -v '^ *+' conftest.er1 >conftest.err
11198
 
  rm -f conftest.er1
11199
 
  cat conftest.err >&5
11200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201
 
  (exit $ac_status); } &&
11202
 
         { ac_try='test -z "$ac_cxx_werror_flag"
11203
 
                         || test ! -s conftest.err'
11204
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11205
 
  (eval $ac_try) 2>&5
11206
 
  ac_status=$?
11207
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208
 
  (exit $ac_status); }; } &&
11209
 
         { ac_try='test -s conftest$ac_exeext'
11210
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11211
 
  (eval $ac_try) 2>&5
11212
 
  ac_status=$?
11213
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214
 
  (exit $ac_status); }; }; then
11215
 
 
11216
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11217
 
}'`
11218
 
# Check for a 64-bit object if we didn't find anything.
11219
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11220
 
}'`; fi
11221
 
else
11222
 
  echo "$as_me: failed program was:" >&5
11223
 
sed 's/^/| /' conftest.$ac_ext >&5
11224
 
 
11225
 
fi
11226
 
rm -f conftest.err conftest.$ac_objext \
11227
 
      conftest$ac_exeext conftest.$ac_ext
11228
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11229
 
 
11230
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11231
 
 
11232
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11233
 
     else
11234
 
      if test "$host_cpu" = ia64; then
11235
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11236
 
        allow_undefined_flag_CXX="-z nodefs"
11237
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11238
 
      else
11239
 
        # Determine the default libpath from the value encoded in an empty executable.
11240
 
        cat >conftest.$ac_ext <<_ACEOF
11241
 
/* confdefs.h.  */
11242
 
_ACEOF
11243
 
cat confdefs.h >>conftest.$ac_ext
11244
 
cat >>conftest.$ac_ext <<_ACEOF
11245
 
/* end confdefs.h.  */
11246
 
 
11247
 
int
11248
 
main ()
11249
 
{
11250
 
 
11251
 
  ;
11252
 
  return 0;
11253
 
}
11254
 
_ACEOF
11255
 
rm -f conftest.$ac_objext conftest$ac_exeext
11256
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11257
 
  (eval $ac_link) 2>conftest.er1
11258
 
  ac_status=$?
11259
 
  grep -v '^ *+' conftest.er1 >conftest.err
11260
 
  rm -f conftest.er1
11261
 
  cat conftest.err >&5
11262
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263
 
  (exit $ac_status); } &&
11264
 
         { ac_try='test -z "$ac_cxx_werror_flag"
11265
 
                         || test ! -s conftest.err'
11266
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267
 
  (eval $ac_try) 2>&5
11268
 
  ac_status=$?
11269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270
 
  (exit $ac_status); }; } &&
11271
 
         { ac_try='test -s conftest$ac_exeext'
11272
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11273
 
  (eval $ac_try) 2>&5
11274
 
  ac_status=$?
11275
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276
 
  (exit $ac_status); }; }; then
11277
 
 
11278
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11279
 
}'`
11280
 
# Check for a 64-bit object if we didn't find anything.
11281
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11282
 
}'`; fi
11283
 
else
11284
 
  echo "$as_me: failed program was:" >&5
11285
 
sed 's/^/| /' conftest.$ac_ext >&5
11286
 
 
11287
 
fi
11288
 
rm -f conftest.err conftest.$ac_objext \
11289
 
      conftest$ac_exeext conftest.$ac_ext
11290
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11291
 
 
11292
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11293
 
        # Warning - without using the other run time loading flags,
11294
 
        # -berok will link without error, but may produce a broken library.
11295
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11296
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11297
 
        # Exported symbols can be pulled into shared objects from archives
11298
 
        whole_archive_flag_spec_CXX='$convenience'
11299
 
        archive_cmds_need_lc_CXX=yes
11300
 
        # This is similar to how AIX traditionally builds its shared libraries.
11301
 
        archive_expsym_cmds_CXX="\$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'
11302
 
      fi
11303
 
    fi
11304
 
    ;;
11305
 
 
11306
 
  beos*)
11307
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11308
 
      allow_undefined_flag_CXX=unsupported
11309
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11310
 
      # support --undefined.  This deserves some investigation.  FIXME
11311
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11312
 
    else
11313
 
      ld_shlibs_CXX=no
11314
 
    fi
11315
 
    ;;
11316
 
 
11317
 
  chorus*)
11318
 
    case $cc_basename in
11319
 
      *)
11320
 
        # FIXME: insert proper C++ library support
11321
 
        ld_shlibs_CXX=no
11322
 
        ;;
11323
 
    esac
11324
 
    ;;
11325
 
 
11326
 
  cygwin* | mingw* | pw32*)
11327
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11328
 
    # as there is no search path for DLLs.
11329
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11330
 
    allow_undefined_flag_CXX=unsupported
11331
 
    always_export_symbols_CXX=no
11332
 
    enable_shared_with_static_runtimes_CXX=yes
11333
 
 
11334
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11335
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11336
 
      # If the export-symbols file already is a .def file (1st line
11337
 
      # is EXPORTS), use it as is; otherwise, prepend...
11338
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11339
 
        cp $export_symbols $output_objdir/$soname.def;
11340
 
      else
11341
 
        echo EXPORTS > $output_objdir/$soname.def;
11342
 
        cat $export_symbols >> $output_objdir/$soname.def;
11343
 
      fi~
11344
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11345
 
    else
11346
 
      ld_shlibs_CXX=no
11347
 
    fi
11348
 
  ;;
11349
 
      darwin* | rhapsody*)
11350
 
        case $host_os in
11351
 
        rhapsody* | darwin1.[012])
11352
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11353
 
         ;;
11354
 
       *) # Darwin 1.3 on
11355
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11356
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11357
 
         else
11358
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11359
 
             10.[012])
11360
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11361
 
               ;;
11362
 
             10.*)
11363
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11364
 
               ;;
11365
 
           esac
11366
 
         fi
11367
 
         ;;
11368
 
        esac
11369
 
      archive_cmds_need_lc_CXX=no
11370
 
      hardcode_direct_CXX=no
11371
 
      hardcode_automatic_CXX=yes
11372
 
      hardcode_shlibpath_var_CXX=unsupported
11373
 
      whole_archive_flag_spec_CXX=''
11374
 
      link_all_deplibs_CXX=yes
11375
 
 
11376
 
    if test "$GXX" = yes ; then
11377
 
      lt_int_apple_cc_single_mod=no
11378
 
      output_verbose_link_cmd='echo'
11379
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11380
 
       lt_int_apple_cc_single_mod=yes
11381
 
      fi
11382
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11383
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11384
 
      else
11385
 
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11386
 
        fi
11387
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11388
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11389
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11390
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11391
 
          else
11392
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11393
 
          fi
11394
 
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11395
 
      else
11396
 
      case $cc_basename in
11397
 
        xlc*)
11398
 
         output_verbose_link_cmd='echo'
11399
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11400
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11401
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11402
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11403
 
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11404
 
          ;;
11405
 
       *)
11406
 
         ld_shlibs_CXX=no
11407
 
          ;;
11408
 
      esac
11409
 
      fi
11410
 
        ;;
11411
 
 
11412
 
  dgux*)
11413
 
    case $cc_basename in
11414
 
      ec++*)
11415
 
        # FIXME: insert proper C++ library support
11416
 
        ld_shlibs_CXX=no
11417
 
        ;;
11418
 
      ghcx*)
11419
 
        # Green Hills C++ Compiler
11420
 
        # FIXME: insert proper C++ library support
11421
 
        ld_shlibs_CXX=no
11422
 
        ;;
11423
 
      *)
11424
 
        # FIXME: insert proper C++ library support
11425
 
        ld_shlibs_CXX=no
11426
 
        ;;
11427
 
    esac
11428
 
    ;;
11429
 
  freebsd[12]*)
11430
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11431
 
    ld_shlibs_CXX=no
11432
 
    ;;
11433
 
  freebsd-elf*)
11434
 
    archive_cmds_need_lc_CXX=no
11435
 
    ;;
11436
 
  freebsd* | kfreebsd*-gnu | dragonfly*)
11437
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11438
 
    # conventions
11439
 
    ld_shlibs_CXX=yes
11440
 
    ;;
11441
 
  gnu*)
11442
 
    ;;
11443
 
  hpux9*)
11444
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11445
 
    hardcode_libdir_separator_CXX=:
11446
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11447
 
    hardcode_direct_CXX=yes
11448
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11449
 
                                # but as the default
11450
 
                                # location of the library.
11451
 
 
11452
 
    case $cc_basename in
11453
 
    CC*)
11454
 
      # FIXME: insert proper C++ library support
11455
 
      ld_shlibs_CXX=no
11456
 
      ;;
11457
 
    aCC*)
11458
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11459
 
      # Commands to make compiler produce verbose output that lists
11460
 
      # what "hidden" libraries, object files and flags are used when
11461
 
      # linking a shared library.
11462
 
      #
11463
 
      # There doesn't appear to be a way to prevent this compiler from
11464
 
      # explicitly linking system object files so we need to strip them
11465
 
      # from the output so that they don't get included in the library
11466
 
      # dependencies.
11467
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11468
 
      ;;
11469
 
    *)
11470
 
      if test "$GXX" = yes; then
11471
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11472
 
      else
11473
 
        # FIXME: insert proper C++ library support
11474
 
        ld_shlibs_CXX=no
11475
 
      fi
11476
 
      ;;
11477
 
    esac
11478
 
    ;;
11479
 
  hpux10*|hpux11*)
11480
 
    if test $with_gnu_ld = no; then
11481
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11482
 
      hardcode_libdir_separator_CXX=:
11483
 
 
11484
 
      case $host_cpu in
11485
 
      hppa*64*|ia64*)
11486
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11487
 
        ;;
11488
 
      *)
11489
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11490
 
        ;;
11491
 
      esac
11492
 
    fi
11493
 
    case $host_cpu in
11494
 
    hppa*64*|ia64*)
11495
 
      hardcode_direct_CXX=no
11496
 
      hardcode_shlibpath_var_CXX=no
11497
 
      ;;
11498
 
    *)
11499
 
      hardcode_direct_CXX=yes
11500
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11501
 
                                              # but as the default
11502
 
                                              # location of the library.
11503
 
      ;;
11504
 
    esac
11505
 
 
11506
 
    case $cc_basename in
11507
 
      CC*)
11508
 
        # FIXME: insert proper C++ library support
11509
 
        ld_shlibs_CXX=no
11510
 
        ;;
11511
 
      aCC*)
11512
 
        case $host_cpu in
11513
 
        hppa*64*)
11514
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11515
 
          ;;
11516
 
        ia64*)
11517
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11518
 
          ;;
11519
 
        *)
11520
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11521
 
          ;;
11522
 
        esac
11523
 
        # Commands to make compiler produce verbose output that lists
11524
 
        # what "hidden" libraries, object files and flags are used when
11525
 
        # linking a shared library.
11526
 
        #
11527
 
        # There doesn't appear to be a way to prevent this compiler from
11528
 
        # explicitly linking system object files so we need to strip them
11529
 
        # from the output so that they don't get included in the library
11530
 
        # dependencies.
11531
 
        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11532
 
        ;;
11533
 
      *)
11534
 
        if test "$GXX" = yes; then
11535
 
          if test $with_gnu_ld = no; then
11536
 
            case $host_cpu in
11537
 
            hppa*64*)
11538
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11539
 
              ;;
11540
 
            ia64*)
11541
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11542
 
              ;;
11543
 
            *)
11544
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11545
 
              ;;
11546
 
            esac
11547
 
          fi
11548
 
        else
11549
 
          # FIXME: insert proper C++ library support
11550
 
          ld_shlibs_CXX=no
11551
 
        fi
11552
 
        ;;
11553
 
    esac
11554
 
    ;;
11555
 
  interix3*)
11556
 
    hardcode_direct_CXX=no
11557
 
    hardcode_shlibpath_var_CXX=no
11558
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11559
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11560
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11561
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11562
 
    # default) and relocated if they conflict, which is a slow very memory
11563
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11564
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11565
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11566
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11567
 
    archive_expsym_cmds_CXX='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'
11568
 
    ;;
11569
 
  irix5* | irix6*)
11570
 
    case $cc_basename in
11571
 
      CC*)
11572
 
        # SGI C++
11573
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11574
 
 
11575
 
        # Archives containing C++ object files must be created using
11576
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11577
 
        # necessary to make sure instantiated templates are included
11578
 
        # in the archive.
11579
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11580
 
        ;;
11581
 
      *)
11582
 
        if test "$GXX" = yes; then
11583
 
          if test "$with_gnu_ld" = no; then
11584
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11585
 
          else
11586
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11587
 
          fi
11588
 
        fi
11589
 
        link_all_deplibs_CXX=yes
11590
 
        ;;
11591
 
    esac
11592
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11593
 
    hardcode_libdir_separator_CXX=:
11594
 
    ;;
11595
 
  linux*)
11596
 
    case $cc_basename in
11597
 
      KCC*)
11598
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11599
 
 
11600
 
        # KCC will only create a shared library if the output file
11601
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11602
 
        # to its proper name (with version) after linking.
11603
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11604
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11605
 
        # Commands to make compiler produce verbose output that lists
11606
 
        # what "hidden" libraries, object files and flags are used when
11607
 
        # linking a shared library.
11608
 
        #
11609
 
        # There doesn't appear to be a way to prevent this compiler from
11610
 
        # explicitly linking system object files so we need to strip them
11611
 
        # from the output so that they don't get included in the library
11612
 
        # dependencies.
11613
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11614
 
 
11615
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11616
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11617
 
 
11618
 
        # Archives containing C++ object files must be created using
11619
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11620
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11621
 
        ;;
11622
 
      icpc*)
11623
 
        # Intel C++
11624
 
        with_gnu_ld=yes
11625
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11626
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11627
 
        # earlier do not add the objects themselves.
11628
 
        case `$CC -V 2>&1` in
11629
 
        *"Version 7."*)
11630
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11631
 
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11632
 
          ;;
11633
 
        *)  # Version 8.0 or newer
11634
 
          tmp_idyn=
11635
 
          case $host_cpu in
11636
 
            ia64*) tmp_idyn=' -i_dynamic';;
11637
 
          esac
11638
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11639
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11640
 
          ;;
11641
 
        esac
11642
 
        archive_cmds_need_lc_CXX=no
11643
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11644
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11645
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11646
 
        ;;
11647
 
      pgCC*)
11648
 
        # Portland Group C++ compiler
11649
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11650
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11651
 
 
11652
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11653
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11654
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
11655
 
        ;;
11656
 
      cxx*)
11657
 
        # Compaq C++
11658
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11659
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11660
 
 
11661
 
        runpath_var=LD_RUN_PATH
11662
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11663
 
        hardcode_libdir_separator_CXX=:
11664
 
 
11665
 
        # Commands to make compiler produce verbose output that lists
11666
 
        # what "hidden" libraries, object files and flags are used when
11667
 
        # linking a shared library.
11668
 
        #
11669
 
        # There doesn't appear to be a way to prevent this compiler from
11670
 
        # explicitly linking system object files so we need to strip them
11671
 
        # from the output so that they don't get included in the library
11672
 
        # dependencies.
11673
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11674
 
        ;;
11675
 
    esac
11676
 
    ;;
11677
 
  lynxos*)
11678
 
    # FIXME: insert proper C++ library support
11679
 
    ld_shlibs_CXX=no
11680
 
    ;;
11681
 
  m88k*)
11682
 
    # FIXME: insert proper C++ library support
11683
 
    ld_shlibs_CXX=no
11684
 
    ;;
11685
 
  mvs*)
11686
 
    case $cc_basename in
11687
 
      cxx*)
11688
 
        # FIXME: insert proper C++ library support
11689
 
        ld_shlibs_CXX=no
11690
 
        ;;
11691
 
      *)
11692
 
        # FIXME: insert proper C++ library support
11693
 
        ld_shlibs_CXX=no
11694
 
        ;;
11695
 
    esac
11696
 
    ;;
11697
 
  netbsd*)
11698
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11699
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11700
 
      wlarc=
11701
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11702
 
      hardcode_direct_CXX=yes
11703
 
      hardcode_shlibpath_var_CXX=no
11704
 
    fi
11705
 
    # Workaround some broken pre-1.5 toolchains
11706
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11707
 
    ;;
11708
 
  openbsd2*)
11709
 
    # C++ shared libraries are fairly broken
11710
 
    ld_shlibs_CXX=no
11711
 
    ;;
11712
 
  openbsd*)
11713
 
    hardcode_direct_CXX=yes
11714
 
    hardcode_shlibpath_var_CXX=no
11715
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11716
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11717
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11718
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11719
 
      export_dynamic_flag_spec_CXX='${wl}-E'
11720
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11721
 
    fi
11722
 
    output_verbose_link_cmd='echo'
11723
 
    ;;
11724
 
  osf3*)
11725
 
    case $cc_basename in
11726
 
      KCC*)
11727
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11728
 
 
11729
 
        # KCC will only create a shared library if the output file
11730
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11731
 
        # to its proper name (with version) after linking.
11732
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11733
 
 
11734
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11735
 
        hardcode_libdir_separator_CXX=:
11736
 
 
11737
 
        # Archives containing C++ object files must be created using
11738
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11739
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11740
 
 
11741
 
        ;;
11742
 
      RCC*)
11743
 
        # Rational C++ 2.4.1
11744
 
        # FIXME: insert proper C++ library support
11745
 
        ld_shlibs_CXX=no
11746
 
        ;;
11747
 
      cxx*)
11748
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11749
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11750
 
 
11751
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11752
 
        hardcode_libdir_separator_CXX=:
11753
 
 
11754
 
        # Commands to make compiler produce verbose output that lists
11755
 
        # what "hidden" libraries, object files and flags are used when
11756
 
        # linking a shared library.
11757
 
        #
11758
 
        # There doesn't appear to be a way to prevent this compiler from
11759
 
        # explicitly linking system object files so we need to strip them
11760
 
        # from the output so that they don't get included in the library
11761
 
        # dependencies.
11762
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11763
 
        ;;
11764
 
      *)
11765
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11766
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11767
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11768
 
 
11769
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11770
 
          hardcode_libdir_separator_CXX=:
11771
 
 
11772
 
          # Commands to make compiler produce verbose output that lists
11773
 
          # what "hidden" libraries, object files and flags are used when
11774
 
          # linking a shared library.
11775
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11776
 
 
11777
 
        else
11778
 
          # FIXME: insert proper C++ library support
11779
 
          ld_shlibs_CXX=no
11780
 
        fi
11781
 
        ;;
11782
 
    esac
11783
 
    ;;
11784
 
  osf4* | osf5*)
11785
 
    case $cc_basename in
11786
 
      KCC*)
11787
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11788
 
 
11789
 
        # KCC will only create a shared library if the output file
11790
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11791
 
        # to its proper name (with version) after linking.
11792
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11793
 
 
11794
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11795
 
        hardcode_libdir_separator_CXX=:
11796
 
 
11797
 
        # Archives containing C++ object files must be created using
11798
 
        # the KAI C++ compiler.
11799
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11800
 
        ;;
11801
 
      RCC*)
11802
 
        # Rational C++ 2.4.1
11803
 
        # FIXME: insert proper C++ library support
11804
 
        ld_shlibs_CXX=no
11805
 
        ;;
11806
 
      cxx*)
11807
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
11808
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11809
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11810
 
          echo "-hidden">> $lib.exp~
11811
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
11812
 
          $rm $lib.exp'
11813
 
 
11814
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11815
 
        hardcode_libdir_separator_CXX=:
11816
 
 
11817
 
        # Commands to make compiler produce verbose output that lists
11818
 
        # what "hidden" libraries, object files and flags are used when
11819
 
        # linking a shared library.
11820
 
        #
11821
 
        # There doesn't appear to be a way to prevent this compiler from
11822
 
        # explicitly linking system object files so we need to strip them
11823
 
        # from the output so that they don't get included in the library
11824
 
        # dependencies.
11825
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11826
 
        ;;
11827
 
      *)
11828
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11829
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11830
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11831
 
 
11832
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11833
 
          hardcode_libdir_separator_CXX=:
11834
 
 
11835
 
          # Commands to make compiler produce verbose output that lists
11836
 
          # what "hidden" libraries, object files and flags are used when
11837
 
          # linking a shared library.
11838
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11839
 
 
11840
 
        else
11841
 
          # FIXME: insert proper C++ library support
11842
 
          ld_shlibs_CXX=no
11843
 
        fi
11844
 
        ;;
11845
 
    esac
11846
 
    ;;
11847
 
  psos*)
11848
 
    # FIXME: insert proper C++ library support
11849
 
    ld_shlibs_CXX=no
11850
 
    ;;
11851
 
  sunos4*)
11852
 
    case $cc_basename in
11853
 
      CC*)
11854
 
        # Sun C++ 4.x
11855
 
        # FIXME: insert proper C++ library support
11856
 
        ld_shlibs_CXX=no
11857
 
        ;;
11858
 
      lcc*)
11859
 
        # Lucid
11860
 
        # FIXME: insert proper C++ library support
11861
 
        ld_shlibs_CXX=no
11862
 
        ;;
11863
 
      *)
11864
 
        # FIXME: insert proper C++ library support
11865
 
        ld_shlibs_CXX=no
11866
 
        ;;
11867
 
    esac
11868
 
    ;;
11869
 
  solaris*)
11870
 
    case $cc_basename in
11871
 
      CC*)
11872
 
        # Sun C++ 4.2, 5.x and Centerline C++
11873
 
        archive_cmds_need_lc_CXX=yes
11874
 
        no_undefined_flag_CXX=' -zdefs'
11875
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11876
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11877
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11878
 
 
11879
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
11880
 
        hardcode_shlibpath_var_CXX=no
11881
 
        case $host_os in
11882
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
11883
 
          *)
11884
 
            # The C++ compiler is used as linker so we must use $wl
11885
 
            # flag to pass the commands to the underlying system
11886
 
            # linker. We must also pass each convience library through
11887
 
            # to the system linker between allextract/defaultextract.
11888
 
            # The C++ compiler will combine linker options so we
11889
 
            # cannot just pass the convience library names through
11890
 
            # without $wl.
11891
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
11892
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11893
 
            ;;
11894
 
        esac
11895
 
        link_all_deplibs_CXX=yes
11896
 
 
11897
 
        output_verbose_link_cmd='echo'
11898
 
 
11899
 
        # Archives containing C++ object files must be created using
11900
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11901
 
        # necessary to make sure instantiated templates are included
11902
 
        # in the archive.
11903
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11904
 
        ;;
11905
 
      gcx*)
11906
 
        # Green Hills C++ Compiler
11907
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11908
 
 
11909
 
        # The C++ compiler must be used to create the archive.
11910
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11911
 
        ;;
11912
 
      *)
11913
 
        # GNU C++ compiler with Solaris linker
11914
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11915
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11916
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
11917
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11918
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11919
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11920
 
 
11921
 
            # Commands to make compiler produce verbose output that lists
11922
 
            # what "hidden" libraries, object files and flags are used when
11923
 
            # linking a shared library.
11924
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11925
 
          else
11926
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
11927
 
            # platform.
11928
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11929
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11930
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
11931
 
 
11932
 
            # Commands to make compiler produce verbose output that lists
11933
 
            # what "hidden" libraries, object files and flags are used when
11934
 
            # linking a shared library.
11935
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
11936
 
          fi
11937
 
 
11938
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
11939
 
        fi
11940
 
        ;;
11941
 
    esac
11942
 
    ;;
11943
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11944
 
    no_undefined_flag_CXX='${wl}-z,text'
11945
 
    archive_cmds_need_lc_CXX=no
11946
 
    hardcode_shlibpath_var_CXX=no
11947
 
    runpath_var='LD_RUN_PATH'
11948
 
 
11949
 
    case $cc_basename in
11950
 
      CC*)
11951
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11952
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11953
 
        ;;
11954
 
      *)
11955
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11956
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11957
 
        ;;
11958
 
    esac
11959
 
    ;;
11960
 
  sysv5* | sco3.2v5* | sco5v6*)
11961
 
    # Note: We can NOT use -z defs as we might desire, because we do not
11962
 
    # link with -lc, and that would cause any symbols used from libc to
11963
 
    # always be unresolved, which means just about no library would
11964
 
    # ever link correctly.  If we're not using GNU ld we use -z text
11965
 
    # though, which does catch some bad symbols but isn't as heavy-handed
11966
 
    # as -z defs.
11967
 
    # For security reasons, it is highly recommended that you always
11968
 
    # use absolute paths for naming shared libraries, and exclude the
11969
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
11970
 
    # requires that you compile everything twice, which is a pain.
11971
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
11972
 
    # non-empty value in the environment.  Most likely only useful for
11973
 
    # creating official distributions of packages.
11974
 
    # This is a hack until libtool officially supports absolute path
11975
 
    # names for shared libraries.
11976
 
    no_undefined_flag_CXX='${wl}-z,text'
11977
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
11978
 
    archive_cmds_need_lc_CXX=no
11979
 
    hardcode_shlibpath_var_CXX=no
11980
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
11981
 
    hardcode_libdir_separator_CXX=':'
11982
 
    link_all_deplibs_CXX=yes
11983
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
11984
 
    runpath_var='LD_RUN_PATH'
11985
 
 
11986
 
    case $cc_basename in
11987
 
      CC*)
11988
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11989
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11990
 
        ;;
11991
 
      *)
11992
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11993
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
11994
 
        ;;
11995
 
    esac
11996
 
    ;;
11997
 
  tandem*)
11998
 
    case $cc_basename in
11999
 
      NCC*)
12000
 
        # NonStop-UX NCC 3.20
12001
 
        # FIXME: insert proper C++ library support
12002
 
        ld_shlibs_CXX=no
12003
 
        ;;
12004
 
      *)
12005
 
        # FIXME: insert proper C++ library support
12006
 
        ld_shlibs_CXX=no
12007
 
        ;;
12008
 
    esac
12009
 
    ;;
12010
 
  vxworks*)
12011
 
    # FIXME: insert proper C++ library support
12012
 
    ld_shlibs_CXX=no
12013
 
    ;;
12014
 
  *)
12015
 
    # FIXME: insert proper C++ library support
12016
 
    ld_shlibs_CXX=no
12017
 
    ;;
12018
 
esac
12019
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12020
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
12021
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12022
 
 
12023
 
GCC_CXX="$GXX"
12024
 
LD_CXX="$LD"
12025
 
 
12026
 
 
12027
 
cat > conftest.$ac_ext <<EOF
12028
 
class Foo
12029
 
{
12030
 
public:
12031
 
  Foo (void) { a = 0; }
12032
 
private:
12033
 
  int a;
12034
 
};
12035
 
EOF
12036
 
 
12037
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12038
 
  (eval $ac_compile) 2>&5
12039
 
  ac_status=$?
12040
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041
 
  (exit $ac_status); }; then
12042
 
  # Parse the compiler output and extract the necessary
12043
 
  # objects, libraries and library flags.
12044
 
 
12045
 
  # Sentinel used to keep track of whether or not we are before
12046
 
  # the conftest object file.
12047
 
  pre_test_object_deps_done=no
12048
 
 
12049
 
  # The `*' in the case matches for architectures that use `case' in
12050
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12051
 
  # eval without this substitution.
12052
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12053
 
 
12054
 
  for p in `eval $output_verbose_link_cmd`; do
12055
 
    case $p in
12056
 
 
12057
 
    -L* | -R* | -l*)
12058
 
       # Some compilers place space between "-{L,R}" and the path.
12059
 
       # Remove the space.
12060
 
       if test $p = "-L" \
12061
 
          || test $p = "-R"; then
12062
 
         prev=$p
12063
 
         continue
12064
 
       else
12065
 
         prev=
12066
 
       fi
12067
 
 
12068
 
       if test "$pre_test_object_deps_done" = no; then
12069
 
         case $p in
12070
 
         -L* | -R*)
12071
 
           # Internal compiler library paths should come after those
12072
 
           # provided the user.  The postdeps already come after the
12073
 
           # user supplied libs so there is no need to process them.
12074
 
           if test -z "$compiler_lib_search_path_CXX"; then
12075
 
             compiler_lib_search_path_CXX="${prev}${p}"
12076
 
           else
12077
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12078
 
           fi
12079
 
           ;;
12080
 
         # The "-l" case would never come before the object being
12081
 
         # linked, so don't bother handling this case.
12082
 
         esac
12083
 
       else
12084
 
         if test -z "$postdeps_CXX"; then
12085
 
           postdeps_CXX="${prev}${p}"
12086
 
         else
12087
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12088
 
         fi
12089
 
       fi
12090
 
       ;;
12091
 
 
12092
 
    *.$objext)
12093
 
       # This assumes that the test object file only shows up
12094
 
       # once in the compiler output.
12095
 
       if test "$p" = "conftest.$objext"; then
12096
 
         pre_test_object_deps_done=yes
12097
 
         continue
12098
 
       fi
12099
 
 
12100
 
       if test "$pre_test_object_deps_done" = no; then
12101
 
         if test -z "$predep_objects_CXX"; then
12102
 
           predep_objects_CXX="$p"
12103
 
         else
12104
 
           predep_objects_CXX="$predep_objects_CXX $p"
12105
 
         fi
12106
 
       else
12107
 
         if test -z "$postdep_objects_CXX"; then
12108
 
           postdep_objects_CXX="$p"
12109
 
         else
12110
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12111
 
         fi
12112
 
       fi
12113
 
       ;;
12114
 
 
12115
 
    *) ;; # Ignore the rest.
12116
 
 
12117
 
    esac
12118
 
  done
12119
 
 
12120
 
  # Clean up.
12121
 
  rm -f a.out a.exe
12122
 
else
12123
 
  echo "libtool.m4: error: problem compiling CXX test program"
12124
 
fi
12125
 
 
12126
 
$rm -f confest.$objext
12127
 
 
12128
 
# PORTME: override above test on systems where it is broken
12129
 
case $host_os in
12130
 
interix3*)
12131
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12132
 
  # hack all around it, let's just trust "g++" to DTRT.
12133
 
  predep_objects_CXX=
12134
 
  postdep_objects_CXX=
12135
 
  postdeps_CXX=
12136
 
  ;;
12137
 
 
12138
 
solaris*)
12139
 
  case $cc_basename in
12140
 
  CC*)
12141
 
    # Adding this requires a known-good setup of shared libraries for
12142
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12143
 
    # archive will be linked into the output, leading to subtle bugs.
12144
 
    postdeps_CXX='-lCstd -lCrun'
12145
 
    ;;
12146
 
  esac
12147
 
  ;;
12148
 
esac
12149
 
 
12150
 
 
12151
 
case " $postdeps_CXX " in
12152
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12153
 
esac
12154
 
 
12155
 
lt_prog_compiler_wl_CXX=
12156
 
lt_prog_compiler_pic_CXX=
12157
 
lt_prog_compiler_static_CXX=
12158
 
 
12159
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12160
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12161
 
 
12162
 
  # C++ specific cases for pic, static, wl, etc.
12163
 
  if test "$GXX" = yes; then
12164
 
    lt_prog_compiler_wl_CXX='-Wl,'
12165
 
    lt_prog_compiler_static_CXX='-static'
12166
 
 
12167
 
    case $host_os in
12168
 
    aix*)
12169
 
      # All AIX code is PIC.
12170
 
      if test "$host_cpu" = ia64; then
12171
 
        # AIX 5 now supports IA64 processor
12172
 
        lt_prog_compiler_static_CXX='-Bstatic'
12173
 
      fi
12174
 
      ;;
12175
 
    amigaos*)
12176
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12177
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12178
 
      # like `-m68040'.
12179
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12180
 
      ;;
12181
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12182
 
      # PIC is the default for these OSes.
12183
 
      ;;
12184
 
    mingw* | os2* | pw32*)
12185
 
      # This hack is so that the source file can tell whether it is being
12186
 
      # built for inclusion in a dll (and should export symbols for example).
12187
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12188
 
      ;;
12189
 
    darwin* | rhapsody*)
12190
 
      # PIC is the default on this platform
12191
 
      # Common symbols not allowed in MH_DYLIB files
12192
 
      lt_prog_compiler_pic_CXX='-fno-common'
12193
 
      ;;
12194
 
    *djgpp*)
12195
 
      # DJGPP does not support shared libraries at all
12196
 
      lt_prog_compiler_pic_CXX=
12197
 
      ;;
12198
 
    interix3*)
12199
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12200
 
      # Instead, we relocate shared libraries at runtime.
12201
 
      ;;
12202
 
    sysv4*MP*)
12203
 
      if test -d /usr/nec; then
12204
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12205
 
      fi
12206
 
      ;;
12207
 
    hpux*)
12208
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12209
 
      # not for PA HP-UX.
12210
 
      case $host_cpu in
12211
 
      hppa*64*|ia64*)
12212
 
        ;;
12213
 
      *)
12214
 
        lt_prog_compiler_pic_CXX='-fPIC'
12215
 
        ;;
12216
 
      esac
12217
 
      ;;
12218
 
    *)
12219
 
      lt_prog_compiler_pic_CXX='-fPIC'
12220
 
      ;;
12221
 
    esac
12222
 
  else
12223
 
    case $host_os in
12224
 
      aix4* | aix5*)
12225
 
        # All AIX code is PIC.
12226
 
        if test "$host_cpu" = ia64; then
12227
 
          # AIX 5 now supports IA64 processor
12228
 
          lt_prog_compiler_static_CXX='-Bstatic'
12229
 
        else
12230
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12231
 
        fi
12232
 
        ;;
12233
 
      chorus*)
12234
 
        case $cc_basename in
12235
 
        cxch68*)
12236
 
          # Green Hills C++ Compiler
12237
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12238
 
          ;;
12239
 
        esac
12240
 
        ;;
12241
 
       darwin*)
12242
 
         # PIC is the default on this platform
12243
 
         # Common symbols not allowed in MH_DYLIB files
12244
 
         case $cc_basename in
12245
 
           xlc*)
12246
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12247
 
           lt_prog_compiler_wl_CXX='-Wl,'
12248
 
           ;;
12249
 
         esac
12250
 
       ;;
12251
 
      dgux*)
12252
 
        case $cc_basename in
12253
 
          ec++*)
12254
 
            lt_prog_compiler_pic_CXX='-KPIC'
12255
 
            ;;
12256
 
          ghcx*)
12257
 
            # Green Hills C++ Compiler
12258
 
            lt_prog_compiler_pic_CXX='-pic'
12259
 
            ;;
12260
 
          *)
12261
 
            ;;
12262
 
        esac
12263
 
        ;;
12264
 
      freebsd* | kfreebsd*-gnu | dragonfly*)
12265
 
        # FreeBSD uses GNU C++
12266
 
        ;;
12267
 
      hpux9* | hpux10* | hpux11*)
12268
 
        case $cc_basename in
12269
 
          CC*)
12270
 
            lt_prog_compiler_wl_CXX='-Wl,'
12271
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12272
 
            if test "$host_cpu" != ia64; then
12273
 
              lt_prog_compiler_pic_CXX='+Z'
12274
 
            fi
12275
 
            ;;
12276
 
          aCC*)
12277
 
            lt_prog_compiler_wl_CXX='-Wl,'
12278
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12279
 
            case $host_cpu in
12280
 
            hppa*64*|ia64*)
12281
 
              # +Z the default
12282
 
              ;;
12283
 
            *)
12284
 
              lt_prog_compiler_pic_CXX='+Z'
12285
 
              ;;
12286
 
            esac
12287
 
            ;;
12288
 
          *)
12289
 
            ;;
12290
 
        esac
12291
 
        ;;
12292
 
      interix*)
12293
 
        # This is c89, which is MS Visual C++ (no shared libs)
12294
 
        # Anyone wants to do a port?
12295
 
        ;;
12296
 
      irix5* | irix6* | nonstopux*)
12297
 
        case $cc_basename in
12298
 
          CC*)
12299
 
            lt_prog_compiler_wl_CXX='-Wl,'
12300
 
            lt_prog_compiler_static_CXX='-non_shared'
12301
 
            # CC pic flag -KPIC is the default.
12302
 
            ;;
12303
 
          *)
12304
 
            ;;
12305
 
        esac
12306
 
        ;;
12307
 
      linux*)
12308
 
        case $cc_basename in
12309
 
          KCC*)
12310
 
            # KAI C++ Compiler
12311
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12312
 
            lt_prog_compiler_pic_CXX='-fPIC'
12313
 
            ;;
12314
 
          icpc* | ecpc*)
12315
 
            # Intel C++
12316
 
            lt_prog_compiler_wl_CXX='-Wl,'
12317
 
            lt_prog_compiler_pic_CXX='-KPIC'
12318
 
            lt_prog_compiler_static_CXX='-static'
12319
 
            ;;
12320
 
          pgCC*)
12321
 
            # Portland Group C++ compiler.
12322
 
            lt_prog_compiler_wl_CXX='-Wl,'
12323
 
            lt_prog_compiler_pic_CXX='-fpic'
12324
 
            lt_prog_compiler_static_CXX='-Bstatic'
12325
 
            ;;
12326
 
          cxx*)
12327
 
            # Compaq C++
12328
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12329
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12330
 
            lt_prog_compiler_pic_CXX=
12331
 
            lt_prog_compiler_static_CXX='-non_shared'
12332
 
            ;;
12333
 
          *)
12334
 
            ;;
12335
 
        esac
12336
 
        ;;
12337
 
      lynxos*)
12338
 
        ;;
12339
 
      m88k*)
12340
 
        ;;
12341
 
      mvs*)
12342
 
        case $cc_basename in
12343
 
          cxx*)
12344
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12345
 
            ;;
12346
 
          *)
12347
 
            ;;
12348
 
        esac
12349
 
        ;;
12350
 
      netbsd*)
12351
 
        ;;
12352
 
      osf3* | osf4* | osf5*)
12353
 
        case $cc_basename in
12354
 
          KCC*)
12355
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12356
 
            ;;
12357
 
          RCC*)
12358
 
            # Rational C++ 2.4.1
12359
 
            lt_prog_compiler_pic_CXX='-pic'
12360
 
            ;;
12361
 
          cxx*)
12362
 
            # Digital/Compaq C++
12363
 
            lt_prog_compiler_wl_CXX='-Wl,'
12364
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12365
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12366
 
            lt_prog_compiler_pic_CXX=
12367
 
            lt_prog_compiler_static_CXX='-non_shared'
12368
 
            ;;
12369
 
          *)
12370
 
            ;;
12371
 
        esac
12372
 
        ;;
12373
 
      psos*)
12374
 
        ;;
12375
 
      solaris*)
12376
 
        case $cc_basename in
12377
 
          CC*)
12378
 
            # Sun C++ 4.2, 5.x and Centerline C++
12379
 
            lt_prog_compiler_pic_CXX='-KPIC'
12380
 
            lt_prog_compiler_static_CXX='-Bstatic'
12381
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12382
 
            ;;
12383
 
          gcx*)
12384
 
            # Green Hills C++ Compiler
12385
 
            lt_prog_compiler_pic_CXX='-PIC'
12386
 
            ;;
12387
 
          *)
12388
 
            ;;
12389
 
        esac
12390
 
        ;;
12391
 
      sunos4*)
12392
 
        case $cc_basename in
12393
 
          CC*)
12394
 
            # Sun C++ 4.x
12395
 
            lt_prog_compiler_pic_CXX='-pic'
12396
 
            lt_prog_compiler_static_CXX='-Bstatic'
12397
 
            ;;
12398
 
          lcc*)
12399
 
            # Lucid
12400
 
            lt_prog_compiler_pic_CXX='-pic'
12401
 
            ;;
12402
 
          *)
12403
 
            ;;
12404
 
        esac
12405
 
        ;;
12406
 
      tandem*)
12407
 
        case $cc_basename in
12408
 
          NCC*)
12409
 
            # NonStop-UX NCC 3.20
12410
 
            lt_prog_compiler_pic_CXX='-KPIC'
12411
 
            ;;
12412
 
          *)
12413
 
            ;;
12414
 
        esac
12415
 
        ;;
12416
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12417
 
        case $cc_basename in
12418
 
          CC*)
12419
 
            lt_prog_compiler_wl_CXX='-Wl,'
12420
 
            lt_prog_compiler_pic_CXX='-KPIC'
12421
 
            lt_prog_compiler_static_CXX='-Bstatic'
12422
 
            ;;
12423
 
        esac
12424
 
        ;;
12425
 
      vxworks*)
12426
 
        ;;
12427
 
      *)
12428
 
        lt_prog_compiler_can_build_shared_CXX=no
12429
 
        ;;
12430
 
    esac
12431
 
  fi
12432
 
 
12433
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12434
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12435
 
 
12436
 
#
12437
 
# Check to make sure the PIC flag actually works.
12438
 
#
12439
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12440
 
 
12441
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12442
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12443
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12444
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12445
 
else
12446
 
  lt_prog_compiler_pic_works_CXX=no
12447
 
  ac_outfile=conftest.$ac_objext
12448
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12449
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12450
 
   # Insert the option either (1) after the last *FLAGS variable, or
12451
 
   # (2) before a word containing "conftest.", or (3) at the end.
12452
 
   # Note that $ac_compile itself does not contain backslashes and begins
12453
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12454
 
   # The option is referenced via a variable to avoid confusing sed.
12455
 
   lt_compile=`echo "$ac_compile" | $SED \
12456
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12457
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12458
 
   -e 's:$: $lt_compiler_flag:'`
12459
 
   (eval echo "\"\$as_me:12459: $lt_compile\"" >&5)
12460
 
   (eval "$lt_compile" 2>conftest.err)
12461
 
   ac_status=$?
12462
 
   cat conftest.err >&5
12463
 
   echo "$as_me:12463: \$? = $ac_status" >&5
12464
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12465
 
     # The compiler can only warn and ignore the option if not recognized
12466
 
     # So say no if there are warnings other than the usual output.
12467
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12468
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12469
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12470
 
       lt_prog_compiler_pic_works_CXX=yes
12471
 
     fi
12472
 
   fi
12473
 
   $rm conftest*
12474
 
 
12475
 
fi
12476
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12477
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12478
 
 
12479
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12480
 
    case $lt_prog_compiler_pic_CXX in
12481
 
     "" | " "*) ;;
12482
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12483
 
     esac
12484
 
else
12485
 
    lt_prog_compiler_pic_CXX=
12486
 
     lt_prog_compiler_can_build_shared_CXX=no
12487
 
fi
12488
 
 
12489
 
fi
12490
 
case $host_os in
12491
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12492
 
  *djgpp*)
12493
 
    lt_prog_compiler_pic_CXX=
12494
 
    ;;
12495
 
  *)
12496
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12497
 
    ;;
12498
 
esac
12499
 
 
12500
 
#
12501
 
# Check to make sure the static flag actually works.
12502
 
#
12503
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12504
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12505
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12506
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12507
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12508
 
else
12509
 
  lt_prog_compiler_static_works_CXX=no
12510
 
   save_LDFLAGS="$LDFLAGS"
12511
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12512
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
12513
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12514
 
     # The linker can only warn and ignore the option if not recognized
12515
 
     # So say no if there are warnings
12516
 
     if test -s conftest.err; then
12517
 
       # Append any errors to the config.log.
12518
 
       cat conftest.err 1>&5
12519
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12520
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12521
 
       if diff conftest.exp conftest.er2 >/dev/null; then
12522
 
         lt_prog_compiler_static_works_CXX=yes
12523
 
       fi
12524
 
     else
12525
 
       lt_prog_compiler_static_works_CXX=yes
12526
 
     fi
12527
 
   fi
12528
 
   $rm conftest*
12529
 
   LDFLAGS="$save_LDFLAGS"
12530
 
 
12531
 
fi
12532
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12533
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12534
 
 
12535
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12536
 
    :
12537
 
else
12538
 
    lt_prog_compiler_static_CXX=
12539
 
fi
12540
 
 
12541
 
 
12542
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12543
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12544
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12545
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12546
 
else
12547
 
  lt_cv_prog_compiler_c_o_CXX=no
12548
 
   $rm -r conftest 2>/dev/null
12549
 
   mkdir conftest
12550
 
   cd conftest
12551
 
   mkdir out
12552
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12553
 
 
12554
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12555
 
   # Insert the option either (1) after the last *FLAGS variable, or
12556
 
   # (2) before a word containing "conftest.", or (3) at the end.
12557
 
   # Note that $ac_compile itself does not contain backslashes and begins
12558
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12559
 
   lt_compile=`echo "$ac_compile" | $SED \
12560
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12561
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12562
 
   -e 's:$: $lt_compiler_flag:'`
12563
 
   (eval echo "\"\$as_me:12563: $lt_compile\"" >&5)
12564
 
   (eval "$lt_compile" 2>out/conftest.err)
12565
 
   ac_status=$?
12566
 
   cat out/conftest.err >&5
12567
 
   echo "$as_me:12567: \$? = $ac_status" >&5
12568
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12569
 
   then
12570
 
     # The compiler can only warn and ignore the option if not recognized
12571
 
     # So say no if there are warnings
12572
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12573
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12574
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12575
 
       lt_cv_prog_compiler_c_o_CXX=yes
12576
 
     fi
12577
 
   fi
12578
 
   chmod u+w . 2>&5
12579
 
   $rm conftest*
12580
 
   # SGI C++ compiler will create directory out/ii_files/ for
12581
 
   # template instantiation
12582
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12583
 
   $rm out/* && rmdir out
12584
 
   cd ..
12585
 
   rmdir conftest
12586
 
   $rm conftest*
12587
 
 
12588
 
fi
12589
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12590
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12591
 
 
12592
 
 
12593
 
hard_links="nottested"
12594
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12595
 
  # do not overwrite the value of need_locks provided by the user
12596
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12597
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12598
 
  hard_links=yes
12599
 
  $rm conftest*
12600
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12601
 
  touch conftest.a
12602
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12603
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12604
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
12605
 
echo "${ECHO_T}$hard_links" >&6
12606
 
  if test "$hard_links" = no; then
12607
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12608
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12609
 
    need_locks=warn
12610
 
  fi
12611
 
else
12612
 
  need_locks=no
12613
 
fi
12614
 
 
12615
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12616
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12617
 
 
12618
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12619
 
  case $host_os in
12620
 
  aix4* | aix5*)
12621
 
    # If we're using GNU nm, then we don't want the "-C" option.
12622
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12623
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12624
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12625
 
    else
12626
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
12627
 
    fi
12628
 
    ;;
12629
 
  pw32*)
12630
 
    export_symbols_cmds_CXX="$ltdll_cmds"
12631
 
  ;;
12632
 
  cygwin* | mingw*)
12633
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
12634
 
  ;;
12635
 
  *)
12636
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12637
 
  ;;
12638
 
  esac
12639
 
 
12640
 
echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12641
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6
12642
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12643
 
 
12644
 
#
12645
 
# Do we need to explicitly link libc?
12646
 
#
12647
 
case "x$archive_cmds_need_lc_CXX" in
12648
 
x|xyes)
12649
 
  # Assume -lc should be added
12650
 
  archive_cmds_need_lc_CXX=yes
12651
 
 
12652
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12653
 
    case $archive_cmds_CXX in
12654
 
    *'~'*)
12655
 
      # FIXME: we may have to deal with multi-command sequences.
12656
 
      ;;
12657
 
    '$CC '*)
12658
 
      # Test whether the compiler implicitly links with -lc since on some
12659
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12660
 
      # to ld, don't add -lc before -lgcc.
12661
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12662
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12663
 
      $rm conftest*
12664
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12665
 
 
12666
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12667
 
  (eval $ac_compile) 2>&5
12668
 
  ac_status=$?
12669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670
 
  (exit $ac_status); } 2>conftest.err; then
12671
 
        soname=conftest
12672
 
        lib=conftest
12673
 
        libobjs=conftest.$ac_objext
12674
 
        deplibs=
12675
 
        wl=$lt_prog_compiler_wl_CXX
12676
 
        pic_flag=$lt_prog_compiler_pic_CXX
12677
 
        compiler_flags=-v
12678
 
        linker_flags=-v
12679
 
        verstring=
12680
 
        output_objdir=.
12681
 
        libname=conftest
12682
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12683
 
        allow_undefined_flag_CXX=
12684
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12685
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12686
 
  ac_status=$?
12687
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688
 
  (exit $ac_status); }
12689
 
        then
12690
 
          archive_cmds_need_lc_CXX=no
12691
 
        else
12692
 
          archive_cmds_need_lc_CXX=yes
12693
 
        fi
12694
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12695
 
      else
12696
 
        cat conftest.err 1>&5
12697
 
      fi
12698
 
      $rm conftest*
12699
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12700
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12701
 
      ;;
12702
 
    esac
12703
 
  fi
12704
 
  ;;
12705
 
esac
12706
 
 
12707
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12708
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12709
 
library_names_spec=
12710
 
libname_spec='lib$name'
12711
 
soname_spec=
12712
 
shrext_cmds=".so"
12713
 
postinstall_cmds=
12714
 
postuninstall_cmds=
12715
 
finish_cmds=
12716
 
finish_eval=
12717
 
shlibpath_var=
12718
 
shlibpath_overrides_runpath=unknown
12719
 
version_type=none
12720
 
dynamic_linker="$host_os ld.so"
12721
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12722
 
if test "$GCC" = yes; then
12723
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12724
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12725
 
    # if the path contains ";" then we assume it to be the separator
12726
 
    # otherwise default to the standard path separator (i.e. ":") - it is
12727
 
    # assumed that no part of a normal pathname contains ";" but that should
12728
 
    # okay in the real world where ";" in dirpaths is itself problematic.
12729
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12730
 
  else
12731
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12732
 
  fi
12733
 
else
12734
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12735
 
fi
12736
 
need_lib_prefix=unknown
12737
 
hardcode_into_libs=no
12738
 
 
12739
 
# when you set need_version to no, make sure it does not cause -set_version
12740
 
# flags to be left without arguments
12741
 
need_version=unknown
12742
 
 
12743
 
case $host_os in
12744
 
aix3*)
12745
 
  version_type=linux
12746
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12747
 
  shlibpath_var=LIBPATH
12748
 
 
12749
 
  # AIX 3 has no versioning support, so we append a major version to the name.
12750
 
  soname_spec='${libname}${release}${shared_ext}$major'
12751
 
  ;;
12752
 
 
12753
 
aix4* | aix5*)
12754
 
  version_type=linux
12755
 
  need_lib_prefix=no
12756
 
  need_version=no
12757
 
  hardcode_into_libs=yes
12758
 
  if test "$host_cpu" = ia64; then
12759
 
    # AIX 5 supports IA64
12760
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12761
 
    shlibpath_var=LD_LIBRARY_PATH
12762
 
  else
12763
 
    # With GCC up to 2.95.x, collect2 would create an import file
12764
 
    # for dependence libraries.  The import file would start with
12765
 
    # the line `#! .'.  This would cause the generated library to
12766
 
    # depend on `.', always an invalid library.  This was fixed in
12767
 
    # development snapshots of GCC prior to 3.0.
12768
 
    case $host_os in
12769
 
      aix4 | aix4.[01] | aix4.[01].*)
12770
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12771
 
           echo ' yes '
12772
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12773
 
        :
12774
 
      else
12775
 
        can_build_shared=no
12776
 
      fi
12777
 
      ;;
12778
 
    esac
12779
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12780
 
    # soname into executable. Probably we can add versioning support to
12781
 
    # collect2, so additional links can be useful in future.
12782
 
    if test "$aix_use_runtimelinking" = yes; then
12783
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12784
 
      # instead of lib<name>.a to let people know that these are not
12785
 
      # typical AIX shared libraries.
12786
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12787
 
    else
12788
 
      # We preserve .a as extension for shared libraries through AIX4.2
12789
 
      # and later when we are not doing run time linking.
12790
 
      library_names_spec='${libname}${release}.a $libname.a'
12791
 
      soname_spec='${libname}${release}${shared_ext}$major'
12792
 
    fi
12793
 
    shlibpath_var=LIBPATH
12794
 
  fi
12795
 
  ;;
12796
 
 
12797
 
amigaos*)
12798
 
  library_names_spec='$libname.ixlibrary $libname.a'
12799
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
12800
 
  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'
12801
 
  ;;
12802
 
 
12803
 
beos*)
12804
 
  library_names_spec='${libname}${shared_ext}'
12805
 
  dynamic_linker="$host_os ld.so"
12806
 
  shlibpath_var=LIBRARY_PATH
12807
 
  ;;
12808
 
 
12809
 
bsdi[45]*)
12810
 
  version_type=linux
12811
 
  need_version=no
12812
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12813
 
  soname_spec='${libname}${release}${shared_ext}$major'
12814
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12815
 
  shlibpath_var=LD_LIBRARY_PATH
12816
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12817
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12818
 
  # the default ld.so.conf also contains /usr/contrib/lib and
12819
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12820
 
  # libtool to hard-code these into programs
12821
 
  ;;
12822
 
 
12823
 
cygwin* | mingw* | pw32*)
12824
 
  version_type=windows
12825
 
  shrext_cmds=".dll"
12826
 
  need_version=no
12827
 
  need_lib_prefix=no
12828
 
 
12829
 
  case $GCC,$host_os in
12830
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
12831
 
    library_names_spec='$libname.dll.a'
12832
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12833
 
    postinstall_cmds='base_file=`basename \${file}`~
12834
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12835
 
      dldir=$destdir/`dirname \$dlpath`~
12836
 
      test -d \$dldir || mkdir -p \$dldir~
12837
 
      $install_prog $dir/$dlname \$dldir/$dlname~
12838
 
      chmod a+x \$dldir/$dlname'
12839
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12840
 
      dlpath=$dir/\$dldll~
12841
 
       $rm \$dlpath'
12842
 
    shlibpath_overrides_runpath=yes
12843
 
 
12844
 
    case $host_os in
12845
 
    cygwin*)
12846
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12847
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12848
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12849
 
      ;;
12850
 
    mingw*)
12851
 
      # MinGW DLLs use traditional 'lib' prefix
12852
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12853
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12854
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12855
 
        # It is most probably a Windows format PATH printed by
12856
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
12857
 
        # path with ; separators, and with drive letters. We can handle the
12858
 
        # drive letters (cygwin fileutils understands them), so leave them,
12859
 
        # especially as we might pass files found there to a mingw objdump,
12860
 
        # which wouldn't understand a cygwinified path. Ahh.
12861
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12862
 
      else
12863
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
12864
 
      fi
12865
 
      ;;
12866
 
    pw32*)
12867
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
12868
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12869
 
      ;;
12870
 
    esac
12871
 
    ;;
12872
 
 
12873
 
  *)
12874
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12875
 
    ;;
12876
 
  esac
12877
 
  dynamic_linker='Win32 ld.exe'
12878
 
  # FIXME: first we should search . and the directory the executable is in
12879
 
  shlibpath_var=PATH
12880
 
  ;;
12881
 
 
12882
 
darwin* | rhapsody*)
12883
 
  dynamic_linker="$host_os dyld"
12884
 
  version_type=darwin
12885
 
  need_lib_prefix=no
12886
 
  need_version=no
12887
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12888
 
  soname_spec='${libname}${release}${major}$shared_ext'
12889
 
  shlibpath_overrides_runpath=yes
12890
 
  shlibpath_var=DYLD_LIBRARY_PATH
12891
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12892
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12893
 
  if test "$GCC" = yes; then
12894
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12895
 
  else
12896
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
12897
 
  fi
12898
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12899
 
  ;;
12900
 
 
12901
 
dgux*)
12902
 
  version_type=linux
12903
 
  need_lib_prefix=no
12904
 
  need_version=no
12905
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12906
 
  soname_spec='${libname}${release}${shared_ext}$major'
12907
 
  shlibpath_var=LD_LIBRARY_PATH
12908
 
  ;;
12909
 
 
12910
 
freebsd1*)
12911
 
  dynamic_linker=no
12912
 
  ;;
12913
 
 
12914
 
kfreebsd*-gnu)
12915
 
  version_type=linux
12916
 
  need_lib_prefix=no
12917
 
  need_version=no
12918
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12919
 
  soname_spec='${libname}${release}${shared_ext}$major'
12920
 
  shlibpath_var=LD_LIBRARY_PATH
12921
 
  shlibpath_overrides_runpath=no
12922
 
  hardcode_into_libs=yes
12923
 
  dynamic_linker='GNU ld.so'
12924
 
  ;;
12925
 
 
12926
 
freebsd* | dragonfly*)
12927
 
  # DragonFly does not have aout.  When/if they implement a new
12928
 
  # versioning mechanism, adjust this.
12929
 
  if test -x /usr/bin/objformat; then
12930
 
    objformat=`/usr/bin/objformat`
12931
 
  else
12932
 
    case $host_os in
12933
 
    freebsd[123]*) objformat=aout ;;
12934
 
    *) objformat=elf ;;
12935
 
    esac
12936
 
  fi
12937
 
  version_type=freebsd-$objformat
12938
 
  case $version_type in
12939
 
    freebsd-elf*)
12940
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12941
 
      need_version=no
12942
 
      need_lib_prefix=no
12943
 
      ;;
12944
 
    freebsd-*)
12945
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12946
 
      need_version=yes
12947
 
      ;;
12948
 
  esac
12949
 
  shlibpath_var=LD_LIBRARY_PATH
12950
 
  case $host_os in
12951
 
  freebsd2*)
12952
 
    shlibpath_overrides_runpath=yes
12953
 
    ;;
12954
 
  freebsd3.[01]* | freebsdelf3.[01]*)
12955
 
    shlibpath_overrides_runpath=yes
12956
 
    hardcode_into_libs=yes
12957
 
    ;;
12958
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12959
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12960
 
    shlibpath_overrides_runpath=no
12961
 
    hardcode_into_libs=yes
12962
 
    ;;
12963
 
  freebsd*) # from 4.6 on
12964
 
    shlibpath_overrides_runpath=yes
12965
 
    hardcode_into_libs=yes
12966
 
    ;;
12967
 
  esac
12968
 
  ;;
12969
 
 
12970
 
gnu*)
12971
 
  version_type=linux
12972
 
  need_lib_prefix=no
12973
 
  need_version=no
12974
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12975
 
  soname_spec='${libname}${release}${shared_ext}$major'
12976
 
  shlibpath_var=LD_LIBRARY_PATH
12977
 
  hardcode_into_libs=yes
12978
 
  ;;
12979
 
 
12980
 
hpux9* | hpux10* | hpux11*)
12981
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
12982
 
  # link against other versions.
12983
 
  version_type=sunos
12984
 
  need_lib_prefix=no
12985
 
  need_version=no
12986
 
  case $host_cpu in
12987
 
  ia64*)
12988
 
    shrext_cmds='.so'
12989
 
    hardcode_into_libs=yes
12990
 
    dynamic_linker="$host_os dld.so"
12991
 
    shlibpath_var=LD_LIBRARY_PATH
12992
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12993
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12994
 
    soname_spec='${libname}${release}${shared_ext}$major'
12995
 
    if test "X$HPUX_IA64_MODE" = X32; then
12996
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12997
 
    else
12998
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12999
 
    fi
13000
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13001
 
    ;;
13002
 
   hppa*64*)
13003
 
     shrext_cmds='.sl'
13004
 
     hardcode_into_libs=yes
13005
 
     dynamic_linker="$host_os dld.sl"
13006
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13007
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13008
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13009
 
     soname_spec='${libname}${release}${shared_ext}$major'
13010
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13011
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13012
 
     ;;
13013
 
   *)
13014
 
    shrext_cmds='.sl'
13015
 
    dynamic_linker="$host_os dld.sl"
13016
 
    shlibpath_var=SHLIB_PATH
13017
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13018
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13019
 
    soname_spec='${libname}${release}${shared_ext}$major'
13020
 
    ;;
13021
 
  esac
13022
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13023
 
  postinstall_cmds='chmod 555 $lib'
13024
 
  ;;
13025
 
 
13026
 
interix3*)
13027
 
  version_type=linux
13028
 
  need_lib_prefix=no
13029
 
  need_version=no
13030
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13031
 
  soname_spec='${libname}${release}${shared_ext}$major'
13032
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13033
 
  shlibpath_var=LD_LIBRARY_PATH
13034
 
  shlibpath_overrides_runpath=no
13035
 
  hardcode_into_libs=yes
13036
 
  ;;
13037
 
 
13038
 
irix5* | irix6* | nonstopux*)
13039
 
  case $host_os in
13040
 
    nonstopux*) version_type=nonstopux ;;
13041
 
    *)
13042
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13043
 
                version_type=linux
13044
 
        else
13045
 
                version_type=irix
13046
 
        fi ;;
13047
 
  esac
13048
 
  need_lib_prefix=no
13049
 
  need_version=no
13050
 
  soname_spec='${libname}${release}${shared_ext}$major'
13051
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13052
 
  case $host_os in
13053
 
  irix5* | nonstopux*)
13054
 
    libsuff= shlibsuff=
13055
 
    ;;
13056
 
  *)
13057
 
    case $LD in # libtool.m4 will add one of these switches to LD
13058
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13059
 
      libsuff= shlibsuff= libmagic=32-bit;;
13060
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13061
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13062
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13063
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13064
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13065
 
    esac
13066
 
    ;;
13067
 
  esac
13068
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13069
 
  shlibpath_overrides_runpath=no
13070
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13071
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13072
 
  hardcode_into_libs=yes
13073
 
  ;;
13074
 
 
13075
 
# No shared lib support for Linux oldld, aout, or coff.
13076
 
linux*oldld* | linux*aout* | linux*coff*)
13077
 
  dynamic_linker=no
13078
 
  ;;
13079
 
 
13080
 
# This must be Linux ELF.
13081
 
linux*)
13082
 
  version_type=linux
13083
 
  need_lib_prefix=no
13084
 
  need_version=no
13085
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13086
 
  soname_spec='${libname}${release}${shared_ext}$major'
13087
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13088
 
  shlibpath_var=LD_LIBRARY_PATH
13089
 
  shlibpath_overrides_runpath=no
13090
 
  # This implies no fast_install, which is unacceptable.
13091
 
  # Some rework will be needed to allow for fast_install
13092
 
  # before this can be enabled.
13093
 
  hardcode_into_libs=yes
13094
 
 
13095
 
  # find out which ABI we are using
13096
 
  libsuff=
13097
 
  case "$host_cpu" in
13098
 
  x86_64*|s390x*|powerpc64*)
13099
 
    echo '#line 13099 "configure"' > conftest.$ac_ext
13100
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13101
 
  (eval $ac_compile) 2>&5
13102
 
  ac_status=$?
13103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104
 
  (exit $ac_status); }; then
13105
 
      case `/usr/bin/file conftest.$ac_objext` in
13106
 
      *64-bit*)
13107
 
        libsuff=64
13108
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13109
 
        ;;
13110
 
      esac
13111
 
    fi
13112
 
    rm -rf conftest*
13113
 
    ;;
13114
 
  esac
13115
 
 
13116
 
  # Append ld.so.conf contents to the search path
13117
 
  if test -f /etc/ld.so.conf; then
13118
 
    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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13119
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13120
 
  fi
13121
 
 
13122
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13123
 
  # powerpc, because MkLinux only supported shared libraries with the
13124
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13125
 
  # most powerpc-linux boxes support dynamic linking these days and
13126
 
  # people can always --disable-shared, the test was removed, and we
13127
 
  # assume the GNU/Linux dynamic linker is in use.
13128
 
  dynamic_linker='GNU/Linux ld.so'
13129
 
  ;;
13130
 
 
13131
 
knetbsd*-gnu)
13132
 
  version_type=linux
13133
 
  need_lib_prefix=no
13134
 
  need_version=no
13135
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13136
 
  soname_spec='${libname}${release}${shared_ext}$major'
13137
 
  shlibpath_var=LD_LIBRARY_PATH
13138
 
  shlibpath_overrides_runpath=no
13139
 
  hardcode_into_libs=yes
13140
 
  dynamic_linker='GNU ld.so'
13141
 
  ;;
13142
 
 
13143
 
netbsd*)
13144
 
  version_type=sunos
13145
 
  need_lib_prefix=no
13146
 
  need_version=no
13147
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13148
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13149
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13150
 
    dynamic_linker='NetBSD (a.out) ld.so'
13151
 
  else
13152
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13153
 
    soname_spec='${libname}${release}${shared_ext}$major'
13154
 
    dynamic_linker='NetBSD ld.elf_so'
13155
 
  fi
13156
 
  shlibpath_var=LD_LIBRARY_PATH
13157
 
  shlibpath_overrides_runpath=yes
13158
 
  hardcode_into_libs=yes
13159
 
  ;;
13160
 
 
13161
 
newsos6)
13162
 
  version_type=linux
13163
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13164
 
  shlibpath_var=LD_LIBRARY_PATH
13165
 
  shlibpath_overrides_runpath=yes
13166
 
  ;;
13167
 
 
13168
 
nto-qnx*)
13169
 
  version_type=linux
13170
 
  need_lib_prefix=no
13171
 
  need_version=no
13172
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13173
 
  soname_spec='${libname}${release}${shared_ext}$major'
13174
 
  shlibpath_var=LD_LIBRARY_PATH
13175
 
  shlibpath_overrides_runpath=yes
13176
 
  ;;
13177
 
 
13178
 
openbsd*)
13179
 
  version_type=sunos
13180
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13181
 
  need_lib_prefix=no
13182
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13183
 
  case $host_os in
13184
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13185
 
    *)                         need_version=no  ;;
13186
 
  esac
13187
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13188
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13189
 
  shlibpath_var=LD_LIBRARY_PATH
13190
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13191
 
    case $host_os in
13192
 
      openbsd2.[89] | openbsd2.[89].*)
13193
 
        shlibpath_overrides_runpath=no
13194
 
        ;;
13195
 
      *)
13196
 
        shlibpath_overrides_runpath=yes
13197
 
        ;;
13198
 
      esac
13199
 
  else
13200
 
    shlibpath_overrides_runpath=yes
13201
 
  fi
13202
 
  ;;
13203
 
 
13204
 
os2*)
13205
 
  libname_spec='$name'
13206
 
  shrext_cmds=".dll"
13207
 
  need_lib_prefix=no
13208
 
  library_names_spec='$libname${shared_ext} $libname.a'
13209
 
  dynamic_linker='OS/2 ld.exe'
13210
 
  shlibpath_var=LIBPATH
13211
 
  ;;
13212
 
 
13213
 
osf3* | osf4* | osf5*)
13214
 
  version_type=osf
13215
 
  need_lib_prefix=no
13216
 
  need_version=no
13217
 
  soname_spec='${libname}${release}${shared_ext}$major'
13218
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13219
 
  shlibpath_var=LD_LIBRARY_PATH
13220
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13221
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13222
 
  ;;
13223
 
 
13224
 
solaris*)
13225
 
  version_type=linux
13226
 
  need_lib_prefix=no
13227
 
  need_version=no
13228
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13229
 
  soname_spec='${libname}${release}${shared_ext}$major'
13230
 
  shlibpath_var=LD_LIBRARY_PATH
13231
 
  shlibpath_overrides_runpath=yes
13232
 
  hardcode_into_libs=yes
13233
 
  # ldd complains unless libraries are executable
13234
 
  postinstall_cmds='chmod +x $lib'
13235
 
  ;;
13236
 
 
13237
 
sunos4*)
13238
 
  version_type=sunos
13239
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13240
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13241
 
  shlibpath_var=LD_LIBRARY_PATH
13242
 
  shlibpath_overrides_runpath=yes
13243
 
  if test "$with_gnu_ld" = yes; then
13244
 
    need_lib_prefix=no
13245
 
  fi
13246
 
  need_version=yes
13247
 
  ;;
13248
 
 
13249
 
sysv4 | sysv4.3*)
13250
 
  version_type=linux
13251
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13252
 
  soname_spec='${libname}${release}${shared_ext}$major'
13253
 
  shlibpath_var=LD_LIBRARY_PATH
13254
 
  case $host_vendor in
13255
 
    sni)
13256
 
      shlibpath_overrides_runpath=no
13257
 
      need_lib_prefix=no
13258
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13259
 
      runpath_var=LD_RUN_PATH
13260
 
      ;;
13261
 
    siemens)
13262
 
      need_lib_prefix=no
13263
 
      ;;
13264
 
    motorola)
13265
 
      need_lib_prefix=no
13266
 
      need_version=no
13267
 
      shlibpath_overrides_runpath=no
13268
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13269
 
      ;;
13270
 
  esac
13271
 
  ;;
13272
 
 
13273
 
sysv4*MP*)
13274
 
  if test -d /usr/nec ;then
13275
 
    version_type=linux
13276
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13277
 
    soname_spec='$libname${shared_ext}.$major'
13278
 
    shlibpath_var=LD_LIBRARY_PATH
13279
 
  fi
13280
 
  ;;
13281
 
 
13282
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13283
 
  version_type=freebsd-elf
13284
 
  need_lib_prefix=no
13285
 
  need_version=no
13286
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13287
 
  soname_spec='${libname}${release}${shared_ext}$major'
13288
 
  shlibpath_var=LD_LIBRARY_PATH
13289
 
  hardcode_into_libs=yes
13290
 
  if test "$with_gnu_ld" = yes; then
13291
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13292
 
    shlibpath_overrides_runpath=no
13293
 
  else
13294
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13295
 
    shlibpath_overrides_runpath=yes
13296
 
    case $host_os in
13297
 
      sco3.2v5*)
13298
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13299
 
        ;;
13300
 
    esac
13301
 
  fi
13302
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13303
 
  ;;
13304
 
 
13305
 
uts4*)
13306
 
  version_type=linux
13307
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13308
 
  soname_spec='${libname}${release}${shared_ext}$major'
13309
 
  shlibpath_var=LD_LIBRARY_PATH
13310
 
  ;;
13311
 
 
13312
 
*)
13313
 
  dynamic_linker=no
13314
 
  ;;
13315
 
esac
13316
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13317
 
echo "${ECHO_T}$dynamic_linker" >&6
13318
 
test "$dynamic_linker" = no && can_build_shared=no
13319
 
 
13320
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13321
 
if test "$GCC" = yes; then
13322
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13323
 
fi
13324
 
 
13325
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13326
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13327
 
hardcode_action_CXX=
13328
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13329
 
   test -n "$runpath_var_CXX" || \
13330
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13331
 
 
13332
 
  # We can hardcode non-existant directories.
13333
 
  if test "$hardcode_direct_CXX" != no &&
13334
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13335
 
     # have to relink, otherwise we might link with an installed library
13336
 
     # when we should be linking with a yet-to-be-installed one
13337
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13338
 
     test "$hardcode_minus_L_CXX" != no; then
13339
 
    # Linking always hardcodes the temporary library directory.
13340
 
    hardcode_action_CXX=relink
13341
 
  else
13342
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13343
 
    hardcode_action_CXX=immediate
13344
 
  fi
13345
 
else
13346
 
  # We cannot hardcode anything, or else we can only hardcode existing
13347
 
  # directories.
13348
 
  hardcode_action_CXX=unsupported
13349
 
fi
13350
 
echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13351
 
echo "${ECHO_T}$hardcode_action_CXX" >&6
13352
 
 
13353
 
if test "$hardcode_action_CXX" = relink; then
13354
 
  # Fast installation is not supported
13355
 
  enable_fast_install=no
13356
 
elif test "$shlibpath_overrides_runpath" = yes ||
13357
 
     test "$enable_shared" = no; then
13358
 
  # Fast installation is not necessary
13359
 
  enable_fast_install=needless
13360
 
fi
13361
 
 
13362
 
 
13363
 
# The else clause should only fire when bootstrapping the
13364
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13365
 
# with your package, and you will get complaints that there are
13366
 
# no rules to generate ltmain.sh.
13367
 
if test -f "$ltmain"; then
13368
 
  # See if we are running on zsh, and set the options which allow our commands through
13369
 
  # without removal of \ escapes.
13370
 
  if test -n "${ZSH_VERSION+set}" ; then
13371
 
    setopt NO_GLOB_SUBST
13372
 
  fi
13373
 
  # Now quote all the things that may contain metacharacters while being
13374
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13375
 
  # variables and quote the copies for generation of the libtool script.
13376
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13377
 
    SED SHELL STRIP \
13378
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13379
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13380
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13381
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13382
 
    lt_cv_sys_global_symbol_to_c_name_address \
13383
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13384
 
    old_postinstall_cmds old_postuninstall_cmds \
13385
 
    compiler_CXX \
13386
 
    CC_CXX \
13387
 
    LD_CXX \
13388
 
    lt_prog_compiler_wl_CXX \
13389
 
    lt_prog_compiler_pic_CXX \
13390
 
    lt_prog_compiler_static_CXX \
13391
 
    lt_prog_compiler_no_builtin_flag_CXX \
13392
 
    export_dynamic_flag_spec_CXX \
13393
 
    thread_safe_flag_spec_CXX \
13394
 
    whole_archive_flag_spec_CXX \
13395
 
    enable_shared_with_static_runtimes_CXX \
13396
 
    old_archive_cmds_CXX \
13397
 
    old_archive_from_new_cmds_CXX \
13398
 
    predep_objects_CXX \
13399
 
    postdep_objects_CXX \
13400
 
    predeps_CXX \
13401
 
    postdeps_CXX \
13402
 
    compiler_lib_search_path_CXX \
13403
 
    archive_cmds_CXX \
13404
 
    archive_expsym_cmds_CXX \
13405
 
    postinstall_cmds_CXX \
13406
 
    postuninstall_cmds_CXX \
13407
 
    old_archive_from_expsyms_cmds_CXX \
13408
 
    allow_undefined_flag_CXX \
13409
 
    no_undefined_flag_CXX \
13410
 
    export_symbols_cmds_CXX \
13411
 
    hardcode_libdir_flag_spec_CXX \
13412
 
    hardcode_libdir_flag_spec_ld_CXX \
13413
 
    hardcode_libdir_separator_CXX \
13414
 
    hardcode_automatic_CXX \
13415
 
    module_cmds_CXX \
13416
 
    module_expsym_cmds_CXX \
13417
 
    lt_cv_prog_compiler_c_o_CXX \
13418
 
    exclude_expsyms_CXX \
13419
 
    include_expsyms_CXX; do
13420
 
 
13421
 
    case $var in
13422
 
    old_archive_cmds_CXX | \
13423
 
    old_archive_from_new_cmds_CXX | \
13424
 
    archive_cmds_CXX | \
13425
 
    archive_expsym_cmds_CXX | \
13426
 
    module_cmds_CXX | \
13427
 
    module_expsym_cmds_CXX | \
13428
 
    old_archive_from_expsyms_cmds_CXX | \
13429
 
    export_symbols_cmds_CXX | \
13430
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13431
 
    postinstall_cmds | postuninstall_cmds | \
13432
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13433
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13434
 
      # Double-quote double-evaled strings.
13435
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13436
 
      ;;
13437
 
    *)
13438
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13439
 
      ;;
13440
 
    esac
13441
 
  done
13442
 
 
13443
 
  case $lt_echo in
13444
 
  *'\$0 --fallback-echo"')
13445
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13446
 
    ;;
13447
 
  esac
13448
 
 
13449
 
cfgfile="$ofile"
13450
 
 
13451
 
  cat <<__EOF__ >> "$cfgfile"
13452
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13453
 
 
13454
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13455
 
 
13456
 
# Shell to use when invoking shell scripts.
13457
 
SHELL=$lt_SHELL
13458
 
 
13459
 
# Whether or not to build shared libraries.
13460
 
build_libtool_libs=$enable_shared
13461
 
 
13462
 
# Whether or not to build static libraries.
13463
 
build_old_libs=$enable_static
13464
 
 
13465
 
# Whether or not to add -lc for building shared libraries.
13466
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13467
 
 
13468
 
# Whether or not to disallow shared libs when runtime libs are static
13469
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13470
 
 
13471
 
# Whether or not to optimize for fast installation.
13472
 
fast_install=$enable_fast_install
13473
 
 
13474
 
# The host system.
13475
 
host_alias=$host_alias
13476
 
host=$host
13477
 
host_os=$host_os
13478
 
 
13479
 
# The build system.
13480
 
build_alias=$build_alias
13481
 
build=$build
13482
 
build_os=$build_os
13483
 
 
13484
 
# An echo program that does not interpret backslashes.
13485
 
echo=$lt_echo
13486
 
 
13487
 
# The archiver.
13488
 
AR=$lt_AR
13489
 
AR_FLAGS=$lt_AR_FLAGS
13490
 
 
13491
 
# A C compiler.
13492
 
LTCC=$lt_LTCC
13493
 
 
13494
 
# LTCC compiler flags.
13495
 
LTCFLAGS=$lt_LTCFLAGS
13496
 
 
13497
 
# A language-specific compiler.
13498
 
CC=$lt_compiler_CXX
13499
 
 
13500
 
# Is the compiler the GNU C compiler?
13501
 
with_gcc=$GCC_CXX
13502
 
 
13503
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
13504
 
gcc_ver=\`gcc -dumpversion\`
13505
 
 
13506
 
# An ERE matcher.
13507
 
EGREP=$lt_EGREP
13508
 
 
13509
 
# The linker used to build libraries.
13510
 
LD=$lt_LD_CXX
13511
 
 
13512
 
# Whether we need hard or soft links.
13513
 
LN_S=$lt_LN_S
13514
 
 
13515
 
# A BSD-compatible nm program.
13516
 
NM=$lt_NM
13517
 
 
13518
 
# A symbol stripping program
13519
 
STRIP=$lt_STRIP
13520
 
 
13521
 
# Used to examine libraries when file_magic_cmd begins "file"
13522
 
MAGIC_CMD=$MAGIC_CMD
13523
 
 
13524
 
# Used on cygwin: DLL creation program.
13525
 
DLLTOOL="$DLLTOOL"
13526
 
 
13527
 
# Used on cygwin: object dumper.
13528
 
OBJDUMP="$OBJDUMP"
13529
 
 
13530
 
# Used on cygwin: assembler.
13531
 
AS="$AS"
13532
 
 
13533
 
# The name of the directory that contains temporary libtool files.
13534
 
objdir=$objdir
13535
 
 
13536
 
# How to create reloadable object files.
13537
 
reload_flag=$lt_reload_flag
13538
 
reload_cmds=$lt_reload_cmds
13539
 
 
13540
 
# How to pass a linker flag through the compiler.
13541
 
wl=$lt_lt_prog_compiler_wl_CXX
13542
 
 
13543
 
# Object file suffix (normally "o").
13544
 
objext="$ac_objext"
13545
 
 
13546
 
# Old archive suffix (normally "a").
13547
 
libext="$libext"
13548
 
 
13549
 
# Shared library suffix (normally ".so").
13550
 
shrext_cmds='$shrext_cmds'
13551
 
 
13552
 
# Executable file suffix (normally "").
13553
 
exeext="$exeext"
13554
 
 
13555
 
# Additional compiler flags for building library objects.
13556
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13557
 
pic_mode=$pic_mode
13558
 
 
13559
 
# What is the maximum length of a command?
13560
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13561
 
 
13562
 
# Does compiler simultaneously support -c and -o options?
13563
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13564
 
 
13565
 
# Must we lock files when doing compilation?
13566
 
need_locks=$lt_need_locks
13567
 
 
13568
 
# Do we need the lib prefix for modules?
13569
 
need_lib_prefix=$need_lib_prefix
13570
 
 
13571
 
# Do we need a version for libraries?
13572
 
need_version=$need_version
13573
 
 
13574
 
# Whether dlopen is supported.
13575
 
dlopen_support=$enable_dlopen
13576
 
 
13577
 
# Whether dlopen of programs is supported.
13578
 
dlopen_self=$enable_dlopen_self
13579
 
 
13580
 
# Whether dlopen of statically linked programs is supported.
13581
 
dlopen_self_static=$enable_dlopen_self_static
13582
 
 
13583
 
# Compiler flag to prevent dynamic linking.
13584
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13585
 
 
13586
 
# Compiler flag to turn off builtin functions.
13587
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13588
 
 
13589
 
# Compiler flag to allow reflexive dlopens.
13590
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13591
 
 
13592
 
# Compiler flag to generate shared objects directly from archives.
13593
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13594
 
 
13595
 
# Compiler flag to generate thread-safe objects.
13596
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13597
 
 
13598
 
# Library versioning type.
13599
 
version_type=$version_type
13600
 
 
13601
 
# Format of library name prefix.
13602
 
libname_spec=$lt_libname_spec
13603
 
 
13604
 
# List of archive names.  First name is the real one, the rest are links.
13605
 
# The last name is the one that the linker finds with -lNAME.
13606
 
library_names_spec=$lt_library_names_spec
13607
 
 
13608
 
# The coded name of the library, if different from the real name.
13609
 
soname_spec=$lt_soname_spec
13610
 
 
13611
 
# Commands used to build and install an old-style archive.
13612
 
RANLIB=$lt_RANLIB
13613
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13614
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13615
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13616
 
 
13617
 
# Create an old-style archive from a shared archive.
13618
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13619
 
 
13620
 
# Create a temporary old-style archive to link instead of a shared archive.
13621
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13622
 
 
13623
 
# Commands used to build and install a shared archive.
13624
 
archive_cmds=$lt_archive_cmds_CXX
13625
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13626
 
postinstall_cmds=$lt_postinstall_cmds
13627
 
postuninstall_cmds=$lt_postuninstall_cmds
13628
 
 
13629
 
# Commands used to build a loadable module (assumed same as above if empty)
13630
 
module_cmds=$lt_module_cmds_CXX
13631
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13632
 
 
13633
 
# Commands to strip libraries.
13634
 
old_striplib=$lt_old_striplib
13635
 
striplib=$lt_striplib
13636
 
 
13637
 
# Dependencies to place before the objects being linked to create a
13638
 
# shared library.
13639
 
predep_objects=\`echo $lt_predep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13640
 
 
13641
 
# Dependencies to place after the objects being linked to create a
13642
 
# shared library.
13643
 
postdep_objects=\`echo $lt_postdep_objects_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13644
 
 
13645
 
# Dependencies to place before the objects being linked to create a
13646
 
# shared library.
13647
 
predeps=$lt_predeps_CXX
13648
 
 
13649
 
# Dependencies to place after the objects being linked to create a
13650
 
# shared library.
13651
 
postdeps=$lt_postdeps_CXX
13652
 
 
13653
 
# The library search path used internally by the compiler when linking
13654
 
# a shared library.
13655
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_CXX | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13656
 
 
13657
 
# Method to check whether dependent libraries are shared objects.
13658
 
deplibs_check_method=$lt_deplibs_check_method
13659
 
 
13660
 
# Command to use when deplibs_check_method == file_magic.
13661
 
file_magic_cmd=$lt_file_magic_cmd
13662
 
 
13663
 
# Flag that allows shared libraries with undefined symbols to be built.
13664
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13665
 
 
13666
 
# Flag that forces no undefined symbols.
13667
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13668
 
 
13669
 
# Commands used to finish a libtool library installation in a directory.
13670
 
finish_cmds=$lt_finish_cmds
13671
 
 
13672
 
# Same as above, but a single script fragment to be evaled but not shown.
13673
 
finish_eval=$lt_finish_eval
13674
 
 
13675
 
# Take the output of nm and produce a listing of raw symbols and C names.
13676
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13677
 
 
13678
 
# Transform the output of nm in a proper C declaration
13679
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13680
 
 
13681
 
# Transform the output of nm in a C name address pair
13682
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13683
 
 
13684
 
# This is the shared library runtime path variable.
13685
 
runpath_var=$runpath_var
13686
 
 
13687
 
# This is the shared library path variable.
13688
 
shlibpath_var=$shlibpath_var
13689
 
 
13690
 
# Is shlibpath searched before the hard-coded library search path?
13691
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13692
 
 
13693
 
# How to hardcode a shared library path into an executable.
13694
 
hardcode_action=$hardcode_action_CXX
13695
 
 
13696
 
# Whether we should hardcode library paths into libraries.
13697
 
hardcode_into_libs=$hardcode_into_libs
13698
 
 
13699
 
# Flag to hardcode \$libdir into a binary during linking.
13700
 
# This must work even if \$libdir does not exist.
13701
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13702
 
 
13703
 
# If ld is used when linking, flag to hardcode \$libdir into
13704
 
# a binary during linking. This must work even if \$libdir does
13705
 
# not exist.
13706
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13707
 
 
13708
 
# Whether we need a single -rpath flag with a separated argument.
13709
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13710
 
 
13711
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13712
 
# resulting binary.
13713
 
hardcode_direct=$hardcode_direct_CXX
13714
 
 
13715
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13716
 
# resulting binary.
13717
 
hardcode_minus_L=$hardcode_minus_L_CXX
13718
 
 
13719
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13720
 
# the resulting binary.
13721
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13722
 
 
13723
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13724
 
# and all subsequent libraries and executables linked against it.
13725
 
hardcode_automatic=$hardcode_automatic_CXX
13726
 
 
13727
 
# Variables whose values should be saved in libtool wrapper scripts and
13728
 
# restored at relink time.
13729
 
variables_saved_for_relink="$variables_saved_for_relink"
13730
 
 
13731
 
# Whether libtool must link a program against all its dependency libraries.
13732
 
link_all_deplibs=$link_all_deplibs_CXX
13733
 
 
13734
 
# Compile-time system search path for libraries
13735
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
13736
 
 
13737
 
# Run-time system search path for libraries
13738
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13739
 
 
13740
 
# Fix the shell variable \$srcfile for the compiler.
13741
 
fix_srcfile_path="$fix_srcfile_path_CXX"
13742
 
 
13743
 
# Set to yes if exported symbols are required.
13744
 
always_export_symbols=$always_export_symbols_CXX
13745
 
 
13746
 
# The commands to list exported symbols.
13747
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13748
 
 
13749
 
# The commands to extract the exported symbol list from a shared archive.
13750
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13751
 
 
13752
 
# Symbols that should not be listed in the preloaded symbols.
13753
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13754
 
 
13755
 
# Symbols that must always be exported.
13756
 
include_expsyms=$lt_include_expsyms_CXX
13757
 
 
13758
 
# ### END LIBTOOL TAG CONFIG: $tagname
13759
 
 
13760
 
__EOF__
13761
 
 
13762
 
 
13763
 
else
13764
 
  # If there is no Makefile yet, we rely on a make rule to execute
13765
 
  # `config.status --recheck' to rerun these tests and create the
13766
 
  # libtool script then.
13767
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13768
 
  if test -f "$ltmain_in"; then
13769
 
    test -f Makefile && make "$ltmain"
13770
 
  fi
13771
 
fi
13772
 
 
13773
 
 
13774
 
ac_ext=c
13775
 
ac_cpp='$CPP $CPPFLAGS'
13776
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13779
 
 
13780
 
CC=$lt_save_CC
13781
 
LDCXX=$LD
13782
 
LD=$lt_save_LD
13783
 
GCC=$lt_save_GCC
13784
 
with_gnu_ldcxx=$with_gnu_ld
13785
 
with_gnu_ld=$lt_save_with_gnu_ld
13786
 
lt_cv_path_LDCXX=$lt_cv_path_LD
13787
 
lt_cv_path_LD=$lt_save_path_LD
13788
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13789
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13790
 
 
13791
 
        else
13792
 
          tagname=""
13793
 
        fi
13794
 
        ;;
13795
 
 
13796
 
      F77)
13797
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
13798
 
 
13799
 
ac_ext=f
13800
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13801
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13802
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13803
 
 
13804
 
 
13805
 
archive_cmds_need_lc_F77=no
13806
 
allow_undefined_flag_F77=
13807
 
always_export_symbols_F77=no
13808
 
archive_expsym_cmds_F77=
13809
 
export_dynamic_flag_spec_F77=
13810
 
hardcode_direct_F77=no
13811
 
hardcode_libdir_flag_spec_F77=
13812
 
hardcode_libdir_flag_spec_ld_F77=
13813
 
hardcode_libdir_separator_F77=
13814
 
hardcode_minus_L_F77=no
13815
 
hardcode_automatic_F77=no
13816
 
module_cmds_F77=
13817
 
module_expsym_cmds_F77=
13818
 
link_all_deplibs_F77=unknown
13819
 
old_archive_cmds_F77=$old_archive_cmds
13820
 
no_undefined_flag_F77=
13821
 
whole_archive_flag_spec_F77=
13822
 
enable_shared_with_static_runtimes_F77=no
13823
 
 
13824
 
# Source file extension for f77 test sources.
13825
 
ac_ext=f
13826
 
 
13827
 
# Object file extension for compiled f77 test sources.
13828
 
objext=o
13829
 
objext_F77=$objext
13830
 
 
13831
 
# Code to be used in simple compile tests
13832
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
13833
 
 
13834
 
# Code to be used in simple link tests
13835
 
lt_simple_link_test_code="      program t\n      end\n"
13836
 
 
13837
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13838
 
 
13839
 
# If no C compiler was specified, use CC.
13840
 
LTCC=${LTCC-"$CC"}
13841
 
 
13842
 
# If no C compiler flags were specified, use CFLAGS.
13843
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13844
 
 
13845
 
# Allow CC to be a program name with arguments.
13846
 
compiler=$CC
13847
 
 
13848
 
 
13849
 
# save warnings/boilerplate of simple test code
13850
 
ac_outfile=conftest.$ac_objext
13851
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13852
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13853
 
_lt_compiler_boilerplate=`cat conftest.err`
13854
 
$rm conftest*
13855
 
 
13856
 
ac_outfile=conftest.$ac_objext
13857
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13858
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13859
 
_lt_linker_boilerplate=`cat conftest.err`
13860
 
$rm conftest*
13861
 
 
13862
 
 
13863
 
# Allow CC to be a program name with arguments.
13864
 
lt_save_CC="$CC"
13865
 
CC=${F77-"f77"}
13866
 
compiler=$CC
13867
 
compiler_F77=$CC
13868
 
for cc_temp in $compiler""; do
13869
 
  case $cc_temp in
13870
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13871
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13872
 
    \-*) ;;
13873
 
    *) break;;
13874
 
  esac
13875
 
done
13876
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13877
 
 
13878
 
 
13879
 
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13880
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13881
 
echo "$as_me:$LINENO: result: $can_build_shared" >&5
13882
 
echo "${ECHO_T}$can_build_shared" >&6
13883
 
 
13884
 
echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13885
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13886
 
test "$can_build_shared" = "no" && enable_shared=no
13887
 
 
13888
 
# On AIX, shared libraries and static libraries use the same namespace, and
13889
 
# are all built from PIC.
13890
 
case $host_os in
13891
 
aix3*)
13892
 
  test "$enable_shared" = yes && enable_static=no
13893
 
  if test -n "$RANLIB"; then
13894
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
13895
 
    postinstall_cmds='$RANLIB $lib'
13896
 
  fi
13897
 
  ;;
13898
 
aix4* | aix5*)
13899
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13900
 
    test "$enable_shared" = yes && enable_static=no
13901
 
  fi
13902
 
  ;;
13903
 
esac
13904
 
echo "$as_me:$LINENO: result: $enable_shared" >&5
13905
 
echo "${ECHO_T}$enable_shared" >&6
13906
 
 
13907
 
echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13908
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13909
 
# Make sure either enable_shared or enable_static is yes.
13910
 
test "$enable_shared" = yes || enable_static=yes
13911
 
echo "$as_me:$LINENO: result: $enable_static" >&5
13912
 
echo "${ECHO_T}$enable_static" >&6
13913
 
 
13914
 
GCC_F77="$G77"
13915
 
LD_F77="$LD"
13916
 
 
13917
 
lt_prog_compiler_wl_F77=
13918
 
lt_prog_compiler_pic_F77=
13919
 
lt_prog_compiler_static_F77=
13920
 
 
13921
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13922
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13923
 
 
13924
 
  if test "$GCC" = yes; then
13925
 
    lt_prog_compiler_wl_F77='-Wl,'
13926
 
    lt_prog_compiler_static_F77='-static'
13927
 
 
13928
 
    case $host_os in
13929
 
      aix*)
13930
 
      # All AIX code is PIC.
13931
 
      if test "$host_cpu" = ia64; then
13932
 
        # AIX 5 now supports IA64 processor
13933
 
        lt_prog_compiler_static_F77='-Bstatic'
13934
 
      fi
13935
 
      ;;
13936
 
 
13937
 
    amigaos*)
13938
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13939
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13940
 
      # like `-m68040'.
13941
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
13942
 
      ;;
13943
 
 
13944
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13945
 
      # PIC is the default for these OSes.
13946
 
      ;;
13947
 
 
13948
 
    mingw* | pw32* | os2*)
13949
 
      # This hack is so that the source file can tell whether it is being
13950
 
      # built for inclusion in a dll (and should export symbols for example).
13951
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13952
 
      ;;
13953
 
 
13954
 
    darwin* | rhapsody*)
13955
 
      # PIC is the default on this platform
13956
 
      # Common symbols not allowed in MH_DYLIB files
13957
 
      lt_prog_compiler_pic_F77='-fno-common'
13958
 
      ;;
13959
 
 
13960
 
    interix3*)
13961
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13962
 
      # Instead, we relocate shared libraries at runtime.
13963
 
      ;;
13964
 
 
13965
 
    msdosdjgpp*)
13966
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
13967
 
      # on systems that don't support them.
13968
 
      lt_prog_compiler_can_build_shared_F77=no
13969
 
      enable_shared=no
13970
 
      ;;
13971
 
 
13972
 
    sysv4*MP*)
13973
 
      if test -d /usr/nec; then
13974
 
        lt_prog_compiler_pic_F77=-Kconform_pic
13975
 
      fi
13976
 
      ;;
13977
 
 
13978
 
    hpux*)
13979
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13980
 
      # not for PA HP-UX.
13981
 
      case $host_cpu in
13982
 
      hppa*64*|ia64*)
13983
 
        # +Z the default
13984
 
        ;;
13985
 
      *)
13986
 
        lt_prog_compiler_pic_F77='-fPIC'
13987
 
        ;;
13988
 
      esac
13989
 
      ;;
13990
 
 
13991
 
    *)
13992
 
      lt_prog_compiler_pic_F77='-fPIC'
13993
 
      ;;
13994
 
    esac
13995
 
  else
13996
 
    # PORTME Check for flag to pass linker flags through the system compiler.
13997
 
    case $host_os in
13998
 
    aix*)
13999
 
      lt_prog_compiler_wl_F77='-Wl,'
14000
 
      if test "$host_cpu" = ia64; then
14001
 
        # AIX 5 now supports IA64 processor
14002
 
        lt_prog_compiler_static_F77='-Bstatic'
14003
 
      else
14004
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14005
 
      fi
14006
 
      ;;
14007
 
      darwin*)
14008
 
        # PIC is the default on this platform
14009
 
        # Common symbols not allowed in MH_DYLIB files
14010
 
       case $cc_basename in
14011
 
         xlc*)
14012
 
         lt_prog_compiler_pic_F77='-qnocommon'
14013
 
         lt_prog_compiler_wl_F77='-Wl,'
14014
 
         ;;
14015
 
       esac
14016
 
       ;;
14017
 
 
14018
 
    mingw* | pw32* | os2*)
14019
 
      # This hack is so that the source file can tell whether it is being
14020
 
      # built for inclusion in a dll (and should export symbols for example).
14021
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14022
 
      ;;
14023
 
 
14024
 
    hpux9* | hpux10* | hpux11*)
14025
 
      lt_prog_compiler_wl_F77='-Wl,'
14026
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14027
 
      # not for PA HP-UX.
14028
 
      case $host_cpu in
14029
 
      hppa*64*|ia64*)
14030
 
        # +Z the default
14031
 
        ;;
14032
 
      *)
14033
 
        lt_prog_compiler_pic_F77='+Z'
14034
 
        ;;
14035
 
      esac
14036
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14037
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14038
 
      ;;
14039
 
 
14040
 
    irix5* | irix6* | nonstopux*)
14041
 
      lt_prog_compiler_wl_F77='-Wl,'
14042
 
      # PIC (with -KPIC) is the default.
14043
 
      lt_prog_compiler_static_F77='-non_shared'
14044
 
      ;;
14045
 
 
14046
 
    newsos6)
14047
 
      lt_prog_compiler_pic_F77='-KPIC'
14048
 
      lt_prog_compiler_static_F77='-Bstatic'
14049
 
      ;;
14050
 
 
14051
 
    linux*)
14052
 
      case $cc_basename in
14053
 
      icc* | ecc*)
14054
 
        lt_prog_compiler_wl_F77='-Wl,'
14055
 
        lt_prog_compiler_pic_F77='-KPIC'
14056
 
        lt_prog_compiler_static_F77='-static'
14057
 
        ;;
14058
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14059
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14060
 
        # which looks to be a dead project)
14061
 
        lt_prog_compiler_wl_F77='-Wl,'
14062
 
        lt_prog_compiler_pic_F77='-fpic'
14063
 
        lt_prog_compiler_static_F77='-Bstatic'
14064
 
        ;;
14065
 
      ccc*)
14066
 
        lt_prog_compiler_wl_F77='-Wl,'
14067
 
        # All Alpha code is PIC.
14068
 
        lt_prog_compiler_static_F77='-non_shared'
14069
 
        ;;
14070
 
      esac
14071
 
      ;;
14072
 
 
14073
 
    osf3* | osf4* | osf5*)
14074
 
      lt_prog_compiler_wl_F77='-Wl,'
14075
 
      # All OSF/1 code is PIC.
14076
 
      lt_prog_compiler_static_F77='-non_shared'
14077
 
      ;;
14078
 
 
14079
 
    solaris*)
14080
 
      lt_prog_compiler_pic_F77='-KPIC'
14081
 
      lt_prog_compiler_static_F77='-Bstatic'
14082
 
      case $cc_basename in
14083
 
      f77* | f90* | f95*)
14084
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14085
 
      *)
14086
 
        lt_prog_compiler_wl_F77='-Wl,';;
14087
 
      esac
14088
 
      ;;
14089
 
 
14090
 
    sunos4*)
14091
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14092
 
      lt_prog_compiler_pic_F77='-PIC'
14093
 
      lt_prog_compiler_static_F77='-Bstatic'
14094
 
      ;;
14095
 
 
14096
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14097
 
      lt_prog_compiler_wl_F77='-Wl,'
14098
 
      lt_prog_compiler_pic_F77='-KPIC'
14099
 
      lt_prog_compiler_static_F77='-Bstatic'
14100
 
      ;;
14101
 
 
14102
 
    sysv4*MP*)
14103
 
      if test -d /usr/nec ;then
14104
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14105
 
        lt_prog_compiler_static_F77='-Bstatic'
14106
 
      fi
14107
 
      ;;
14108
 
 
14109
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14110
 
      lt_prog_compiler_wl_F77='-Wl,'
14111
 
      lt_prog_compiler_pic_F77='-KPIC'
14112
 
      lt_prog_compiler_static_F77='-Bstatic'
14113
 
      ;;
14114
 
 
14115
 
    unicos*)
14116
 
      lt_prog_compiler_wl_F77='-Wl,'
14117
 
      lt_prog_compiler_can_build_shared_F77=no
14118
 
      ;;
14119
 
 
14120
 
    uts4*)
14121
 
      lt_prog_compiler_pic_F77='-pic'
14122
 
      lt_prog_compiler_static_F77='-Bstatic'
14123
 
      ;;
14124
 
 
14125
 
    *)
14126
 
      lt_prog_compiler_can_build_shared_F77=no
14127
 
      ;;
14128
 
    esac
14129
 
  fi
14130
 
 
14131
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14132
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
14133
 
 
14134
 
#
14135
 
# Check to make sure the PIC flag actually works.
14136
 
#
14137
 
if test -n "$lt_prog_compiler_pic_F77"; then
14138
 
 
14139
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14140
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
14141
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14142
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14143
 
else
14144
 
  lt_prog_compiler_pic_works_F77=no
14145
 
  ac_outfile=conftest.$ac_objext
14146
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14147
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14148
 
   # Insert the option either (1) after the last *FLAGS variable, or
14149
 
   # (2) before a word containing "conftest.", or (3) at the end.
14150
 
   # Note that $ac_compile itself does not contain backslashes and begins
14151
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14152
 
   # The option is referenced via a variable to avoid confusing sed.
14153
 
   lt_compile=`echo "$ac_compile" | $SED \
14154
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14155
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14156
 
   -e 's:$: $lt_compiler_flag:'`
14157
 
   (eval echo "\"\$as_me:14157: $lt_compile\"" >&5)
14158
 
   (eval "$lt_compile" 2>conftest.err)
14159
 
   ac_status=$?
14160
 
   cat conftest.err >&5
14161
 
   echo "$as_me:14161: \$? = $ac_status" >&5
14162
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14163
 
     # The compiler can only warn and ignore the option if not recognized
14164
 
     # So say no if there are warnings other than the usual output.
14165
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14166
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14167
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14168
 
       lt_prog_compiler_pic_works_F77=yes
14169
 
     fi
14170
 
   fi
14171
 
   $rm conftest*
14172
 
 
14173
 
fi
14174
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14175
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
14176
 
 
14177
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14178
 
    case $lt_prog_compiler_pic_F77 in
14179
 
     "" | " "*) ;;
14180
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14181
 
     esac
14182
 
else
14183
 
    lt_prog_compiler_pic_F77=
14184
 
     lt_prog_compiler_can_build_shared_F77=no
14185
 
fi
14186
 
 
14187
 
fi
14188
 
case $host_os in
14189
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14190
 
  *djgpp*)
14191
 
    lt_prog_compiler_pic_F77=
14192
 
    ;;
14193
 
  *)
14194
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14195
 
    ;;
14196
 
esac
14197
 
 
14198
 
#
14199
 
# Check to make sure the static flag actually works.
14200
 
#
14201
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14202
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14203
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14204
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14205
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14206
 
else
14207
 
  lt_prog_compiler_static_works_F77=no
14208
 
   save_LDFLAGS="$LDFLAGS"
14209
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14210
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
14211
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14212
 
     # The linker can only warn and ignore the option if not recognized
14213
 
     # So say no if there are warnings
14214
 
     if test -s conftest.err; then
14215
 
       # Append any errors to the config.log.
14216
 
       cat conftest.err 1>&5
14217
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14218
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14219
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14220
 
         lt_prog_compiler_static_works_F77=yes
14221
 
       fi
14222
 
     else
14223
 
       lt_prog_compiler_static_works_F77=yes
14224
 
     fi
14225
 
   fi
14226
 
   $rm conftest*
14227
 
   LDFLAGS="$save_LDFLAGS"
14228
 
 
14229
 
fi
14230
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14231
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
14232
 
 
14233
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14234
 
    :
14235
 
else
14236
 
    lt_prog_compiler_static_F77=
14237
 
fi
14238
 
 
14239
 
 
14240
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14241
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14242
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14243
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14244
 
else
14245
 
  lt_cv_prog_compiler_c_o_F77=no
14246
 
   $rm -r conftest 2>/dev/null
14247
 
   mkdir conftest
14248
 
   cd conftest
14249
 
   mkdir out
14250
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14251
 
 
14252
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14253
 
   # Insert the option either (1) after the last *FLAGS variable, or
14254
 
   # (2) before a word containing "conftest.", or (3) at the end.
14255
 
   # Note that $ac_compile itself does not contain backslashes and begins
14256
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14257
 
   lt_compile=`echo "$ac_compile" | $SED \
14258
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14259
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14260
 
   -e 's:$: $lt_compiler_flag:'`
14261
 
   (eval echo "\"\$as_me:14261: $lt_compile\"" >&5)
14262
 
   (eval "$lt_compile" 2>out/conftest.err)
14263
 
   ac_status=$?
14264
 
   cat out/conftest.err >&5
14265
 
   echo "$as_me:14265: \$? = $ac_status" >&5
14266
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14267
 
   then
14268
 
     # The compiler can only warn and ignore the option if not recognized
14269
 
     # So say no if there are warnings
14270
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14271
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14272
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14273
 
       lt_cv_prog_compiler_c_o_F77=yes
14274
 
     fi
14275
 
   fi
14276
 
   chmod u+w . 2>&5
14277
 
   $rm conftest*
14278
 
   # SGI C++ compiler will create directory out/ii_files/ for
14279
 
   # template instantiation
14280
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14281
 
   $rm out/* && rmdir out
14282
 
   cd ..
14283
 
   rmdir conftest
14284
 
   $rm conftest*
14285
 
 
14286
 
fi
14287
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14288
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
14289
 
 
14290
 
 
14291
 
hard_links="nottested"
14292
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14293
 
  # do not overwrite the value of need_locks provided by the user
14294
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14295
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14296
 
  hard_links=yes
14297
 
  $rm conftest*
14298
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14299
 
  touch conftest.a
14300
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14301
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14302
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
14303
 
echo "${ECHO_T}$hard_links" >&6
14304
 
  if test "$hard_links" = no; then
14305
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14306
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14307
 
    need_locks=warn
14308
 
  fi
14309
 
else
14310
 
  need_locks=no
14311
 
fi
14312
 
 
14313
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14314
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14315
 
 
14316
 
  runpath_var=
14317
 
  allow_undefined_flag_F77=
14318
 
  enable_shared_with_static_runtimes_F77=no
14319
 
  archive_cmds_F77=
14320
 
  archive_expsym_cmds_F77=
14321
 
  old_archive_From_new_cmds_F77=
14322
 
  old_archive_from_expsyms_cmds_F77=
14323
 
  export_dynamic_flag_spec_F77=
14324
 
  whole_archive_flag_spec_F77=
14325
 
  thread_safe_flag_spec_F77=
14326
 
  hardcode_libdir_flag_spec_F77=
14327
 
  hardcode_libdir_flag_spec_ld_F77=
14328
 
  hardcode_libdir_separator_F77=
14329
 
  hardcode_direct_F77=no
14330
 
  hardcode_minus_L_F77=no
14331
 
  hardcode_shlibpath_var_F77=unsupported
14332
 
  link_all_deplibs_F77=unknown
14333
 
  hardcode_automatic_F77=no
14334
 
  module_cmds_F77=
14335
 
  module_expsym_cmds_F77=
14336
 
  always_export_symbols_F77=no
14337
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14338
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14339
 
  # included in the symbol list
14340
 
  include_expsyms_F77=
14341
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14342
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14343
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14344
 
  # as well as any symbol that contains `d'.
14345
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14346
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14347
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14348
 
  # the symbol is explicitly referenced.  Since portable code cannot
14349
 
  # rely on this symbol name, it's probably fine to never include it in
14350
 
  # preloaded symbol tables.
14351
 
  extract_expsyms_cmds=
14352
 
  # Just being paranoid about ensuring that cc_basename is set.
14353
 
  for cc_temp in $compiler""; do
14354
 
  case $cc_temp in
14355
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14356
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14357
 
    \-*) ;;
14358
 
    *) break;;
14359
 
  esac
14360
 
done
14361
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14362
 
 
14363
 
  case $host_os in
14364
 
  cygwin* | mingw* | pw32*)
14365
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14366
 
    # When not using gcc, we currently assume that we are using
14367
 
    # Microsoft Visual C++.
14368
 
    if test "$GCC" != yes; then
14369
 
      with_gnu_ld=no
14370
 
    fi
14371
 
    ;;
14372
 
  interix*)
14373
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14374
 
    with_gnu_ld=yes
14375
 
    ;;
14376
 
  openbsd*)
14377
 
    with_gnu_ld=no
14378
 
    ;;
14379
 
  esac
14380
 
 
14381
 
  ld_shlibs_F77=yes
14382
 
  if test "$with_gnu_ld" = yes; then
14383
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14384
 
    wlarc='${wl}'
14385
 
 
14386
 
    # Set some defaults for GNU ld with shared library support. These
14387
 
    # are reset later if shared libraries are not supported. Putting them
14388
 
    # here allows them to be overridden if necessary.
14389
 
    runpath_var=LD_RUN_PATH
14390
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14391
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14392
 
    # ancient GNU ld didn't support --whole-archive et. al.
14393
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14394
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14395
 
      else
14396
 
        whole_archive_flag_spec_F77=
14397
 
    fi
14398
 
    supports_anon_versioning=no
14399
 
    case `$LD -v 2>/dev/null` in
14400
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14401
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14402
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14403
 
      *\ 2.11.*) ;; # other 2.11 versions
14404
 
      *) supports_anon_versioning=yes ;;
14405
 
    esac
14406
 
 
14407
 
    # See if GNU ld supports shared libraries.
14408
 
    case $host_os in
14409
 
    aix3* | aix4* | aix5*)
14410
 
      # On AIX/PPC, the GNU linker is very broken
14411
 
      if test "$host_cpu" != ia64; then
14412
 
        ld_shlibs_F77=no
14413
 
        cat <<EOF 1>&2
14414
 
 
14415
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14416
 
*** to be unable to reliably create shared libraries on AIX.
14417
 
*** Therefore, libtool is disabling shared libraries support.  If you
14418
 
*** really care for shared libraries, you may want to modify your PATH
14419
 
*** so that a non-GNU linker is found, and then restart.
14420
 
 
14421
 
EOF
14422
 
      fi
14423
 
      ;;
14424
 
 
14425
 
    amigaos*)
14426
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14427
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14428
 
      hardcode_minus_L_F77=yes
14429
 
 
14430
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14431
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14432
 
      # to version 4, is to share data among multiple programs linked
14433
 
      # with the same dynamic library.  Since this doesn't match the
14434
 
      # behavior of shared libraries on other platforms, we can't use
14435
 
      # them.
14436
 
      ld_shlibs_F77=no
14437
 
      ;;
14438
 
 
14439
 
    beos*)
14440
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14441
 
        allow_undefined_flag_F77=unsupported
14442
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14443
 
        # support --undefined.  This deserves some investigation.  FIXME
14444
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14445
 
      else
14446
 
        ld_shlibs_F77=no
14447
 
      fi
14448
 
      ;;
14449
 
 
14450
 
    cygwin* | mingw* | pw32*)
14451
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14452
 
      # as there is no search path for DLLs.
14453
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14454
 
      allow_undefined_flag_F77=unsupported
14455
 
      always_export_symbols_F77=no
14456
 
      enable_shared_with_static_runtimes_F77=yes
14457
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14458
 
 
14459
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14460
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14461
 
        # If the export-symbols file already is a .def file (1st line
14462
 
        # is EXPORTS), use it as is; otherwise, prepend...
14463
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14464
 
          cp $export_symbols $output_objdir/$soname.def;
14465
 
        else
14466
 
          echo EXPORTS > $output_objdir/$soname.def;
14467
 
          cat $export_symbols >> $output_objdir/$soname.def;
14468
 
        fi~
14469
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14470
 
      else
14471
 
        ld_shlibs_F77=no
14472
 
      fi
14473
 
      ;;
14474
 
 
14475
 
    interix3*)
14476
 
      hardcode_direct_F77=no
14477
 
      hardcode_shlibpath_var_F77=no
14478
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14479
 
      export_dynamic_flag_spec_F77='${wl}-E'
14480
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14481
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14482
 
      # default) and relocated if they conflict, which is a slow very memory
14483
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14484
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14485
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14486
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14487
 
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14488
 
      ;;
14489
 
 
14490
 
    linux*)
14491
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14492
 
        tmp_addflag=
14493
 
        case $cc_basename,$host_cpu in
14494
 
        pgcc*)                          # Portland Group C compiler
14495
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14496
 
          tmp_addflag=' $pic_flag'
14497
 
          ;;
14498
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14499
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14500
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14501
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14502
 
          tmp_addflag=' -i_dynamic' ;;
14503
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14504
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14505
 
        ifc* | ifort*)                  # Intel Fortran compiler
14506
 
          tmp_addflag=' -nofor_main' ;;
14507
 
        esac
14508
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14509
 
 
14510
 
        if test $supports_anon_versioning = yes; then
14511
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14512
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14513
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14514
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14515
 
        fi
14516
 
      else
14517
 
        ld_shlibs_F77=no
14518
 
      fi
14519
 
      ;;
14520
 
 
14521
 
    netbsd*)
14522
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14523
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14524
 
        wlarc=
14525
 
      else
14526
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14527
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14528
 
      fi
14529
 
      ;;
14530
 
 
14531
 
    solaris*)
14532
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14533
 
        ld_shlibs_F77=no
14534
 
        cat <<EOF 1>&2
14535
 
 
14536
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14537
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14538
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14539
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14540
 
*** your PATH or compiler configuration so that the native linker is
14541
 
*** used, and then restart.
14542
 
 
14543
 
EOF
14544
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14545
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14546
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14547
 
      else
14548
 
        ld_shlibs_F77=no
14549
 
      fi
14550
 
      ;;
14551
 
 
14552
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14553
 
      case `$LD -v 2>&1` in
14554
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14555
 
        ld_shlibs_F77=no
14556
 
        cat <<_LT_EOF 1>&2
14557
 
 
14558
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14559
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14560
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14561
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14562
 
*** your PATH or compiler configuration so that the native linker is
14563
 
*** used, and then restart.
14564
 
 
14565
 
_LT_EOF
14566
 
        ;;
14567
 
        *)
14568
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14569
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14570
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14571
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14572
 
          else
14573
 
            ld_shlibs_F77=no
14574
 
          fi
14575
 
        ;;
14576
 
      esac
14577
 
      ;;
14578
 
 
14579
 
    sunos4*)
14580
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14581
 
      wlarc=
14582
 
      hardcode_direct_F77=yes
14583
 
      hardcode_shlibpath_var_F77=no
14584
 
      ;;
14585
 
 
14586
 
    *)
14587
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14588
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14589
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14590
 
      else
14591
 
        ld_shlibs_F77=no
14592
 
      fi
14593
 
      ;;
14594
 
    esac
14595
 
 
14596
 
    if test "$ld_shlibs_F77" = no; then
14597
 
      runpath_var=
14598
 
      hardcode_libdir_flag_spec_F77=
14599
 
      export_dynamic_flag_spec_F77=
14600
 
      whole_archive_flag_spec_F77=
14601
 
    fi
14602
 
  else
14603
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14604
 
    case $host_os in
14605
 
    aix3*)
14606
 
      allow_undefined_flag_F77=unsupported
14607
 
      always_export_symbols_F77=yes
14608
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14609
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14610
 
      # are no directories specified by -L.
14611
 
      hardcode_minus_L_F77=yes
14612
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14613
 
        # Neither direct hardcoding nor static linking is supported with a
14614
 
        # broken collect2.
14615
 
        hardcode_direct_F77=unsupported
14616
 
      fi
14617
 
      ;;
14618
 
 
14619
 
    aix4* | aix5*)
14620
 
      if test "$host_cpu" = ia64; then
14621
 
        # On IA64, the linker does run time linking by default, so we don't
14622
 
        # have to do anything special.
14623
 
        aix_use_runtimelinking=no
14624
 
        exp_sym_flag='-Bexport'
14625
 
        no_entry_flag=""
14626
 
      else
14627
 
        # If we're using GNU nm, then we don't want the "-C" option.
14628
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14629
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14630
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14631
 
        else
14632
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
14633
 
        fi
14634
 
        aix_use_runtimelinking=no
14635
 
 
14636
 
        # Test if we are trying to use run time linking or normal
14637
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14638
 
        # need to do runtime linking.
14639
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14640
 
          for ld_flag in $LDFLAGS; do
14641
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14642
 
            aix_use_runtimelinking=yes
14643
 
            break
14644
 
          fi
14645
 
          done
14646
 
          ;;
14647
 
        esac
14648
 
 
14649
 
        exp_sym_flag='-bexport'
14650
 
        no_entry_flag='-bnoentry'
14651
 
      fi
14652
 
 
14653
 
      # When large executables or shared objects are built, AIX ld can
14654
 
      # have problems creating the table of contents.  If linking a library
14655
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14656
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14657
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14658
 
 
14659
 
      archive_cmds_F77=''
14660
 
      hardcode_direct_F77=yes
14661
 
      hardcode_libdir_separator_F77=':'
14662
 
      link_all_deplibs_F77=yes
14663
 
 
14664
 
      if test "$GCC" = yes; then
14665
 
        case $host_os in aix4.[012]|aix4.[012].*)
14666
 
        # We only want to do this on AIX 4.2 and lower, the check
14667
 
        # below for broken collect2 doesn't work under 4.3+
14668
 
          collect2name=`${CC} -print-prog-name=collect2`
14669
 
          if test -f "$collect2name" && \
14670
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14671
 
          then
14672
 
          # We have reworked collect2
14673
 
          hardcode_direct_F77=yes
14674
 
          else
14675
 
          # We have old collect2
14676
 
          hardcode_direct_F77=unsupported
14677
 
          # It fails to find uninstalled libraries when the uninstalled
14678
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14679
 
          # to unsupported forces relinking
14680
 
          hardcode_minus_L_F77=yes
14681
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14682
 
          hardcode_libdir_separator_F77=
14683
 
          fi
14684
 
          ;;
14685
 
        esac
14686
 
        shared_flag='-shared'
14687
 
        if test "$aix_use_runtimelinking" = yes; then
14688
 
          shared_flag="$shared_flag "'${wl}-G'
14689
 
        fi
14690
 
      else
14691
 
        # not using gcc
14692
 
        if test "$host_cpu" = ia64; then
14693
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14694
 
        # chokes on -Wl,-G. The following line is correct:
14695
 
          shared_flag='-G'
14696
 
        else
14697
 
          if test "$aix_use_runtimelinking" = yes; then
14698
 
            shared_flag='${wl}-G'
14699
 
          else
14700
 
            shared_flag='${wl}-bM:SRE'
14701
 
          fi
14702
 
        fi
14703
 
      fi
14704
 
 
14705
 
      # It seems that -bexpall does not export symbols beginning with
14706
 
      # underscore (_), so it is better to generate a list of symbols to export.
14707
 
      always_export_symbols_F77=yes
14708
 
      if test "$aix_use_runtimelinking" = yes; then
14709
 
        # Warning - without using the other runtime loading flags (-brtl),
14710
 
        # -berok will link without error, but may produce a broken library.
14711
 
        allow_undefined_flag_F77='-berok'
14712
 
       # Determine the default libpath from the value encoded in an empty executable.
14713
 
       cat >conftest.$ac_ext <<_ACEOF
14714
 
      program main
14715
 
 
14716
 
      end
14717
 
_ACEOF
14718
 
rm -f conftest.$ac_objext conftest$ac_exeext
14719
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14720
 
  (eval $ac_link) 2>conftest.er1
14721
 
  ac_status=$?
14722
 
  grep -v '^ *+' conftest.er1 >conftest.err
14723
 
  rm -f conftest.er1
14724
 
  cat conftest.err >&5
14725
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726
 
  (exit $ac_status); } &&
14727
 
         { ac_try='test -z "$ac_f77_werror_flag"
14728
 
                         || test ! -s conftest.err'
14729
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14730
 
  (eval $ac_try) 2>&5
14731
 
  ac_status=$?
14732
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733
 
  (exit $ac_status); }; } &&
14734
 
         { ac_try='test -s conftest$ac_exeext'
14735
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14736
 
  (eval $ac_try) 2>&5
14737
 
  ac_status=$?
14738
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14739
 
  (exit $ac_status); }; }; then
14740
 
 
14741
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14742
 
}'`
14743
 
# Check for a 64-bit object if we didn't find anything.
14744
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14745
 
}'`; fi
14746
 
else
14747
 
  echo "$as_me: failed program was:" >&5
14748
 
sed 's/^/| /' conftest.$ac_ext >&5
14749
 
 
14750
 
fi
14751
 
rm -f conftest.err conftest.$ac_objext \
14752
 
      conftest$ac_exeext conftest.$ac_ext
14753
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14754
 
 
14755
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14756
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14757
 
       else
14758
 
        if test "$host_cpu" = ia64; then
14759
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14760
 
          allow_undefined_flag_F77="-z nodefs"
14761
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14762
 
        else
14763
 
         # Determine the default libpath from the value encoded in an empty executable.
14764
 
         cat >conftest.$ac_ext <<_ACEOF
14765
 
      program main
14766
 
 
14767
 
      end
14768
 
_ACEOF
14769
 
rm -f conftest.$ac_objext conftest$ac_exeext
14770
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14771
 
  (eval $ac_link) 2>conftest.er1
14772
 
  ac_status=$?
14773
 
  grep -v '^ *+' conftest.er1 >conftest.err
14774
 
  rm -f conftest.er1
14775
 
  cat conftest.err >&5
14776
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777
 
  (exit $ac_status); } &&
14778
 
         { ac_try='test -z "$ac_f77_werror_flag"
14779
 
                         || test ! -s conftest.err'
14780
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14781
 
  (eval $ac_try) 2>&5
14782
 
  ac_status=$?
14783
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784
 
  (exit $ac_status); }; } &&
14785
 
         { ac_try='test -s conftest$ac_exeext'
14786
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14787
 
  (eval $ac_try) 2>&5
14788
 
  ac_status=$?
14789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790
 
  (exit $ac_status); }; }; then
14791
 
 
14792
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14793
 
}'`
14794
 
# Check for a 64-bit object if we didn't find anything.
14795
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
14796
 
}'`; fi
14797
 
else
14798
 
  echo "$as_me: failed program was:" >&5
14799
 
sed 's/^/| /' conftest.$ac_ext >&5
14800
 
 
14801
 
fi
14802
 
rm -f conftest.err conftest.$ac_objext \
14803
 
      conftest$ac_exeext conftest.$ac_ext
14804
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14805
 
 
14806
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14807
 
          # Warning - without using the other run time loading flags,
14808
 
          # -berok will link without error, but may produce a broken library.
14809
 
          no_undefined_flag_F77=' ${wl}-bernotok'
14810
 
          allow_undefined_flag_F77=' ${wl}-berok'
14811
 
          # Exported symbols can be pulled into shared objects from archives
14812
 
          whole_archive_flag_spec_F77='$convenience'
14813
 
          archive_cmds_need_lc_F77=yes
14814
 
          # This is similar to how AIX traditionally builds its shared libraries.
14815
 
          archive_expsym_cmds_F77="\$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'
14816
 
        fi
14817
 
      fi
14818
 
      ;;
14819
 
 
14820
 
    amigaos*)
14821
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14822
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14823
 
      hardcode_minus_L_F77=yes
14824
 
      # see comment about different semantics on the GNU ld section
14825
 
      ld_shlibs_F77=no
14826
 
      ;;
14827
 
 
14828
 
    bsdi[45]*)
14829
 
      export_dynamic_flag_spec_F77=-rdynamic
14830
 
      ;;
14831
 
 
14832
 
    cygwin* | mingw* | pw32*)
14833
 
      # When not using gcc, we currently assume that we are using
14834
 
      # Microsoft Visual C++.
14835
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
14836
 
      # no search path for DLLs.
14837
 
      hardcode_libdir_flag_spec_F77=' '
14838
 
      allow_undefined_flag_F77=unsupported
14839
 
      # Tell ltmain to make .lib files, not .a files.
14840
 
      libext=lib
14841
 
      # Tell ltmain to make .dll files, not .so files.
14842
 
      shrext_cmds=".dll"
14843
 
      # FIXME: Setting linknames here is a bad hack.
14844
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14845
 
      # The linker will automatically build a .lib file if we build a DLL.
14846
 
      old_archive_From_new_cmds_F77='true'
14847
 
      # FIXME: Should let the user specify the lib program.
14848
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14849
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14850
 
      enable_shared_with_static_runtimes_F77=yes
14851
 
      ;;
14852
 
 
14853
 
    darwin* | rhapsody*)
14854
 
      case $host_os in
14855
 
        rhapsody* | darwin1.[012])
14856
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14857
 
         ;;
14858
 
       *) # Darwin 1.3 on
14859
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14860
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14861
 
         else
14862
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
14863
 
             10.[012])
14864
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14865
 
               ;;
14866
 
             10.*)
14867
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14868
 
               ;;
14869
 
           esac
14870
 
         fi
14871
 
         ;;
14872
 
      esac
14873
 
      archive_cmds_need_lc_F77=no
14874
 
      hardcode_direct_F77=no
14875
 
      hardcode_automatic_F77=yes
14876
 
      hardcode_shlibpath_var_F77=unsupported
14877
 
      whole_archive_flag_spec_F77=''
14878
 
      link_all_deplibs_F77=yes
14879
 
    if test "$GCC" = yes ; then
14880
 
        output_verbose_link_cmd='echo'
14881
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14882
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14883
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14884
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14885
 
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14886
 
    else
14887
 
      case $cc_basename in
14888
 
        xlc*)
14889
 
         output_verbose_link_cmd='echo'
14890
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14891
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14892
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14893
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14894
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14895
 
          ;;
14896
 
       *)
14897
 
         ld_shlibs_F77=no
14898
 
          ;;
14899
 
      esac
14900
 
    fi
14901
 
      ;;
14902
 
 
14903
 
    dgux*)
14904
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14905
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14906
 
      hardcode_shlibpath_var_F77=no
14907
 
      ;;
14908
 
 
14909
 
    freebsd1*)
14910
 
      ld_shlibs_F77=no
14911
 
      ;;
14912
 
 
14913
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14914
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
14915
 
    # does not break anything, and helps significantly (at the cost of a little
14916
 
    # extra space).
14917
 
    freebsd2.2*)
14918
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14919
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14920
 
      hardcode_direct_F77=yes
14921
 
      hardcode_shlibpath_var_F77=no
14922
 
      ;;
14923
 
 
14924
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14925
 
    freebsd2*)
14926
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14927
 
      hardcode_direct_F77=yes
14928
 
      hardcode_minus_L_F77=yes
14929
 
      hardcode_shlibpath_var_F77=no
14930
 
      ;;
14931
 
 
14932
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14933
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
14934
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14935
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
14936
 
      hardcode_direct_F77=yes
14937
 
      hardcode_shlibpath_var_F77=no
14938
 
      ;;
14939
 
 
14940
 
    hpux9*)
14941
 
      if test "$GCC" = yes; then
14942
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14943
 
      else
14944
 
        archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
14945
 
      fi
14946
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14947
 
      hardcode_libdir_separator_F77=:
14948
 
      hardcode_direct_F77=yes
14949
 
 
14950
 
      # hardcode_minus_L: Not really in the search PATH,
14951
 
      # but as the default location of the library.
14952
 
      hardcode_minus_L_F77=yes
14953
 
      export_dynamic_flag_spec_F77='${wl}-E'
14954
 
      ;;
14955
 
 
14956
 
    hpux10*)
14957
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14958
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14959
 
      else
14960
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14961
 
      fi
14962
 
      if test "$with_gnu_ld" = no; then
14963
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
14964
 
        hardcode_libdir_separator_F77=:
14965
 
 
14966
 
        hardcode_direct_F77=yes
14967
 
        export_dynamic_flag_spec_F77='${wl}-E'
14968
 
 
14969
 
        # hardcode_minus_L: Not really in the search PATH,
14970
 
        # but as the default location of the library.
14971
 
        hardcode_minus_L_F77=yes
14972
 
      fi
14973
 
      ;;
14974
 
 
14975
 
    hpux11*)
14976
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
14977
 
        case $host_cpu in
14978
 
        hppa*64*)
14979
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14980
 
          ;;
14981
 
        ia64*)
14982
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14983
 
          ;;
14984
 
        *)
14985
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14986
 
          ;;
14987
 
        esac
14988
 
      else
14989
 
        case $host_cpu in
14990
 
        hppa*64*)
14991
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14992
 
          ;;
14993
 
        ia64*)
14994
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14995
 
          ;;
14996
 
        *)
14997
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14998
 
          ;;
14999
 
        esac
15000
 
      fi
15001
 
      if test "$with_gnu_ld" = no; then
15002
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15003
 
        hardcode_libdir_separator_F77=:
15004
 
 
15005
 
        case $host_cpu in
15006
 
        hppa*64*|ia64*)
15007
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15008
 
          hardcode_direct_F77=no
15009
 
          hardcode_shlibpath_var_F77=no
15010
 
          ;;
15011
 
        *)
15012
 
          hardcode_direct_F77=yes
15013
 
          export_dynamic_flag_spec_F77='${wl}-E'
15014
 
 
15015
 
          # hardcode_minus_L: Not really in the search PATH,
15016
 
          # but as the default location of the library.
15017
 
          hardcode_minus_L_F77=yes
15018
 
          ;;
15019
 
        esac
15020
 
      fi
15021
 
      ;;
15022
 
 
15023
 
    irix5* | irix6* | nonstopux*)
15024
 
      if test "$GCC" = yes; then
15025
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15026
 
      else
15027
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15028
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15029
 
      fi
15030
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15031
 
      hardcode_libdir_separator_F77=:
15032
 
      link_all_deplibs_F77=yes
15033
 
      ;;
15034
 
 
15035
 
    netbsd*)
15036
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15037
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15038
 
      else
15039
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15040
 
      fi
15041
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15042
 
      hardcode_direct_F77=yes
15043
 
      hardcode_shlibpath_var_F77=no
15044
 
      ;;
15045
 
 
15046
 
    newsos6)
15047
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15048
 
      hardcode_direct_F77=yes
15049
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15050
 
      hardcode_libdir_separator_F77=:
15051
 
      hardcode_shlibpath_var_F77=no
15052
 
      ;;
15053
 
 
15054
 
    openbsd*)
15055
 
      hardcode_direct_F77=yes
15056
 
      hardcode_shlibpath_var_F77=no
15057
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15058
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15059
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15060
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15061
 
        export_dynamic_flag_spec_F77='${wl}-E'
15062
 
      else
15063
 
       case $host_os in
15064
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15065
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15066
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
15067
 
           ;;
15068
 
         *)
15069
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15070
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15071
 
           ;;
15072
 
       esac
15073
 
      fi
15074
 
      ;;
15075
 
 
15076
 
    os2*)
15077
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15078
 
      hardcode_minus_L_F77=yes
15079
 
      allow_undefined_flag_F77=unsupported
15080
 
      archive_cmds_F77='$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'
15081
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15082
 
      ;;
15083
 
 
15084
 
    osf3*)
15085
 
      if test "$GCC" = yes; then
15086
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15087
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15088
 
      else
15089
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15090
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15091
 
      fi
15092
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15093
 
      hardcode_libdir_separator_F77=:
15094
 
      ;;
15095
 
 
15096
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15097
 
      if test "$GCC" = yes; then
15098
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15099
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15100
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15101
 
      else
15102
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15103
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15104
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15105
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15106
 
 
15107
 
        # Both c and cxx compiler support -rpath directly
15108
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15109
 
      fi
15110
 
      hardcode_libdir_separator_F77=:
15111
 
      ;;
15112
 
 
15113
 
    solaris*)
15114
 
      no_undefined_flag_F77=' -z text'
15115
 
      if test "$GCC" = yes; then
15116
 
        wlarc='${wl}'
15117
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15118
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15119
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15120
 
      else
15121
 
        wlarc=''
15122
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15123
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15124
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15125
 
      fi
15126
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15127
 
      hardcode_shlibpath_var_F77=no
15128
 
      case $host_os in
15129
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15130
 
      *)
15131
 
        # The compiler driver will combine linker options so we
15132
 
        # cannot just pass the convience library names through
15133
 
        # without $wl, iff we do not link with $LD.
15134
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
15135
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15136
 
        case $wlarc in
15137
 
        '')
15138
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15139
 
        *)
15140
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15141
 
        esac ;;
15142
 
      esac
15143
 
      link_all_deplibs_F77=yes
15144
 
      ;;
15145
 
 
15146
 
    sunos4*)
15147
 
      if test "x$host_vendor" = xsequent; then
15148
 
        # Use $CC to link under sequent, because it throws in some extra .o
15149
 
        # files that make .init and .fini sections work.
15150
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15151
 
      else
15152
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15153
 
      fi
15154
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15155
 
      hardcode_direct_F77=yes
15156
 
      hardcode_minus_L_F77=yes
15157
 
      hardcode_shlibpath_var_F77=no
15158
 
      ;;
15159
 
 
15160
 
    sysv4)
15161
 
      case $host_vendor in
15162
 
        sni)
15163
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15164
 
          hardcode_direct_F77=yes # is this really true???
15165
 
        ;;
15166
 
        siemens)
15167
 
          ## LD is ld it makes a PLAMLIB
15168
 
          ## CC just makes a GrossModule.
15169
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15170
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15171
 
          hardcode_direct_F77=no
15172
 
        ;;
15173
 
        motorola)
15174
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15175
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15176
 
        ;;
15177
 
      esac
15178
 
      runpath_var='LD_RUN_PATH'
15179
 
      hardcode_shlibpath_var_F77=no
15180
 
      ;;
15181
 
 
15182
 
    sysv4.3*)
15183
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15184
 
      hardcode_shlibpath_var_F77=no
15185
 
      export_dynamic_flag_spec_F77='-Bexport'
15186
 
      ;;
15187
 
 
15188
 
    sysv4*MP*)
15189
 
      if test -d /usr/nec; then
15190
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15191
 
        hardcode_shlibpath_var_F77=no
15192
 
        runpath_var=LD_RUN_PATH
15193
 
        hardcode_runpath_var=yes
15194
 
        ld_shlibs_F77=yes
15195
 
      fi
15196
 
      ;;
15197
 
 
15198
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15199
 
      no_undefined_flag_F77='${wl}-z,text'
15200
 
      archive_cmds_need_lc_F77=no
15201
 
      hardcode_shlibpath_var_F77=no
15202
 
      runpath_var='LD_RUN_PATH'
15203
 
 
15204
 
      if test "$GCC" = yes; then
15205
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15206
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15207
 
      else
15208
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15209
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15210
 
      fi
15211
 
      ;;
15212
 
 
15213
 
    sysv5* | sco3.2v5* | sco5v6*)
15214
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15215
 
      # link with -lc, and that would cause any symbols used from libc to
15216
 
      # always be unresolved, which means just about no library would
15217
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15218
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15219
 
      # as -z defs.
15220
 
      no_undefined_flag_F77='${wl}-z,text'
15221
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15222
 
      archive_cmds_need_lc_F77=no
15223
 
      hardcode_shlibpath_var_F77=no
15224
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15225
 
      hardcode_libdir_separator_F77=':'
15226
 
      link_all_deplibs_F77=yes
15227
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15228
 
      runpath_var='LD_RUN_PATH'
15229
 
 
15230
 
      if test "$GCC" = yes; then
15231
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15232
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15233
 
      else
15234
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15235
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15236
 
      fi
15237
 
      ;;
15238
 
 
15239
 
    uts4*)
15240
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15241
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15242
 
      hardcode_shlibpath_var_F77=no
15243
 
      ;;
15244
 
 
15245
 
    *)
15246
 
      ld_shlibs_F77=no
15247
 
      ;;
15248
 
    esac
15249
 
  fi
15250
 
 
15251
 
echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15252
 
echo "${ECHO_T}$ld_shlibs_F77" >&6
15253
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15254
 
 
15255
 
#
15256
 
# Do we need to explicitly link libc?
15257
 
#
15258
 
case "x$archive_cmds_need_lc_F77" in
15259
 
x|xyes)
15260
 
  # Assume -lc should be added
15261
 
  archive_cmds_need_lc_F77=yes
15262
 
 
15263
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15264
 
    case $archive_cmds_F77 in
15265
 
    *'~'*)
15266
 
      # FIXME: we may have to deal with multi-command sequences.
15267
 
      ;;
15268
 
    '$CC '*)
15269
 
      # Test whether the compiler implicitly links with -lc since on some
15270
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15271
 
      # to ld, don't add -lc before -lgcc.
15272
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15273
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15274
 
      $rm conftest*
15275
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15276
 
 
15277
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15278
 
  (eval $ac_compile) 2>&5
15279
 
  ac_status=$?
15280
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281
 
  (exit $ac_status); } 2>conftest.err; then
15282
 
        soname=conftest
15283
 
        lib=conftest
15284
 
        libobjs=conftest.$ac_objext
15285
 
        deplibs=
15286
 
        wl=$lt_prog_compiler_wl_F77
15287
 
        pic_flag=$lt_prog_compiler_pic_F77
15288
 
        compiler_flags=-v
15289
 
        linker_flags=-v
15290
 
        verstring=
15291
 
        output_objdir=.
15292
 
        libname=conftest
15293
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15294
 
        allow_undefined_flag_F77=
15295
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15296
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15297
 
  ac_status=$?
15298
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299
 
  (exit $ac_status); }
15300
 
        then
15301
 
          archive_cmds_need_lc_F77=no
15302
 
        else
15303
 
          archive_cmds_need_lc_F77=yes
15304
 
        fi
15305
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15306
 
      else
15307
 
        cat conftest.err 1>&5
15308
 
      fi
15309
 
      $rm conftest*
15310
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15311
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
15312
 
      ;;
15313
 
    esac
15314
 
  fi
15315
 
  ;;
15316
 
esac
15317
 
 
15318
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15319
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15320
 
library_names_spec=
15321
 
libname_spec='lib$name'
15322
 
soname_spec=
15323
 
shrext_cmds=".so"
15324
 
postinstall_cmds=
15325
 
postuninstall_cmds=
15326
 
finish_cmds=
15327
 
finish_eval=
15328
 
shlibpath_var=
15329
 
shlibpath_overrides_runpath=unknown
15330
 
version_type=none
15331
 
dynamic_linker="$host_os ld.so"
15332
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15333
 
if test "$GCC" = yes; then
15334
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15335
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15336
 
    # if the path contains ";" then we assume it to be the separator
15337
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15338
 
    # assumed that no part of a normal pathname contains ";" but that should
15339
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15340
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15341
 
  else
15342
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15343
 
  fi
15344
 
else
15345
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15346
 
fi
15347
 
need_lib_prefix=unknown
15348
 
hardcode_into_libs=no
15349
 
 
15350
 
# when you set need_version to no, make sure it does not cause -set_version
15351
 
# flags to be left without arguments
15352
 
need_version=unknown
15353
 
 
15354
 
case $host_os in
15355
 
aix3*)
15356
 
  version_type=linux
15357
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15358
 
  shlibpath_var=LIBPATH
15359
 
 
15360
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15361
 
  soname_spec='${libname}${release}${shared_ext}$major'
15362
 
  ;;
15363
 
 
15364
 
aix4* | aix5*)
15365
 
  version_type=linux
15366
 
  need_lib_prefix=no
15367
 
  need_version=no
15368
 
  hardcode_into_libs=yes
15369
 
  if test "$host_cpu" = ia64; then
15370
 
    # AIX 5 supports IA64
15371
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15372
 
    shlibpath_var=LD_LIBRARY_PATH
15373
 
  else
15374
 
    # With GCC up to 2.95.x, collect2 would create an import file
15375
 
    # for dependence libraries.  The import file would start with
15376
 
    # the line `#! .'.  This would cause the generated library to
15377
 
    # depend on `.', always an invalid library.  This was fixed in
15378
 
    # development snapshots of GCC prior to 3.0.
15379
 
    case $host_os in
15380
 
      aix4 | aix4.[01] | aix4.[01].*)
15381
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15382
 
           echo ' yes '
15383
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15384
 
        :
15385
 
      else
15386
 
        can_build_shared=no
15387
 
      fi
15388
 
      ;;
15389
 
    esac
15390
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15391
 
    # soname into executable. Probably we can add versioning support to
15392
 
    # collect2, so additional links can be useful in future.
15393
 
    if test "$aix_use_runtimelinking" = yes; then
15394
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15395
 
      # instead of lib<name>.a to let people know that these are not
15396
 
      # typical AIX shared libraries.
15397
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15398
 
    else
15399
 
      # We preserve .a as extension for shared libraries through AIX4.2
15400
 
      # and later when we are not doing run time linking.
15401
 
      library_names_spec='${libname}${release}.a $libname.a'
15402
 
      soname_spec='${libname}${release}${shared_ext}$major'
15403
 
    fi
15404
 
    shlibpath_var=LIBPATH
15405
 
  fi
15406
 
  ;;
15407
 
 
15408
 
amigaos*)
15409
 
  library_names_spec='$libname.ixlibrary $libname.a'
15410
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15411
 
  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'
15412
 
  ;;
15413
 
 
15414
 
beos*)
15415
 
  library_names_spec='${libname}${shared_ext}'
15416
 
  dynamic_linker="$host_os ld.so"
15417
 
  shlibpath_var=LIBRARY_PATH
15418
 
  ;;
15419
 
 
15420
 
bsdi[45]*)
15421
 
  version_type=linux
15422
 
  need_version=no
15423
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15424
 
  soname_spec='${libname}${release}${shared_ext}$major'
15425
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15426
 
  shlibpath_var=LD_LIBRARY_PATH
15427
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15428
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15429
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15430
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15431
 
  # libtool to hard-code these into programs
15432
 
  ;;
15433
 
 
15434
 
cygwin* | mingw* | pw32*)
15435
 
  version_type=windows
15436
 
  shrext_cmds=".dll"
15437
 
  need_version=no
15438
 
  need_lib_prefix=no
15439
 
 
15440
 
  case $GCC,$host_os in
15441
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15442
 
    library_names_spec='$libname.dll.a'
15443
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15444
 
    postinstall_cmds='base_file=`basename \${file}`~
15445
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15446
 
      dldir=$destdir/`dirname \$dlpath`~
15447
 
      test -d \$dldir || mkdir -p \$dldir~
15448
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15449
 
      chmod a+x \$dldir/$dlname'
15450
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15451
 
      dlpath=$dir/\$dldll~
15452
 
       $rm \$dlpath'
15453
 
    shlibpath_overrides_runpath=yes
15454
 
 
15455
 
    case $host_os in
15456
 
    cygwin*)
15457
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15458
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15459
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15460
 
      ;;
15461
 
    mingw*)
15462
 
      # MinGW DLLs use traditional 'lib' prefix
15463
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15464
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15465
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15466
 
        # It is most probably a Windows format PATH printed by
15467
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15468
 
        # path with ; separators, and with drive letters. We can handle the
15469
 
        # drive letters (cygwin fileutils understands them), so leave them,
15470
 
        # especially as we might pass files found there to a mingw objdump,
15471
 
        # which wouldn't understand a cygwinified path. Ahh.
15472
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15473
 
      else
15474
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15475
 
      fi
15476
 
      ;;
15477
 
    pw32*)
15478
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15479
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15480
 
      ;;
15481
 
    esac
15482
 
    ;;
15483
 
 
15484
 
  *)
15485
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15486
 
    ;;
15487
 
  esac
15488
 
  dynamic_linker='Win32 ld.exe'
15489
 
  # FIXME: first we should search . and the directory the executable is in
15490
 
  shlibpath_var=PATH
15491
 
  ;;
15492
 
 
15493
 
darwin* | rhapsody*)
15494
 
  dynamic_linker="$host_os dyld"
15495
 
  version_type=darwin
15496
 
  need_lib_prefix=no
15497
 
  need_version=no
15498
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15499
 
  soname_spec='${libname}${release}${major}$shared_ext'
15500
 
  shlibpath_overrides_runpath=yes
15501
 
  shlibpath_var=DYLD_LIBRARY_PATH
15502
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15503
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15504
 
  if test "$GCC" = yes; then
15505
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15506
 
  else
15507
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15508
 
  fi
15509
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15510
 
  ;;
15511
 
 
15512
 
dgux*)
15513
 
  version_type=linux
15514
 
  need_lib_prefix=no
15515
 
  need_version=no
15516
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15517
 
  soname_spec='${libname}${release}${shared_ext}$major'
15518
 
  shlibpath_var=LD_LIBRARY_PATH
15519
 
  ;;
15520
 
 
15521
 
freebsd1*)
15522
 
  dynamic_linker=no
15523
 
  ;;
15524
 
 
15525
 
kfreebsd*-gnu)
15526
 
  version_type=linux
15527
 
  need_lib_prefix=no
15528
 
  need_version=no
15529
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15530
 
  soname_spec='${libname}${release}${shared_ext}$major'
15531
 
  shlibpath_var=LD_LIBRARY_PATH
15532
 
  shlibpath_overrides_runpath=no
15533
 
  hardcode_into_libs=yes
15534
 
  dynamic_linker='GNU ld.so'
15535
 
  ;;
15536
 
 
15537
 
freebsd* | dragonfly*)
15538
 
  # DragonFly does not have aout.  When/if they implement a new
15539
 
  # versioning mechanism, adjust this.
15540
 
  if test -x /usr/bin/objformat; then
15541
 
    objformat=`/usr/bin/objformat`
15542
 
  else
15543
 
    case $host_os in
15544
 
    freebsd[123]*) objformat=aout ;;
15545
 
    *) objformat=elf ;;
15546
 
    esac
15547
 
  fi
15548
 
  version_type=freebsd-$objformat
15549
 
  case $version_type in
15550
 
    freebsd-elf*)
15551
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15552
 
      need_version=no
15553
 
      need_lib_prefix=no
15554
 
      ;;
15555
 
    freebsd-*)
15556
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15557
 
      need_version=yes
15558
 
      ;;
15559
 
  esac
15560
 
  shlibpath_var=LD_LIBRARY_PATH
15561
 
  case $host_os in
15562
 
  freebsd2*)
15563
 
    shlibpath_overrides_runpath=yes
15564
 
    ;;
15565
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15566
 
    shlibpath_overrides_runpath=yes
15567
 
    hardcode_into_libs=yes
15568
 
    ;;
15569
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15570
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15571
 
    shlibpath_overrides_runpath=no
15572
 
    hardcode_into_libs=yes
15573
 
    ;;
15574
 
  freebsd*) # from 4.6 on
15575
 
    shlibpath_overrides_runpath=yes
15576
 
    hardcode_into_libs=yes
15577
 
    ;;
15578
 
  esac
15579
 
  ;;
15580
 
 
15581
 
gnu*)
15582
 
  version_type=linux
15583
 
  need_lib_prefix=no
15584
 
  need_version=no
15585
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15586
 
  soname_spec='${libname}${release}${shared_ext}$major'
15587
 
  shlibpath_var=LD_LIBRARY_PATH
15588
 
  hardcode_into_libs=yes
15589
 
  ;;
15590
 
 
15591
 
hpux9* | hpux10* | hpux11*)
15592
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15593
 
  # link against other versions.
15594
 
  version_type=sunos
15595
 
  need_lib_prefix=no
15596
 
  need_version=no
15597
 
  case $host_cpu in
15598
 
  ia64*)
15599
 
    shrext_cmds='.so'
15600
 
    hardcode_into_libs=yes
15601
 
    dynamic_linker="$host_os dld.so"
15602
 
    shlibpath_var=LD_LIBRARY_PATH
15603
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15604
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15605
 
    soname_spec='${libname}${release}${shared_ext}$major'
15606
 
    if test "X$HPUX_IA64_MODE" = X32; then
15607
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15608
 
    else
15609
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15610
 
    fi
15611
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15612
 
    ;;
15613
 
   hppa*64*)
15614
 
     shrext_cmds='.sl'
15615
 
     hardcode_into_libs=yes
15616
 
     dynamic_linker="$host_os dld.sl"
15617
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15618
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15619
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15620
 
     soname_spec='${libname}${release}${shared_ext}$major'
15621
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15622
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15623
 
     ;;
15624
 
   *)
15625
 
    shrext_cmds='.sl'
15626
 
    dynamic_linker="$host_os dld.sl"
15627
 
    shlibpath_var=SHLIB_PATH
15628
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15629
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15630
 
    soname_spec='${libname}${release}${shared_ext}$major'
15631
 
    ;;
15632
 
  esac
15633
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15634
 
  postinstall_cmds='chmod 555 $lib'
15635
 
  ;;
15636
 
 
15637
 
interix3*)
15638
 
  version_type=linux
15639
 
  need_lib_prefix=no
15640
 
  need_version=no
15641
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15642
 
  soname_spec='${libname}${release}${shared_ext}$major'
15643
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15644
 
  shlibpath_var=LD_LIBRARY_PATH
15645
 
  shlibpath_overrides_runpath=no
15646
 
  hardcode_into_libs=yes
15647
 
  ;;
15648
 
 
15649
 
irix5* | irix6* | nonstopux*)
15650
 
  case $host_os in
15651
 
    nonstopux*) version_type=nonstopux ;;
15652
 
    *)
15653
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15654
 
                version_type=linux
15655
 
        else
15656
 
                version_type=irix
15657
 
        fi ;;
15658
 
  esac
15659
 
  need_lib_prefix=no
15660
 
  need_version=no
15661
 
  soname_spec='${libname}${release}${shared_ext}$major'
15662
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15663
 
  case $host_os in
15664
 
  irix5* | nonstopux*)
15665
 
    libsuff= shlibsuff=
15666
 
    ;;
15667
 
  *)
15668
 
    case $LD in # libtool.m4 will add one of these switches to LD
15669
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15670
 
      libsuff= shlibsuff= libmagic=32-bit;;
15671
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15672
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15673
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15674
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15675
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15676
 
    esac
15677
 
    ;;
15678
 
  esac
15679
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15680
 
  shlibpath_overrides_runpath=no
15681
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15682
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15683
 
  hardcode_into_libs=yes
15684
 
  ;;
15685
 
 
15686
 
# No shared lib support for Linux oldld, aout, or coff.
15687
 
linux*oldld* | linux*aout* | linux*coff*)
15688
 
  dynamic_linker=no
15689
 
  ;;
15690
 
 
15691
 
# This must be Linux ELF.
15692
 
linux*)
15693
 
  version_type=linux
15694
 
  need_lib_prefix=no
15695
 
  need_version=no
15696
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15697
 
  soname_spec='${libname}${release}${shared_ext}$major'
15698
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15699
 
  shlibpath_var=LD_LIBRARY_PATH
15700
 
  shlibpath_overrides_runpath=no
15701
 
  # This implies no fast_install, which is unacceptable.
15702
 
  # Some rework will be needed to allow for fast_install
15703
 
  # before this can be enabled.
15704
 
  hardcode_into_libs=yes
15705
 
 
15706
 
  # find out which ABI we are using
15707
 
  libsuff=
15708
 
  case "$host_cpu" in
15709
 
  x86_64*|s390x*|powerpc64*)
15710
 
    echo '#line 15710 "configure"' > conftest.$ac_ext
15711
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15712
 
  (eval $ac_compile) 2>&5
15713
 
  ac_status=$?
15714
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715
 
  (exit $ac_status); }; then
15716
 
      case `/usr/bin/file conftest.$ac_objext` in
15717
 
      *64-bit*)
15718
 
        libsuff=64
15719
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15720
 
        ;;
15721
 
      esac
15722
 
    fi
15723
 
    rm -rf conftest*
15724
 
    ;;
15725
 
  esac
15726
 
 
15727
 
  # Append ld.so.conf contents to the search path
15728
 
  if test -f /etc/ld.so.conf; then
15729
 
    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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15730
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15731
 
  fi
15732
 
 
15733
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15734
 
  # powerpc, because MkLinux only supported shared libraries with the
15735
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15736
 
  # most powerpc-linux boxes support dynamic linking these days and
15737
 
  # people can always --disable-shared, the test was removed, and we
15738
 
  # assume the GNU/Linux dynamic linker is in use.
15739
 
  dynamic_linker='GNU/Linux ld.so'
15740
 
  ;;
15741
 
 
15742
 
knetbsd*-gnu)
15743
 
  version_type=linux
15744
 
  need_lib_prefix=no
15745
 
  need_version=no
15746
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15747
 
  soname_spec='${libname}${release}${shared_ext}$major'
15748
 
  shlibpath_var=LD_LIBRARY_PATH
15749
 
  shlibpath_overrides_runpath=no
15750
 
  hardcode_into_libs=yes
15751
 
  dynamic_linker='GNU ld.so'
15752
 
  ;;
15753
 
 
15754
 
netbsd*)
15755
 
  version_type=sunos
15756
 
  need_lib_prefix=no
15757
 
  need_version=no
15758
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15759
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15760
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15761
 
    dynamic_linker='NetBSD (a.out) ld.so'
15762
 
  else
15763
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15764
 
    soname_spec='${libname}${release}${shared_ext}$major'
15765
 
    dynamic_linker='NetBSD ld.elf_so'
15766
 
  fi
15767
 
  shlibpath_var=LD_LIBRARY_PATH
15768
 
  shlibpath_overrides_runpath=yes
15769
 
  hardcode_into_libs=yes
15770
 
  ;;
15771
 
 
15772
 
newsos6)
15773
 
  version_type=linux
15774
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15775
 
  shlibpath_var=LD_LIBRARY_PATH
15776
 
  shlibpath_overrides_runpath=yes
15777
 
  ;;
15778
 
 
15779
 
nto-qnx*)
15780
 
  version_type=linux
15781
 
  need_lib_prefix=no
15782
 
  need_version=no
15783
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15784
 
  soname_spec='${libname}${release}${shared_ext}$major'
15785
 
  shlibpath_var=LD_LIBRARY_PATH
15786
 
  shlibpath_overrides_runpath=yes
15787
 
  ;;
15788
 
 
15789
 
openbsd*)
15790
 
  version_type=sunos
15791
 
  sys_lib_dlsearch_path_spec="/usr/lib"
15792
 
  need_lib_prefix=no
15793
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15794
 
  case $host_os in
15795
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15796
 
    *)                         need_version=no  ;;
15797
 
  esac
15798
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15799
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15800
 
  shlibpath_var=LD_LIBRARY_PATH
15801
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15802
 
    case $host_os in
15803
 
      openbsd2.[89] | openbsd2.[89].*)
15804
 
        shlibpath_overrides_runpath=no
15805
 
        ;;
15806
 
      *)
15807
 
        shlibpath_overrides_runpath=yes
15808
 
        ;;
15809
 
      esac
15810
 
  else
15811
 
    shlibpath_overrides_runpath=yes
15812
 
  fi
15813
 
  ;;
15814
 
 
15815
 
os2*)
15816
 
  libname_spec='$name'
15817
 
  shrext_cmds=".dll"
15818
 
  need_lib_prefix=no
15819
 
  library_names_spec='$libname${shared_ext} $libname.a'
15820
 
  dynamic_linker='OS/2 ld.exe'
15821
 
  shlibpath_var=LIBPATH
15822
 
  ;;
15823
 
 
15824
 
osf3* | osf4* | osf5*)
15825
 
  version_type=osf
15826
 
  need_lib_prefix=no
15827
 
  need_version=no
15828
 
  soname_spec='${libname}${release}${shared_ext}$major'
15829
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15830
 
  shlibpath_var=LD_LIBRARY_PATH
15831
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15832
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15833
 
  ;;
15834
 
 
15835
 
solaris*)
15836
 
  version_type=linux
15837
 
  need_lib_prefix=no
15838
 
  need_version=no
15839
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15840
 
  soname_spec='${libname}${release}${shared_ext}$major'
15841
 
  shlibpath_var=LD_LIBRARY_PATH
15842
 
  shlibpath_overrides_runpath=yes
15843
 
  hardcode_into_libs=yes
15844
 
  # ldd complains unless libraries are executable
15845
 
  postinstall_cmds='chmod +x $lib'
15846
 
  ;;
15847
 
 
15848
 
sunos4*)
15849
 
  version_type=sunos
15850
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15851
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15852
 
  shlibpath_var=LD_LIBRARY_PATH
15853
 
  shlibpath_overrides_runpath=yes
15854
 
  if test "$with_gnu_ld" = yes; then
15855
 
    need_lib_prefix=no
15856
 
  fi
15857
 
  need_version=yes
15858
 
  ;;
15859
 
 
15860
 
sysv4 | sysv4.3*)
15861
 
  version_type=linux
15862
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15863
 
  soname_spec='${libname}${release}${shared_ext}$major'
15864
 
  shlibpath_var=LD_LIBRARY_PATH
15865
 
  case $host_vendor in
15866
 
    sni)
15867
 
      shlibpath_overrides_runpath=no
15868
 
      need_lib_prefix=no
15869
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
15870
 
      runpath_var=LD_RUN_PATH
15871
 
      ;;
15872
 
    siemens)
15873
 
      need_lib_prefix=no
15874
 
      ;;
15875
 
    motorola)
15876
 
      need_lib_prefix=no
15877
 
      need_version=no
15878
 
      shlibpath_overrides_runpath=no
15879
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15880
 
      ;;
15881
 
  esac
15882
 
  ;;
15883
 
 
15884
 
sysv4*MP*)
15885
 
  if test -d /usr/nec ;then
15886
 
    version_type=linux
15887
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15888
 
    soname_spec='$libname${shared_ext}.$major'
15889
 
    shlibpath_var=LD_LIBRARY_PATH
15890
 
  fi
15891
 
  ;;
15892
 
 
15893
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15894
 
  version_type=freebsd-elf
15895
 
  need_lib_prefix=no
15896
 
  need_version=no
15897
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15898
 
  soname_spec='${libname}${release}${shared_ext}$major'
15899
 
  shlibpath_var=LD_LIBRARY_PATH
15900
 
  hardcode_into_libs=yes
15901
 
  if test "$with_gnu_ld" = yes; then
15902
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15903
 
    shlibpath_overrides_runpath=no
15904
 
  else
15905
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15906
 
    shlibpath_overrides_runpath=yes
15907
 
    case $host_os in
15908
 
      sco3.2v5*)
15909
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15910
 
        ;;
15911
 
    esac
15912
 
  fi
15913
 
  sys_lib_dlsearch_path_spec='/usr/lib'
15914
 
  ;;
15915
 
 
15916
 
uts4*)
15917
 
  version_type=linux
15918
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15919
 
  soname_spec='${libname}${release}${shared_ext}$major'
15920
 
  shlibpath_var=LD_LIBRARY_PATH
15921
 
  ;;
15922
 
 
15923
 
*)
15924
 
  dynamic_linker=no
15925
 
  ;;
15926
 
esac
15927
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15928
 
echo "${ECHO_T}$dynamic_linker" >&6
15929
 
test "$dynamic_linker" = no && can_build_shared=no
15930
 
 
15931
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15932
 
if test "$GCC" = yes; then
15933
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15934
 
fi
15935
 
 
15936
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15937
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15938
 
hardcode_action_F77=
15939
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
15940
 
   test -n "$runpath_var_F77" || \
15941
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
15942
 
 
15943
 
  # We can hardcode non-existant directories.
15944
 
  if test "$hardcode_direct_F77" != no &&
15945
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15946
 
     # have to relink, otherwise we might link with an installed library
15947
 
     # when we should be linking with a yet-to-be-installed one
15948
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
15949
 
     test "$hardcode_minus_L_F77" != no; then
15950
 
    # Linking always hardcodes the temporary library directory.
15951
 
    hardcode_action_F77=relink
15952
 
  else
15953
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15954
 
    hardcode_action_F77=immediate
15955
 
  fi
15956
 
else
15957
 
  # We cannot hardcode anything, or else we can only hardcode existing
15958
 
  # directories.
15959
 
  hardcode_action_F77=unsupported
15960
 
fi
15961
 
echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
15962
 
echo "${ECHO_T}$hardcode_action_F77" >&6
15963
 
 
15964
 
if test "$hardcode_action_F77" = relink; then
15965
 
  # Fast installation is not supported
15966
 
  enable_fast_install=no
15967
 
elif test "$shlibpath_overrides_runpath" = yes ||
15968
 
     test "$enable_shared" = no; then
15969
 
  # Fast installation is not necessary
15970
 
  enable_fast_install=needless
15971
 
fi
15972
 
 
15973
 
 
15974
 
# The else clause should only fire when bootstrapping the
15975
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
15976
 
# with your package, and you will get complaints that there are
15977
 
# no rules to generate ltmain.sh.
15978
 
if test -f "$ltmain"; then
15979
 
  # See if we are running on zsh, and set the options which allow our commands through
15980
 
  # without removal of \ escapes.
15981
 
  if test -n "${ZSH_VERSION+set}" ; then
15982
 
    setopt NO_GLOB_SUBST
15983
 
  fi
15984
 
  # Now quote all the things that may contain metacharacters while being
15985
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
15986
 
  # variables and quote the copies for generation of the libtool script.
15987
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
15988
 
    SED SHELL STRIP \
15989
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
15990
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
15991
 
    deplibs_check_method reload_flag reload_cmds need_locks \
15992
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
15993
 
    lt_cv_sys_global_symbol_to_c_name_address \
15994
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
15995
 
    old_postinstall_cmds old_postuninstall_cmds \
15996
 
    compiler_F77 \
15997
 
    CC_F77 \
15998
 
    LD_F77 \
15999
 
    lt_prog_compiler_wl_F77 \
16000
 
    lt_prog_compiler_pic_F77 \
16001
 
    lt_prog_compiler_static_F77 \
16002
 
    lt_prog_compiler_no_builtin_flag_F77 \
16003
 
    export_dynamic_flag_spec_F77 \
16004
 
    thread_safe_flag_spec_F77 \
16005
 
    whole_archive_flag_spec_F77 \
16006
 
    enable_shared_with_static_runtimes_F77 \
16007
 
    old_archive_cmds_F77 \
16008
 
    old_archive_from_new_cmds_F77 \
16009
 
    predep_objects_F77 \
16010
 
    postdep_objects_F77 \
16011
 
    predeps_F77 \
16012
 
    postdeps_F77 \
16013
 
    compiler_lib_search_path_F77 \
16014
 
    archive_cmds_F77 \
16015
 
    archive_expsym_cmds_F77 \
16016
 
    postinstall_cmds_F77 \
16017
 
    postuninstall_cmds_F77 \
16018
 
    old_archive_from_expsyms_cmds_F77 \
16019
 
    allow_undefined_flag_F77 \
16020
 
    no_undefined_flag_F77 \
16021
 
    export_symbols_cmds_F77 \
16022
 
    hardcode_libdir_flag_spec_F77 \
16023
 
    hardcode_libdir_flag_spec_ld_F77 \
16024
 
    hardcode_libdir_separator_F77 \
16025
 
    hardcode_automatic_F77 \
16026
 
    module_cmds_F77 \
16027
 
    module_expsym_cmds_F77 \
16028
 
    lt_cv_prog_compiler_c_o_F77 \
16029
 
    exclude_expsyms_F77 \
16030
 
    include_expsyms_F77; do
16031
 
 
16032
 
    case $var in
16033
 
    old_archive_cmds_F77 | \
16034
 
    old_archive_from_new_cmds_F77 | \
16035
 
    archive_cmds_F77 | \
16036
 
    archive_expsym_cmds_F77 | \
16037
 
    module_cmds_F77 | \
16038
 
    module_expsym_cmds_F77 | \
16039
 
    old_archive_from_expsyms_cmds_F77 | \
16040
 
    export_symbols_cmds_F77 | \
16041
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16042
 
    postinstall_cmds | postuninstall_cmds | \
16043
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16044
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16045
 
      # Double-quote double-evaled strings.
16046
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16047
 
      ;;
16048
 
    *)
16049
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16050
 
      ;;
16051
 
    esac
16052
 
  done
16053
 
 
16054
 
  case $lt_echo in
16055
 
  *'\$0 --fallback-echo"')
16056
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16057
 
    ;;
16058
 
  esac
16059
 
 
16060
 
cfgfile="$ofile"
16061
 
 
16062
 
  cat <<__EOF__ >> "$cfgfile"
16063
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16064
 
 
16065
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16066
 
 
16067
 
# Shell to use when invoking shell scripts.
16068
 
SHELL=$lt_SHELL
16069
 
 
16070
 
# Whether or not to build shared libraries.
16071
 
build_libtool_libs=$enable_shared
16072
 
 
16073
 
# Whether or not to build static libraries.
16074
 
build_old_libs=$enable_static
16075
 
 
16076
 
# Whether or not to add -lc for building shared libraries.
16077
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16078
 
 
16079
 
# Whether or not to disallow shared libs when runtime libs are static
16080
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16081
 
 
16082
 
# Whether or not to optimize for fast installation.
16083
 
fast_install=$enable_fast_install
16084
 
 
16085
 
# The host system.
16086
 
host_alias=$host_alias
16087
 
host=$host
16088
 
host_os=$host_os
16089
 
 
16090
 
# The build system.
16091
 
build_alias=$build_alias
16092
 
build=$build
16093
 
build_os=$build_os
16094
 
 
16095
 
# An echo program that does not interpret backslashes.
16096
 
echo=$lt_echo
16097
 
 
16098
 
# The archiver.
16099
 
AR=$lt_AR
16100
 
AR_FLAGS=$lt_AR_FLAGS
16101
 
 
16102
 
# A C compiler.
16103
 
LTCC=$lt_LTCC
16104
 
 
16105
 
# LTCC compiler flags.
16106
 
LTCFLAGS=$lt_LTCFLAGS
16107
 
 
16108
 
# A language-specific compiler.
16109
 
CC=$lt_compiler_F77
16110
 
 
16111
 
# Is the compiler the GNU C compiler?
16112
 
with_gcc=$GCC_F77
16113
 
 
16114
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
16115
 
gcc_ver=\`gcc -dumpversion\`
16116
 
 
16117
 
# An ERE matcher.
16118
 
EGREP=$lt_EGREP
16119
 
 
16120
 
# The linker used to build libraries.
16121
 
LD=$lt_LD_F77
16122
 
 
16123
 
# Whether we need hard or soft links.
16124
 
LN_S=$lt_LN_S
16125
 
 
16126
 
# A BSD-compatible nm program.
16127
 
NM=$lt_NM
16128
 
 
16129
 
# A symbol stripping program
16130
 
STRIP=$lt_STRIP
16131
 
 
16132
 
# Used to examine libraries when file_magic_cmd begins "file"
16133
 
MAGIC_CMD=$MAGIC_CMD
16134
 
 
16135
 
# Used on cygwin: DLL creation program.
16136
 
DLLTOOL="$DLLTOOL"
16137
 
 
16138
 
# Used on cygwin: object dumper.
16139
 
OBJDUMP="$OBJDUMP"
16140
 
 
16141
 
# Used on cygwin: assembler.
16142
 
AS="$AS"
16143
 
 
16144
 
# The name of the directory that contains temporary libtool files.
16145
 
objdir=$objdir
16146
 
 
16147
 
# How to create reloadable object files.
16148
 
reload_flag=$lt_reload_flag
16149
 
reload_cmds=$lt_reload_cmds
16150
 
 
16151
 
# How to pass a linker flag through the compiler.
16152
 
wl=$lt_lt_prog_compiler_wl_F77
16153
 
 
16154
 
# Object file suffix (normally "o").
16155
 
objext="$ac_objext"
16156
 
 
16157
 
# Old archive suffix (normally "a").
16158
 
libext="$libext"
16159
 
 
16160
 
# Shared library suffix (normally ".so").
16161
 
shrext_cmds='$shrext_cmds'
16162
 
 
16163
 
# Executable file suffix (normally "").
16164
 
exeext="$exeext"
16165
 
 
16166
 
# Additional compiler flags for building library objects.
16167
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16168
 
pic_mode=$pic_mode
16169
 
 
16170
 
# What is the maximum length of a command?
16171
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16172
 
 
16173
 
# Does compiler simultaneously support -c and -o options?
16174
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16175
 
 
16176
 
# Must we lock files when doing compilation?
16177
 
need_locks=$lt_need_locks
16178
 
 
16179
 
# Do we need the lib prefix for modules?
16180
 
need_lib_prefix=$need_lib_prefix
16181
 
 
16182
 
# Do we need a version for libraries?
16183
 
need_version=$need_version
16184
 
 
16185
 
# Whether dlopen is supported.
16186
 
dlopen_support=$enable_dlopen
16187
 
 
16188
 
# Whether dlopen of programs is supported.
16189
 
dlopen_self=$enable_dlopen_self
16190
 
 
16191
 
# Whether dlopen of statically linked programs is supported.
16192
 
dlopen_self_static=$enable_dlopen_self_static
16193
 
 
16194
 
# Compiler flag to prevent dynamic linking.
16195
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16196
 
 
16197
 
# Compiler flag to turn off builtin functions.
16198
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16199
 
 
16200
 
# Compiler flag to allow reflexive dlopens.
16201
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16202
 
 
16203
 
# Compiler flag to generate shared objects directly from archives.
16204
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16205
 
 
16206
 
# Compiler flag to generate thread-safe objects.
16207
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16208
 
 
16209
 
# Library versioning type.
16210
 
version_type=$version_type
16211
 
 
16212
 
# Format of library name prefix.
16213
 
libname_spec=$lt_libname_spec
16214
 
 
16215
 
# List of archive names.  First name is the real one, the rest are links.
16216
 
# The last name is the one that the linker finds with -lNAME.
16217
 
library_names_spec=$lt_library_names_spec
16218
 
 
16219
 
# The coded name of the library, if different from the real name.
16220
 
soname_spec=$lt_soname_spec
16221
 
 
16222
 
# Commands used to build and install an old-style archive.
16223
 
RANLIB=$lt_RANLIB
16224
 
old_archive_cmds=$lt_old_archive_cmds_F77
16225
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16226
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16227
 
 
16228
 
# Create an old-style archive from a shared archive.
16229
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16230
 
 
16231
 
# Create a temporary old-style archive to link instead of a shared archive.
16232
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16233
 
 
16234
 
# Commands used to build and install a shared archive.
16235
 
archive_cmds=$lt_archive_cmds_F77
16236
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16237
 
postinstall_cmds=$lt_postinstall_cmds
16238
 
postuninstall_cmds=$lt_postuninstall_cmds
16239
 
 
16240
 
# Commands used to build a loadable module (assumed same as above if empty)
16241
 
module_cmds=$lt_module_cmds_F77
16242
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16243
 
 
16244
 
# Commands to strip libraries.
16245
 
old_striplib=$lt_old_striplib
16246
 
striplib=$lt_striplib
16247
 
 
16248
 
# Dependencies to place before the objects being linked to create a
16249
 
# shared library.
16250
 
predep_objects=\`echo $lt_predep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16251
 
 
16252
 
# Dependencies to place after the objects being linked to create a
16253
 
# shared library.
16254
 
postdep_objects=\`echo $lt_postdep_objects_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16255
 
 
16256
 
# Dependencies to place before the objects being linked to create a
16257
 
# shared library.
16258
 
predeps=$lt_predeps_F77
16259
 
 
16260
 
# Dependencies to place after the objects being linked to create a
16261
 
# shared library.
16262
 
postdeps=$lt_postdeps_F77
16263
 
 
16264
 
# The library search path used internally by the compiler when linking
16265
 
# a shared library.
16266
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_F77 | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16267
 
 
16268
 
# Method to check whether dependent libraries are shared objects.
16269
 
deplibs_check_method=$lt_deplibs_check_method
16270
 
 
16271
 
# Command to use when deplibs_check_method == file_magic.
16272
 
file_magic_cmd=$lt_file_magic_cmd
16273
 
 
16274
 
# Flag that allows shared libraries with undefined symbols to be built.
16275
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16276
 
 
16277
 
# Flag that forces no undefined symbols.
16278
 
no_undefined_flag=$lt_no_undefined_flag_F77
16279
 
 
16280
 
# Commands used to finish a libtool library installation in a directory.
16281
 
finish_cmds=$lt_finish_cmds
16282
 
 
16283
 
# Same as above, but a single script fragment to be evaled but not shown.
16284
 
finish_eval=$lt_finish_eval
16285
 
 
16286
 
# Take the output of nm and produce a listing of raw symbols and C names.
16287
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16288
 
 
16289
 
# Transform the output of nm in a proper C declaration
16290
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16291
 
 
16292
 
# Transform the output of nm in a C name address pair
16293
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16294
 
 
16295
 
# This is the shared library runtime path variable.
16296
 
runpath_var=$runpath_var
16297
 
 
16298
 
# This is the shared library path variable.
16299
 
shlibpath_var=$shlibpath_var
16300
 
 
16301
 
# Is shlibpath searched before the hard-coded library search path?
16302
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16303
 
 
16304
 
# How to hardcode a shared library path into an executable.
16305
 
hardcode_action=$hardcode_action_F77
16306
 
 
16307
 
# Whether we should hardcode library paths into libraries.
16308
 
hardcode_into_libs=$hardcode_into_libs
16309
 
 
16310
 
# Flag to hardcode \$libdir into a binary during linking.
16311
 
# This must work even if \$libdir does not exist.
16312
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16313
 
 
16314
 
# If ld is used when linking, flag to hardcode \$libdir into
16315
 
# a binary during linking. This must work even if \$libdir does
16316
 
# not exist.
16317
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16318
 
 
16319
 
# Whether we need a single -rpath flag with a separated argument.
16320
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16321
 
 
16322
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16323
 
# resulting binary.
16324
 
hardcode_direct=$hardcode_direct_F77
16325
 
 
16326
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16327
 
# resulting binary.
16328
 
hardcode_minus_L=$hardcode_minus_L_F77
16329
 
 
16330
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16331
 
# the resulting binary.
16332
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16333
 
 
16334
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16335
 
# and all subsequent libraries and executables linked against it.
16336
 
hardcode_automatic=$hardcode_automatic_F77
16337
 
 
16338
 
# Variables whose values should be saved in libtool wrapper scripts and
16339
 
# restored at relink time.
16340
 
variables_saved_for_relink="$variables_saved_for_relink"
16341
 
 
16342
 
# Whether libtool must link a program against all its dependency libraries.
16343
 
link_all_deplibs=$link_all_deplibs_F77
16344
 
 
16345
 
# Compile-time system search path for libraries
16346
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
16347
 
 
16348
 
# Run-time system search path for libraries
16349
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16350
 
 
16351
 
# Fix the shell variable \$srcfile for the compiler.
16352
 
fix_srcfile_path="$fix_srcfile_path_F77"
16353
 
 
16354
 
# Set to yes if exported symbols are required.
16355
 
always_export_symbols=$always_export_symbols_F77
16356
 
 
16357
 
# The commands to list exported symbols.
16358
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16359
 
 
16360
 
# The commands to extract the exported symbol list from a shared archive.
16361
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16362
 
 
16363
 
# Symbols that should not be listed in the preloaded symbols.
16364
 
exclude_expsyms=$lt_exclude_expsyms_F77
16365
 
 
16366
 
# Symbols that must always be exported.
16367
 
include_expsyms=$lt_include_expsyms_F77
16368
 
 
16369
 
# ### END LIBTOOL TAG CONFIG: $tagname
16370
 
 
16371
 
__EOF__
16372
 
 
16373
 
 
16374
 
else
16375
 
  # If there is no Makefile yet, we rely on a make rule to execute
16376
 
  # `config.status --recheck' to rerun these tests and create the
16377
 
  # libtool script then.
16378
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16379
 
  if test -f "$ltmain_in"; then
16380
 
    test -f Makefile && make "$ltmain"
16381
 
  fi
16382
 
fi
16383
 
 
16384
 
 
16385
 
ac_ext=c
16386
 
ac_cpp='$CPP $CPPFLAGS'
16387
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16388
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16389
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16390
 
 
16391
 
CC="$lt_save_CC"
16392
 
 
16393
 
        else
16394
 
          tagname=""
16395
 
        fi
16396
 
        ;;
16397
 
 
16398
 
      GCJ)
16399
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16400
 
 
16401
 
 
16402
 
 
16403
 
# Source file extension for Java test sources.
16404
 
ac_ext=java
16405
 
 
16406
 
# Object file extension for compiled Java test sources.
16407
 
objext=o
16408
 
objext_GCJ=$objext
16409
 
 
16410
 
# Code to be used in simple compile tests
16411
 
lt_simple_compile_test_code="class foo {}\n"
16412
 
 
16413
 
# Code to be used in simple link tests
16414
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16415
 
 
16416
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16417
 
 
16418
 
# If no C compiler was specified, use CC.
16419
 
LTCC=${LTCC-"$CC"}
16420
 
 
16421
 
# If no C compiler flags were specified, use CFLAGS.
16422
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16423
 
 
16424
 
# Allow CC to be a program name with arguments.
16425
 
compiler=$CC
16426
 
 
16427
 
 
16428
 
# save warnings/boilerplate of simple test code
16429
 
ac_outfile=conftest.$ac_objext
16430
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16431
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16432
 
_lt_compiler_boilerplate=`cat conftest.err`
16433
 
$rm conftest*
16434
 
 
16435
 
ac_outfile=conftest.$ac_objext
16436
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16437
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16438
 
_lt_linker_boilerplate=`cat conftest.err`
16439
 
$rm conftest*
16440
 
 
16441
 
 
16442
 
# Allow CC to be a program name with arguments.
16443
 
lt_save_CC="$CC"
16444
 
CC=${GCJ-"gcj"}
16445
 
compiler=$CC
16446
 
compiler_GCJ=$CC
16447
 
for cc_temp in $compiler""; do
16448
 
  case $cc_temp in
16449
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16450
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16451
 
    \-*) ;;
16452
 
    *) break;;
16453
 
  esac
16454
 
done
16455
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16456
 
 
16457
 
 
16458
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16459
 
archive_cmds_need_lc_GCJ=no
16460
 
 
16461
 
old_archive_cmds_GCJ=$old_archive_cmds
16462
 
 
16463
 
 
16464
 
lt_prog_compiler_no_builtin_flag_GCJ=
16465
 
 
16466
 
if test "$GCC" = yes; then
16467
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16468
 
 
16469
 
 
16470
 
echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16471
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
16472
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16473
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16474
 
else
16475
 
  lt_cv_prog_compiler_rtti_exceptions=no
16476
 
  ac_outfile=conftest.$ac_objext
16477
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16478
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16479
 
   # Insert the option either (1) after the last *FLAGS variable, or
16480
 
   # (2) before a word containing "conftest.", or (3) at the end.
16481
 
   # Note that $ac_compile itself does not contain backslashes and begins
16482
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16483
 
   # The option is referenced via a variable to avoid confusing sed.
16484
 
   lt_compile=`echo "$ac_compile" | $SED \
16485
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16486
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16487
 
   -e 's:$: $lt_compiler_flag:'`
16488
 
   (eval echo "\"\$as_me:16488: $lt_compile\"" >&5)
16489
 
   (eval "$lt_compile" 2>conftest.err)
16490
 
   ac_status=$?
16491
 
   cat conftest.err >&5
16492
 
   echo "$as_me:16492: \$? = $ac_status" >&5
16493
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16494
 
     # The compiler can only warn and ignore the option if not recognized
16495
 
     # So say no if there are warnings other than the usual output.
16496
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16497
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16498
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16499
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16500
 
     fi
16501
 
   fi
16502
 
   $rm conftest*
16503
 
 
16504
 
fi
16505
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16506
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
16507
 
 
16508
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16509
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16510
 
else
16511
 
    :
16512
 
fi
16513
 
 
16514
 
fi
16515
 
 
16516
 
lt_prog_compiler_wl_GCJ=
16517
 
lt_prog_compiler_pic_GCJ=
16518
 
lt_prog_compiler_static_GCJ=
16519
 
 
16520
 
echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16521
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16522
 
 
16523
 
  if test "$GCC" = yes; then
16524
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16525
 
    lt_prog_compiler_static_GCJ='-static'
16526
 
 
16527
 
    case $host_os in
16528
 
      aix*)
16529
 
      # All AIX code is PIC.
16530
 
      if test "$host_cpu" = ia64; then
16531
 
        # AIX 5 now supports IA64 processor
16532
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16533
 
      fi
16534
 
      ;;
16535
 
 
16536
 
    amigaos*)
16537
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16538
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16539
 
      # like `-m68040'.
16540
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16541
 
      ;;
16542
 
 
16543
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16544
 
      # PIC is the default for these OSes.
16545
 
      ;;
16546
 
 
16547
 
    mingw* | pw32* | os2*)
16548
 
      # This hack is so that the source file can tell whether it is being
16549
 
      # built for inclusion in a dll (and should export symbols for example).
16550
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16551
 
      ;;
16552
 
 
16553
 
    darwin* | rhapsody*)
16554
 
      # PIC is the default on this platform
16555
 
      # Common symbols not allowed in MH_DYLIB files
16556
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16557
 
      ;;
16558
 
 
16559
 
    interix3*)
16560
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16561
 
      # Instead, we relocate shared libraries at runtime.
16562
 
      ;;
16563
 
 
16564
 
    msdosdjgpp*)
16565
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16566
 
      # on systems that don't support them.
16567
 
      lt_prog_compiler_can_build_shared_GCJ=no
16568
 
      enable_shared=no
16569
 
      ;;
16570
 
 
16571
 
    sysv4*MP*)
16572
 
      if test -d /usr/nec; then
16573
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16574
 
      fi
16575
 
      ;;
16576
 
 
16577
 
    hpux*)
16578
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16579
 
      # not for PA HP-UX.
16580
 
      case $host_cpu in
16581
 
      hppa*64*|ia64*)
16582
 
        # +Z the default
16583
 
        ;;
16584
 
      *)
16585
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16586
 
        ;;
16587
 
      esac
16588
 
      ;;
16589
 
 
16590
 
    *)
16591
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16592
 
      ;;
16593
 
    esac
16594
 
  else
16595
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16596
 
    case $host_os in
16597
 
    aix*)
16598
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16599
 
      if test "$host_cpu" = ia64; then
16600
 
        # AIX 5 now supports IA64 processor
16601
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16602
 
      else
16603
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16604
 
      fi
16605
 
      ;;
16606
 
      darwin*)
16607
 
        # PIC is the default on this platform
16608
 
        # Common symbols not allowed in MH_DYLIB files
16609
 
       case $cc_basename in
16610
 
         xlc*)
16611
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16612
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16613
 
         ;;
16614
 
       esac
16615
 
       ;;
16616
 
 
16617
 
    mingw* | pw32* | os2*)
16618
 
      # This hack is so that the source file can tell whether it is being
16619
 
      # built for inclusion in a dll (and should export symbols for example).
16620
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16621
 
      ;;
16622
 
 
16623
 
    hpux9* | hpux10* | hpux11*)
16624
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16625
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16626
 
      # not for PA HP-UX.
16627
 
      case $host_cpu in
16628
 
      hppa*64*|ia64*)
16629
 
        # +Z the default
16630
 
        ;;
16631
 
      *)
16632
 
        lt_prog_compiler_pic_GCJ='+Z'
16633
 
        ;;
16634
 
      esac
16635
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16636
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16637
 
      ;;
16638
 
 
16639
 
    irix5* | irix6* | nonstopux*)
16640
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16641
 
      # PIC (with -KPIC) is the default.
16642
 
      lt_prog_compiler_static_GCJ='-non_shared'
16643
 
      ;;
16644
 
 
16645
 
    newsos6)
16646
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16647
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16648
 
      ;;
16649
 
 
16650
 
    linux*)
16651
 
      case $cc_basename in
16652
 
      icc* | ecc*)
16653
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16654
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16655
 
        lt_prog_compiler_static_GCJ='-static'
16656
 
        ;;
16657
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16658
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16659
 
        # which looks to be a dead project)
16660
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16661
 
        lt_prog_compiler_pic_GCJ='-fpic'
16662
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16663
 
        ;;
16664
 
      ccc*)
16665
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16666
 
        # All Alpha code is PIC.
16667
 
        lt_prog_compiler_static_GCJ='-non_shared'
16668
 
        ;;
16669
 
      esac
16670
 
      ;;
16671
 
 
16672
 
    osf3* | osf4* | osf5*)
16673
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16674
 
      # All OSF/1 code is PIC.
16675
 
      lt_prog_compiler_static_GCJ='-non_shared'
16676
 
      ;;
16677
 
 
16678
 
    solaris*)
16679
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16680
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16681
 
      case $cc_basename in
16682
 
      f77* | f90* | f95*)
16683
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16684
 
      *)
16685
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16686
 
      esac
16687
 
      ;;
16688
 
 
16689
 
    sunos4*)
16690
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16691
 
      lt_prog_compiler_pic_GCJ='-PIC'
16692
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16693
 
      ;;
16694
 
 
16695
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16696
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16697
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16698
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16699
 
      ;;
16700
 
 
16701
 
    sysv4*MP*)
16702
 
      if test -d /usr/nec ;then
16703
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16704
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16705
 
      fi
16706
 
      ;;
16707
 
 
16708
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16709
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16710
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16711
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16712
 
      ;;
16713
 
 
16714
 
    unicos*)
16715
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16716
 
      lt_prog_compiler_can_build_shared_GCJ=no
16717
 
      ;;
16718
 
 
16719
 
    uts4*)
16720
 
      lt_prog_compiler_pic_GCJ='-pic'
16721
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16722
 
      ;;
16723
 
 
16724
 
    *)
16725
 
      lt_prog_compiler_can_build_shared_GCJ=no
16726
 
      ;;
16727
 
    esac
16728
 
  fi
16729
 
 
16730
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16731
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16732
 
 
16733
 
#
16734
 
# Check to make sure the PIC flag actually works.
16735
 
#
16736
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
16737
 
 
16738
 
echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16739
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16740
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16741
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16742
 
else
16743
 
  lt_prog_compiler_pic_works_GCJ=no
16744
 
  ac_outfile=conftest.$ac_objext
16745
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16746
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16747
 
   # Insert the option either (1) after the last *FLAGS variable, or
16748
 
   # (2) before a word containing "conftest.", or (3) at the end.
16749
 
   # Note that $ac_compile itself does not contain backslashes and begins
16750
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16751
 
   # The option is referenced via a variable to avoid confusing sed.
16752
 
   lt_compile=`echo "$ac_compile" | $SED \
16753
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16754
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16755
 
   -e 's:$: $lt_compiler_flag:'`
16756
 
   (eval echo "\"\$as_me:16756: $lt_compile\"" >&5)
16757
 
   (eval "$lt_compile" 2>conftest.err)
16758
 
   ac_status=$?
16759
 
   cat conftest.err >&5
16760
 
   echo "$as_me:16760: \$? = $ac_status" >&5
16761
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16762
 
     # The compiler can only warn and ignore the option if not recognized
16763
 
     # So say no if there are warnings other than the usual output.
16764
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16765
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16766
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16767
 
       lt_prog_compiler_pic_works_GCJ=yes
16768
 
     fi
16769
 
   fi
16770
 
   $rm conftest*
16771
 
 
16772
 
fi
16773
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16774
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16775
 
 
16776
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16777
 
    case $lt_prog_compiler_pic_GCJ in
16778
 
     "" | " "*) ;;
16779
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16780
 
     esac
16781
 
else
16782
 
    lt_prog_compiler_pic_GCJ=
16783
 
     lt_prog_compiler_can_build_shared_GCJ=no
16784
 
fi
16785
 
 
16786
 
fi
16787
 
case $host_os in
16788
 
  # For platforms which do not support PIC, -DPIC is meaningless:
16789
 
  *djgpp*)
16790
 
    lt_prog_compiler_pic_GCJ=
16791
 
    ;;
16792
 
  *)
16793
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
16794
 
    ;;
16795
 
esac
16796
 
 
16797
 
#
16798
 
# Check to make sure the static flag actually works.
16799
 
#
16800
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16801
 
echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16802
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16803
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16804
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16805
 
else
16806
 
  lt_prog_compiler_static_works_GCJ=no
16807
 
   save_LDFLAGS="$LDFLAGS"
16808
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16809
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
16810
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16811
 
     # The linker can only warn and ignore the option if not recognized
16812
 
     # So say no if there are warnings
16813
 
     if test -s conftest.err; then
16814
 
       # Append any errors to the config.log.
16815
 
       cat conftest.err 1>&5
16816
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16817
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16818
 
       if diff conftest.exp conftest.er2 >/dev/null; then
16819
 
         lt_prog_compiler_static_works_GCJ=yes
16820
 
       fi
16821
 
     else
16822
 
       lt_prog_compiler_static_works_GCJ=yes
16823
 
     fi
16824
 
   fi
16825
 
   $rm conftest*
16826
 
   LDFLAGS="$save_LDFLAGS"
16827
 
 
16828
 
fi
16829
 
echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16830
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16831
 
 
16832
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16833
 
    :
16834
 
else
16835
 
    lt_prog_compiler_static_GCJ=
16836
 
fi
16837
 
 
16838
 
 
16839
 
echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16840
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16841
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16842
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16843
 
else
16844
 
  lt_cv_prog_compiler_c_o_GCJ=no
16845
 
   $rm -r conftest 2>/dev/null
16846
 
   mkdir conftest
16847
 
   cd conftest
16848
 
   mkdir out
16849
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16850
 
 
16851
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
16852
 
   # Insert the option either (1) after the last *FLAGS variable, or
16853
 
   # (2) before a word containing "conftest.", or (3) at the end.
16854
 
   # Note that $ac_compile itself does not contain backslashes and begins
16855
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16856
 
   lt_compile=`echo "$ac_compile" | $SED \
16857
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16858
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16859
 
   -e 's:$: $lt_compiler_flag:'`
16860
 
   (eval echo "\"\$as_me:16860: $lt_compile\"" >&5)
16861
 
   (eval "$lt_compile" 2>out/conftest.err)
16862
 
   ac_status=$?
16863
 
   cat out/conftest.err >&5
16864
 
   echo "$as_me:16864: \$? = $ac_status" >&5
16865
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16866
 
   then
16867
 
     # The compiler can only warn and ignore the option if not recognized
16868
 
     # So say no if there are warnings
16869
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16870
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16871
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16872
 
       lt_cv_prog_compiler_c_o_GCJ=yes
16873
 
     fi
16874
 
   fi
16875
 
   chmod u+w . 2>&5
16876
 
   $rm conftest*
16877
 
   # SGI C++ compiler will create directory out/ii_files/ for
16878
 
   # template instantiation
16879
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16880
 
   $rm out/* && rmdir out
16881
 
   cd ..
16882
 
   rmdir conftest
16883
 
   $rm conftest*
16884
 
 
16885
 
fi
16886
 
echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16887
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16888
 
 
16889
 
 
16890
 
hard_links="nottested"
16891
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16892
 
  # do not overwrite the value of need_locks provided by the user
16893
 
  echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16894
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16895
 
  hard_links=yes
16896
 
  $rm conftest*
16897
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16898
 
  touch conftest.a
16899
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
16900
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16901
 
  echo "$as_me:$LINENO: result: $hard_links" >&5
16902
 
echo "${ECHO_T}$hard_links" >&6
16903
 
  if test "$hard_links" = no; then
16904
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16905
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16906
 
    need_locks=warn
16907
 
  fi
16908
 
else
16909
 
  need_locks=no
16910
 
fi
16911
 
 
16912
 
echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16913
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16914
 
 
16915
 
  runpath_var=
16916
 
  allow_undefined_flag_GCJ=
16917
 
  enable_shared_with_static_runtimes_GCJ=no
16918
 
  archive_cmds_GCJ=
16919
 
  archive_expsym_cmds_GCJ=
16920
 
  old_archive_From_new_cmds_GCJ=
16921
 
  old_archive_from_expsyms_cmds_GCJ=
16922
 
  export_dynamic_flag_spec_GCJ=
16923
 
  whole_archive_flag_spec_GCJ=
16924
 
  thread_safe_flag_spec_GCJ=
16925
 
  hardcode_libdir_flag_spec_GCJ=
16926
 
  hardcode_libdir_flag_spec_ld_GCJ=
16927
 
  hardcode_libdir_separator_GCJ=
16928
 
  hardcode_direct_GCJ=no
16929
 
  hardcode_minus_L_GCJ=no
16930
 
  hardcode_shlibpath_var_GCJ=unsupported
16931
 
  link_all_deplibs_GCJ=unknown
16932
 
  hardcode_automatic_GCJ=no
16933
 
  module_cmds_GCJ=
16934
 
  module_expsym_cmds_GCJ=
16935
 
  always_export_symbols_GCJ=no
16936
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16937
 
  # include_expsyms should be a list of space-separated symbols to be *always*
16938
 
  # included in the symbol list
16939
 
  include_expsyms_GCJ=
16940
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
16941
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
16942
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16943
 
  # as well as any symbol that contains `d'.
16944
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
16945
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16946
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
16947
 
  # the symbol is explicitly referenced.  Since portable code cannot
16948
 
  # rely on this symbol name, it's probably fine to never include it in
16949
 
  # preloaded symbol tables.
16950
 
  extract_expsyms_cmds=
16951
 
  # Just being paranoid about ensuring that cc_basename is set.
16952
 
  for cc_temp in $compiler""; do
16953
 
  case $cc_temp in
16954
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16955
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16956
 
    \-*) ;;
16957
 
    *) break;;
16958
 
  esac
16959
 
done
16960
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16961
 
 
16962
 
  case $host_os in
16963
 
  cygwin* | mingw* | pw32*)
16964
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
16965
 
    # When not using gcc, we currently assume that we are using
16966
 
    # Microsoft Visual C++.
16967
 
    if test "$GCC" != yes; then
16968
 
      with_gnu_ld=no
16969
 
    fi
16970
 
    ;;
16971
 
  interix*)
16972
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
16973
 
    with_gnu_ld=yes
16974
 
    ;;
16975
 
  openbsd*)
16976
 
    with_gnu_ld=no
16977
 
    ;;
16978
 
  esac
16979
 
 
16980
 
  ld_shlibs_GCJ=yes
16981
 
  if test "$with_gnu_ld" = yes; then
16982
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
16983
 
    wlarc='${wl}'
16984
 
 
16985
 
    # Set some defaults for GNU ld with shared library support. These
16986
 
    # are reset later if shared libraries are not supported. Putting them
16987
 
    # here allows them to be overridden if necessary.
16988
 
    runpath_var=LD_RUN_PATH
16989
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
16990
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
16991
 
    # ancient GNU ld didn't support --whole-archive et. al.
16992
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
16993
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16994
 
      else
16995
 
        whole_archive_flag_spec_GCJ=
16996
 
    fi
16997
 
    supports_anon_versioning=no
16998
 
    case `$LD -v 2>/dev/null` in
16999
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17000
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17001
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17002
 
      *\ 2.11.*) ;; # other 2.11 versions
17003
 
      *) supports_anon_versioning=yes ;;
17004
 
    esac
17005
 
 
17006
 
    # See if GNU ld supports shared libraries.
17007
 
    case $host_os in
17008
 
    aix3* | aix4* | aix5*)
17009
 
      # On AIX/PPC, the GNU linker is very broken
17010
 
      if test "$host_cpu" != ia64; then
17011
 
        ld_shlibs_GCJ=no
17012
 
        cat <<EOF 1>&2
17013
 
 
17014
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17015
 
*** to be unable to reliably create shared libraries on AIX.
17016
 
*** Therefore, libtool is disabling shared libraries support.  If you
17017
 
*** really care for shared libraries, you may want to modify your PATH
17018
 
*** so that a non-GNU linker is found, and then restart.
17019
 
 
17020
 
EOF
17021
 
      fi
17022
 
      ;;
17023
 
 
17024
 
    amigaos*)
17025
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17026
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17027
 
      hardcode_minus_L_GCJ=yes
17028
 
 
17029
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17030
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17031
 
      # to version 4, is to share data among multiple programs linked
17032
 
      # with the same dynamic library.  Since this doesn't match the
17033
 
      # behavior of shared libraries on other platforms, we can't use
17034
 
      # them.
17035
 
      ld_shlibs_GCJ=no
17036
 
      ;;
17037
 
 
17038
 
    beos*)
17039
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17040
 
        allow_undefined_flag_GCJ=unsupported
17041
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17042
 
        # support --undefined.  This deserves some investigation.  FIXME
17043
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17044
 
      else
17045
 
        ld_shlibs_GCJ=no
17046
 
      fi
17047
 
      ;;
17048
 
 
17049
 
    cygwin* | mingw* | pw32*)
17050
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17051
 
      # as there is no search path for DLLs.
17052
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17053
 
      allow_undefined_flag_GCJ=unsupported
17054
 
      always_export_symbols_GCJ=no
17055
 
      enable_shared_with_static_runtimes_GCJ=yes
17056
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17057
 
 
17058
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17059
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17060
 
        # If the export-symbols file already is a .def file (1st line
17061
 
        # is EXPORTS), use it as is; otherwise, prepend...
17062
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17063
 
          cp $export_symbols $output_objdir/$soname.def;
17064
 
        else
17065
 
          echo EXPORTS > $output_objdir/$soname.def;
17066
 
          cat $export_symbols >> $output_objdir/$soname.def;
17067
 
        fi~
17068
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17069
 
      else
17070
 
        ld_shlibs_GCJ=no
17071
 
      fi
17072
 
      ;;
17073
 
 
17074
 
    interix3*)
17075
 
      hardcode_direct_GCJ=no
17076
 
      hardcode_shlibpath_var_GCJ=no
17077
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17078
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17079
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17080
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17081
 
      # default) and relocated if they conflict, which is a slow very memory
17082
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17083
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17084
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17085
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17086
 
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17087
 
      ;;
17088
 
 
17089
 
    linux*)
17090
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17091
 
        tmp_addflag=
17092
 
        case $cc_basename,$host_cpu in
17093
 
        pgcc*)                          # Portland Group C compiler
17094
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17095
 
          tmp_addflag=' $pic_flag'
17096
 
          ;;
17097
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17098
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17099
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17100
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17101
 
          tmp_addflag=' -i_dynamic' ;;
17102
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17103
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17104
 
        ifc* | ifort*)                  # Intel Fortran compiler
17105
 
          tmp_addflag=' -nofor_main' ;;
17106
 
        esac
17107
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17108
 
 
17109
 
        if test $supports_anon_versioning = yes; then
17110
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17111
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17112
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17113
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17114
 
        fi
17115
 
      else
17116
 
        ld_shlibs_GCJ=no
17117
 
      fi
17118
 
      ;;
17119
 
 
17120
 
    netbsd*)
17121
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17122
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17123
 
        wlarc=
17124
 
      else
17125
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17126
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17127
 
      fi
17128
 
      ;;
17129
 
 
17130
 
    solaris*)
17131
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17132
 
        ld_shlibs_GCJ=no
17133
 
        cat <<EOF 1>&2
17134
 
 
17135
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17136
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17137
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17138
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17139
 
*** your PATH or compiler configuration so that the native linker is
17140
 
*** used, and then restart.
17141
 
 
17142
 
EOF
17143
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17144
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17145
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17146
 
      else
17147
 
        ld_shlibs_GCJ=no
17148
 
      fi
17149
 
      ;;
17150
 
 
17151
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17152
 
      case `$LD -v 2>&1` in
17153
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17154
 
        ld_shlibs_GCJ=no
17155
 
        cat <<_LT_EOF 1>&2
17156
 
 
17157
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17158
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17159
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17160
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17161
 
*** your PATH or compiler configuration so that the native linker is
17162
 
*** used, and then restart.
17163
 
 
17164
 
_LT_EOF
17165
 
        ;;
17166
 
        *)
17167
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17168
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17169
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17170
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17171
 
          else
17172
 
            ld_shlibs_GCJ=no
17173
 
          fi
17174
 
        ;;
17175
 
      esac
17176
 
      ;;
17177
 
 
17178
 
    sunos4*)
17179
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17180
 
      wlarc=
17181
 
      hardcode_direct_GCJ=yes
17182
 
      hardcode_shlibpath_var_GCJ=no
17183
 
      ;;
17184
 
 
17185
 
    *)
17186
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17187
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17188
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17189
 
      else
17190
 
        ld_shlibs_GCJ=no
17191
 
      fi
17192
 
      ;;
17193
 
    esac
17194
 
 
17195
 
    if test "$ld_shlibs_GCJ" = no; then
17196
 
      runpath_var=
17197
 
      hardcode_libdir_flag_spec_GCJ=
17198
 
      export_dynamic_flag_spec_GCJ=
17199
 
      whole_archive_flag_spec_GCJ=
17200
 
    fi
17201
 
  else
17202
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17203
 
    case $host_os in
17204
 
    aix3*)
17205
 
      allow_undefined_flag_GCJ=unsupported
17206
 
      always_export_symbols_GCJ=yes
17207
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17208
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17209
 
      # are no directories specified by -L.
17210
 
      hardcode_minus_L_GCJ=yes
17211
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17212
 
        # Neither direct hardcoding nor static linking is supported with a
17213
 
        # broken collect2.
17214
 
        hardcode_direct_GCJ=unsupported
17215
 
      fi
17216
 
      ;;
17217
 
 
17218
 
    aix4* | aix5*)
17219
 
      if test "$host_cpu" = ia64; then
17220
 
        # On IA64, the linker does run time linking by default, so we don't
17221
 
        # have to do anything special.
17222
 
        aix_use_runtimelinking=no
17223
 
        exp_sym_flag='-Bexport'
17224
 
        no_entry_flag=""
17225
 
      else
17226
 
        # If we're using GNU nm, then we don't want the "-C" option.
17227
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17228
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17229
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17230
 
        else
17231
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17232
 
        fi
17233
 
        aix_use_runtimelinking=no
17234
 
 
17235
 
        # Test if we are trying to use run time linking or normal
17236
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17237
 
        # need to do runtime linking.
17238
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17239
 
          for ld_flag in $LDFLAGS; do
17240
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17241
 
            aix_use_runtimelinking=yes
17242
 
            break
17243
 
          fi
17244
 
          done
17245
 
          ;;
17246
 
        esac
17247
 
 
17248
 
        exp_sym_flag='-bexport'
17249
 
        no_entry_flag='-bnoentry'
17250
 
      fi
17251
 
 
17252
 
      # When large executables or shared objects are built, AIX ld can
17253
 
      # have problems creating the table of contents.  If linking a library
17254
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17255
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17256
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17257
 
 
17258
 
      archive_cmds_GCJ=''
17259
 
      hardcode_direct_GCJ=yes
17260
 
      hardcode_libdir_separator_GCJ=':'
17261
 
      link_all_deplibs_GCJ=yes
17262
 
 
17263
 
      if test "$GCC" = yes; then
17264
 
        case $host_os in aix4.[012]|aix4.[012].*)
17265
 
        # We only want to do this on AIX 4.2 and lower, the check
17266
 
        # below for broken collect2 doesn't work under 4.3+
17267
 
          collect2name=`${CC} -print-prog-name=collect2`
17268
 
          if test -f "$collect2name" && \
17269
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17270
 
          then
17271
 
          # We have reworked collect2
17272
 
          hardcode_direct_GCJ=yes
17273
 
          else
17274
 
          # We have old collect2
17275
 
          hardcode_direct_GCJ=unsupported
17276
 
          # It fails to find uninstalled libraries when the uninstalled
17277
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17278
 
          # to unsupported forces relinking
17279
 
          hardcode_minus_L_GCJ=yes
17280
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17281
 
          hardcode_libdir_separator_GCJ=
17282
 
          fi
17283
 
          ;;
17284
 
        esac
17285
 
        shared_flag='-shared'
17286
 
        if test "$aix_use_runtimelinking" = yes; then
17287
 
          shared_flag="$shared_flag "'${wl}-G'
17288
 
        fi
17289
 
      else
17290
 
        # not using gcc
17291
 
        if test "$host_cpu" = ia64; then
17292
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17293
 
        # chokes on -Wl,-G. The following line is correct:
17294
 
          shared_flag='-G'
17295
 
        else
17296
 
          if test "$aix_use_runtimelinking" = yes; then
17297
 
            shared_flag='${wl}-G'
17298
 
          else
17299
 
            shared_flag='${wl}-bM:SRE'
17300
 
          fi
17301
 
        fi
17302
 
      fi
17303
 
 
17304
 
      # It seems that -bexpall does not export symbols beginning with
17305
 
      # underscore (_), so it is better to generate a list of symbols to export.
17306
 
      always_export_symbols_GCJ=yes
17307
 
      if test "$aix_use_runtimelinking" = yes; then
17308
 
        # Warning - without using the other runtime loading flags (-brtl),
17309
 
        # -berok will link without error, but may produce a broken library.
17310
 
        allow_undefined_flag_GCJ='-berok'
17311
 
       # Determine the default libpath from the value encoded in an empty executable.
17312
 
       cat >conftest.$ac_ext <<_ACEOF
17313
 
/* confdefs.h.  */
17314
 
_ACEOF
17315
 
cat confdefs.h >>conftest.$ac_ext
17316
 
cat >>conftest.$ac_ext <<_ACEOF
17317
 
/* end confdefs.h.  */
17318
 
 
17319
 
int
17320
 
main ()
17321
 
{
17322
 
 
17323
 
  ;
17324
 
  return 0;
17325
 
}
17326
 
_ACEOF
17327
 
rm -f conftest.$ac_objext conftest$ac_exeext
17328
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17329
 
  (eval $ac_link) 2>conftest.er1
17330
 
  ac_status=$?
17331
 
  grep -v '^ *+' conftest.er1 >conftest.err
17332
 
  rm -f conftest.er1
17333
 
  cat conftest.err >&5
17334
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335
 
  (exit $ac_status); } &&
17336
 
         { ac_try='test -z "$ac_c_werror_flag"
17337
 
                         || test ! -s conftest.err'
17338
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17339
 
  (eval $ac_try) 2>&5
17340
 
  ac_status=$?
17341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342
 
  (exit $ac_status); }; } &&
17343
 
         { ac_try='test -s conftest$ac_exeext'
17344
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17345
 
  (eval $ac_try) 2>&5
17346
 
  ac_status=$?
17347
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348
 
  (exit $ac_status); }; }; then
17349
 
 
17350
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17351
 
}'`
17352
 
# Check for a 64-bit object if we didn't find anything.
17353
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17354
 
}'`; fi
17355
 
else
17356
 
  echo "$as_me: failed program was:" >&5
17357
 
sed 's/^/| /' conftest.$ac_ext >&5
17358
 
 
17359
 
fi
17360
 
rm -f conftest.err conftest.$ac_objext \
17361
 
      conftest$ac_exeext conftest.$ac_ext
17362
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17363
 
 
17364
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17365
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17366
 
       else
17367
 
        if test "$host_cpu" = ia64; then
17368
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17369
 
          allow_undefined_flag_GCJ="-z nodefs"
17370
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17371
 
        else
17372
 
         # Determine the default libpath from the value encoded in an empty executable.
17373
 
         cat >conftest.$ac_ext <<_ACEOF
17374
 
/* confdefs.h.  */
17375
 
_ACEOF
17376
 
cat confdefs.h >>conftest.$ac_ext
17377
 
cat >>conftest.$ac_ext <<_ACEOF
17378
 
/* end confdefs.h.  */
17379
 
 
17380
 
int
17381
 
main ()
17382
 
{
17383
 
 
17384
 
  ;
17385
 
  return 0;
17386
 
}
17387
 
_ACEOF
17388
 
rm -f conftest.$ac_objext conftest$ac_exeext
17389
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17390
 
  (eval $ac_link) 2>conftest.er1
17391
 
  ac_status=$?
17392
 
  grep -v '^ *+' conftest.er1 >conftest.err
17393
 
  rm -f conftest.er1
17394
 
  cat conftest.err >&5
17395
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396
 
  (exit $ac_status); } &&
17397
 
         { ac_try='test -z "$ac_c_werror_flag"
17398
 
                         || test ! -s conftest.err'
17399
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400
 
  (eval $ac_try) 2>&5
17401
 
  ac_status=$?
17402
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403
 
  (exit $ac_status); }; } &&
17404
 
         { ac_try='test -s conftest$ac_exeext'
17405
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406
 
  (eval $ac_try) 2>&5
17407
 
  ac_status=$?
17408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409
 
  (exit $ac_status); }; }; then
17410
 
 
17411
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17412
 
}'`
17413
 
# Check for a 64-bit object if we didn't find anything.
17414
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17415
 
}'`; fi
17416
 
else
17417
 
  echo "$as_me: failed program was:" >&5
17418
 
sed 's/^/| /' conftest.$ac_ext >&5
17419
 
 
17420
 
fi
17421
 
rm -f conftest.err conftest.$ac_objext \
17422
 
      conftest$ac_exeext conftest.$ac_ext
17423
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17424
 
 
17425
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17426
 
          # Warning - without using the other run time loading flags,
17427
 
          # -berok will link without error, but may produce a broken library.
17428
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17429
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17430
 
          # Exported symbols can be pulled into shared objects from archives
17431
 
          whole_archive_flag_spec_GCJ='$convenience'
17432
 
          archive_cmds_need_lc_GCJ=yes
17433
 
          # This is similar to how AIX traditionally builds its shared libraries.
17434
 
          archive_expsym_cmds_GCJ="\$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'
17435
 
        fi
17436
 
      fi
17437
 
      ;;
17438
 
 
17439
 
    amigaos*)
17440
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17441
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17442
 
      hardcode_minus_L_GCJ=yes
17443
 
      # see comment about different semantics on the GNU ld section
17444
 
      ld_shlibs_GCJ=no
17445
 
      ;;
17446
 
 
17447
 
    bsdi[45]*)
17448
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17449
 
      ;;
17450
 
 
17451
 
    cygwin* | mingw* | pw32*)
17452
 
      # When not using gcc, we currently assume that we are using
17453
 
      # Microsoft Visual C++.
17454
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17455
 
      # no search path for DLLs.
17456
 
      hardcode_libdir_flag_spec_GCJ=' '
17457
 
      allow_undefined_flag_GCJ=unsupported
17458
 
      # Tell ltmain to make .lib files, not .a files.
17459
 
      libext=lib
17460
 
      # Tell ltmain to make .dll files, not .so files.
17461
 
      shrext_cmds=".dll"
17462
 
      # FIXME: Setting linknames here is a bad hack.
17463
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17464
 
      # The linker will automatically build a .lib file if we build a DLL.
17465
 
      old_archive_From_new_cmds_GCJ='true'
17466
 
      # FIXME: Should let the user specify the lib program.
17467
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17468
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17469
 
      enable_shared_with_static_runtimes_GCJ=yes
17470
 
      ;;
17471
 
 
17472
 
    darwin* | rhapsody*)
17473
 
      case $host_os in
17474
 
        rhapsody* | darwin1.[012])
17475
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17476
 
         ;;
17477
 
       *) # Darwin 1.3 on
17478
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17479
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17480
 
         else
17481
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17482
 
             10.[012])
17483
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17484
 
               ;;
17485
 
             10.*)
17486
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17487
 
               ;;
17488
 
           esac
17489
 
         fi
17490
 
         ;;
17491
 
      esac
17492
 
      archive_cmds_need_lc_GCJ=no
17493
 
      hardcode_direct_GCJ=no
17494
 
      hardcode_automatic_GCJ=yes
17495
 
      hardcode_shlibpath_var_GCJ=unsupported
17496
 
      whole_archive_flag_spec_GCJ=''
17497
 
      link_all_deplibs_GCJ=yes
17498
 
    if test "$GCC" = yes ; then
17499
 
        output_verbose_link_cmd='echo'
17500
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17501
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17502
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17503
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17504
 
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17505
 
    else
17506
 
      case $cc_basename in
17507
 
        xlc*)
17508
 
         output_verbose_link_cmd='echo'
17509
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17510
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17511
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17512
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17513
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17514
 
          ;;
17515
 
       *)
17516
 
         ld_shlibs_GCJ=no
17517
 
          ;;
17518
 
      esac
17519
 
    fi
17520
 
      ;;
17521
 
 
17522
 
    dgux*)
17523
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17524
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17525
 
      hardcode_shlibpath_var_GCJ=no
17526
 
      ;;
17527
 
 
17528
 
    freebsd1*)
17529
 
      ld_shlibs_GCJ=no
17530
 
      ;;
17531
 
 
17532
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17533
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17534
 
    # does not break anything, and helps significantly (at the cost of a little
17535
 
    # extra space).
17536
 
    freebsd2.2*)
17537
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17538
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17539
 
      hardcode_direct_GCJ=yes
17540
 
      hardcode_shlibpath_var_GCJ=no
17541
 
      ;;
17542
 
 
17543
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17544
 
    freebsd2*)
17545
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17546
 
      hardcode_direct_GCJ=yes
17547
 
      hardcode_minus_L_GCJ=yes
17548
 
      hardcode_shlibpath_var_GCJ=no
17549
 
      ;;
17550
 
 
17551
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17552
 
    freebsd* | kfreebsd*-gnu | dragonfly*)
17553
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17554
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17555
 
      hardcode_direct_GCJ=yes
17556
 
      hardcode_shlibpath_var_GCJ=no
17557
 
      ;;
17558
 
 
17559
 
    hpux9*)
17560
 
      if test "$GCC" = yes; then
17561
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17562
 
      else
17563
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17564
 
      fi
17565
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17566
 
      hardcode_libdir_separator_GCJ=:
17567
 
      hardcode_direct_GCJ=yes
17568
 
 
17569
 
      # hardcode_minus_L: Not really in the search PATH,
17570
 
      # but as the default location of the library.
17571
 
      hardcode_minus_L_GCJ=yes
17572
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17573
 
      ;;
17574
 
 
17575
 
    hpux10*)
17576
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17577
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17578
 
      else
17579
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17580
 
      fi
17581
 
      if test "$with_gnu_ld" = no; then
17582
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17583
 
        hardcode_libdir_separator_GCJ=:
17584
 
 
17585
 
        hardcode_direct_GCJ=yes
17586
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17587
 
 
17588
 
        # hardcode_minus_L: Not really in the search PATH,
17589
 
        # but as the default location of the library.
17590
 
        hardcode_minus_L_GCJ=yes
17591
 
      fi
17592
 
      ;;
17593
 
 
17594
 
    hpux11*)
17595
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17596
 
        case $host_cpu in
17597
 
        hppa*64*)
17598
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17599
 
          ;;
17600
 
        ia64*)
17601
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17602
 
          ;;
17603
 
        *)
17604
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17605
 
          ;;
17606
 
        esac
17607
 
      else
17608
 
        case $host_cpu in
17609
 
        hppa*64*)
17610
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17611
 
          ;;
17612
 
        ia64*)
17613
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17614
 
          ;;
17615
 
        *)
17616
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17617
 
          ;;
17618
 
        esac
17619
 
      fi
17620
 
      if test "$with_gnu_ld" = no; then
17621
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17622
 
        hardcode_libdir_separator_GCJ=:
17623
 
 
17624
 
        case $host_cpu in
17625
 
        hppa*64*|ia64*)
17626
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17627
 
          hardcode_direct_GCJ=no
17628
 
          hardcode_shlibpath_var_GCJ=no
17629
 
          ;;
17630
 
        *)
17631
 
          hardcode_direct_GCJ=yes
17632
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17633
 
 
17634
 
          # hardcode_minus_L: Not really in the search PATH,
17635
 
          # but as the default location of the library.
17636
 
          hardcode_minus_L_GCJ=yes
17637
 
          ;;
17638
 
        esac
17639
 
      fi
17640
 
      ;;
17641
 
 
17642
 
    irix5* | irix6* | nonstopux*)
17643
 
      if test "$GCC" = yes; then
17644
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17645
 
      else
17646
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17647
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17648
 
      fi
17649
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17650
 
      hardcode_libdir_separator_GCJ=:
17651
 
      link_all_deplibs_GCJ=yes
17652
 
      ;;
17653
 
 
17654
 
    netbsd*)
17655
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17656
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17657
 
      else
17658
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17659
 
      fi
17660
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17661
 
      hardcode_direct_GCJ=yes
17662
 
      hardcode_shlibpath_var_GCJ=no
17663
 
      ;;
17664
 
 
17665
 
    newsos6)
17666
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17667
 
      hardcode_direct_GCJ=yes
17668
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17669
 
      hardcode_libdir_separator_GCJ=:
17670
 
      hardcode_shlibpath_var_GCJ=no
17671
 
      ;;
17672
 
 
17673
 
    openbsd*)
17674
 
      hardcode_direct_GCJ=yes
17675
 
      hardcode_shlibpath_var_GCJ=no
17676
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17677
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17678
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17679
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17680
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17681
 
      else
17682
 
       case $host_os in
17683
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17684
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17685
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17686
 
           ;;
17687
 
         *)
17688
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17689
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17690
 
           ;;
17691
 
       esac
17692
 
      fi
17693
 
      ;;
17694
 
 
17695
 
    os2*)
17696
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17697
 
      hardcode_minus_L_GCJ=yes
17698
 
      allow_undefined_flag_GCJ=unsupported
17699
 
      archive_cmds_GCJ='$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'
17700
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17701
 
      ;;
17702
 
 
17703
 
    osf3*)
17704
 
      if test "$GCC" = yes; then
17705
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17706
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17707
 
      else
17708
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17709
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17710
 
      fi
17711
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17712
 
      hardcode_libdir_separator_GCJ=:
17713
 
      ;;
17714
 
 
17715
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
17716
 
      if test "$GCC" = yes; then
17717
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17718
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17719
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17720
 
      else
17721
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17722
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
17723
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
17724
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
17725
 
 
17726
 
        # Both c and cxx compiler support -rpath directly
17727
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17728
 
      fi
17729
 
      hardcode_libdir_separator_GCJ=:
17730
 
      ;;
17731
 
 
17732
 
    solaris*)
17733
 
      no_undefined_flag_GCJ=' -z text'
17734
 
      if test "$GCC" = yes; then
17735
 
        wlarc='${wl}'
17736
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17737
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17738
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17739
 
      else
17740
 
        wlarc=''
17741
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17742
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17743
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17744
 
      fi
17745
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17746
 
      hardcode_shlibpath_var_GCJ=no
17747
 
      case $host_os in
17748
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
17749
 
      *)
17750
 
        # The compiler driver will combine linker options so we
17751
 
        # cannot just pass the convience library names through
17752
 
        # without $wl, iff we do not link with $LD.
17753
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
17754
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
17755
 
        case $wlarc in
17756
 
        '')
17757
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17758
 
        *)
17759
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17760
 
        esac ;;
17761
 
      esac
17762
 
      link_all_deplibs_GCJ=yes
17763
 
      ;;
17764
 
 
17765
 
    sunos4*)
17766
 
      if test "x$host_vendor" = xsequent; then
17767
 
        # Use $CC to link under sequent, because it throws in some extra .o
17768
 
        # files that make .init and .fini sections work.
17769
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17770
 
      else
17771
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17772
 
      fi
17773
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17774
 
      hardcode_direct_GCJ=yes
17775
 
      hardcode_minus_L_GCJ=yes
17776
 
      hardcode_shlibpath_var_GCJ=no
17777
 
      ;;
17778
 
 
17779
 
    sysv4)
17780
 
      case $host_vendor in
17781
 
        sni)
17782
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17783
 
          hardcode_direct_GCJ=yes # is this really true???
17784
 
        ;;
17785
 
        siemens)
17786
 
          ## LD is ld it makes a PLAMLIB
17787
 
          ## CC just makes a GrossModule.
17788
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17789
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
17790
 
          hardcode_direct_GCJ=no
17791
 
        ;;
17792
 
        motorola)
17793
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17794
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
17795
 
        ;;
17796
 
      esac
17797
 
      runpath_var='LD_RUN_PATH'
17798
 
      hardcode_shlibpath_var_GCJ=no
17799
 
      ;;
17800
 
 
17801
 
    sysv4.3*)
17802
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17803
 
      hardcode_shlibpath_var_GCJ=no
17804
 
      export_dynamic_flag_spec_GCJ='-Bexport'
17805
 
      ;;
17806
 
 
17807
 
    sysv4*MP*)
17808
 
      if test -d /usr/nec; then
17809
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17810
 
        hardcode_shlibpath_var_GCJ=no
17811
 
        runpath_var=LD_RUN_PATH
17812
 
        hardcode_runpath_var=yes
17813
 
        ld_shlibs_GCJ=yes
17814
 
      fi
17815
 
      ;;
17816
 
 
17817
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
17818
 
      no_undefined_flag_GCJ='${wl}-z,text'
17819
 
      archive_cmds_need_lc_GCJ=no
17820
 
      hardcode_shlibpath_var_GCJ=no
17821
 
      runpath_var='LD_RUN_PATH'
17822
 
 
17823
 
      if test "$GCC" = yes; then
17824
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17825
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17826
 
      else
17827
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17828
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17829
 
      fi
17830
 
      ;;
17831
 
 
17832
 
    sysv5* | sco3.2v5* | sco5v6*)
17833
 
      # Note: We can NOT use -z defs as we might desire, because we do not
17834
 
      # link with -lc, and that would cause any symbols used from libc to
17835
 
      # always be unresolved, which means just about no library would
17836
 
      # ever link correctly.  If we're not using GNU ld we use -z text
17837
 
      # though, which does catch some bad symbols but isn't as heavy-handed
17838
 
      # as -z defs.
17839
 
      no_undefined_flag_GCJ='${wl}-z,text'
17840
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
17841
 
      archive_cmds_need_lc_GCJ=no
17842
 
      hardcode_shlibpath_var_GCJ=no
17843
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17844
 
      hardcode_libdir_separator_GCJ=':'
17845
 
      link_all_deplibs_GCJ=yes
17846
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17847
 
      runpath_var='LD_RUN_PATH'
17848
 
 
17849
 
      if test "$GCC" = yes; then
17850
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17851
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17852
 
      else
17853
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17854
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17855
 
      fi
17856
 
      ;;
17857
 
 
17858
 
    uts4*)
17859
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17860
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17861
 
      hardcode_shlibpath_var_GCJ=no
17862
 
      ;;
17863
 
 
17864
 
    *)
17865
 
      ld_shlibs_GCJ=no
17866
 
      ;;
17867
 
    esac
17868
 
  fi
17869
 
 
17870
 
echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17871
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17872
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17873
 
 
17874
 
#
17875
 
# Do we need to explicitly link libc?
17876
 
#
17877
 
case "x$archive_cmds_need_lc_GCJ" in
17878
 
x|xyes)
17879
 
  # Assume -lc should be added
17880
 
  archive_cmds_need_lc_GCJ=yes
17881
 
 
17882
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
17883
 
    case $archive_cmds_GCJ in
17884
 
    *'~'*)
17885
 
      # FIXME: we may have to deal with multi-command sequences.
17886
 
      ;;
17887
 
    '$CC '*)
17888
 
      # Test whether the compiler implicitly links with -lc since on some
17889
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
17890
 
      # to ld, don't add -lc before -lgcc.
17891
 
      echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17892
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17893
 
      $rm conftest*
17894
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17895
 
 
17896
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17897
 
  (eval $ac_compile) 2>&5
17898
 
  ac_status=$?
17899
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900
 
  (exit $ac_status); } 2>conftest.err; then
17901
 
        soname=conftest
17902
 
        lib=conftest
17903
 
        libobjs=conftest.$ac_objext
17904
 
        deplibs=
17905
 
        wl=$lt_prog_compiler_wl_GCJ
17906
 
        pic_flag=$lt_prog_compiler_pic_GCJ
17907
 
        compiler_flags=-v
17908
 
        linker_flags=-v
17909
 
        verstring=
17910
 
        output_objdir=.
17911
 
        libname=conftest
17912
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
17913
 
        allow_undefined_flag_GCJ=
17914
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
17915
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
17916
 
  ac_status=$?
17917
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918
 
  (exit $ac_status); }
17919
 
        then
17920
 
          archive_cmds_need_lc_GCJ=no
17921
 
        else
17922
 
          archive_cmds_need_lc_GCJ=yes
17923
 
        fi
17924
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
17925
 
      else
17926
 
        cat conftest.err 1>&5
17927
 
      fi
17928
 
      $rm conftest*
17929
 
      echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17930
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17931
 
      ;;
17932
 
    esac
17933
 
  fi
17934
 
  ;;
17935
 
esac
17936
 
 
17937
 
echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17938
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17939
 
library_names_spec=
17940
 
libname_spec='lib$name'
17941
 
soname_spec=
17942
 
shrext_cmds=".so"
17943
 
postinstall_cmds=
17944
 
postuninstall_cmds=
17945
 
finish_cmds=
17946
 
finish_eval=
17947
 
shlibpath_var=
17948
 
shlibpath_overrides_runpath=unknown
17949
 
version_type=none
17950
 
dynamic_linker="$host_os ld.so"
17951
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17952
 
if test "$GCC" = yes; then
17953
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17954
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
17955
 
    # if the path contains ";" then we assume it to be the separator
17956
 
    # otherwise default to the standard path separator (i.e. ":") - it is
17957
 
    # assumed that no part of a normal pathname contains ";" but that should
17958
 
    # okay in the real world where ";" in dirpaths is itself problematic.
17959
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17960
 
  else
17961
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
17962
 
  fi
17963
 
else
17964
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17965
 
fi
17966
 
need_lib_prefix=unknown
17967
 
hardcode_into_libs=no
17968
 
 
17969
 
# when you set need_version to no, make sure it does not cause -set_version
17970
 
# flags to be left without arguments
17971
 
need_version=unknown
17972
 
 
17973
 
case $host_os in
17974
 
aix3*)
17975
 
  version_type=linux
17976
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17977
 
  shlibpath_var=LIBPATH
17978
 
 
17979
 
  # AIX 3 has no versioning support, so we append a major version to the name.
17980
 
  soname_spec='${libname}${release}${shared_ext}$major'
17981
 
  ;;
17982
 
 
17983
 
aix4* | aix5*)
17984
 
  version_type=linux
17985
 
  need_lib_prefix=no
17986
 
  need_version=no
17987
 
  hardcode_into_libs=yes
17988
 
  if test "$host_cpu" = ia64; then
17989
 
    # AIX 5 supports IA64
17990
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17991
 
    shlibpath_var=LD_LIBRARY_PATH
17992
 
  else
17993
 
    # With GCC up to 2.95.x, collect2 would create an import file
17994
 
    # for dependence libraries.  The import file would start with
17995
 
    # the line `#! .'.  This would cause the generated library to
17996
 
    # depend on `.', always an invalid library.  This was fixed in
17997
 
    # development snapshots of GCC prior to 3.0.
17998
 
    case $host_os in
17999
 
      aix4 | aix4.[01] | aix4.[01].*)
18000
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18001
 
           echo ' yes '
18002
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18003
 
        :
18004
 
      else
18005
 
        can_build_shared=no
18006
 
      fi
18007
 
      ;;
18008
 
    esac
18009
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18010
 
    # soname into executable. Probably we can add versioning support to
18011
 
    # collect2, so additional links can be useful in future.
18012
 
    if test "$aix_use_runtimelinking" = yes; then
18013
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18014
 
      # instead of lib<name>.a to let people know that these are not
18015
 
      # typical AIX shared libraries.
18016
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18017
 
    else
18018
 
      # We preserve .a as extension for shared libraries through AIX4.2
18019
 
      # and later when we are not doing run time linking.
18020
 
      library_names_spec='${libname}${release}.a $libname.a'
18021
 
      soname_spec='${libname}${release}${shared_ext}$major'
18022
 
    fi
18023
 
    shlibpath_var=LIBPATH
18024
 
  fi
18025
 
  ;;
18026
 
 
18027
 
amigaos*)
18028
 
  library_names_spec='$libname.ixlibrary $libname.a'
18029
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18030
 
  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'
18031
 
  ;;
18032
 
 
18033
 
beos*)
18034
 
  library_names_spec='${libname}${shared_ext}'
18035
 
  dynamic_linker="$host_os ld.so"
18036
 
  shlibpath_var=LIBRARY_PATH
18037
 
  ;;
18038
 
 
18039
 
bsdi[45]*)
18040
 
  version_type=linux
18041
 
  need_version=no
18042
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18043
 
  soname_spec='${libname}${release}${shared_ext}$major'
18044
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18045
 
  shlibpath_var=LD_LIBRARY_PATH
18046
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18047
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18048
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18049
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18050
 
  # libtool to hard-code these into programs
18051
 
  ;;
18052
 
 
18053
 
cygwin* | mingw* | pw32*)
18054
 
  version_type=windows
18055
 
  shrext_cmds=".dll"
18056
 
  need_version=no
18057
 
  need_lib_prefix=no
18058
 
 
18059
 
  case $GCC,$host_os in
18060
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18061
 
    library_names_spec='$libname.dll.a'
18062
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18063
 
    postinstall_cmds='base_file=`basename \${file}`~
18064
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18065
 
      dldir=$destdir/`dirname \$dlpath`~
18066
 
      test -d \$dldir || mkdir -p \$dldir~
18067
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18068
 
      chmod a+x \$dldir/$dlname'
18069
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18070
 
      dlpath=$dir/\$dldll~
18071
 
       $rm \$dlpath'
18072
 
    shlibpath_overrides_runpath=yes
18073
 
 
18074
 
    case $host_os in
18075
 
    cygwin*)
18076
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18077
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18078
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18079
 
      ;;
18080
 
    mingw*)
18081
 
      # MinGW DLLs use traditional 'lib' prefix
18082
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18083
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18084
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18085
 
        # It is most probably a Windows format PATH printed by
18086
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18087
 
        # path with ; separators, and with drive letters. We can handle the
18088
 
        # drive letters (cygwin fileutils understands them), so leave them,
18089
 
        # especially as we might pass files found there to a mingw objdump,
18090
 
        # which wouldn't understand a cygwinified path. Ahh.
18091
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18092
 
      else
18093
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18094
 
      fi
18095
 
      ;;
18096
 
    pw32*)
18097
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18098
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18099
 
      ;;
18100
 
    esac
18101
 
    ;;
18102
 
 
18103
 
  *)
18104
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18105
 
    ;;
18106
 
  esac
18107
 
  dynamic_linker='Win32 ld.exe'
18108
 
  # FIXME: first we should search . and the directory the executable is in
18109
 
  shlibpath_var=PATH
18110
 
  ;;
18111
 
 
18112
 
darwin* | rhapsody*)
18113
 
  dynamic_linker="$host_os dyld"
18114
 
  version_type=darwin
18115
 
  need_lib_prefix=no
18116
 
  need_version=no
18117
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18118
 
  soname_spec='${libname}${release}${major}$shared_ext'
18119
 
  shlibpath_overrides_runpath=yes
18120
 
  shlibpath_var=DYLD_LIBRARY_PATH
18121
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18122
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18123
 
  if test "$GCC" = yes; then
18124
 
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18125
 
  else
18126
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18127
 
  fi
18128
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18129
 
  ;;
18130
 
 
18131
 
dgux*)
18132
 
  version_type=linux
18133
 
  need_lib_prefix=no
18134
 
  need_version=no
18135
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18136
 
  soname_spec='${libname}${release}${shared_ext}$major'
18137
 
  shlibpath_var=LD_LIBRARY_PATH
18138
 
  ;;
18139
 
 
18140
 
freebsd1*)
18141
 
  dynamic_linker=no
18142
 
  ;;
18143
 
 
18144
 
kfreebsd*-gnu)
18145
 
  version_type=linux
18146
 
  need_lib_prefix=no
18147
 
  need_version=no
18148
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18149
 
  soname_spec='${libname}${release}${shared_ext}$major'
18150
 
  shlibpath_var=LD_LIBRARY_PATH
18151
 
  shlibpath_overrides_runpath=no
18152
 
  hardcode_into_libs=yes
18153
 
  dynamic_linker='GNU ld.so'
18154
 
  ;;
18155
 
 
18156
 
freebsd* | dragonfly*)
18157
 
  # DragonFly does not have aout.  When/if they implement a new
18158
 
  # versioning mechanism, adjust this.
18159
 
  if test -x /usr/bin/objformat; then
18160
 
    objformat=`/usr/bin/objformat`
18161
 
  else
18162
 
    case $host_os in
18163
 
    freebsd[123]*) objformat=aout ;;
18164
 
    *) objformat=elf ;;
18165
 
    esac
18166
 
  fi
18167
 
  version_type=freebsd-$objformat
18168
 
  case $version_type in
18169
 
    freebsd-elf*)
18170
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18171
 
      need_version=no
18172
 
      need_lib_prefix=no
18173
 
      ;;
18174
 
    freebsd-*)
18175
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18176
 
      need_version=yes
18177
 
      ;;
18178
 
  esac
18179
 
  shlibpath_var=LD_LIBRARY_PATH
18180
 
  case $host_os in
18181
 
  freebsd2*)
18182
 
    shlibpath_overrides_runpath=yes
18183
 
    ;;
18184
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18185
 
    shlibpath_overrides_runpath=yes
18186
 
    hardcode_into_libs=yes
18187
 
    ;;
18188
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18189
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18190
 
    shlibpath_overrides_runpath=no
18191
 
    hardcode_into_libs=yes
18192
 
    ;;
18193
 
  freebsd*) # from 4.6 on
18194
 
    shlibpath_overrides_runpath=yes
18195
 
    hardcode_into_libs=yes
18196
 
    ;;
18197
 
  esac
18198
 
  ;;
18199
 
 
18200
 
gnu*)
18201
 
  version_type=linux
18202
 
  need_lib_prefix=no
18203
 
  need_version=no
18204
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18205
 
  soname_spec='${libname}${release}${shared_ext}$major'
18206
 
  shlibpath_var=LD_LIBRARY_PATH
18207
 
  hardcode_into_libs=yes
18208
 
  ;;
18209
 
 
18210
 
hpux9* | hpux10* | hpux11*)
18211
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18212
 
  # link against other versions.
18213
 
  version_type=sunos
18214
 
  need_lib_prefix=no
18215
 
  need_version=no
18216
 
  case $host_cpu in
18217
 
  ia64*)
18218
 
    shrext_cmds='.so'
18219
 
    hardcode_into_libs=yes
18220
 
    dynamic_linker="$host_os dld.so"
18221
 
    shlibpath_var=LD_LIBRARY_PATH
18222
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18223
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18224
 
    soname_spec='${libname}${release}${shared_ext}$major'
18225
 
    if test "X$HPUX_IA64_MODE" = X32; then
18226
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18227
 
    else
18228
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18229
 
    fi
18230
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18231
 
    ;;
18232
 
   hppa*64*)
18233
 
     shrext_cmds='.sl'
18234
 
     hardcode_into_libs=yes
18235
 
     dynamic_linker="$host_os dld.sl"
18236
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18237
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18238
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18239
 
     soname_spec='${libname}${release}${shared_ext}$major'
18240
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18241
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18242
 
     ;;
18243
 
   *)
18244
 
    shrext_cmds='.sl'
18245
 
    dynamic_linker="$host_os dld.sl"
18246
 
    shlibpath_var=SHLIB_PATH
18247
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18248
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18249
 
    soname_spec='${libname}${release}${shared_ext}$major'
18250
 
    ;;
18251
 
  esac
18252
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18253
 
  postinstall_cmds='chmod 555 $lib'
18254
 
  ;;
18255
 
 
18256
 
interix3*)
18257
 
  version_type=linux
18258
 
  need_lib_prefix=no
18259
 
  need_version=no
18260
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18261
 
  soname_spec='${libname}${release}${shared_ext}$major'
18262
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18263
 
  shlibpath_var=LD_LIBRARY_PATH
18264
 
  shlibpath_overrides_runpath=no
18265
 
  hardcode_into_libs=yes
18266
 
  ;;
18267
 
 
18268
 
irix5* | irix6* | nonstopux*)
18269
 
  case $host_os in
18270
 
    nonstopux*) version_type=nonstopux ;;
18271
 
    *)
18272
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18273
 
                version_type=linux
18274
 
        else
18275
 
                version_type=irix
18276
 
        fi ;;
18277
 
  esac
18278
 
  need_lib_prefix=no
18279
 
  need_version=no
18280
 
  soname_spec='${libname}${release}${shared_ext}$major'
18281
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18282
 
  case $host_os in
18283
 
  irix5* | nonstopux*)
18284
 
    libsuff= shlibsuff=
18285
 
    ;;
18286
 
  *)
18287
 
    case $LD in # libtool.m4 will add one of these switches to LD
18288
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18289
 
      libsuff= shlibsuff= libmagic=32-bit;;
18290
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18291
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18292
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18293
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18294
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18295
 
    esac
18296
 
    ;;
18297
 
  esac
18298
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18299
 
  shlibpath_overrides_runpath=no
18300
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18301
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18302
 
  hardcode_into_libs=yes
18303
 
  ;;
18304
 
 
18305
 
# No shared lib support for Linux oldld, aout, or coff.
18306
 
linux*oldld* | linux*aout* | linux*coff*)
18307
 
  dynamic_linker=no
18308
 
  ;;
18309
 
 
18310
 
# This must be Linux ELF.
18311
 
linux*)
18312
 
  version_type=linux
18313
 
  need_lib_prefix=no
18314
 
  need_version=no
18315
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18316
 
  soname_spec='${libname}${release}${shared_ext}$major'
18317
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18318
 
  shlibpath_var=LD_LIBRARY_PATH
18319
 
  shlibpath_overrides_runpath=no
18320
 
  # This implies no fast_install, which is unacceptable.
18321
 
  # Some rework will be needed to allow for fast_install
18322
 
  # before this can be enabled.
18323
 
  hardcode_into_libs=yes
18324
 
 
18325
 
  # find out which ABI we are using
18326
 
  libsuff=
18327
 
  case "$host_cpu" in
18328
 
  x86_64*|s390x*|powerpc64*)
18329
 
    echo '#line 18329 "configure"' > conftest.$ac_ext
18330
 
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18331
 
  (eval $ac_compile) 2>&5
18332
 
  ac_status=$?
18333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334
 
  (exit $ac_status); }; then
18335
 
      case `/usr/bin/file conftest.$ac_objext` in
18336
 
      *64-bit*)
18337
 
        libsuff=64
18338
 
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18339
 
        ;;
18340
 
      esac
18341
 
    fi
18342
 
    rm -rf conftest*
18343
 
    ;;
18344
 
  esac
18345
 
 
18346
 
  # Append ld.so.conf contents to the search path
18347
 
  if test -f /etc/ld.so.conf; then
18348
 
    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/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18349
 
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18350
 
  fi
18351
 
 
18352
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18353
 
  # powerpc, because MkLinux only supported shared libraries with the
18354
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18355
 
  # most powerpc-linux boxes support dynamic linking these days and
18356
 
  # people can always --disable-shared, the test was removed, and we
18357
 
  # assume the GNU/Linux dynamic linker is in use.
18358
 
  dynamic_linker='GNU/Linux ld.so'
18359
 
  ;;
18360
 
 
18361
 
knetbsd*-gnu)
18362
 
  version_type=linux
18363
 
  need_lib_prefix=no
18364
 
  need_version=no
18365
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18366
 
  soname_spec='${libname}${release}${shared_ext}$major'
18367
 
  shlibpath_var=LD_LIBRARY_PATH
18368
 
  shlibpath_overrides_runpath=no
18369
 
  hardcode_into_libs=yes
18370
 
  dynamic_linker='GNU ld.so'
18371
 
  ;;
18372
 
 
18373
 
netbsd*)
18374
 
  version_type=sunos
18375
 
  need_lib_prefix=no
18376
 
  need_version=no
18377
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18378
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18379
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18380
 
    dynamic_linker='NetBSD (a.out) ld.so'
18381
 
  else
18382
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18383
 
    soname_spec='${libname}${release}${shared_ext}$major'
18384
 
    dynamic_linker='NetBSD ld.elf_so'
18385
 
  fi
18386
 
  shlibpath_var=LD_LIBRARY_PATH
18387
 
  shlibpath_overrides_runpath=yes
18388
 
  hardcode_into_libs=yes
18389
 
  ;;
18390
 
 
18391
 
newsos6)
18392
 
  version_type=linux
18393
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18394
 
  shlibpath_var=LD_LIBRARY_PATH
18395
 
  shlibpath_overrides_runpath=yes
18396
 
  ;;
18397
 
 
18398
 
nto-qnx*)
18399
 
  version_type=linux
18400
 
  need_lib_prefix=no
18401
 
  need_version=no
18402
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18403
 
  soname_spec='${libname}${release}${shared_ext}$major'
18404
 
  shlibpath_var=LD_LIBRARY_PATH
18405
 
  shlibpath_overrides_runpath=yes
18406
 
  ;;
18407
 
 
18408
 
openbsd*)
18409
 
  version_type=sunos
18410
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18411
 
  need_lib_prefix=no
18412
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18413
 
  case $host_os in
18414
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18415
 
    *)                         need_version=no  ;;
18416
 
  esac
18417
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18418
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18419
 
  shlibpath_var=LD_LIBRARY_PATH
18420
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18421
 
    case $host_os in
18422
 
      openbsd2.[89] | openbsd2.[89].*)
18423
 
        shlibpath_overrides_runpath=no
18424
 
        ;;
18425
 
      *)
18426
 
        shlibpath_overrides_runpath=yes
18427
 
        ;;
18428
 
      esac
18429
 
  else
18430
 
    shlibpath_overrides_runpath=yes
18431
 
  fi
18432
 
  ;;
18433
 
 
18434
 
os2*)
18435
 
  libname_spec='$name'
18436
 
  shrext_cmds=".dll"
18437
 
  need_lib_prefix=no
18438
 
  library_names_spec='$libname${shared_ext} $libname.a'
18439
 
  dynamic_linker='OS/2 ld.exe'
18440
 
  shlibpath_var=LIBPATH
18441
 
  ;;
18442
 
 
18443
 
osf3* | osf4* | osf5*)
18444
 
  version_type=osf
18445
 
  need_lib_prefix=no
18446
 
  need_version=no
18447
 
  soname_spec='${libname}${release}${shared_ext}$major'
18448
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18449
 
  shlibpath_var=LD_LIBRARY_PATH
18450
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18451
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18452
 
  ;;
18453
 
 
18454
 
solaris*)
18455
 
  version_type=linux
18456
 
  need_lib_prefix=no
18457
 
  need_version=no
18458
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18459
 
  soname_spec='${libname}${release}${shared_ext}$major'
18460
 
  shlibpath_var=LD_LIBRARY_PATH
18461
 
  shlibpath_overrides_runpath=yes
18462
 
  hardcode_into_libs=yes
18463
 
  # ldd complains unless libraries are executable
18464
 
  postinstall_cmds='chmod +x $lib'
18465
 
  ;;
18466
 
 
18467
 
sunos4*)
18468
 
  version_type=sunos
18469
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18470
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18471
 
  shlibpath_var=LD_LIBRARY_PATH
18472
 
  shlibpath_overrides_runpath=yes
18473
 
  if test "$with_gnu_ld" = yes; then
18474
 
    need_lib_prefix=no
18475
 
  fi
18476
 
  need_version=yes
18477
 
  ;;
18478
 
 
18479
 
sysv4 | sysv4.3*)
18480
 
  version_type=linux
18481
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18482
 
  soname_spec='${libname}${release}${shared_ext}$major'
18483
 
  shlibpath_var=LD_LIBRARY_PATH
18484
 
  case $host_vendor in
18485
 
    sni)
18486
 
      shlibpath_overrides_runpath=no
18487
 
      need_lib_prefix=no
18488
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18489
 
      runpath_var=LD_RUN_PATH
18490
 
      ;;
18491
 
    siemens)
18492
 
      need_lib_prefix=no
18493
 
      ;;
18494
 
    motorola)
18495
 
      need_lib_prefix=no
18496
 
      need_version=no
18497
 
      shlibpath_overrides_runpath=no
18498
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18499
 
      ;;
18500
 
  esac
18501
 
  ;;
18502
 
 
18503
 
sysv4*MP*)
18504
 
  if test -d /usr/nec ;then
18505
 
    version_type=linux
18506
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18507
 
    soname_spec='$libname${shared_ext}.$major'
18508
 
    shlibpath_var=LD_LIBRARY_PATH
18509
 
  fi
18510
 
  ;;
18511
 
 
18512
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18513
 
  version_type=freebsd-elf
18514
 
  need_lib_prefix=no
18515
 
  need_version=no
18516
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18517
 
  soname_spec='${libname}${release}${shared_ext}$major'
18518
 
  shlibpath_var=LD_LIBRARY_PATH
18519
 
  hardcode_into_libs=yes
18520
 
  if test "$with_gnu_ld" = yes; then
18521
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18522
 
    shlibpath_overrides_runpath=no
18523
 
  else
18524
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18525
 
    shlibpath_overrides_runpath=yes
18526
 
    case $host_os in
18527
 
      sco3.2v5*)
18528
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18529
 
        ;;
18530
 
    esac
18531
 
  fi
18532
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18533
 
  ;;
18534
 
 
18535
 
uts4*)
18536
 
  version_type=linux
18537
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18538
 
  soname_spec='${libname}${release}${shared_ext}$major'
18539
 
  shlibpath_var=LD_LIBRARY_PATH
18540
 
  ;;
18541
 
 
18542
 
*)
18543
 
  dynamic_linker=no
18544
 
  ;;
18545
 
esac
18546
 
echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18547
 
echo "${ECHO_T}$dynamic_linker" >&6
18548
 
test "$dynamic_linker" = no && can_build_shared=no
18549
 
 
18550
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18551
 
if test "$GCC" = yes; then
18552
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18553
 
fi
18554
 
 
18555
 
echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18556
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18557
 
hardcode_action_GCJ=
18558
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18559
 
   test -n "$runpath_var_GCJ" || \
18560
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18561
 
 
18562
 
  # We can hardcode non-existant directories.
18563
 
  if test "$hardcode_direct_GCJ" != no &&
18564
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18565
 
     # have to relink, otherwise we might link with an installed library
18566
 
     # when we should be linking with a yet-to-be-installed one
18567
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18568
 
     test "$hardcode_minus_L_GCJ" != no; then
18569
 
    # Linking always hardcodes the temporary library directory.
18570
 
    hardcode_action_GCJ=relink
18571
 
  else
18572
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18573
 
    hardcode_action_GCJ=immediate
18574
 
  fi
18575
 
else
18576
 
  # We cannot hardcode anything, or else we can only hardcode existing
18577
 
  # directories.
18578
 
  hardcode_action_GCJ=unsupported
18579
 
fi
18580
 
echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18581
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6
18582
 
 
18583
 
if test "$hardcode_action_GCJ" = relink; then
18584
 
  # Fast installation is not supported
18585
 
  enable_fast_install=no
18586
 
elif test "$shlibpath_overrides_runpath" = yes ||
18587
 
     test "$enable_shared" = no; then
18588
 
  # Fast installation is not necessary
18589
 
  enable_fast_install=needless
18590
 
fi
18591
 
 
18592
 
 
18593
 
# The else clause should only fire when bootstrapping the
18594
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18595
 
# with your package, and you will get complaints that there are
18596
 
# no rules to generate ltmain.sh.
18597
 
if test -f "$ltmain"; then
18598
 
  # See if we are running on zsh, and set the options which allow our commands through
18599
 
  # without removal of \ escapes.
18600
 
  if test -n "${ZSH_VERSION+set}" ; then
18601
 
    setopt NO_GLOB_SUBST
18602
 
  fi
18603
 
  # Now quote all the things that may contain metacharacters while being
18604
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18605
 
  # variables and quote the copies for generation of the libtool script.
18606
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18607
 
    SED SHELL STRIP \
18608
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18609
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18610
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18611
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18612
 
    lt_cv_sys_global_symbol_to_c_name_address \
18613
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18614
 
    old_postinstall_cmds old_postuninstall_cmds \
18615
 
    compiler_GCJ \
18616
 
    CC_GCJ \
18617
 
    LD_GCJ \
18618
 
    lt_prog_compiler_wl_GCJ \
18619
 
    lt_prog_compiler_pic_GCJ \
18620
 
    lt_prog_compiler_static_GCJ \
18621
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18622
 
    export_dynamic_flag_spec_GCJ \
18623
 
    thread_safe_flag_spec_GCJ \
18624
 
    whole_archive_flag_spec_GCJ \
18625
 
    enable_shared_with_static_runtimes_GCJ \
18626
 
    old_archive_cmds_GCJ \
18627
 
    old_archive_from_new_cmds_GCJ \
18628
 
    predep_objects_GCJ \
18629
 
    postdep_objects_GCJ \
18630
 
    predeps_GCJ \
18631
 
    postdeps_GCJ \
18632
 
    compiler_lib_search_path_GCJ \
18633
 
    archive_cmds_GCJ \
18634
 
    archive_expsym_cmds_GCJ \
18635
 
    postinstall_cmds_GCJ \
18636
 
    postuninstall_cmds_GCJ \
18637
 
    old_archive_from_expsyms_cmds_GCJ \
18638
 
    allow_undefined_flag_GCJ \
18639
 
    no_undefined_flag_GCJ \
18640
 
    export_symbols_cmds_GCJ \
18641
 
    hardcode_libdir_flag_spec_GCJ \
18642
 
    hardcode_libdir_flag_spec_ld_GCJ \
18643
 
    hardcode_libdir_separator_GCJ \
18644
 
    hardcode_automatic_GCJ \
18645
 
    module_cmds_GCJ \
18646
 
    module_expsym_cmds_GCJ \
18647
 
    lt_cv_prog_compiler_c_o_GCJ \
18648
 
    exclude_expsyms_GCJ \
18649
 
    include_expsyms_GCJ; do
18650
 
 
18651
 
    case $var in
18652
 
    old_archive_cmds_GCJ | \
18653
 
    old_archive_from_new_cmds_GCJ | \
18654
 
    archive_cmds_GCJ | \
18655
 
    archive_expsym_cmds_GCJ | \
18656
 
    module_cmds_GCJ | \
18657
 
    module_expsym_cmds_GCJ | \
18658
 
    old_archive_from_expsyms_cmds_GCJ | \
18659
 
    export_symbols_cmds_GCJ | \
18660
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18661
 
    postinstall_cmds | postuninstall_cmds | \
18662
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18663
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18664
 
      # Double-quote double-evaled strings.
18665
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18666
 
      ;;
18667
 
    *)
18668
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18669
 
      ;;
18670
 
    esac
18671
 
  done
18672
 
 
18673
 
  case $lt_echo in
18674
 
  *'\$0 --fallback-echo"')
18675
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18676
 
    ;;
18677
 
  esac
18678
 
 
18679
 
cfgfile="$ofile"
18680
 
 
18681
 
  cat <<__EOF__ >> "$cfgfile"
18682
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18683
 
 
18684
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18685
 
 
18686
 
# Shell to use when invoking shell scripts.
18687
 
SHELL=$lt_SHELL
18688
 
 
18689
 
# Whether or not to build shared libraries.
18690
 
build_libtool_libs=$enable_shared
18691
 
 
18692
 
# Whether or not to build static libraries.
18693
 
build_old_libs=$enable_static
18694
 
 
18695
 
# Whether or not to add -lc for building shared libraries.
18696
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18697
 
 
18698
 
# Whether or not to disallow shared libs when runtime libs are static
18699
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18700
 
 
18701
 
# Whether or not to optimize for fast installation.
18702
 
fast_install=$enable_fast_install
18703
 
 
18704
 
# The host system.
18705
 
host_alias=$host_alias
18706
 
host=$host
18707
 
host_os=$host_os
18708
 
 
18709
 
# The build system.
18710
 
build_alias=$build_alias
18711
 
build=$build
18712
 
build_os=$build_os
18713
 
 
18714
 
# An echo program that does not interpret backslashes.
18715
 
echo=$lt_echo
18716
 
 
18717
 
# The archiver.
18718
 
AR=$lt_AR
18719
 
AR_FLAGS=$lt_AR_FLAGS
18720
 
 
18721
 
# A C compiler.
18722
 
LTCC=$lt_LTCC
18723
 
 
18724
 
# LTCC compiler flags.
18725
 
LTCFLAGS=$lt_LTCFLAGS
18726
 
 
18727
 
# A language-specific compiler.
18728
 
CC=$lt_compiler_GCJ
18729
 
 
18730
 
# Is the compiler the GNU C compiler?
18731
 
with_gcc=$GCC_GCJ
18732
 
 
18733
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
18734
 
gcc_ver=\`gcc -dumpversion\`
18735
 
 
18736
 
# An ERE matcher.
18737
 
EGREP=$lt_EGREP
18738
 
 
18739
 
# The linker used to build libraries.
18740
 
LD=$lt_LD_GCJ
18741
 
 
18742
 
# Whether we need hard or soft links.
18743
 
LN_S=$lt_LN_S
18744
 
 
18745
 
# A BSD-compatible nm program.
18746
 
NM=$lt_NM
18747
 
 
18748
 
# A symbol stripping program
18749
 
STRIP=$lt_STRIP
18750
 
 
18751
 
# Used to examine libraries when file_magic_cmd begins "file"
18752
 
MAGIC_CMD=$MAGIC_CMD
18753
 
 
18754
 
# Used on cygwin: DLL creation program.
18755
 
DLLTOOL="$DLLTOOL"
18756
 
 
18757
 
# Used on cygwin: object dumper.
18758
 
OBJDUMP="$OBJDUMP"
18759
 
 
18760
 
# Used on cygwin: assembler.
18761
 
AS="$AS"
18762
 
 
18763
 
# The name of the directory that contains temporary libtool files.
18764
 
objdir=$objdir
18765
 
 
18766
 
# How to create reloadable object files.
18767
 
reload_flag=$lt_reload_flag
18768
 
reload_cmds=$lt_reload_cmds
18769
 
 
18770
 
# How to pass a linker flag through the compiler.
18771
 
wl=$lt_lt_prog_compiler_wl_GCJ
18772
 
 
18773
 
# Object file suffix (normally "o").
18774
 
objext="$ac_objext"
18775
 
 
18776
 
# Old archive suffix (normally "a").
18777
 
libext="$libext"
18778
 
 
18779
 
# Shared library suffix (normally ".so").
18780
 
shrext_cmds='$shrext_cmds'
18781
 
 
18782
 
# Executable file suffix (normally "").
18783
 
exeext="$exeext"
18784
 
 
18785
 
# Additional compiler flags for building library objects.
18786
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
18787
 
pic_mode=$pic_mode
18788
 
 
18789
 
# What is the maximum length of a command?
18790
 
max_cmd_len=$lt_cv_sys_max_cmd_len
18791
 
 
18792
 
# Does compiler simultaneously support -c and -o options?
18793
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18794
 
 
18795
 
# Must we lock files when doing compilation?
18796
 
need_locks=$lt_need_locks
18797
 
 
18798
 
# Do we need the lib prefix for modules?
18799
 
need_lib_prefix=$need_lib_prefix
18800
 
 
18801
 
# Do we need a version for libraries?
18802
 
need_version=$need_version
18803
 
 
18804
 
# Whether dlopen is supported.
18805
 
dlopen_support=$enable_dlopen
18806
 
 
18807
 
# Whether dlopen of programs is supported.
18808
 
dlopen_self=$enable_dlopen_self
18809
 
 
18810
 
# Whether dlopen of statically linked programs is supported.
18811
 
dlopen_self_static=$enable_dlopen_self_static
18812
 
 
18813
 
# Compiler flag to prevent dynamic linking.
18814
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
18815
 
 
18816
 
# Compiler flag to turn off builtin functions.
18817
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18818
 
 
18819
 
# Compiler flag to allow reflexive dlopens.
18820
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18821
 
 
18822
 
# Compiler flag to generate shared objects directly from archives.
18823
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18824
 
 
18825
 
# Compiler flag to generate thread-safe objects.
18826
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18827
 
 
18828
 
# Library versioning type.
18829
 
version_type=$version_type
18830
 
 
18831
 
# Format of library name prefix.
18832
 
libname_spec=$lt_libname_spec
18833
 
 
18834
 
# List of archive names.  First name is the real one, the rest are links.
18835
 
# The last name is the one that the linker finds with -lNAME.
18836
 
library_names_spec=$lt_library_names_spec
18837
 
 
18838
 
# The coded name of the library, if different from the real name.
18839
 
soname_spec=$lt_soname_spec
18840
 
 
18841
 
# Commands used to build and install an old-style archive.
18842
 
RANLIB=$lt_RANLIB
18843
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
18844
 
old_postinstall_cmds=$lt_old_postinstall_cmds
18845
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18846
 
 
18847
 
# Create an old-style archive from a shared archive.
18848
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18849
 
 
18850
 
# Create a temporary old-style archive to link instead of a shared archive.
18851
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18852
 
 
18853
 
# Commands used to build and install a shared archive.
18854
 
archive_cmds=$lt_archive_cmds_GCJ
18855
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18856
 
postinstall_cmds=$lt_postinstall_cmds
18857
 
postuninstall_cmds=$lt_postuninstall_cmds
18858
 
 
18859
 
# Commands used to build a loadable module (assumed same as above if empty)
18860
 
module_cmds=$lt_module_cmds_GCJ
18861
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18862
 
 
18863
 
# Commands to strip libraries.
18864
 
old_striplib=$lt_old_striplib
18865
 
striplib=$lt_striplib
18866
 
 
18867
 
# Dependencies to place before the objects being linked to create a
18868
 
# shared library.
18869
 
predep_objects=\`echo $lt_predep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18870
 
 
18871
 
# Dependencies to place after the objects being linked to create a
18872
 
# shared library.
18873
 
postdep_objects=\`echo $lt_postdep_objects_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18874
 
 
18875
 
# Dependencies to place before the objects being linked to create a
18876
 
# shared library.
18877
 
predeps=$lt_predeps_GCJ
18878
 
 
18879
 
# Dependencies to place after the objects being linked to create a
18880
 
# shared library.
18881
 
postdeps=$lt_postdeps_GCJ
18882
 
 
18883
 
# The library search path used internally by the compiler when linking
18884
 
# a shared library.
18885
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_GCJ | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18886
 
 
18887
 
# Method to check whether dependent libraries are shared objects.
18888
 
deplibs_check_method=$lt_deplibs_check_method
18889
 
 
18890
 
# Command to use when deplibs_check_method == file_magic.
18891
 
file_magic_cmd=$lt_file_magic_cmd
18892
 
 
18893
 
# Flag that allows shared libraries with undefined symbols to be built.
18894
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18895
 
 
18896
 
# Flag that forces no undefined symbols.
18897
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
18898
 
 
18899
 
# Commands used to finish a libtool library installation in a directory.
18900
 
finish_cmds=$lt_finish_cmds
18901
 
 
18902
 
# Same as above, but a single script fragment to be evaled but not shown.
18903
 
finish_eval=$lt_finish_eval
18904
 
 
18905
 
# Take the output of nm and produce a listing of raw symbols and C names.
18906
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18907
 
 
18908
 
# Transform the output of nm in a proper C declaration
18909
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18910
 
 
18911
 
# Transform the output of nm in a C name address pair
18912
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18913
 
 
18914
 
# This is the shared library runtime path variable.
18915
 
runpath_var=$runpath_var
18916
 
 
18917
 
# This is the shared library path variable.
18918
 
shlibpath_var=$shlibpath_var
18919
 
 
18920
 
# Is shlibpath searched before the hard-coded library search path?
18921
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18922
 
 
18923
 
# How to hardcode a shared library path into an executable.
18924
 
hardcode_action=$hardcode_action_GCJ
18925
 
 
18926
 
# Whether we should hardcode library paths into libraries.
18927
 
hardcode_into_libs=$hardcode_into_libs
18928
 
 
18929
 
# Flag to hardcode \$libdir into a binary during linking.
18930
 
# This must work even if \$libdir does not exist.
18931
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
18932
 
 
18933
 
# If ld is used when linking, flag to hardcode \$libdir into
18934
 
# a binary during linking. This must work even if \$libdir does
18935
 
# not exist.
18936
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
18937
 
 
18938
 
# Whether we need a single -rpath flag with a separated argument.
18939
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
18940
 
 
18941
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18942
 
# resulting binary.
18943
 
hardcode_direct=$hardcode_direct_GCJ
18944
 
 
18945
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18946
 
# resulting binary.
18947
 
hardcode_minus_L=$hardcode_minus_L_GCJ
18948
 
 
18949
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18950
 
# the resulting binary.
18951
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
18952
 
 
18953
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
18954
 
# and all subsequent libraries and executables linked against it.
18955
 
hardcode_automatic=$hardcode_automatic_GCJ
18956
 
 
18957
 
# Variables whose values should be saved in libtool wrapper scripts and
18958
 
# restored at relink time.
18959
 
variables_saved_for_relink="$variables_saved_for_relink"
18960
 
 
18961
 
# Whether libtool must link a program against all its dependency libraries.
18962
 
link_all_deplibs=$link_all_deplibs_GCJ
18963
 
 
18964
 
# Compile-time system search path for libraries
18965
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
18966
 
 
18967
 
# Run-time system search path for libraries
18968
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18969
 
 
18970
 
# Fix the shell variable \$srcfile for the compiler.
18971
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
18972
 
 
18973
 
# Set to yes if exported symbols are required.
18974
 
always_export_symbols=$always_export_symbols_GCJ
18975
 
 
18976
 
# The commands to list exported symbols.
18977
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18978
 
 
18979
 
# The commands to extract the exported symbol list from a shared archive.
18980
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18981
 
 
18982
 
# Symbols that should not be listed in the preloaded symbols.
18983
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
18984
 
 
18985
 
# Symbols that must always be exported.
18986
 
include_expsyms=$lt_include_expsyms_GCJ
18987
 
 
18988
 
# ### END LIBTOOL TAG CONFIG: $tagname
18989
 
 
18990
 
__EOF__
18991
 
 
18992
 
 
18993
 
else
18994
 
  # If there is no Makefile yet, we rely on a make rule to execute
18995
 
  # `config.status --recheck' to rerun these tests and create the
18996
 
  # libtool script then.
18997
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
18998
 
  if test -f "$ltmain_in"; then
18999
 
    test -f Makefile && make "$ltmain"
19000
 
  fi
19001
 
fi
19002
 
 
19003
 
 
19004
 
ac_ext=c
19005
 
ac_cpp='$CPP $CPPFLAGS'
19006
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19007
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19008
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19009
 
 
19010
 
CC="$lt_save_CC"
19011
 
 
19012
 
        else
19013
 
          tagname=""
19014
 
        fi
19015
 
        ;;
19016
 
 
19017
 
      RC)
19018
 
 
19019
 
 
19020
 
 
19021
 
# Source file extension for RC test sources.
19022
 
ac_ext=rc
19023
 
 
19024
 
# Object file extension for compiled RC test sources.
19025
 
objext=o
19026
 
objext_RC=$objext
19027
 
 
19028
 
# Code to be used in simple compile tests
19029
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19030
 
 
19031
 
# Code to be used in simple link tests
19032
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19033
 
 
19034
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19035
 
 
19036
 
# If no C compiler was specified, use CC.
19037
 
LTCC=${LTCC-"$CC"}
19038
 
 
19039
 
# If no C compiler flags were specified, use CFLAGS.
19040
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19041
 
 
19042
 
# Allow CC to be a program name with arguments.
19043
 
compiler=$CC
19044
 
 
19045
 
 
19046
 
# save warnings/boilerplate of simple test code
19047
 
ac_outfile=conftest.$ac_objext
19048
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19049
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19050
 
_lt_compiler_boilerplate=`cat conftest.err`
19051
 
$rm conftest*
19052
 
 
19053
 
ac_outfile=conftest.$ac_objext
19054
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19055
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19056
 
_lt_linker_boilerplate=`cat conftest.err`
19057
 
$rm conftest*
19058
 
 
19059
 
 
19060
 
# Allow CC to be a program name with arguments.
19061
 
lt_save_CC="$CC"
19062
 
CC=${RC-"windres"}
19063
 
compiler=$CC
19064
 
compiler_RC=$CC
19065
 
for cc_temp in $compiler""; do
19066
 
  case $cc_temp in
19067
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19068
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19069
 
    \-*) ;;
19070
 
    *) break;;
19071
 
  esac
19072
 
done
19073
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19074
 
 
19075
 
lt_cv_prog_compiler_c_o_RC=yes
19076
 
 
19077
 
# The else clause should only fire when bootstrapping the
19078
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19079
 
# with your package, and you will get complaints that there are
19080
 
# no rules to generate ltmain.sh.
19081
 
if test -f "$ltmain"; then
19082
 
  # See if we are running on zsh, and set the options which allow our commands through
19083
 
  # without removal of \ escapes.
19084
 
  if test -n "${ZSH_VERSION+set}" ; then
19085
 
    setopt NO_GLOB_SUBST
19086
 
  fi
19087
 
  # Now quote all the things that may contain metacharacters while being
19088
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19089
 
  # variables and quote the copies for generation of the libtool script.
19090
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19091
 
    SED SHELL STRIP \
19092
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19093
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19094
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19095
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19096
 
    lt_cv_sys_global_symbol_to_c_name_address \
19097
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19098
 
    old_postinstall_cmds old_postuninstall_cmds \
19099
 
    compiler_RC \
19100
 
    CC_RC \
19101
 
    LD_RC \
19102
 
    lt_prog_compiler_wl_RC \
19103
 
    lt_prog_compiler_pic_RC \
19104
 
    lt_prog_compiler_static_RC \
19105
 
    lt_prog_compiler_no_builtin_flag_RC \
19106
 
    export_dynamic_flag_spec_RC \
19107
 
    thread_safe_flag_spec_RC \
19108
 
    whole_archive_flag_spec_RC \
19109
 
    enable_shared_with_static_runtimes_RC \
19110
 
    old_archive_cmds_RC \
19111
 
    old_archive_from_new_cmds_RC \
19112
 
    predep_objects_RC \
19113
 
    postdep_objects_RC \
19114
 
    predeps_RC \
19115
 
    postdeps_RC \
19116
 
    compiler_lib_search_path_RC \
19117
 
    archive_cmds_RC \
19118
 
    archive_expsym_cmds_RC \
19119
 
    postinstall_cmds_RC \
19120
 
    postuninstall_cmds_RC \
19121
 
    old_archive_from_expsyms_cmds_RC \
19122
 
    allow_undefined_flag_RC \
19123
 
    no_undefined_flag_RC \
19124
 
    export_symbols_cmds_RC \
19125
 
    hardcode_libdir_flag_spec_RC \
19126
 
    hardcode_libdir_flag_spec_ld_RC \
19127
 
    hardcode_libdir_separator_RC \
19128
 
    hardcode_automatic_RC \
19129
 
    module_cmds_RC \
19130
 
    module_expsym_cmds_RC \
19131
 
    lt_cv_prog_compiler_c_o_RC \
19132
 
    exclude_expsyms_RC \
19133
 
    include_expsyms_RC; do
19134
 
 
19135
 
    case $var in
19136
 
    old_archive_cmds_RC | \
19137
 
    old_archive_from_new_cmds_RC | \
19138
 
    archive_cmds_RC | \
19139
 
    archive_expsym_cmds_RC | \
19140
 
    module_cmds_RC | \
19141
 
    module_expsym_cmds_RC | \
19142
 
    old_archive_from_expsyms_cmds_RC | \
19143
 
    export_symbols_cmds_RC | \
19144
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19145
 
    postinstall_cmds | postuninstall_cmds | \
19146
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19147
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19148
 
      # Double-quote double-evaled strings.
19149
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19150
 
      ;;
19151
 
    *)
19152
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19153
 
      ;;
19154
 
    esac
19155
 
  done
19156
 
 
19157
 
  case $lt_echo in
19158
 
  *'\$0 --fallback-echo"')
19159
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19160
 
    ;;
19161
 
  esac
19162
 
 
19163
 
cfgfile="$ofile"
19164
 
 
19165
 
  cat <<__EOF__ >> "$cfgfile"
19166
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19167
 
 
19168
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19169
 
 
19170
 
# Shell to use when invoking shell scripts.
19171
 
SHELL=$lt_SHELL
19172
 
 
19173
 
# Whether or not to build shared libraries.
19174
 
build_libtool_libs=$enable_shared
19175
 
 
19176
 
# Whether or not to build static libraries.
19177
 
build_old_libs=$enable_static
19178
 
 
19179
 
# Whether or not to add -lc for building shared libraries.
19180
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19181
 
 
19182
 
# Whether or not to disallow shared libs when runtime libs are static
19183
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19184
 
 
19185
 
# Whether or not to optimize for fast installation.
19186
 
fast_install=$enable_fast_install
19187
 
 
19188
 
# The host system.
19189
 
host_alias=$host_alias
19190
 
host=$host
19191
 
host_os=$host_os
19192
 
 
19193
 
# The build system.
19194
 
build_alias=$build_alias
19195
 
build=$build
19196
 
build_os=$build_os
19197
 
 
19198
 
# An echo program that does not interpret backslashes.
19199
 
echo=$lt_echo
19200
 
 
19201
 
# The archiver.
19202
 
AR=$lt_AR
19203
 
AR_FLAGS=$lt_AR_FLAGS
19204
 
 
19205
 
# A C compiler.
19206
 
LTCC=$lt_LTCC
19207
 
 
19208
 
# LTCC compiler flags.
19209
 
LTCFLAGS=$lt_LTCFLAGS
19210
 
 
19211
 
# A language-specific compiler.
19212
 
CC=$lt_compiler_RC
19213
 
 
19214
 
# Is the compiler the GNU C compiler?
19215
 
with_gcc=$GCC_RC
19216
 
 
19217
 
gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
19218
 
gcc_ver=\`gcc -dumpversion\`
19219
 
 
19220
 
# An ERE matcher.
19221
 
EGREP=$lt_EGREP
19222
 
 
19223
 
# The linker used to build libraries.
19224
 
LD=$lt_LD_RC
19225
 
 
19226
 
# Whether we need hard or soft links.
19227
 
LN_S=$lt_LN_S
19228
 
 
19229
 
# A BSD-compatible nm program.
19230
 
NM=$lt_NM
19231
 
 
19232
 
# A symbol stripping program
19233
 
STRIP=$lt_STRIP
19234
 
 
19235
 
# Used to examine libraries when file_magic_cmd begins "file"
19236
 
MAGIC_CMD=$MAGIC_CMD
19237
 
 
19238
 
# Used on cygwin: DLL creation program.
19239
 
DLLTOOL="$DLLTOOL"
19240
 
 
19241
 
# Used on cygwin: object dumper.
19242
 
OBJDUMP="$OBJDUMP"
19243
 
 
19244
 
# Used on cygwin: assembler.
19245
 
AS="$AS"
19246
 
 
19247
 
# The name of the directory that contains temporary libtool files.
19248
 
objdir=$objdir
19249
 
 
19250
 
# How to create reloadable object files.
19251
 
reload_flag=$lt_reload_flag
19252
 
reload_cmds=$lt_reload_cmds
19253
 
 
19254
 
# How to pass a linker flag through the compiler.
19255
 
wl=$lt_lt_prog_compiler_wl_RC
19256
 
 
19257
 
# Object file suffix (normally "o").
19258
 
objext="$ac_objext"
19259
 
 
19260
 
# Old archive suffix (normally "a").
19261
 
libext="$libext"
19262
 
 
19263
 
# Shared library suffix (normally ".so").
19264
 
shrext_cmds='$shrext_cmds'
19265
 
 
19266
 
# Executable file suffix (normally "").
19267
 
exeext="$exeext"
19268
 
 
19269
 
# Additional compiler flags for building library objects.
19270
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19271
 
pic_mode=$pic_mode
19272
 
 
19273
 
# What is the maximum length of a command?
19274
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19275
 
 
19276
 
# Does compiler simultaneously support -c and -o options?
19277
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19278
 
 
19279
 
# Must we lock files when doing compilation?
19280
 
need_locks=$lt_need_locks
19281
 
 
19282
 
# Do we need the lib prefix for modules?
19283
 
need_lib_prefix=$need_lib_prefix
19284
 
 
19285
 
# Do we need a version for libraries?
19286
 
need_version=$need_version
19287
 
 
19288
 
# Whether dlopen is supported.
19289
 
dlopen_support=$enable_dlopen
19290
 
 
19291
 
# Whether dlopen of programs is supported.
19292
 
dlopen_self=$enable_dlopen_self
19293
 
 
19294
 
# Whether dlopen of statically linked programs is supported.
19295
 
dlopen_self_static=$enable_dlopen_self_static
19296
 
 
19297
 
# Compiler flag to prevent dynamic linking.
19298
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19299
 
 
19300
 
# Compiler flag to turn off builtin functions.
19301
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19302
 
 
19303
 
# Compiler flag to allow reflexive dlopens.
19304
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19305
 
 
19306
 
# Compiler flag to generate shared objects directly from archives.
19307
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19308
 
 
19309
 
# Compiler flag to generate thread-safe objects.
19310
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19311
 
 
19312
 
# Library versioning type.
19313
 
version_type=$version_type
19314
 
 
19315
 
# Format of library name prefix.
19316
 
libname_spec=$lt_libname_spec
19317
 
 
19318
 
# List of archive names.  First name is the real one, the rest are links.
19319
 
# The last name is the one that the linker finds with -lNAME.
19320
 
library_names_spec=$lt_library_names_spec
19321
 
 
19322
 
# The coded name of the library, if different from the real name.
19323
 
soname_spec=$lt_soname_spec
19324
 
 
19325
 
# Commands used to build and install an old-style archive.
19326
 
RANLIB=$lt_RANLIB
19327
 
old_archive_cmds=$lt_old_archive_cmds_RC
19328
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19329
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19330
 
 
19331
 
# Create an old-style archive from a shared archive.
19332
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19333
 
 
19334
 
# Create a temporary old-style archive to link instead of a shared archive.
19335
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19336
 
 
19337
 
# Commands used to build and install a shared archive.
19338
 
archive_cmds=$lt_archive_cmds_RC
19339
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19340
 
postinstall_cmds=$lt_postinstall_cmds
19341
 
postuninstall_cmds=$lt_postuninstall_cmds
19342
 
 
19343
 
# Commands used to build a loadable module (assumed same as above if empty)
19344
 
module_cmds=$lt_module_cmds_RC
19345
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19346
 
 
19347
 
# Commands to strip libraries.
19348
 
old_striplib=$lt_old_striplib
19349
 
striplib=$lt_striplib
19350
 
 
19351
 
# Dependencies to place before the objects being linked to create a
19352
 
# shared library.
19353
 
predep_objects=\`echo $lt_predep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19354
 
 
19355
 
# Dependencies to place after the objects being linked to create a
19356
 
# shared library.
19357
 
postdep_objects=\`echo $lt_postdep_objects_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19358
 
 
19359
 
# Dependencies to place before the objects being linked to create a
19360
 
# shared library.
19361
 
predeps=$lt_predeps_RC
19362
 
 
19363
 
# Dependencies to place after the objects being linked to create a
19364
 
# shared library.
19365
 
postdeps=$lt_postdeps_RC
19366
 
 
19367
 
# The library search path used internally by the compiler when linking
19368
 
# a shared library.
19369
 
compiler_lib_search_path=\`echo $lt_compiler_lib_search_path_RC | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19370
 
 
19371
 
# Method to check whether dependent libraries are shared objects.
19372
 
deplibs_check_method=$lt_deplibs_check_method
19373
 
 
19374
 
# Command to use when deplibs_check_method == file_magic.
19375
 
file_magic_cmd=$lt_file_magic_cmd
19376
 
 
19377
 
# Flag that allows shared libraries with undefined symbols to be built.
19378
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19379
 
 
19380
 
# Flag that forces no undefined symbols.
19381
 
no_undefined_flag=$lt_no_undefined_flag_RC
19382
 
 
19383
 
# Commands used to finish a libtool library installation in a directory.
19384
 
finish_cmds=$lt_finish_cmds
19385
 
 
19386
 
# Same as above, but a single script fragment to be evaled but not shown.
19387
 
finish_eval=$lt_finish_eval
19388
 
 
19389
 
# Take the output of nm and produce a listing of raw symbols and C names.
19390
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19391
 
 
19392
 
# Transform the output of nm in a proper C declaration
19393
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19394
 
 
19395
 
# Transform the output of nm in a C name address pair
19396
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19397
 
 
19398
 
# This is the shared library runtime path variable.
19399
 
runpath_var=$runpath_var
19400
 
 
19401
 
# This is the shared library path variable.
19402
 
shlibpath_var=$shlibpath_var
19403
 
 
19404
 
# Is shlibpath searched before the hard-coded library search path?
19405
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19406
 
 
19407
 
# How to hardcode a shared library path into an executable.
19408
 
hardcode_action=$hardcode_action_RC
19409
 
 
19410
 
# Whether we should hardcode library paths into libraries.
19411
 
hardcode_into_libs=$hardcode_into_libs
19412
 
 
19413
 
# Flag to hardcode \$libdir into a binary during linking.
19414
 
# This must work even if \$libdir does not exist.
19415
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19416
 
 
19417
 
# If ld is used when linking, flag to hardcode \$libdir into
19418
 
# a binary during linking. This must work even if \$libdir does
19419
 
# not exist.
19420
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19421
 
 
19422
 
# Whether we need a single -rpath flag with a separated argument.
19423
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19424
 
 
19425
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19426
 
# resulting binary.
19427
 
hardcode_direct=$hardcode_direct_RC
19428
 
 
19429
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19430
 
# resulting binary.
19431
 
hardcode_minus_L=$hardcode_minus_L_RC
19432
 
 
19433
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19434
 
# the resulting binary.
19435
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19436
 
 
19437
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19438
 
# and all subsequent libraries and executables linked against it.
19439
 
hardcode_automatic=$hardcode_automatic_RC
19440
 
 
19441
 
# Variables whose values should be saved in libtool wrapper scripts and
19442
 
# restored at relink time.
19443
 
variables_saved_for_relink="$variables_saved_for_relink"
19444
 
 
19445
 
# Whether libtool must link a program against all its dependency libraries.
19446
 
link_all_deplibs=$link_all_deplibs_RC
19447
 
 
19448
 
# Compile-time system search path for libraries
19449
 
sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
19450
 
 
19451
 
# Run-time system search path for libraries
19452
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19453
 
 
19454
 
# Fix the shell variable \$srcfile for the compiler.
19455
 
fix_srcfile_path="$fix_srcfile_path_RC"
19456
 
 
19457
 
# Set to yes if exported symbols are required.
19458
 
always_export_symbols=$always_export_symbols_RC
19459
 
 
19460
 
# The commands to list exported symbols.
19461
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19462
 
 
19463
 
# The commands to extract the exported symbol list from a shared archive.
19464
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19465
 
 
19466
 
# Symbols that should not be listed in the preloaded symbols.
19467
 
exclude_expsyms=$lt_exclude_expsyms_RC
19468
 
 
19469
 
# Symbols that must always be exported.
19470
 
include_expsyms=$lt_include_expsyms_RC
19471
 
 
19472
 
# ### END LIBTOOL TAG CONFIG: $tagname
19473
 
 
19474
 
__EOF__
19475
 
 
19476
 
 
19477
 
else
19478
 
  # If there is no Makefile yet, we rely on a make rule to execute
19479
 
  # `config.status --recheck' to rerun these tests and create the
19480
 
  # libtool script then.
19481
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19482
 
  if test -f "$ltmain_in"; then
19483
 
    test -f Makefile && make "$ltmain"
19484
 
  fi
19485
 
fi
19486
 
 
19487
 
 
19488
 
ac_ext=c
19489
 
ac_cpp='$CPP $CPPFLAGS'
19490
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19491
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19492
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19493
 
 
19494
 
CC="$lt_save_CC"
19495
 
 
19496
 
        ;;
19497
 
 
19498
 
      *)
19499
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19500
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19501
 
   { (exit 1); exit 1; }; }
19502
 
        ;;
19503
 
      esac
19504
 
 
19505
 
      # Append the new tag name to the list of available tags.
19506
 
      if test -n "$tagname" ; then
19507
 
      available_tags="$available_tags $tagname"
19508
 
    fi
19509
 
    fi
19510
 
  done
19511
 
  IFS="$lt_save_ifs"
19512
 
 
19513
 
  # Now substitute the updated list of available tags.
19514
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19515
 
    mv "${ofile}T" "$ofile"
19516
 
    chmod +x "$ofile"
19517
 
  else
19518
 
    rm -f "${ofile}T"
19519
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19520
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19521
 
   { (exit 1); exit 1; }; }
19522
 
  fi
19523
 
fi
19524
 
 
19525
 
 
19526
 
 
19527
 
# This can be used to rebuild libtool when needed
19528
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19529
 
 
19530
 
# Always use our own libtool.
19531
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19532
 
 
19533
 
# Prevent multiple expansion
19534
 
 
19535
 
 
19536
 
 
19537
 
 
19538
 
 
19539
 
 
19540
 
 
19541
 
 
19542
 
 
19543
 
 
19544
 
 
19545
 
 
19546
 
 
19547
 
 
19548
 
 
19549
 
 
19550
 
 
19551
 
 
 
11940
 
 
11941
 
 
11942
 
 
11943
 
 
11944
 
 
11945
 
 
11946
 
 
11947
 
 
11948
 
 
11949
 
 
11950
 
 
11951
 
 
11952
 
 
11953
 
 
11954
 
 
11955
striplib=
 
11956
old_striplib=
 
11957
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11958
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11959
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11960
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11961
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11962
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11963
$as_echo "yes" >&6; }
 
11964
else
 
11965
# FIXME - insert some real tests, host_os isn't really good enough
 
11966
  case $host_os in
 
11967
  darwin*)
 
11968
    if test -n "$STRIP" ; then
 
11969
      striplib="$STRIP -x"
 
11970
      old_striplib="$STRIP -S"
 
11971
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11972
$as_echo "yes" >&6; }
 
11973
    else
 
11974
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11975
$as_echo "no" >&6; }
 
11976
    fi
 
11977
    ;;
 
11978
  *)
 
11979
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11980
$as_echo "no" >&6; }
 
11981
    ;;
 
11982
  esac
 
11983
fi
 
11984
 
 
11985
 
 
11986
 
 
11987
 
 
11988
 
 
11989
 
 
11990
 
 
11991
 
 
11992
 
 
11993
 
 
11994
 
 
11995
 
 
11996
  # Report which library types will actually be built
 
11997
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11998
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11999
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12000
$as_echo "$can_build_shared" >&6; }
 
12001
 
 
12002
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12003
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12004
  test "$can_build_shared" = "no" && enable_shared=no
 
12005
 
 
12006
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12007
  # are all built from PIC.
 
12008
  case $host_os in
 
12009
  aix3*)
 
12010
    test "$enable_shared" = yes && enable_static=no
 
12011
    if test -n "$RANLIB"; then
 
12012
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12013
      postinstall_cmds='$RANLIB $lib'
 
12014
    fi
 
12015
    ;;
 
12016
 
 
12017
  aix[4-9]*)
 
12018
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12019
      test "$enable_shared" = yes && enable_static=no
 
12020
    fi
 
12021
    ;;
 
12022
  esac
 
12023
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12024
$as_echo "$enable_shared" >&6; }
 
12025
 
 
12026
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12027
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12028
  # Make sure either enable_shared or enable_static is yes.
 
12029
  test "$enable_shared" = yes || enable_static=yes
 
12030
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12031
$as_echo "$enable_static" >&6; }
 
12032
 
 
12033
 
 
12034
 
 
12035
 
 
12036
fi
 
12037
ac_ext=c
 
12038
ac_cpp='$CPP $CPPFLAGS'
 
12039
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12040
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12041
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12042
 
 
12043
CC="$lt_save_CC"
 
12044
 
 
12045
 
 
12046
 
 
12047
 
 
12048
 
 
12049
 
 
12050
 
 
12051
 
 
12052
 
 
12053
 
 
12054
 
 
12055
 
 
12056
 
 
12057
        ac_config_commands="$ac_config_commands libtool"
 
12058
 
 
12059
 
 
12060
 
 
12061
 
 
12062
# Only expand once:
19552
12063
 
19553
12064
 
19554
12065
 
19558
12069
do
19559
12070
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19560
12071
set dummy $ac_prog; ac_word=$2
19561
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19562
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
12072
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12073
$as_echo_n "checking for $ac_word... " >&6; }
19563
12074
if test "${ac_cv_prog_YACC+set}" = set; then
19564
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12075
  $as_echo_n "(cached) " >&6
19565
12076
else
19566
12077
  if test -n "$YACC"; then
19567
12078
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
19572
12083
  IFS=$as_save_IFS
19573
12084
  test -z "$as_dir" && as_dir=.
19574
12085
  for ac_exec_ext in '' $ac_executable_extensions; do
19575
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12086
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19576
12087
    ac_cv_prog_YACC="$ac_prog"
19577
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12088
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19578
12089
    break 2
19579
12090
  fi
19580
12091
done
19581
12092
done
 
12093
IFS=$as_save_IFS
19582
12094
 
19583
12095
fi
19584
12096
fi
19585
12097
YACC=$ac_cv_prog_YACC
19586
12098
if test -n "$YACC"; then
19587
 
  echo "$as_me:$LINENO: result: $YACC" >&5
19588
 
echo "${ECHO_T}$YACC" >&6
 
12099
  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
 
12100
$as_echo "$YACC" >&6; }
19589
12101
else
19590
 
  echo "$as_me:$LINENO: result: no" >&5
19591
 
echo "${ECHO_T}no" >&6
 
12102
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12103
$as_echo "no" >&6; }
19592
12104
fi
19593
12105
 
 
12106
 
19594
12107
  test -n "$YACC" && break
19595
12108
done
19596
12109
test -n "$YACC" || YACC="yacc"
19597
12110
 
19598
12111
 
 
12112
for ac_prog in splint
 
12113
do
 
12114
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
12115
set dummy $ac_prog; ac_word=$2
 
12116
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12117
$as_echo_n "checking for $ac_word... " >&6; }
 
12118
if test "${ac_cv_prog_SPLINT+set}" = set; then
 
12119
  $as_echo_n "(cached) " >&6
 
12120
else
 
12121
  if test -n "$SPLINT"; then
 
12122
  ac_cv_prog_SPLINT="$SPLINT" # Let the user override the test.
 
12123
else
 
12124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12125
for as_dir in $PATH
 
12126
do
 
12127
  IFS=$as_save_IFS
 
12128
  test -z "$as_dir" && as_dir=.
 
12129
  for ac_exec_ext in '' $ac_executable_extensions; do
 
12130
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12131
    ac_cv_prog_SPLINT="$ac_prog"
 
12132
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12133
    break 2
 
12134
  fi
 
12135
done
 
12136
done
 
12137
IFS=$as_save_IFS
 
12138
 
 
12139
fi
 
12140
fi
 
12141
SPLINT=$ac_cv_prog_SPLINT
 
12142
if test -n "$SPLINT"; then
 
12143
  { $as_echo "$as_me:$LINENO: result: $SPLINT" >&5
 
12144
$as_echo "$SPLINT" >&6; }
 
12145
else
 
12146
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12147
$as_echo "no" >&6; }
 
12148
fi
 
12149
 
 
12150
 
 
12151
  test -n "$SPLINT" && break
 
12152
done
 
12153
 
 
12154
if test x$SPLINT = x
 
12155
then
 
12156
    { $as_echo "$as_me:$LINENO: WARNING: No splint is dound" >&5
 
12157
$as_echo "$as_me: WARNING: No splint is dound" >&2;}
 
12158
fi
 
12159
 
19599
12160
for ac_prog in flex lex
19600
12161
do
19601
12162
  # Extract the first word of "$ac_prog", so it can be a program name with args.
19602
12163
set dummy $ac_prog; ac_word=$2
19603
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19604
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
12164
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12165
$as_echo_n "checking for $ac_word... " >&6; }
19605
12166
if test "${ac_cv_prog_LEX+set}" = set; then
19606
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12167
  $as_echo_n "(cached) " >&6
19607
12168
else
19608
12169
  if test -n "$LEX"; then
19609
12170
  ac_cv_prog_LEX="$LEX" # Let the user override the test.
19614
12175
  IFS=$as_save_IFS
19615
12176
  test -z "$as_dir" && as_dir=.
19616
12177
  for ac_exec_ext in '' $ac_executable_extensions; do
19617
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
12178
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19618
12179
    ac_cv_prog_LEX="$ac_prog"
19619
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12180
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19620
12181
    break 2
19621
12182
  fi
19622
12183
done
19623
12184
done
 
12185
IFS=$as_save_IFS
19624
12186
 
19625
12187
fi
19626
12188
fi
19627
12189
LEX=$ac_cv_prog_LEX
19628
12190
if test -n "$LEX"; then
19629
 
  echo "$as_me:$LINENO: result: $LEX" >&5
19630
 
echo "${ECHO_T}$LEX" >&6
 
12191
  { $as_echo "$as_me:$LINENO: result: $LEX" >&5
 
12192
$as_echo "$LEX" >&6; }
19631
12193
else
19632
 
  echo "$as_me:$LINENO: result: no" >&5
19633
 
echo "${ECHO_T}no" >&6
 
12194
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12195
$as_echo "no" >&6; }
19634
12196
fi
19635
12197
 
 
12198
 
19636
12199
  test -n "$LEX" && break
19637
12200
done
19638
12201
test -n "$LEX" || LEX=":"
19639
12202
 
19640
 
if test -z "$LEXLIB"
19641
 
then
19642
 
  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
19643
 
echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
19644
 
if test "${ac_cv_lib_fl_yywrap+set}" = set; then
19645
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19646
 
else
19647
 
  ac_check_lib_save_LIBS=$LIBS
19648
 
LIBS="-lfl  $LIBS"
19649
 
cat >conftest.$ac_ext <<_ACEOF
19650
 
/* confdefs.h.  */
19651
 
_ACEOF
19652
 
cat confdefs.h >>conftest.$ac_ext
19653
 
cat >>conftest.$ac_ext <<_ACEOF
19654
 
/* end confdefs.h.  */
19655
 
 
19656
 
/* Override any gcc2 internal prototype to avoid an error.  */
19657
 
#ifdef __cplusplus
19658
 
extern "C"
19659
 
#endif
19660
 
/* We use char because int might match the return type of a gcc2
19661
 
   builtin and then its argument prototype would still apply.  */
19662
 
char yywrap ();
19663
 
int
19664
 
main ()
19665
 
{
19666
 
yywrap ();
19667
 
  ;
19668
 
  return 0;
19669
 
}
19670
 
_ACEOF
19671
 
rm -f conftest.$ac_objext conftest$ac_exeext
19672
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19673
 
  (eval $ac_link) 2>conftest.er1
19674
 
  ac_status=$?
19675
 
  grep -v '^ *+' conftest.er1 >conftest.err
19676
 
  rm -f conftest.er1
19677
 
  cat conftest.err >&5
19678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679
 
  (exit $ac_status); } &&
19680
 
         { ac_try='test -z "$ac_c_werror_flag"
19681
 
                         || test ! -s conftest.err'
19682
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683
 
  (eval $ac_try) 2>&5
19684
 
  ac_status=$?
19685
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686
 
  (exit $ac_status); }; } &&
19687
 
         { ac_try='test -s conftest$ac_exeext'
19688
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19689
 
  (eval $ac_try) 2>&5
19690
 
  ac_status=$?
19691
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692
 
  (exit $ac_status); }; }; then
19693
 
  ac_cv_lib_fl_yywrap=yes
19694
 
else
19695
 
  echo "$as_me: failed program was:" >&5
19696
 
sed 's/^/| /' conftest.$ac_ext >&5
19697
 
 
19698
 
ac_cv_lib_fl_yywrap=no
19699
 
fi
19700
 
rm -f conftest.err conftest.$ac_objext \
19701
 
      conftest$ac_exeext conftest.$ac_ext
19702
 
LIBS=$ac_check_lib_save_LIBS
19703
 
fi
19704
 
echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
19705
 
echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
19706
 
if test $ac_cv_lib_fl_yywrap = yes; then
19707
 
  LEXLIB="-lfl"
19708
 
else
19709
 
  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
19710
 
echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
19711
 
if test "${ac_cv_lib_l_yywrap+set}" = set; then
19712
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19713
 
else
19714
 
  ac_check_lib_save_LIBS=$LIBS
19715
 
LIBS="-ll  $LIBS"
19716
 
cat >conftest.$ac_ext <<_ACEOF
19717
 
/* confdefs.h.  */
19718
 
_ACEOF
19719
 
cat confdefs.h >>conftest.$ac_ext
19720
 
cat >>conftest.$ac_ext <<_ACEOF
19721
 
/* end confdefs.h.  */
19722
 
 
19723
 
/* Override any gcc2 internal prototype to avoid an error.  */
19724
 
#ifdef __cplusplus
19725
 
extern "C"
19726
 
#endif
19727
 
/* We use char because int might match the return type of a gcc2
19728
 
   builtin and then its argument prototype would still apply.  */
19729
 
char yywrap ();
19730
 
int
19731
 
main ()
19732
 
{
19733
 
yywrap ();
19734
 
  ;
19735
 
  return 0;
19736
 
}
19737
 
_ACEOF
19738
 
rm -f conftest.$ac_objext conftest$ac_exeext
19739
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19740
 
  (eval $ac_link) 2>conftest.er1
19741
 
  ac_status=$?
19742
 
  grep -v '^ *+' conftest.er1 >conftest.err
19743
 
  rm -f conftest.er1
19744
 
  cat conftest.err >&5
19745
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746
 
  (exit $ac_status); } &&
19747
 
         { ac_try='test -z "$ac_c_werror_flag"
19748
 
                         || test ! -s conftest.err'
19749
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19750
 
  (eval $ac_try) 2>&5
19751
 
  ac_status=$?
19752
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753
 
  (exit $ac_status); }; } &&
19754
 
         { ac_try='test -s conftest$ac_exeext'
19755
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19756
 
  (eval $ac_try) 2>&5
19757
 
  ac_status=$?
19758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19759
 
  (exit $ac_status); }; }; then
19760
 
  ac_cv_lib_l_yywrap=yes
19761
 
else
19762
 
  echo "$as_me: failed program was:" >&5
19763
 
sed 's/^/| /' conftest.$ac_ext >&5
19764
 
 
19765
 
ac_cv_lib_l_yywrap=no
19766
 
fi
19767
 
rm -f conftest.err conftest.$ac_objext \
19768
 
      conftest$ac_exeext conftest.$ac_ext
19769
 
LIBS=$ac_check_lib_save_LIBS
19770
 
fi
19771
 
echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
19772
 
echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
19773
 
if test $ac_cv_lib_l_yywrap = yes; then
19774
 
  LEXLIB="-ll"
19775
 
fi
19776
 
 
19777
 
fi
19778
 
 
19779
 
fi
19780
 
 
19781
12203
if test "x$LEX" != "x:"; then
19782
 
  echo "$as_me:$LINENO: checking lex output file root" >&5
19783
 
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
 
12204
  cat >conftest.l <<_ACEOF
 
12205
%%
 
12206
a { ECHO; }
 
12207
b { REJECT; }
 
12208
c { yymore (); }
 
12209
d { yyless (1); }
 
12210
e { yyless (input () != 0); }
 
12211
f { unput (yytext[0]); }
 
12212
. { BEGIN INITIAL; }
 
12213
%%
 
12214
#ifdef YYTEXT_POINTER
 
12215
extern char *yytext;
 
12216
#endif
 
12217
int
 
12218
main (void)
 
12219
{
 
12220
  return ! yylex () + ! yywrap ();
 
12221
}
 
12222
_ACEOF
 
12223
{ (ac_try="$LEX conftest.l"
 
12224
case "(($ac_try" in
 
12225
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12226
  *) ac_try_echo=$ac_try;;
 
12227
esac
 
12228
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12229
$as_echo "$ac_try_echo") >&5
 
12230
  (eval "$LEX conftest.l") 2>&5
 
12231
  ac_status=$?
 
12232
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12233
  (exit $ac_status); }
 
12234
{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5
 
12235
$as_echo_n "checking lex output file root... " >&6; }
19784
12236
if test "${ac_cv_prog_lex_root+set}" = set; then
19785
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12237
  $as_echo_n "(cached) " >&6
19786
12238
else
19787
 
  # The minimal lex program is just a single line: %%.  But some broken lexes
19788
 
# (Solaris, I think it was) want two %% lines, so accommodate them.
19789
 
cat >conftest.l <<_ACEOF
19790
 
%%
19791
 
%%
19792
 
_ACEOF
19793
 
{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
19794
 
  (eval $LEX conftest.l) 2>&5
19795
 
  ac_status=$?
19796
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797
 
  (exit $ac_status); }
 
12239
 
19798
12240
if test -f lex.yy.c; then
19799
12241
  ac_cv_prog_lex_root=lex.yy
19800
12242
elif test -f lexyy.c; then
19801
12243
  ac_cv_prog_lex_root=lexyy
19802
12244
else
19803
 
  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
19804
 
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
 
12245
  { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
 
12246
$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
19805
12247
   { (exit 1); exit 1; }; }
19806
12248
fi
19807
12249
fi
19808
 
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
19809
 
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
19810
 
rm -f conftest.l
 
12250
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
 
12251
$as_echo "$ac_cv_prog_lex_root" >&6; }
19811
12252
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
19812
12253
 
19813
 
echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
19814
 
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
 
12254
if test -z "${LEXLIB+set}"; then
 
12255
  { $as_echo "$as_me:$LINENO: checking lex library" >&5
 
12256
$as_echo_n "checking lex library... " >&6; }
 
12257
if test "${ac_cv_lib_lex+set}" = set; then
 
12258
  $as_echo_n "(cached) " >&6
 
12259
else
 
12260
 
 
12261
    ac_save_LIBS=$LIBS
 
12262
    ac_cv_lib_lex='none needed'
 
12263
    for ac_lib in '' -lfl -ll; do
 
12264
      LIBS="$ac_lib $ac_save_LIBS"
 
12265
      cat >conftest.$ac_ext <<_ACEOF
 
12266
`cat $LEX_OUTPUT_ROOT.c`
 
12267
_ACEOF
 
12268
rm -f conftest.$ac_objext conftest$ac_exeext
 
12269
if { (ac_try="$ac_link"
 
12270
case "(($ac_try" in
 
12271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12272
  *) ac_try_echo=$ac_try;;
 
12273
esac
 
12274
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12275
$as_echo "$ac_try_echo") >&5
 
12276
  (eval "$ac_link") 2>conftest.er1
 
12277
  ac_status=$?
 
12278
  grep -v '^ *+' conftest.er1 >conftest.err
 
12279
  rm -f conftest.er1
 
12280
  cat conftest.err >&5
 
12281
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12282
  (exit $ac_status); } && {
 
12283
         test -z "$ac_c_werror_flag" ||
 
12284
         test ! -s conftest.err
 
12285
       } && test -s conftest$ac_exeext && {
 
12286
         test "$cross_compiling" = yes ||
 
12287
         $as_test_x conftest$ac_exeext
 
12288
       }; then
 
12289
  ac_cv_lib_lex=$ac_lib
 
12290
else
 
12291
  $as_echo "$as_me: failed program was:" >&5
 
12292
sed 's/^/| /' conftest.$ac_ext >&5
 
12293
 
 
12294
 
 
12295
fi
 
12296
 
 
12297
rm -rf conftest.dSYM
 
12298
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12299
      conftest$ac_exeext conftest.$ac_ext
 
12300
      test "$ac_cv_lib_lex" != 'none needed' && break
 
12301
    done
 
12302
    LIBS=$ac_save_LIBS
 
12303
 
 
12304
fi
 
12305
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
 
12306
$as_echo "$ac_cv_lib_lex" >&6; }
 
12307
  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
 
12308
fi
 
12309
 
 
12310
 
 
12311
{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
 
12312
$as_echo_n "checking whether yytext is a pointer... " >&6; }
19815
12313
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
19816
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12314
  $as_echo_n "(cached) " >&6
19817
12315
else
19818
12316
  # POSIX says lex can declare yytext either as a pointer or an array; the
19819
 
# default is implementation-dependent. Figure out which it is, since
 
12317
# default is implementation-dependent.  Figure out which it is, since
19820
12318
# not all implementations provide the %pointer and %array declarations.
19821
12319
ac_cv_prog_lex_yytext_pointer=no
19822
 
echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
19823
12320
ac_save_LIBS=$LIBS
19824
 
LIBS="$LIBS $LEXLIB"
 
12321
LIBS="$LEXLIB $ac_save_LIBS"
19825
12322
cat >conftest.$ac_ext <<_ACEOF
 
12323
#define YYTEXT_POINTER 1
19826
12324
`cat $LEX_OUTPUT_ROOT.c`
19827
12325
_ACEOF
19828
12326
rm -f conftest.$ac_objext conftest$ac_exeext
19829
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19830
 
  (eval $ac_link) 2>conftest.er1
 
12327
if { (ac_try="$ac_link"
 
12328
case "(($ac_try" in
 
12329
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12330
  *) ac_try_echo=$ac_try;;
 
12331
esac
 
12332
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12333
$as_echo "$ac_try_echo") >&5
 
12334
  (eval "$ac_link") 2>conftest.er1
19831
12335
  ac_status=$?
19832
12336
  grep -v '^ *+' conftest.er1 >conftest.err
19833
12337
  rm -f conftest.er1
19834
12338
  cat conftest.err >&5
19835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836
 
  (exit $ac_status); } &&
19837
 
         { ac_try='test -z "$ac_c_werror_flag"
19838
 
                         || test ! -s conftest.err'
19839
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19840
 
  (eval $ac_try) 2>&5
19841
 
  ac_status=$?
19842
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843
 
  (exit $ac_status); }; } &&
19844
 
         { ac_try='test -s conftest$ac_exeext'
19845
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19846
 
  (eval $ac_try) 2>&5
19847
 
  ac_status=$?
19848
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849
 
  (exit $ac_status); }; }; then
 
12339
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12340
  (exit $ac_status); } && {
 
12341
         test -z "$ac_c_werror_flag" ||
 
12342
         test ! -s conftest.err
 
12343
       } && test -s conftest$ac_exeext && {
 
12344
         test "$cross_compiling" = yes ||
 
12345
         $as_test_x conftest$ac_exeext
 
12346
       }; then
19850
12347
  ac_cv_prog_lex_yytext_pointer=yes
19851
12348
else
19852
 
  echo "$as_me: failed program was:" >&5
 
12349
  $as_echo "$as_me: failed program was:" >&5
19853
12350
sed 's/^/| /' conftest.$ac_ext >&5
19854
12351
 
 
12352
 
19855
12353
fi
19856
 
rm -f conftest.err conftest.$ac_objext \
 
12354
 
 
12355
rm -rf conftest.dSYM
 
12356
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19857
12357
      conftest$ac_exeext conftest.$ac_ext
19858
12358
LIBS=$ac_save_LIBS
19859
 
rm -f "${LEX_OUTPUT_ROOT}.c"
19860
12359
 
19861
12360
fi
19862
 
echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
19863
 
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
 
12361
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
 
12362
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
19864
12363
if test $ac_cv_prog_lex_yytext_pointer = yes; then
19865
12364
 
19866
12365
cat >>confdefs.h <<\_ACEOF
19868
12367
_ACEOF
19869
12368
 
19870
12369
fi
 
12370
rm -f conftest.l $LEX_OUTPUT_ROOT.c
19871
12371
 
19872
12372
fi
19873
12373
if test "$LEX" = :; then
19886
12386
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19887
12387
# OS/2's system install, which has a completely different semantic
19888
12388
# ./install, which can be erroneously created by make from ./install.sh.
19889
 
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19890
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
 
12389
# Reject install programs that cannot install multiple files.
 
12390
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
12391
$as_echo_n "checking for a BSD-compatible install... " >&6; }
19891
12392
if test -z "$INSTALL"; then
19892
12393
if test "${ac_cv_path_install+set}" = set; then
19893
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12394
  $as_echo_n "(cached) " >&6
19894
12395
else
19895
12396
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19896
12397
for as_dir in $PATH
19909
12410
    # by default.
19910
12411
    for ac_prog in ginstall scoinst install; do
19911
12412
      for ac_exec_ext in '' $ac_executable_extensions; do
19912
 
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
 
12413
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19913
12414
          if test $ac_prog = install &&
19914
12415
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19915
12416
            # AIX install.  It has an incompatible calling convention.
19919
12420
            # program-specific install script used by HP pwplus--don't use.
19920
12421
            :
19921
12422
          else
19922
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19923
 
            break 3
 
12423
            rm -rf conftest.one conftest.two conftest.dir
 
12424
            echo one > conftest.one
 
12425
            echo two > conftest.two
 
12426
            mkdir conftest.dir
 
12427
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
12428
              test -s conftest.one && test -s conftest.two &&
 
12429
              test -s conftest.dir/conftest.one &&
 
12430
              test -s conftest.dir/conftest.two
 
12431
            then
 
12432
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
12433
              break 3
 
12434
            fi
19924
12435
          fi
19925
12436
        fi
19926
12437
      done
19927
12438
    done
19928
12439
    ;;
19929
12440
esac
 
12441
 
19930
12442
done
 
12443
IFS=$as_save_IFS
19931
12444
 
 
12445
rm -rf conftest.one conftest.two conftest.dir
19932
12446
 
19933
12447
fi
19934
12448
  if test "${ac_cv_path_install+set}" = set; then
19935
12449
    INSTALL=$ac_cv_path_install
19936
12450
  else
19937
 
    # As a last resort, use the slow shell script.  We don't cache a
19938
 
    # path for INSTALL within a source directory, because that will
 
12451
    # As a last resort, use the slow shell script.  Don't cache a
 
12452
    # value for INSTALL within a source directory, because that will
19939
12453
    # break other packages using the cache if that directory is
19940
 
    # removed, or if the path is relative.
 
12454
    # removed, or if the value is a relative name.
19941
12455
    INSTALL=$ac_install_sh
19942
12456
  fi
19943
12457
fi
19944
 
echo "$as_me:$LINENO: result: $INSTALL" >&5
19945
 
echo "${ECHO_T}$INSTALL" >&6
 
12458
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
12459
$as_echo "$INSTALL" >&6; }
19946
12460
 
19947
12461
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19948
12462
# It thinks the first close brace ends the variable substitution.
19952
12466
 
19953
12467
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19954
12468
 
19955
 
echo "$as_me:$LINENO: checking whether ln -s works" >&5
19956
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
 
12469
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
12470
$as_echo_n "checking whether ln -s works... " >&6; }
19957
12471
LN_S=$as_ln_s
19958
12472
if test "$LN_S" = "ln -s"; then
19959
 
  echo "$as_me:$LINENO: result: yes" >&5
19960
 
echo "${ECHO_T}yes" >&6
 
12473
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12474
$as_echo "yes" >&6; }
19961
12475
else
19962
 
  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
19963
 
echo "${ECHO_T}no, using $LN_S" >&6
 
12476
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
12477
$as_echo "no, using $LN_S" >&6; }
19964
12478
fi
19965
12479
 
19966
 
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
19967
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
19968
 
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
19969
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
19970
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12480
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
12481
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
12482
set x ${MAKE-make}
 
12483
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
12484
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
 
12485
  $as_echo_n "(cached) " >&6
19971
12486
else
19972
12487
  cat >conftest.make <<\_ACEOF
 
12488
SHELL = /bin/sh
19973
12489
all:
19974
 
        @echo 'ac_maketemp="$(MAKE)"'
 
12490
        @echo '@@@%%%=$(MAKE)=@@@%%%'
19975
12491
_ACEOF
19976
12492
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19977
 
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
19978
 
if test -n "$ac_maketemp"; then
19979
 
  eval ac_cv_prog_make_${ac_make}_set=yes
19980
 
else
19981
 
  eval ac_cv_prog_make_${ac_make}_set=no
19982
 
fi
 
12493
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
12494
  *@@@%%%=?*=@@@%%%*)
 
12495
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
12496
  *)
 
12497
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
12498
esac
19983
12499
rm -f conftest.make
19984
12500
fi
19985
 
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19986
 
  echo "$as_me:$LINENO: result: yes" >&5
19987
 
echo "${ECHO_T}yes" >&6
 
12501
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
12502
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12503
$as_echo "yes" >&6; }
19988
12504
  SET_MAKE=
19989
12505
else
19990
 
  echo "$as_me:$LINENO: result: no" >&5
19991
 
echo "${ECHO_T}no" >&6
 
12506
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12507
$as_echo "no" >&6; }
19992
12508
  SET_MAKE="MAKE=${MAKE-make}"
19993
12509
fi
19994
12510
 
19995
12511
 
19996
12512
 
19997
 
echo "$as_me:$LINENO: checking for X" >&5
19998
 
echo $ECHO_N "checking for X... $ECHO_C" >&6
19999
 
 
20000
 
 
20001
 
# Check whether --with-x or --without-x was given.
 
12513
 
 
12514
{ $as_echo "$as_me:$LINENO: checking for X" >&5
 
12515
$as_echo_n "checking for X... " >&6; }
 
12516
 
 
12517
 
 
12518
# Check whether --with-x was given.
20002
12519
if test "${with_x+set}" = set; then
20003
 
  withval="$with_x"
 
12520
  withval=$with_x;
 
12521
fi
20004
12522
 
20005
 
fi;
20006
12523
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
20007
12524
if test "x$with_x" = xno; then
20008
12525
  # The user explicitly disabled X.
20009
12526
  have_x=disabled
20010
12527
else
20011
 
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
20012
 
    # Both variables are already set.
20013
 
    have_x=yes
20014
 
  else
20015
 
    if test "${ac_cv_have_x+set}" = set; then
20016
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12528
  case $x_includes,$x_libraries in #(
 
12529
    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
 
12530
$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
 
12531
   { (exit 1); exit 1; }; };; #(
 
12532
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
 
12533
  $as_echo_n "(cached) " >&6
20017
12534
else
20018
12535
  # One or both of the vars are not set, and there is no cached value.
20019
12536
ac_x_includes=no ac_x_libraries=no
20020
 
rm -fr conftest.dir
 
12537
rm -f -r conftest.dir
20021
12538
if mkdir conftest.dir; then
20022
12539
  cd conftest.dir
20023
 
  # Make sure to not put "make" in the Imakefile rules, since we grep it out.
20024
12540
  cat >Imakefile <<'_ACEOF'
20025
 
acfindx:
20026
 
        @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
 
12541
incroot:
 
12542
        @echo incroot='${INCROOT}'
 
12543
usrlibdir:
 
12544
        @echo usrlibdir='${USRLIBDIR}'
 
12545
libdir:
 
12546
        @echo libdir='${LIBDIR}'
20027
12547
_ACEOF
20028
 
  if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
 
12548
  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
20029
12549
    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20030
 
    eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
 
12550
    for ac_var in incroot usrlibdir libdir; do
 
12551
      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
 
12552
    done
20031
12553
    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
20032
 
    for ac_extension in a so sl; do
20033
 
      if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
20034
 
         test -f $ac_im_libdir/libX11.$ac_extension; then
 
12554
    for ac_extension in a so sl dylib la dll; do
 
12555
      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 
12556
         test -f "$ac_im_libdir/libX11.$ac_extension"; then
20035
12557
        ac_im_usrlibdir=$ac_im_libdir; break
20036
12558
      fi
20037
12559
    done
20039
12561
    # bogus both because they are the default anyway, and because
20040
12562
    # using them would break gcc on systems where it needs fixed includes.
20041
12563
    case $ac_im_incroot in
20042
 
        /usr/include) ;;
 
12564
        /usr/include) ac_x_includes= ;;
20043
12565
        *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
20044
12566
    esac
20045
12567
    case $ac_im_usrlibdir in
20046
 
        /usr/lib | /lib) ;;
 
12568
        /usr/lib | /usr/lib64 | /lib | /lib64) ;;
20047
12569
        *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
20048
12570
    esac
20049
12571
  fi
20050
12572
  cd ..
20051
 
  rm -fr conftest.dir
 
12573
  rm -f -r conftest.dir
20052
12574
fi
20053
12575
 
20054
12576
# Standard set of common directories for X headers.
20099
12621
/* end confdefs.h.  */
20100
12622
#include <X11/Xlib.h>
20101
12623
_ACEOF
20102
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20103
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
12624
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
12625
case "(($ac_try" in
 
12626
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12627
  *) ac_try_echo=$ac_try;;
 
12628
esac
 
12629
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12630
$as_echo "$ac_try_echo") >&5
 
12631
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20104
12632
  ac_status=$?
20105
12633
  grep -v '^ *+' conftest.er1 >conftest.err
20106
12634
  rm -f conftest.er1
20107
12635
  cat conftest.err >&5
20108
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109
 
  (exit $ac_status); } >/dev/null; then
20110
 
  if test -s conftest.err; then
20111
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20112
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20113
 
  else
20114
 
    ac_cpp_err=
20115
 
  fi
20116
 
else
20117
 
  ac_cpp_err=yes
20118
 
fi
20119
 
if test -z "$ac_cpp_err"; then
 
12636
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12637
  (exit $ac_status); } >/dev/null && {
 
12638
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
12639
         test ! -s conftest.err
 
12640
       }; then
20120
12641
  # We can compile using X headers with no special include directory.
20121
12642
ac_x_includes=
20122
12643
else
20123
 
  echo "$as_me: failed program was:" >&5
 
12644
  $as_echo "$as_me: failed program was:" >&5
20124
12645
sed 's/^/| /' conftest.$ac_ext >&5
20125
12646
 
20126
12647
  for ac_dir in $ac_x_header_dirs; do
20130
12651
  fi
20131
12652
done
20132
12653
fi
 
12654
 
20133
12655
rm -f conftest.err conftest.$ac_ext
20134
12656
fi # $ac_x_includes = no
20135
12657
 
20155
12677
}
20156
12678
_ACEOF
20157
12679
rm -f conftest.$ac_objext conftest$ac_exeext
20158
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20159
 
  (eval $ac_link) 2>conftest.er1
 
12680
if { (ac_try="$ac_link"
 
12681
case "(($ac_try" in
 
12682
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12683
  *) ac_try_echo=$ac_try;;
 
12684
esac
 
12685
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12686
$as_echo "$ac_try_echo") >&5
 
12687
  (eval "$ac_link") 2>conftest.er1
20160
12688
  ac_status=$?
20161
12689
  grep -v '^ *+' conftest.er1 >conftest.err
20162
12690
  rm -f conftest.er1
20163
12691
  cat conftest.err >&5
20164
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165
 
  (exit $ac_status); } &&
20166
 
         { ac_try='test -z "$ac_c_werror_flag"
20167
 
                         || test ! -s conftest.err'
20168
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20169
 
  (eval $ac_try) 2>&5
20170
 
  ac_status=$?
20171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172
 
  (exit $ac_status); }; } &&
20173
 
         { ac_try='test -s conftest$ac_exeext'
20174
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20175
 
  (eval $ac_try) 2>&5
20176
 
  ac_status=$?
20177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178
 
  (exit $ac_status); }; }; then
 
12692
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12693
  (exit $ac_status); } && {
 
12694
         test -z "$ac_c_werror_flag" ||
 
12695
         test ! -s conftest.err
 
12696
       } && test -s conftest$ac_exeext && {
 
12697
         test "$cross_compiling" = yes ||
 
12698
         $as_test_x conftest$ac_exeext
 
12699
       }; then
20179
12700
  LIBS=$ac_save_LIBS
20180
12701
# We can link X programs with no special library path.
20181
12702
ac_x_libraries=
20182
12703
else
20183
 
  echo "$as_me: failed program was:" >&5
 
12704
  $as_echo "$as_me: failed program was:" >&5
20184
12705
sed 's/^/| /' conftest.$ac_ext >&5
20185
12706
 
20186
 
LIBS=$ac_save_LIBS
20187
 
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 
12707
        LIBS=$ac_save_LIBS
 
12708
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
20188
12709
do
20189
12710
  # Don't even attempt the hair of trying to link an X program!
20190
 
  for ac_extension in a so sl; do
20191
 
    if test -r $ac_dir/libXt.$ac_extension; then
 
12711
  for ac_extension in a so sl dylib la dll; do
 
12712
    if test -r "$ac_dir/libX11.$ac_extension"; then
20192
12713
      ac_x_libraries=$ac_dir
20193
12714
      break 2
20194
12715
    fi
20195
12716
  done
20196
12717
done
20197
12718
fi
20198
 
rm -f conftest.err conftest.$ac_objext \
 
12719
 
 
12720
rm -rf conftest.dSYM
 
12721
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20199
12722
      conftest$ac_exeext conftest.$ac_ext
20200
12723
fi # $ac_x_libraries = no
20201
12724
 
20202
 
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
20203
 
  # Didn't find X anywhere.  Cache the known absence of X.
20204
 
  ac_cv_have_x="have_x=no"
20205
 
else
20206
 
  # Record where we found X for the cache.
20207
 
  ac_cv_have_x="have_x=yes \
20208
 
                ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
20209
 
fi
20210
 
fi
20211
 
 
20212
 
  fi
 
12725
case $ac_x_includes,$ac_x_libraries in #(
 
12726
  no,* | *,no | *\'*)
 
12727
    # Didn't find X, or a directory has "'" in its name.
 
12728
    ac_cv_have_x="have_x=no";; #(
 
12729
  *)
 
12730
    # Record where we found X for the cache.
 
12731
    ac_cv_have_x="have_x=yes\
 
12732
        ac_x_includes='$ac_x_includes'\
 
12733
        ac_x_libraries='$ac_x_libraries'"
 
12734
esac
 
12735
fi
 
12736
;; #(
 
12737
    *) have_x=yes;;
 
12738
  esac
20213
12739
  eval "$ac_cv_have_x"
20214
12740
fi # $with_x != no
20215
12741
 
20216
12742
if test "$have_x" != yes; then
20217
 
  echo "$as_me:$LINENO: result: $have_x" >&5
20218
 
echo "${ECHO_T}$have_x" >&6
 
12743
  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
 
12744
$as_echo "$have_x" >&6; }
20219
12745
  no_x=yes
20220
12746
else
20221
12747
  # If each of the values was on the command line, it overrides each guess.
20222
12748
  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20223
12749
  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20224
12750
  # Update the cache value to reflect the command line values.
20225
 
  ac_cv_have_x="have_x=yes \
20226
 
                ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
20227
 
  echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
20228
 
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
 
12751
  ac_cv_have_x="have_x=yes\
 
12752
        ac_x_includes='$x_includes'\
 
12753
        ac_x_libraries='$x_libraries'"
 
12754
  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
 
12755
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
20229
12756
fi
20230
12757
 
20231
12758
if test "$no_x" = yes; then
20246
12773
    X_LIBS="$X_LIBS -L$x_libraries"
20247
12774
    # For Solaris; some versions of Sun CC require a space after -R and
20248
12775
    # others require no space.  Words are not sufficient . . . .
20249
 
    case `(uname -sr) 2>/dev/null` in
20250
 
    "SunOS 5"*)
20251
 
      echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
20252
 
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
20253
 
      ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20254
 
      cat >conftest.$ac_ext <<_ACEOF
 
12776
    { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
 
12777
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
 
12778
    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
 
12779
    ac_xsave_c_werror_flag=$ac_c_werror_flag
 
12780
    ac_c_werror_flag=yes
 
12781
    cat >conftest.$ac_ext <<_ACEOF
20255
12782
/* confdefs.h.  */
20256
12783
_ACEOF
20257
12784
cat confdefs.h >>conftest.$ac_ext
20267
12794
}
20268
12795
_ACEOF
20269
12796
rm -f conftest.$ac_objext conftest$ac_exeext
20270
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20271
 
  (eval $ac_link) 2>conftest.er1
 
12797
if { (ac_try="$ac_link"
 
12798
case "(($ac_try" in
 
12799
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12800
  *) ac_try_echo=$ac_try;;
 
12801
esac
 
12802
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12803
$as_echo "$ac_try_echo") >&5
 
12804
  (eval "$ac_link") 2>conftest.er1
20272
12805
  ac_status=$?
20273
12806
  grep -v '^ *+' conftest.er1 >conftest.err
20274
12807
  rm -f conftest.er1
20275
12808
  cat conftest.err >&5
20276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277
 
  (exit $ac_status); } &&
20278
 
         { ac_try='test -z "$ac_c_werror_flag"
20279
 
                         || test ! -s conftest.err'
20280
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20281
 
  (eval $ac_try) 2>&5
20282
 
  ac_status=$?
20283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284
 
  (exit $ac_status); }; } &&
20285
 
         { ac_try='test -s conftest$ac_exeext'
20286
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20287
 
  (eval $ac_try) 2>&5
20288
 
  ac_status=$?
20289
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290
 
  (exit $ac_status); }; }; then
20291
 
  ac_R_nospace=yes
 
12809
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12810
  (exit $ac_status); } && {
 
12811
         test -z "$ac_c_werror_flag" ||
 
12812
         test ! -s conftest.err
 
12813
       } && test -s conftest$ac_exeext && {
 
12814
         test "$cross_compiling" = yes ||
 
12815
         $as_test_x conftest$ac_exeext
 
12816
       }; then
 
12817
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12818
$as_echo "no" >&6; }
 
12819
       X_LIBS="$X_LIBS -R$x_libraries"
20292
12820
else
20293
 
  echo "$as_me: failed program was:" >&5
 
12821
  $as_echo "$as_me: failed program was:" >&5
20294
12822
sed 's/^/| /' conftest.$ac_ext >&5
20295
12823
 
20296
 
ac_R_nospace=no
20297
 
fi
20298
 
rm -f conftest.err conftest.$ac_objext \
20299
 
      conftest$ac_exeext conftest.$ac_ext
20300
 
      if test $ac_R_nospace = yes; then
20301
 
        echo "$as_me:$LINENO: result: no" >&5
20302
 
echo "${ECHO_T}no" >&6
20303
 
        X_LIBS="$X_LIBS -R$x_libraries"
20304
 
      else
20305
12824
        LIBS="$ac_xsave_LIBS -R $x_libraries"
20306
 
        cat >conftest.$ac_ext <<_ACEOF
 
12825
       cat >conftest.$ac_ext <<_ACEOF
20307
12826
/* confdefs.h.  */
20308
12827
_ACEOF
20309
12828
cat confdefs.h >>conftest.$ac_ext
20319
12838
}
20320
12839
_ACEOF
20321
12840
rm -f conftest.$ac_objext conftest$ac_exeext
20322
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20323
 
  (eval $ac_link) 2>conftest.er1
 
12841
if { (ac_try="$ac_link"
 
12842
case "(($ac_try" in
 
12843
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12844
  *) ac_try_echo=$ac_try;;
 
12845
esac
 
12846
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12847
$as_echo "$ac_try_echo") >&5
 
12848
  (eval "$ac_link") 2>conftest.er1
20324
12849
  ac_status=$?
20325
12850
  grep -v '^ *+' conftest.er1 >conftest.err
20326
12851
  rm -f conftest.er1
20327
12852
  cat conftest.err >&5
20328
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329
 
  (exit $ac_status); } &&
20330
 
         { ac_try='test -z "$ac_c_werror_flag"
20331
 
                         || test ! -s conftest.err'
20332
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20333
 
  (eval $ac_try) 2>&5
20334
 
  ac_status=$?
20335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336
 
  (exit $ac_status); }; } &&
20337
 
         { ac_try='test -s conftest$ac_exeext'
20338
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20339
 
  (eval $ac_try) 2>&5
20340
 
  ac_status=$?
20341
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342
 
  (exit $ac_status); }; }; then
20343
 
  ac_R_space=yes
20344
 
else
20345
 
  echo "$as_me: failed program was:" >&5
20346
 
sed 's/^/| /' conftest.$ac_ext >&5
20347
 
 
20348
 
ac_R_space=no
20349
 
fi
20350
 
rm -f conftest.err conftest.$ac_objext \
20351
 
      conftest$ac_exeext conftest.$ac_ext
20352
 
        if test $ac_R_space = yes; then
20353
 
          echo "$as_me:$LINENO: result: yes" >&5
20354
 
echo "${ECHO_T}yes" >&6
 
12853
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12854
  (exit $ac_status); } && {
 
12855
         test -z "$ac_c_werror_flag" ||
 
12856
         test ! -s conftest.err
 
12857
       } && test -s conftest$ac_exeext && {
 
12858
         test "$cross_compiling" = yes ||
 
12859
         $as_test_x conftest$ac_exeext
 
12860
       }; then
 
12861
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12862
$as_echo "yes" >&6; }
20355
12863
          X_LIBS="$X_LIBS -R $x_libraries"
20356
 
        else
20357
 
          echo "$as_me:$LINENO: result: neither works" >&5
20358
 
echo "${ECHO_T}neither works" >&6
20359
 
        fi
20360
 
      fi
20361
 
      LIBS=$ac_xsave_LIBS
20362
 
    esac
 
12864
else
 
12865
  $as_echo "$as_me: failed program was:" >&5
 
12866
sed 's/^/| /' conftest.$ac_ext >&5
 
12867
 
 
12868
        { $as_echo "$as_me:$LINENO: result: neither works" >&5
 
12869
$as_echo "neither works" >&6; }
 
12870
fi
 
12871
 
 
12872
rm -rf conftest.dSYM
 
12873
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12874
      conftest$ac_exeext conftest.$ac_ext
 
12875
fi
 
12876
 
 
12877
rm -rf conftest.dSYM
 
12878
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
12879
      conftest$ac_exeext conftest.$ac_ext
 
12880
    ac_c_werror_flag=$ac_xsave_c_werror_flag
 
12881
    LIBS=$ac_xsave_LIBS
20363
12882
  fi
20364
12883
 
20365
12884
  # Check for system-dependent libraries X programs must link with.
20380
12899
cat >>conftest.$ac_ext <<_ACEOF
20381
12900
/* end confdefs.h.  */
20382
12901
 
20383
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12902
/* Override any GCC internal prototype to avoid an error.
 
12903
   Use char because int might match the return type of a GCC
 
12904
   builtin and then its argument prototype would still apply.  */
20384
12905
#ifdef __cplusplus
20385
12906
extern "C"
20386
12907
#endif
20387
 
/* We use char because int might match the return type of a gcc2
20388
 
   builtin and then its argument prototype would still apply.  */
20389
12908
char XOpenDisplay ();
20390
12909
int
20391
12910
main ()
20392
12911
{
20393
 
XOpenDisplay ();
 
12912
return XOpenDisplay ();
20394
12913
  ;
20395
12914
  return 0;
20396
12915
}
20397
12916
_ACEOF
20398
12917
rm -f conftest.$ac_objext conftest$ac_exeext
20399
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20400
 
  (eval $ac_link) 2>conftest.er1
 
12918
if { (ac_try="$ac_link"
 
12919
case "(($ac_try" in
 
12920
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12921
  *) ac_try_echo=$ac_try;;
 
12922
esac
 
12923
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12924
$as_echo "$ac_try_echo") >&5
 
12925
  (eval "$ac_link") 2>conftest.er1
20401
12926
  ac_status=$?
20402
12927
  grep -v '^ *+' conftest.er1 >conftest.err
20403
12928
  rm -f conftest.er1
20404
12929
  cat conftest.err >&5
20405
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20406
 
  (exit $ac_status); } &&
20407
 
         { ac_try='test -z "$ac_c_werror_flag"
20408
 
                         || test ! -s conftest.err'
20409
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410
 
  (eval $ac_try) 2>&5
20411
 
  ac_status=$?
20412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413
 
  (exit $ac_status); }; } &&
20414
 
         { ac_try='test -s conftest$ac_exeext'
20415
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416
 
  (eval $ac_try) 2>&5
20417
 
  ac_status=$?
20418
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419
 
  (exit $ac_status); }; }; then
 
12930
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12931
  (exit $ac_status); } && {
 
12932
         test -z "$ac_c_werror_flag" ||
 
12933
         test ! -s conftest.err
 
12934
       } && test -s conftest$ac_exeext && {
 
12935
         test "$cross_compiling" = yes ||
 
12936
         $as_test_x conftest$ac_exeext
 
12937
       }; then
20420
12938
  :
20421
12939
else
20422
 
  echo "$as_me: failed program was:" >&5
 
12940
  $as_echo "$as_me: failed program was:" >&5
20423
12941
sed 's/^/| /' conftest.$ac_ext >&5
20424
12942
 
20425
 
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
20426
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
 
12943
        { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
 
12944
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20427
12945
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
20428
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12946
  $as_echo_n "(cached) " >&6
20429
12947
else
20430
12948
  ac_check_lib_save_LIBS=$LIBS
20431
12949
LIBS="-ldnet  $LIBS"
20436
12954
cat >>conftest.$ac_ext <<_ACEOF
20437
12955
/* end confdefs.h.  */
20438
12956
 
20439
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
12957
/* Override any GCC internal prototype to avoid an error.
 
12958
   Use char because int might match the return type of a GCC
 
12959
   builtin and then its argument prototype would still apply.  */
20440
12960
#ifdef __cplusplus
20441
12961
extern "C"
20442
12962
#endif
20443
 
/* We use char because int might match the return type of a gcc2
20444
 
   builtin and then its argument prototype would still apply.  */
20445
12963
char dnet_ntoa ();
20446
12964
int
20447
12965
main ()
20448
12966
{
20449
 
dnet_ntoa ();
 
12967
return dnet_ntoa ();
20450
12968
  ;
20451
12969
  return 0;
20452
12970
}
20453
12971
_ACEOF
20454
12972
rm -f conftest.$ac_objext conftest$ac_exeext
20455
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20456
 
  (eval $ac_link) 2>conftest.er1
 
12973
if { (ac_try="$ac_link"
 
12974
case "(($ac_try" in
 
12975
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12976
  *) ac_try_echo=$ac_try;;
 
12977
esac
 
12978
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12979
$as_echo "$ac_try_echo") >&5
 
12980
  (eval "$ac_link") 2>conftest.er1
20457
12981
  ac_status=$?
20458
12982
  grep -v '^ *+' conftest.er1 >conftest.err
20459
12983
  rm -f conftest.er1
20460
12984
  cat conftest.err >&5
20461
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462
 
  (exit $ac_status); } &&
20463
 
         { ac_try='test -z "$ac_c_werror_flag"
20464
 
                         || test ! -s conftest.err'
20465
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466
 
  (eval $ac_try) 2>&5
20467
 
  ac_status=$?
20468
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469
 
  (exit $ac_status); }; } &&
20470
 
         { ac_try='test -s conftest$ac_exeext'
20471
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472
 
  (eval $ac_try) 2>&5
20473
 
  ac_status=$?
20474
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475
 
  (exit $ac_status); }; }; then
 
12985
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12986
  (exit $ac_status); } && {
 
12987
         test -z "$ac_c_werror_flag" ||
 
12988
         test ! -s conftest.err
 
12989
       } && test -s conftest$ac_exeext && {
 
12990
         test "$cross_compiling" = yes ||
 
12991
         $as_test_x conftest$ac_exeext
 
12992
       }; then
20476
12993
  ac_cv_lib_dnet_dnet_ntoa=yes
20477
12994
else
20478
 
  echo "$as_me: failed program was:" >&5
 
12995
  $as_echo "$as_me: failed program was:" >&5
20479
12996
sed 's/^/| /' conftest.$ac_ext >&5
20480
12997
 
20481
 
ac_cv_lib_dnet_dnet_ntoa=no
 
12998
        ac_cv_lib_dnet_dnet_ntoa=no
20482
12999
fi
20483
 
rm -f conftest.err conftest.$ac_objext \
 
13000
 
 
13001
rm -rf conftest.dSYM
 
13002
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20484
13003
      conftest$ac_exeext conftest.$ac_ext
20485
13004
LIBS=$ac_check_lib_save_LIBS
20486
13005
fi
20487
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20488
 
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
20489
 
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
 
13006
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
 
13007
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
 
13008
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
20490
13009
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20491
13010
fi
20492
13011
 
20493
13012
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20494
 
      echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
20495
 
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
 
13013
      { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
 
13014
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20496
13015
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
20497
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13016
  $as_echo_n "(cached) " >&6
20498
13017
else
20499
13018
  ac_check_lib_save_LIBS=$LIBS
20500
13019
LIBS="-ldnet_stub  $LIBS"
20505
13024
cat >>conftest.$ac_ext <<_ACEOF
20506
13025
/* end confdefs.h.  */
20507
13026
 
20508
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13027
/* Override any GCC internal prototype to avoid an error.
 
13028
   Use char because int might match the return type of a GCC
 
13029
   builtin and then its argument prototype would still apply.  */
20509
13030
#ifdef __cplusplus
20510
13031
extern "C"
20511
13032
#endif
20512
 
/* We use char because int might match the return type of a gcc2
20513
 
   builtin and then its argument prototype would still apply.  */
20514
13033
char dnet_ntoa ();
20515
13034
int
20516
13035
main ()
20517
13036
{
20518
 
dnet_ntoa ();
 
13037
return dnet_ntoa ();
20519
13038
  ;
20520
13039
  return 0;
20521
13040
}
20522
13041
_ACEOF
20523
13042
rm -f conftest.$ac_objext conftest$ac_exeext
20524
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20525
 
  (eval $ac_link) 2>conftest.er1
 
13043
if { (ac_try="$ac_link"
 
13044
case "(($ac_try" in
 
13045
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13046
  *) ac_try_echo=$ac_try;;
 
13047
esac
 
13048
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13049
$as_echo "$ac_try_echo") >&5
 
13050
  (eval "$ac_link") 2>conftest.er1
20526
13051
  ac_status=$?
20527
13052
  grep -v '^ *+' conftest.er1 >conftest.err
20528
13053
  rm -f conftest.er1
20529
13054
  cat conftest.err >&5
20530
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531
 
  (exit $ac_status); } &&
20532
 
         { ac_try='test -z "$ac_c_werror_flag"
20533
 
                         || test ! -s conftest.err'
20534
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20535
 
  (eval $ac_try) 2>&5
20536
 
  ac_status=$?
20537
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538
 
  (exit $ac_status); }; } &&
20539
 
         { ac_try='test -s conftest$ac_exeext'
20540
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20541
 
  (eval $ac_try) 2>&5
20542
 
  ac_status=$?
20543
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20544
 
  (exit $ac_status); }; }; then
 
13055
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13056
  (exit $ac_status); } && {
 
13057
         test -z "$ac_c_werror_flag" ||
 
13058
         test ! -s conftest.err
 
13059
       } && test -s conftest$ac_exeext && {
 
13060
         test "$cross_compiling" = yes ||
 
13061
         $as_test_x conftest$ac_exeext
 
13062
       }; then
20545
13063
  ac_cv_lib_dnet_stub_dnet_ntoa=yes
20546
13064
else
20547
 
  echo "$as_me: failed program was:" >&5
 
13065
  $as_echo "$as_me: failed program was:" >&5
20548
13066
sed 's/^/| /' conftest.$ac_ext >&5
20549
13067
 
20550
 
ac_cv_lib_dnet_stub_dnet_ntoa=no
 
13068
        ac_cv_lib_dnet_stub_dnet_ntoa=no
20551
13069
fi
20552
 
rm -f conftest.err conftest.$ac_objext \
 
13070
 
 
13071
rm -rf conftest.dSYM
 
13072
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20553
13073
      conftest$ac_exeext conftest.$ac_ext
20554
13074
LIBS=$ac_check_lib_save_LIBS
20555
13075
fi
20556
 
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20557
 
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
20558
 
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
 
13076
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
 
13077
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
 
13078
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
20559
13079
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20560
13080
fi
20561
13081
 
20562
13082
    fi
20563
13083
fi
20564
 
rm -f conftest.err conftest.$ac_objext \
 
13084
 
 
13085
rm -rf conftest.dSYM
 
13086
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20565
13087
      conftest$ac_exeext conftest.$ac_ext
20566
13088
    LIBS="$ac_xsave_LIBS"
20567
13089
 
20573
13095
    # on Irix 5.2, according to T.E. Dickey.
20574
13096
    # The functions gethostbyname, getservbyname, and inet_addr are
20575
13097
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20576
 
    echo "$as_me:$LINENO: checking for gethostbyname" >&5
20577
 
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
 
13098
    { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
 
13099
$as_echo_n "checking for gethostbyname... " >&6; }
20578
13100
if test "${ac_cv_func_gethostbyname+set}" = set; then
20579
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13101
  $as_echo_n "(cached) " >&6
20580
13102
else
20581
13103
  cat >conftest.$ac_ext <<_ACEOF
20582
13104
/* confdefs.h.  */
20601
13123
 
20602
13124
#undef gethostbyname
20603
13125
 
20604
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13126
/* Override any GCC internal prototype to avoid an error.
 
13127
   Use char because int might match the return type of a GCC
 
13128
   builtin and then its argument prototype would still apply.  */
20605
13129
#ifdef __cplusplus
20606
13130
extern "C"
20607
 
{
20608
13131
#endif
20609
 
/* We use char because int might match the return type of a gcc2
20610
 
   builtin and then its argument prototype would still apply.  */
20611
13132
char gethostbyname ();
20612
13133
/* The GNU C library defines this for functions which it implements
20613
13134
    to always fail with ENOSYS.  Some functions are actually named
20614
13135
    something starting with __ and the normal name is an alias.  */
20615
 
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
 
13136
#if defined __stub_gethostbyname || defined __stub___gethostbyname
20616
13137
choke me
20617
 
#else
20618
 
char (*f) () = gethostbyname;
20619
 
#endif
20620
 
#ifdef __cplusplus
20621
 
}
20622
13138
#endif
20623
13139
 
20624
13140
int
20625
13141
main ()
20626
13142
{
20627
 
return f != gethostbyname;
 
13143
return gethostbyname ();
20628
13144
  ;
20629
13145
  return 0;
20630
13146
}
20631
13147
_ACEOF
20632
13148
rm -f conftest.$ac_objext conftest$ac_exeext
20633
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20634
 
  (eval $ac_link) 2>conftest.er1
 
13149
if { (ac_try="$ac_link"
 
13150
case "(($ac_try" in
 
13151
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13152
  *) ac_try_echo=$ac_try;;
 
13153
esac
 
13154
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13155
$as_echo "$ac_try_echo") >&5
 
13156
  (eval "$ac_link") 2>conftest.er1
20635
13157
  ac_status=$?
20636
13158
  grep -v '^ *+' conftest.er1 >conftest.err
20637
13159
  rm -f conftest.er1
20638
13160
  cat conftest.err >&5
20639
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640
 
  (exit $ac_status); } &&
20641
 
         { ac_try='test -z "$ac_c_werror_flag"
20642
 
                         || test ! -s conftest.err'
20643
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644
 
  (eval $ac_try) 2>&5
20645
 
  ac_status=$?
20646
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647
 
  (exit $ac_status); }; } &&
20648
 
         { ac_try='test -s conftest$ac_exeext'
20649
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650
 
  (eval $ac_try) 2>&5
20651
 
  ac_status=$?
20652
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653
 
  (exit $ac_status); }; }; then
 
13161
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13162
  (exit $ac_status); } && {
 
13163
         test -z "$ac_c_werror_flag" ||
 
13164
         test ! -s conftest.err
 
13165
       } && test -s conftest$ac_exeext && {
 
13166
         test "$cross_compiling" = yes ||
 
13167
         $as_test_x conftest$ac_exeext
 
13168
       }; then
20654
13169
  ac_cv_func_gethostbyname=yes
20655
13170
else
20656
 
  echo "$as_me: failed program was:" >&5
 
13171
  $as_echo "$as_me: failed program was:" >&5
20657
13172
sed 's/^/| /' conftest.$ac_ext >&5
20658
13173
 
20659
 
ac_cv_func_gethostbyname=no
 
13174
        ac_cv_func_gethostbyname=no
20660
13175
fi
20661
 
rm -f conftest.err conftest.$ac_objext \
 
13176
 
 
13177
rm -rf conftest.dSYM
 
13178
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20662
13179
      conftest$ac_exeext conftest.$ac_ext
20663
13180
fi
20664
 
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
20665
 
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
 
13181
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
 
13182
$as_echo "$ac_cv_func_gethostbyname" >&6; }
20666
13183
 
20667
13184
    if test $ac_cv_func_gethostbyname = no; then
20668
 
      echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20669
 
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
 
13185
      { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
 
13186
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20670
13187
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20671
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13188
  $as_echo_n "(cached) " >&6
20672
13189
else
20673
13190
  ac_check_lib_save_LIBS=$LIBS
20674
13191
LIBS="-lnsl  $LIBS"
20679
13196
cat >>conftest.$ac_ext <<_ACEOF
20680
13197
/* end confdefs.h.  */
20681
13198
 
20682
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13199
/* Override any GCC internal prototype to avoid an error.
 
13200
   Use char because int might match the return type of a GCC
 
13201
   builtin and then its argument prototype would still apply.  */
20683
13202
#ifdef __cplusplus
20684
13203
extern "C"
20685
13204
#endif
20686
 
/* We use char because int might match the return type of a gcc2
20687
 
   builtin and then its argument prototype would still apply.  */
20688
13205
char gethostbyname ();
20689
13206
int
20690
13207
main ()
20691
13208
{
20692
 
gethostbyname ();
 
13209
return gethostbyname ();
20693
13210
  ;
20694
13211
  return 0;
20695
13212
}
20696
13213
_ACEOF
20697
13214
rm -f conftest.$ac_objext conftest$ac_exeext
20698
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20699
 
  (eval $ac_link) 2>conftest.er1
 
13215
if { (ac_try="$ac_link"
 
13216
case "(($ac_try" in
 
13217
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13218
  *) ac_try_echo=$ac_try;;
 
13219
esac
 
13220
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13221
$as_echo "$ac_try_echo") >&5
 
13222
  (eval "$ac_link") 2>conftest.er1
20700
13223
  ac_status=$?
20701
13224
  grep -v '^ *+' conftest.er1 >conftest.err
20702
13225
  rm -f conftest.er1
20703
13226
  cat conftest.err >&5
20704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705
 
  (exit $ac_status); } &&
20706
 
         { ac_try='test -z "$ac_c_werror_flag"
20707
 
                         || test ! -s conftest.err'
20708
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20709
 
  (eval $ac_try) 2>&5
20710
 
  ac_status=$?
20711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712
 
  (exit $ac_status); }; } &&
20713
 
         { ac_try='test -s conftest$ac_exeext'
20714
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20715
 
  (eval $ac_try) 2>&5
20716
 
  ac_status=$?
20717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718
 
  (exit $ac_status); }; }; then
 
13227
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13228
  (exit $ac_status); } && {
 
13229
         test -z "$ac_c_werror_flag" ||
 
13230
         test ! -s conftest.err
 
13231
       } && test -s conftest$ac_exeext && {
 
13232
         test "$cross_compiling" = yes ||
 
13233
         $as_test_x conftest$ac_exeext
 
13234
       }; then
20719
13235
  ac_cv_lib_nsl_gethostbyname=yes
20720
13236
else
20721
 
  echo "$as_me: failed program was:" >&5
 
13237
  $as_echo "$as_me: failed program was:" >&5
20722
13238
sed 's/^/| /' conftest.$ac_ext >&5
20723
13239
 
20724
 
ac_cv_lib_nsl_gethostbyname=no
 
13240
        ac_cv_lib_nsl_gethostbyname=no
20725
13241
fi
20726
 
rm -f conftest.err conftest.$ac_objext \
 
13242
 
 
13243
rm -rf conftest.dSYM
 
13244
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20727
13245
      conftest$ac_exeext conftest.$ac_ext
20728
13246
LIBS=$ac_check_lib_save_LIBS
20729
13247
fi
20730
 
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20731
 
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20732
 
if test $ac_cv_lib_nsl_gethostbyname = yes; then
 
13248
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
 
13249
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
 
13250
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
20733
13251
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20734
13252
fi
20735
13253
 
20736
13254
      if test $ac_cv_lib_nsl_gethostbyname = no; then
20737
 
        echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
20738
 
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
 
13255
        { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
 
13256
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20739
13257
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
20740
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13258
  $as_echo_n "(cached) " >&6
20741
13259
else
20742
13260
  ac_check_lib_save_LIBS=$LIBS
20743
13261
LIBS="-lbsd  $LIBS"
20748
13266
cat >>conftest.$ac_ext <<_ACEOF
20749
13267
/* end confdefs.h.  */
20750
13268
 
20751
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13269
/* Override any GCC internal prototype to avoid an error.
 
13270
   Use char because int might match the return type of a GCC
 
13271
   builtin and then its argument prototype would still apply.  */
20752
13272
#ifdef __cplusplus
20753
13273
extern "C"
20754
13274
#endif
20755
 
/* We use char because int might match the return type of a gcc2
20756
 
   builtin and then its argument prototype would still apply.  */
20757
13275
char gethostbyname ();
20758
13276
int
20759
13277
main ()
20760
13278
{
20761
 
gethostbyname ();
 
13279
return gethostbyname ();
20762
13280
  ;
20763
13281
  return 0;
20764
13282
}
20765
13283
_ACEOF
20766
13284
rm -f conftest.$ac_objext conftest$ac_exeext
20767
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20768
 
  (eval $ac_link) 2>conftest.er1
 
13285
if { (ac_try="$ac_link"
 
13286
case "(($ac_try" in
 
13287
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13288
  *) ac_try_echo=$ac_try;;
 
13289
esac
 
13290
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13291
$as_echo "$ac_try_echo") >&5
 
13292
  (eval "$ac_link") 2>conftest.er1
20769
13293
  ac_status=$?
20770
13294
  grep -v '^ *+' conftest.er1 >conftest.err
20771
13295
  rm -f conftest.er1
20772
13296
  cat conftest.err >&5
20773
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774
 
  (exit $ac_status); } &&
20775
 
         { ac_try='test -z "$ac_c_werror_flag"
20776
 
                         || test ! -s conftest.err'
20777
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778
 
  (eval $ac_try) 2>&5
20779
 
  ac_status=$?
20780
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781
 
  (exit $ac_status); }; } &&
20782
 
         { ac_try='test -s conftest$ac_exeext'
20783
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784
 
  (eval $ac_try) 2>&5
20785
 
  ac_status=$?
20786
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787
 
  (exit $ac_status); }; }; then
 
13297
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13298
  (exit $ac_status); } && {
 
13299
         test -z "$ac_c_werror_flag" ||
 
13300
         test ! -s conftest.err
 
13301
       } && test -s conftest$ac_exeext && {
 
13302
         test "$cross_compiling" = yes ||
 
13303
         $as_test_x conftest$ac_exeext
 
13304
       }; then
20788
13305
  ac_cv_lib_bsd_gethostbyname=yes
20789
13306
else
20790
 
  echo "$as_me: failed program was:" >&5
 
13307
  $as_echo "$as_me: failed program was:" >&5
20791
13308
sed 's/^/| /' conftest.$ac_ext >&5
20792
13309
 
20793
 
ac_cv_lib_bsd_gethostbyname=no
 
13310
        ac_cv_lib_bsd_gethostbyname=no
20794
13311
fi
20795
 
rm -f conftest.err conftest.$ac_objext \
 
13312
 
 
13313
rm -rf conftest.dSYM
 
13314
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20796
13315
      conftest$ac_exeext conftest.$ac_ext
20797
13316
LIBS=$ac_check_lib_save_LIBS
20798
13317
fi
20799
 
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20800
 
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
20801
 
if test $ac_cv_lib_bsd_gethostbyname = yes; then
 
13318
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
 
13319
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
 
13320
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then
20802
13321
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20803
13322
fi
20804
13323
 
20812
13331
    # variants that don't use the name server (or something).  -lsocket
20813
13332
    # must be given before -lnsl if both are needed.  We assume that
20814
13333
    # if connect needs -lnsl, so does gethostbyname.
20815
 
    echo "$as_me:$LINENO: checking for connect" >&5
20816
 
echo $ECHO_N "checking for connect... $ECHO_C" >&6
 
13334
    { $as_echo "$as_me:$LINENO: checking for connect" >&5
 
13335
$as_echo_n "checking for connect... " >&6; }
20817
13336
if test "${ac_cv_func_connect+set}" = set; then
20818
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13337
  $as_echo_n "(cached) " >&6
20819
13338
else
20820
13339
  cat >conftest.$ac_ext <<_ACEOF
20821
13340
/* confdefs.h.  */
20840
13359
 
20841
13360
#undef connect
20842
13361
 
20843
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13362
/* Override any GCC internal prototype to avoid an error.
 
13363
   Use char because int might match the return type of a GCC
 
13364
   builtin and then its argument prototype would still apply.  */
20844
13365
#ifdef __cplusplus
20845
13366
extern "C"
20846
 
{
20847
13367
#endif
20848
 
/* We use char because int might match the return type of a gcc2
20849
 
   builtin and then its argument prototype would still apply.  */
20850
13368
char connect ();
20851
13369
/* The GNU C library defines this for functions which it implements
20852
13370
    to always fail with ENOSYS.  Some functions are actually named
20853
13371
    something starting with __ and the normal name is an alias.  */
20854
 
#if defined (__stub_connect) || defined (__stub___connect)
 
13372
#if defined __stub_connect || defined __stub___connect
20855
13373
choke me
20856
 
#else
20857
 
char (*f) () = connect;
20858
 
#endif
20859
 
#ifdef __cplusplus
20860
 
}
20861
13374
#endif
20862
13375
 
20863
13376
int
20864
13377
main ()
20865
13378
{
20866
 
return f != connect;
 
13379
return connect ();
20867
13380
  ;
20868
13381
  return 0;
20869
13382
}
20870
13383
_ACEOF
20871
13384
rm -f conftest.$ac_objext conftest$ac_exeext
20872
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20873
 
  (eval $ac_link) 2>conftest.er1
 
13385
if { (ac_try="$ac_link"
 
13386
case "(($ac_try" in
 
13387
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13388
  *) ac_try_echo=$ac_try;;
 
13389
esac
 
13390
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13391
$as_echo "$ac_try_echo") >&5
 
13392
  (eval "$ac_link") 2>conftest.er1
20874
13393
  ac_status=$?
20875
13394
  grep -v '^ *+' conftest.er1 >conftest.err
20876
13395
  rm -f conftest.er1
20877
13396
  cat conftest.err >&5
20878
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879
 
  (exit $ac_status); } &&
20880
 
         { ac_try='test -z "$ac_c_werror_flag"
20881
 
                         || test ! -s conftest.err'
20882
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20883
 
  (eval $ac_try) 2>&5
20884
 
  ac_status=$?
20885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886
 
  (exit $ac_status); }; } &&
20887
 
         { ac_try='test -s conftest$ac_exeext'
20888
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20889
 
  (eval $ac_try) 2>&5
20890
 
  ac_status=$?
20891
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892
 
  (exit $ac_status); }; }; then
 
13397
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13398
  (exit $ac_status); } && {
 
13399
         test -z "$ac_c_werror_flag" ||
 
13400
         test ! -s conftest.err
 
13401
       } && test -s conftest$ac_exeext && {
 
13402
         test "$cross_compiling" = yes ||
 
13403
         $as_test_x conftest$ac_exeext
 
13404
       }; then
20893
13405
  ac_cv_func_connect=yes
20894
13406
else
20895
 
  echo "$as_me: failed program was:" >&5
 
13407
  $as_echo "$as_me: failed program was:" >&5
20896
13408
sed 's/^/| /' conftest.$ac_ext >&5
20897
13409
 
20898
 
ac_cv_func_connect=no
 
13410
        ac_cv_func_connect=no
20899
13411
fi
20900
 
rm -f conftest.err conftest.$ac_objext \
 
13412
 
 
13413
rm -rf conftest.dSYM
 
13414
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20901
13415
      conftest$ac_exeext conftest.$ac_ext
20902
13416
fi
20903
 
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20904
 
echo "${ECHO_T}$ac_cv_func_connect" >&6
 
13417
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
 
13418
$as_echo "$ac_cv_func_connect" >&6; }
20905
13419
 
20906
13420
    if test $ac_cv_func_connect = no; then
20907
 
      echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20908
 
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
 
13421
      { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
 
13422
$as_echo_n "checking for connect in -lsocket... " >&6; }
20909
13423
if test "${ac_cv_lib_socket_connect+set}" = set; then
20910
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13424
  $as_echo_n "(cached) " >&6
20911
13425
else
20912
13426
  ac_check_lib_save_LIBS=$LIBS
20913
13427
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20918
13432
cat >>conftest.$ac_ext <<_ACEOF
20919
13433
/* end confdefs.h.  */
20920
13434
 
20921
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13435
/* Override any GCC internal prototype to avoid an error.
 
13436
   Use char because int might match the return type of a GCC
 
13437
   builtin and then its argument prototype would still apply.  */
20922
13438
#ifdef __cplusplus
20923
13439
extern "C"
20924
13440
#endif
20925
 
/* We use char because int might match the return type of a gcc2
20926
 
   builtin and then its argument prototype would still apply.  */
20927
13441
char connect ();
20928
13442
int
20929
13443
main ()
20930
13444
{
20931
 
connect ();
 
13445
return connect ();
20932
13446
  ;
20933
13447
  return 0;
20934
13448
}
20935
13449
_ACEOF
20936
13450
rm -f conftest.$ac_objext conftest$ac_exeext
20937
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20938
 
  (eval $ac_link) 2>conftest.er1
 
13451
if { (ac_try="$ac_link"
 
13452
case "(($ac_try" in
 
13453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13454
  *) ac_try_echo=$ac_try;;
 
13455
esac
 
13456
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13457
$as_echo "$ac_try_echo") >&5
 
13458
  (eval "$ac_link") 2>conftest.er1
20939
13459
  ac_status=$?
20940
13460
  grep -v '^ *+' conftest.er1 >conftest.err
20941
13461
  rm -f conftest.er1
20942
13462
  cat conftest.err >&5
20943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944
 
  (exit $ac_status); } &&
20945
 
         { ac_try='test -z "$ac_c_werror_flag"
20946
 
                         || test ! -s conftest.err'
20947
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20948
 
  (eval $ac_try) 2>&5
20949
 
  ac_status=$?
20950
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951
 
  (exit $ac_status); }; } &&
20952
 
         { ac_try='test -s conftest$ac_exeext'
20953
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954
 
  (eval $ac_try) 2>&5
20955
 
  ac_status=$?
20956
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957
 
  (exit $ac_status); }; }; then
 
13463
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13464
  (exit $ac_status); } && {
 
13465
         test -z "$ac_c_werror_flag" ||
 
13466
         test ! -s conftest.err
 
13467
       } && test -s conftest$ac_exeext && {
 
13468
         test "$cross_compiling" = yes ||
 
13469
         $as_test_x conftest$ac_exeext
 
13470
       }; then
20958
13471
  ac_cv_lib_socket_connect=yes
20959
13472
else
20960
 
  echo "$as_me: failed program was:" >&5
 
13473
  $as_echo "$as_me: failed program was:" >&5
20961
13474
sed 's/^/| /' conftest.$ac_ext >&5
20962
13475
 
20963
 
ac_cv_lib_socket_connect=no
 
13476
        ac_cv_lib_socket_connect=no
20964
13477
fi
20965
 
rm -f conftest.err conftest.$ac_objext \
 
13478
 
 
13479
rm -rf conftest.dSYM
 
13480
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20966
13481
      conftest$ac_exeext conftest.$ac_ext
20967
13482
LIBS=$ac_check_lib_save_LIBS
20968
13483
fi
20969
 
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20970
 
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20971
 
if test $ac_cv_lib_socket_connect = yes; then
 
13484
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
 
13485
$as_echo "$ac_cv_lib_socket_connect" >&6; }
 
13486
if test "x$ac_cv_lib_socket_connect" = x""yes; then
20972
13487
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20973
13488
fi
20974
13489
 
20975
13490
    fi
20976
13491
 
20977
13492
    # Guillermo Gomez says -lposix is necessary on A/UX.
20978
 
    echo "$as_me:$LINENO: checking for remove" >&5
20979
 
echo $ECHO_N "checking for remove... $ECHO_C" >&6
 
13493
    { $as_echo "$as_me:$LINENO: checking for remove" >&5
 
13494
$as_echo_n "checking for remove... " >&6; }
20980
13495
if test "${ac_cv_func_remove+set}" = set; then
20981
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13496
  $as_echo_n "(cached) " >&6
20982
13497
else
20983
13498
  cat >conftest.$ac_ext <<_ACEOF
20984
13499
/* confdefs.h.  */
21003
13518
 
21004
13519
#undef remove
21005
13520
 
21006
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13521
/* Override any GCC internal prototype to avoid an error.
 
13522
   Use char because int might match the return type of a GCC
 
13523
   builtin and then its argument prototype would still apply.  */
21007
13524
#ifdef __cplusplus
21008
13525
extern "C"
21009
 
{
21010
13526
#endif
21011
 
/* We use char because int might match the return type of a gcc2
21012
 
   builtin and then its argument prototype would still apply.  */
21013
13527
char remove ();
21014
13528
/* The GNU C library defines this for functions which it implements
21015
13529
    to always fail with ENOSYS.  Some functions are actually named
21016
13530
    something starting with __ and the normal name is an alias.  */
21017
 
#if defined (__stub_remove) || defined (__stub___remove)
 
13531
#if defined __stub_remove || defined __stub___remove
21018
13532
choke me
21019
 
#else
21020
 
char (*f) () = remove;
21021
 
#endif
21022
 
#ifdef __cplusplus
21023
 
}
21024
13533
#endif
21025
13534
 
21026
13535
int
21027
13536
main ()
21028
13537
{
21029
 
return f != remove;
 
13538
return remove ();
21030
13539
  ;
21031
13540
  return 0;
21032
13541
}
21033
13542
_ACEOF
21034
13543
rm -f conftest.$ac_objext conftest$ac_exeext
21035
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21036
 
  (eval $ac_link) 2>conftest.er1
 
13544
if { (ac_try="$ac_link"
 
13545
case "(($ac_try" in
 
13546
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13547
  *) ac_try_echo=$ac_try;;
 
13548
esac
 
13549
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13550
$as_echo "$ac_try_echo") >&5
 
13551
  (eval "$ac_link") 2>conftest.er1
21037
13552
  ac_status=$?
21038
13553
  grep -v '^ *+' conftest.er1 >conftest.err
21039
13554
  rm -f conftest.er1
21040
13555
  cat conftest.err >&5
21041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042
 
  (exit $ac_status); } &&
21043
 
         { ac_try='test -z "$ac_c_werror_flag"
21044
 
                         || test ! -s conftest.err'
21045
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21046
 
  (eval $ac_try) 2>&5
21047
 
  ac_status=$?
21048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049
 
  (exit $ac_status); }; } &&
21050
 
         { ac_try='test -s conftest$ac_exeext'
21051
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052
 
  (eval $ac_try) 2>&5
21053
 
  ac_status=$?
21054
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055
 
  (exit $ac_status); }; }; then
 
13556
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13557
  (exit $ac_status); } && {
 
13558
         test -z "$ac_c_werror_flag" ||
 
13559
         test ! -s conftest.err
 
13560
       } && test -s conftest$ac_exeext && {
 
13561
         test "$cross_compiling" = yes ||
 
13562
         $as_test_x conftest$ac_exeext
 
13563
       }; then
21056
13564
  ac_cv_func_remove=yes
21057
13565
else
21058
 
  echo "$as_me: failed program was:" >&5
 
13566
  $as_echo "$as_me: failed program was:" >&5
21059
13567
sed 's/^/| /' conftest.$ac_ext >&5
21060
13568
 
21061
 
ac_cv_func_remove=no
 
13569
        ac_cv_func_remove=no
21062
13570
fi
21063
 
rm -f conftest.err conftest.$ac_objext \
 
13571
 
 
13572
rm -rf conftest.dSYM
 
13573
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21064
13574
      conftest$ac_exeext conftest.$ac_ext
21065
13575
fi
21066
 
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21067
 
echo "${ECHO_T}$ac_cv_func_remove" >&6
 
13576
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
 
13577
$as_echo "$ac_cv_func_remove" >&6; }
21068
13578
 
21069
13579
    if test $ac_cv_func_remove = no; then
21070
 
      echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21071
 
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
 
13580
      { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
 
13581
$as_echo_n "checking for remove in -lposix... " >&6; }
21072
13582
if test "${ac_cv_lib_posix_remove+set}" = set; then
21073
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13583
  $as_echo_n "(cached) " >&6
21074
13584
else
21075
13585
  ac_check_lib_save_LIBS=$LIBS
21076
13586
LIBS="-lposix  $LIBS"
21081
13591
cat >>conftest.$ac_ext <<_ACEOF
21082
13592
/* end confdefs.h.  */
21083
13593
 
21084
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13594
/* Override any GCC internal prototype to avoid an error.
 
13595
   Use char because int might match the return type of a GCC
 
13596
   builtin and then its argument prototype would still apply.  */
21085
13597
#ifdef __cplusplus
21086
13598
extern "C"
21087
13599
#endif
21088
 
/* We use char because int might match the return type of a gcc2
21089
 
   builtin and then its argument prototype would still apply.  */
21090
13600
char remove ();
21091
13601
int
21092
13602
main ()
21093
13603
{
21094
 
remove ();
 
13604
return remove ();
21095
13605
  ;
21096
13606
  return 0;
21097
13607
}
21098
13608
_ACEOF
21099
13609
rm -f conftest.$ac_objext conftest$ac_exeext
21100
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21101
 
  (eval $ac_link) 2>conftest.er1
 
13610
if { (ac_try="$ac_link"
 
13611
case "(($ac_try" in
 
13612
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13613
  *) ac_try_echo=$ac_try;;
 
13614
esac
 
13615
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13616
$as_echo "$ac_try_echo") >&5
 
13617
  (eval "$ac_link") 2>conftest.er1
21102
13618
  ac_status=$?
21103
13619
  grep -v '^ *+' conftest.er1 >conftest.err
21104
13620
  rm -f conftest.er1
21105
13621
  cat conftest.err >&5
21106
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107
 
  (exit $ac_status); } &&
21108
 
         { ac_try='test -z "$ac_c_werror_flag"
21109
 
                         || test ! -s conftest.err'
21110
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111
 
  (eval $ac_try) 2>&5
21112
 
  ac_status=$?
21113
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114
 
  (exit $ac_status); }; } &&
21115
 
         { ac_try='test -s conftest$ac_exeext'
21116
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21117
 
  (eval $ac_try) 2>&5
21118
 
  ac_status=$?
21119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120
 
  (exit $ac_status); }; }; then
 
13622
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13623
  (exit $ac_status); } && {
 
13624
         test -z "$ac_c_werror_flag" ||
 
13625
         test ! -s conftest.err
 
13626
       } && test -s conftest$ac_exeext && {
 
13627
         test "$cross_compiling" = yes ||
 
13628
         $as_test_x conftest$ac_exeext
 
13629
       }; then
21121
13630
  ac_cv_lib_posix_remove=yes
21122
13631
else
21123
 
  echo "$as_me: failed program was:" >&5
 
13632
  $as_echo "$as_me: failed program was:" >&5
21124
13633
sed 's/^/| /' conftest.$ac_ext >&5
21125
13634
 
21126
 
ac_cv_lib_posix_remove=no
 
13635
        ac_cv_lib_posix_remove=no
21127
13636
fi
21128
 
rm -f conftest.err conftest.$ac_objext \
 
13637
 
 
13638
rm -rf conftest.dSYM
 
13639
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21129
13640
      conftest$ac_exeext conftest.$ac_ext
21130
13641
LIBS=$ac_check_lib_save_LIBS
21131
13642
fi
21132
 
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
21133
 
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
21134
 
if test $ac_cv_lib_posix_remove = yes; then
 
13643
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
 
13644
$as_echo "$ac_cv_lib_posix_remove" >&6; }
 
13645
if test "x$ac_cv_lib_posix_remove" = x""yes; then
21135
13646
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
21136
13647
fi
21137
13648
 
21138
13649
    fi
21139
13650
 
21140
13651
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
21141
 
    echo "$as_me:$LINENO: checking for shmat" >&5
21142
 
echo $ECHO_N "checking for shmat... $ECHO_C" >&6
 
13652
    { $as_echo "$as_me:$LINENO: checking for shmat" >&5
 
13653
$as_echo_n "checking for shmat... " >&6; }
21143
13654
if test "${ac_cv_func_shmat+set}" = set; then
21144
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13655
  $as_echo_n "(cached) " >&6
21145
13656
else
21146
13657
  cat >conftest.$ac_ext <<_ACEOF
21147
13658
/* confdefs.h.  */
21166
13677
 
21167
13678
#undef shmat
21168
13679
 
21169
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13680
/* Override any GCC internal prototype to avoid an error.
 
13681
   Use char because int might match the return type of a GCC
 
13682
   builtin and then its argument prototype would still apply.  */
21170
13683
#ifdef __cplusplus
21171
13684
extern "C"
21172
 
{
21173
13685
#endif
21174
 
/* We use char because int might match the return type of a gcc2
21175
 
   builtin and then its argument prototype would still apply.  */
21176
13686
char shmat ();
21177
13687
/* The GNU C library defines this for functions which it implements
21178
13688
    to always fail with ENOSYS.  Some functions are actually named
21179
13689
    something starting with __ and the normal name is an alias.  */
21180
 
#if defined (__stub_shmat) || defined (__stub___shmat)
 
13690
#if defined __stub_shmat || defined __stub___shmat
21181
13691
choke me
21182
 
#else
21183
 
char (*f) () = shmat;
21184
 
#endif
21185
 
#ifdef __cplusplus
21186
 
}
21187
13692
#endif
21188
13693
 
21189
13694
int
21190
13695
main ()
21191
13696
{
21192
 
return f != shmat;
 
13697
return shmat ();
21193
13698
  ;
21194
13699
  return 0;
21195
13700
}
21196
13701
_ACEOF
21197
13702
rm -f conftest.$ac_objext conftest$ac_exeext
21198
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21199
 
  (eval $ac_link) 2>conftest.er1
 
13703
if { (ac_try="$ac_link"
 
13704
case "(($ac_try" in
 
13705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13706
  *) ac_try_echo=$ac_try;;
 
13707
esac
 
13708
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13709
$as_echo "$ac_try_echo") >&5
 
13710
  (eval "$ac_link") 2>conftest.er1
21200
13711
  ac_status=$?
21201
13712
  grep -v '^ *+' conftest.er1 >conftest.err
21202
13713
  rm -f conftest.er1
21203
13714
  cat conftest.err >&5
21204
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205
 
  (exit $ac_status); } &&
21206
 
         { ac_try='test -z "$ac_c_werror_flag"
21207
 
                         || test ! -s conftest.err'
21208
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21209
 
  (eval $ac_try) 2>&5
21210
 
  ac_status=$?
21211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212
 
  (exit $ac_status); }; } &&
21213
 
         { ac_try='test -s conftest$ac_exeext'
21214
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215
 
  (eval $ac_try) 2>&5
21216
 
  ac_status=$?
21217
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218
 
  (exit $ac_status); }; }; then
 
13715
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13716
  (exit $ac_status); } && {
 
13717
         test -z "$ac_c_werror_flag" ||
 
13718
         test ! -s conftest.err
 
13719
       } && test -s conftest$ac_exeext && {
 
13720
         test "$cross_compiling" = yes ||
 
13721
         $as_test_x conftest$ac_exeext
 
13722
       }; then
21219
13723
  ac_cv_func_shmat=yes
21220
13724
else
21221
 
  echo "$as_me: failed program was:" >&5
 
13725
  $as_echo "$as_me: failed program was:" >&5
21222
13726
sed 's/^/| /' conftest.$ac_ext >&5
21223
13727
 
21224
 
ac_cv_func_shmat=no
 
13728
        ac_cv_func_shmat=no
21225
13729
fi
21226
 
rm -f conftest.err conftest.$ac_objext \
 
13730
 
 
13731
rm -rf conftest.dSYM
 
13732
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21227
13733
      conftest$ac_exeext conftest.$ac_ext
21228
13734
fi
21229
 
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
21230
 
echo "${ECHO_T}$ac_cv_func_shmat" >&6
 
13735
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
 
13736
$as_echo "$ac_cv_func_shmat" >&6; }
21231
13737
 
21232
13738
    if test $ac_cv_func_shmat = no; then
21233
 
      echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
21234
 
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
 
13739
      { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
 
13740
$as_echo_n "checking for shmat in -lipc... " >&6; }
21235
13741
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
21236
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13742
  $as_echo_n "(cached) " >&6
21237
13743
else
21238
13744
  ac_check_lib_save_LIBS=$LIBS
21239
13745
LIBS="-lipc  $LIBS"
21244
13750
cat >>conftest.$ac_ext <<_ACEOF
21245
13751
/* end confdefs.h.  */
21246
13752
 
21247
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13753
/* Override any GCC internal prototype to avoid an error.
 
13754
   Use char because int might match the return type of a GCC
 
13755
   builtin and then its argument prototype would still apply.  */
21248
13756
#ifdef __cplusplus
21249
13757
extern "C"
21250
13758
#endif
21251
 
/* We use char because int might match the return type of a gcc2
21252
 
   builtin and then its argument prototype would still apply.  */
21253
13759
char shmat ();
21254
13760
int
21255
13761
main ()
21256
13762
{
21257
 
shmat ();
 
13763
return shmat ();
21258
13764
  ;
21259
13765
  return 0;
21260
13766
}
21261
13767
_ACEOF
21262
13768
rm -f conftest.$ac_objext conftest$ac_exeext
21263
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21264
 
  (eval $ac_link) 2>conftest.er1
 
13769
if { (ac_try="$ac_link"
 
13770
case "(($ac_try" in
 
13771
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13772
  *) ac_try_echo=$ac_try;;
 
13773
esac
 
13774
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13775
$as_echo "$ac_try_echo") >&5
 
13776
  (eval "$ac_link") 2>conftest.er1
21265
13777
  ac_status=$?
21266
13778
  grep -v '^ *+' conftest.er1 >conftest.err
21267
13779
  rm -f conftest.er1
21268
13780
  cat conftest.err >&5
21269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270
 
  (exit $ac_status); } &&
21271
 
         { ac_try='test -z "$ac_c_werror_flag"
21272
 
                         || test ! -s conftest.err'
21273
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274
 
  (eval $ac_try) 2>&5
21275
 
  ac_status=$?
21276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277
 
  (exit $ac_status); }; } &&
21278
 
         { ac_try='test -s conftest$ac_exeext'
21279
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280
 
  (eval $ac_try) 2>&5
21281
 
  ac_status=$?
21282
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283
 
  (exit $ac_status); }; }; then
 
13781
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13782
  (exit $ac_status); } && {
 
13783
         test -z "$ac_c_werror_flag" ||
 
13784
         test ! -s conftest.err
 
13785
       } && test -s conftest$ac_exeext && {
 
13786
         test "$cross_compiling" = yes ||
 
13787
         $as_test_x conftest$ac_exeext
 
13788
       }; then
21284
13789
  ac_cv_lib_ipc_shmat=yes
21285
13790
else
21286
 
  echo "$as_me: failed program was:" >&5
 
13791
  $as_echo "$as_me: failed program was:" >&5
21287
13792
sed 's/^/| /' conftest.$ac_ext >&5
21288
13793
 
21289
 
ac_cv_lib_ipc_shmat=no
 
13794
        ac_cv_lib_ipc_shmat=no
21290
13795
fi
21291
 
rm -f conftest.err conftest.$ac_objext \
 
13796
 
 
13797
rm -rf conftest.dSYM
 
13798
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21292
13799
      conftest$ac_exeext conftest.$ac_ext
21293
13800
LIBS=$ac_check_lib_save_LIBS
21294
13801
fi
21295
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
21296
 
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
21297
 
if test $ac_cv_lib_ipc_shmat = yes; then
 
13802
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
 
13803
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
 
13804
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then
21298
13805
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
21299
13806
fi
21300
13807
 
21310
13817
  # These have to be linked with before -lX11, unlike the other
21311
13818
  # libraries we check for below, so use a different variable.
21312
13819
  # John Interrante, Karl Berry
21313
 
  echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
21314
 
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
 
13820
  { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
 
13821
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
21315
13822
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
21316
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13823
  $as_echo_n "(cached) " >&6
21317
13824
else
21318
13825
  ac_check_lib_save_LIBS=$LIBS
21319
13826
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
21324
13831
cat >>conftest.$ac_ext <<_ACEOF
21325
13832
/* end confdefs.h.  */
21326
13833
 
21327
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
13834
/* Override any GCC internal prototype to avoid an error.
 
13835
   Use char because int might match the return type of a GCC
 
13836
   builtin and then its argument prototype would still apply.  */
21328
13837
#ifdef __cplusplus
21329
13838
extern "C"
21330
13839
#endif
21331
 
/* We use char because int might match the return type of a gcc2
21332
 
   builtin and then its argument prototype would still apply.  */
21333
13840
char IceConnectionNumber ();
21334
13841
int
21335
13842
main ()
21336
13843
{
21337
 
IceConnectionNumber ();
 
13844
return IceConnectionNumber ();
21338
13845
  ;
21339
13846
  return 0;
21340
13847
}
21341
13848
_ACEOF
21342
13849
rm -f conftest.$ac_objext conftest$ac_exeext
21343
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21344
 
  (eval $ac_link) 2>conftest.er1
 
13850
if { (ac_try="$ac_link"
 
13851
case "(($ac_try" in
 
13852
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13853
  *) ac_try_echo=$ac_try;;
 
13854
esac
 
13855
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13856
$as_echo "$ac_try_echo") >&5
 
13857
  (eval "$ac_link") 2>conftest.er1
21345
13858
  ac_status=$?
21346
13859
  grep -v '^ *+' conftest.er1 >conftest.err
21347
13860
  rm -f conftest.er1
21348
13861
  cat conftest.err >&5
21349
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350
 
  (exit $ac_status); } &&
21351
 
         { ac_try='test -z "$ac_c_werror_flag"
21352
 
                         || test ! -s conftest.err'
21353
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21354
 
  (eval $ac_try) 2>&5
21355
 
  ac_status=$?
21356
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357
 
  (exit $ac_status); }; } &&
21358
 
         { ac_try='test -s conftest$ac_exeext'
21359
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360
 
  (eval $ac_try) 2>&5
21361
 
  ac_status=$?
21362
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363
 
  (exit $ac_status); }; }; then
 
13862
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13863
  (exit $ac_status); } && {
 
13864
         test -z "$ac_c_werror_flag" ||
 
13865
         test ! -s conftest.err
 
13866
       } && test -s conftest$ac_exeext && {
 
13867
         test "$cross_compiling" = yes ||
 
13868
         $as_test_x conftest$ac_exeext
 
13869
       }; then
21364
13870
  ac_cv_lib_ICE_IceConnectionNumber=yes
21365
13871
else
21366
 
  echo "$as_me: failed program was:" >&5
 
13872
  $as_echo "$as_me: failed program was:" >&5
21367
13873
sed 's/^/| /' conftest.$ac_ext >&5
21368
13874
 
21369
 
ac_cv_lib_ICE_IceConnectionNumber=no
 
13875
        ac_cv_lib_ICE_IceConnectionNumber=no
21370
13876
fi
21371
 
rm -f conftest.err conftest.$ac_objext \
 
13877
 
 
13878
rm -rf conftest.dSYM
 
13879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21372
13880
      conftest$ac_exeext conftest.$ac_ext
21373
13881
LIBS=$ac_check_lib_save_LIBS
21374
13882
fi
21375
 
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
21376
 
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
21377
 
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
 
13883
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
 
13884
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
 
13885
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
21378
13886
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
21379
13887
fi
21380
13888
 
21383
13891
fi
21384
13892
 
21385
13893
 
21386
 
echo "$as_me:$LINENO: checking whether libXt was compiled with -DXTHREADS" >&5
21387
 
echo $ECHO_N "checking whether libXt was compiled with -DXTHREADS... $ECHO_C" >&6
 
13894
{ $as_echo "$as_me:$LINENO: checking whether libXt was compiled with -DXTHREADS" >&5
 
13895
$as_echo_n "checking whether libXt was compiled with -DXTHREADS... " >&6; }
21388
13896
if test "${lt_cv_xthreads+set}" = set; then
21389
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13897
  $as_echo_n "(cached) " >&6
21390
13898
else
21391
13899
  lt_save_CFLAGS="$CFLAGS"
21392
13900
lt_save_CPPFLAGS="$CPPFLAGS"
21416
13924
 
21417
13925
_ACEOF
21418
13926
rm -f conftest$ac_exeext
21419
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21420
 
  (eval $ac_link) 2>&5
 
13927
if { (ac_try="$ac_link"
 
13928
case "(($ac_try" in
 
13929
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13930
  *) ac_try_echo=$ac_try;;
 
13931
esac
 
13932
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13933
$as_echo "$ac_try_echo") >&5
 
13934
  (eval "$ac_link") 2>&5
21421
13935
  ac_status=$?
21422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13936
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423
13937
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21424
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21425
 
  (eval $ac_try) 2>&5
 
13938
  { (case "(($ac_try" in
 
13939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
13940
  *) ac_try_echo=$ac_try;;
 
13941
esac
 
13942
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13943
$as_echo "$ac_try_echo") >&5
 
13944
  (eval "$ac_try") 2>&5
21426
13945
  ac_status=$?
21427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13946
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428
13947
  (exit $ac_status); }; }; then
21429
13948
  lt_cv_xthreads=yes
21430
13949
else
21431
 
  echo "$as_me: program exited with status $ac_status" >&5
21432
 
echo "$as_me: failed program was:" >&5
 
13950
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
13951
$as_echo "$as_me: failed program was:" >&5
21433
13952
sed 's/^/| /' conftest.$ac_ext >&5
21434
13953
 
21435
13954
( exit $ac_status )
21436
13955
lt_cv_xthreads=no
21437
13956
fi
21438
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
13957
rm -rf conftest.dSYM
 
13958
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21439
13959
fi
 
13960
 
 
13961
 
21440
13962
CFLAGS="$lt_save_CFLAGS"
21441
13963
CPPFLAGS="$lt_save_CPPFLAGS"
21442
13964
LIBS="$lt_save_LIBS"
21443
13965
 
21444
13966
fi
21445
 
echo "$as_me:$LINENO: result: $lt_cv_xthreads" >&5
21446
 
echo "${ECHO_T}$lt_cv_xthreads" >&6
 
13967
{ $as_echo "$as_me:$LINENO: result: $lt_cv_xthreads" >&5
 
13968
$as_echo "$lt_cv_xthreads" >&6; }
21447
13969
if test $lt_cv_xthreads = dunno; then
21448
 
  { echo "$as_me:$LINENO: WARNING: Can't check for XTHREADS if cross-compiling. Assume XTHREADS" >&5
21449
 
echo "$as_me: WARNING: Can't check for XTHREADS if cross-compiling. Assume XTHREADS" >&2;}
 
13970
  { $as_echo "$as_me:$LINENO: WARNING: Can't check for XTHREADS if cross-compiling. Assume XTHREADS" >&5
 
13971
$as_echo "$as_me: WARNING: Can't check for XTHREADS if cross-compiling. Assume XTHREADS" >&2;}
21450
13972
 
21451
13973
cat >>confdefs.h <<\_ACEOF
21452
13974
#define XTHREADS 1
21476
13998
 
21477
13999
for ac_header in X11/Xos_r.h
21478
14000
do
21479
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21480
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21481
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21482
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21483
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21484
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14001
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14002
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14003
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
14004
$as_echo_n "checking for $ac_header... " >&6; }
 
14005
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14006
  $as_echo_n "(cached) " >&6
21485
14007
fi
21486
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21487
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
14008
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
14009
                 $as_echo "$as_val"'`
 
14010
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
14011
$as_echo "$ac_res" >&6; }
21488
14012
else
21489
14013
  # Is the header compilable?
21490
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21491
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
14014
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
14015
$as_echo_n "checking $ac_header usability... " >&6; }
21492
14016
cat >conftest.$ac_ext <<_ACEOF
21493
14017
/* confdefs.h.  */
21494
14018
_ACEOF
21499
14023
#include <$ac_header>
21500
14024
_ACEOF
21501
14025
rm -f conftest.$ac_objext
21502
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21503
 
  (eval $ac_compile) 2>conftest.er1
 
14026
if { (ac_try="$ac_compile"
 
14027
case "(($ac_try" in
 
14028
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14029
  *) ac_try_echo=$ac_try;;
 
14030
esac
 
14031
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14032
$as_echo "$ac_try_echo") >&5
 
14033
  (eval "$ac_compile") 2>conftest.er1
21504
14034
  ac_status=$?
21505
14035
  grep -v '^ *+' conftest.er1 >conftest.err
21506
14036
  rm -f conftest.er1
21507
14037
  cat conftest.err >&5
21508
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509
 
  (exit $ac_status); } &&
21510
 
         { ac_try='test -z "$ac_c_werror_flag"
21511
 
                         || test ! -s conftest.err'
21512
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513
 
  (eval $ac_try) 2>&5
21514
 
  ac_status=$?
21515
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516
 
  (exit $ac_status); }; } &&
21517
 
         { ac_try='test -s conftest.$ac_objext'
21518
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519
 
  (eval $ac_try) 2>&5
21520
 
  ac_status=$?
21521
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522
 
  (exit $ac_status); }; }; then
 
14038
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14039
  (exit $ac_status); } && {
 
14040
         test -z "$ac_c_werror_flag" ||
 
14041
         test ! -s conftest.err
 
14042
       } && test -s conftest.$ac_objext; then
21523
14043
  ac_header_compiler=yes
21524
14044
else
21525
 
  echo "$as_me: failed program was:" >&5
 
14045
  $as_echo "$as_me: failed program was:" >&5
21526
14046
sed 's/^/| /' conftest.$ac_ext >&5
21527
14047
 
21528
 
ac_header_compiler=no
 
14048
        ac_header_compiler=no
21529
14049
fi
21530
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21531
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21532
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
14050
 
 
14051
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14052
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
14053
$as_echo "$ac_header_compiler" >&6; }
21533
14054
 
21534
14055
# Is the header present?
21535
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21536
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
14056
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
14057
$as_echo_n "checking $ac_header presence... " >&6; }
21537
14058
cat >conftest.$ac_ext <<_ACEOF
21538
14059
/* confdefs.h.  */
21539
14060
_ACEOF
21542
14063
/* end confdefs.h.  */
21543
14064
#include <$ac_header>
21544
14065
_ACEOF
21545
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21546
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
14066
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
14067
case "(($ac_try" in
 
14068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14069
  *) ac_try_echo=$ac_try;;
 
14070
esac
 
14071
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14072
$as_echo "$ac_try_echo") >&5
 
14073
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21547
14074
  ac_status=$?
21548
14075
  grep -v '^ *+' conftest.er1 >conftest.err
21549
14076
  rm -f conftest.er1
21550
14077
  cat conftest.err >&5
21551
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552
 
  (exit $ac_status); } >/dev/null; then
21553
 
  if test -s conftest.err; then
21554
 
    ac_cpp_err=$ac_c_preproc_warn_flag
21555
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21556
 
  else
21557
 
    ac_cpp_err=
21558
 
  fi
21559
 
else
21560
 
  ac_cpp_err=yes
21561
 
fi
21562
 
if test -z "$ac_cpp_err"; then
 
14078
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14079
  (exit $ac_status); } >/dev/null && {
 
14080
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
14081
         test ! -s conftest.err
 
14082
       }; then
21563
14083
  ac_header_preproc=yes
21564
14084
else
21565
 
  echo "$as_me: failed program was:" >&5
 
14085
  $as_echo "$as_me: failed program was:" >&5
21566
14086
sed 's/^/| /' conftest.$ac_ext >&5
21567
14087
 
21568
14088
  ac_header_preproc=no
21569
14089
fi
 
14090
 
21570
14091
rm -f conftest.err conftest.$ac_ext
21571
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21572
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
14092
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
14093
$as_echo "$ac_header_preproc" >&6; }
21573
14094
 
21574
14095
# So?  What about this header?
21575
14096
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21576
14097
  yes:no: )
21577
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21578
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21579
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21580
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
14098
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
14099
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
14100
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
14101
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21581
14102
    ac_header_preproc=yes
21582
14103
    ;;
21583
14104
  no:yes:* )
21584
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21585
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21586
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21587
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21588
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21589
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21590
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21591
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21592
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21593
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21594
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21595
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21596
 
    (
21597
 
      cat <<\_ASBOX
21598
 
## ------------------------------------------ ##
21599
 
## Report this to the AC_PACKAGE_NAME lists.  ##
21600
 
## ------------------------------------------ ##
21601
 
_ASBOX
21602
 
    ) |
21603
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
14105
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
14106
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
14107
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
14108
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
14109
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
14110
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
14111
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
14112
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
14113
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
14114
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
14115
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
14116
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
14117
 
21604
14118
    ;;
21605
14119
esac
21606
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21607
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21608
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21609
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14120
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
14121
$as_echo_n "checking for $ac_header... " >&6; }
 
14122
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14123
  $as_echo_n "(cached) " >&6
21610
14124
else
21611
14125
  eval "$as_ac_Header=\$ac_header_preproc"
21612
14126
fi
21613
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21614
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
14127
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
14128
                 $as_echo "$as_val"'`
 
14129
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
14130
$as_echo "$ac_res" >&6; }
21615
14131
 
21616
14132
fi
21617
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
14133
as_val=`eval 'as_val=${'$as_ac_Header'}
 
14134
                 $as_echo "$as_val"'`
 
14135
   if test "x$as_val" = x""yes; then
21618
14136
  cat >>confdefs.h <<_ACEOF
21619
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
14137
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21620
14138
_ACEOF
21621
14139
 
21622
14140
fi
21626
14144
 
21627
14145
for ac_header in X11/Xpoll.h
21628
14146
do
21629
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21630
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21631
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21632
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21633
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21634
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14147
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14148
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14149
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
14150
$as_echo_n "checking for $ac_header... " >&6; }
 
14151
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14152
  $as_echo_n "(cached) " >&6
21635
14153
fi
21636
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21637
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
14154
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
14155
                 $as_echo "$as_val"'`
 
14156
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
14157
$as_echo "$ac_res" >&6; }
21638
14158
else
21639
14159
  # Is the header compilable?
21640
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21641
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
14160
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
14161
$as_echo_n "checking $ac_header usability... " >&6; }
21642
14162
cat >conftest.$ac_ext <<_ACEOF
21643
14163
/* confdefs.h.  */
21644
14164
_ACEOF
21649
14169
#include <$ac_header>
21650
14170
_ACEOF
21651
14171
rm -f conftest.$ac_objext
21652
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21653
 
  (eval $ac_compile) 2>conftest.er1
 
14172
if { (ac_try="$ac_compile"
 
14173
case "(($ac_try" in
 
14174
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14175
  *) ac_try_echo=$ac_try;;
 
14176
esac
 
14177
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14178
$as_echo "$ac_try_echo") >&5
 
14179
  (eval "$ac_compile") 2>conftest.er1
21654
14180
  ac_status=$?
21655
14181
  grep -v '^ *+' conftest.er1 >conftest.err
21656
14182
  rm -f conftest.er1
21657
14183
  cat conftest.err >&5
21658
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659
 
  (exit $ac_status); } &&
21660
 
         { ac_try='test -z "$ac_c_werror_flag"
21661
 
                         || test ! -s conftest.err'
21662
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663
 
  (eval $ac_try) 2>&5
21664
 
  ac_status=$?
21665
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666
 
  (exit $ac_status); }; } &&
21667
 
         { ac_try='test -s conftest.$ac_objext'
21668
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669
 
  (eval $ac_try) 2>&5
21670
 
  ac_status=$?
21671
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672
 
  (exit $ac_status); }; }; then
 
14184
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14185
  (exit $ac_status); } && {
 
14186
         test -z "$ac_c_werror_flag" ||
 
14187
         test ! -s conftest.err
 
14188
       } && test -s conftest.$ac_objext; then
21673
14189
  ac_header_compiler=yes
21674
14190
else
21675
 
  echo "$as_me: failed program was:" >&5
 
14191
  $as_echo "$as_me: failed program was:" >&5
21676
14192
sed 's/^/| /' conftest.$ac_ext >&5
21677
14193
 
21678
 
ac_header_compiler=no
 
14194
        ac_header_compiler=no
21679
14195
fi
21680
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21681
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21682
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
14196
 
 
14197
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14198
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
14199
$as_echo "$ac_header_compiler" >&6; }
21683
14200
 
21684
14201
# Is the header present?
21685
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21686
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
14202
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
14203
$as_echo_n "checking $ac_header presence... " >&6; }
21687
14204
cat >conftest.$ac_ext <<_ACEOF
21688
14205
/* confdefs.h.  */
21689
14206
_ACEOF
21692
14209
/* end confdefs.h.  */
21693
14210
#include <$ac_header>
21694
14211
_ACEOF
21695
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21696
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
14212
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
14213
case "(($ac_try" in
 
14214
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14215
  *) ac_try_echo=$ac_try;;
 
14216
esac
 
14217
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14218
$as_echo "$ac_try_echo") >&5
 
14219
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21697
14220
  ac_status=$?
21698
14221
  grep -v '^ *+' conftest.er1 >conftest.err
21699
14222
  rm -f conftest.er1
21700
14223
  cat conftest.err >&5
21701
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702
 
  (exit $ac_status); } >/dev/null; then
21703
 
  if test -s conftest.err; then
21704
 
    ac_cpp_err=$ac_c_preproc_warn_flag
21705
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21706
 
  else
21707
 
    ac_cpp_err=
21708
 
  fi
21709
 
else
21710
 
  ac_cpp_err=yes
21711
 
fi
21712
 
if test -z "$ac_cpp_err"; then
 
14224
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14225
  (exit $ac_status); } >/dev/null && {
 
14226
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
14227
         test ! -s conftest.err
 
14228
       }; then
21713
14229
  ac_header_preproc=yes
21714
14230
else
21715
 
  echo "$as_me: failed program was:" >&5
 
14231
  $as_echo "$as_me: failed program was:" >&5
21716
14232
sed 's/^/| /' conftest.$ac_ext >&5
21717
14233
 
21718
14234
  ac_header_preproc=no
21719
14235
fi
 
14236
 
21720
14237
rm -f conftest.err conftest.$ac_ext
21721
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21722
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
14238
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
14239
$as_echo "$ac_header_preproc" >&6; }
21723
14240
 
21724
14241
# So?  What about this header?
21725
14242
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21726
14243
  yes:no: )
21727
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21728
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21729
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21730
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
14244
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
14245
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
14246
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
14247
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21731
14248
    ac_header_preproc=yes
21732
14249
    ;;
21733
14250
  no:yes:* )
21734
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21735
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21736
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21737
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21738
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21739
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21740
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21741
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21742
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21743
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21744
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21745
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21746
 
    (
21747
 
      cat <<\_ASBOX
21748
 
## ------------------------------------------ ##
21749
 
## Report this to the AC_PACKAGE_NAME lists.  ##
21750
 
## ------------------------------------------ ##
21751
 
_ASBOX
21752
 
    ) |
21753
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
14251
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
14252
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
14253
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
14254
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
14255
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
14256
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
14257
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
14258
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
14259
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
14260
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
14261
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
14262
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
14263
 
21754
14264
    ;;
21755
14265
esac
21756
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21757
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21758
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21759
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14266
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
14267
$as_echo_n "checking for $ac_header... " >&6; }
 
14268
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14269
  $as_echo_n "(cached) " >&6
21760
14270
else
21761
14271
  eval "$as_ac_Header=\$ac_header_preproc"
21762
14272
fi
21763
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21764
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
14273
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
14274
                 $as_echo "$as_val"'`
 
14275
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
14276
$as_echo "$ac_res" >&6; }
21765
14277
 
21766
14278
fi
21767
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
14279
as_val=`eval 'as_val=${'$as_ac_Header'}
 
14280
                 $as_echo "$as_val"'`
 
14281
   if test "x$as_val" = x""yes; then
21768
14282
  cat >>confdefs.h <<_ACEOF
21769
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
14283
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21770
14284
_ACEOF
21771
14285
 
21772
14286
fi
21782
14296
 
21783
14297
for ac_header in X11/Xmu/Editres.h
21784
14298
do
21785
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21786
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21787
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
21788
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21789
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21790
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
21791
 
fi
21792
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21793
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
14299
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
14300
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
14301
$as_echo_n "checking for $ac_header... " >&6; }
 
14302
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14303
  $as_echo_n "(cached) " >&6
21794
14304
else
21795
 
  # Is the header compilable?
21796
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
21797
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21798
 
cat >conftest.$ac_ext <<_ACEOF
 
14305
  cat >conftest.$ac_ext <<_ACEOF
21799
14306
/* confdefs.h.  */
21800
14307
_ACEOF
21801
14308
cat confdefs.h >>conftest.$ac_ext
21802
14309
cat >>conftest.$ac_ext <<_ACEOF
21803
14310
/* end confdefs.h.  */
21804
 
$ac_includes_default
 
14311
#include <X11/Intrinsic.h>
 
14312
 
 
14313
 
21805
14314
#include <$ac_header>
21806
14315
_ACEOF
21807
14316
rm -f conftest.$ac_objext
21808
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21809
 
  (eval $ac_compile) 2>conftest.er1
21810
 
  ac_status=$?
21811
 
  grep -v '^ *+' conftest.er1 >conftest.err
21812
 
  rm -f conftest.er1
21813
 
  cat conftest.err >&5
21814
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815
 
  (exit $ac_status); } &&
21816
 
         { ac_try='test -z "$ac_c_werror_flag"
21817
 
                         || test ! -s conftest.err'
21818
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21819
 
  (eval $ac_try) 2>&5
21820
 
  ac_status=$?
21821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822
 
  (exit $ac_status); }; } &&
21823
 
         { ac_try='test -s conftest.$ac_objext'
21824
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21825
 
  (eval $ac_try) 2>&5
21826
 
  ac_status=$?
21827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21828
 
  (exit $ac_status); }; }; then
21829
 
  ac_header_compiler=yes
21830
 
else
21831
 
  echo "$as_me: failed program was:" >&5
21832
 
sed 's/^/| /' conftest.$ac_ext >&5
21833
 
 
21834
 
ac_header_compiler=no
21835
 
fi
21836
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21837
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21838
 
echo "${ECHO_T}$ac_header_compiler" >&6
21839
 
 
21840
 
# Is the header present?
21841
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
21842
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21843
 
cat >conftest.$ac_ext <<_ACEOF
21844
 
/* confdefs.h.  */
21845
 
_ACEOF
21846
 
cat confdefs.h >>conftest.$ac_ext
21847
 
cat >>conftest.$ac_ext <<_ACEOF
21848
 
/* end confdefs.h.  */
21849
 
#include <$ac_header>
21850
 
_ACEOF
21851
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21852
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21853
 
  ac_status=$?
21854
 
  grep -v '^ *+' conftest.er1 >conftest.err
21855
 
  rm -f conftest.er1
21856
 
  cat conftest.err >&5
21857
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858
 
  (exit $ac_status); } >/dev/null; then
21859
 
  if test -s conftest.err; then
21860
 
    ac_cpp_err=$ac_c_preproc_warn_flag
21861
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21862
 
  else
21863
 
    ac_cpp_err=
21864
 
  fi
21865
 
else
21866
 
  ac_cpp_err=yes
21867
 
fi
21868
 
if test -z "$ac_cpp_err"; then
21869
 
  ac_header_preproc=yes
21870
 
else
21871
 
  echo "$as_me: failed program was:" >&5
21872
 
sed 's/^/| /' conftest.$ac_ext >&5
21873
 
 
21874
 
  ac_header_preproc=no
21875
 
fi
21876
 
rm -f conftest.err conftest.$ac_ext
21877
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21878
 
echo "${ECHO_T}$ac_header_preproc" >&6
21879
 
 
21880
 
# So?  What about this header?
21881
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21882
 
  yes:no: )
21883
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21884
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21885
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21886
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21887
 
    ac_header_preproc=yes
21888
 
    ;;
21889
 
  no:yes:* )
21890
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21891
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21892
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
21893
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
21894
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21895
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21896
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
21897
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
21898
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21899
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21900
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21901
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21902
 
    (
21903
 
      cat <<\_ASBOX
21904
 
## ------------------------------------------ ##
21905
 
## Report this to the AC_PACKAGE_NAME lists.  ##
21906
 
## ------------------------------------------ ##
21907
 
_ASBOX
21908
 
    ) |
21909
 
      sed "s/^/$as_me: WARNING:     /" >&2
21910
 
    ;;
 
14317
if { (ac_try="$ac_compile"
 
14318
case "(($ac_try" in
 
14319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14320
  *) ac_try_echo=$ac_try;;
21911
14321
esac
21912
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
21913
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21914
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
21915
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14322
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14323
$as_echo "$ac_try_echo") >&5
 
14324
  (eval "$ac_compile") 2>conftest.er1
 
14325
  ac_status=$?
 
14326
  grep -v '^ *+' conftest.er1 >conftest.err
 
14327
  rm -f conftest.er1
 
14328
  cat conftest.err >&5
 
14329
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14330
  (exit $ac_status); } && {
 
14331
         test -z "$ac_c_werror_flag" ||
 
14332
         test ! -s conftest.err
 
14333
       } && test -s conftest.$ac_objext; then
 
14334
  eval "$as_ac_Header=yes"
21916
14335
else
21917
 
  eval "$as_ac_Header=\$ac_header_preproc"
21918
 
fi
21919
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21920
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21921
 
 
21922
 
fi
21923
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
14336
  $as_echo "$as_me: failed program was:" >&5
 
14337
sed 's/^/| /' conftest.$ac_ext >&5
 
14338
 
 
14339
        eval "$as_ac_Header=no"
 
14340
fi
 
14341
 
 
14342
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14343
fi
 
14344
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
14345
                 $as_echo "$as_val"'`
 
14346
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
14347
$as_echo "$ac_res" >&6; }
 
14348
as_val=`eval 'as_val=${'$as_ac_Header'}
 
14349
                 $as_echo "$as_val"'`
 
14350
   if test "x$as_val" = x""yes; then
21924
14351
  cat >>confdefs.h <<_ACEOF
21925
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
14352
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21926
14353
_ACEOF
21927
 
 echo "$as_me:$LINENO: checking for _XEditResCheckMessages in -lXmu" >&5
21928
 
echo $ECHO_N "checking for _XEditResCheckMessages in -lXmu... $ECHO_C" >&6
 
14354
 { $as_echo "$as_me:$LINENO: checking for _XEditResCheckMessages in -lXmu" >&5
 
14355
$as_echo_n "checking for _XEditResCheckMessages in -lXmu... " >&6; }
21929
14356
if test "${ac_cv_lib_Xmu__XEditResCheckMessages+set}" = set; then
21930
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14357
  $as_echo_n "(cached) " >&6
21931
14358
else
21932
14359
  ac_check_lib_save_LIBS=$LIBS
21933
14360
LIBS="-lXmu -lXt -lX11 $LIBS"
21938
14365
cat >>conftest.$ac_ext <<_ACEOF
21939
14366
/* end confdefs.h.  */
21940
14367
 
21941
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
14368
/* Override any GCC internal prototype to avoid an error.
 
14369
   Use char because int might match the return type of a GCC
 
14370
   builtin and then its argument prototype would still apply.  */
21942
14371
#ifdef __cplusplus
21943
14372
extern "C"
21944
14373
#endif
21945
 
/* We use char because int might match the return type of a gcc2
21946
 
   builtin and then its argument prototype would still apply.  */
21947
14374
char _XEditResCheckMessages ();
21948
14375
int
21949
14376
main ()
21950
14377
{
21951
 
_XEditResCheckMessages ();
 
14378
return _XEditResCheckMessages ();
21952
14379
  ;
21953
14380
  return 0;
21954
14381
}
21955
14382
_ACEOF
21956
14383
rm -f conftest.$ac_objext conftest$ac_exeext
21957
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21958
 
  (eval $ac_link) 2>conftest.er1
 
14384
if { (ac_try="$ac_link"
 
14385
case "(($ac_try" in
 
14386
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14387
  *) ac_try_echo=$ac_try;;
 
14388
esac
 
14389
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14390
$as_echo "$ac_try_echo") >&5
 
14391
  (eval "$ac_link") 2>conftest.er1
21959
14392
  ac_status=$?
21960
14393
  grep -v '^ *+' conftest.er1 >conftest.err
21961
14394
  rm -f conftest.er1
21962
14395
  cat conftest.err >&5
21963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964
 
  (exit $ac_status); } &&
21965
 
         { ac_try='test -z "$ac_c_werror_flag"
21966
 
                         || test ! -s conftest.err'
21967
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21968
 
  (eval $ac_try) 2>&5
21969
 
  ac_status=$?
21970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971
 
  (exit $ac_status); }; } &&
21972
 
         { ac_try='test -s conftest$ac_exeext'
21973
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21974
 
  (eval $ac_try) 2>&5
21975
 
  ac_status=$?
21976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977
 
  (exit $ac_status); }; }; then
 
14396
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14397
  (exit $ac_status); } && {
 
14398
         test -z "$ac_c_werror_flag" ||
 
14399
         test ! -s conftest.err
 
14400
       } && test -s conftest$ac_exeext && {
 
14401
         test "$cross_compiling" = yes ||
 
14402
         $as_test_x conftest$ac_exeext
 
14403
       }; then
21978
14404
  ac_cv_lib_Xmu__XEditResCheckMessages=yes
21979
14405
else
21980
 
  echo "$as_me: failed program was:" >&5
 
14406
  $as_echo "$as_me: failed program was:" >&5
21981
14407
sed 's/^/| /' conftest.$ac_ext >&5
21982
14408
 
21983
 
ac_cv_lib_Xmu__XEditResCheckMessages=no
 
14409
        ac_cv_lib_Xmu__XEditResCheckMessages=no
21984
14410
fi
21985
 
rm -f conftest.err conftest.$ac_objext \
 
14411
 
 
14412
rm -rf conftest.dSYM
 
14413
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21986
14414
      conftest$ac_exeext conftest.$ac_ext
21987
14415
LIBS=$ac_check_lib_save_LIBS
21988
14416
fi
21989
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu__XEditResCheckMessages" >&5
21990
 
echo "${ECHO_T}$ac_cv_lib_Xmu__XEditResCheckMessages" >&6
21991
 
if test $ac_cv_lib_Xmu__XEditResCheckMessages = yes; then
 
14417
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu__XEditResCheckMessages" >&5
 
14418
$as_echo "$ac_cv_lib_Xmu__XEditResCheckMessages" >&6; }
 
14419
if test "x$ac_cv_lib_Xmu__XEditResCheckMessages" = x""yes; then
21992
14420
  X_XMU=-lXmu
21993
14421
 
21994
14422
cat >>confdefs.h <<\_ACEOF
22000
14428
  X_XMU=""
22001
14429
fi
22002
14430
 
22003
 
echo "$as_me:$LINENO: checking for XmuNCopyISOLatin1Lowered  in -lXmu" >&5
22004
 
echo $ECHO_N "checking for XmuNCopyISOLatin1Lowered  in -lXmu... $ECHO_C" >&6
 
14431
{ $as_echo "$as_me:$LINENO: checking for XmuNCopyISOLatin1Lowered  in -lXmu" >&5
 
14432
$as_echo_n "checking for XmuNCopyISOLatin1Lowered  in -lXmu... " >&6; }
22005
14433
if test "${ac_cv_lib_Xmu_XmuNCopyISOLatin1Lowered_+set}" = set; then
22006
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14434
  $as_echo_n "(cached) " >&6
22007
14435
else
22008
14436
  ac_check_lib_save_LIBS=$LIBS
22009
14437
LIBS="-lXmu -lXt -lX11 $LIBS"
22014
14442
cat >>conftest.$ac_ext <<_ACEOF
22015
14443
/* end confdefs.h.  */
22016
14444
 
22017
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
14445
/* Override any GCC internal prototype to avoid an error.
 
14446
   Use char because int might match the return type of a GCC
 
14447
   builtin and then its argument prototype would still apply.  */
22018
14448
#ifdef __cplusplus
22019
14449
extern "C"
22020
14450
#endif
22021
 
/* We use char because int might match the return type of a gcc2
22022
 
   builtin and then its argument prototype would still apply.  */
22023
14451
char XmuNCopyISOLatin1Lowered  ();
22024
14452
int
22025
14453
main ()
22026
14454
{
22027
 
XmuNCopyISOLatin1Lowered  ();
 
14455
return XmuNCopyISOLatin1Lowered  ();
22028
14456
  ;
22029
14457
  return 0;
22030
14458
}
22031
14459
_ACEOF
22032
14460
rm -f conftest.$ac_objext conftest$ac_exeext
22033
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22034
 
  (eval $ac_link) 2>conftest.er1
 
14461
if { (ac_try="$ac_link"
 
14462
case "(($ac_try" in
 
14463
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14464
  *) ac_try_echo=$ac_try;;
 
14465
esac
 
14466
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14467
$as_echo "$ac_try_echo") >&5
 
14468
  (eval "$ac_link") 2>conftest.er1
22035
14469
  ac_status=$?
22036
14470
  grep -v '^ *+' conftest.er1 >conftest.err
22037
14471
  rm -f conftest.er1
22038
14472
  cat conftest.err >&5
22039
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040
 
  (exit $ac_status); } &&
22041
 
         { ac_try='test -z "$ac_c_werror_flag"
22042
 
                         || test ! -s conftest.err'
22043
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22044
 
  (eval $ac_try) 2>&5
22045
 
  ac_status=$?
22046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047
 
  (exit $ac_status); }; } &&
22048
 
         { ac_try='test -s conftest$ac_exeext'
22049
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050
 
  (eval $ac_try) 2>&5
22051
 
  ac_status=$?
22052
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053
 
  (exit $ac_status); }; }; then
 
14473
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14474
  (exit $ac_status); } && {
 
14475
         test -z "$ac_c_werror_flag" ||
 
14476
         test ! -s conftest.err
 
14477
       } && test -s conftest$ac_exeext && {
 
14478
         test "$cross_compiling" = yes ||
 
14479
         $as_test_x conftest$ac_exeext
 
14480
       }; then
22054
14481
  ac_cv_lib_Xmu_XmuNCopyISOLatin1Lowered_=yes
22055
14482
else
22056
 
  echo "$as_me: failed program was:" >&5
 
14483
  $as_echo "$as_me: failed program was:" >&5
22057
14484
sed 's/^/| /' conftest.$ac_ext >&5
22058
14485
 
22059
 
ac_cv_lib_Xmu_XmuNCopyISOLatin1Lowered_=no
 
14486
        ac_cv_lib_Xmu_XmuNCopyISOLatin1Lowered_=no
22060
14487
fi
22061
 
rm -f conftest.err conftest.$ac_objext \
 
14488
 
 
14489
rm -rf conftest.dSYM
 
14490
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22062
14491
      conftest$ac_exeext conftest.$ac_ext
22063
14492
LIBS=$ac_check_lib_save_LIBS
22064
14493
fi
22065
 
echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuNCopyISOLatin1Lowered_" >&5
22066
 
echo "${ECHO_T}$ac_cv_lib_Xmu_XmuNCopyISOLatin1Lowered_" >&6
22067
 
if test $ac_cv_lib_Xmu_XmuNCopyISOLatin1Lowered_ = yes; then
 
14494
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuNCopyISOLatin1Lowered_" >&5
 
14495
$as_echo "$ac_cv_lib_Xmu_XmuNCopyISOLatin1Lowered_" >&6; }
 
14496
if test "x$ac_cv_lib_Xmu_XmuNCopyISOLatin1Lowered_" = x""yes; then
22068
14497
 
22069
14498
cat >>confdefs.h <<\_ACEOF
22070
14499
#define HAVE_XMU_N_COPY_ISO 1
22083
14512
 
22084
14513
LIBS="$save_LIBS"
22085
14514
CFLAGS="$save_CFLAGS"
22086
 
 
22087
 
 
22088
 
if test x$X_XMU != x; then
 
14515
 if test x$X_XMU != x; then
22089
14516
  OM_XMU_TRUE=
22090
14517
  OM_XMU_FALSE='#'
22091
14518
else
22101
14528
 
22102
14529
ac_header_dirent=no
22103
14530
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
22104
 
  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
22105
 
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
22106
 
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
22107
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14531
  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
 
14532
{ $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
 
14533
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
 
14534
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
14535
  $as_echo_n "(cached) " >&6
22109
14536
else
22110
14537
  cat >conftest.$ac_ext <<_ACEOF
22111
14538
/* confdefs.h.  */
22126
14553
}
22127
14554
_ACEOF
22128
14555
rm -f conftest.$ac_objext
22129
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22130
 
  (eval $ac_compile) 2>conftest.er1
 
14556
if { (ac_try="$ac_compile"
 
14557
case "(($ac_try" in
 
14558
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14559
  *) ac_try_echo=$ac_try;;
 
14560
esac
 
14561
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14562
$as_echo "$ac_try_echo") >&5
 
14563
  (eval "$ac_compile") 2>conftest.er1
22131
14564
  ac_status=$?
22132
14565
  grep -v '^ *+' conftest.er1 >conftest.err
22133
14566
  rm -f conftest.er1
22134
14567
  cat conftest.err >&5
22135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136
 
  (exit $ac_status); } &&
22137
 
         { ac_try='test -z "$ac_c_werror_flag"
22138
 
                         || test ! -s conftest.err'
22139
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22140
 
  (eval $ac_try) 2>&5
22141
 
  ac_status=$?
22142
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143
 
  (exit $ac_status); }; } &&
22144
 
         { ac_try='test -s conftest.$ac_objext'
22145
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22146
 
  (eval $ac_try) 2>&5
22147
 
  ac_status=$?
22148
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149
 
  (exit $ac_status); }; }; then
 
14568
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14569
  (exit $ac_status); } && {
 
14570
         test -z "$ac_c_werror_flag" ||
 
14571
         test ! -s conftest.err
 
14572
       } && test -s conftest.$ac_objext; then
22150
14573
  eval "$as_ac_Header=yes"
22151
14574
else
22152
 
  echo "$as_me: failed program was:" >&5
 
14575
  $as_echo "$as_me: failed program was:" >&5
22153
14576
sed 's/^/| /' conftest.$ac_ext >&5
22154
14577
 
22155
 
eval "$as_ac_Header=no"
22156
 
fi
22157
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22158
 
fi
22159
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22160
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22161
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
14578
        eval "$as_ac_Header=no"
 
14579
fi
 
14580
 
 
14581
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
14582
fi
 
14583
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
14584
                 $as_echo "$as_val"'`
 
14585
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
14586
$as_echo "$ac_res" >&6; }
 
14587
as_val=`eval 'as_val=${'$as_ac_Header'}
 
14588
                 $as_echo "$as_val"'`
 
14589
   if test "x$as_val" = x""yes; then
22162
14590
  cat >>confdefs.h <<_ACEOF
22163
 
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
 
14591
#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
22164
14592
_ACEOF
22165
14593
 
22166
14594
ac_header_dirent=$ac_hdr; break
22169
14597
done
22170
14598
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
22171
14599
if test $ac_header_dirent = dirent.h; then
22172
 
  echo "$as_me:$LINENO: checking for library containing opendir" >&5
22173
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
22174
 
if test "${ac_cv_search_opendir+set}" = set; then
22175
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22176
 
else
22177
 
  ac_func_search_save_LIBS=$LIBS
22178
 
ac_cv_search_opendir=no
22179
 
cat >conftest.$ac_ext <<_ACEOF
22180
 
/* confdefs.h.  */
22181
 
_ACEOF
22182
 
cat confdefs.h >>conftest.$ac_ext
22183
 
cat >>conftest.$ac_ext <<_ACEOF
22184
 
/* end confdefs.h.  */
22185
 
 
22186
 
/* Override any gcc2 internal prototype to avoid an error.  */
22187
 
#ifdef __cplusplus
22188
 
extern "C"
22189
 
#endif
22190
 
/* We use char because int might match the return type of a gcc2
22191
 
   builtin and then its argument prototype would still apply.  */
22192
 
char opendir ();
22193
 
int
22194
 
main ()
22195
 
{
22196
 
opendir ();
22197
 
  ;
22198
 
  return 0;
22199
 
}
22200
 
_ACEOF
22201
 
rm -f conftest.$ac_objext conftest$ac_exeext
22202
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22203
 
  (eval $ac_link) 2>conftest.er1
22204
 
  ac_status=$?
22205
 
  grep -v '^ *+' conftest.er1 >conftest.err
22206
 
  rm -f conftest.er1
22207
 
  cat conftest.err >&5
22208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209
 
  (exit $ac_status); } &&
22210
 
         { ac_try='test -z "$ac_c_werror_flag"
22211
 
                         || test ! -s conftest.err'
22212
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22213
 
  (eval $ac_try) 2>&5
22214
 
  ac_status=$?
22215
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216
 
  (exit $ac_status); }; } &&
22217
 
         { ac_try='test -s conftest$ac_exeext'
22218
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22219
 
  (eval $ac_try) 2>&5
22220
 
  ac_status=$?
22221
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222
 
  (exit $ac_status); }; }; then
22223
 
  ac_cv_search_opendir="none required"
22224
 
else
22225
 
  echo "$as_me: failed program was:" >&5
22226
 
sed 's/^/| /' conftest.$ac_ext >&5
22227
 
 
22228
 
fi
22229
 
rm -f conftest.err conftest.$ac_objext \
22230
 
      conftest$ac_exeext conftest.$ac_ext
22231
 
if test "$ac_cv_search_opendir" = no; then
22232
 
  for ac_lib in dir; do
22233
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
22234
 
    cat >conftest.$ac_ext <<_ACEOF
22235
 
/* confdefs.h.  */
22236
 
_ACEOF
22237
 
cat confdefs.h >>conftest.$ac_ext
22238
 
cat >>conftest.$ac_ext <<_ACEOF
22239
 
/* end confdefs.h.  */
22240
 
 
22241
 
/* Override any gcc2 internal prototype to avoid an error.  */
22242
 
#ifdef __cplusplus
22243
 
extern "C"
22244
 
#endif
22245
 
/* We use char because int might match the return type of a gcc2
22246
 
   builtin and then its argument prototype would still apply.  */
22247
 
char opendir ();
22248
 
int
22249
 
main ()
22250
 
{
22251
 
opendir ();
22252
 
  ;
22253
 
  return 0;
22254
 
}
22255
 
_ACEOF
22256
 
rm -f conftest.$ac_objext conftest$ac_exeext
22257
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22258
 
  (eval $ac_link) 2>conftest.er1
22259
 
  ac_status=$?
22260
 
  grep -v '^ *+' conftest.er1 >conftest.err
22261
 
  rm -f conftest.er1
22262
 
  cat conftest.err >&5
22263
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264
 
  (exit $ac_status); } &&
22265
 
         { ac_try='test -z "$ac_c_werror_flag"
22266
 
                         || test ! -s conftest.err'
22267
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268
 
  (eval $ac_try) 2>&5
22269
 
  ac_status=$?
22270
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271
 
  (exit $ac_status); }; } &&
22272
 
         { ac_try='test -s conftest$ac_exeext'
22273
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22274
 
  (eval $ac_try) 2>&5
22275
 
  ac_status=$?
22276
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22277
 
  (exit $ac_status); }; }; then
22278
 
  ac_cv_search_opendir="-l$ac_lib"
22279
 
break
22280
 
else
22281
 
  echo "$as_me: failed program was:" >&5
22282
 
sed 's/^/| /' conftest.$ac_ext >&5
22283
 
 
22284
 
fi
22285
 
rm -f conftest.err conftest.$ac_objext \
22286
 
      conftest$ac_exeext conftest.$ac_ext
22287
 
  done
22288
 
fi
22289
 
LIBS=$ac_func_search_save_LIBS
22290
 
fi
22291
 
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
22292
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6
22293
 
if test "$ac_cv_search_opendir" != no; then
22294
 
  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
22295
 
 
22296
 
fi
22297
 
 
22298
 
else
22299
 
  echo "$as_me:$LINENO: checking for library containing opendir" >&5
22300
 
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
22301
 
if test "${ac_cv_search_opendir+set}" = set; then
22302
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
22303
 
else
22304
 
  ac_func_search_save_LIBS=$LIBS
22305
 
ac_cv_search_opendir=no
22306
 
cat >conftest.$ac_ext <<_ACEOF
22307
 
/* confdefs.h.  */
22308
 
_ACEOF
22309
 
cat confdefs.h >>conftest.$ac_ext
22310
 
cat >>conftest.$ac_ext <<_ACEOF
22311
 
/* end confdefs.h.  */
22312
 
 
22313
 
/* Override any gcc2 internal prototype to avoid an error.  */
22314
 
#ifdef __cplusplus
22315
 
extern "C"
22316
 
#endif
22317
 
/* We use char because int might match the return type of a gcc2
22318
 
   builtin and then its argument prototype would still apply.  */
22319
 
char opendir ();
22320
 
int
22321
 
main ()
22322
 
{
22323
 
opendir ();
22324
 
  ;
22325
 
  return 0;
22326
 
}
22327
 
_ACEOF
22328
 
rm -f conftest.$ac_objext conftest$ac_exeext
22329
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22330
 
  (eval $ac_link) 2>conftest.er1
22331
 
  ac_status=$?
22332
 
  grep -v '^ *+' conftest.er1 >conftest.err
22333
 
  rm -f conftest.er1
22334
 
  cat conftest.err >&5
22335
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336
 
  (exit $ac_status); } &&
22337
 
         { ac_try='test -z "$ac_c_werror_flag"
22338
 
                         || test ! -s conftest.err'
22339
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22340
 
  (eval $ac_try) 2>&5
22341
 
  ac_status=$?
22342
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343
 
  (exit $ac_status); }; } &&
22344
 
         { ac_try='test -s conftest$ac_exeext'
22345
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22346
 
  (eval $ac_try) 2>&5
22347
 
  ac_status=$?
22348
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349
 
  (exit $ac_status); }; }; then
22350
 
  ac_cv_search_opendir="none required"
22351
 
else
22352
 
  echo "$as_me: failed program was:" >&5
22353
 
sed 's/^/| /' conftest.$ac_ext >&5
22354
 
 
22355
 
fi
22356
 
rm -f conftest.err conftest.$ac_objext \
22357
 
      conftest$ac_exeext conftest.$ac_ext
22358
 
if test "$ac_cv_search_opendir" = no; then
22359
 
  for ac_lib in x; do
22360
 
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
22361
 
    cat >conftest.$ac_ext <<_ACEOF
22362
 
/* confdefs.h.  */
22363
 
_ACEOF
22364
 
cat confdefs.h >>conftest.$ac_ext
22365
 
cat >>conftest.$ac_ext <<_ACEOF
22366
 
/* end confdefs.h.  */
22367
 
 
22368
 
/* Override any gcc2 internal prototype to avoid an error.  */
22369
 
#ifdef __cplusplus
22370
 
extern "C"
22371
 
#endif
22372
 
/* We use char because int might match the return type of a gcc2
22373
 
   builtin and then its argument prototype would still apply.  */
22374
 
char opendir ();
22375
 
int
22376
 
main ()
22377
 
{
22378
 
opendir ();
22379
 
  ;
22380
 
  return 0;
22381
 
}
22382
 
_ACEOF
22383
 
rm -f conftest.$ac_objext conftest$ac_exeext
22384
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22385
 
  (eval $ac_link) 2>conftest.er1
22386
 
  ac_status=$?
22387
 
  grep -v '^ *+' conftest.er1 >conftest.err
22388
 
  rm -f conftest.er1
22389
 
  cat conftest.err >&5
22390
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391
 
  (exit $ac_status); } &&
22392
 
         { ac_try='test -z "$ac_c_werror_flag"
22393
 
                         || test ! -s conftest.err'
22394
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395
 
  (eval $ac_try) 2>&5
22396
 
  ac_status=$?
22397
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398
 
  (exit $ac_status); }; } &&
22399
 
         { ac_try='test -s conftest$ac_exeext'
22400
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401
 
  (eval $ac_try) 2>&5
22402
 
  ac_status=$?
22403
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404
 
  (exit $ac_status); }; }; then
22405
 
  ac_cv_search_opendir="-l$ac_lib"
22406
 
break
22407
 
else
22408
 
  echo "$as_me: failed program was:" >&5
22409
 
sed 's/^/| /' conftest.$ac_ext >&5
22410
 
 
22411
 
fi
22412
 
rm -f conftest.err conftest.$ac_objext \
22413
 
      conftest$ac_exeext conftest.$ac_ext
22414
 
  done
22415
 
fi
22416
 
LIBS=$ac_func_search_save_LIBS
22417
 
fi
22418
 
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
22419
 
echo "${ECHO_T}$ac_cv_search_opendir" >&6
22420
 
if test "$ac_cv_search_opendir" != no; then
22421
 
  test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
22422
 
 
22423
 
fi
22424
 
 
22425
 
fi
22426
 
 
22427
 
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
22428
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 
14600
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
14601
$as_echo_n "checking for library containing opendir... " >&6; }
 
14602
if test "${ac_cv_search_opendir+set}" = set; then
 
14603
  $as_echo_n "(cached) " >&6
 
14604
else
 
14605
  ac_func_search_save_LIBS=$LIBS
 
14606
cat >conftest.$ac_ext <<_ACEOF
 
14607
/* confdefs.h.  */
 
14608
_ACEOF
 
14609
cat confdefs.h >>conftest.$ac_ext
 
14610
cat >>conftest.$ac_ext <<_ACEOF
 
14611
/* end confdefs.h.  */
 
14612
 
 
14613
/* Override any GCC internal prototype to avoid an error.
 
14614
   Use char because int might match the return type of a GCC
 
14615
   builtin and then its argument prototype would still apply.  */
 
14616
#ifdef __cplusplus
 
14617
extern "C"
 
14618
#endif
 
14619
char opendir ();
 
14620
int
 
14621
main ()
 
14622
{
 
14623
return opendir ();
 
14624
  ;
 
14625
  return 0;
 
14626
}
 
14627
_ACEOF
 
14628
for ac_lib in '' dir; do
 
14629
  if test -z "$ac_lib"; then
 
14630
    ac_res="none required"
 
14631
  else
 
14632
    ac_res=-l$ac_lib
 
14633
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
14634
  fi
 
14635
  rm -f conftest.$ac_objext conftest$ac_exeext
 
14636
if { (ac_try="$ac_link"
 
14637
case "(($ac_try" in
 
14638
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14639
  *) ac_try_echo=$ac_try;;
 
14640
esac
 
14641
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14642
$as_echo "$ac_try_echo") >&5
 
14643
  (eval "$ac_link") 2>conftest.er1
 
14644
  ac_status=$?
 
14645
  grep -v '^ *+' conftest.er1 >conftest.err
 
14646
  rm -f conftest.er1
 
14647
  cat conftest.err >&5
 
14648
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14649
  (exit $ac_status); } && {
 
14650
         test -z "$ac_c_werror_flag" ||
 
14651
         test ! -s conftest.err
 
14652
       } && test -s conftest$ac_exeext && {
 
14653
         test "$cross_compiling" = yes ||
 
14654
         $as_test_x conftest$ac_exeext
 
14655
       }; then
 
14656
  ac_cv_search_opendir=$ac_res
 
14657
else
 
14658
  $as_echo "$as_me: failed program was:" >&5
 
14659
sed 's/^/| /' conftest.$ac_ext >&5
 
14660
 
 
14661
 
 
14662
fi
 
14663
 
 
14664
rm -rf conftest.dSYM
 
14665
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14666
      conftest$ac_exeext
 
14667
  if test "${ac_cv_search_opendir+set}" = set; then
 
14668
  break
 
14669
fi
 
14670
done
 
14671
if test "${ac_cv_search_opendir+set}" = set; then
 
14672
  :
 
14673
else
 
14674
  ac_cv_search_opendir=no
 
14675
fi
 
14676
rm conftest.$ac_ext
 
14677
LIBS=$ac_func_search_save_LIBS
 
14678
fi
 
14679
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
14680
$as_echo "$ac_cv_search_opendir" >&6; }
 
14681
ac_res=$ac_cv_search_opendir
 
14682
if test "$ac_res" != no; then
 
14683
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
14684
 
 
14685
fi
 
14686
 
 
14687
else
 
14688
  { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
 
14689
$as_echo_n "checking for library containing opendir... " >&6; }
 
14690
if test "${ac_cv_search_opendir+set}" = set; then
 
14691
  $as_echo_n "(cached) " >&6
 
14692
else
 
14693
  ac_func_search_save_LIBS=$LIBS
 
14694
cat >conftest.$ac_ext <<_ACEOF
 
14695
/* confdefs.h.  */
 
14696
_ACEOF
 
14697
cat confdefs.h >>conftest.$ac_ext
 
14698
cat >>conftest.$ac_ext <<_ACEOF
 
14699
/* end confdefs.h.  */
 
14700
 
 
14701
/* Override any GCC internal prototype to avoid an error.
 
14702
   Use char because int might match the return type of a GCC
 
14703
   builtin and then its argument prototype would still apply.  */
 
14704
#ifdef __cplusplus
 
14705
extern "C"
 
14706
#endif
 
14707
char opendir ();
 
14708
int
 
14709
main ()
 
14710
{
 
14711
return opendir ();
 
14712
  ;
 
14713
  return 0;
 
14714
}
 
14715
_ACEOF
 
14716
for ac_lib in '' x; do
 
14717
  if test -z "$ac_lib"; then
 
14718
    ac_res="none required"
 
14719
  else
 
14720
    ac_res=-l$ac_lib
 
14721
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
14722
  fi
 
14723
  rm -f conftest.$ac_objext conftest$ac_exeext
 
14724
if { (ac_try="$ac_link"
 
14725
case "(($ac_try" in
 
14726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14727
  *) ac_try_echo=$ac_try;;
 
14728
esac
 
14729
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14730
$as_echo "$ac_try_echo") >&5
 
14731
  (eval "$ac_link") 2>conftest.er1
 
14732
  ac_status=$?
 
14733
  grep -v '^ *+' conftest.er1 >conftest.err
 
14734
  rm -f conftest.er1
 
14735
  cat conftest.err >&5
 
14736
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14737
  (exit $ac_status); } && {
 
14738
         test -z "$ac_c_werror_flag" ||
 
14739
         test ! -s conftest.err
 
14740
       } && test -s conftest$ac_exeext && {
 
14741
         test "$cross_compiling" = yes ||
 
14742
         $as_test_x conftest$ac_exeext
 
14743
       }; then
 
14744
  ac_cv_search_opendir=$ac_res
 
14745
else
 
14746
  $as_echo "$as_me: failed program was:" >&5
 
14747
sed 's/^/| /' conftest.$ac_ext >&5
 
14748
 
 
14749
 
 
14750
fi
 
14751
 
 
14752
rm -rf conftest.dSYM
 
14753
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
14754
      conftest$ac_exeext
 
14755
  if test "${ac_cv_search_opendir+set}" = set; then
 
14756
  break
 
14757
fi
 
14758
done
 
14759
if test "${ac_cv_search_opendir+set}" = set; then
 
14760
  :
 
14761
else
 
14762
  ac_cv_search_opendir=no
 
14763
fi
 
14764
rm conftest.$ac_ext
 
14765
LIBS=$ac_func_search_save_LIBS
 
14766
fi
 
14767
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
 
14768
$as_echo "$ac_cv_search_opendir" >&6; }
 
14769
ac_res=$ac_cv_search_opendir
 
14770
if test "$ac_res" != no; then
 
14771
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
14772
 
 
14773
fi
 
14774
 
 
14775
fi
 
14776
 
 
14777
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
14778
$as_echo_n "checking for ANSI C header files... " >&6; }
22429
14779
if test "${ac_cv_header_stdc+set}" = set; then
22430
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14780
  $as_echo_n "(cached) " >&6
22431
14781
else
22432
14782
  cat >conftest.$ac_ext <<_ACEOF
22433
14783
/* confdefs.h.  */
22449
14799
}
22450
14800
_ACEOF
22451
14801
rm -f conftest.$ac_objext
22452
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22453
 
  (eval $ac_compile) 2>conftest.er1
 
14802
if { (ac_try="$ac_compile"
 
14803
case "(($ac_try" in
 
14804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14805
  *) ac_try_echo=$ac_try;;
 
14806
esac
 
14807
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14808
$as_echo "$ac_try_echo") >&5
 
14809
  (eval "$ac_compile") 2>conftest.er1
22454
14810
  ac_status=$?
22455
14811
  grep -v '^ *+' conftest.er1 >conftest.err
22456
14812
  rm -f conftest.er1
22457
14813
  cat conftest.err >&5
22458
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459
 
  (exit $ac_status); } &&
22460
 
         { ac_try='test -z "$ac_c_werror_flag"
22461
 
                         || test ! -s conftest.err'
22462
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22463
 
  (eval $ac_try) 2>&5
22464
 
  ac_status=$?
22465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466
 
  (exit $ac_status); }; } &&
22467
 
         { ac_try='test -s conftest.$ac_objext'
22468
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22469
 
  (eval $ac_try) 2>&5
22470
 
  ac_status=$?
22471
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22472
 
  (exit $ac_status); }; }; then
 
14814
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14815
  (exit $ac_status); } && {
 
14816
         test -z "$ac_c_werror_flag" ||
 
14817
         test ! -s conftest.err
 
14818
       } && test -s conftest.$ac_objext; then
22473
14819
  ac_cv_header_stdc=yes
22474
14820
else
22475
 
  echo "$as_me: failed program was:" >&5
 
14821
  $as_echo "$as_me: failed program was:" >&5
22476
14822
sed 's/^/| /' conftest.$ac_ext >&5
22477
14823
 
22478
 
ac_cv_header_stdc=no
 
14824
        ac_cv_header_stdc=no
22479
14825
fi
22480
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
14826
 
 
14827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22481
14828
 
22482
14829
if test $ac_cv_header_stdc = yes; then
22483
14830
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22533
14880
cat >>conftest.$ac_ext <<_ACEOF
22534
14881
/* end confdefs.h.  */
22535
14882
#include <ctype.h>
 
14883
#include <stdlib.h>
22536
14884
#if ((' ' & 0x0FF) == 0x020)
22537
14885
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22538
14886
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22552
14900
  for (i = 0; i < 256; i++)
22553
14901
    if (XOR (islower (i), ISLOWER (i))
22554
14902
        || toupper (i) != TOUPPER (i))
22555
 
      exit(2);
22556
 
  exit (0);
 
14903
      return 2;
 
14904
  return 0;
22557
14905
}
22558
14906
_ACEOF
22559
14907
rm -f conftest$ac_exeext
22560
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22561
 
  (eval $ac_link) 2>&5
 
14908
if { (ac_try="$ac_link"
 
14909
case "(($ac_try" in
 
14910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14911
  *) ac_try_echo=$ac_try;;
 
14912
esac
 
14913
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14914
$as_echo "$ac_try_echo") >&5
 
14915
  (eval "$ac_link") 2>&5
22562
14916
  ac_status=$?
22563
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14917
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22564
14918
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22565
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22566
 
  (eval $ac_try) 2>&5
 
14919
  { (case "(($ac_try" in
 
14920
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14921
  *) ac_try_echo=$ac_try;;
 
14922
esac
 
14923
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14924
$as_echo "$ac_try_echo") >&5
 
14925
  (eval "$ac_try") 2>&5
22567
14926
  ac_status=$?
22568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14927
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22569
14928
  (exit $ac_status); }; }; then
22570
14929
  :
22571
14930
else
22572
 
  echo "$as_me: program exited with status $ac_status" >&5
22573
 
echo "$as_me: failed program was:" >&5
 
14931
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
14932
$as_echo "$as_me: failed program was:" >&5
22574
14933
sed 's/^/| /' conftest.$ac_ext >&5
22575
14934
 
22576
14935
( exit $ac_status )
22577
14936
ac_cv_header_stdc=no
22578
14937
fi
22579
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22580
 
fi
22581
 
fi
22582
 
fi
22583
 
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
22584
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6
 
14938
rm -rf conftest.dSYM
 
14939
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
14940
fi
 
14941
 
 
14942
 
 
14943
fi
 
14944
fi
 
14945
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
14946
$as_echo "$ac_cv_header_stdc" >&6; }
22585
14947
if test $ac_cv_header_stdc = yes; then
22586
14948
 
22587
14949
cat >>confdefs.h <<\_ACEOF
22590
14952
 
22591
14953
fi
22592
14954
 
22593
 
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
22594
 
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
 
14955
{ $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 
14956
$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
22595
14957
if test "${ac_cv_header_sys_wait_h+set}" = set; then
22596
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
14958
  $as_echo_n "(cached) " >&6
22597
14959
else
22598
14960
  cat >conftest.$ac_ext <<_ACEOF
22599
14961
/* confdefs.h.  */
22604
14966
#include <sys/types.h>
22605
14967
#include <sys/wait.h>
22606
14968
#ifndef WEXITSTATUS
22607
 
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
 
14969
# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
22608
14970
#endif
22609
14971
#ifndef WIFEXITED
22610
14972
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
22621
14983
}
22622
14984
_ACEOF
22623
14985
rm -f conftest.$ac_objext
22624
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22625
 
  (eval $ac_compile) 2>conftest.er1
 
14986
if { (ac_try="$ac_compile"
 
14987
case "(($ac_try" in
 
14988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
14989
  *) ac_try_echo=$ac_try;;
 
14990
esac
 
14991
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
14992
$as_echo "$ac_try_echo") >&5
 
14993
  (eval "$ac_compile") 2>conftest.er1
22626
14994
  ac_status=$?
22627
14995
  grep -v '^ *+' conftest.er1 >conftest.err
22628
14996
  rm -f conftest.er1
22629
14997
  cat conftest.err >&5
22630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631
 
  (exit $ac_status); } &&
22632
 
         { ac_try='test -z "$ac_c_werror_flag"
22633
 
                         || test ! -s conftest.err'
22634
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22635
 
  (eval $ac_try) 2>&5
22636
 
  ac_status=$?
22637
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638
 
  (exit $ac_status); }; } &&
22639
 
         { ac_try='test -s conftest.$ac_objext'
22640
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22641
 
  (eval $ac_try) 2>&5
22642
 
  ac_status=$?
22643
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22644
 
  (exit $ac_status); }; }; then
 
14998
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
14999
  (exit $ac_status); } && {
 
15000
         test -z "$ac_c_werror_flag" ||
 
15001
         test ! -s conftest.err
 
15002
       } && test -s conftest.$ac_objext; then
22645
15003
  ac_cv_header_sys_wait_h=yes
22646
15004
else
22647
 
  echo "$as_me: failed program was:" >&5
 
15005
  $as_echo "$as_me: failed program was:" >&5
22648
15006
sed 's/^/| /' conftest.$ac_ext >&5
22649
15007
 
22650
 
ac_cv_header_sys_wait_h=no
22651
 
fi
22652
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22653
 
fi
22654
 
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
22655
 
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
 
15008
        ac_cv_header_sys_wait_h=no
 
15009
fi
 
15010
 
 
15011
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15012
fi
 
15013
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
 
15014
$as_echo "$ac_cv_header_sys_wait_h" >&6; }
22656
15015
if test $ac_cv_header_sys_wait_h = yes; then
22657
15016
 
22658
15017
cat >>confdefs.h <<\_ACEOF
22672
15031
 
22673
15032
for ac_header in fcntl.h limits.h malloc.h sys/malloc.h strings.h sys/file.h sys/time.h unistd.h wchar.h
22674
15033
do
22675
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22676
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22677
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
22678
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22679
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15034
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
15035
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15036
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15037
$as_echo_n "checking for $ac_header... " >&6; }
 
15038
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15039
  $as_echo_n "(cached) " >&6
22681
15040
fi
22682
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22683
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
15041
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
15042
                 $as_echo "$as_val"'`
 
15043
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15044
$as_echo "$ac_res" >&6; }
22684
15045
else
22685
15046
  # Is the header compilable?
22686
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
22687
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
15047
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
15048
$as_echo_n "checking $ac_header usability... " >&6; }
22688
15049
cat >conftest.$ac_ext <<_ACEOF
22689
15050
/* confdefs.h.  */
22690
15051
_ACEOF
22695
15056
#include <$ac_header>
22696
15057
_ACEOF
22697
15058
rm -f conftest.$ac_objext
22698
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22699
 
  (eval $ac_compile) 2>conftest.er1
 
15059
if { (ac_try="$ac_compile"
 
15060
case "(($ac_try" in
 
15061
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15062
  *) ac_try_echo=$ac_try;;
 
15063
esac
 
15064
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15065
$as_echo "$ac_try_echo") >&5
 
15066
  (eval "$ac_compile") 2>conftest.er1
22700
15067
  ac_status=$?
22701
15068
  grep -v '^ *+' conftest.er1 >conftest.err
22702
15069
  rm -f conftest.er1
22703
15070
  cat conftest.err >&5
22704
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705
 
  (exit $ac_status); } &&
22706
 
         { ac_try='test -z "$ac_c_werror_flag"
22707
 
                         || test ! -s conftest.err'
22708
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709
 
  (eval $ac_try) 2>&5
22710
 
  ac_status=$?
22711
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712
 
  (exit $ac_status); }; } &&
22713
 
         { ac_try='test -s conftest.$ac_objext'
22714
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715
 
  (eval $ac_try) 2>&5
22716
 
  ac_status=$?
22717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718
 
  (exit $ac_status); }; }; then
 
15071
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15072
  (exit $ac_status); } && {
 
15073
         test -z "$ac_c_werror_flag" ||
 
15074
         test ! -s conftest.err
 
15075
       } && test -s conftest.$ac_objext; then
22719
15076
  ac_header_compiler=yes
22720
15077
else
22721
 
  echo "$as_me: failed program was:" >&5
 
15078
  $as_echo "$as_me: failed program was:" >&5
22722
15079
sed 's/^/| /' conftest.$ac_ext >&5
22723
15080
 
22724
 
ac_header_compiler=no
 
15081
        ac_header_compiler=no
22725
15082
fi
22726
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22727
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22728
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
15083
 
 
15084
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15085
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15086
$as_echo "$ac_header_compiler" >&6; }
22729
15087
 
22730
15088
# Is the header present?
22731
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
22732
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
15089
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
15090
$as_echo_n "checking $ac_header presence... " >&6; }
22733
15091
cat >conftest.$ac_ext <<_ACEOF
22734
15092
/* confdefs.h.  */
22735
15093
_ACEOF
22738
15096
/* end confdefs.h.  */
22739
15097
#include <$ac_header>
22740
15098
_ACEOF
22741
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22742
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
15099
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15100
case "(($ac_try" in
 
15101
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15102
  *) ac_try_echo=$ac_try;;
 
15103
esac
 
15104
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15105
$as_echo "$ac_try_echo") >&5
 
15106
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22743
15107
  ac_status=$?
22744
15108
  grep -v '^ *+' conftest.er1 >conftest.err
22745
15109
  rm -f conftest.er1
22746
15110
  cat conftest.err >&5
22747
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748
 
  (exit $ac_status); } >/dev/null; then
22749
 
  if test -s conftest.err; then
22750
 
    ac_cpp_err=$ac_c_preproc_warn_flag
22751
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22752
 
  else
22753
 
    ac_cpp_err=
22754
 
  fi
22755
 
else
22756
 
  ac_cpp_err=yes
22757
 
fi
22758
 
if test -z "$ac_cpp_err"; then
 
15111
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15112
  (exit $ac_status); } >/dev/null && {
 
15113
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15114
         test ! -s conftest.err
 
15115
       }; then
22759
15116
  ac_header_preproc=yes
22760
15117
else
22761
 
  echo "$as_me: failed program was:" >&5
 
15118
  $as_echo "$as_me: failed program was:" >&5
22762
15119
sed 's/^/| /' conftest.$ac_ext >&5
22763
15120
 
22764
15121
  ac_header_preproc=no
22765
15122
fi
 
15123
 
22766
15124
rm -f conftest.err conftest.$ac_ext
22767
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22768
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
15125
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15126
$as_echo "$ac_header_preproc" >&6; }
22769
15127
 
22770
15128
# So?  What about this header?
22771
15129
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22772
15130
  yes:no: )
22773
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22774
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22775
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22776
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
15131
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
15132
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15133
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
15134
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22777
15135
    ac_header_preproc=yes
22778
15136
    ;;
22779
15137
  no:yes:* )
22780
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22781
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22782
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22783
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22784
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22785
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22786
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22787
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22788
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22789
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22790
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22791
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22792
 
    (
22793
 
      cat <<\_ASBOX
22794
 
## ------------------------------------------ ##
22795
 
## Report this to the AC_PACKAGE_NAME lists.  ##
22796
 
## ------------------------------------------ ##
22797
 
_ASBOX
22798
 
    ) |
22799
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
15138
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
15139
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
15140
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
15141
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
15142
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
15143
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
15144
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
15145
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15146
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
15147
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
15148
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
15149
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
15150
 
22800
15151
    ;;
22801
15152
esac
22802
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
22803
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22804
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22805
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15153
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15154
$as_echo_n "checking for $ac_header... " >&6; }
 
15155
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15156
  $as_echo_n "(cached) " >&6
22806
15157
else
22807
15158
  eval "$as_ac_Header=\$ac_header_preproc"
22808
15159
fi
22809
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22810
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
15160
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
15161
                 $as_echo "$as_val"'`
 
15162
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15163
$as_echo "$ac_res" >&6; }
22811
15164
 
22812
15165
fi
22813
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
15166
as_val=`eval 'as_val=${'$as_ac_Header'}
 
15167
                 $as_echo "$as_val"'`
 
15168
   if test "x$as_val" = x""yes; then
22814
15169
  cat >>confdefs.h <<_ACEOF
22815
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15170
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22816
15171
_ACEOF
22817
15172
 
22818
15173
fi
22822
15177
 
22823
15178
for ac_header in wctype.h
22824
15179
do
22825
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22826
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22827
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
22828
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22829
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22830
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15180
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
15181
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15182
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15183
$as_echo_n "checking for $ac_header... " >&6; }
 
15184
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15185
  $as_echo_n "(cached) " >&6
22831
15186
fi
22832
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22833
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
15187
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
15188
                 $as_echo "$as_val"'`
 
15189
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15190
$as_echo "$ac_res" >&6; }
22834
15191
else
22835
15192
  # Is the header compilable?
22836
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
22837
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
15193
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
15194
$as_echo_n "checking $ac_header usability... " >&6; }
22838
15195
cat >conftest.$ac_ext <<_ACEOF
22839
15196
/* confdefs.h.  */
22840
15197
_ACEOF
22845
15202
#include <$ac_header>
22846
15203
_ACEOF
22847
15204
rm -f conftest.$ac_objext
22848
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22849
 
  (eval $ac_compile) 2>conftest.er1
 
15205
if { (ac_try="$ac_compile"
 
15206
case "(($ac_try" in
 
15207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15208
  *) ac_try_echo=$ac_try;;
 
15209
esac
 
15210
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15211
$as_echo "$ac_try_echo") >&5
 
15212
  (eval "$ac_compile") 2>conftest.er1
22850
15213
  ac_status=$?
22851
15214
  grep -v '^ *+' conftest.er1 >conftest.err
22852
15215
  rm -f conftest.er1
22853
15216
  cat conftest.err >&5
22854
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855
 
  (exit $ac_status); } &&
22856
 
         { ac_try='test -z "$ac_c_werror_flag"
22857
 
                         || test ! -s conftest.err'
22858
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859
 
  (eval $ac_try) 2>&5
22860
 
  ac_status=$?
22861
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862
 
  (exit $ac_status); }; } &&
22863
 
         { ac_try='test -s conftest.$ac_objext'
22864
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22865
 
  (eval $ac_try) 2>&5
22866
 
  ac_status=$?
22867
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868
 
  (exit $ac_status); }; }; then
 
15217
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15218
  (exit $ac_status); } && {
 
15219
         test -z "$ac_c_werror_flag" ||
 
15220
         test ! -s conftest.err
 
15221
       } && test -s conftest.$ac_objext; then
22869
15222
  ac_header_compiler=yes
22870
15223
else
22871
 
  echo "$as_me: failed program was:" >&5
 
15224
  $as_echo "$as_me: failed program was:" >&5
22872
15225
sed 's/^/| /' conftest.$ac_ext >&5
22873
15226
 
22874
 
ac_header_compiler=no
 
15227
        ac_header_compiler=no
22875
15228
fi
22876
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22877
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22878
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
15229
 
 
15230
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15231
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15232
$as_echo "$ac_header_compiler" >&6; }
22879
15233
 
22880
15234
# Is the header present?
22881
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
22882
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
15235
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
15236
$as_echo_n "checking $ac_header presence... " >&6; }
22883
15237
cat >conftest.$ac_ext <<_ACEOF
22884
15238
/* confdefs.h.  */
22885
15239
_ACEOF
22888
15242
/* end confdefs.h.  */
22889
15243
#include <$ac_header>
22890
15244
_ACEOF
22891
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22892
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
15245
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15246
case "(($ac_try" in
 
15247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15248
  *) ac_try_echo=$ac_try;;
 
15249
esac
 
15250
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15251
$as_echo "$ac_try_echo") >&5
 
15252
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22893
15253
  ac_status=$?
22894
15254
  grep -v '^ *+' conftest.er1 >conftest.err
22895
15255
  rm -f conftest.er1
22896
15256
  cat conftest.err >&5
22897
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898
 
  (exit $ac_status); } >/dev/null; then
22899
 
  if test -s conftest.err; then
22900
 
    ac_cpp_err=$ac_c_preproc_warn_flag
22901
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22902
 
  else
22903
 
    ac_cpp_err=
22904
 
  fi
22905
 
else
22906
 
  ac_cpp_err=yes
22907
 
fi
22908
 
if test -z "$ac_cpp_err"; then
 
15257
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15258
  (exit $ac_status); } >/dev/null && {
 
15259
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15260
         test ! -s conftest.err
 
15261
       }; then
22909
15262
  ac_header_preproc=yes
22910
15263
else
22911
 
  echo "$as_me: failed program was:" >&5
 
15264
  $as_echo "$as_me: failed program was:" >&5
22912
15265
sed 's/^/| /' conftest.$ac_ext >&5
22913
15266
 
22914
15267
  ac_header_preproc=no
22915
15268
fi
 
15269
 
22916
15270
rm -f conftest.err conftest.$ac_ext
22917
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22918
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
15271
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15272
$as_echo "$ac_header_preproc" >&6; }
22919
15273
 
22920
15274
# So?  What about this header?
22921
15275
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22922
15276
  yes:no: )
22923
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22924
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22925
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22926
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
15277
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
15278
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15279
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
15280
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22927
15281
    ac_header_preproc=yes
22928
15282
    ;;
22929
15283
  no:yes:* )
22930
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22931
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22932
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
22933
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
22934
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22935
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22936
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
22937
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
22938
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22939
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22940
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22941
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22942
 
    (
22943
 
      cat <<\_ASBOX
22944
 
## ------------------------------------------ ##
22945
 
## Report this to the AC_PACKAGE_NAME lists.  ##
22946
 
## ------------------------------------------ ##
22947
 
_ASBOX
22948
 
    ) |
22949
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
15284
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
15285
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
15286
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
15287
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
15288
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
15289
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
15290
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
15291
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15292
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
15293
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
15294
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
15295
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
15296
 
22950
15297
    ;;
22951
15298
esac
22952
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
22953
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22954
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
22955
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15299
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
15300
$as_echo_n "checking for $ac_header... " >&6; }
 
15301
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
15302
  $as_echo_n "(cached) " >&6
22956
15303
else
22957
15304
  eval "$as_ac_Header=\$ac_header_preproc"
22958
15305
fi
22959
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22960
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
15306
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
15307
                 $as_echo "$as_val"'`
 
15308
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
15309
$as_echo "$ac_res" >&6; }
22961
15310
 
22962
15311
fi
22963
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
15312
as_val=`eval 'as_val=${'$as_ac_Header'}
 
15313
                 $as_echo "$as_val"'`
 
15314
   if test "x$as_val" = x""yes; then
22964
15315
  cat >>confdefs.h <<_ACEOF
22965
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
15316
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22966
15317
_ACEOF
22967
15318
 
22968
15319
cat >>confdefs.h <<\_ACEOF
22974
15325
done
22975
15326
 
22976
15327
if test "${ac_cv_header_langinfo_h+set}" = set; then
22977
 
  echo "$as_me:$LINENO: checking for langinfo.h" >&5
22978
 
echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
 
15328
  { $as_echo "$as_me:$LINENO: checking for langinfo.h" >&5
 
15329
$as_echo_n "checking for langinfo.h... " >&6; }
22979
15330
if test "${ac_cv_header_langinfo_h+set}" = set; then
22980
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15331
  $as_echo_n "(cached) " >&6
22981
15332
fi
22982
 
echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
22983
 
echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
 
15333
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
 
15334
$as_echo "$ac_cv_header_langinfo_h" >&6; }
22984
15335
else
22985
15336
  # Is the header compilable?
22986
 
echo "$as_me:$LINENO: checking langinfo.h usability" >&5
22987
 
echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
 
15337
{ $as_echo "$as_me:$LINENO: checking langinfo.h usability" >&5
 
15338
$as_echo_n "checking langinfo.h usability... " >&6; }
22988
15339
cat >conftest.$ac_ext <<_ACEOF
22989
15340
/* confdefs.h.  */
22990
15341
_ACEOF
22995
15346
#include <langinfo.h>
22996
15347
_ACEOF
22997
15348
rm -f conftest.$ac_objext
22998
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22999
 
  (eval $ac_compile) 2>conftest.er1
 
15349
if { (ac_try="$ac_compile"
 
15350
case "(($ac_try" in
 
15351
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15352
  *) ac_try_echo=$ac_try;;
 
15353
esac
 
15354
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15355
$as_echo "$ac_try_echo") >&5
 
15356
  (eval "$ac_compile") 2>conftest.er1
23000
15357
  ac_status=$?
23001
15358
  grep -v '^ *+' conftest.er1 >conftest.err
23002
15359
  rm -f conftest.er1
23003
15360
  cat conftest.err >&5
23004
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005
 
  (exit $ac_status); } &&
23006
 
         { ac_try='test -z "$ac_c_werror_flag"
23007
 
                         || test ! -s conftest.err'
23008
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23009
 
  (eval $ac_try) 2>&5
23010
 
  ac_status=$?
23011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012
 
  (exit $ac_status); }; } &&
23013
 
         { ac_try='test -s conftest.$ac_objext'
23014
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23015
 
  (eval $ac_try) 2>&5
23016
 
  ac_status=$?
23017
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018
 
  (exit $ac_status); }; }; then
 
15361
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15362
  (exit $ac_status); } && {
 
15363
         test -z "$ac_c_werror_flag" ||
 
15364
         test ! -s conftest.err
 
15365
       } && test -s conftest.$ac_objext; then
23019
15366
  ac_header_compiler=yes
23020
15367
else
23021
 
  echo "$as_me: failed program was:" >&5
 
15368
  $as_echo "$as_me: failed program was:" >&5
23022
15369
sed 's/^/| /' conftest.$ac_ext >&5
23023
15370
 
23024
 
ac_header_compiler=no
 
15371
        ac_header_compiler=no
23025
15372
fi
23026
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23027
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23028
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
15373
 
 
15374
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15375
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15376
$as_echo "$ac_header_compiler" >&6; }
23029
15377
 
23030
15378
# Is the header present?
23031
 
echo "$as_me:$LINENO: checking langinfo.h presence" >&5
23032
 
echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
 
15379
{ $as_echo "$as_me:$LINENO: checking langinfo.h presence" >&5
 
15380
$as_echo_n "checking langinfo.h presence... " >&6; }
23033
15381
cat >conftest.$ac_ext <<_ACEOF
23034
15382
/* confdefs.h.  */
23035
15383
_ACEOF
23038
15386
/* end confdefs.h.  */
23039
15387
#include <langinfo.h>
23040
15388
_ACEOF
23041
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23042
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
15389
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15390
case "(($ac_try" in
 
15391
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15392
  *) ac_try_echo=$ac_try;;
 
15393
esac
 
15394
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15395
$as_echo "$ac_try_echo") >&5
 
15396
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23043
15397
  ac_status=$?
23044
15398
  grep -v '^ *+' conftest.er1 >conftest.err
23045
15399
  rm -f conftest.er1
23046
15400
  cat conftest.err >&5
23047
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048
 
  (exit $ac_status); } >/dev/null; then
23049
 
  if test -s conftest.err; then
23050
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23051
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23052
 
  else
23053
 
    ac_cpp_err=
23054
 
  fi
23055
 
else
23056
 
  ac_cpp_err=yes
23057
 
fi
23058
 
if test -z "$ac_cpp_err"; then
 
15401
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15402
  (exit $ac_status); } >/dev/null && {
 
15403
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15404
         test ! -s conftest.err
 
15405
       }; then
23059
15406
  ac_header_preproc=yes
23060
15407
else
23061
 
  echo "$as_me: failed program was:" >&5
 
15408
  $as_echo "$as_me: failed program was:" >&5
23062
15409
sed 's/^/| /' conftest.$ac_ext >&5
23063
15410
 
23064
15411
  ac_header_preproc=no
23065
15412
fi
 
15413
 
23066
15414
rm -f conftest.err conftest.$ac_ext
23067
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23068
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
15415
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15416
$as_echo "$ac_header_preproc" >&6; }
23069
15417
 
23070
15418
# So?  What about this header?
23071
15419
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23072
15420
  yes:no: )
23073
 
    { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
23074
 
echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23075
 
    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
23076
 
echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
 
15421
    { $as_echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
15422
$as_echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15423
    { $as_echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
 
15424
$as_echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
23077
15425
    ac_header_preproc=yes
23078
15426
    ;;
23079
15427
  no:yes:* )
23080
 
    { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
23081
 
echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
23082
 
    { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
23083
 
echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
23084
 
    { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
23085
 
echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
23086
 
    { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
23087
 
echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23088
 
    { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
23089
 
echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
23090
 
    { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
23091
 
echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
23092
 
    (
23093
 
      cat <<\_ASBOX
23094
 
## ------------------------------------------ ##
23095
 
## Report this to the AC_PACKAGE_NAME lists.  ##
23096
 
## ------------------------------------------ ##
23097
 
_ASBOX
23098
 
    ) |
23099
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
15428
    { $as_echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
 
15429
$as_echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
 
15430
    { $as_echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
 
15431
$as_echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
 
15432
    { $as_echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
 
15433
$as_echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
 
15434
    { $as_echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
 
15435
$as_echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15436
    { $as_echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
 
15437
$as_echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
 
15438
    { $as_echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
 
15439
$as_echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
 
15440
 
23100
15441
    ;;
23101
15442
esac
23102
 
echo "$as_me:$LINENO: checking for langinfo.h" >&5
23103
 
echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
 
15443
{ $as_echo "$as_me:$LINENO: checking for langinfo.h" >&5
 
15444
$as_echo_n "checking for langinfo.h... " >&6; }
23104
15445
if test "${ac_cv_header_langinfo_h+set}" = set; then
23105
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15446
  $as_echo_n "(cached) " >&6
23106
15447
else
23107
15448
  ac_cv_header_langinfo_h=$ac_header_preproc
23108
15449
fi
23109
 
echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
23110
 
echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
 
15450
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
 
15451
$as_echo "$ac_cv_header_langinfo_h" >&6; }
23111
15452
 
23112
15453
fi
23113
 
if test $ac_cv_header_langinfo_h = yes; then
 
15454
if test "x$ac_cv_header_langinfo_h" = x""yes; then
23114
15455
  :
23115
15456
else
23116
15457
 
23122
15463
 
23123
15464
 
23124
15465
if test "${ac_cv_header_X11_Xos_r_h+set}" = set; then
23125
 
  echo "$as_me:$LINENO: checking for X11/Xos_r.h" >&5
23126
 
echo $ECHO_N "checking for X11/Xos_r.h... $ECHO_C" >&6
 
15466
  { $as_echo "$as_me:$LINENO: checking for X11/Xos_r.h" >&5
 
15467
$as_echo_n "checking for X11/Xos_r.h... " >&6; }
23127
15468
if test "${ac_cv_header_X11_Xos_r_h+set}" = set; then
23128
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15469
  $as_echo_n "(cached) " >&6
23129
15470
fi
23130
 
echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xos_r_h" >&5
23131
 
echo "${ECHO_T}$ac_cv_header_X11_Xos_r_h" >&6
 
15471
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xos_r_h" >&5
 
15472
$as_echo "$ac_cv_header_X11_Xos_r_h" >&6; }
23132
15473
else
23133
15474
  # Is the header compilable?
23134
 
echo "$as_me:$LINENO: checking X11/Xos_r.h usability" >&5
23135
 
echo $ECHO_N "checking X11/Xos_r.h usability... $ECHO_C" >&6
 
15475
{ $as_echo "$as_me:$LINENO: checking X11/Xos_r.h usability" >&5
 
15476
$as_echo_n "checking X11/Xos_r.h usability... " >&6; }
23136
15477
cat >conftest.$ac_ext <<_ACEOF
23137
15478
/* confdefs.h.  */
23138
15479
_ACEOF
23143
15484
#include <X11/Xos_r.h>
23144
15485
_ACEOF
23145
15486
rm -f conftest.$ac_objext
23146
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23147
 
  (eval $ac_compile) 2>conftest.er1
 
15487
if { (ac_try="$ac_compile"
 
15488
case "(($ac_try" in
 
15489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15490
  *) ac_try_echo=$ac_try;;
 
15491
esac
 
15492
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15493
$as_echo "$ac_try_echo") >&5
 
15494
  (eval "$ac_compile") 2>conftest.er1
23148
15495
  ac_status=$?
23149
15496
  grep -v '^ *+' conftest.er1 >conftest.err
23150
15497
  rm -f conftest.er1
23151
15498
  cat conftest.err >&5
23152
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153
 
  (exit $ac_status); } &&
23154
 
         { ac_try='test -z "$ac_c_werror_flag"
23155
 
                         || test ! -s conftest.err'
23156
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23157
 
  (eval $ac_try) 2>&5
23158
 
  ac_status=$?
23159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160
 
  (exit $ac_status); }; } &&
23161
 
         { ac_try='test -s conftest.$ac_objext'
23162
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23163
 
  (eval $ac_try) 2>&5
23164
 
  ac_status=$?
23165
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166
 
  (exit $ac_status); }; }; then
 
15499
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15500
  (exit $ac_status); } && {
 
15501
         test -z "$ac_c_werror_flag" ||
 
15502
         test ! -s conftest.err
 
15503
       } && test -s conftest.$ac_objext; then
23167
15504
  ac_header_compiler=yes
23168
15505
else
23169
 
  echo "$as_me: failed program was:" >&5
 
15506
  $as_echo "$as_me: failed program was:" >&5
23170
15507
sed 's/^/| /' conftest.$ac_ext >&5
23171
15508
 
23172
 
ac_header_compiler=no
 
15509
        ac_header_compiler=no
23173
15510
fi
23174
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23175
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23176
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
15511
 
 
15512
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15513
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15514
$as_echo "$ac_header_compiler" >&6; }
23177
15515
 
23178
15516
# Is the header present?
23179
 
echo "$as_me:$LINENO: checking X11/Xos_r.h presence" >&5
23180
 
echo $ECHO_N "checking X11/Xos_r.h presence... $ECHO_C" >&6
 
15517
{ $as_echo "$as_me:$LINENO: checking X11/Xos_r.h presence" >&5
 
15518
$as_echo_n "checking X11/Xos_r.h presence... " >&6; }
23181
15519
cat >conftest.$ac_ext <<_ACEOF
23182
15520
/* confdefs.h.  */
23183
15521
_ACEOF
23186
15524
/* end confdefs.h.  */
23187
15525
#include <X11/Xos_r.h>
23188
15526
_ACEOF
23189
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23190
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
15527
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15528
case "(($ac_try" in
 
15529
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15530
  *) ac_try_echo=$ac_try;;
 
15531
esac
 
15532
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15533
$as_echo "$ac_try_echo") >&5
 
15534
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23191
15535
  ac_status=$?
23192
15536
  grep -v '^ *+' conftest.er1 >conftest.err
23193
15537
  rm -f conftest.er1
23194
15538
  cat conftest.err >&5
23195
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23196
 
  (exit $ac_status); } >/dev/null; then
23197
 
  if test -s conftest.err; then
23198
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23199
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23200
 
  else
23201
 
    ac_cpp_err=
23202
 
  fi
23203
 
else
23204
 
  ac_cpp_err=yes
23205
 
fi
23206
 
if test -z "$ac_cpp_err"; then
 
15539
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15540
  (exit $ac_status); } >/dev/null && {
 
15541
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15542
         test ! -s conftest.err
 
15543
       }; then
23207
15544
  ac_header_preproc=yes
23208
15545
else
23209
 
  echo "$as_me: failed program was:" >&5
 
15546
  $as_echo "$as_me: failed program was:" >&5
23210
15547
sed 's/^/| /' conftest.$ac_ext >&5
23211
15548
 
23212
15549
  ac_header_preproc=no
23213
15550
fi
 
15551
 
23214
15552
rm -f conftest.err conftest.$ac_ext
23215
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23216
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
15553
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15554
$as_echo "$ac_header_preproc" >&6; }
23217
15555
 
23218
15556
# So?  What about this header?
23219
15557
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23220
15558
  yes:no: )
23221
 
    { echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: accepted by the compiler, rejected by the preprocessor!" >&5
23222
 
echo "$as_me: WARNING: X11/Xos_r.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23223
 
    { echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: proceeding with the compiler's result" >&5
23224
 
echo "$as_me: WARNING: X11/Xos_r.h: proceeding with the compiler's result" >&2;}
 
15559
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
15560
$as_echo "$as_me: WARNING: X11/Xos_r.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15561
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: proceeding with the compiler's result" >&5
 
15562
$as_echo "$as_me: WARNING: X11/Xos_r.h: proceeding with the compiler's result" >&2;}
23225
15563
    ac_header_preproc=yes
23226
15564
    ;;
23227
15565
  no:yes:* )
23228
 
    { echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: present but cannot be compiled" >&5
23229
 
echo "$as_me: WARNING: X11/Xos_r.h: present but cannot be compiled" >&2;}
23230
 
    { echo "$as_me:$LINENO: WARNING: X11/Xos_r.h:     check for missing prerequisite headers?" >&5
23231
 
echo "$as_me: WARNING: X11/Xos_r.h:     check for missing prerequisite headers?" >&2;}
23232
 
    { echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: see the Autoconf documentation" >&5
23233
 
echo "$as_me: WARNING: X11/Xos_r.h: see the Autoconf documentation" >&2;}
23234
 
    { echo "$as_me:$LINENO: WARNING: X11/Xos_r.h:     section \"Present But Cannot Be Compiled\"" >&5
23235
 
echo "$as_me: WARNING: X11/Xos_r.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23236
 
    { echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: proceeding with the preprocessor's result" >&5
23237
 
echo "$as_me: WARNING: X11/Xos_r.h: proceeding with the preprocessor's result" >&2;}
23238
 
    { echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: in the future, the compiler will take precedence" >&5
23239
 
echo "$as_me: WARNING: X11/Xos_r.h: in the future, the compiler will take precedence" >&2;}
23240
 
    (
23241
 
      cat <<\_ASBOX
23242
 
## ------------------------------------------ ##
23243
 
## Report this to the AC_PACKAGE_NAME lists.  ##
23244
 
## ------------------------------------------ ##
23245
 
_ASBOX
23246
 
    ) |
23247
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
15566
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: present but cannot be compiled" >&5
 
15567
$as_echo "$as_me: WARNING: X11/Xos_r.h: present but cannot be compiled" >&2;}
 
15568
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xos_r.h:     check for missing prerequisite headers?" >&5
 
15569
$as_echo "$as_me: WARNING: X11/Xos_r.h:     check for missing prerequisite headers?" >&2;}
 
15570
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: see the Autoconf documentation" >&5
 
15571
$as_echo "$as_me: WARNING: X11/Xos_r.h: see the Autoconf documentation" >&2;}
 
15572
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xos_r.h:     section \"Present But Cannot Be Compiled\"" >&5
 
15573
$as_echo "$as_me: WARNING: X11/Xos_r.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15574
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: proceeding with the preprocessor's result" >&5
 
15575
$as_echo "$as_me: WARNING: X11/Xos_r.h: proceeding with the preprocessor's result" >&2;}
 
15576
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xos_r.h: in the future, the compiler will take precedence" >&5
 
15577
$as_echo "$as_me: WARNING: X11/Xos_r.h: in the future, the compiler will take precedence" >&2;}
 
15578
 
23248
15579
    ;;
23249
15580
esac
23250
 
echo "$as_me:$LINENO: checking for X11/Xos_r.h" >&5
23251
 
echo $ECHO_N "checking for X11/Xos_r.h... $ECHO_C" >&6
 
15581
{ $as_echo "$as_me:$LINENO: checking for X11/Xos_r.h" >&5
 
15582
$as_echo_n "checking for X11/Xos_r.h... " >&6; }
23252
15583
if test "${ac_cv_header_X11_Xos_r_h+set}" = set; then
23253
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15584
  $as_echo_n "(cached) " >&6
23254
15585
else
23255
15586
  ac_cv_header_X11_Xos_r_h=$ac_header_preproc
23256
15587
fi
23257
 
echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xos_r_h" >&5
23258
 
echo "${ECHO_T}$ac_cv_header_X11_Xos_r_h" >&6
 
15588
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xos_r_h" >&5
 
15589
$as_echo "$ac_cv_header_X11_Xos_r_h" >&6; }
23259
15590
 
23260
15591
fi
23261
 
if test $ac_cv_header_X11_Xos_r_h = yes; then
 
15592
if test "x$ac_cv_header_X11_Xos_r_h" = x""yes; then
23262
15593
  :
23263
15594
else
23264
15595
 
23270
15601
 
23271
15602
 
23272
15603
if test "${ac_cv_header_X11_Xpoll_h+set}" = set; then
23273
 
  echo "$as_me:$LINENO: checking for X11/Xpoll.h" >&5
23274
 
echo $ECHO_N "checking for X11/Xpoll.h... $ECHO_C" >&6
 
15604
  { $as_echo "$as_me:$LINENO: checking for X11/Xpoll.h" >&5
 
15605
$as_echo_n "checking for X11/Xpoll.h... " >&6; }
23275
15606
if test "${ac_cv_header_X11_Xpoll_h+set}" = set; then
23276
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15607
  $as_echo_n "(cached) " >&6
23277
15608
fi
23278
 
echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xpoll_h" >&5
23279
 
echo "${ECHO_T}$ac_cv_header_X11_Xpoll_h" >&6
 
15609
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xpoll_h" >&5
 
15610
$as_echo "$ac_cv_header_X11_Xpoll_h" >&6; }
23280
15611
else
23281
15612
  # Is the header compilable?
23282
 
echo "$as_me:$LINENO: checking X11/Xpoll.h usability" >&5
23283
 
echo $ECHO_N "checking X11/Xpoll.h usability... $ECHO_C" >&6
 
15613
{ $as_echo "$as_me:$LINENO: checking X11/Xpoll.h usability" >&5
 
15614
$as_echo_n "checking X11/Xpoll.h usability... " >&6; }
23284
15615
cat >conftest.$ac_ext <<_ACEOF
23285
15616
/* confdefs.h.  */
23286
15617
_ACEOF
23291
15622
#include <X11/Xpoll.h>
23292
15623
_ACEOF
23293
15624
rm -f conftest.$ac_objext
23294
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23295
 
  (eval $ac_compile) 2>conftest.er1
 
15625
if { (ac_try="$ac_compile"
 
15626
case "(($ac_try" in
 
15627
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15628
  *) ac_try_echo=$ac_try;;
 
15629
esac
 
15630
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15631
$as_echo "$ac_try_echo") >&5
 
15632
  (eval "$ac_compile") 2>conftest.er1
23296
15633
  ac_status=$?
23297
15634
  grep -v '^ *+' conftest.er1 >conftest.err
23298
15635
  rm -f conftest.er1
23299
15636
  cat conftest.err >&5
23300
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23301
 
  (exit $ac_status); } &&
23302
 
         { ac_try='test -z "$ac_c_werror_flag"
23303
 
                         || test ! -s conftest.err'
23304
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23305
 
  (eval $ac_try) 2>&5
23306
 
  ac_status=$?
23307
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23308
 
  (exit $ac_status); }; } &&
23309
 
         { ac_try='test -s conftest.$ac_objext'
23310
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23311
 
  (eval $ac_try) 2>&5
23312
 
  ac_status=$?
23313
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314
 
  (exit $ac_status); }; }; then
 
15637
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15638
  (exit $ac_status); } && {
 
15639
         test -z "$ac_c_werror_flag" ||
 
15640
         test ! -s conftest.err
 
15641
       } && test -s conftest.$ac_objext; then
23315
15642
  ac_header_compiler=yes
23316
15643
else
23317
 
  echo "$as_me: failed program was:" >&5
 
15644
  $as_echo "$as_me: failed program was:" >&5
23318
15645
sed 's/^/| /' conftest.$ac_ext >&5
23319
15646
 
23320
 
ac_header_compiler=no
 
15647
        ac_header_compiler=no
23321
15648
fi
23322
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23323
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23324
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
15649
 
 
15650
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15651
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
15652
$as_echo "$ac_header_compiler" >&6; }
23325
15653
 
23326
15654
# Is the header present?
23327
 
echo "$as_me:$LINENO: checking X11/Xpoll.h presence" >&5
23328
 
echo $ECHO_N "checking X11/Xpoll.h presence... $ECHO_C" >&6
 
15655
{ $as_echo "$as_me:$LINENO: checking X11/Xpoll.h presence" >&5
 
15656
$as_echo_n "checking X11/Xpoll.h presence... " >&6; }
23329
15657
cat >conftest.$ac_ext <<_ACEOF
23330
15658
/* confdefs.h.  */
23331
15659
_ACEOF
23334
15662
/* end confdefs.h.  */
23335
15663
#include <X11/Xpoll.h>
23336
15664
_ACEOF
23337
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23338
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
15665
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
15666
case "(($ac_try" in
 
15667
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15668
  *) ac_try_echo=$ac_try;;
 
15669
esac
 
15670
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15671
$as_echo "$ac_try_echo") >&5
 
15672
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23339
15673
  ac_status=$?
23340
15674
  grep -v '^ *+' conftest.er1 >conftest.err
23341
15675
  rm -f conftest.er1
23342
15676
  cat conftest.err >&5
23343
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344
 
  (exit $ac_status); } >/dev/null; then
23345
 
  if test -s conftest.err; then
23346
 
    ac_cpp_err=$ac_c_preproc_warn_flag
23347
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23348
 
  else
23349
 
    ac_cpp_err=
23350
 
  fi
23351
 
else
23352
 
  ac_cpp_err=yes
23353
 
fi
23354
 
if test -z "$ac_cpp_err"; then
 
15677
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15678
  (exit $ac_status); } >/dev/null && {
 
15679
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
15680
         test ! -s conftest.err
 
15681
       }; then
23355
15682
  ac_header_preproc=yes
23356
15683
else
23357
 
  echo "$as_me: failed program was:" >&5
 
15684
  $as_echo "$as_me: failed program was:" >&5
23358
15685
sed 's/^/| /' conftest.$ac_ext >&5
23359
15686
 
23360
15687
  ac_header_preproc=no
23361
15688
fi
 
15689
 
23362
15690
rm -f conftest.err conftest.$ac_ext
23363
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23364
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
15691
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
15692
$as_echo "$ac_header_preproc" >&6; }
23365
15693
 
23366
15694
# So?  What about this header?
23367
15695
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23368
15696
  yes:no: )
23369
 
    { echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: accepted by the compiler, rejected by the preprocessor!" >&5
23370
 
echo "$as_me: WARNING: X11/Xpoll.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23371
 
    { echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: proceeding with the compiler's result" >&5
23372
 
echo "$as_me: WARNING: X11/Xpoll.h: proceeding with the compiler's result" >&2;}
 
15697
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: accepted by the compiler, rejected by the preprocessor!" >&5
 
15698
$as_echo "$as_me: WARNING: X11/Xpoll.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
15699
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: proceeding with the compiler's result" >&5
 
15700
$as_echo "$as_me: WARNING: X11/Xpoll.h: proceeding with the compiler's result" >&2;}
23373
15701
    ac_header_preproc=yes
23374
15702
    ;;
23375
15703
  no:yes:* )
23376
 
    { echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: present but cannot be compiled" >&5
23377
 
echo "$as_me: WARNING: X11/Xpoll.h: present but cannot be compiled" >&2;}
23378
 
    { echo "$as_me:$LINENO: WARNING: X11/Xpoll.h:     check for missing prerequisite headers?" >&5
23379
 
echo "$as_me: WARNING: X11/Xpoll.h:     check for missing prerequisite headers?" >&2;}
23380
 
    { echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: see the Autoconf documentation" >&5
23381
 
echo "$as_me: WARNING: X11/Xpoll.h: see the Autoconf documentation" >&2;}
23382
 
    { echo "$as_me:$LINENO: WARNING: X11/Xpoll.h:     section \"Present But Cannot Be Compiled\"" >&5
23383
 
echo "$as_me: WARNING: X11/Xpoll.h:     section \"Present But Cannot Be Compiled\"" >&2;}
23384
 
    { echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: proceeding with the preprocessor's result" >&5
23385
 
echo "$as_me: WARNING: X11/Xpoll.h: proceeding with the preprocessor's result" >&2;}
23386
 
    { echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: in the future, the compiler will take precedence" >&5
23387
 
echo "$as_me: WARNING: X11/Xpoll.h: in the future, the compiler will take precedence" >&2;}
23388
 
    (
23389
 
      cat <<\_ASBOX
23390
 
## ------------------------------------------ ##
23391
 
## Report this to the AC_PACKAGE_NAME lists.  ##
23392
 
## ------------------------------------------ ##
23393
 
_ASBOX
23394
 
    ) |
23395
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
15704
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: present but cannot be compiled" >&5
 
15705
$as_echo "$as_me: WARNING: X11/Xpoll.h: present but cannot be compiled" >&2;}
 
15706
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xpoll.h:     check for missing prerequisite headers?" >&5
 
15707
$as_echo "$as_me: WARNING: X11/Xpoll.h:     check for missing prerequisite headers?" >&2;}
 
15708
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: see the Autoconf documentation" >&5
 
15709
$as_echo "$as_me: WARNING: X11/Xpoll.h: see the Autoconf documentation" >&2;}
 
15710
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xpoll.h:     section \"Present But Cannot Be Compiled\"" >&5
 
15711
$as_echo "$as_me: WARNING: X11/Xpoll.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 
15712
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: proceeding with the preprocessor's result" >&5
 
15713
$as_echo "$as_me: WARNING: X11/Xpoll.h: proceeding with the preprocessor's result" >&2;}
 
15714
    { $as_echo "$as_me:$LINENO: WARNING: X11/Xpoll.h: in the future, the compiler will take precedence" >&5
 
15715
$as_echo "$as_me: WARNING: X11/Xpoll.h: in the future, the compiler will take precedence" >&2;}
 
15716
 
23396
15717
    ;;
23397
15718
esac
23398
 
echo "$as_me:$LINENO: checking for X11/Xpoll.h" >&5
23399
 
echo $ECHO_N "checking for X11/Xpoll.h... $ECHO_C" >&6
 
15719
{ $as_echo "$as_me:$LINENO: checking for X11/Xpoll.h" >&5
 
15720
$as_echo_n "checking for X11/Xpoll.h... " >&6; }
23400
15721
if test "${ac_cv_header_X11_Xpoll_h+set}" = set; then
23401
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15722
  $as_echo_n "(cached) " >&6
23402
15723
else
23403
15724
  ac_cv_header_X11_Xpoll_h=$ac_header_preproc
23404
15725
fi
23405
 
echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xpoll_h" >&5
23406
 
echo "${ECHO_T}$ac_cv_header_X11_Xpoll_h" >&6
 
15726
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xpoll_h" >&5
 
15727
$as_echo "$ac_cv_header_X11_Xpoll_h" >&6; }
23407
15728
 
23408
15729
fi
23409
 
if test $ac_cv_header_X11_Xpoll_h = yes; then
 
15730
if test "x$ac_cv_header_X11_Xpoll_h" = x""yes; then
23410
15731
  :
23411
15732
else
23412
15733
 
23417
15738
fi
23418
15739
 
23419
15740
 
23420
 
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
23421
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
 
15741
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
15742
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
23422
15743
if test "${ac_cv_c_const+set}" = set; then
23423
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15744
  $as_echo_n "(cached) " >&6
23424
15745
else
23425
15746
  cat >conftest.$ac_ext <<_ACEOF
23426
15747
/* confdefs.h.  */
23436
15757
#ifndef __cplusplus
23437
15758
  /* Ultrix mips cc rejects this.  */
23438
15759
  typedef int charset[2];
23439
 
  const charset x;
 
15760
  const charset cs;
23440
15761
  /* SunOS 4.1.1 cc rejects this.  */
23441
 
  char const *const *ccp;
23442
 
  char **p;
 
15762
  char const *const *pcpcc;
 
15763
  char **ppc;
23443
15764
  /* NEC SVR4.0.2 mips cc rejects this.  */
23444
15765
  struct point {int x, y;};
23445
15766
  static struct point const zero = {0,0};
23448
15769
     an arm of an if-expression whose if-part is not a constant
23449
15770
     expression */
23450
15771
  const char *g = "string";
23451
 
  ccp = &g + (g ? g-g : 0);
 
15772
  pcpcc = &g + (g ? g-g : 0);
23452
15773
  /* HPUX 7.0 cc rejects these. */
23453
 
  ++ccp;
23454
 
  p = (char**) ccp;
23455
 
  ccp = (char const *const *) p;
 
15774
  ++pcpcc;
 
15775
  ppc = (char**) pcpcc;
 
15776
  pcpcc = (char const *const *) ppc;
23456
15777
  { /* SCO 3.2v4 cc rejects this.  */
23457
15778
    char *t;
23458
15779
    char const *s = 0 ? (char *) 0 : (char const *) 0;
23459
15780
 
23460
15781
    *t++ = 0;
 
15782
    if (s) return 0;
23461
15783
  }
23462
15784
  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
23463
15785
    int x[] = {25, 17};
23476
15798
  }
23477
15799
  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
23478
15800
    const int foo = 10;
 
15801
    if (!foo) return 0;
23479
15802
  }
 
15803
  return !cs[0] && !zero.x;
23480
15804
#endif
23481
15805
 
23482
15806
  ;
23484
15808
}
23485
15809
_ACEOF
23486
15810
rm -f conftest.$ac_objext
23487
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23488
 
  (eval $ac_compile) 2>conftest.er1
 
15811
if { (ac_try="$ac_compile"
 
15812
case "(($ac_try" in
 
15813
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15814
  *) ac_try_echo=$ac_try;;
 
15815
esac
 
15816
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15817
$as_echo "$ac_try_echo") >&5
 
15818
  (eval "$ac_compile") 2>conftest.er1
23489
15819
  ac_status=$?
23490
15820
  grep -v '^ *+' conftest.er1 >conftest.err
23491
15821
  rm -f conftest.er1
23492
15822
  cat conftest.err >&5
23493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494
 
  (exit $ac_status); } &&
23495
 
         { ac_try='test -z "$ac_c_werror_flag"
23496
 
                         || test ! -s conftest.err'
23497
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23498
 
  (eval $ac_try) 2>&5
23499
 
  ac_status=$?
23500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501
 
  (exit $ac_status); }; } &&
23502
 
         { ac_try='test -s conftest.$ac_objext'
23503
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23504
 
  (eval $ac_try) 2>&5
23505
 
  ac_status=$?
23506
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507
 
  (exit $ac_status); }; }; then
 
15823
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15824
  (exit $ac_status); } && {
 
15825
         test -z "$ac_c_werror_flag" ||
 
15826
         test ! -s conftest.err
 
15827
       } && test -s conftest.$ac_objext; then
23508
15828
  ac_cv_c_const=yes
23509
15829
else
23510
 
  echo "$as_me: failed program was:" >&5
 
15830
  $as_echo "$as_me: failed program was:" >&5
23511
15831
sed 's/^/| /' conftest.$ac_ext >&5
23512
15832
 
23513
 
ac_cv_c_const=no
23514
 
fi
23515
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23516
 
fi
23517
 
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
23518
 
echo "${ECHO_T}$ac_cv_c_const" >&6
 
15833
        ac_cv_c_const=no
 
15834
fi
 
15835
 
 
15836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15837
fi
 
15838
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
15839
$as_echo "$ac_cv_c_const" >&6; }
23519
15840
if test $ac_cv_c_const = no; then
23520
15841
 
23521
15842
cat >>confdefs.h <<\_ACEOF
23522
 
#define const
 
15843
#define const /**/
23523
15844
_ACEOF
23524
15845
 
23525
15846
fi
23526
15847
 
23527
 
echo "$as_me:$LINENO: checking for mode_t" >&5
23528
 
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
 
15848
{ $as_echo "$as_me:$LINENO: checking for mode_t" >&5
 
15849
$as_echo_n "checking for mode_t... " >&6; }
23529
15850
if test "${ac_cv_type_mode_t+set}" = set; then
23530
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15851
  $as_echo_n "(cached) " >&6
23531
15852
else
23532
 
  cat >conftest.$ac_ext <<_ACEOF
 
15853
  ac_cv_type_mode_t=no
 
15854
cat >conftest.$ac_ext <<_ACEOF
23533
15855
/* confdefs.h.  */
23534
15856
_ACEOF
23535
15857
cat confdefs.h >>conftest.$ac_ext
23539
15861
int
23540
15862
main ()
23541
15863
{
23542
 
if ((mode_t *) 0)
23543
 
  return 0;
23544
15864
if (sizeof (mode_t))
23545
 
  return 0;
23546
 
  ;
23547
 
  return 0;
23548
 
}
23549
 
_ACEOF
23550
 
rm -f conftest.$ac_objext
23551
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23552
 
  (eval $ac_compile) 2>conftest.er1
23553
 
  ac_status=$?
23554
 
  grep -v '^ *+' conftest.er1 >conftest.err
23555
 
  rm -f conftest.er1
23556
 
  cat conftest.err >&5
23557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558
 
  (exit $ac_status); } &&
23559
 
         { ac_try='test -z "$ac_c_werror_flag"
23560
 
                         || test ! -s conftest.err'
23561
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23562
 
  (eval $ac_try) 2>&5
23563
 
  ac_status=$?
23564
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23565
 
  (exit $ac_status); }; } &&
23566
 
         { ac_try='test -s conftest.$ac_objext'
23567
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23568
 
  (eval $ac_try) 2>&5
23569
 
  ac_status=$?
23570
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23571
 
  (exit $ac_status); }; }; then
23572
 
  ac_cv_type_mode_t=yes
23573
 
else
23574
 
  echo "$as_me: failed program was:" >&5
23575
 
sed 's/^/| /' conftest.$ac_ext >&5
23576
 
 
23577
 
ac_cv_type_mode_t=no
23578
 
fi
23579
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23580
 
fi
23581
 
echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
23582
 
echo "${ECHO_T}$ac_cv_type_mode_t" >&6
23583
 
if test $ac_cv_type_mode_t = yes; then
 
15865
       return 0;
 
15866
  ;
 
15867
  return 0;
 
15868
}
 
15869
_ACEOF
 
15870
rm -f conftest.$ac_objext
 
15871
if { (ac_try="$ac_compile"
 
15872
case "(($ac_try" in
 
15873
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15874
  *) ac_try_echo=$ac_try;;
 
15875
esac
 
15876
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15877
$as_echo "$ac_try_echo") >&5
 
15878
  (eval "$ac_compile") 2>conftest.er1
 
15879
  ac_status=$?
 
15880
  grep -v '^ *+' conftest.er1 >conftest.err
 
15881
  rm -f conftest.er1
 
15882
  cat conftest.err >&5
 
15883
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15884
  (exit $ac_status); } && {
 
15885
         test -z "$ac_c_werror_flag" ||
 
15886
         test ! -s conftest.err
 
15887
       } && test -s conftest.$ac_objext; then
 
15888
  cat >conftest.$ac_ext <<_ACEOF
 
15889
/* confdefs.h.  */
 
15890
_ACEOF
 
15891
cat confdefs.h >>conftest.$ac_ext
 
15892
cat >>conftest.$ac_ext <<_ACEOF
 
15893
/* end confdefs.h.  */
 
15894
$ac_includes_default
 
15895
int
 
15896
main ()
 
15897
{
 
15898
if (sizeof ((mode_t)))
 
15899
          return 0;
 
15900
  ;
 
15901
  return 0;
 
15902
}
 
15903
_ACEOF
 
15904
rm -f conftest.$ac_objext
 
15905
if { (ac_try="$ac_compile"
 
15906
case "(($ac_try" in
 
15907
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15908
  *) ac_try_echo=$ac_try;;
 
15909
esac
 
15910
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15911
$as_echo "$ac_try_echo") >&5
 
15912
  (eval "$ac_compile") 2>conftest.er1
 
15913
  ac_status=$?
 
15914
  grep -v '^ *+' conftest.er1 >conftest.err
 
15915
  rm -f conftest.er1
 
15916
  cat conftest.err >&5
 
15917
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15918
  (exit $ac_status); } && {
 
15919
         test -z "$ac_c_werror_flag" ||
 
15920
         test ! -s conftest.err
 
15921
       } && test -s conftest.$ac_objext; then
 
15922
  :
 
15923
else
 
15924
  $as_echo "$as_me: failed program was:" >&5
 
15925
sed 's/^/| /' conftest.$ac_ext >&5
 
15926
 
 
15927
        ac_cv_type_mode_t=yes
 
15928
fi
 
15929
 
 
15930
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15931
else
 
15932
  $as_echo "$as_me: failed program was:" >&5
 
15933
sed 's/^/| /' conftest.$ac_ext >&5
 
15934
 
 
15935
 
 
15936
fi
 
15937
 
 
15938
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
15939
fi
 
15940
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
 
15941
$as_echo "$ac_cv_type_mode_t" >&6; }
 
15942
if test "x$ac_cv_type_mode_t" = x""yes; then
23584
15943
  :
23585
15944
else
23586
15945
 
23590
15949
 
23591
15950
fi
23592
15951
 
23593
 
echo "$as_me:$LINENO: checking for off_t" >&5
23594
 
echo $ECHO_N "checking for off_t... $ECHO_C" >&6
 
15952
{ $as_echo "$as_me:$LINENO: checking for off_t" >&5
 
15953
$as_echo_n "checking for off_t... " >&6; }
23595
15954
if test "${ac_cv_type_off_t+set}" = set; then
23596
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
15955
  $as_echo_n "(cached) " >&6
23597
15956
else
23598
 
  cat >conftest.$ac_ext <<_ACEOF
 
15957
  ac_cv_type_off_t=no
 
15958
cat >conftest.$ac_ext <<_ACEOF
23599
15959
/* confdefs.h.  */
23600
15960
_ACEOF
23601
15961
cat confdefs.h >>conftest.$ac_ext
23605
15965
int
23606
15966
main ()
23607
15967
{
23608
 
if ((off_t *) 0)
23609
 
  return 0;
23610
15968
if (sizeof (off_t))
23611
 
  return 0;
23612
 
  ;
23613
 
  return 0;
23614
 
}
23615
 
_ACEOF
23616
 
rm -f conftest.$ac_objext
23617
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23618
 
  (eval $ac_compile) 2>conftest.er1
23619
 
  ac_status=$?
23620
 
  grep -v '^ *+' conftest.er1 >conftest.err
23621
 
  rm -f conftest.er1
23622
 
  cat conftest.err >&5
23623
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624
 
  (exit $ac_status); } &&
23625
 
         { ac_try='test -z "$ac_c_werror_flag"
23626
 
                         || test ! -s conftest.err'
23627
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23628
 
  (eval $ac_try) 2>&5
23629
 
  ac_status=$?
23630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631
 
  (exit $ac_status); }; } &&
23632
 
         { ac_try='test -s conftest.$ac_objext'
23633
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634
 
  (eval $ac_try) 2>&5
23635
 
  ac_status=$?
23636
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637
 
  (exit $ac_status); }; }; then
23638
 
  ac_cv_type_off_t=yes
23639
 
else
23640
 
  echo "$as_me: failed program was:" >&5
23641
 
sed 's/^/| /' conftest.$ac_ext >&5
23642
 
 
23643
 
ac_cv_type_off_t=no
23644
 
fi
23645
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23646
 
fi
23647
 
echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
23648
 
echo "${ECHO_T}$ac_cv_type_off_t" >&6
23649
 
if test $ac_cv_type_off_t = yes; then
 
15969
       return 0;
 
15970
  ;
 
15971
  return 0;
 
15972
}
 
15973
_ACEOF
 
15974
rm -f conftest.$ac_objext
 
15975
if { (ac_try="$ac_compile"
 
15976
case "(($ac_try" in
 
15977
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
15978
  *) ac_try_echo=$ac_try;;
 
15979
esac
 
15980
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
15981
$as_echo "$ac_try_echo") >&5
 
15982
  (eval "$ac_compile") 2>conftest.er1
 
15983
  ac_status=$?
 
15984
  grep -v '^ *+' conftest.er1 >conftest.err
 
15985
  rm -f conftest.er1
 
15986
  cat conftest.err >&5
 
15987
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15988
  (exit $ac_status); } && {
 
15989
         test -z "$ac_c_werror_flag" ||
 
15990
         test ! -s conftest.err
 
15991
       } && test -s conftest.$ac_objext; then
 
15992
  cat >conftest.$ac_ext <<_ACEOF
 
15993
/* confdefs.h.  */
 
15994
_ACEOF
 
15995
cat confdefs.h >>conftest.$ac_ext
 
15996
cat >>conftest.$ac_ext <<_ACEOF
 
15997
/* end confdefs.h.  */
 
15998
$ac_includes_default
 
15999
int
 
16000
main ()
 
16001
{
 
16002
if (sizeof ((off_t)))
 
16003
          return 0;
 
16004
  ;
 
16005
  return 0;
 
16006
}
 
16007
_ACEOF
 
16008
rm -f conftest.$ac_objext
 
16009
if { (ac_try="$ac_compile"
 
16010
case "(($ac_try" in
 
16011
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16012
  *) ac_try_echo=$ac_try;;
 
16013
esac
 
16014
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16015
$as_echo "$ac_try_echo") >&5
 
16016
  (eval "$ac_compile") 2>conftest.er1
 
16017
  ac_status=$?
 
16018
  grep -v '^ *+' conftest.er1 >conftest.err
 
16019
  rm -f conftest.er1
 
16020
  cat conftest.err >&5
 
16021
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16022
  (exit $ac_status); } && {
 
16023
         test -z "$ac_c_werror_flag" ||
 
16024
         test ! -s conftest.err
 
16025
       } && test -s conftest.$ac_objext; then
 
16026
  :
 
16027
else
 
16028
  $as_echo "$as_me: failed program was:" >&5
 
16029
sed 's/^/| /' conftest.$ac_ext >&5
 
16030
 
 
16031
        ac_cv_type_off_t=yes
 
16032
fi
 
16033
 
 
16034
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16035
else
 
16036
  $as_echo "$as_me: failed program was:" >&5
 
16037
sed 's/^/| /' conftest.$ac_ext >&5
 
16038
 
 
16039
 
 
16040
fi
 
16041
 
 
16042
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16043
fi
 
16044
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
 
16045
$as_echo "$ac_cv_type_off_t" >&6; }
 
16046
if test "x$ac_cv_type_off_t" = x""yes; then
23650
16047
  :
23651
16048
else
23652
16049
 
23653
16050
cat >>confdefs.h <<_ACEOF
23654
 
#define off_t long
 
16051
#define off_t long int
23655
16052
_ACEOF
23656
16053
 
23657
16054
fi
23658
16055
 
23659
 
echo "$as_me:$LINENO: checking for pid_t" >&5
23660
 
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
 
16056
{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
 
16057
$as_echo_n "checking for pid_t... " >&6; }
23661
16058
if test "${ac_cv_type_pid_t+set}" = set; then
23662
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16059
  $as_echo_n "(cached) " >&6
23663
16060
else
23664
 
  cat >conftest.$ac_ext <<_ACEOF
 
16061
  ac_cv_type_pid_t=no
 
16062
cat >conftest.$ac_ext <<_ACEOF
23665
16063
/* confdefs.h.  */
23666
16064
_ACEOF
23667
16065
cat confdefs.h >>conftest.$ac_ext
23671
16069
int
23672
16070
main ()
23673
16071
{
23674
 
if ((pid_t *) 0)
23675
 
  return 0;
23676
16072
if (sizeof (pid_t))
23677
 
  return 0;
23678
 
  ;
23679
 
  return 0;
23680
 
}
23681
 
_ACEOF
23682
 
rm -f conftest.$ac_objext
23683
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23684
 
  (eval $ac_compile) 2>conftest.er1
23685
 
  ac_status=$?
23686
 
  grep -v '^ *+' conftest.er1 >conftest.err
23687
 
  rm -f conftest.er1
23688
 
  cat conftest.err >&5
23689
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690
 
  (exit $ac_status); } &&
23691
 
         { ac_try='test -z "$ac_c_werror_flag"
23692
 
                         || test ! -s conftest.err'
23693
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23694
 
  (eval $ac_try) 2>&5
23695
 
  ac_status=$?
23696
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23697
 
  (exit $ac_status); }; } &&
23698
 
         { ac_try='test -s conftest.$ac_objext'
23699
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23700
 
  (eval $ac_try) 2>&5
23701
 
  ac_status=$?
23702
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23703
 
  (exit $ac_status); }; }; then
23704
 
  ac_cv_type_pid_t=yes
23705
 
else
23706
 
  echo "$as_me: failed program was:" >&5
23707
 
sed 's/^/| /' conftest.$ac_ext >&5
23708
 
 
23709
 
ac_cv_type_pid_t=no
23710
 
fi
23711
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23712
 
fi
23713
 
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
23714
 
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
23715
 
if test $ac_cv_type_pid_t = yes; then
 
16073
       return 0;
 
16074
  ;
 
16075
  return 0;
 
16076
}
 
16077
_ACEOF
 
16078
rm -f conftest.$ac_objext
 
16079
if { (ac_try="$ac_compile"
 
16080
case "(($ac_try" in
 
16081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16082
  *) ac_try_echo=$ac_try;;
 
16083
esac
 
16084
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16085
$as_echo "$ac_try_echo") >&5
 
16086
  (eval "$ac_compile") 2>conftest.er1
 
16087
  ac_status=$?
 
16088
  grep -v '^ *+' conftest.er1 >conftest.err
 
16089
  rm -f conftest.er1
 
16090
  cat conftest.err >&5
 
16091
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16092
  (exit $ac_status); } && {
 
16093
         test -z "$ac_c_werror_flag" ||
 
16094
         test ! -s conftest.err
 
16095
       } && test -s conftest.$ac_objext; then
 
16096
  cat >conftest.$ac_ext <<_ACEOF
 
16097
/* confdefs.h.  */
 
16098
_ACEOF
 
16099
cat confdefs.h >>conftest.$ac_ext
 
16100
cat >>conftest.$ac_ext <<_ACEOF
 
16101
/* end confdefs.h.  */
 
16102
$ac_includes_default
 
16103
int
 
16104
main ()
 
16105
{
 
16106
if (sizeof ((pid_t)))
 
16107
          return 0;
 
16108
  ;
 
16109
  return 0;
 
16110
}
 
16111
_ACEOF
 
16112
rm -f conftest.$ac_objext
 
16113
if { (ac_try="$ac_compile"
 
16114
case "(($ac_try" in
 
16115
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16116
  *) ac_try_echo=$ac_try;;
 
16117
esac
 
16118
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16119
$as_echo "$ac_try_echo") >&5
 
16120
  (eval "$ac_compile") 2>conftest.er1
 
16121
  ac_status=$?
 
16122
  grep -v '^ *+' conftest.er1 >conftest.err
 
16123
  rm -f conftest.er1
 
16124
  cat conftest.err >&5
 
16125
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16126
  (exit $ac_status); } && {
 
16127
         test -z "$ac_c_werror_flag" ||
 
16128
         test ! -s conftest.err
 
16129
       } && test -s conftest.$ac_objext; then
 
16130
  :
 
16131
else
 
16132
  $as_echo "$as_me: failed program was:" >&5
 
16133
sed 's/^/| /' conftest.$ac_ext >&5
 
16134
 
 
16135
        ac_cv_type_pid_t=yes
 
16136
fi
 
16137
 
 
16138
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16139
else
 
16140
  $as_echo "$as_me: failed program was:" >&5
 
16141
sed 's/^/| /' conftest.$ac_ext >&5
 
16142
 
 
16143
 
 
16144
fi
 
16145
 
 
16146
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16147
fi
 
16148
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
 
16149
$as_echo "$ac_cv_type_pid_t" >&6; }
 
16150
if test "x$ac_cv_type_pid_t" = x""yes; then
23716
16151
  :
23717
16152
else
23718
16153
 
23722
16157
 
23723
16158
fi
23724
16159
 
23725
 
echo "$as_me:$LINENO: checking for size_t" >&5
23726
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
 
16160
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
 
16161
$as_echo_n "checking for size_t... " >&6; }
23727
16162
if test "${ac_cv_type_size_t+set}" = set; then
23728
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16163
  $as_echo_n "(cached) " >&6
23729
16164
else
23730
 
  cat >conftest.$ac_ext <<_ACEOF
 
16165
  ac_cv_type_size_t=no
 
16166
cat >conftest.$ac_ext <<_ACEOF
23731
16167
/* confdefs.h.  */
23732
16168
_ACEOF
23733
16169
cat confdefs.h >>conftest.$ac_ext
23737
16173
int
23738
16174
main ()
23739
16175
{
23740
 
if ((size_t *) 0)
23741
 
  return 0;
23742
16176
if (sizeof (size_t))
23743
 
  return 0;
23744
 
  ;
23745
 
  return 0;
23746
 
}
23747
 
_ACEOF
23748
 
rm -f conftest.$ac_objext
23749
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23750
 
  (eval $ac_compile) 2>conftest.er1
23751
 
  ac_status=$?
23752
 
  grep -v '^ *+' conftest.er1 >conftest.err
23753
 
  rm -f conftest.er1
23754
 
  cat conftest.err >&5
23755
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756
 
  (exit $ac_status); } &&
23757
 
         { ac_try='test -z "$ac_c_werror_flag"
23758
 
                         || test ! -s conftest.err'
23759
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23760
 
  (eval $ac_try) 2>&5
23761
 
  ac_status=$?
23762
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763
 
  (exit $ac_status); }; } &&
23764
 
         { ac_try='test -s conftest.$ac_objext'
23765
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766
 
  (eval $ac_try) 2>&5
23767
 
  ac_status=$?
23768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769
 
  (exit $ac_status); }; }; then
23770
 
  ac_cv_type_size_t=yes
23771
 
else
23772
 
  echo "$as_me: failed program was:" >&5
23773
 
sed 's/^/| /' conftest.$ac_ext >&5
23774
 
 
23775
 
ac_cv_type_size_t=no
23776
 
fi
23777
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23778
 
fi
23779
 
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23780
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6
23781
 
if test $ac_cv_type_size_t = yes; then
 
16177
       return 0;
 
16178
  ;
 
16179
  return 0;
 
16180
}
 
16181
_ACEOF
 
16182
rm -f conftest.$ac_objext
 
16183
if { (ac_try="$ac_compile"
 
16184
case "(($ac_try" in
 
16185
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16186
  *) ac_try_echo=$ac_try;;
 
16187
esac
 
16188
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16189
$as_echo "$ac_try_echo") >&5
 
16190
  (eval "$ac_compile") 2>conftest.er1
 
16191
  ac_status=$?
 
16192
  grep -v '^ *+' conftest.er1 >conftest.err
 
16193
  rm -f conftest.er1
 
16194
  cat conftest.err >&5
 
16195
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16196
  (exit $ac_status); } && {
 
16197
         test -z "$ac_c_werror_flag" ||
 
16198
         test ! -s conftest.err
 
16199
       } && test -s conftest.$ac_objext; then
 
16200
  cat >conftest.$ac_ext <<_ACEOF
 
16201
/* confdefs.h.  */
 
16202
_ACEOF
 
16203
cat confdefs.h >>conftest.$ac_ext
 
16204
cat >>conftest.$ac_ext <<_ACEOF
 
16205
/* end confdefs.h.  */
 
16206
$ac_includes_default
 
16207
int
 
16208
main ()
 
16209
{
 
16210
if (sizeof ((size_t)))
 
16211
          return 0;
 
16212
  ;
 
16213
  return 0;
 
16214
}
 
16215
_ACEOF
 
16216
rm -f conftest.$ac_objext
 
16217
if { (ac_try="$ac_compile"
 
16218
case "(($ac_try" in
 
16219
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16220
  *) ac_try_echo=$ac_try;;
 
16221
esac
 
16222
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16223
$as_echo "$ac_try_echo") >&5
 
16224
  (eval "$ac_compile") 2>conftest.er1
 
16225
  ac_status=$?
 
16226
  grep -v '^ *+' conftest.er1 >conftest.err
 
16227
  rm -f conftest.er1
 
16228
  cat conftest.err >&5
 
16229
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16230
  (exit $ac_status); } && {
 
16231
         test -z "$ac_c_werror_flag" ||
 
16232
         test ! -s conftest.err
 
16233
       } && test -s conftest.$ac_objext; then
 
16234
  :
 
16235
else
 
16236
  $as_echo "$as_me: failed program was:" >&5
 
16237
sed 's/^/| /' conftest.$ac_ext >&5
 
16238
 
 
16239
        ac_cv_type_size_t=yes
 
16240
fi
 
16241
 
 
16242
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16243
else
 
16244
  $as_echo "$as_me: failed program was:" >&5
 
16245
sed 's/^/| /' conftest.$ac_ext >&5
 
16246
 
 
16247
 
 
16248
fi
 
16249
 
 
16250
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16251
fi
 
16252
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
16253
$as_echo "$ac_cv_type_size_t" >&6; }
 
16254
if test "x$ac_cv_type_size_t" = x""yes; then
23782
16255
  :
23783
16256
else
23784
16257
 
23785
16258
cat >>confdefs.h <<_ACEOF
23786
 
#define size_t unsigned
 
16259
#define size_t unsigned int
23787
16260
_ACEOF
23788
16261
 
23789
16262
fi
23790
16263
 
23791
 
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
23792
 
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
 
16264
{ $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
 
16265
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
23793
16266
if test "${ac_cv_header_time+set}" = set; then
23794
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16267
  $as_echo_n "(cached) " >&6
23795
16268
else
23796
16269
  cat >conftest.$ac_ext <<_ACEOF
23797
16270
/* confdefs.h.  */
23813
16286
}
23814
16287
_ACEOF
23815
16288
rm -f conftest.$ac_objext
23816
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23817
 
  (eval $ac_compile) 2>conftest.er1
 
16289
if { (ac_try="$ac_compile"
 
16290
case "(($ac_try" in
 
16291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16292
  *) ac_try_echo=$ac_try;;
 
16293
esac
 
16294
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16295
$as_echo "$ac_try_echo") >&5
 
16296
  (eval "$ac_compile") 2>conftest.er1
23818
16297
  ac_status=$?
23819
16298
  grep -v '^ *+' conftest.er1 >conftest.err
23820
16299
  rm -f conftest.er1
23821
16300
  cat conftest.err >&5
23822
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823
 
  (exit $ac_status); } &&
23824
 
         { ac_try='test -z "$ac_c_werror_flag"
23825
 
                         || test ! -s conftest.err'
23826
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827
 
  (eval $ac_try) 2>&5
23828
 
  ac_status=$?
23829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830
 
  (exit $ac_status); }; } &&
23831
 
         { ac_try='test -s conftest.$ac_objext'
23832
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23833
 
  (eval $ac_try) 2>&5
23834
 
  ac_status=$?
23835
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836
 
  (exit $ac_status); }; }; then
 
16301
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16302
  (exit $ac_status); } && {
 
16303
         test -z "$ac_c_werror_flag" ||
 
16304
         test ! -s conftest.err
 
16305
       } && test -s conftest.$ac_objext; then
23837
16306
  ac_cv_header_time=yes
23838
16307
else
23839
 
  echo "$as_me: failed program was:" >&5
 
16308
  $as_echo "$as_me: failed program was:" >&5
23840
16309
sed 's/^/| /' conftest.$ac_ext >&5
23841
16310
 
23842
 
ac_cv_header_time=no
23843
 
fi
23844
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23845
 
fi
23846
 
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
23847
 
echo "${ECHO_T}$ac_cv_header_time" >&6
 
16311
        ac_cv_header_time=no
 
16312
fi
 
16313
 
 
16314
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16315
fi
 
16316
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
 
16317
$as_echo "$ac_cv_header_time" >&6; }
23848
16318
if test $ac_cv_header_time = yes; then
23849
16319
 
23850
16320
cat >>confdefs.h <<\_ACEOF
23853
16323
 
23854
16324
fi
23855
16325
 
23856
 
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
23857
 
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
 
16326
{ $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
 
16327
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
23858
16328
if test "${ac_cv_struct_tm+set}" = set; then
23859
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16329
  $as_echo_n "(cached) " >&6
23860
16330
else
23861
16331
  cat >conftest.$ac_ext <<_ACEOF
23862
16332
/* confdefs.h.  */
23870
16340
int
23871
16341
main ()
23872
16342
{
23873
 
struct tm *tp; tp->tm_sec;
 
16343
struct tm tm;
 
16344
                                     int *p = &tm.tm_sec;
 
16345
                                     return !p;
23874
16346
  ;
23875
16347
  return 0;
23876
16348
}
23877
16349
_ACEOF
23878
16350
rm -f conftest.$ac_objext
23879
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23880
 
  (eval $ac_compile) 2>conftest.er1
 
16351
if { (ac_try="$ac_compile"
 
16352
case "(($ac_try" in
 
16353
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16354
  *) ac_try_echo=$ac_try;;
 
16355
esac
 
16356
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16357
$as_echo "$ac_try_echo") >&5
 
16358
  (eval "$ac_compile") 2>conftest.er1
23881
16359
  ac_status=$?
23882
16360
  grep -v '^ *+' conftest.er1 >conftest.err
23883
16361
  rm -f conftest.er1
23884
16362
  cat conftest.err >&5
23885
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886
 
  (exit $ac_status); } &&
23887
 
         { ac_try='test -z "$ac_c_werror_flag"
23888
 
                         || test ! -s conftest.err'
23889
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23890
 
  (eval $ac_try) 2>&5
23891
 
  ac_status=$?
23892
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23893
 
  (exit $ac_status); }; } &&
23894
 
         { ac_try='test -s conftest.$ac_objext'
23895
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23896
 
  (eval $ac_try) 2>&5
23897
 
  ac_status=$?
23898
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23899
 
  (exit $ac_status); }; }; then
 
16363
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16364
  (exit $ac_status); } && {
 
16365
         test -z "$ac_c_werror_flag" ||
 
16366
         test ! -s conftest.err
 
16367
       } && test -s conftest.$ac_objext; then
23900
16368
  ac_cv_struct_tm=time.h
23901
16369
else
23902
 
  echo "$as_me: failed program was:" >&5
 
16370
  $as_echo "$as_me: failed program was:" >&5
23903
16371
sed 's/^/| /' conftest.$ac_ext >&5
23904
16372
 
23905
 
ac_cv_struct_tm=sys/time.h
23906
 
fi
23907
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23908
 
fi
23909
 
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
23910
 
echo "${ECHO_T}$ac_cv_struct_tm" >&6
 
16373
        ac_cv_struct_tm=sys/time.h
 
16374
fi
 
16375
 
 
16376
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16377
fi
 
16378
{ $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
 
16379
$as_echo "$ac_cv_struct_tm" >&6; }
23911
16380
if test $ac_cv_struct_tm = sys/time.h; then
23912
16381
 
23913
16382
cat >>confdefs.h <<\_ACEOF
23916
16385
 
23917
16386
fi
23918
16387
 
23919
 
echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
23920
 
echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
 
16388
{ $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
 
16389
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
23921
16390
if test "${ac_cv_type_uid_t+set}" = set; then
23922
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16391
  $as_echo_n "(cached) " >&6
23923
16392
else
23924
16393
  cat >conftest.$ac_ext <<_ACEOF
23925
16394
/* confdefs.h.  */
23939
16408
rm -f conftest*
23940
16409
 
23941
16410
fi
23942
 
echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
23943
 
echo "${ECHO_T}$ac_cv_type_uid_t" >&6
 
16411
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
 
16412
$as_echo "$ac_cv_type_uid_t" >&6; }
23944
16413
if test $ac_cv_type_uid_t = no; then
23945
16414
 
23946
16415
cat >>confdefs.h <<\_ACEOF
23957
16426
 
23958
16427
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
23959
16428
# for constant arguments.  Useless!
23960
 
echo "$as_me:$LINENO: checking for working alloca.h" >&5
23961
 
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
 
16429
{ $as_echo "$as_me:$LINENO: checking for working alloca.h" >&5
 
16430
$as_echo_n "checking for working alloca.h... " >&6; }
23962
16431
if test "${ac_cv_working_alloca_h+set}" = set; then
23963
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16432
  $as_echo_n "(cached) " >&6
23964
16433
else
23965
16434
  cat >conftest.$ac_ext <<_ACEOF
23966
16435
/* confdefs.h.  */
23973
16442
main ()
23974
16443
{
23975
16444
char *p = (char *) alloca (2 * sizeof (int));
 
16445
                          if (p) return 0;
23976
16446
  ;
23977
16447
  return 0;
23978
16448
}
23979
16449
_ACEOF
23980
16450
rm -f conftest.$ac_objext conftest$ac_exeext
23981
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23982
 
  (eval $ac_link) 2>conftest.er1
 
16451
if { (ac_try="$ac_link"
 
16452
case "(($ac_try" in
 
16453
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16454
  *) ac_try_echo=$ac_try;;
 
16455
esac
 
16456
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16457
$as_echo "$ac_try_echo") >&5
 
16458
  (eval "$ac_link") 2>conftest.er1
23983
16459
  ac_status=$?
23984
16460
  grep -v '^ *+' conftest.er1 >conftest.err
23985
16461
  rm -f conftest.er1
23986
16462
  cat conftest.err >&5
23987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988
 
  (exit $ac_status); } &&
23989
 
         { ac_try='test -z "$ac_c_werror_flag"
23990
 
                         || test ! -s conftest.err'
23991
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23992
 
  (eval $ac_try) 2>&5
23993
 
  ac_status=$?
23994
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995
 
  (exit $ac_status); }; } &&
23996
 
         { ac_try='test -s conftest$ac_exeext'
23997
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998
 
  (eval $ac_try) 2>&5
23999
 
  ac_status=$?
24000
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001
 
  (exit $ac_status); }; }; then
 
16463
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16464
  (exit $ac_status); } && {
 
16465
         test -z "$ac_c_werror_flag" ||
 
16466
         test ! -s conftest.err
 
16467
       } && test -s conftest$ac_exeext && {
 
16468
         test "$cross_compiling" = yes ||
 
16469
         $as_test_x conftest$ac_exeext
 
16470
       }; then
24002
16471
  ac_cv_working_alloca_h=yes
24003
16472
else
24004
 
  echo "$as_me: failed program was:" >&5
 
16473
  $as_echo "$as_me: failed program was:" >&5
24005
16474
sed 's/^/| /' conftest.$ac_ext >&5
24006
16475
 
24007
 
ac_cv_working_alloca_h=no
 
16476
        ac_cv_working_alloca_h=no
24008
16477
fi
24009
 
rm -f conftest.err conftest.$ac_objext \
 
16478
 
 
16479
rm -rf conftest.dSYM
 
16480
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24010
16481
      conftest$ac_exeext conftest.$ac_ext
24011
16482
fi
24012
 
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
24013
 
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
 
16483
{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
 
16484
$as_echo "$ac_cv_working_alloca_h" >&6; }
24014
16485
if test $ac_cv_working_alloca_h = yes; then
24015
16486
 
24016
16487
cat >>confdefs.h <<\_ACEOF
24019
16490
 
24020
16491
fi
24021
16492
 
24022
 
echo "$as_me:$LINENO: checking for alloca" >&5
24023
 
echo $ECHO_N "checking for alloca... $ECHO_C" >&6
 
16493
{ $as_echo "$as_me:$LINENO: checking for alloca" >&5
 
16494
$as_echo_n "checking for alloca... " >&6; }
24024
16495
if test "${ac_cv_func_alloca_works+set}" = set; then
24025
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16496
  $as_echo_n "(cached) " >&6
24026
16497
else
24027
16498
  cat >conftest.$ac_ext <<_ACEOF
24028
16499
/* confdefs.h.  */
24037
16508
#  include <malloc.h>
24038
16509
#  define alloca _alloca
24039
16510
# else
24040
 
#  if HAVE_ALLOCA_H
 
16511
#  ifdef HAVE_ALLOCA_H
24041
16512
#   include <alloca.h>
24042
16513
#  else
24043
16514
#   ifdef _AIX
24055
16526
main ()
24056
16527
{
24057
16528
char *p = (char *) alloca (1);
 
16529
                                    if (p) return 0;
24058
16530
  ;
24059
16531
  return 0;
24060
16532
}
24061
16533
_ACEOF
24062
16534
rm -f conftest.$ac_objext conftest$ac_exeext
24063
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24064
 
  (eval $ac_link) 2>conftest.er1
 
16535
if { (ac_try="$ac_link"
 
16536
case "(($ac_try" in
 
16537
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16538
  *) ac_try_echo=$ac_try;;
 
16539
esac
 
16540
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16541
$as_echo "$ac_try_echo") >&5
 
16542
  (eval "$ac_link") 2>conftest.er1
24065
16543
  ac_status=$?
24066
16544
  grep -v '^ *+' conftest.er1 >conftest.err
24067
16545
  rm -f conftest.er1
24068
16546
  cat conftest.err >&5
24069
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070
 
  (exit $ac_status); } &&
24071
 
         { ac_try='test -z "$ac_c_werror_flag"
24072
 
                         || test ! -s conftest.err'
24073
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24074
 
  (eval $ac_try) 2>&5
24075
 
  ac_status=$?
24076
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077
 
  (exit $ac_status); }; } &&
24078
 
         { ac_try='test -s conftest$ac_exeext'
24079
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24080
 
  (eval $ac_try) 2>&5
24081
 
  ac_status=$?
24082
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083
 
  (exit $ac_status); }; }; then
 
16547
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16548
  (exit $ac_status); } && {
 
16549
         test -z "$ac_c_werror_flag" ||
 
16550
         test ! -s conftest.err
 
16551
       } && test -s conftest$ac_exeext && {
 
16552
         test "$cross_compiling" = yes ||
 
16553
         $as_test_x conftest$ac_exeext
 
16554
       }; then
24084
16555
  ac_cv_func_alloca_works=yes
24085
16556
else
24086
 
  echo "$as_me: failed program was:" >&5
 
16557
  $as_echo "$as_me: failed program was:" >&5
24087
16558
sed 's/^/| /' conftest.$ac_ext >&5
24088
16559
 
24089
 
ac_cv_func_alloca_works=no
 
16560
        ac_cv_func_alloca_works=no
24090
16561
fi
24091
 
rm -f conftest.err conftest.$ac_objext \
 
16562
 
 
16563
rm -rf conftest.dSYM
 
16564
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24092
16565
      conftest$ac_exeext conftest.$ac_ext
24093
16566
fi
24094
 
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
24095
 
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
 
16567
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
 
16568
$as_echo "$ac_cv_func_alloca_works" >&6; }
24096
16569
 
24097
16570
if test $ac_cv_func_alloca_works = yes; then
24098
16571
 
24106
16579
# contain a buggy version.  If you still want to use their alloca,
24107
16580
# use ar to extract alloca.o from them instead of compiling alloca.c.
24108
16581
 
24109
 
ALLOCA=alloca.$ac_objext
 
16582
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
24110
16583
 
24111
16584
cat >>confdefs.h <<\_ACEOF
24112
16585
#define C_ALLOCA 1
24113
16586
_ACEOF
24114
16587
 
24115
16588
 
24116
 
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
24117
 
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
 
16589
{ $as_echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
 
16590
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
24118
16591
if test "${ac_cv_os_cray+set}" = set; then
24119
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16592
  $as_echo_n "(cached) " >&6
24120
16593
else
24121
16594
  cat >conftest.$ac_ext <<_ACEOF
24122
16595
/* confdefs.h.  */
24124
16597
cat confdefs.h >>conftest.$ac_ext
24125
16598
cat >>conftest.$ac_ext <<_ACEOF
24126
16599
/* end confdefs.h.  */
24127
 
#if defined(CRAY) && ! defined(CRAY2)
 
16600
#if defined CRAY && ! defined CRAY2
24128
16601
webecray
24129
16602
#else
24130
16603
wenotbecray
24140
16613
rm -f conftest*
24141
16614
 
24142
16615
fi
24143
 
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
24144
 
echo "${ECHO_T}$ac_cv_os_cray" >&6
 
16616
{ $as_echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
 
16617
$as_echo "$ac_cv_os_cray" >&6; }
24145
16618
if test $ac_cv_os_cray = yes; then
24146
16619
  for ac_func in _getb67 GETB67 getb67; do
24147
 
    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24148
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
24149
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24150
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
24151
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16620
    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
16621
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
16622
$as_echo_n "checking for $ac_func... " >&6; }
 
16623
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
16624
  $as_echo_n "(cached) " >&6
24152
16625
else
24153
16626
  cat >conftest.$ac_ext <<_ACEOF
24154
16627
/* confdefs.h.  */
24173
16646
 
24174
16647
#undef $ac_func
24175
16648
 
24176
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
16649
/* Override any GCC internal prototype to avoid an error.
 
16650
   Use char because int might match the return type of a GCC
 
16651
   builtin and then its argument prototype would still apply.  */
24177
16652
#ifdef __cplusplus
24178
16653
extern "C"
24179
 
{
24180
16654
#endif
24181
 
/* We use char because int might match the return type of a gcc2
24182
 
   builtin and then its argument prototype would still apply.  */
24183
16655
char $ac_func ();
24184
16656
/* The GNU C library defines this for functions which it implements
24185
16657
    to always fail with ENOSYS.  Some functions are actually named
24186
16658
    something starting with __ and the normal name is an alias.  */
24187
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
16659
#if defined __stub_$ac_func || defined __stub___$ac_func
24188
16660
choke me
24189
 
#else
24190
 
char (*f) () = $ac_func;
24191
 
#endif
24192
 
#ifdef __cplusplus
24193
 
}
24194
16661
#endif
24195
16662
 
24196
16663
int
24197
16664
main ()
24198
16665
{
24199
 
return f != $ac_func;
 
16666
return $ac_func ();
24200
16667
  ;
24201
16668
  return 0;
24202
16669
}
24203
16670
_ACEOF
24204
16671
rm -f conftest.$ac_objext conftest$ac_exeext
24205
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24206
 
  (eval $ac_link) 2>conftest.er1
 
16672
if { (ac_try="$ac_link"
 
16673
case "(($ac_try" in
 
16674
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16675
  *) ac_try_echo=$ac_try;;
 
16676
esac
 
16677
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16678
$as_echo "$ac_try_echo") >&5
 
16679
  (eval "$ac_link") 2>conftest.er1
24207
16680
  ac_status=$?
24208
16681
  grep -v '^ *+' conftest.er1 >conftest.err
24209
16682
  rm -f conftest.er1
24210
16683
  cat conftest.err >&5
24211
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212
 
  (exit $ac_status); } &&
24213
 
         { ac_try='test -z "$ac_c_werror_flag"
24214
 
                         || test ! -s conftest.err'
24215
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24216
 
  (eval $ac_try) 2>&5
24217
 
  ac_status=$?
24218
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219
 
  (exit $ac_status); }; } &&
24220
 
         { ac_try='test -s conftest$ac_exeext'
24221
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24222
 
  (eval $ac_try) 2>&5
24223
 
  ac_status=$?
24224
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225
 
  (exit $ac_status); }; }; then
 
16684
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16685
  (exit $ac_status); } && {
 
16686
         test -z "$ac_c_werror_flag" ||
 
16687
         test ! -s conftest.err
 
16688
       } && test -s conftest$ac_exeext && {
 
16689
         test "$cross_compiling" = yes ||
 
16690
         $as_test_x conftest$ac_exeext
 
16691
       }; then
24226
16692
  eval "$as_ac_var=yes"
24227
16693
else
24228
 
  echo "$as_me: failed program was:" >&5
 
16694
  $as_echo "$as_me: failed program was:" >&5
24229
16695
sed 's/^/| /' conftest.$ac_ext >&5
24230
16696
 
24231
 
eval "$as_ac_var=no"
 
16697
        eval "$as_ac_var=no"
24232
16698
fi
24233
 
rm -f conftest.err conftest.$ac_objext \
 
16699
 
 
16700
rm -rf conftest.dSYM
 
16701
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24234
16702
      conftest$ac_exeext conftest.$ac_ext
24235
16703
fi
24236
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24237
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24238
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
16704
ac_res=`eval 'as_val=${'$as_ac_var'}
 
16705
                 $as_echo "$as_val"'`
 
16706
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
16707
$as_echo "$ac_res" >&6; }
 
16708
as_val=`eval 'as_val=${'$as_ac_var'}
 
16709
                 $as_echo "$as_val"'`
 
16710
   if test "x$as_val" = x""yes; then
24239
16711
 
24240
16712
cat >>confdefs.h <<_ACEOF
24241
16713
#define CRAY_STACKSEG_END $ac_func
24247
16719
  done
24248
16720
fi
24249
16721
 
24250
 
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
24251
 
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
 
16722
{ $as_echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
 
16723
$as_echo_n "checking stack direction for C alloca... " >&6; }
24252
16724
if test "${ac_cv_c_stack_direction+set}" = set; then
24253
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16725
  $as_echo_n "(cached) " >&6
24254
16726
else
24255
16727
  if test "$cross_compiling" = yes; then
24256
16728
  ac_cv_c_stack_direction=0
24261
16733
cat confdefs.h >>conftest.$ac_ext
24262
16734
cat >>conftest.$ac_ext <<_ACEOF
24263
16735
/* end confdefs.h.  */
 
16736
$ac_includes_default
24264
16737
int
24265
16738
find_stack_direction ()
24266
16739
{
24278
16751
int
24279
16752
main ()
24280
16753
{
24281
 
  exit (find_stack_direction () < 0);
 
16754
  return find_stack_direction () < 0;
24282
16755
}
24283
16756
_ACEOF
24284
16757
rm -f conftest$ac_exeext
24285
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24286
 
  (eval $ac_link) 2>&5
 
16758
if { (ac_try="$ac_link"
 
16759
case "(($ac_try" in
 
16760
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16761
  *) ac_try_echo=$ac_try;;
 
16762
esac
 
16763
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16764
$as_echo "$ac_try_echo") >&5
 
16765
  (eval "$ac_link") 2>&5
24287
16766
  ac_status=$?
24288
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16767
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289
16768
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24290
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24291
 
  (eval $ac_try) 2>&5
 
16769
  { (case "(($ac_try" in
 
16770
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16771
  *) ac_try_echo=$ac_try;;
 
16772
esac
 
16773
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16774
$as_echo "$ac_try_echo") >&5
 
16775
  (eval "$ac_try") 2>&5
24292
16776
  ac_status=$?
24293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16777
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294
16778
  (exit $ac_status); }; }; then
24295
16779
  ac_cv_c_stack_direction=1
24296
16780
else
24297
 
  echo "$as_me: program exited with status $ac_status" >&5
24298
 
echo "$as_me: failed program was:" >&5
 
16781
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
16782
$as_echo "$as_me: failed program was:" >&5
24299
16783
sed 's/^/| /' conftest.$ac_ext >&5
24300
16784
 
24301
16785
( exit $ac_status )
24302
16786
ac_cv_c_stack_direction=-1
24303
16787
fi
24304
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24305
 
fi
24306
 
fi
24307
 
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
24308
 
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
 
16788
rm -rf conftest.dSYM
 
16789
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
16790
fi
 
16791
 
 
16792
 
 
16793
fi
 
16794
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
 
16795
$as_echo "$ac_cv_c_stack_direction" >&6; }
24309
16796
 
24310
16797
cat >>confdefs.h <<_ACEOF
24311
16798
#define STACK_DIRECTION $ac_cv_c_stack_direction
24314
16801
 
24315
16802
fi
24316
16803
 
24317
 
echo "$as_me:$LINENO: checking for working memcmp" >&5
24318
 
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
 
16804
{ $as_echo "$as_me:$LINENO: checking for working memcmp" >&5
 
16805
$as_echo_n "checking for working memcmp... " >&6; }
24319
16806
if test "${ac_cv_func_memcmp_working+set}" = set; then
24320
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16807
  $as_echo_n "(cached) " >&6
24321
16808
else
24322
16809
  if test "$cross_compiling" = yes; then
24323
16810
  ac_cv_func_memcmp_working=no
24334
16821
{
24335
16822
 
24336
16823
  /* Some versions of memcmp are not 8-bit clean.  */
24337
 
  char c0 = 0x40, c1 = 0x80, c2 = 0x81;
 
16824
  char c0 = '\100', c1 = '\200', c2 = '\201';
24338
16825
  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
24339
 
    exit (1);
 
16826
    return 1;
24340
16827
 
24341
16828
  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
24342
16829
     or more and with at least one buffer not starting on a 4-byte boundary.
24352
16839
        strcpy (a, "--------01111111");
24353
16840
        strcpy (b, "--------10000000");
24354
16841
        if (memcmp (a, b, 16) >= 0)
24355
 
          exit (1);
 
16842
          return 1;
24356
16843
      }
24357
 
    exit (0);
 
16844
    return 0;
24358
16845
  }
24359
16846
 
24360
16847
  ;
24362
16849
}
24363
16850
_ACEOF
24364
16851
rm -f conftest$ac_exeext
24365
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24366
 
  (eval $ac_link) 2>&5
 
16852
if { (ac_try="$ac_link"
 
16853
case "(($ac_try" in
 
16854
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16855
  *) ac_try_echo=$ac_try;;
 
16856
esac
 
16857
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16858
$as_echo "$ac_try_echo") >&5
 
16859
  (eval "$ac_link") 2>&5
24367
16860
  ac_status=$?
24368
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16861
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369
16862
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24370
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24371
 
  (eval $ac_try) 2>&5
 
16863
  { (case "(($ac_try" in
 
16864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16865
  *) ac_try_echo=$ac_try;;
 
16866
esac
 
16867
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16868
$as_echo "$ac_try_echo") >&5
 
16869
  (eval "$ac_try") 2>&5
24372
16870
  ac_status=$?
24373
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16871
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374
16872
  (exit $ac_status); }; }; then
24375
16873
  ac_cv_func_memcmp_working=yes
24376
16874
else
24377
 
  echo "$as_me: program exited with status $ac_status" >&5
24378
 
echo "$as_me: failed program was:" >&5
 
16875
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
16876
$as_echo "$as_me: failed program was:" >&5
24379
16877
sed 's/^/| /' conftest.$ac_ext >&5
24380
16878
 
24381
16879
( exit $ac_status )
24382
16880
ac_cv_func_memcmp_working=no
24383
16881
fi
24384
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24385
 
fi
24386
 
fi
24387
 
echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
24388
 
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
24389
 
test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
24390
 
    "memcmp.$ac_objext"   | \
24391
 
  *" memcmp.$ac_objext"   | \
24392
 
    "memcmp.$ac_objext "* | \
 
16882
rm -rf conftest.dSYM
 
16883
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
16884
fi
 
16885
 
 
16886
 
 
16887
fi
 
16888
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
 
16889
$as_echo "$ac_cv_func_memcmp_working" >&6; }
 
16890
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
24393
16891
  *" memcmp.$ac_objext "* ) ;;
24394
 
  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
 
16892
  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
 
16893
 ;;
24395
16894
esac
24396
16895
 
24397
16896
 
24398
 
echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
24399
 
echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
 
16897
{ $as_echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
 
16898
$as_echo_n "checking whether setpgrp takes no argument... " >&6; }
24400
16899
if test "${ac_cv_func_setpgrp_void+set}" = set; then
24401
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16900
  $as_echo_n "(cached) " >&6
24402
16901
else
24403
16902
  if test "$cross_compiling" = yes; then
24404
 
  { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
24405
 
echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
 
16903
  { { $as_echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
 
16904
$as_echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
24406
16905
   { (exit 1); exit 1; }; }
24407
16906
else
24408
16907
  cat >conftest.$ac_ext <<_ACEOF
24411
16910
cat confdefs.h >>conftest.$ac_ext
24412
16911
cat >>conftest.$ac_ext <<_ACEOF
24413
16912
/* end confdefs.h.  */
24414
 
#if HAVE_UNISTD_H
24415
 
# include <unistd.h>
24416
 
#endif
24417
 
 
 
16913
$ac_includes_default
24418
16914
int
24419
16915
main ()
24420
16916
{
24421
16917
/* If this system has a BSD-style setpgrp which takes arguments,
24422
16918
  setpgrp(1, 1) will fail with ESRCH and return -1, in that case
24423
16919
  exit successfully. */
24424
 
  exit (setpgrp (1,1) == -1 ? 0 : 1);
 
16920
  return setpgrp (1,1) != -1;
24425
16921
  ;
24426
16922
  return 0;
24427
16923
}
24428
16924
_ACEOF
24429
16925
rm -f conftest$ac_exeext
24430
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24431
 
  (eval $ac_link) 2>&5
 
16926
if { (ac_try="$ac_link"
 
16927
case "(($ac_try" in
 
16928
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16929
  *) ac_try_echo=$ac_try;;
 
16930
esac
 
16931
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16932
$as_echo "$ac_try_echo") >&5
 
16933
  (eval "$ac_link") 2>&5
24432
16934
  ac_status=$?
24433
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16935
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434
16936
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24435
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24436
 
  (eval $ac_try) 2>&5
 
16937
  { (case "(($ac_try" in
 
16938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16939
  *) ac_try_echo=$ac_try;;
 
16940
esac
 
16941
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
16942
$as_echo "$ac_try_echo") >&5
 
16943
  (eval "$ac_try") 2>&5
24437
16944
  ac_status=$?
24438
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
16945
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439
16946
  (exit $ac_status); }; }; then
24440
16947
  ac_cv_func_setpgrp_void=no
24441
16948
else
24442
 
  echo "$as_me: program exited with status $ac_status" >&5
24443
 
echo "$as_me: failed program was:" >&5
 
16949
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
16950
$as_echo "$as_me: failed program was:" >&5
24444
16951
sed 's/^/| /' conftest.$ac_ext >&5
24445
16952
 
24446
16953
( exit $ac_status )
24447
16954
ac_cv_func_setpgrp_void=yes
24448
16955
fi
24449
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24450
 
fi
24451
 
fi
24452
 
echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
24453
 
echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
 
16956
rm -rf conftest.dSYM
 
16957
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
16958
fi
 
16959
 
 
16960
 
 
16961
fi
 
16962
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
 
16963
$as_echo "$ac_cv_func_setpgrp_void" >&6; }
24454
16964
if test $ac_cv_func_setpgrp_void = yes; then
24455
16965
 
24456
16966
cat >>confdefs.h <<\_ACEOF
24459
16969
 
24460
16970
fi
24461
16971
 
24462
 
echo "$as_me:$LINENO: checking return type of signal handlers" >&5
24463
 
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
 
16972
{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
 
16973
$as_echo_n "checking return type of signal handlers... " >&6; }
24464
16974
if test "${ac_cv_type_signal+set}" = set; then
24465
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
16975
  $as_echo_n "(cached) " >&6
24466
16976
else
24467
16977
  cat >conftest.$ac_ext <<_ACEOF
24468
16978
/* confdefs.h.  */
24472
16982
/* end confdefs.h.  */
24473
16983
#include <sys/types.h>
24474
16984
#include <signal.h>
24475
 
#ifdef signal
24476
 
# undef signal
24477
 
#endif
24478
 
#ifdef __cplusplus
24479
 
extern "C" void (*signal (int, void (*)(int)))(int);
24480
 
#else
24481
 
void (*signal ()) ();
24482
 
#endif
24483
16985
 
24484
16986
int
24485
16987
main ()
24486
16988
{
24487
 
int i;
 
16989
return *(signal (0, 0)) (0) == 1;
24488
16990
  ;
24489
16991
  return 0;
24490
16992
}
24491
16993
_ACEOF
24492
16994
rm -f conftest.$ac_objext
24493
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24494
 
  (eval $ac_compile) 2>conftest.er1
 
16995
if { (ac_try="$ac_compile"
 
16996
case "(($ac_try" in
 
16997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
16998
  *) ac_try_echo=$ac_try;;
 
16999
esac
 
17000
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17001
$as_echo "$ac_try_echo") >&5
 
17002
  (eval "$ac_compile") 2>conftest.er1
24495
17003
  ac_status=$?
24496
17004
  grep -v '^ *+' conftest.er1 >conftest.err
24497
17005
  rm -f conftest.er1
24498
17006
  cat conftest.err >&5
24499
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500
 
  (exit $ac_status); } &&
24501
 
         { ac_try='test -z "$ac_c_werror_flag"
24502
 
                         || test ! -s conftest.err'
24503
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504
 
  (eval $ac_try) 2>&5
24505
 
  ac_status=$?
24506
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507
 
  (exit $ac_status); }; } &&
24508
 
         { ac_try='test -s conftest.$ac_objext'
24509
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24510
 
  (eval $ac_try) 2>&5
24511
 
  ac_status=$?
24512
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513
 
  (exit $ac_status); }; }; then
24514
 
  ac_cv_type_signal=void
 
17007
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17008
  (exit $ac_status); } && {
 
17009
         test -z "$ac_c_werror_flag" ||
 
17010
         test ! -s conftest.err
 
17011
       } && test -s conftest.$ac_objext; then
 
17012
  ac_cv_type_signal=int
24515
17013
else
24516
 
  echo "$as_me: failed program was:" >&5
 
17014
  $as_echo "$as_me: failed program was:" >&5
24517
17015
sed 's/^/| /' conftest.$ac_ext >&5
24518
17016
 
24519
 
ac_cv_type_signal=int
24520
 
fi
24521
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24522
 
fi
24523
 
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
24524
 
echo "${ECHO_T}$ac_cv_type_signal" >&6
 
17017
        ac_cv_type_signal=void
 
17018
fi
 
17019
 
 
17020
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17021
fi
 
17022
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
 
17023
$as_echo "$ac_cv_type_signal" >&6; }
24525
17024
 
24526
17025
cat >>confdefs.h <<_ACEOF
24527
17026
#define RETSIGTYPE $ac_cv_type_signal
24528
17027
_ACEOF
24529
17028
 
24530
17029
 
24531
 
echo "$as_me:$LINENO: checking for working strcoll" >&5
24532
 
echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6
 
17030
{ $as_echo "$as_me:$LINENO: checking for working strcoll" >&5
 
17031
$as_echo_n "checking for working strcoll... " >&6; }
24533
17032
if test "${ac_cv_func_strcoll_works+set}" = set; then
24534
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17033
  $as_echo_n "(cached) " >&6
24535
17034
else
24536
17035
  if test "$cross_compiling" = yes; then
24537
17036
  ac_cv_func_strcoll_works=no
24546
17045
int
24547
17046
main ()
24548
17047
{
24549
 
exit (strcoll ("abc", "def") >= 0 ||
 
17048
return (strcoll ("abc", "def") >= 0 ||
24550
17049
         strcoll ("ABC", "DEF") >= 0 ||
24551
17050
         strcoll ("123", "456") >= 0)
24552
17051
  ;
24554
17053
}
24555
17054
_ACEOF
24556
17055
rm -f conftest$ac_exeext
24557
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24558
 
  (eval $ac_link) 2>&5
 
17056
if { (ac_try="$ac_link"
 
17057
case "(($ac_try" in
 
17058
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17059
  *) ac_try_echo=$ac_try;;
 
17060
esac
 
17061
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17062
$as_echo "$ac_try_echo") >&5
 
17063
  (eval "$ac_link") 2>&5
24559
17064
  ac_status=$?
24560
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17065
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561
17066
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24562
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24563
 
  (eval $ac_try) 2>&5
 
17067
  { (case "(($ac_try" in
 
17068
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17069
  *) ac_try_echo=$ac_try;;
 
17070
esac
 
17071
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17072
$as_echo "$ac_try_echo") >&5
 
17073
  (eval "$ac_try") 2>&5
24564
17074
  ac_status=$?
24565
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17075
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566
17076
  (exit $ac_status); }; }; then
24567
17077
  ac_cv_func_strcoll_works=yes
24568
17078
else
24569
 
  echo "$as_me: program exited with status $ac_status" >&5
24570
 
echo "$as_me: failed program was:" >&5
 
17079
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
17080
$as_echo "$as_me: failed program was:" >&5
24571
17081
sed 's/^/| /' conftest.$ac_ext >&5
24572
17082
 
24573
17083
( exit $ac_status )
24574
17084
ac_cv_func_strcoll_works=no
24575
17085
fi
24576
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24577
 
fi
24578
 
fi
24579
 
echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
24580
 
echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6
 
17086
rm -rf conftest.dSYM
 
17087
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
17088
fi
 
17089
 
 
17090
 
 
17091
fi
 
17092
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
 
17093
$as_echo "$ac_cv_func_strcoll_works" >&6; }
24581
17094
if test $ac_cv_func_strcoll_works = yes; then
24582
17095
 
24583
17096
cat >>confdefs.h <<\_ACEOF
24589
17102
 
24590
17103
for ac_func in strftime
24591
17104
do
24592
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24593
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
24594
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24595
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
24596
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17105
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
17106
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
17107
$as_echo_n "checking for $ac_func... " >&6; }
 
17108
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
17109
  $as_echo_n "(cached) " >&6
24597
17110
else
24598
17111
  cat >conftest.$ac_ext <<_ACEOF
24599
17112
/* confdefs.h.  */
24618
17131
 
24619
17132
#undef $ac_func
24620
17133
 
24621
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
17134
/* Override any GCC internal prototype to avoid an error.
 
17135
   Use char because int might match the return type of a GCC
 
17136
   builtin and then its argument prototype would still apply.  */
24622
17137
#ifdef __cplusplus
24623
17138
extern "C"
24624
 
{
24625
17139
#endif
24626
 
/* We use char because int might match the return type of a gcc2
24627
 
   builtin and then its argument prototype would still apply.  */
24628
17140
char $ac_func ();
24629
17141
/* The GNU C library defines this for functions which it implements
24630
17142
    to always fail with ENOSYS.  Some functions are actually named
24631
17143
    something starting with __ and the normal name is an alias.  */
24632
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
17144
#if defined __stub_$ac_func || defined __stub___$ac_func
24633
17145
choke me
24634
 
#else
24635
 
char (*f) () = $ac_func;
24636
 
#endif
24637
 
#ifdef __cplusplus
24638
 
}
24639
17146
#endif
24640
17147
 
24641
17148
int
24642
17149
main ()
24643
17150
{
24644
 
return f != $ac_func;
 
17151
return $ac_func ();
24645
17152
  ;
24646
17153
  return 0;
24647
17154
}
24648
17155
_ACEOF
24649
17156
rm -f conftest.$ac_objext conftest$ac_exeext
24650
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24651
 
  (eval $ac_link) 2>conftest.er1
 
17157
if { (ac_try="$ac_link"
 
17158
case "(($ac_try" in
 
17159
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17160
  *) ac_try_echo=$ac_try;;
 
17161
esac
 
17162
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17163
$as_echo "$ac_try_echo") >&5
 
17164
  (eval "$ac_link") 2>conftest.er1
24652
17165
  ac_status=$?
24653
17166
  grep -v '^ *+' conftest.er1 >conftest.err
24654
17167
  rm -f conftest.er1
24655
17168
  cat conftest.err >&5
24656
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657
 
  (exit $ac_status); } &&
24658
 
         { ac_try='test -z "$ac_c_werror_flag"
24659
 
                         || test ! -s conftest.err'
24660
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24661
 
  (eval $ac_try) 2>&5
24662
 
  ac_status=$?
24663
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664
 
  (exit $ac_status); }; } &&
24665
 
         { ac_try='test -s conftest$ac_exeext'
24666
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24667
 
  (eval $ac_try) 2>&5
24668
 
  ac_status=$?
24669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670
 
  (exit $ac_status); }; }; then
 
17169
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17170
  (exit $ac_status); } && {
 
17171
         test -z "$ac_c_werror_flag" ||
 
17172
         test ! -s conftest.err
 
17173
       } && test -s conftest$ac_exeext && {
 
17174
         test "$cross_compiling" = yes ||
 
17175
         $as_test_x conftest$ac_exeext
 
17176
       }; then
24671
17177
  eval "$as_ac_var=yes"
24672
17178
else
24673
 
  echo "$as_me: failed program was:" >&5
 
17179
  $as_echo "$as_me: failed program was:" >&5
24674
17180
sed 's/^/| /' conftest.$ac_ext >&5
24675
17181
 
24676
 
eval "$as_ac_var=no"
 
17182
        eval "$as_ac_var=no"
24677
17183
fi
24678
 
rm -f conftest.err conftest.$ac_objext \
 
17184
 
 
17185
rm -rf conftest.dSYM
 
17186
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24679
17187
      conftest$ac_exeext conftest.$ac_ext
24680
17188
fi
24681
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24682
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24683
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
17189
ac_res=`eval 'as_val=${'$as_ac_var'}
 
17190
                 $as_echo "$as_val"'`
 
17191
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
17192
$as_echo "$ac_res" >&6; }
 
17193
as_val=`eval 'as_val=${'$as_ac_var'}
 
17194
                 $as_echo "$as_val"'`
 
17195
   if test "x$as_val" = x""yes; then
24684
17196
  cat >>confdefs.h <<_ACEOF
24685
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
17197
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24686
17198
_ACEOF
24687
17199
 
24688
17200
else
24689
17201
  # strftime is in -lintl on SCO UNIX.
24690
 
echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
24691
 
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
 
17202
{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
 
17203
$as_echo_n "checking for strftime in -lintl... " >&6; }
24692
17204
if test "${ac_cv_lib_intl_strftime+set}" = set; then
24693
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17205
  $as_echo_n "(cached) " >&6
24694
17206
else
24695
17207
  ac_check_lib_save_LIBS=$LIBS
24696
17208
LIBS="-lintl  $LIBS"
24701
17213
cat >>conftest.$ac_ext <<_ACEOF
24702
17214
/* end confdefs.h.  */
24703
17215
 
24704
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
17216
/* Override any GCC internal prototype to avoid an error.
 
17217
   Use char because int might match the return type of a GCC
 
17218
   builtin and then its argument prototype would still apply.  */
24705
17219
#ifdef __cplusplus
24706
17220
extern "C"
24707
17221
#endif
24708
 
/* We use char because int might match the return type of a gcc2
24709
 
   builtin and then its argument prototype would still apply.  */
24710
17222
char strftime ();
24711
17223
int
24712
17224
main ()
24713
17225
{
24714
 
strftime ();
 
17226
return strftime ();
24715
17227
  ;
24716
17228
  return 0;
24717
17229
}
24718
17230
_ACEOF
24719
17231
rm -f conftest.$ac_objext conftest$ac_exeext
24720
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24721
 
  (eval $ac_link) 2>conftest.er1
 
17232
if { (ac_try="$ac_link"
 
17233
case "(($ac_try" in
 
17234
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17235
  *) ac_try_echo=$ac_try;;
 
17236
esac
 
17237
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17238
$as_echo "$ac_try_echo") >&5
 
17239
  (eval "$ac_link") 2>conftest.er1
24722
17240
  ac_status=$?
24723
17241
  grep -v '^ *+' conftest.er1 >conftest.err
24724
17242
  rm -f conftest.er1
24725
17243
  cat conftest.err >&5
24726
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727
 
  (exit $ac_status); } &&
24728
 
         { ac_try='test -z "$ac_c_werror_flag"
24729
 
                         || test ! -s conftest.err'
24730
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731
 
  (eval $ac_try) 2>&5
24732
 
  ac_status=$?
24733
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734
 
  (exit $ac_status); }; } &&
24735
 
         { ac_try='test -s conftest$ac_exeext'
24736
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24737
 
  (eval $ac_try) 2>&5
24738
 
  ac_status=$?
24739
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740
 
  (exit $ac_status); }; }; then
 
17244
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17245
  (exit $ac_status); } && {
 
17246
         test -z "$ac_c_werror_flag" ||
 
17247
         test ! -s conftest.err
 
17248
       } && test -s conftest$ac_exeext && {
 
17249
         test "$cross_compiling" = yes ||
 
17250
         $as_test_x conftest$ac_exeext
 
17251
       }; then
24741
17252
  ac_cv_lib_intl_strftime=yes
24742
17253
else
24743
 
  echo "$as_me: failed program was:" >&5
 
17254
  $as_echo "$as_me: failed program was:" >&5
24744
17255
sed 's/^/| /' conftest.$ac_ext >&5
24745
17256
 
24746
 
ac_cv_lib_intl_strftime=no
 
17257
        ac_cv_lib_intl_strftime=no
24747
17258
fi
24748
 
rm -f conftest.err conftest.$ac_objext \
 
17259
 
 
17260
rm -rf conftest.dSYM
 
17261
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24749
17262
      conftest$ac_exeext conftest.$ac_ext
24750
17263
LIBS=$ac_check_lib_save_LIBS
24751
17264
fi
24752
 
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
24753
 
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
24754
 
if test $ac_cv_lib_intl_strftime = yes; then
 
17265
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
 
17266
$as_echo "$ac_cv_lib_intl_strftime" >&6; }
 
17267
if test "x$ac_cv_lib_intl_strftime" = x""yes; then
24755
17268
  cat >>confdefs.h <<\_ACEOF
24756
17269
#define HAVE_STRFTIME 1
24757
17270
_ACEOF
24763
17276
done
24764
17277
 
24765
17278
 
24766
 
 
24767
 
for ac_header in unistd.h vfork.h
 
17279
for ac_header in vfork.h
24768
17280
do
24769
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24770
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24771
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
24772
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24773
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24774
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17281
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
17282
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
17283
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
17284
$as_echo_n "checking for $ac_header... " >&6; }
 
17285
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
17286
  $as_echo_n "(cached) " >&6
24775
17287
fi
24776
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24777
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
17288
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
17289
                 $as_echo "$as_val"'`
 
17290
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
17291
$as_echo "$ac_res" >&6; }
24778
17292
else
24779
17293
  # Is the header compilable?
24780
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
24781
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
17294
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
17295
$as_echo_n "checking $ac_header usability... " >&6; }
24782
17296
cat >conftest.$ac_ext <<_ACEOF
24783
17297
/* confdefs.h.  */
24784
17298
_ACEOF
24789
17303
#include <$ac_header>
24790
17304
_ACEOF
24791
17305
rm -f conftest.$ac_objext
24792
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24793
 
  (eval $ac_compile) 2>conftest.er1
 
17306
if { (ac_try="$ac_compile"
 
17307
case "(($ac_try" in
 
17308
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17309
  *) ac_try_echo=$ac_try;;
 
17310
esac
 
17311
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17312
$as_echo "$ac_try_echo") >&5
 
17313
  (eval "$ac_compile") 2>conftest.er1
24794
17314
  ac_status=$?
24795
17315
  grep -v '^ *+' conftest.er1 >conftest.err
24796
17316
  rm -f conftest.er1
24797
17317
  cat conftest.err >&5
24798
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799
 
  (exit $ac_status); } &&
24800
 
         { ac_try='test -z "$ac_c_werror_flag"
24801
 
                         || test ! -s conftest.err'
24802
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803
 
  (eval $ac_try) 2>&5
24804
 
  ac_status=$?
24805
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806
 
  (exit $ac_status); }; } &&
24807
 
         { ac_try='test -s conftest.$ac_objext'
24808
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809
 
  (eval $ac_try) 2>&5
24810
 
  ac_status=$?
24811
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812
 
  (exit $ac_status); }; }; then
 
17318
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17319
  (exit $ac_status); } && {
 
17320
         test -z "$ac_c_werror_flag" ||
 
17321
         test ! -s conftest.err
 
17322
       } && test -s conftest.$ac_objext; then
24813
17323
  ac_header_compiler=yes
24814
17324
else
24815
 
  echo "$as_me: failed program was:" >&5
 
17325
  $as_echo "$as_me: failed program was:" >&5
24816
17326
sed 's/^/| /' conftest.$ac_ext >&5
24817
17327
 
24818
 
ac_header_compiler=no
 
17328
        ac_header_compiler=no
24819
17329
fi
24820
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24821
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24822
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
17330
 
 
17331
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
17332
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
17333
$as_echo "$ac_header_compiler" >&6; }
24823
17334
 
24824
17335
# Is the header present?
24825
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
24826
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
17336
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
17337
$as_echo_n "checking $ac_header presence... " >&6; }
24827
17338
cat >conftest.$ac_ext <<_ACEOF
24828
17339
/* confdefs.h.  */
24829
17340
_ACEOF
24832
17343
/* end confdefs.h.  */
24833
17344
#include <$ac_header>
24834
17345
_ACEOF
24835
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24836
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
17346
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
17347
case "(($ac_try" in
 
17348
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17349
  *) ac_try_echo=$ac_try;;
 
17350
esac
 
17351
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17352
$as_echo "$ac_try_echo") >&5
 
17353
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24837
17354
  ac_status=$?
24838
17355
  grep -v '^ *+' conftest.er1 >conftest.err
24839
17356
  rm -f conftest.er1
24840
17357
  cat conftest.err >&5
24841
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842
 
  (exit $ac_status); } >/dev/null; then
24843
 
  if test -s conftest.err; then
24844
 
    ac_cpp_err=$ac_c_preproc_warn_flag
24845
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24846
 
  else
24847
 
    ac_cpp_err=
24848
 
  fi
24849
 
else
24850
 
  ac_cpp_err=yes
24851
 
fi
24852
 
if test -z "$ac_cpp_err"; then
 
17358
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17359
  (exit $ac_status); } >/dev/null && {
 
17360
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
17361
         test ! -s conftest.err
 
17362
       }; then
24853
17363
  ac_header_preproc=yes
24854
17364
else
24855
 
  echo "$as_me: failed program was:" >&5
 
17365
  $as_echo "$as_me: failed program was:" >&5
24856
17366
sed 's/^/| /' conftest.$ac_ext >&5
24857
17367
 
24858
17368
  ac_header_preproc=no
24859
17369
fi
 
17370
 
24860
17371
rm -f conftest.err conftest.$ac_ext
24861
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24862
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
17372
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
17373
$as_echo "$ac_header_preproc" >&6; }
24863
17374
 
24864
17375
# So?  What about this header?
24865
17376
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24866
17377
  yes:no: )
24867
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24868
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24869
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24870
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
17378
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
17379
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
17380
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
17381
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24871
17382
    ac_header_preproc=yes
24872
17383
    ;;
24873
17384
  no:yes:* )
24874
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24875
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24876
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
24877
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
24878
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24879
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24880
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
24881
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
24882
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24883
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24884
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24885
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24886
 
    (
24887
 
      cat <<\_ASBOX
24888
 
## ------------------------------------------ ##
24889
 
## Report this to the AC_PACKAGE_NAME lists.  ##
24890
 
## ------------------------------------------ ##
24891
 
_ASBOX
24892
 
    ) |
24893
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
17385
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
17386
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
17387
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
17388
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
17389
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
17390
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
17391
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
17392
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
17393
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
17394
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
17395
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
17396
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
17397
 
24894
17398
    ;;
24895
17399
esac
24896
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
24897
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24898
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
24899
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17400
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
17401
$as_echo_n "checking for $ac_header... " >&6; }
 
17402
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
17403
  $as_echo_n "(cached) " >&6
24900
17404
else
24901
17405
  eval "$as_ac_Header=\$ac_header_preproc"
24902
17406
fi
24903
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24904
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
17407
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
17408
                 $as_echo "$as_val"'`
 
17409
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
17410
$as_echo "$ac_res" >&6; }
24905
17411
 
24906
17412
fi
24907
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
17413
as_val=`eval 'as_val=${'$as_ac_Header'}
 
17414
                 $as_echo "$as_val"'`
 
17415
   if test "x$as_val" = x""yes; then
24908
17416
  cat >>confdefs.h <<_ACEOF
24909
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
17417
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24910
17418
_ACEOF
24911
17419
 
24912
17420
fi
24917
17425
 
24918
17426
for ac_func in fork vfork
24919
17427
do
24920
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24921
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
24922
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24923
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
24924
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17428
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
17429
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
17430
$as_echo_n "checking for $ac_func... " >&6; }
 
17431
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
17432
  $as_echo_n "(cached) " >&6
24925
17433
else
24926
17434
  cat >conftest.$ac_ext <<_ACEOF
24927
17435
/* confdefs.h.  */
24946
17454
 
24947
17455
#undef $ac_func
24948
17456
 
24949
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
17457
/* Override any GCC internal prototype to avoid an error.
 
17458
   Use char because int might match the return type of a GCC
 
17459
   builtin and then its argument prototype would still apply.  */
24950
17460
#ifdef __cplusplus
24951
17461
extern "C"
24952
 
{
24953
17462
#endif
24954
 
/* We use char because int might match the return type of a gcc2
24955
 
   builtin and then its argument prototype would still apply.  */
24956
17463
char $ac_func ();
24957
17464
/* The GNU C library defines this for functions which it implements
24958
17465
    to always fail with ENOSYS.  Some functions are actually named
24959
17466
    something starting with __ and the normal name is an alias.  */
24960
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
17467
#if defined __stub_$ac_func || defined __stub___$ac_func
24961
17468
choke me
24962
 
#else
24963
 
char (*f) () = $ac_func;
24964
 
#endif
24965
 
#ifdef __cplusplus
24966
 
}
24967
17469
#endif
24968
17470
 
24969
17471
int
24970
17472
main ()
24971
17473
{
24972
 
return f != $ac_func;
 
17474
return $ac_func ();
24973
17475
  ;
24974
17476
  return 0;
24975
17477
}
24976
17478
_ACEOF
24977
17479
rm -f conftest.$ac_objext conftest$ac_exeext
24978
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24979
 
  (eval $ac_link) 2>conftest.er1
 
17480
if { (ac_try="$ac_link"
 
17481
case "(($ac_try" in
 
17482
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17483
  *) ac_try_echo=$ac_try;;
 
17484
esac
 
17485
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17486
$as_echo "$ac_try_echo") >&5
 
17487
  (eval "$ac_link") 2>conftest.er1
24980
17488
  ac_status=$?
24981
17489
  grep -v '^ *+' conftest.er1 >conftest.err
24982
17490
  rm -f conftest.er1
24983
17491
  cat conftest.err >&5
24984
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985
 
  (exit $ac_status); } &&
24986
 
         { ac_try='test -z "$ac_c_werror_flag"
24987
 
                         || test ! -s conftest.err'
24988
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24989
 
  (eval $ac_try) 2>&5
24990
 
  ac_status=$?
24991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24992
 
  (exit $ac_status); }; } &&
24993
 
         { ac_try='test -s conftest$ac_exeext'
24994
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24995
 
  (eval $ac_try) 2>&5
24996
 
  ac_status=$?
24997
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24998
 
  (exit $ac_status); }; }; then
 
17492
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17493
  (exit $ac_status); } && {
 
17494
         test -z "$ac_c_werror_flag" ||
 
17495
         test ! -s conftest.err
 
17496
       } && test -s conftest$ac_exeext && {
 
17497
         test "$cross_compiling" = yes ||
 
17498
         $as_test_x conftest$ac_exeext
 
17499
       }; then
24999
17500
  eval "$as_ac_var=yes"
25000
17501
else
25001
 
  echo "$as_me: failed program was:" >&5
 
17502
  $as_echo "$as_me: failed program was:" >&5
25002
17503
sed 's/^/| /' conftest.$ac_ext >&5
25003
17504
 
25004
 
eval "$as_ac_var=no"
 
17505
        eval "$as_ac_var=no"
25005
17506
fi
25006
 
rm -f conftest.err conftest.$ac_objext \
 
17507
 
 
17508
rm -rf conftest.dSYM
 
17509
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25007
17510
      conftest$ac_exeext conftest.$ac_ext
25008
17511
fi
25009
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25010
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25011
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
17512
ac_res=`eval 'as_val=${'$as_ac_var'}
 
17513
                 $as_echo "$as_val"'`
 
17514
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
17515
$as_echo "$ac_res" >&6; }
 
17516
as_val=`eval 'as_val=${'$as_ac_var'}
 
17517
                 $as_echo "$as_val"'`
 
17518
   if test "x$as_val" = x""yes; then
25012
17519
  cat >>confdefs.h <<_ACEOF
25013
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
17520
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25014
17521
_ACEOF
25015
17522
 
25016
17523
fi
25017
17524
done
25018
17525
 
25019
17526
if test "x$ac_cv_func_fork" = xyes; then
25020
 
  echo "$as_me:$LINENO: checking for working fork" >&5
25021
 
echo $ECHO_N "checking for working fork... $ECHO_C" >&6
 
17527
  { $as_echo "$as_me:$LINENO: checking for working fork" >&5
 
17528
$as_echo_n "checking for working fork... " >&6; }
25022
17529
if test "${ac_cv_func_fork_works+set}" = set; then
25023
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17530
  $as_echo_n "(cached) " >&6
25024
17531
else
25025
17532
  if test "$cross_compiling" = yes; then
25026
17533
  ac_cv_func_fork_works=cross
25027
17534
else
25028
17535
  cat >conftest.$ac_ext <<_ACEOF
25029
 
/* By Ruediger Kuhlmann. */
25030
 
      #include <sys/types.h>
25031
 
      #if HAVE_UNISTD_H
25032
 
      # include <unistd.h>
25033
 
      #endif
25034
 
      /* Some systems only have a dummy stub for fork() */
25035
 
      int main ()
25036
 
      {
25037
 
        if (fork() < 0)
25038
 
          exit (1);
25039
 
        exit (0);
25040
 
      }
 
17536
/* confdefs.h.  */
 
17537
_ACEOF
 
17538
cat confdefs.h >>conftest.$ac_ext
 
17539
cat >>conftest.$ac_ext <<_ACEOF
 
17540
/* end confdefs.h.  */
 
17541
$ac_includes_default
 
17542
int
 
17543
main ()
 
17544
{
 
17545
 
 
17546
          /* By Ruediger Kuhlmann. */
 
17547
          return fork () < 0;
 
17548
 
 
17549
  ;
 
17550
  return 0;
 
17551
}
25041
17552
_ACEOF
25042
17553
rm -f conftest$ac_exeext
25043
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25044
 
  (eval $ac_link) 2>&5
 
17554
if { (ac_try="$ac_link"
 
17555
case "(($ac_try" in
 
17556
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17557
  *) ac_try_echo=$ac_try;;
 
17558
esac
 
17559
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17560
$as_echo "$ac_try_echo") >&5
 
17561
  (eval "$ac_link") 2>&5
25045
17562
  ac_status=$?
25046
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17563
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25047
17564
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25048
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25049
 
  (eval $ac_try) 2>&5
 
17565
  { (case "(($ac_try" in
 
17566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17567
  *) ac_try_echo=$ac_try;;
 
17568
esac
 
17569
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17570
$as_echo "$ac_try_echo") >&5
 
17571
  (eval "$ac_try") 2>&5
25050
17572
  ac_status=$?
25051
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17573
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052
17574
  (exit $ac_status); }; }; then
25053
17575
  ac_cv_func_fork_works=yes
25054
17576
else
25055
 
  echo "$as_me: program exited with status $ac_status" >&5
25056
 
echo "$as_me: failed program was:" >&5
 
17577
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
17578
$as_echo "$as_me: failed program was:" >&5
25057
17579
sed 's/^/| /' conftest.$ac_ext >&5
25058
17580
 
25059
17581
( exit $ac_status )
25060
17582
ac_cv_func_fork_works=no
25061
17583
fi
25062
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25063
 
fi
25064
 
fi
25065
 
echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
25066
 
echo "${ECHO_T}$ac_cv_func_fork_works" >&6
 
17584
rm -rf conftest.dSYM
 
17585
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
17586
fi
 
17587
 
 
17588
 
 
17589
fi
 
17590
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
 
17591
$as_echo "$ac_cv_func_fork_works" >&6; }
25067
17592
 
25068
17593
else
25069
17594
  ac_cv_func_fork_works=$ac_cv_func_fork
25078
17603
      ac_cv_func_fork_works=yes
25079
17604
      ;;
25080
17605
  esac
25081
 
  { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
25082
 
echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
 
17606
  { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
 
17607
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
25083
17608
fi
25084
17609
ac_cv_func_vfork_works=$ac_cv_func_vfork
25085
17610
if test "x$ac_cv_func_vfork" = xyes; then
25086
 
  echo "$as_me:$LINENO: checking for working vfork" >&5
25087
 
echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
 
17611
  { $as_echo "$as_me:$LINENO: checking for working vfork" >&5
 
17612
$as_echo_n "checking for working vfork... " >&6; }
25088
17613
if test "${ac_cv_func_vfork_works+set}" = set; then
25089
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17614
  $as_echo_n "(cached) " >&6
25090
17615
else
25091
17616
  if test "$cross_compiling" = yes; then
25092
17617
  ac_cv_func_vfork_works=cross
25098
17623
cat >>conftest.$ac_ext <<_ACEOF
25099
17624
/* end confdefs.h.  */
25100
17625
/* Thanks to Paul Eggert for this test.  */
25101
 
#include <stdio.h>
25102
 
#include <stdlib.h>
25103
 
#include <sys/types.h>
25104
 
#include <sys/stat.h>
 
17626
$ac_includes_default
25105
17627
#include <sys/wait.h>
25106
 
#if HAVE_UNISTD_H
25107
 
# include <unistd.h>
25108
 
#endif
25109
 
#if HAVE_VFORK_H
 
17628
#ifdef HAVE_VFORK_H
25110
17629
# include <vfork.h>
25111
17630
#endif
25112
17631
/* On some sparc systems, changes by the child to local and incoming
25177
17696
 
25178
17697
    while (wait(&status) != child)
25179
17698
      ;
25180
 
    exit(
 
17699
    return (
25181
17700
         /* Was there some problem with vforking?  */
25182
17701
         child < 0
25183
17702
 
25194
17713
}
25195
17714
_ACEOF
25196
17715
rm -f conftest$ac_exeext
25197
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25198
 
  (eval $ac_link) 2>&5
 
17716
if { (ac_try="$ac_link"
 
17717
case "(($ac_try" in
 
17718
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17719
  *) ac_try_echo=$ac_try;;
 
17720
esac
 
17721
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17722
$as_echo "$ac_try_echo") >&5
 
17723
  (eval "$ac_link") 2>&5
25199
17724
  ac_status=$?
25200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17725
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201
17726
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25202
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203
 
  (eval $ac_try) 2>&5
 
17727
  { (case "(($ac_try" in
 
17728
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17729
  *) ac_try_echo=$ac_try;;
 
17730
esac
 
17731
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17732
$as_echo "$ac_try_echo") >&5
 
17733
  (eval "$ac_try") 2>&5
25204
17734
  ac_status=$?
25205
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17735
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206
17736
  (exit $ac_status); }; }; then
25207
17737
  ac_cv_func_vfork_works=yes
25208
17738
else
25209
 
  echo "$as_me: program exited with status $ac_status" >&5
25210
 
echo "$as_me: failed program was:" >&5
 
17739
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
17740
$as_echo "$as_me: failed program was:" >&5
25211
17741
sed 's/^/| /' conftest.$ac_ext >&5
25212
17742
 
25213
17743
( exit $ac_status )
25214
17744
ac_cv_func_vfork_works=no
25215
17745
fi
25216
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25217
 
fi
25218
 
fi
25219
 
echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
25220
 
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
 
17746
rm -rf conftest.dSYM
 
17747
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
17748
fi
 
17749
 
 
17750
 
 
17751
fi
 
17752
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
 
17753
$as_echo "$ac_cv_func_vfork_works" >&6; }
25221
17754
 
25222
17755
fi;
25223
17756
if test "x$ac_cv_func_fork_works" = xcross; then
25224
17757
  ac_cv_func_vfork_works=$ac_cv_func_vfork
25225
 
  { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
25226
 
echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
 
17758
  { $as_echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
 
17759
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
25227
17760
fi
25228
17761
 
25229
17762
if test "x$ac_cv_func_vfork_works" = xyes; then
25250
17783
 
25251
17784
for ac_func in vprintf
25252
17785
do
25253
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25254
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
25255
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25256
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
25257
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17786
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
17787
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
17788
$as_echo_n "checking for $ac_func... " >&6; }
 
17789
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
17790
  $as_echo_n "(cached) " >&6
25258
17791
else
25259
17792
  cat >conftest.$ac_ext <<_ACEOF
25260
17793
/* confdefs.h.  */
25279
17812
 
25280
17813
#undef $ac_func
25281
17814
 
25282
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
17815
/* Override any GCC internal prototype to avoid an error.
 
17816
   Use char because int might match the return type of a GCC
 
17817
   builtin and then its argument prototype would still apply.  */
25283
17818
#ifdef __cplusplus
25284
17819
extern "C"
25285
 
{
25286
17820
#endif
25287
 
/* We use char because int might match the return type of a gcc2
25288
 
   builtin and then its argument prototype would still apply.  */
25289
17821
char $ac_func ();
25290
17822
/* The GNU C library defines this for functions which it implements
25291
17823
    to always fail with ENOSYS.  Some functions are actually named
25292
17824
    something starting with __ and the normal name is an alias.  */
25293
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
17825
#if defined __stub_$ac_func || defined __stub___$ac_func
25294
17826
choke me
25295
 
#else
25296
 
char (*f) () = $ac_func;
25297
 
#endif
25298
 
#ifdef __cplusplus
25299
 
}
25300
17827
#endif
25301
17828
 
25302
17829
int
25303
17830
main ()
25304
17831
{
25305
 
return f != $ac_func;
 
17832
return $ac_func ();
25306
17833
  ;
25307
17834
  return 0;
25308
17835
}
25309
17836
_ACEOF
25310
17837
rm -f conftest.$ac_objext conftest$ac_exeext
25311
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25312
 
  (eval $ac_link) 2>conftest.er1
 
17838
if { (ac_try="$ac_link"
 
17839
case "(($ac_try" in
 
17840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17841
  *) ac_try_echo=$ac_try;;
 
17842
esac
 
17843
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17844
$as_echo "$ac_try_echo") >&5
 
17845
  (eval "$ac_link") 2>conftest.er1
25313
17846
  ac_status=$?
25314
17847
  grep -v '^ *+' conftest.er1 >conftest.err
25315
17848
  rm -f conftest.er1
25316
17849
  cat conftest.err >&5
25317
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318
 
  (exit $ac_status); } &&
25319
 
         { ac_try='test -z "$ac_c_werror_flag"
25320
 
                         || test ! -s conftest.err'
25321
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25322
 
  (eval $ac_try) 2>&5
25323
 
  ac_status=$?
25324
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25325
 
  (exit $ac_status); }; } &&
25326
 
         { ac_try='test -s conftest$ac_exeext'
25327
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25328
 
  (eval $ac_try) 2>&5
25329
 
  ac_status=$?
25330
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331
 
  (exit $ac_status); }; }; then
 
17850
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17851
  (exit $ac_status); } && {
 
17852
         test -z "$ac_c_werror_flag" ||
 
17853
         test ! -s conftest.err
 
17854
       } && test -s conftest$ac_exeext && {
 
17855
         test "$cross_compiling" = yes ||
 
17856
         $as_test_x conftest$ac_exeext
 
17857
       }; then
25332
17858
  eval "$as_ac_var=yes"
25333
17859
else
25334
 
  echo "$as_me: failed program was:" >&5
 
17860
  $as_echo "$as_me: failed program was:" >&5
25335
17861
sed 's/^/| /' conftest.$ac_ext >&5
25336
17862
 
25337
 
eval "$as_ac_var=no"
 
17863
        eval "$as_ac_var=no"
25338
17864
fi
25339
 
rm -f conftest.err conftest.$ac_objext \
 
17865
 
 
17866
rm -rf conftest.dSYM
 
17867
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25340
17868
      conftest$ac_exeext conftest.$ac_ext
25341
17869
fi
25342
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25343
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25344
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
17870
ac_res=`eval 'as_val=${'$as_ac_var'}
 
17871
                 $as_echo "$as_val"'`
 
17872
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
17873
$as_echo "$ac_res" >&6; }
 
17874
as_val=`eval 'as_val=${'$as_ac_var'}
 
17875
                 $as_echo "$as_val"'`
 
17876
   if test "x$as_val" = x""yes; then
25345
17877
  cat >>confdefs.h <<_ACEOF
25346
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
17878
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25347
17879
_ACEOF
25348
17880
 
25349
 
echo "$as_me:$LINENO: checking for _doprnt" >&5
25350
 
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
 
17881
{ $as_echo "$as_me:$LINENO: checking for _doprnt" >&5
 
17882
$as_echo_n "checking for _doprnt... " >&6; }
25351
17883
if test "${ac_cv_func__doprnt+set}" = set; then
25352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17884
  $as_echo_n "(cached) " >&6
25353
17885
else
25354
17886
  cat >conftest.$ac_ext <<_ACEOF
25355
17887
/* confdefs.h.  */
25374
17906
 
25375
17907
#undef _doprnt
25376
17908
 
25377
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
17909
/* Override any GCC internal prototype to avoid an error.
 
17910
   Use char because int might match the return type of a GCC
 
17911
   builtin and then its argument prototype would still apply.  */
25378
17912
#ifdef __cplusplus
25379
17913
extern "C"
25380
 
{
25381
17914
#endif
25382
 
/* We use char because int might match the return type of a gcc2
25383
 
   builtin and then its argument prototype would still apply.  */
25384
17915
char _doprnt ();
25385
17916
/* The GNU C library defines this for functions which it implements
25386
17917
    to always fail with ENOSYS.  Some functions are actually named
25387
17918
    something starting with __ and the normal name is an alias.  */
25388
 
#if defined (__stub__doprnt) || defined (__stub____doprnt)
 
17919
#if defined __stub__doprnt || defined __stub____doprnt
25389
17920
choke me
25390
 
#else
25391
 
char (*f) () = _doprnt;
25392
 
#endif
25393
 
#ifdef __cplusplus
25394
 
}
25395
17921
#endif
25396
17922
 
25397
17923
int
25398
17924
main ()
25399
17925
{
25400
 
return f != _doprnt;
 
17926
return _doprnt ();
25401
17927
  ;
25402
17928
  return 0;
25403
17929
}
25404
17930
_ACEOF
25405
17931
rm -f conftest.$ac_objext conftest$ac_exeext
25406
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25407
 
  (eval $ac_link) 2>conftest.er1
 
17932
if { (ac_try="$ac_link"
 
17933
case "(($ac_try" in
 
17934
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17935
  *) ac_try_echo=$ac_try;;
 
17936
esac
 
17937
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
17938
$as_echo "$ac_try_echo") >&5
 
17939
  (eval "$ac_link") 2>conftest.er1
25408
17940
  ac_status=$?
25409
17941
  grep -v '^ *+' conftest.er1 >conftest.err
25410
17942
  rm -f conftest.er1
25411
17943
  cat conftest.err >&5
25412
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25413
 
  (exit $ac_status); } &&
25414
 
         { ac_try='test -z "$ac_c_werror_flag"
25415
 
                         || test ! -s conftest.err'
25416
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25417
 
  (eval $ac_try) 2>&5
25418
 
  ac_status=$?
25419
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25420
 
  (exit $ac_status); }; } &&
25421
 
         { ac_try='test -s conftest$ac_exeext'
25422
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25423
 
  (eval $ac_try) 2>&5
25424
 
  ac_status=$?
25425
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25426
 
  (exit $ac_status); }; }; then
 
17944
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
17945
  (exit $ac_status); } && {
 
17946
         test -z "$ac_c_werror_flag" ||
 
17947
         test ! -s conftest.err
 
17948
       } && test -s conftest$ac_exeext && {
 
17949
         test "$cross_compiling" = yes ||
 
17950
         $as_test_x conftest$ac_exeext
 
17951
       }; then
25427
17952
  ac_cv_func__doprnt=yes
25428
17953
else
25429
 
  echo "$as_me: failed program was:" >&5
 
17954
  $as_echo "$as_me: failed program was:" >&5
25430
17955
sed 's/^/| /' conftest.$ac_ext >&5
25431
17956
 
25432
 
ac_cv_func__doprnt=no
 
17957
        ac_cv_func__doprnt=no
25433
17958
fi
25434
 
rm -f conftest.err conftest.$ac_objext \
 
17959
 
 
17960
rm -rf conftest.dSYM
 
17961
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25435
17962
      conftest$ac_exeext conftest.$ac_ext
25436
17963
fi
25437
 
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
25438
 
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
25439
 
if test $ac_cv_func__doprnt = yes; then
 
17964
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
 
17965
$as_echo "$ac_cv_func__doprnt" >&6; }
 
17966
if test "x$ac_cv_func__doprnt" = x""yes; then
25440
17967
 
25441
17968
cat >>confdefs.h <<\_ACEOF
25442
17969
#define HAVE_DOPRNT 1
25448
17975
done
25449
17976
 
25450
17977
 
25451
 
echo "$as_me:$LINENO: checking whether sprintf returns void" >&5
25452
 
echo $ECHO_N "checking whether sprintf returns void... $ECHO_C" >&6
 
17978
{ $as_echo "$as_me:$LINENO: checking whether sprintf returns void" >&5
 
17979
$as_echo_n "checking whether sprintf returns void... " >&6; }
25453
17980
if test "${ac_cv_func_void_sprintf+set}" = set; then
25454
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
17981
  $as_echo_n "(cached) " >&6
25455
17982
else
25456
17983
  if test "$cross_compiling" = yes; then
25457
17984
  ac_cv_func_void_sprintf=yes
25466
17993
int sprintf(); main() { exit(sprintf(".")); }
25467
17994
_ACEOF
25468
17995
rm -f conftest$ac_exeext
25469
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25470
 
  (eval $ac_link) 2>&5
 
17996
if { (ac_try="$ac_link"
 
17997
case "(($ac_try" in
 
17998
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
17999
  *) ac_try_echo=$ac_try;;
 
18000
esac
 
18001
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18002
$as_echo "$ac_try_echo") >&5
 
18003
  (eval "$ac_link") 2>&5
25471
18004
  ac_status=$?
25472
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18005
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473
18006
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25474
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25475
 
  (eval $ac_try) 2>&5
 
18007
  { (case "(($ac_try" in
 
18008
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18009
  *) ac_try_echo=$ac_try;;
 
18010
esac
 
18011
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18012
$as_echo "$ac_try_echo") >&5
 
18013
  (eval "$ac_try") 2>&5
25476
18014
  ac_status=$?
25477
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18015
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478
18016
  (exit $ac_status); }; }; then
25479
18017
  ac_cv_func_void_sprintf=no
25480
18018
else
25481
 
  echo "$as_me: program exited with status $ac_status" >&5
25482
 
echo "$as_me: failed program was:" >&5
 
18019
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
18020
$as_echo "$as_me: failed program was:" >&5
25483
18021
sed 's/^/| /' conftest.$ac_ext >&5
25484
18022
 
25485
18023
( exit $ac_status )
25486
18024
ac_cv_func_void_sprintf=yes
25487
18025
fi
25488
 
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25489
 
fi
25490
 
fi
25491
 
echo "$as_me:$LINENO: result: $ac_cv_func_void_sprintf" >&5
25492
 
echo "${ECHO_T}$ac_cv_func_void_sprintf" >&6
 
18026
rm -rf conftest.dSYM
 
18027
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
18028
fi
 
18029
 
 
18030
 
 
18031
fi
 
18032
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_void_sprintf" >&5
 
18033
$as_echo "$ac_cv_func_void_sprintf" >&6; }
25493
18034
if test $ac_cv_func_void_sprintf = no; then
25494
18035
 
25495
18036
cat >>confdefs.h <<\_ACEOF
25518
18059
 
25519
18060
for ac_func in wcslen wcscpy wcsncpy wcschr wcscat wcsncat getcwd gettimeofday mkdir re_comp regcmp select strcspn strerror strstr strtod strtol uname
25520
18061
do
25521
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25522
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
25523
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25524
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
25525
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18062
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
18063
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
18064
$as_echo_n "checking for $ac_func... " >&6; }
 
18065
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
18066
  $as_echo_n "(cached) " >&6
25526
18067
else
25527
18068
  cat >conftest.$ac_ext <<_ACEOF
25528
18069
/* confdefs.h.  */
25547
18088
 
25548
18089
#undef $ac_func
25549
18090
 
25550
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18091
/* Override any GCC internal prototype to avoid an error.
 
18092
   Use char because int might match the return type of a GCC
 
18093
   builtin and then its argument prototype would still apply.  */
25551
18094
#ifdef __cplusplus
25552
18095
extern "C"
25553
 
{
25554
18096
#endif
25555
 
/* We use char because int might match the return type of a gcc2
25556
 
   builtin and then its argument prototype would still apply.  */
25557
18097
char $ac_func ();
25558
18098
/* The GNU C library defines this for functions which it implements
25559
18099
    to always fail with ENOSYS.  Some functions are actually named
25560
18100
    something starting with __ and the normal name is an alias.  */
25561
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
18101
#if defined __stub_$ac_func || defined __stub___$ac_func
25562
18102
choke me
25563
 
#else
25564
 
char (*f) () = $ac_func;
25565
 
#endif
25566
 
#ifdef __cplusplus
25567
 
}
25568
18103
#endif
25569
18104
 
25570
18105
int
25571
18106
main ()
25572
18107
{
25573
 
return f != $ac_func;
 
18108
return $ac_func ();
25574
18109
  ;
25575
18110
  return 0;
25576
18111
}
25577
18112
_ACEOF
25578
18113
rm -f conftest.$ac_objext conftest$ac_exeext
25579
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25580
 
  (eval $ac_link) 2>conftest.er1
 
18114
if { (ac_try="$ac_link"
 
18115
case "(($ac_try" in
 
18116
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18117
  *) ac_try_echo=$ac_try;;
 
18118
esac
 
18119
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18120
$as_echo "$ac_try_echo") >&5
 
18121
  (eval "$ac_link") 2>conftest.er1
25581
18122
  ac_status=$?
25582
18123
  grep -v '^ *+' conftest.er1 >conftest.err
25583
18124
  rm -f conftest.er1
25584
18125
  cat conftest.err >&5
25585
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586
 
  (exit $ac_status); } &&
25587
 
         { ac_try='test -z "$ac_c_werror_flag"
25588
 
                         || test ! -s conftest.err'
25589
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25590
 
  (eval $ac_try) 2>&5
25591
 
  ac_status=$?
25592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593
 
  (exit $ac_status); }; } &&
25594
 
         { ac_try='test -s conftest$ac_exeext'
25595
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25596
 
  (eval $ac_try) 2>&5
25597
 
  ac_status=$?
25598
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599
 
  (exit $ac_status); }; }; then
 
18126
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18127
  (exit $ac_status); } && {
 
18128
         test -z "$ac_c_werror_flag" ||
 
18129
         test ! -s conftest.err
 
18130
       } && test -s conftest$ac_exeext && {
 
18131
         test "$cross_compiling" = yes ||
 
18132
         $as_test_x conftest$ac_exeext
 
18133
       }; then
25600
18134
  eval "$as_ac_var=yes"
25601
18135
else
25602
 
  echo "$as_me: failed program was:" >&5
 
18136
  $as_echo "$as_me: failed program was:" >&5
25603
18137
sed 's/^/| /' conftest.$ac_ext >&5
25604
18138
 
25605
 
eval "$as_ac_var=no"
 
18139
        eval "$as_ac_var=no"
25606
18140
fi
25607
 
rm -f conftest.err conftest.$ac_objext \
 
18141
 
 
18142
rm -rf conftest.dSYM
 
18143
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25608
18144
      conftest$ac_exeext conftest.$ac_ext
25609
18145
fi
25610
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25611
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25612
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
18146
ac_res=`eval 'as_val=${'$as_ac_var'}
 
18147
                 $as_echo "$as_val"'`
 
18148
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18149
$as_echo "$ac_res" >&6; }
 
18150
as_val=`eval 'as_val=${'$as_ac_var'}
 
18151
                 $as_echo "$as_val"'`
 
18152
   if test "x$as_val" = x""yes; then
25613
18153
  cat >>confdefs.h <<_ACEOF
25614
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
18154
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25615
18155
_ACEOF
25616
18156
 
25617
18157
fi
25620
18160
 
25621
18161
for ac_func in strdup
25622
18162
do
25623
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25624
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
25625
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25626
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
25627
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18163
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
18164
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
18165
$as_echo_n "checking for $ac_func... " >&6; }
 
18166
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
18167
  $as_echo_n "(cached) " >&6
25628
18168
else
25629
18169
  cat >conftest.$ac_ext <<_ACEOF
25630
18170
/* confdefs.h.  */
25649
18189
 
25650
18190
#undef $ac_func
25651
18191
 
25652
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18192
/* Override any GCC internal prototype to avoid an error.
 
18193
   Use char because int might match the return type of a GCC
 
18194
   builtin and then its argument prototype would still apply.  */
25653
18195
#ifdef __cplusplus
25654
18196
extern "C"
25655
 
{
25656
18197
#endif
25657
 
/* We use char because int might match the return type of a gcc2
25658
 
   builtin and then its argument prototype would still apply.  */
25659
18198
char $ac_func ();
25660
18199
/* The GNU C library defines this for functions which it implements
25661
18200
    to always fail with ENOSYS.  Some functions are actually named
25662
18201
    something starting with __ and the normal name is an alias.  */
25663
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
18202
#if defined __stub_$ac_func || defined __stub___$ac_func
25664
18203
choke me
25665
 
#else
25666
 
char (*f) () = $ac_func;
25667
 
#endif
25668
 
#ifdef __cplusplus
25669
 
}
25670
18204
#endif
25671
18205
 
25672
18206
int
25673
18207
main ()
25674
18208
{
25675
 
return f != $ac_func;
 
18209
return $ac_func ();
25676
18210
  ;
25677
18211
  return 0;
25678
18212
}
25679
18213
_ACEOF
25680
18214
rm -f conftest.$ac_objext conftest$ac_exeext
25681
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25682
 
  (eval $ac_link) 2>conftest.er1
 
18215
if { (ac_try="$ac_link"
 
18216
case "(($ac_try" in
 
18217
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18218
  *) ac_try_echo=$ac_try;;
 
18219
esac
 
18220
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18221
$as_echo "$ac_try_echo") >&5
 
18222
  (eval "$ac_link") 2>conftest.er1
25683
18223
  ac_status=$?
25684
18224
  grep -v '^ *+' conftest.er1 >conftest.err
25685
18225
  rm -f conftest.er1
25686
18226
  cat conftest.err >&5
25687
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25688
 
  (exit $ac_status); } &&
25689
 
         { ac_try='test -z "$ac_c_werror_flag"
25690
 
                         || test ! -s conftest.err'
25691
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25692
 
  (eval $ac_try) 2>&5
25693
 
  ac_status=$?
25694
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25695
 
  (exit $ac_status); }; } &&
25696
 
         { ac_try='test -s conftest$ac_exeext'
25697
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25698
 
  (eval $ac_try) 2>&5
25699
 
  ac_status=$?
25700
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701
 
  (exit $ac_status); }; }; then
 
18227
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18228
  (exit $ac_status); } && {
 
18229
         test -z "$ac_c_werror_flag" ||
 
18230
         test ! -s conftest.err
 
18231
       } && test -s conftest$ac_exeext && {
 
18232
         test "$cross_compiling" = yes ||
 
18233
         $as_test_x conftest$ac_exeext
 
18234
       }; then
25702
18235
  eval "$as_ac_var=yes"
25703
18236
else
25704
 
  echo "$as_me: failed program was:" >&5
 
18237
  $as_echo "$as_me: failed program was:" >&5
25705
18238
sed 's/^/| /' conftest.$ac_ext >&5
25706
18239
 
25707
 
eval "$as_ac_var=no"
 
18240
        eval "$as_ac_var=no"
25708
18241
fi
25709
 
rm -f conftest.err conftest.$ac_objext \
 
18242
 
 
18243
rm -rf conftest.dSYM
 
18244
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25710
18245
      conftest$ac_exeext conftest.$ac_ext
25711
18246
fi
25712
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25713
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25714
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
18247
ac_res=`eval 'as_val=${'$as_ac_var'}
 
18248
                 $as_echo "$as_val"'`
 
18249
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18250
$as_echo "$ac_res" >&6; }
 
18251
as_val=`eval 'as_val=${'$as_ac_var'}
 
18252
                 $as_echo "$as_val"'`
 
18253
   if test "x$as_val" = x""yes; then
25715
18254
  cat >>confdefs.h <<_ACEOF
25716
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
18255
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25717
18256
_ACEOF
25718
18257
 
25719
18258
else
25728
18267
 
25729
18268
for ac_func in strcasecmp
25730
18269
do
25731
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25732
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
25733
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25734
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
25735
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18270
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
18271
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
18272
$as_echo_n "checking for $ac_func... " >&6; }
 
18273
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
18274
  $as_echo_n "(cached) " >&6
25736
18275
else
25737
18276
  cat >conftest.$ac_ext <<_ACEOF
25738
18277
/* confdefs.h.  */
25757
18296
 
25758
18297
#undef $ac_func
25759
18298
 
25760
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18299
/* Override any GCC internal prototype to avoid an error.
 
18300
   Use char because int might match the return type of a GCC
 
18301
   builtin and then its argument prototype would still apply.  */
25761
18302
#ifdef __cplusplus
25762
18303
extern "C"
25763
 
{
25764
18304
#endif
25765
 
/* We use char because int might match the return type of a gcc2
25766
 
   builtin and then its argument prototype would still apply.  */
25767
18305
char $ac_func ();
25768
18306
/* The GNU C library defines this for functions which it implements
25769
18307
    to always fail with ENOSYS.  Some functions are actually named
25770
18308
    something starting with __ and the normal name is an alias.  */
25771
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
18309
#if defined __stub_$ac_func || defined __stub___$ac_func
25772
18310
choke me
25773
 
#else
25774
 
char (*f) () = $ac_func;
25775
 
#endif
25776
 
#ifdef __cplusplus
25777
 
}
25778
18311
#endif
25779
18312
 
25780
18313
int
25781
18314
main ()
25782
18315
{
25783
 
return f != $ac_func;
 
18316
return $ac_func ();
25784
18317
  ;
25785
18318
  return 0;
25786
18319
}
25787
18320
_ACEOF
25788
18321
rm -f conftest.$ac_objext conftest$ac_exeext
25789
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25790
 
  (eval $ac_link) 2>conftest.er1
 
18322
if { (ac_try="$ac_link"
 
18323
case "(($ac_try" in
 
18324
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18325
  *) ac_try_echo=$ac_try;;
 
18326
esac
 
18327
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18328
$as_echo "$ac_try_echo") >&5
 
18329
  (eval "$ac_link") 2>conftest.er1
25791
18330
  ac_status=$?
25792
18331
  grep -v '^ *+' conftest.er1 >conftest.err
25793
18332
  rm -f conftest.er1
25794
18333
  cat conftest.err >&5
25795
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796
 
  (exit $ac_status); } &&
25797
 
         { ac_try='test -z "$ac_c_werror_flag"
25798
 
                         || test ! -s conftest.err'
25799
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25800
 
  (eval $ac_try) 2>&5
25801
 
  ac_status=$?
25802
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25803
 
  (exit $ac_status); }; } &&
25804
 
         { ac_try='test -s conftest$ac_exeext'
25805
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25806
 
  (eval $ac_try) 2>&5
25807
 
  ac_status=$?
25808
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809
 
  (exit $ac_status); }; }; then
 
18334
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18335
  (exit $ac_status); } && {
 
18336
         test -z "$ac_c_werror_flag" ||
 
18337
         test ! -s conftest.err
 
18338
       } && test -s conftest$ac_exeext && {
 
18339
         test "$cross_compiling" = yes ||
 
18340
         $as_test_x conftest$ac_exeext
 
18341
       }; then
25810
18342
  eval "$as_ac_var=yes"
25811
18343
else
25812
 
  echo "$as_me: failed program was:" >&5
 
18344
  $as_echo "$as_me: failed program was:" >&5
25813
18345
sed 's/^/| /' conftest.$ac_ext >&5
25814
18346
 
25815
 
eval "$as_ac_var=no"
 
18347
        eval "$as_ac_var=no"
25816
18348
fi
25817
 
rm -f conftest.err conftest.$ac_objext \
 
18349
 
 
18350
rm -rf conftest.dSYM
 
18351
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25818
18352
      conftest$ac_exeext conftest.$ac_ext
25819
18353
fi
25820
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25821
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25822
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
18354
ac_res=`eval 'as_val=${'$as_ac_var'}
 
18355
                 $as_echo "$as_val"'`
 
18356
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18357
$as_echo "$ac_res" >&6; }
 
18358
as_val=`eval 'as_val=${'$as_ac_var'}
 
18359
                 $as_echo "$as_val"'`
 
18360
   if test "x$as_val" = x""yes; then
25823
18361
  cat >>confdefs.h <<_ACEOF
25824
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
18362
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25825
18363
_ACEOF
25826
18364
 
25827
18365
else
25836
18374
 
25837
18375
for ac_func in putenv
25838
18376
do
25839
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25840
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
25841
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25842
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
25843
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18377
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
18378
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
18379
$as_echo_n "checking for $ac_func... " >&6; }
 
18380
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
18381
  $as_echo_n "(cached) " >&6
25844
18382
else
25845
18383
  cat >conftest.$ac_ext <<_ACEOF
25846
18384
/* confdefs.h.  */
25865
18403
 
25866
18404
#undef $ac_func
25867
18405
 
25868
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18406
/* Override any GCC internal prototype to avoid an error.
 
18407
   Use char because int might match the return type of a GCC
 
18408
   builtin and then its argument prototype would still apply.  */
25869
18409
#ifdef __cplusplus
25870
18410
extern "C"
25871
 
{
25872
18411
#endif
25873
 
/* We use char because int might match the return type of a gcc2
25874
 
   builtin and then its argument prototype would still apply.  */
25875
18412
char $ac_func ();
25876
18413
/* The GNU C library defines this for functions which it implements
25877
18414
    to always fail with ENOSYS.  Some functions are actually named
25878
18415
    something starting with __ and the normal name is an alias.  */
25879
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
18416
#if defined __stub_$ac_func || defined __stub___$ac_func
25880
18417
choke me
25881
 
#else
25882
 
char (*f) () = $ac_func;
25883
 
#endif
25884
 
#ifdef __cplusplus
25885
 
}
25886
18418
#endif
25887
18419
 
25888
18420
int
25889
18421
main ()
25890
18422
{
25891
 
return f != $ac_func;
 
18423
return $ac_func ();
25892
18424
  ;
25893
18425
  return 0;
25894
18426
}
25895
18427
_ACEOF
25896
18428
rm -f conftest.$ac_objext conftest$ac_exeext
25897
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25898
 
  (eval $ac_link) 2>conftest.er1
 
18429
if { (ac_try="$ac_link"
 
18430
case "(($ac_try" in
 
18431
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18432
  *) ac_try_echo=$ac_try;;
 
18433
esac
 
18434
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18435
$as_echo "$ac_try_echo") >&5
 
18436
  (eval "$ac_link") 2>conftest.er1
25899
18437
  ac_status=$?
25900
18438
  grep -v '^ *+' conftest.er1 >conftest.err
25901
18439
  rm -f conftest.er1
25902
18440
  cat conftest.err >&5
25903
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904
 
  (exit $ac_status); } &&
25905
 
         { ac_try='test -z "$ac_c_werror_flag"
25906
 
                         || test ! -s conftest.err'
25907
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25908
 
  (eval $ac_try) 2>&5
25909
 
  ac_status=$?
25910
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911
 
  (exit $ac_status); }; } &&
25912
 
         { ac_try='test -s conftest$ac_exeext'
25913
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25914
 
  (eval $ac_try) 2>&5
25915
 
  ac_status=$?
25916
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917
 
  (exit $ac_status); }; }; then
 
18441
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18442
  (exit $ac_status); } && {
 
18443
         test -z "$ac_c_werror_flag" ||
 
18444
         test ! -s conftest.err
 
18445
       } && test -s conftest$ac_exeext && {
 
18446
         test "$cross_compiling" = yes ||
 
18447
         $as_test_x conftest$ac_exeext
 
18448
       }; then
25918
18449
  eval "$as_ac_var=yes"
25919
18450
else
25920
 
  echo "$as_me: failed program was:" >&5
 
18451
  $as_echo "$as_me: failed program was:" >&5
25921
18452
sed 's/^/| /' conftest.$ac_ext >&5
25922
18453
 
25923
 
eval "$as_ac_var=no"
 
18454
        eval "$as_ac_var=no"
25924
18455
fi
25925
 
rm -f conftest.err conftest.$ac_objext \
 
18456
 
 
18457
rm -rf conftest.dSYM
 
18458
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25926
18459
      conftest$ac_exeext conftest.$ac_ext
25927
18460
fi
25928
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25929
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25930
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
18461
ac_res=`eval 'as_val=${'$as_ac_var'}
 
18462
                 $as_echo "$as_val"'`
 
18463
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18464
$as_echo "$ac_res" >&6; }
 
18465
as_val=`eval 'as_val=${'$as_ac_var'}
 
18466
                 $as_echo "$as_val"'`
 
18467
   if test "x$as_val" = x""yes; then
25931
18468
  cat >>confdefs.h <<_ACEOF
25932
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
18469
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25933
18470
_ACEOF
25934
18471
 
25935
18472
else
25944
18481
 
25945
18482
for ac_func in regcomp
25946
18483
do
25947
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25948
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
25949
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25950
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
25951
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18484
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
18485
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
18486
$as_echo_n "checking for $ac_func... " >&6; }
 
18487
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
18488
  $as_echo_n "(cached) " >&6
25952
18489
else
25953
18490
  cat >conftest.$ac_ext <<_ACEOF
25954
18491
/* confdefs.h.  */
25973
18510
 
25974
18511
#undef $ac_func
25975
18512
 
25976
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18513
/* Override any GCC internal prototype to avoid an error.
 
18514
   Use char because int might match the return type of a GCC
 
18515
   builtin and then its argument prototype would still apply.  */
25977
18516
#ifdef __cplusplus
25978
18517
extern "C"
25979
 
{
25980
18518
#endif
25981
 
/* We use char because int might match the return type of a gcc2
25982
 
   builtin and then its argument prototype would still apply.  */
25983
18519
char $ac_func ();
25984
18520
/* The GNU C library defines this for functions which it implements
25985
18521
    to always fail with ENOSYS.  Some functions are actually named
25986
18522
    something starting with __ and the normal name is an alias.  */
25987
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
18523
#if defined __stub_$ac_func || defined __stub___$ac_func
25988
18524
choke me
25989
 
#else
25990
 
char (*f) () = $ac_func;
25991
 
#endif
25992
 
#ifdef __cplusplus
25993
 
}
25994
18525
#endif
25995
18526
 
25996
18527
int
25997
18528
main ()
25998
18529
{
25999
 
return f != $ac_func;
 
18530
return $ac_func ();
26000
18531
  ;
26001
18532
  return 0;
26002
18533
}
26003
18534
_ACEOF
26004
18535
rm -f conftest.$ac_objext conftest$ac_exeext
26005
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26006
 
  (eval $ac_link) 2>conftest.er1
 
18536
if { (ac_try="$ac_link"
 
18537
case "(($ac_try" in
 
18538
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18539
  *) ac_try_echo=$ac_try;;
 
18540
esac
 
18541
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18542
$as_echo "$ac_try_echo") >&5
 
18543
  (eval "$ac_link") 2>conftest.er1
26007
18544
  ac_status=$?
26008
18545
  grep -v '^ *+' conftest.er1 >conftest.err
26009
18546
  rm -f conftest.er1
26010
18547
  cat conftest.err >&5
26011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012
 
  (exit $ac_status); } &&
26013
 
         { ac_try='test -z "$ac_c_werror_flag"
26014
 
                         || test ! -s conftest.err'
26015
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26016
 
  (eval $ac_try) 2>&5
26017
 
  ac_status=$?
26018
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019
 
  (exit $ac_status); }; } &&
26020
 
         { ac_try='test -s conftest$ac_exeext'
26021
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022
 
  (eval $ac_try) 2>&5
26023
 
  ac_status=$?
26024
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025
 
  (exit $ac_status); }; }; then
 
18548
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18549
  (exit $ac_status); } && {
 
18550
         test -z "$ac_c_werror_flag" ||
 
18551
         test ! -s conftest.err
 
18552
       } && test -s conftest$ac_exeext && {
 
18553
         test "$cross_compiling" = yes ||
 
18554
         $as_test_x conftest$ac_exeext
 
18555
       }; then
26026
18556
  eval "$as_ac_var=yes"
26027
18557
else
26028
 
  echo "$as_me: failed program was:" >&5
 
18558
  $as_echo "$as_me: failed program was:" >&5
26029
18559
sed 's/^/| /' conftest.$ac_ext >&5
26030
18560
 
26031
 
eval "$as_ac_var=no"
 
18561
        eval "$as_ac_var=no"
26032
18562
fi
26033
 
rm -f conftest.err conftest.$ac_objext \
 
18563
 
 
18564
rm -rf conftest.dSYM
 
18565
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26034
18566
      conftest$ac_exeext conftest.$ac_ext
26035
18567
fi
26036
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26037
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26038
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
18568
ac_res=`eval 'as_val=${'$as_ac_var'}
 
18569
                 $as_echo "$as_val"'`
 
18570
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18571
$as_echo "$ac_res" >&6; }
 
18572
as_val=`eval 'as_val=${'$as_ac_var'}
 
18573
                 $as_echo "$as_val"'`
 
18574
   if test "x$as_val" = x""yes; then
26039
18575
  cat >>confdefs.h <<_ACEOF
26040
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
18576
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26041
18577
_ACEOF
26042
18578
 
26043
18579
else
26052
18588
 
26053
18589
for ac_func in memmove
26054
18590
do
26055
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26056
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
26057
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26058
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
26059
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18591
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
18592
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
18593
$as_echo_n "checking for $ac_func... " >&6; }
 
18594
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
18595
  $as_echo_n "(cached) " >&6
26060
18596
else
26061
18597
  cat >conftest.$ac_ext <<_ACEOF
26062
18598
/* confdefs.h.  */
26081
18617
 
26082
18618
#undef $ac_func
26083
18619
 
26084
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18620
/* Override any GCC internal prototype to avoid an error.
 
18621
   Use char because int might match the return type of a GCC
 
18622
   builtin and then its argument prototype would still apply.  */
26085
18623
#ifdef __cplusplus
26086
18624
extern "C"
26087
 
{
26088
18625
#endif
26089
 
/* We use char because int might match the return type of a gcc2
26090
 
   builtin and then its argument prototype would still apply.  */
26091
18626
char $ac_func ();
26092
18627
/* The GNU C library defines this for functions which it implements
26093
18628
    to always fail with ENOSYS.  Some functions are actually named
26094
18629
    something starting with __ and the normal name is an alias.  */
26095
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
18630
#if defined __stub_$ac_func || defined __stub___$ac_func
26096
18631
choke me
26097
 
#else
26098
 
char (*f) () = $ac_func;
26099
 
#endif
26100
 
#ifdef __cplusplus
26101
 
}
26102
18632
#endif
26103
18633
 
26104
18634
int
26105
18635
main ()
26106
18636
{
26107
 
return f != $ac_func;
 
18637
return $ac_func ();
26108
18638
  ;
26109
18639
  return 0;
26110
18640
}
26111
18641
_ACEOF
26112
18642
rm -f conftest.$ac_objext conftest$ac_exeext
26113
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26114
 
  (eval $ac_link) 2>conftest.er1
 
18643
if { (ac_try="$ac_link"
 
18644
case "(($ac_try" in
 
18645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18646
  *) ac_try_echo=$ac_try;;
 
18647
esac
 
18648
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18649
$as_echo "$ac_try_echo") >&5
 
18650
  (eval "$ac_link") 2>conftest.er1
26115
18651
  ac_status=$?
26116
18652
  grep -v '^ *+' conftest.er1 >conftest.err
26117
18653
  rm -f conftest.er1
26118
18654
  cat conftest.err >&5
26119
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120
 
  (exit $ac_status); } &&
26121
 
         { ac_try='test -z "$ac_c_werror_flag"
26122
 
                         || test ! -s conftest.err'
26123
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26124
 
  (eval $ac_try) 2>&5
26125
 
  ac_status=$?
26126
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26127
 
  (exit $ac_status); }; } &&
26128
 
         { ac_try='test -s conftest$ac_exeext'
26129
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26130
 
  (eval $ac_try) 2>&5
26131
 
  ac_status=$?
26132
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133
 
  (exit $ac_status); }; }; then
 
18655
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18656
  (exit $ac_status); } && {
 
18657
         test -z "$ac_c_werror_flag" ||
 
18658
         test ! -s conftest.err
 
18659
       } && test -s conftest$ac_exeext && {
 
18660
         test "$cross_compiling" = yes ||
 
18661
         $as_test_x conftest$ac_exeext
 
18662
       }; then
26134
18663
  eval "$as_ac_var=yes"
26135
18664
else
26136
 
  echo "$as_me: failed program was:" >&5
 
18665
  $as_echo "$as_me: failed program was:" >&5
26137
18666
sed 's/^/| /' conftest.$ac_ext >&5
26138
18667
 
26139
 
eval "$as_ac_var=no"
 
18668
        eval "$as_ac_var=no"
26140
18669
fi
26141
 
rm -f conftest.err conftest.$ac_objext \
 
18670
 
 
18671
rm -rf conftest.dSYM
 
18672
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26142
18673
      conftest$ac_exeext conftest.$ac_ext
26143
18674
fi
26144
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26145
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26146
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
18675
ac_res=`eval 'as_val=${'$as_ac_var'}
 
18676
                 $as_echo "$as_val"'`
 
18677
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18678
$as_echo "$ac_res" >&6; }
 
18679
as_val=`eval 'as_val=${'$as_ac_var'}
 
18680
                 $as_echo "$as_val"'`
 
18681
   if test "x$as_val" = x""yes; then
26147
18682
  cat >>confdefs.h <<_ACEOF
26148
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
18683
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26149
18684
_ACEOF
26150
18685
 
26151
18686
else
26159
18694
 
26160
18695
 
26161
18696
 
26162
 
# Check whether --enable-message-catalog or --disable-message-catalog was given.
 
18697
# Check whether --enable-message-catalog was given.
26163
18698
if test "${enable_message_catalog+set}" = set; then
26164
 
  enableval="$enable_message_catalog"
 
18699
  enableval=$enable_message_catalog;
 
18700
fi
26165
18701
 
26166
 
fi;
26167
18702
if test "$enable_message_catalog" != "yes"
26168
18703
then
26169
18704
 
26172
18707
_ACEOF
26173
18708
 
26174
18709
fi
26175
 
 
26176
 
 
26177
 
if test x$enable_message_catalog = xyes; then
 
18710
 if test x$enable_message_catalog = xyes; then
26178
18711
  MessageCatalog_TRUE=
26179
18712
  MessageCatalog_FALSE='#'
26180
18713
else
26183
18716
fi
26184
18717
 
26185
18718
 
26186
 
# Check whether --enable-themes or --disable-themes was given.
 
18719
# Check whether --enable-themes was given.
26187
18720
if test "${enable_themes+set}" = set; then
26188
 
  enableval="$enable_themes"
 
18721
  enableval=$enable_themes;
 
18722
fi
26189
18723
 
26190
 
fi;
26191
18724
if test "$enable_themes" = "yes"
26192
18725
then
26193
18726
    if test -f $srcdir/lib/Xm/Theme.h
26199
18732
 
26200
18733
        XMTHEME_DIST = "Theme.h ThemeP.h DynLibP.h Theme.c DynLib.c"
26201
18734
    else
26202
 
        { echo "$as_me:$LINENO: WARNING: --enable-themes specified, but I don't have the code. Disabled" >&5
26203
 
echo "$as_me: WARNING: --enable-themes specified, but I don't have the code. Disabled" >&2;}
 
18735
        { $as_echo "$as_me:$LINENO: WARNING: --enable-themes specified, but I don't have the code. Disabled" >&5
 
18736
$as_echo "$as_me: WARNING: --enable-themes specified, but I don't have the code. Disabled" >&2;}
26204
18737
        enable_themes="no"
26205
18738
    fi
26206
18739
fi
26207
18740
 
26208
 
 
26209
 
 
26210
 
if test "$enable_themes" = "yes"; then
 
18741
 if test "$enable_themes" = "yes"; then
26211
18742
  OM_XMTHEMES_TRUE=
26212
18743
  OM_XMTHEMES_FALSE='#'
26213
18744
else
26216
18747
fi
26217
18748
 
26218
18749
 
26219
 
# Check whether --enable-debug-themes or --disable-debug-themes was given.
 
18750
# Check whether --enable-debug-themes was given.
26220
18751
if test "${enable_debug_themes+set}" = set; then
26221
 
  enableval="$enable_debug_themes"
 
18752
  enableval=$enable_debug_themes;
 
18753
fi
26222
18754
 
26223
 
fi;
26224
18755
if test "$enable_themes" = "yes"
26225
18756
then
26226
18757
    if test "$enable_debug_themes" = "yes"
26255
18786
LIBDIR="${libdir}/X11"
26256
18787
 
26257
18788
 
 
18789
MWMRCDIR="${libdir}/X11"
 
18790
 
 
18791
 
26258
18792
INCDIR="${includedir}/X11"
26259
18793
 
26260
18794
 
26261
18795
XMBINDDIR_FALLBACK="${libdir}/X11/bindings"
26262
18796
 
26263
18797
 
26264
 
# Check whether --enable-motif22-compatibility or --disable-motif22-compatibility was given.
 
18798
RM="rm -f"
 
18799
 
 
18800
 
 
18801
# Check whether --enable-motif22-compatibility was given.
26265
18802
if test "${enable_motif22_compatibility+set}" = set; then
26266
 
  enableval="$enable_motif22_compatibility"
 
18803
  enableval=$enable_motif22_compatibility;
 
18804
fi
26267
18805
 
26268
 
fi;
26269
 
# Check whether --enable-utf8 or --disable-utf8 was given.
 
18806
# Check whether --enable-utf8 was given.
26270
18807
if test "${enable_utf8+set}" = set; then
26271
 
  enableval="$enable_utf8"
 
18808
  enableval=$enable_utf8;
 
18809
fi
26272
18810
 
26273
 
fi;
26274
18811
 
26275
18812
case "$host_os" in
26276
18813
    freebsd*) CFLAGS="$CFLAGS -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI";
26324
18861
#define UTF8_SUPPORTED 1
26325
18862
_ACEOF
26326
18863
 
26327
 
 
26328
 
echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
26329
 
echo $ECHO_N "checking for iconv_open in -liconv... $ECHO_C" >&6
26330
 
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then
26331
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
18864
  { $as_echo "$as_me:$LINENO: checking for library containing iconv_open" >&5
 
18865
$as_echo_n "checking for library containing iconv_open... " >&6; }
 
18866
if test "${ac_cv_search_iconv_open+set}" = set; then
 
18867
  $as_echo_n "(cached) " >&6
26332
18868
else
26333
 
  ac_check_lib_save_LIBS=$LIBS
26334
 
LIBS="-liconv  $LIBS"
 
18869
  ac_func_search_save_LIBS=$LIBS
26335
18870
cat >conftest.$ac_ext <<_ACEOF
26336
18871
/* confdefs.h.  */
26337
18872
_ACEOF
26339
18874
cat >>conftest.$ac_ext <<_ACEOF
26340
18875
/* end confdefs.h.  */
26341
18876
 
26342
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
18877
/* Override any GCC internal prototype to avoid an error.
 
18878
   Use char because int might match the return type of a GCC
 
18879
   builtin and then its argument prototype would still apply.  */
26343
18880
#ifdef __cplusplus
26344
18881
extern "C"
26345
18882
#endif
26346
 
/* We use char because int might match the return type of a gcc2
26347
 
   builtin and then its argument prototype would still apply.  */
26348
18883
char iconv_open ();
26349
18884
int
26350
18885
main ()
26351
18886
{
26352
 
iconv_open ();
 
18887
return iconv_open ();
 
18888
  ;
 
18889
  return 0;
 
18890
}
 
18891
_ACEOF
 
18892
for ac_lib in '' iconv; do
 
18893
  if test -z "$ac_lib"; then
 
18894
    ac_res="none required"
 
18895
  else
 
18896
    ac_res=-l$ac_lib
 
18897
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
18898
  fi
 
18899
  rm -f conftest.$ac_objext conftest$ac_exeext
 
18900
if { (ac_try="$ac_link"
 
18901
case "(($ac_try" in
 
18902
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18903
  *) ac_try_echo=$ac_try;;
 
18904
esac
 
18905
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18906
$as_echo "$ac_try_echo") >&5
 
18907
  (eval "$ac_link") 2>conftest.er1
 
18908
  ac_status=$?
 
18909
  grep -v '^ *+' conftest.er1 >conftest.err
 
18910
  rm -f conftest.er1
 
18911
  cat conftest.err >&5
 
18912
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18913
  (exit $ac_status); } && {
 
18914
         test -z "$ac_c_werror_flag" ||
 
18915
         test ! -s conftest.err
 
18916
       } && test -s conftest$ac_exeext && {
 
18917
         test "$cross_compiling" = yes ||
 
18918
         $as_test_x conftest$ac_exeext
 
18919
       }; then
 
18920
  ac_cv_search_iconv_open=$ac_res
 
18921
else
 
18922
  $as_echo "$as_me: failed program was:" >&5
 
18923
sed 's/^/| /' conftest.$ac_ext >&5
 
18924
 
 
18925
 
 
18926
fi
 
18927
 
 
18928
rm -rf conftest.dSYM
 
18929
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
18930
      conftest$ac_exeext
 
18931
  if test "${ac_cv_search_iconv_open+set}" = set; then
 
18932
  break
 
18933
fi
 
18934
done
 
18935
if test "${ac_cv_search_iconv_open+set}" = set; then
 
18936
  :
 
18937
else
 
18938
  ac_cv_search_iconv_open=no
 
18939
fi
 
18940
rm conftest.$ac_ext
 
18941
LIBS=$ac_func_search_save_LIBS
 
18942
fi
 
18943
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_iconv_open" >&5
 
18944
$as_echo "$ac_cv_search_iconv_open" >&6; }
 
18945
ac_res=$ac_cv_search_iconv_open
 
18946
if test "$ac_res" != no; then
 
18947
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
18948
 
 
18949
else
 
18950
  { $as_echo "$as_me:$LINENO: checking for library containing libiconv_open" >&5
 
18951
$as_echo_n "checking for library containing libiconv_open... " >&6; }
 
18952
if test "${ac_cv_search_libiconv_open+set}" = set; then
 
18953
  $as_echo_n "(cached) " >&6
 
18954
else
 
18955
  ac_func_search_save_LIBS=$LIBS
 
18956
cat >conftest.$ac_ext <<_ACEOF
 
18957
/* confdefs.h.  */
 
18958
_ACEOF
 
18959
cat confdefs.h >>conftest.$ac_ext
 
18960
cat >>conftest.$ac_ext <<_ACEOF
 
18961
/* end confdefs.h.  */
 
18962
 
 
18963
/* Override any GCC internal prototype to avoid an error.
 
18964
   Use char because int might match the return type of a GCC
 
18965
   builtin and then its argument prototype would still apply.  */
 
18966
#ifdef __cplusplus
 
18967
extern "C"
 
18968
#endif
 
18969
char libiconv_open ();
 
18970
int
 
18971
main ()
 
18972
{
 
18973
return libiconv_open ();
 
18974
  ;
 
18975
  return 0;
 
18976
}
 
18977
_ACEOF
 
18978
for ac_lib in '' iconv; do
 
18979
  if test -z "$ac_lib"; then
 
18980
    ac_res="none required"
 
18981
  else
 
18982
    ac_res=-l$ac_lib
 
18983
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
18984
  fi
 
18985
  rm -f conftest.$ac_objext conftest$ac_exeext
 
18986
if { (ac_try="$ac_link"
 
18987
case "(($ac_try" in
 
18988
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18989
  *) ac_try_echo=$ac_try;;
 
18990
esac
 
18991
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18992
$as_echo "$ac_try_echo") >&5
 
18993
  (eval "$ac_link") 2>conftest.er1
 
18994
  ac_status=$?
 
18995
  grep -v '^ *+' conftest.er1 >conftest.err
 
18996
  rm -f conftest.er1
 
18997
  cat conftest.err >&5
 
18998
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18999
  (exit $ac_status); } && {
 
19000
         test -z "$ac_c_werror_flag" ||
 
19001
         test ! -s conftest.err
 
19002
       } && test -s conftest$ac_exeext && {
 
19003
         test "$cross_compiling" = yes ||
 
19004
         $as_test_x conftest$ac_exeext
 
19005
       }; then
 
19006
  ac_cv_search_libiconv_open=$ac_res
 
19007
else
 
19008
  $as_echo "$as_me: failed program was:" >&5
 
19009
sed 's/^/| /' conftest.$ac_ext >&5
 
19010
 
 
19011
 
 
19012
fi
 
19013
 
 
19014
rm -rf conftest.dSYM
 
19015
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
19016
      conftest$ac_exeext
 
19017
  if test "${ac_cv_search_libiconv_open+set}" = set; then
 
19018
  break
 
19019
fi
 
19020
done
 
19021
if test "${ac_cv_search_libiconv_open+set}" = set; then
 
19022
  :
 
19023
else
 
19024
  ac_cv_search_libiconv_open=no
 
19025
fi
 
19026
rm conftest.$ac_ext
 
19027
LIBS=$ac_func_search_save_LIBS
 
19028
fi
 
19029
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_libiconv_open" >&5
 
19030
$as_echo "$ac_cv_search_libiconv_open" >&6; }
 
19031
ac_res=$ac_cv_search_libiconv_open
 
19032
if test "$ac_res" != no; then
 
19033
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
19034
 
 
19035
fi
 
19036
 
 
19037
fi
 
19038
 
 
19039
fi
 
19040
 
 
19041
# Check whether --enable-printing was given.
 
19042
if test "${enable_printing+set}" = set; then
 
19043
  enableval=$enable_printing;
 
19044
fi
 
19045
 
 
19046
 
 
19047
if test x$enable_printing = x
 
19048
then
 
19049
    enable_printing="yes"
 
19050
fi
 
19051
 
 
19052
if test "$enable_printing" = "yes"
 
19053
then
 
19054
  { $as_echo "$as_me:$LINENO: checking for libXp" >&5
 
19055
$as_echo_n "checking for libXp... " >&6; }
 
19056
 
 
19057
for ac_header in X11/extensions/Print.h
 
19058
do
 
19059
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
19060
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19061
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19062
$as_echo_n "checking for $ac_header... " >&6; }
 
19063
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19064
  $as_echo_n "(cached) " >&6
 
19065
fi
 
19066
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
19067
                 $as_echo "$as_val"'`
 
19068
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19069
$as_echo "$ac_res" >&6; }
 
19070
else
 
19071
  # Is the header compilable?
 
19072
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
19073
$as_echo_n "checking $ac_header usability... " >&6; }
 
19074
cat >conftest.$ac_ext <<_ACEOF
 
19075
/* confdefs.h.  */
 
19076
_ACEOF
 
19077
cat confdefs.h >>conftest.$ac_ext
 
19078
cat >>conftest.$ac_ext <<_ACEOF
 
19079
/* end confdefs.h.  */
 
19080
$ac_includes_default
 
19081
#include <$ac_header>
 
19082
_ACEOF
 
19083
rm -f conftest.$ac_objext
 
19084
if { (ac_try="$ac_compile"
 
19085
case "(($ac_try" in
 
19086
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19087
  *) ac_try_echo=$ac_try;;
 
19088
esac
 
19089
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19090
$as_echo "$ac_try_echo") >&5
 
19091
  (eval "$ac_compile") 2>conftest.er1
 
19092
  ac_status=$?
 
19093
  grep -v '^ *+' conftest.er1 >conftest.err
 
19094
  rm -f conftest.er1
 
19095
  cat conftest.err >&5
 
19096
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19097
  (exit $ac_status); } && {
 
19098
         test -z "$ac_c_werror_flag" ||
 
19099
         test ! -s conftest.err
 
19100
       } && test -s conftest.$ac_objext; then
 
19101
  ac_header_compiler=yes
 
19102
else
 
19103
  $as_echo "$as_me: failed program was:" >&5
 
19104
sed 's/^/| /' conftest.$ac_ext >&5
 
19105
 
 
19106
        ac_header_compiler=no
 
19107
fi
 
19108
 
 
19109
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19110
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19111
$as_echo "$ac_header_compiler" >&6; }
 
19112
 
 
19113
# Is the header present?
 
19114
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
19115
$as_echo_n "checking $ac_header presence... " >&6; }
 
19116
cat >conftest.$ac_ext <<_ACEOF
 
19117
/* confdefs.h.  */
 
19118
_ACEOF
 
19119
cat confdefs.h >>conftest.$ac_ext
 
19120
cat >>conftest.$ac_ext <<_ACEOF
 
19121
/* end confdefs.h.  */
 
19122
#include <$ac_header>
 
19123
_ACEOF
 
19124
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
19125
case "(($ac_try" in
 
19126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19127
  *) ac_try_echo=$ac_try;;
 
19128
esac
 
19129
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19130
$as_echo "$ac_try_echo") >&5
 
19131
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
19132
  ac_status=$?
 
19133
  grep -v '^ *+' conftest.er1 >conftest.err
 
19134
  rm -f conftest.er1
 
19135
  cat conftest.err >&5
 
19136
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19137
  (exit $ac_status); } >/dev/null && {
 
19138
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
19139
         test ! -s conftest.err
 
19140
       }; then
 
19141
  ac_header_preproc=yes
 
19142
else
 
19143
  $as_echo "$as_me: failed program was:" >&5
 
19144
sed 's/^/| /' conftest.$ac_ext >&5
 
19145
 
 
19146
  ac_header_preproc=no
 
19147
fi
 
19148
 
 
19149
rm -f conftest.err conftest.$ac_ext
 
19150
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
19151
$as_echo "$ac_header_preproc" >&6; }
 
19152
 
 
19153
# So?  What about this header?
 
19154
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
19155
  yes:no: )
 
19156
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
19157
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19158
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
19159
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
19160
    ac_header_preproc=yes
 
19161
    ;;
 
19162
  no:yes:* )
 
19163
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
19164
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
19165
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
19166
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
19167
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
19168
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
19169
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
19170
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19171
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
19172
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
19173
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
19174
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
19175
 
 
19176
    ;;
 
19177
esac
 
19178
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19179
$as_echo_n "checking for $ac_header... " >&6; }
 
19180
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19181
  $as_echo_n "(cached) " >&6
 
19182
else
 
19183
  eval "$as_ac_Header=\$ac_header_preproc"
 
19184
fi
 
19185
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
19186
                 $as_echo "$as_val"'`
 
19187
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19188
$as_echo "$ac_res" >&6; }
 
19189
 
 
19190
fi
 
19191
as_val=`eval 'as_val=${'$as_ac_Header'}
 
19192
                 $as_echo "$as_val"'`
 
19193
   if test "x$as_val" = x""yes; then
 
19194
  cat >>confdefs.h <<_ACEOF
 
19195
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
19196
_ACEOF
 
19197
 
 
19198
{ $as_echo "$as_me:$LINENO: checking for XpCreateContext in -lXp" >&5
 
19199
$as_echo_n "checking for XpCreateContext in -lXp... " >&6; }
 
19200
if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
 
19201
  $as_echo_n "(cached) " >&6
 
19202
else
 
19203
  ac_check_lib_save_LIBS=$LIBS
 
19204
LIBS="-lXp  $LIBS"
 
19205
cat >conftest.$ac_ext <<_ACEOF
 
19206
/* confdefs.h.  */
 
19207
_ACEOF
 
19208
cat confdefs.h >>conftest.$ac_ext
 
19209
cat >>conftest.$ac_ext <<_ACEOF
 
19210
/* end confdefs.h.  */
 
19211
 
 
19212
/* Override any GCC internal prototype to avoid an error.
 
19213
   Use char because int might match the return type of a GCC
 
19214
   builtin and then its argument prototype would still apply.  */
 
19215
#ifdef __cplusplus
 
19216
extern "C"
 
19217
#endif
 
19218
char XpCreateContext ();
 
19219
int
 
19220
main ()
 
19221
{
 
19222
return XpCreateContext ();
26353
19223
  ;
26354
19224
  return 0;
26355
19225
}
26356
19226
_ACEOF
26357
19227
rm -f conftest.$ac_objext conftest$ac_exeext
26358
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26359
 
  (eval $ac_link) 2>conftest.er1
 
19228
if { (ac_try="$ac_link"
 
19229
case "(($ac_try" in
 
19230
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19231
  *) ac_try_echo=$ac_try;;
 
19232
esac
 
19233
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19234
$as_echo "$ac_try_echo") >&5
 
19235
  (eval "$ac_link") 2>conftest.er1
26360
19236
  ac_status=$?
26361
19237
  grep -v '^ *+' conftest.er1 >conftest.err
26362
19238
  rm -f conftest.er1
26363
19239
  cat conftest.err >&5
26364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26365
 
  (exit $ac_status); } &&
26366
 
         { ac_try='test -z "$ac_c_werror_flag"
26367
 
                         || test ! -s conftest.err'
26368
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369
 
  (eval $ac_try) 2>&5
26370
 
  ac_status=$?
26371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372
 
  (exit $ac_status); }; } &&
26373
 
         { ac_try='test -s conftest$ac_exeext'
26374
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26375
 
  (eval $ac_try) 2>&5
26376
 
  ac_status=$?
26377
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378
 
  (exit $ac_status); }; }; then
26379
 
  ac_cv_lib_iconv_iconv_open=yes
 
19240
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19241
  (exit $ac_status); } && {
 
19242
         test -z "$ac_c_werror_flag" ||
 
19243
         test ! -s conftest.err
 
19244
       } && test -s conftest$ac_exeext && {
 
19245
         test "$cross_compiling" = yes ||
 
19246
         $as_test_x conftest$ac_exeext
 
19247
       }; then
 
19248
  ac_cv_lib_Xp_XpCreateContext=yes
26380
19249
else
26381
 
  echo "$as_me: failed program was:" >&5
 
19250
  $as_echo "$as_me: failed program was:" >&5
26382
19251
sed 's/^/| /' conftest.$ac_ext >&5
26383
19252
 
26384
 
ac_cv_lib_iconv_iconv_open=no
 
19253
        ac_cv_lib_Xp_XpCreateContext=no
26385
19254
fi
26386
 
rm -f conftest.err conftest.$ac_objext \
 
19255
 
 
19256
rm -rf conftest.dSYM
 
19257
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26387
19258
      conftest$ac_exeext conftest.$ac_ext
26388
19259
LIBS=$ac_check_lib_save_LIBS
26389
19260
fi
26390
 
echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
26391
 
echo "${ECHO_T}$ac_cv_lib_iconv_iconv_open" >&6
26392
 
if test $ac_cv_lib_iconv_iconv_open = yes; then
 
19261
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpCreateContext" >&5
 
19262
$as_echo "$ac_cv_lib_Xp_XpCreateContext" >&6; }
 
19263
if test "x$ac_cv_lib_Xp_XpCreateContext" = x""yes; then
26393
19264
  cat >>confdefs.h <<_ACEOF
26394
 
#define HAVE_LIBICONV 1
26395
 
_ACEOF
26396
 
 
26397
 
  LIBS="-liconv $LIBS"
26398
 
 
26399
 
fi
26400
 
 
26401
 
fi
26402
 
 
26403
 
 
26404
 
 
26405
 
 
26406
 
 
26407
 
 
26408
 
 
26409
 
 
26410
 
 
26411
 
 
26412
 
 
26413
 
 
26414
 
 
26415
 
 
26416
 
 
26417
 
# Check whether --enable-xft or --disable-xft was given.
 
19265
#define HAVE_LIBXP 1
 
19266
_ACEOF
 
19267
 
 
19268
  LIBS="-lXp $LIBS"
 
19269
 
 
19270
else
 
19271
  enable_printing="no"
 
19272
fi
 
19273
 
 
19274
else
 
19275
  enable_printing="no"
 
19276
fi
 
19277
 
 
19278
done
 
19279
 
 
19280
fi
 
19281
 
 
19282
if test "$enable_printing" = "yes"
 
19283
then
 
19284
  LIB_XP=-lXp
 
19285
 
 
19286
cat >>confdefs.h <<\_ACEOF
 
19287
#define PRINTING_SUPPORTED 1
 
19288
_ACEOF
 
19289
 
 
19290
  PRINTING_SUPPORTED_FALSE=!
 
19291
  PRINTING_SUPPORTED_TRUE=
 
19292
else
 
19293
  LIB_XP=
 
19294
  PRINTING_SUPPORTED_FALSE=
 
19295
  PRINTING_SUPPORTED_TRUE=!
 
19296
fi
 
19297
 
 
19298
 
 
19299
 
 
19300
 if test "$enable_printing" = "yes"; then
 
19301
  PRINTING_TRUE=
 
19302
  PRINTING_FALSE='#'
 
19303
else
 
19304
  PRINTING_TRUE='#'
 
19305
  PRINTING_FALSE=
 
19306
fi
 
19307
 
 
19308
 
 
19309
 
 
19310
 
 
19311
 
 
19312
 
 
19313
 
 
19314
 
 
19315
 
 
19316
 
 
19317
 
 
19318
 
 
19319
 
 
19320
 
 
19321
 
 
19322
 
 
19323
 
 
19324
# Check whether --enable-xft was given.
26418
19325
if test "${enable_xft+set}" = set; then
26419
 
  enableval="$enable_xft"
26420
 
 
 
19326
  enableval=$enable_xft;
26421
19327
else
26422
19328
  enable_xft=yes
26423
 
fi;
26424
 
 
26425
 
# Check whether --with-freetype_includes or --without-freetype_includes was given.
 
19329
fi
 
19330
 
 
19331
 
 
19332
# Check whether --with-freetype_includes was given.
26426
19333
if test "${with_freetype_includes+set}" = set; then
26427
 
  withval="$with_freetype_includes"
26428
 
  freetype_includes=$withval
 
19334
  withval=$with_freetype_includes; freetype_includes=$withval
26429
19335
else
26430
19336
  freetype_includes=yes
26431
 
fi;
26432
 
 
26433
 
# Check whether --with-freetype_lib or --without-freetype_lib was given.
 
19337
fi
 
19338
 
 
19339
 
 
19340
# Check whether --with-freetype_lib was given.
26434
19341
if test "${with_freetype_lib+set}" = set; then
26435
 
  withval="$with_freetype_lib"
26436
 
  freetype_lib=$withval
 
19342
  withval=$with_freetype_lib; freetype_lib=$withval
26437
19343
else
26438
19344
  freetype_lib=yes
26439
 
fi;
26440
 
 
26441
 
# Check whether --with-freetype_config or --without-freetype_config was given.
 
19345
fi
 
19346
 
 
19347
 
 
19348
# Check whether --with-freetype_config was given.
26442
19349
if test "${with_freetype_config+set}" = set; then
26443
 
  withval="$with_freetype_config"
26444
 
  freetype_config=$withval
 
19350
  withval=$with_freetype_config; freetype_config=$withval
26445
19351
else
26446
19352
  freetype_config=yes
26447
 
fi;
26448
 
 
26449
 
# Check whether --with-default_fonts or --without-default_fonts was given.
 
19353
fi
 
19354
 
 
19355
 
 
19356
# Check whether --with-default_fonts was given.
26450
19357
if test "${with_default_fonts+set}" = set; then
26451
 
  withval="$with_default_fonts"
26452
 
  defaultfonts="$withval"
 
19358
  withval=$with_default_fonts; defaultfonts="$withval"
26453
19359
else
26454
19360
  default_fonts=yes
26455
 
fi;
26456
 
 
26457
 
# Check whether --with-fontconfig_includes or --without-fontconfig_includes was given.
 
19361
fi
 
19362
 
 
19363
 
 
19364
# Check whether --with-fontconfig_includes was given.
26458
19365
if test "${with_fontconfig_includes+set}" = set; then
26459
 
  withval="$with_fontconfig_includes"
26460
 
  fontconfig_includes=$withval
 
19366
  withval=$with_fontconfig_includes; fontconfig_includes=$withval
26461
19367
else
26462
19368
  fontconfig_includes=yes
26463
 
fi;
26464
 
 
26465
 
# Check whether --with-fontconfig_lib or --without-fontconfig_lib was given.
 
19369
fi
 
19370
 
 
19371
 
 
19372
# Check whether --with-fontconfig_lib was given.
26466
19373
if test "${with_fontconfig_lib+set}" = set; then
26467
 
  withval="$with_fontconfig_lib"
26468
 
  fontconfig_lib=$withval
 
19374
  withval=$with_fontconfig_lib; fontconfig_lib=$withval
26469
19375
else
26470
19376
  fontconfig_lib=yes
26471
 
fi;
26472
 
 
26473
 
# Check whether --with-fontconfig_config or --without-fontconfig_config was given.
 
19377
fi
 
19378
 
 
19379
 
 
19380
# Check whether --with-fontconfig_config was given.
26474
19381
if test "${with_fontconfig_config+set}" = set; then
26475
 
  withval="$with_fontconfig_config"
26476
 
  fontconfig_config=$withval
 
19382
  withval=$with_fontconfig_config; fontconfig_config=$withval
26477
19383
else
26478
19384
  fontconfig_config=yes
26479
 
fi;
 
19385
fi
 
19386
 
26480
19387
 
26481
19388
if test "$enable_xft" = "yes"
26482
19389
then
26490
19397
yes)
26491
19398
        # Extract the first word of "freetype-config", so it can be a program name with args.
26492
19399
set dummy freetype-config; ac_word=$2
26493
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
26494
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
19400
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
19401
$as_echo_n "checking for $ac_word... " >&6; }
26495
19402
if test "${ac_cv_prog_ft_config+set}" = set; then
26496
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19403
  $as_echo_n "(cached) " >&6
26497
19404
else
26498
19405
  if test -n "$ft_config"; then
26499
19406
  ac_cv_prog_ft_config="$ft_config" # Let the user override the test.
26504
19411
  IFS=$as_save_IFS
26505
19412
  test -z "$as_dir" && as_dir=.
26506
19413
  for ac_exec_ext in '' $ac_executable_extensions; do
26507
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
19414
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26508
19415
    ac_cv_prog_ft_config="freetype-config"
26509
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
19416
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26510
19417
    break 2
26511
19418
  fi
26512
19419
done
26513
19420
done
 
19421
IFS=$as_save_IFS
26514
19422
 
26515
19423
  test -z "$ac_cv_prog_ft_config" && ac_cv_prog_ft_config="no"
26516
19424
fi
26517
19425
fi
26518
19426
ft_config=$ac_cv_prog_ft_config
26519
19427
if test -n "$ft_config"; then
26520
 
  echo "$as_me:$LINENO: result: $ft_config" >&5
26521
 
echo "${ECHO_T}$ft_config" >&6
 
19428
  { $as_echo "$as_me:$LINENO: result: $ft_config" >&5
 
19429
$as_echo "$ft_config" >&6; }
26522
19430
else
26523
 
  echo "$as_me:$LINENO: result: no" >&5
26524
 
echo "${ECHO_T}no" >&6
 
19431
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
19432
$as_echo "no" >&6; }
26525
19433
fi
26526
19434
 
 
19435
 
26527
19436
        ;;
26528
19437
*)
26529
19438
        ft_config="$freetype_config"
26575
19484
 
26576
19485
for ac_header in freetype/freetype.h
26577
19486
do
26578
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26579
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26580
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
26581
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26582
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26583
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19487
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
19488
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19489
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19490
$as_echo_n "checking for $ac_header... " >&6; }
 
19491
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19492
  $as_echo_n "(cached) " >&6
26584
19493
fi
26585
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26586
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
19494
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
19495
                 $as_echo "$as_val"'`
 
19496
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19497
$as_echo "$ac_res" >&6; }
26587
19498
else
26588
19499
  # Is the header compilable?
26589
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
26590
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
19500
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
19501
$as_echo_n "checking $ac_header usability... " >&6; }
26591
19502
cat >conftest.$ac_ext <<_ACEOF
26592
19503
/* confdefs.h.  */
26593
19504
_ACEOF
26598
19509
#include <$ac_header>
26599
19510
_ACEOF
26600
19511
rm -f conftest.$ac_objext
26601
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26602
 
  (eval $ac_compile) 2>conftest.er1
 
19512
if { (ac_try="$ac_compile"
 
19513
case "(($ac_try" in
 
19514
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19515
  *) ac_try_echo=$ac_try;;
 
19516
esac
 
19517
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19518
$as_echo "$ac_try_echo") >&5
 
19519
  (eval "$ac_compile") 2>conftest.er1
26603
19520
  ac_status=$?
26604
19521
  grep -v '^ *+' conftest.er1 >conftest.err
26605
19522
  rm -f conftest.er1
26606
19523
  cat conftest.err >&5
26607
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608
 
  (exit $ac_status); } &&
26609
 
         { ac_try='test -z "$ac_c_werror_flag"
26610
 
                         || test ! -s conftest.err'
26611
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26612
 
  (eval $ac_try) 2>&5
26613
 
  ac_status=$?
26614
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26615
 
  (exit $ac_status); }; } &&
26616
 
         { ac_try='test -s conftest.$ac_objext'
26617
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26618
 
  (eval $ac_try) 2>&5
26619
 
  ac_status=$?
26620
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621
 
  (exit $ac_status); }; }; then
 
19524
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19525
  (exit $ac_status); } && {
 
19526
         test -z "$ac_c_werror_flag" ||
 
19527
         test ! -s conftest.err
 
19528
       } && test -s conftest.$ac_objext; then
26622
19529
  ac_header_compiler=yes
26623
19530
else
26624
 
  echo "$as_me: failed program was:" >&5
 
19531
  $as_echo "$as_me: failed program was:" >&5
26625
19532
sed 's/^/| /' conftest.$ac_ext >&5
26626
19533
 
26627
 
ac_header_compiler=no
 
19534
        ac_header_compiler=no
26628
19535
fi
26629
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26630
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26631
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
19536
 
 
19537
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19538
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19539
$as_echo "$ac_header_compiler" >&6; }
26632
19540
 
26633
19541
# Is the header present?
26634
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
26635
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
19542
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
19543
$as_echo_n "checking $ac_header presence... " >&6; }
26636
19544
cat >conftest.$ac_ext <<_ACEOF
26637
19545
/* confdefs.h.  */
26638
19546
_ACEOF
26641
19549
/* end confdefs.h.  */
26642
19550
#include <$ac_header>
26643
19551
_ACEOF
26644
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26645
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
19552
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
19553
case "(($ac_try" in
 
19554
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19555
  *) ac_try_echo=$ac_try;;
 
19556
esac
 
19557
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19558
$as_echo "$ac_try_echo") >&5
 
19559
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26646
19560
  ac_status=$?
26647
19561
  grep -v '^ *+' conftest.er1 >conftest.err
26648
19562
  rm -f conftest.er1
26649
19563
  cat conftest.err >&5
26650
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651
 
  (exit $ac_status); } >/dev/null; then
26652
 
  if test -s conftest.err; then
26653
 
    ac_cpp_err=$ac_c_preproc_warn_flag
26654
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26655
 
  else
26656
 
    ac_cpp_err=
26657
 
  fi
26658
 
else
26659
 
  ac_cpp_err=yes
26660
 
fi
26661
 
if test -z "$ac_cpp_err"; then
 
19564
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19565
  (exit $ac_status); } >/dev/null && {
 
19566
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
19567
         test ! -s conftest.err
 
19568
       }; then
26662
19569
  ac_header_preproc=yes
26663
19570
else
26664
 
  echo "$as_me: failed program was:" >&5
 
19571
  $as_echo "$as_me: failed program was:" >&5
26665
19572
sed 's/^/| /' conftest.$ac_ext >&5
26666
19573
 
26667
19574
  ac_header_preproc=no
26668
19575
fi
 
19576
 
26669
19577
rm -f conftest.err conftest.$ac_ext
26670
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26671
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
19578
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
19579
$as_echo "$ac_header_preproc" >&6; }
26672
19580
 
26673
19581
# So?  What about this header?
26674
19582
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26675
19583
  yes:no: )
26676
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26677
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26678
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26679
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
19584
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
19585
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19586
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
19587
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26680
19588
    ac_header_preproc=yes
26681
19589
    ;;
26682
19590
  no:yes:* )
26683
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26684
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26685
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
26686
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
26687
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26688
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26689
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
26690
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
26691
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26692
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26693
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26694
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26695
 
    (
26696
 
      cat <<\_ASBOX
26697
 
## ------------------------------------------ ##
26698
 
## Report this to the AC_PACKAGE_NAME lists.  ##
26699
 
## ------------------------------------------ ##
26700
 
_ASBOX
26701
 
    ) |
26702
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
19591
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
19592
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
19593
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
19594
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
19595
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
19596
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
19597
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
19598
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19599
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
19600
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
19601
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
19602
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
19603
 
26703
19604
    ;;
26704
19605
esac
26705
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
26706
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26707
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26708
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19606
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19607
$as_echo_n "checking for $ac_header... " >&6; }
 
19608
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19609
  $as_echo_n "(cached) " >&6
26709
19610
else
26710
19611
  eval "$as_ac_Header=\$ac_header_preproc"
26711
19612
fi
26712
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26713
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
19613
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
19614
                 $as_echo "$as_val"'`
 
19615
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19616
$as_echo "$ac_res" >&6; }
26714
19617
 
26715
19618
fi
26716
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
19619
as_val=`eval 'as_val=${'$as_ac_Header'}
 
19620
                 $as_echo "$as_val"'`
 
19621
   if test "x$as_val" = x""yes; then
26717
19622
  cat >>confdefs.h <<_ACEOF
26718
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
19623
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26719
19624
_ACEOF
26720
19625
 
26721
19626
fi
26723
19628
done
26724
19629
 
26725
19630
 
26726
 
LT_HAVE_FREETYPE="no"
 
19631
FINDXFT_HAVE_FREETYPE="no"
26727
19632
case "$ac_cv_header_freetype_freetype_h" in
26728
19633
no)
26729
19634
        CPPFLAGS="$saved_CPPFLAGS"
26733
19638
 
26734
19639
for ac_func in FT_Init_FreeType
26735
19640
do
26736
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26737
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
26738
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26739
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
26740
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19641
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
19642
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
19643
$as_echo_n "checking for $ac_func... " >&6; }
 
19644
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
19645
  $as_echo_n "(cached) " >&6
26741
19646
else
26742
19647
  cat >conftest.$ac_ext <<_ACEOF
26743
19648
/* confdefs.h.  */
26762
19667
 
26763
19668
#undef $ac_func
26764
19669
 
26765
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
19670
/* Override any GCC internal prototype to avoid an error.
 
19671
   Use char because int might match the return type of a GCC
 
19672
   builtin and then its argument prototype would still apply.  */
26766
19673
#ifdef __cplusplus
26767
19674
extern "C"
26768
 
{
26769
19675
#endif
26770
 
/* We use char because int might match the return type of a gcc2
26771
 
   builtin and then its argument prototype would still apply.  */
26772
19676
char $ac_func ();
26773
19677
/* The GNU C library defines this for functions which it implements
26774
19678
    to always fail with ENOSYS.  Some functions are actually named
26775
19679
    something starting with __ and the normal name is an alias.  */
26776
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
19680
#if defined __stub_$ac_func || defined __stub___$ac_func
26777
19681
choke me
26778
 
#else
26779
 
char (*f) () = $ac_func;
26780
 
#endif
26781
 
#ifdef __cplusplus
26782
 
}
26783
19682
#endif
26784
19683
 
26785
19684
int
26786
19685
main ()
26787
19686
{
26788
 
return f != $ac_func;
 
19687
return $ac_func ();
26789
19688
  ;
26790
19689
  return 0;
26791
19690
}
26792
19691
_ACEOF
26793
19692
rm -f conftest.$ac_objext conftest$ac_exeext
26794
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26795
 
  (eval $ac_link) 2>conftest.er1
 
19693
if { (ac_try="$ac_link"
 
19694
case "(($ac_try" in
 
19695
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19696
  *) ac_try_echo=$ac_try;;
 
19697
esac
 
19698
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19699
$as_echo "$ac_try_echo") >&5
 
19700
  (eval "$ac_link") 2>conftest.er1
26796
19701
  ac_status=$?
26797
19702
  grep -v '^ *+' conftest.er1 >conftest.err
26798
19703
  rm -f conftest.er1
26799
19704
  cat conftest.err >&5
26800
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801
 
  (exit $ac_status); } &&
26802
 
         { ac_try='test -z "$ac_c_werror_flag"
26803
 
                         || test ! -s conftest.err'
26804
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805
 
  (eval $ac_try) 2>&5
26806
 
  ac_status=$?
26807
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808
 
  (exit $ac_status); }; } &&
26809
 
         { ac_try='test -s conftest$ac_exeext'
26810
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811
 
  (eval $ac_try) 2>&5
26812
 
  ac_status=$?
26813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814
 
  (exit $ac_status); }; }; then
 
19705
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19706
  (exit $ac_status); } && {
 
19707
         test -z "$ac_c_werror_flag" ||
 
19708
         test ! -s conftest.err
 
19709
       } && test -s conftest$ac_exeext && {
 
19710
         test "$cross_compiling" = yes ||
 
19711
         $as_test_x conftest$ac_exeext
 
19712
       }; then
26815
19713
  eval "$as_ac_var=yes"
26816
19714
else
26817
 
  echo "$as_me: failed program was:" >&5
 
19715
  $as_echo "$as_me: failed program was:" >&5
26818
19716
sed 's/^/| /' conftest.$ac_ext >&5
26819
19717
 
26820
 
eval "$as_ac_var=no"
 
19718
        eval "$as_ac_var=no"
26821
19719
fi
26822
 
rm -f conftest.err conftest.$ac_objext \
 
19720
 
 
19721
rm -rf conftest.dSYM
 
19722
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26823
19723
      conftest$ac_exeext conftest.$ac_ext
26824
19724
fi
26825
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26826
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26827
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
19725
ac_res=`eval 'as_val=${'$as_ac_var'}
 
19726
                 $as_echo "$as_val"'`
 
19727
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19728
$as_echo "$ac_res" >&6; }
 
19729
as_val=`eval 'as_val=${'$as_ac_var'}
 
19730
                 $as_echo "$as_val"'`
 
19731
   if test "x$as_val" = x""yes; then
26828
19732
  cat >>confdefs.h <<_ACEOF
26829
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
19733
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26830
19734
_ACEOF
26831
19735
 
26832
19736
fi
26838
19742
                LIBS="$saved_LIBS"
26839
19743
                ;;
26840
19744
        yes)
26841
 
                LT_HAVE_FREETYPE="yes"
 
19745
                FINDXFT_HAVE_FREETYPE="yes"
26842
19746
 
26843
19747
cat >>confdefs.h <<\_ACEOF
26844
19748
#define HAVE_FREETYPE 1
26891
19795
#
26892
19796
# Check X configuration
26893
19797
#
26894
 
LT_HAVE_XRENDER="no"
 
19798
FINDXFT_HAVE_XRENDER="no"
26895
19799
case "$have_x" in
26896
19800
yes)
26897
19801
        XRENDER_CFLAGS="-I$x_includes"
26904
19808
 
26905
19809
for ac_header in X11/extensions/Xrender.h
26906
19810
do
26907
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26908
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26909
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
26910
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26911
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
26912
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19811
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
19812
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19813
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19814
$as_echo_n "checking for $ac_header... " >&6; }
 
19815
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19816
  $as_echo_n "(cached) " >&6
26913
19817
fi
26914
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26915
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
19818
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
19819
                 $as_echo "$as_val"'`
 
19820
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19821
$as_echo "$ac_res" >&6; }
26916
19822
else
26917
19823
  # Is the header compilable?
26918
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
26919
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
19824
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
19825
$as_echo_n "checking $ac_header usability... " >&6; }
26920
19826
cat >conftest.$ac_ext <<_ACEOF
26921
19827
/* confdefs.h.  */
26922
19828
_ACEOF
26927
19833
#include <$ac_header>
26928
19834
_ACEOF
26929
19835
rm -f conftest.$ac_objext
26930
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26931
 
  (eval $ac_compile) 2>conftest.er1
 
19836
if { (ac_try="$ac_compile"
 
19837
case "(($ac_try" in
 
19838
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19839
  *) ac_try_echo=$ac_try;;
 
19840
esac
 
19841
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19842
$as_echo "$ac_try_echo") >&5
 
19843
  (eval "$ac_compile") 2>conftest.er1
26932
19844
  ac_status=$?
26933
19845
  grep -v '^ *+' conftest.er1 >conftest.err
26934
19846
  rm -f conftest.er1
26935
19847
  cat conftest.err >&5
26936
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937
 
  (exit $ac_status); } &&
26938
 
         { ac_try='test -z "$ac_c_werror_flag"
26939
 
                         || test ! -s conftest.err'
26940
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26941
 
  (eval $ac_try) 2>&5
26942
 
  ac_status=$?
26943
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26944
 
  (exit $ac_status); }; } &&
26945
 
         { ac_try='test -s conftest.$ac_objext'
26946
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26947
 
  (eval $ac_try) 2>&5
26948
 
  ac_status=$?
26949
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950
 
  (exit $ac_status); }; }; then
 
19848
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19849
  (exit $ac_status); } && {
 
19850
         test -z "$ac_c_werror_flag" ||
 
19851
         test ! -s conftest.err
 
19852
       } && test -s conftest.$ac_objext; then
26951
19853
  ac_header_compiler=yes
26952
19854
else
26953
 
  echo "$as_me: failed program was:" >&5
 
19855
  $as_echo "$as_me: failed program was:" >&5
26954
19856
sed 's/^/| /' conftest.$ac_ext >&5
26955
19857
 
26956
 
ac_header_compiler=no
 
19858
        ac_header_compiler=no
26957
19859
fi
26958
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26959
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26960
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
19860
 
 
19861
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
19862
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
19863
$as_echo "$ac_header_compiler" >&6; }
26961
19864
 
26962
19865
# Is the header present?
26963
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
26964
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
19866
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
19867
$as_echo_n "checking $ac_header presence... " >&6; }
26965
19868
cat >conftest.$ac_ext <<_ACEOF
26966
19869
/* confdefs.h.  */
26967
19870
_ACEOF
26970
19873
/* end confdefs.h.  */
26971
19874
#include <$ac_header>
26972
19875
_ACEOF
26973
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26974
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
19876
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
19877
case "(($ac_try" in
 
19878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
19879
  *) ac_try_echo=$ac_try;;
 
19880
esac
 
19881
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
19882
$as_echo "$ac_try_echo") >&5
 
19883
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26975
19884
  ac_status=$?
26976
19885
  grep -v '^ *+' conftest.er1 >conftest.err
26977
19886
  rm -f conftest.er1
26978
19887
  cat conftest.err >&5
26979
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980
 
  (exit $ac_status); } >/dev/null; then
26981
 
  if test -s conftest.err; then
26982
 
    ac_cpp_err=$ac_c_preproc_warn_flag
26983
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26984
 
  else
26985
 
    ac_cpp_err=
26986
 
  fi
26987
 
else
26988
 
  ac_cpp_err=yes
26989
 
fi
26990
 
if test -z "$ac_cpp_err"; then
 
19888
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
19889
  (exit $ac_status); } >/dev/null && {
 
19890
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
19891
         test ! -s conftest.err
 
19892
       }; then
26991
19893
  ac_header_preproc=yes
26992
19894
else
26993
 
  echo "$as_me: failed program was:" >&5
 
19895
  $as_echo "$as_me: failed program was:" >&5
26994
19896
sed 's/^/| /' conftest.$ac_ext >&5
26995
19897
 
26996
19898
  ac_header_preproc=no
26997
19899
fi
 
19900
 
26998
19901
rm -f conftest.err conftest.$ac_ext
26999
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27000
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
19902
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
19903
$as_echo "$ac_header_preproc" >&6; }
27001
19904
 
27002
19905
# So?  What about this header?
27003
19906
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27004
19907
  yes:no: )
27005
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27006
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27007
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27008
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
19908
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
19909
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19910
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
19911
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27009
19912
    ac_header_preproc=yes
27010
19913
    ;;
27011
19914
  no:yes:* )
27012
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27013
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27014
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27015
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27016
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27017
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27018
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27019
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27020
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27021
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27022
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27023
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27024
 
    (
27025
 
      cat <<\_ASBOX
27026
 
## ------------------------------------------ ##
27027
 
## Report this to the AC_PACKAGE_NAME lists.  ##
27028
 
## ------------------------------------------ ##
27029
 
_ASBOX
27030
 
    ) |
27031
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
19915
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
19916
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
19917
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
19918
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
19919
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
19920
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
19921
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
19922
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19923
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
19924
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
19925
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
19926
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
19927
 
27032
19928
    ;;
27033
19929
esac
27034
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
27035
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27036
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27037
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19930
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19931
$as_echo_n "checking for $ac_header... " >&6; }
 
19932
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19933
  $as_echo_n "(cached) " >&6
27038
19934
else
27039
19935
  eval "$as_ac_Header=\$ac_header_preproc"
27040
19936
fi
27041
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27042
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
19937
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
19938
                 $as_echo "$as_val"'`
 
19939
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
19940
$as_echo "$ac_res" >&6; }
27043
19941
 
27044
19942
fi
27045
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
19943
as_val=`eval 'as_val=${'$as_ac_Header'}
 
19944
                 $as_echo "$as_val"'`
 
19945
   if test "x$as_val" = x""yes; then
27046
19946
  cat >>confdefs.h <<_ACEOF
27047
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
19947
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27048
19948
_ACEOF
27049
19949
 
27050
19950
fi
27061
19961
 
27062
19962
for ac_func in XRenderParseColor
27063
19963
do
27064
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27065
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
27066
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27067
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
27068
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
19964
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
19965
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
19966
$as_echo_n "checking for $ac_func... " >&6; }
 
19967
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
19968
  $as_echo_n "(cached) " >&6
27069
19969
else
27070
19970
  cat >conftest.$ac_ext <<_ACEOF
27071
19971
/* confdefs.h.  */
27090
19990
 
27091
19991
#undef $ac_func
27092
19992
 
27093
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
19993
/* Override any GCC internal prototype to avoid an error.
 
19994
   Use char because int might match the return type of a GCC
 
19995
   builtin and then its argument prototype would still apply.  */
27094
19996
#ifdef __cplusplus
27095
19997
extern "C"
27096
 
{
27097
19998
#endif
27098
 
/* We use char because int might match the return type of a gcc2
27099
 
   builtin and then its argument prototype would still apply.  */
27100
19999
char $ac_func ();
27101
20000
/* The GNU C library defines this for functions which it implements
27102
20001
    to always fail with ENOSYS.  Some functions are actually named
27103
20002
    something starting with __ and the normal name is an alias.  */
27104
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
20003
#if defined __stub_$ac_func || defined __stub___$ac_func
27105
20004
choke me
27106
 
#else
27107
 
char (*f) () = $ac_func;
27108
 
#endif
27109
 
#ifdef __cplusplus
27110
 
}
27111
20005
#endif
27112
20006
 
27113
20007
int
27114
20008
main ()
27115
20009
{
27116
 
return f != $ac_func;
 
20010
return $ac_func ();
27117
20011
  ;
27118
20012
  return 0;
27119
20013
}
27120
20014
_ACEOF
27121
20015
rm -f conftest.$ac_objext conftest$ac_exeext
27122
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27123
 
  (eval $ac_link) 2>conftest.er1
 
20016
if { (ac_try="$ac_link"
 
20017
case "(($ac_try" in
 
20018
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20019
  *) ac_try_echo=$ac_try;;
 
20020
esac
 
20021
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20022
$as_echo "$ac_try_echo") >&5
 
20023
  (eval "$ac_link") 2>conftest.er1
27124
20024
  ac_status=$?
27125
20025
  grep -v '^ *+' conftest.er1 >conftest.err
27126
20026
  rm -f conftest.er1
27127
20027
  cat conftest.err >&5
27128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129
 
  (exit $ac_status); } &&
27130
 
         { ac_try='test -z "$ac_c_werror_flag"
27131
 
                         || test ! -s conftest.err'
27132
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133
 
  (eval $ac_try) 2>&5
27134
 
  ac_status=$?
27135
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136
 
  (exit $ac_status); }; } &&
27137
 
         { ac_try='test -s conftest$ac_exeext'
27138
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27139
 
  (eval $ac_try) 2>&5
27140
 
  ac_status=$?
27141
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142
 
  (exit $ac_status); }; }; then
 
20028
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20029
  (exit $ac_status); } && {
 
20030
         test -z "$ac_c_werror_flag" ||
 
20031
         test ! -s conftest.err
 
20032
       } && test -s conftest$ac_exeext && {
 
20033
         test "$cross_compiling" = yes ||
 
20034
         $as_test_x conftest$ac_exeext
 
20035
       }; then
27143
20036
  eval "$as_ac_var=yes"
27144
20037
else
27145
 
  echo "$as_me: failed program was:" >&5
 
20038
  $as_echo "$as_me: failed program was:" >&5
27146
20039
sed 's/^/| /' conftest.$ac_ext >&5
27147
20040
 
27148
 
eval "$as_ac_var=no"
 
20041
        eval "$as_ac_var=no"
27149
20042
fi
27150
 
rm -f conftest.err conftest.$ac_objext \
 
20043
 
 
20044
rm -rf conftest.dSYM
 
20045
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27151
20046
      conftest$ac_exeext conftest.$ac_ext
27152
20047
fi
27153
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27154
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27155
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
20048
ac_res=`eval 'as_val=${'$as_ac_var'}
 
20049
                 $as_echo "$as_val"'`
 
20050
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20051
$as_echo "$ac_res" >&6; }
 
20052
as_val=`eval 'as_val=${'$as_ac_var'}
 
20053
                 $as_echo "$as_val"'`
 
20054
   if test "x$as_val" = x""yes; then
27156
20055
  cat >>confdefs.h <<_ACEOF
27157
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
20056
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27158
20057
_ACEOF
27159
20058
 
27160
20059
fi
27166
20065
                        LIBS="$saved_LIBS"
27167
20066
                        ;;
27168
20067
                yes)
27169
 
                        LT_HAVE_XRENDER="yes"
 
20068
                        FINDXFT_HAVE_XRENDER="yes"
27170
20069
 
27171
20070
cat >>confdefs.h <<\_ACEOF
27172
20071
#define HAVE_XRENDER 1
27191
20090
yes)
27192
20091
        # Extract the first word of "fontconfig-config", so it can be a program name with args.
27193
20092
set dummy fontconfig-config; ac_word=$2
27194
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
27195
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20093
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20094
$as_echo_n "checking for $ac_word... " >&6; }
27196
20095
if test "${ac_cv_prog_fc_config+set}" = set; then
27197
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20096
  $as_echo_n "(cached) " >&6
27198
20097
else
27199
20098
  if test -n "$fc_config"; then
27200
20099
  ac_cv_prog_fc_config="$fc_config" # Let the user override the test.
27205
20104
  IFS=$as_save_IFS
27206
20105
  test -z "$as_dir" && as_dir=.
27207
20106
  for ac_exec_ext in '' $ac_executable_extensions; do
27208
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20107
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27209
20108
    ac_cv_prog_fc_config="fontconfig-config"
27210
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20109
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27211
20110
    break 2
27212
20111
  fi
27213
20112
done
27214
20113
done
 
20114
IFS=$as_save_IFS
27215
20115
 
27216
20116
  test -z "$ac_cv_prog_fc_config" && ac_cv_prog_fc_config="no"
27217
20117
fi
27218
20118
fi
27219
20119
fc_config=$ac_cv_prog_fc_config
27220
20120
if test -n "$fc_config"; then
27221
 
  echo "$as_me:$LINENO: result: $fc_config" >&5
27222
 
echo "${ECHO_T}$fc_config" >&6
 
20121
  { $as_echo "$as_me:$LINENO: result: $fc_config" >&5
 
20122
$as_echo "$fc_config" >&6; }
27223
20123
else
27224
 
  echo "$as_me:$LINENO: result: no" >&5
27225
 
echo "${ECHO_T}no" >&6
 
20124
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
20125
$as_echo "no" >&6; }
27226
20126
fi
27227
20127
 
 
20128
 
27228
20129
        ;;
27229
20130
*)
27230
20131
        fc_config="$fontconfig_config"
27276
20177
 
27277
20178
for ac_header in fontconfig/fontconfig.h
27278
20179
do
27279
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27280
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27281
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
27282
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27283
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27284
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20180
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20181
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20182
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20183
$as_echo_n "checking for $ac_header... " >&6; }
 
20184
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20185
  $as_echo_n "(cached) " >&6
27285
20186
fi
27286
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27287
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20187
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20188
                 $as_echo "$as_val"'`
 
20189
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20190
$as_echo "$ac_res" >&6; }
27288
20191
else
27289
20192
  # Is the header compilable?
27290
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
27291
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20193
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20194
$as_echo_n "checking $ac_header usability... " >&6; }
27292
20195
cat >conftest.$ac_ext <<_ACEOF
27293
20196
/* confdefs.h.  */
27294
20197
_ACEOF
27299
20202
#include <$ac_header>
27300
20203
_ACEOF
27301
20204
rm -f conftest.$ac_objext
27302
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27303
 
  (eval $ac_compile) 2>conftest.er1
 
20205
if { (ac_try="$ac_compile"
 
20206
case "(($ac_try" in
 
20207
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20208
  *) ac_try_echo=$ac_try;;
 
20209
esac
 
20210
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20211
$as_echo "$ac_try_echo") >&5
 
20212
  (eval "$ac_compile") 2>conftest.er1
27304
20213
  ac_status=$?
27305
20214
  grep -v '^ *+' conftest.er1 >conftest.err
27306
20215
  rm -f conftest.er1
27307
20216
  cat conftest.err >&5
27308
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27309
 
  (exit $ac_status); } &&
27310
 
         { ac_try='test -z "$ac_c_werror_flag"
27311
 
                         || test ! -s conftest.err'
27312
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27313
 
  (eval $ac_try) 2>&5
27314
 
  ac_status=$?
27315
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316
 
  (exit $ac_status); }; } &&
27317
 
         { ac_try='test -s conftest.$ac_objext'
27318
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27319
 
  (eval $ac_try) 2>&5
27320
 
  ac_status=$?
27321
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27322
 
  (exit $ac_status); }; }; then
 
20217
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20218
  (exit $ac_status); } && {
 
20219
         test -z "$ac_c_werror_flag" ||
 
20220
         test ! -s conftest.err
 
20221
       } && test -s conftest.$ac_objext; then
27323
20222
  ac_header_compiler=yes
27324
20223
else
27325
 
  echo "$as_me: failed program was:" >&5
 
20224
  $as_echo "$as_me: failed program was:" >&5
27326
20225
sed 's/^/| /' conftest.$ac_ext >&5
27327
20226
 
27328
 
ac_header_compiler=no
 
20227
        ac_header_compiler=no
27329
20228
fi
27330
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27331
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27332
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20229
 
 
20230
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20231
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20232
$as_echo "$ac_header_compiler" >&6; }
27333
20233
 
27334
20234
# Is the header present?
27335
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
27336
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20235
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20236
$as_echo_n "checking $ac_header presence... " >&6; }
27337
20237
cat >conftest.$ac_ext <<_ACEOF
27338
20238
/* confdefs.h.  */
27339
20239
_ACEOF
27342
20242
/* end confdefs.h.  */
27343
20243
#include <$ac_header>
27344
20244
_ACEOF
27345
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27346
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20245
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20246
case "(($ac_try" in
 
20247
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20248
  *) ac_try_echo=$ac_try;;
 
20249
esac
 
20250
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20251
$as_echo "$ac_try_echo") >&5
 
20252
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27347
20253
  ac_status=$?
27348
20254
  grep -v '^ *+' conftest.er1 >conftest.err
27349
20255
  rm -f conftest.er1
27350
20256
  cat conftest.err >&5
27351
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352
 
  (exit $ac_status); } >/dev/null; then
27353
 
  if test -s conftest.err; then
27354
 
    ac_cpp_err=$ac_c_preproc_warn_flag
27355
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27356
 
  else
27357
 
    ac_cpp_err=
27358
 
  fi
27359
 
else
27360
 
  ac_cpp_err=yes
27361
 
fi
27362
 
if test -z "$ac_cpp_err"; then
 
20257
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20258
  (exit $ac_status); } >/dev/null && {
 
20259
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20260
         test ! -s conftest.err
 
20261
       }; then
27363
20262
  ac_header_preproc=yes
27364
20263
else
27365
 
  echo "$as_me: failed program was:" >&5
 
20264
  $as_echo "$as_me: failed program was:" >&5
27366
20265
sed 's/^/| /' conftest.$ac_ext >&5
27367
20266
 
27368
20267
  ac_header_preproc=no
27369
20268
fi
 
20269
 
27370
20270
rm -f conftest.err conftest.$ac_ext
27371
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27372
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20271
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20272
$as_echo "$ac_header_preproc" >&6; }
27373
20273
 
27374
20274
# So?  What about this header?
27375
20275
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27376
20276
  yes:no: )
27377
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27378
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27379
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27380
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20277
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20278
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20279
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20280
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27381
20281
    ac_header_preproc=yes
27382
20282
    ;;
27383
20283
  no:yes:* )
27384
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27385
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27386
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27387
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27388
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27389
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27390
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27391
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27392
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27393
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27394
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27395
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27396
 
    (
27397
 
      cat <<\_ASBOX
27398
 
## ------------------------------------------ ##
27399
 
## Report this to the AC_PACKAGE_NAME lists.  ##
27400
 
## ------------------------------------------ ##
27401
 
_ASBOX
27402
 
    ) |
27403
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20284
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20285
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20286
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20287
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20288
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20289
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20290
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20291
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20292
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20293
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20294
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20295
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20296
 
27404
20297
    ;;
27405
20298
esac
27406
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
27407
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27408
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27409
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20299
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20300
$as_echo_n "checking for $ac_header... " >&6; }
 
20301
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20302
  $as_echo_n "(cached) " >&6
27410
20303
else
27411
20304
  eval "$as_ac_Header=\$ac_header_preproc"
27412
20305
fi
27413
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27414
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20306
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20307
                 $as_echo "$as_val"'`
 
20308
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20309
$as_echo "$ac_res" >&6; }
27415
20310
 
27416
20311
fi
27417
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20312
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20313
                 $as_echo "$as_val"'`
 
20314
   if test "x$as_val" = x""yes; then
27418
20315
  cat >>confdefs.h <<_ACEOF
27419
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20316
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27420
20317
_ACEOF
27421
20318
 
27422
20319
fi
27433
20330
 
27434
20331
for ac_func in FcInit
27435
20332
do
27436
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27437
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
27438
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27439
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
27440
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20333
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
20334
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
20335
$as_echo_n "checking for $ac_func... " >&6; }
 
20336
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
20337
  $as_echo_n "(cached) " >&6
27441
20338
else
27442
20339
  cat >conftest.$ac_ext <<_ACEOF
27443
20340
/* confdefs.h.  */
27462
20359
 
27463
20360
#undef $ac_func
27464
20361
 
27465
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20362
/* Override any GCC internal prototype to avoid an error.
 
20363
   Use char because int might match the return type of a GCC
 
20364
   builtin and then its argument prototype would still apply.  */
27466
20365
#ifdef __cplusplus
27467
20366
extern "C"
27468
 
{
27469
20367
#endif
27470
 
/* We use char because int might match the return type of a gcc2
27471
 
   builtin and then its argument prototype would still apply.  */
27472
20368
char $ac_func ();
27473
20369
/* The GNU C library defines this for functions which it implements
27474
20370
    to always fail with ENOSYS.  Some functions are actually named
27475
20371
    something starting with __ and the normal name is an alias.  */
27476
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
20372
#if defined __stub_$ac_func || defined __stub___$ac_func
27477
20373
choke me
27478
 
#else
27479
 
char (*f) () = $ac_func;
27480
 
#endif
27481
 
#ifdef __cplusplus
27482
 
}
27483
20374
#endif
27484
20375
 
27485
20376
int
27486
20377
main ()
27487
20378
{
27488
 
return f != $ac_func;
 
20379
return $ac_func ();
27489
20380
  ;
27490
20381
  return 0;
27491
20382
}
27492
20383
_ACEOF
27493
20384
rm -f conftest.$ac_objext conftest$ac_exeext
27494
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27495
 
  (eval $ac_link) 2>conftest.er1
 
20385
if { (ac_try="$ac_link"
 
20386
case "(($ac_try" in
 
20387
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20388
  *) ac_try_echo=$ac_try;;
 
20389
esac
 
20390
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20391
$as_echo "$ac_try_echo") >&5
 
20392
  (eval "$ac_link") 2>conftest.er1
27496
20393
  ac_status=$?
27497
20394
  grep -v '^ *+' conftest.er1 >conftest.err
27498
20395
  rm -f conftest.er1
27499
20396
  cat conftest.err >&5
27500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501
 
  (exit $ac_status); } &&
27502
 
         { ac_try='test -z "$ac_c_werror_flag"
27503
 
                         || test ! -s conftest.err'
27504
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27505
 
  (eval $ac_try) 2>&5
27506
 
  ac_status=$?
27507
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508
 
  (exit $ac_status); }; } &&
27509
 
         { ac_try='test -s conftest$ac_exeext'
27510
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27511
 
  (eval $ac_try) 2>&5
27512
 
  ac_status=$?
27513
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514
 
  (exit $ac_status); }; }; then
 
20397
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20398
  (exit $ac_status); } && {
 
20399
         test -z "$ac_c_werror_flag" ||
 
20400
         test ! -s conftest.err
 
20401
       } && test -s conftest$ac_exeext && {
 
20402
         test "$cross_compiling" = yes ||
 
20403
         $as_test_x conftest$ac_exeext
 
20404
       }; then
27515
20405
  eval "$as_ac_var=yes"
27516
20406
else
27517
 
  echo "$as_me: failed program was:" >&5
 
20407
  $as_echo "$as_me: failed program was:" >&5
27518
20408
sed 's/^/| /' conftest.$ac_ext >&5
27519
20409
 
27520
 
eval "$as_ac_var=no"
 
20410
        eval "$as_ac_var=no"
27521
20411
fi
27522
 
rm -f conftest.err conftest.$ac_objext \
 
20412
 
 
20413
rm -rf conftest.dSYM
 
20414
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27523
20415
      conftest$ac_exeext conftest.$ac_ext
27524
20416
fi
27525
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27526
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27527
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
20417
ac_res=`eval 'as_val=${'$as_ac_var'}
 
20418
                 $as_echo "$as_val"'`
 
20419
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20420
$as_echo "$ac_res" >&6; }
 
20421
as_val=`eval 'as_val=${'$as_ac_var'}
 
20422
                 $as_echo "$as_val"'`
 
20423
   if test "x$as_val" = x""yes; then
27528
20424
  cat >>confdefs.h <<_ACEOF
27529
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
20425
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27530
20426
_ACEOF
27531
20427
 
27532
20428
fi
27570
20466
 
27571
20467
 
27572
20468
 
27573
 
# Check whether --enable-jpeg or --disable-jpeg was given.
 
20469
# Check whether --enable-jpeg was given.
27574
20470
if test "${enable_jpeg+set}" = set; then
27575
 
  enableval="$enable_jpeg"
27576
 
 
 
20471
  enableval=$enable_jpeg;
27577
20472
else
27578
20473
  enable_jpeg=yes
27579
 
fi;
27580
 
 
27581
 
# Check whether --with-libjpeg_includes or --without-libjpeg_includes was given.
 
20474
fi
 
20475
 
 
20476
 
 
20477
# Check whether --with-libjpeg_includes was given.
27582
20478
if test "${with_libjpeg_includes+set}" = set; then
27583
 
  withval="$with_libjpeg_includes"
27584
 
  libjpeg_includes=$withval
27585
 
fi;
27586
 
 
27587
 
# Check whether --with-libjpeg_lib or --without-libjpeg_lib was given.
 
20479
  withval=$with_libjpeg_includes; libjpeg_includes=$withval
 
20480
fi
 
20481
 
 
20482
 
 
20483
# Check whether --with-libjpeg_lib was given.
27588
20484
if test "${with_libjpeg_lib+set}" = set; then
27589
 
  withval="$with_libjpeg_lib"
27590
 
  libjpeg_lib=$withval
27591
 
fi;
27592
 
# Check whether --enable-png or --disable-png was given.
 
20485
  withval=$with_libjpeg_lib; libjpeg_lib=$withval
 
20486
fi
 
20487
 
 
20488
# Check whether --enable-png was given.
27593
20489
if test "${enable_png+set}" = set; then
27594
 
  enableval="$enable_png"
27595
 
 
 
20490
  enableval=$enable_png;
27596
20491
else
27597
20492
  enable_png=yes
27598
 
fi;
27599
 
 
27600
 
# Check whether --with-libpng_includes or --without-libpng_includes was given.
 
20493
fi
 
20494
 
 
20495
 
 
20496
# Check whether --with-libpng_includes was given.
27601
20497
if test "${with_libpng_includes+set}" = set; then
27602
 
  withval="$with_libpng_includes"
27603
 
  libpng_includes=$withval
27604
 
fi;
27605
 
 
27606
 
# Check whether --with-libpng_lib or --without-libpng_lib was given.
 
20498
  withval=$with_libpng_includes; libpng_includes=$withval
 
20499
fi
 
20500
 
 
20501
 
 
20502
# Check whether --with-libpng_lib was given.
27607
20503
if test "${with_libpng_lib+set}" = set; then
27608
 
  withval="$with_libpng_lib"
27609
 
  libpng_lib=$withval
27610
 
fi;
 
20504
  withval=$with_libpng_lib; libpng_lib=$withval
 
20505
fi
 
20506
 
27611
20507
 
27612
20508
#
27613
20509
# Check libjpeg configuration
27634
20530
 
27635
20531
for ac_header in jpeglib.h
27636
20532
do
27637
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27638
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27639
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
27640
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27641
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27642
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20533
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20534
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20535
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20536
$as_echo_n "checking for $ac_header... " >&6; }
 
20537
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20538
  $as_echo_n "(cached) " >&6
27643
20539
fi
27644
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27645
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20540
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20541
                 $as_echo "$as_val"'`
 
20542
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20543
$as_echo "$ac_res" >&6; }
27646
20544
else
27647
20545
  # Is the header compilable?
27648
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
27649
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20546
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20547
$as_echo_n "checking $ac_header usability... " >&6; }
27650
20548
cat >conftest.$ac_ext <<_ACEOF
27651
20549
/* confdefs.h.  */
27652
20550
_ACEOF
27657
20555
#include <$ac_header>
27658
20556
_ACEOF
27659
20557
rm -f conftest.$ac_objext
27660
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27661
 
  (eval $ac_compile) 2>conftest.er1
 
20558
if { (ac_try="$ac_compile"
 
20559
case "(($ac_try" in
 
20560
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20561
  *) ac_try_echo=$ac_try;;
 
20562
esac
 
20563
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20564
$as_echo "$ac_try_echo") >&5
 
20565
  (eval "$ac_compile") 2>conftest.er1
27662
20566
  ac_status=$?
27663
20567
  grep -v '^ *+' conftest.er1 >conftest.err
27664
20568
  rm -f conftest.er1
27665
20569
  cat conftest.err >&5
27666
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667
 
  (exit $ac_status); } &&
27668
 
         { ac_try='test -z "$ac_c_werror_flag"
27669
 
                         || test ! -s conftest.err'
27670
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27671
 
  (eval $ac_try) 2>&5
27672
 
  ac_status=$?
27673
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27674
 
  (exit $ac_status); }; } &&
27675
 
         { ac_try='test -s conftest.$ac_objext'
27676
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27677
 
  (eval $ac_try) 2>&5
27678
 
  ac_status=$?
27679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680
 
  (exit $ac_status); }; }; then
 
20570
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20571
  (exit $ac_status); } && {
 
20572
         test -z "$ac_c_werror_flag" ||
 
20573
         test ! -s conftest.err
 
20574
       } && test -s conftest.$ac_objext; then
27681
20575
  ac_header_compiler=yes
27682
20576
else
27683
 
  echo "$as_me: failed program was:" >&5
 
20577
  $as_echo "$as_me: failed program was:" >&5
27684
20578
sed 's/^/| /' conftest.$ac_ext >&5
27685
20579
 
27686
 
ac_header_compiler=no
 
20580
        ac_header_compiler=no
27687
20581
fi
27688
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27689
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27690
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20582
 
 
20583
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20584
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20585
$as_echo "$ac_header_compiler" >&6; }
27691
20586
 
27692
20587
# Is the header present?
27693
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
27694
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20588
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20589
$as_echo_n "checking $ac_header presence... " >&6; }
27695
20590
cat >conftest.$ac_ext <<_ACEOF
27696
20591
/* confdefs.h.  */
27697
20592
_ACEOF
27700
20595
/* end confdefs.h.  */
27701
20596
#include <$ac_header>
27702
20597
_ACEOF
27703
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27704
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20598
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20599
case "(($ac_try" in
 
20600
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20601
  *) ac_try_echo=$ac_try;;
 
20602
esac
 
20603
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20604
$as_echo "$ac_try_echo") >&5
 
20605
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27705
20606
  ac_status=$?
27706
20607
  grep -v '^ *+' conftest.er1 >conftest.err
27707
20608
  rm -f conftest.er1
27708
20609
  cat conftest.err >&5
27709
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710
 
  (exit $ac_status); } >/dev/null; then
27711
 
  if test -s conftest.err; then
27712
 
    ac_cpp_err=$ac_c_preproc_warn_flag
27713
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27714
 
  else
27715
 
    ac_cpp_err=
27716
 
  fi
27717
 
else
27718
 
  ac_cpp_err=yes
27719
 
fi
27720
 
if test -z "$ac_cpp_err"; then
 
20610
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20611
  (exit $ac_status); } >/dev/null && {
 
20612
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20613
         test ! -s conftest.err
 
20614
       }; then
27721
20615
  ac_header_preproc=yes
27722
20616
else
27723
 
  echo "$as_me: failed program was:" >&5
 
20617
  $as_echo "$as_me: failed program was:" >&5
27724
20618
sed 's/^/| /' conftest.$ac_ext >&5
27725
20619
 
27726
20620
  ac_header_preproc=no
27727
20621
fi
 
20622
 
27728
20623
rm -f conftest.err conftest.$ac_ext
27729
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27730
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20624
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20625
$as_echo "$ac_header_preproc" >&6; }
27731
20626
 
27732
20627
# So?  What about this header?
27733
20628
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27734
20629
  yes:no: )
27735
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27736
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27737
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27738
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20630
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20631
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20632
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20633
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27739
20634
    ac_header_preproc=yes
27740
20635
    ;;
27741
20636
  no:yes:* )
27742
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27743
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27744
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27745
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27746
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27747
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27748
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27749
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27750
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27751
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27752
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27753
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27754
 
    (
27755
 
      cat <<\_ASBOX
27756
 
## ------------------------------------------ ##
27757
 
## Report this to the AC_PACKAGE_NAME lists.  ##
27758
 
## ------------------------------------------ ##
27759
 
_ASBOX
27760
 
    ) |
27761
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20637
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20638
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20639
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20640
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20641
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20642
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20643
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20644
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20645
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20646
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20647
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20648
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20649
 
27762
20650
    ;;
27763
20651
esac
27764
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
27765
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27766
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27767
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20652
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20653
$as_echo_n "checking for $ac_header... " >&6; }
 
20654
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20655
  $as_echo_n "(cached) " >&6
27768
20656
else
27769
20657
  eval "$as_ac_Header=\$ac_header_preproc"
27770
20658
fi
27771
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27772
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20659
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20660
                 $as_echo "$as_val"'`
 
20661
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20662
$as_echo "$ac_res" >&6; }
27773
20663
 
27774
20664
fi
27775
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20665
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20666
                 $as_echo "$as_val"'`
 
20667
   if test "x$as_val" = x""yes; then
27776
20668
  cat >>confdefs.h <<_ACEOF
27777
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20669
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27778
20670
_ACEOF
27779
20671
 libjpeg_headers_present="yes"
27780
20672
fi
27784
20676
 
27785
20677
for ac_func in jpeg_start_decompress
27786
20678
do
27787
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27788
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
27789
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27790
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
27791
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20679
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
20680
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
20681
$as_echo_n "checking for $ac_func... " >&6; }
 
20682
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
20683
  $as_echo_n "(cached) " >&6
27792
20684
else
27793
20685
  cat >conftest.$ac_ext <<_ACEOF
27794
20686
/* confdefs.h.  */
27813
20705
 
27814
20706
#undef $ac_func
27815
20707
 
27816
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
20708
/* Override any GCC internal prototype to avoid an error.
 
20709
   Use char because int might match the return type of a GCC
 
20710
   builtin and then its argument prototype would still apply.  */
27817
20711
#ifdef __cplusplus
27818
20712
extern "C"
27819
 
{
27820
20713
#endif
27821
 
/* We use char because int might match the return type of a gcc2
27822
 
   builtin and then its argument prototype would still apply.  */
27823
20714
char $ac_func ();
27824
20715
/* The GNU C library defines this for functions which it implements
27825
20716
    to always fail with ENOSYS.  Some functions are actually named
27826
20717
    something starting with __ and the normal name is an alias.  */
27827
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
20718
#if defined __stub_$ac_func || defined __stub___$ac_func
27828
20719
choke me
27829
 
#else
27830
 
char (*f) () = $ac_func;
27831
 
#endif
27832
 
#ifdef __cplusplus
27833
 
}
27834
20720
#endif
27835
20721
 
27836
20722
int
27837
20723
main ()
27838
20724
{
27839
 
return f != $ac_func;
 
20725
return $ac_func ();
27840
20726
  ;
27841
20727
  return 0;
27842
20728
}
27843
20729
_ACEOF
27844
20730
rm -f conftest.$ac_objext conftest$ac_exeext
27845
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27846
 
  (eval $ac_link) 2>conftest.er1
 
20731
if { (ac_try="$ac_link"
 
20732
case "(($ac_try" in
 
20733
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20734
  *) ac_try_echo=$ac_try;;
 
20735
esac
 
20736
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20737
$as_echo "$ac_try_echo") >&5
 
20738
  (eval "$ac_link") 2>conftest.er1
27847
20739
  ac_status=$?
27848
20740
  grep -v '^ *+' conftest.er1 >conftest.err
27849
20741
  rm -f conftest.er1
27850
20742
  cat conftest.err >&5
27851
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852
 
  (exit $ac_status); } &&
27853
 
         { ac_try='test -z "$ac_c_werror_flag"
27854
 
                         || test ! -s conftest.err'
27855
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27856
 
  (eval $ac_try) 2>&5
27857
 
  ac_status=$?
27858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859
 
  (exit $ac_status); }; } &&
27860
 
         { ac_try='test -s conftest$ac_exeext'
27861
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862
 
  (eval $ac_try) 2>&5
27863
 
  ac_status=$?
27864
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865
 
  (exit $ac_status); }; }; then
 
20743
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20744
  (exit $ac_status); } && {
 
20745
         test -z "$ac_c_werror_flag" ||
 
20746
         test ! -s conftest.err
 
20747
       } && test -s conftest$ac_exeext && {
 
20748
         test "$cross_compiling" = yes ||
 
20749
         $as_test_x conftest$ac_exeext
 
20750
       }; then
27866
20751
  eval "$as_ac_var=yes"
27867
20752
else
27868
 
  echo "$as_me: failed program was:" >&5
 
20753
  $as_echo "$as_me: failed program was:" >&5
27869
20754
sed 's/^/| /' conftest.$ac_ext >&5
27870
20755
 
27871
 
eval "$as_ac_var=no"
 
20756
        eval "$as_ac_var=no"
27872
20757
fi
27873
 
rm -f conftest.err conftest.$ac_objext \
 
20758
 
 
20759
rm -rf conftest.dSYM
 
20760
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27874
20761
      conftest$ac_exeext conftest.$ac_ext
27875
20762
fi
27876
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27877
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27878
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
20763
ac_res=`eval 'as_val=${'$as_ac_var'}
 
20764
                 $as_echo "$as_val"'`
 
20765
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20766
$as_echo "$ac_res" >&6; }
 
20767
as_val=`eval 'as_val=${'$as_ac_var'}
 
20768
                 $as_echo "$as_val"'`
 
20769
   if test "x$as_val" = x""yes; then
27879
20770
  cat >>confdefs.h <<_ACEOF
27880
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
20771
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27881
20772
_ACEOF
27882
20773
 libjpeg_present="yes"
27883
20774
fi
27898
20789
        LIBS="$saved_LIBS"
27899
20790
    fi
27900
20791
fi
27901
 
 
27902
 
 
27903
 
if test "$use_libjpeg" = "yes"; then
 
20792
 if test "$use_libjpeg" = "yes"; then
27904
20793
  OM_LIBJPEG_TRUE=
27905
20794
  OM_LIBJPEG_FALSE='#'
27906
20795
else
27934
20823
 
27935
20824
for ac_header in png.h
27936
20825
do
27937
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27938
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27939
 
  echo "$as_me:$LINENO: checking for $ac_header" >&5
27940
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27941
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
27942
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20826
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
20827
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20828
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20829
$as_echo_n "checking for $ac_header... " >&6; }
 
20830
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20831
  $as_echo_n "(cached) " >&6
27943
20832
fi
27944
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27945
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20833
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20834
                 $as_echo "$as_val"'`
 
20835
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20836
$as_echo "$ac_res" >&6; }
27946
20837
else
27947
20838
  # Is the header compilable?
27948
 
echo "$as_me:$LINENO: checking $ac_header usability" >&5
27949
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
 
20839
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
20840
$as_echo_n "checking $ac_header usability... " >&6; }
27950
20841
cat >conftest.$ac_ext <<_ACEOF
27951
20842
/* confdefs.h.  */
27952
20843
_ACEOF
27957
20848
#include <$ac_header>
27958
20849
_ACEOF
27959
20850
rm -f conftest.$ac_objext
27960
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27961
 
  (eval $ac_compile) 2>conftest.er1
 
20851
if { (ac_try="$ac_compile"
 
20852
case "(($ac_try" in
 
20853
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20854
  *) ac_try_echo=$ac_try;;
 
20855
esac
 
20856
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20857
$as_echo "$ac_try_echo") >&5
 
20858
  (eval "$ac_compile") 2>conftest.er1
27962
20859
  ac_status=$?
27963
20860
  grep -v '^ *+' conftest.er1 >conftest.err
27964
20861
  rm -f conftest.er1
27965
20862
  cat conftest.err >&5
27966
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967
 
  (exit $ac_status); } &&
27968
 
         { ac_try='test -z "$ac_c_werror_flag"
27969
 
                         || test ! -s conftest.err'
27970
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27971
 
  (eval $ac_try) 2>&5
27972
 
  ac_status=$?
27973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974
 
  (exit $ac_status); }; } &&
27975
 
         { ac_try='test -s conftest.$ac_objext'
27976
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27977
 
  (eval $ac_try) 2>&5
27978
 
  ac_status=$?
27979
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980
 
  (exit $ac_status); }; }; then
 
20863
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20864
  (exit $ac_status); } && {
 
20865
         test -z "$ac_c_werror_flag" ||
 
20866
         test ! -s conftest.err
 
20867
       } && test -s conftest.$ac_objext; then
27981
20868
  ac_header_compiler=yes
27982
20869
else
27983
 
  echo "$as_me: failed program was:" >&5
 
20870
  $as_echo "$as_me: failed program was:" >&5
27984
20871
sed 's/^/| /' conftest.$ac_ext >&5
27985
20872
 
27986
 
ac_header_compiler=no
 
20873
        ac_header_compiler=no
27987
20874
fi
27988
 
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27989
 
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27990
 
echo "${ECHO_T}$ac_header_compiler" >&6
 
20875
 
 
20876
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
20877
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
20878
$as_echo "$ac_header_compiler" >&6; }
27991
20879
 
27992
20880
# Is the header present?
27993
 
echo "$as_me:$LINENO: checking $ac_header presence" >&5
27994
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
 
20881
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
20882
$as_echo_n "checking $ac_header presence... " >&6; }
27995
20883
cat >conftest.$ac_ext <<_ACEOF
27996
20884
/* confdefs.h.  */
27997
20885
_ACEOF
28000
20888
/* end confdefs.h.  */
28001
20889
#include <$ac_header>
28002
20890
_ACEOF
28003
 
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28004
 
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 
20891
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
20892
case "(($ac_try" in
 
20893
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20894
  *) ac_try_echo=$ac_try;;
 
20895
esac
 
20896
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
20897
$as_echo "$ac_try_echo") >&5
 
20898
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28005
20899
  ac_status=$?
28006
20900
  grep -v '^ *+' conftest.er1 >conftest.err
28007
20901
  rm -f conftest.er1
28008
20902
  cat conftest.err >&5
28009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010
 
  (exit $ac_status); } >/dev/null; then
28011
 
  if test -s conftest.err; then
28012
 
    ac_cpp_err=$ac_c_preproc_warn_flag
28013
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28014
 
  else
28015
 
    ac_cpp_err=
28016
 
  fi
28017
 
else
28018
 
  ac_cpp_err=yes
28019
 
fi
28020
 
if test -z "$ac_cpp_err"; then
 
20903
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20904
  (exit $ac_status); } >/dev/null && {
 
20905
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
20906
         test ! -s conftest.err
 
20907
       }; then
28021
20908
  ac_header_preproc=yes
28022
20909
else
28023
 
  echo "$as_me: failed program was:" >&5
 
20910
  $as_echo "$as_me: failed program was:" >&5
28024
20911
sed 's/^/| /' conftest.$ac_ext >&5
28025
20912
 
28026
20913
  ac_header_preproc=no
28027
20914
fi
 
20915
 
28028
20916
rm -f conftest.err conftest.$ac_ext
28029
 
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28030
 
echo "${ECHO_T}$ac_header_preproc" >&6
 
20917
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
20918
$as_echo "$ac_header_preproc" >&6; }
28031
20919
 
28032
20920
# So?  What about this header?
28033
20921
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28034
20922
  yes:no: )
28035
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28036
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28037
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28038
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
20923
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
20924
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
20925
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
20926
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28039
20927
    ac_header_preproc=yes
28040
20928
    ;;
28041
20929
  no:yes:* )
28042
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28043
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28044
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28045
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28046
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28047
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28048
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28049
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28050
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28051
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28052
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28053
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28054
 
    (
28055
 
      cat <<\_ASBOX
28056
 
## ------------------------------------------ ##
28057
 
## Report this to the AC_PACKAGE_NAME lists.  ##
28058
 
## ------------------------------------------ ##
28059
 
_ASBOX
28060
 
    ) |
28061
 
      sed "s/^/$as_me: WARNING:     /" >&2
 
20930
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
20931
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
20932
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
20933
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
20934
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
20935
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
20936
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
20937
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
20938
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
20939
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
20940
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
20941
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
20942
 
28062
20943
    ;;
28063
20944
esac
28064
 
echo "$as_me:$LINENO: checking for $ac_header" >&5
28065
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28066
 
if eval "test \"\${$as_ac_Header+set}\" = set"; then
28067
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20945
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
20946
$as_echo_n "checking for $ac_header... " >&6; }
 
20947
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
20948
  $as_echo_n "(cached) " >&6
28068
20949
else
28069
20950
  eval "$as_ac_Header=\$ac_header_preproc"
28070
20951
fi
28071
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28072
 
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 
20952
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
20953
                 $as_echo "$as_val"'`
 
20954
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
20955
$as_echo "$ac_res" >&6; }
28073
20956
 
28074
20957
fi
28075
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
20958
as_val=`eval 'as_val=${'$as_ac_Header'}
 
20959
                 $as_echo "$as_val"'`
 
20960
   if test "x$as_val" = x""yes; then
28076
20961
  cat >>confdefs.h <<_ACEOF
28077
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
20962
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28078
20963
_ACEOF
28079
20964
 libpng_headers_present="yes"
28080
20965
fi
28084
20969
 
28085
20970
for ac_func in png_create_read_struct
28086
20971
do
28087
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28088
 
echo "$as_me:$LINENO: checking for $ac_func" >&5
28089
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28090
 
if eval "test \"\${$as_ac_var+set}\" = set"; then
28091
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20972
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
20973
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
20974
$as_echo_n "checking for $ac_func... " >&6; }
 
20975
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
20976
  $as_echo_n "(cached) " >&6
28092
20977
else
28093
20978
  cat >conftest.$ac_ext <<_ACEOF
28094
20979
/* confdefs.h.  */
28113
20998
 
28114
20999
#undef $ac_func
28115
21000
 
28116
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
21001
/* Override any GCC internal prototype to avoid an error.
 
21002
   Use char because int might match the return type of a GCC
 
21003
   builtin and then its argument prototype would still apply.  */
28117
21004
#ifdef __cplusplus
28118
21005
extern "C"
28119
 
{
28120
21006
#endif
28121
 
/* We use char because int might match the return type of a gcc2
28122
 
   builtin and then its argument prototype would still apply.  */
28123
21007
char $ac_func ();
28124
21008
/* The GNU C library defines this for functions which it implements
28125
21009
    to always fail with ENOSYS.  Some functions are actually named
28126
21010
    something starting with __ and the normal name is an alias.  */
28127
 
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 
21011
#if defined __stub_$ac_func || defined __stub___$ac_func
28128
21012
choke me
28129
 
#else
28130
 
char (*f) () = $ac_func;
28131
 
#endif
28132
 
#ifdef __cplusplus
28133
 
}
28134
21013
#endif
28135
21014
 
28136
21015
int
28137
21016
main ()
28138
21017
{
28139
 
return f != $ac_func;
 
21018
return $ac_func ();
28140
21019
  ;
28141
21020
  return 0;
28142
21021
}
28143
21022
_ACEOF
28144
21023
rm -f conftest.$ac_objext conftest$ac_exeext
28145
 
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28146
 
  (eval $ac_link) 2>conftest.er1
 
21024
if { (ac_try="$ac_link"
 
21025
case "(($ac_try" in
 
21026
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21027
  *) ac_try_echo=$ac_try;;
 
21028
esac
 
21029
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
21030
$as_echo "$ac_try_echo") >&5
 
21031
  (eval "$ac_link") 2>conftest.er1
28147
21032
  ac_status=$?
28148
21033
  grep -v '^ *+' conftest.er1 >conftest.err
28149
21034
  rm -f conftest.er1
28150
21035
  cat conftest.err >&5
28151
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152
 
  (exit $ac_status); } &&
28153
 
         { ac_try='test -z "$ac_c_werror_flag"
28154
 
                         || test ! -s conftest.err'
28155
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28156
 
  (eval $ac_try) 2>&5
28157
 
  ac_status=$?
28158
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28159
 
  (exit $ac_status); }; } &&
28160
 
         { ac_try='test -s conftest$ac_exeext'
28161
 
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28162
 
  (eval $ac_try) 2>&5
28163
 
  ac_status=$?
28164
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
28165
 
  (exit $ac_status); }; }; then
 
21036
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21037
  (exit $ac_status); } && {
 
21038
         test -z "$ac_c_werror_flag" ||
 
21039
         test ! -s conftest.err
 
21040
       } && test -s conftest$ac_exeext && {
 
21041
         test "$cross_compiling" = yes ||
 
21042
         $as_test_x conftest$ac_exeext
 
21043
       }; then
28166
21044
  eval "$as_ac_var=yes"
28167
21045
else
28168
 
  echo "$as_me: failed program was:" >&5
 
21046
  $as_echo "$as_me: failed program was:" >&5
28169
21047
sed 's/^/| /' conftest.$ac_ext >&5
28170
21048
 
28171
 
eval "$as_ac_var=no"
 
21049
        eval "$as_ac_var=no"
28172
21050
fi
28173
 
rm -f conftest.err conftest.$ac_objext \
 
21051
 
 
21052
rm -rf conftest.dSYM
 
21053
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28174
21054
      conftest$ac_exeext conftest.$ac_ext
28175
21055
fi
28176
 
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28177
 
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28178
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
21056
ac_res=`eval 'as_val=${'$as_ac_var'}
 
21057
                 $as_echo "$as_val"'`
 
21058
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
21059
$as_echo "$ac_res" >&6; }
 
21060
as_val=`eval 'as_val=${'$as_ac_var'}
 
21061
                 $as_echo "$as_val"'`
 
21062
   if test "x$as_val" = x""yes; then
28179
21063
  cat >>confdefs.h <<_ACEOF
28180
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
21064
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28181
21065
_ACEOF
28182
21066
 libpng_present="yes"
28183
21067
fi
28198
21082
        LIBS="$saved_LIBS"
28199
21083
    fi
28200
21084
fi
28201
 
 
28202
 
 
28203
 
if test "$use_libpng" = "yes"; then
 
21085
 if test "$use_libpng" = "yes"; then
28204
21086
  OM_LIBPNG_TRUE=
28205
21087
  OM_LIBPNG_FALSE='#'
28206
21088
else
28211
21093
 
28212
21094
 
28213
21095
 
 
21096
 
 
21097
 
28214
21098
# AM_CONDITIONAL(Motif22Compatibility, test x$enable_motif22_compatibility = xyes)
28215
21099
 
28216
 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          ac_config_files="$ac_config_files Makefile bindings/Makefile bitmaps/Makefile clients/Makefile clients/mwm/Makefile clients/mwm/WmWsmLib/Makefile clients/uil/Makefile clients/xmbind/Makefile config/Makefile config/cf/Makefile config/imake/Makefile config/util/Makefile config/makedepend/Makefile include/Makefile include/Dt/Makefile lib/Makefile lib/Xm/Makefile lib/Mrm/Makefile localized/Makefile localized/util/Makefile doc/Makefile doc/man/Makefile doc/man/man1/Makefile doc/man/man3/Makefile doc/man/man4/Makefile doc/man/man5/Makefile tools/Makefile tools/wml/Makefile demos/Makefile demos/lib/Makefile demos/lib/Xmd/Makefile demos/lib/Wsm/Makefile demos/lib/Exm/Makefile demos/lib/Exm/wml/Makefile demos/programs/Makefile demos/programs/Exm/Makefile demos/programs/Exm/app_in_c/Makefile demos/programs/Exm/app_in_uil/Makefile demos/programs/Exm/simple_app/Makefile demos/programs/airport/Makefile demos/programs/animate/Makefile demos/programs/drag_and_drop/Makefile demos/programs/draw/Makefile demos/programs/earth/Makefile demos/programs/filemanager/Makefile demos/programs/fileview/Makefile demos/programs/getsubres/Makefile demos/programs/hellomotif/Makefile demos/programs/hellomotifi18n/Makefile demos/programs/hellomotifi18n/C/Makefile demos/programs/hellomotifi18n/C/uid/Makefile demos/programs/hellomotifi18n/english/Makefile demos/programs/hellomotifi18n/english/uid/Makefile demos/programs/hellomotifi18n/french/Makefile demos/programs/hellomotifi18n/french/uid/Makefile demos/programs/hellomotifi18n/hebrew/Makefile demos/programs/hellomotifi18n/hebrew/uid/Makefile demos/programs/hellomotifi18n/japan/Makefile demos/programs/hellomotifi18n/japan/uid/Makefile demos/programs/hellomotifi18n/japanese/Makefile demos/programs/hellomotifi18n/japanese/uid/Makefile demos/programs/hellomotifi18n/swedish/Makefile demos/programs/hellomotifi18n/swedish/uid/Makefile demos/programs/i18ninput/Makefile demos/programs/panner/Makefile demos/programs/periodic/Makefile demos/programs/piano/Makefile demos/programs/popups/Makefile demos/programs/sampler2_0/Makefile demos/programs/setdate/Makefile demos/programs/todo/Makefile demos/programs/workspace/Makefile demos/programs/tooltips/Makefile demos/programs/FontSel/Makefile demos/programs/ButtonBox/Makefile demos/programs/ColorSel/Makefile demos/programs/Column/Makefile demos/programs/Combo2/Makefile demos/programs/Ext18List/Makefile demos/programs/Ext18List/pixmaps/Makefile demos/programs/IconB/Makefile demos/programs/Outline/Makefile demos/programs/Paned/Makefile demos/programs/TabStack/Makefile demos/programs/Tree/Makefile demos/programs/pixmaps/Makefile demos/unsupported/Makefile demos/unsupported/Exm/Makefile demos/unsupported/aicon/Makefile demos/unsupported/dainput/Makefile demos/unsupported/dogs/Makefile demos/unsupported/hellomotif/Makefile demos/unsupported/motifshell/Makefile demos/unsupported/uilsymdump/Makefile demos/unsupported/xmapdef/Makefile demos/unsupported/xmfonts/Makefile demos/unsupported/xmforc/Makefile demos/unsupported/xmform/Makefile demos/doc/Makefile demos/doc/programGuide/Makefile demos/doc/programGuide/ch05/Makefile demos/doc/programGuide/ch05/Scale/Makefile demos/doc/programGuide/ch06/Makefile demos/doc/programGuide/ch06/spin_box/Makefile demos/doc/programGuide/ch06/combo_box/Makefile demos/doc/programGuide/ch08/Makefile demos/doc/programGuide/ch08/Notebook/Makefile demos/doc/programGuide/ch08/Container/Makefile demos/doc/programGuide/ch16/Makefile demos/doc/programGuide/ch17/Makefile demos/doc/programGuide/ch17/simple_drop/Makefile demos/doc/programGuide/ch17/simple_drag/Makefile lib/Xm/xmstring.list"
 
21100
ac_config_files="$ac_config_files Makefile bindings/Makefile bitmaps/Makefile clients/Makefile clients/mwm/Makefile clients/mwm/WmWsmLib/Makefile clients/uil/Makefile clients/xmbind/Makefile config/Makefile config/cf/Makefile config/imake/Makefile config/util/Makefile config/makedepend/Makefile include/Makefile include/Dt/Makefile lib/Makefile lib/Xm/Makefile lib/Mrm/Makefile localized/Makefile localized/util/Makefile doc/Makefile doc/man/Makefile doc/man/man1/Makefile doc/man/man3/Makefile doc/man/man4/Makefile doc/man/man5/Makefile tools/Makefile tools/wml/Makefile demos/Makefile demos/lib/Makefile demos/lib/Xmd/Makefile demos/lib/Wsm/Makefile demos/lib/Exm/Makefile demos/lib/Exm/wml/Makefile demos/programs/Makefile demos/programs/Exm/Makefile demos/programs/Exm/app_in_c/Makefile demos/programs/Exm/app_in_uil/Makefile demos/programs/Exm/simple_app/Makefile demos/programs/airport/Makefile demos/programs/animate/Makefile demos/programs/drag_and_drop/Makefile demos/programs/draw/Makefile demos/programs/earth/Makefile demos/programs/filemanager/Makefile demos/programs/fileview/Makefile demos/programs/getsubres/Makefile demos/programs/hellomotif/Makefile demos/programs/hellomotifi18n/Makefile demos/programs/hellomotifi18n/C/Makefile demos/programs/hellomotifi18n/C/uid/Makefile demos/programs/hellomotifi18n/english/Makefile demos/programs/hellomotifi18n/english/uid/Makefile demos/programs/hellomotifi18n/french/Makefile demos/programs/hellomotifi18n/french/uid/Makefile demos/programs/hellomotifi18n/hebrew/Makefile demos/programs/hellomotifi18n/hebrew/uid/Makefile demos/programs/hellomotifi18n/japan/Makefile demos/programs/hellomotifi18n/japan/uid/Makefile demos/programs/hellomotifi18n/japanese/Makefile demos/programs/hellomotifi18n/japanese/uid/Makefile demos/programs/hellomotifi18n/swedish/Makefile demos/programs/hellomotifi18n/swedish/uid/Makefile demos/programs/i18ninput/Makefile demos/programs/panner/Makefile demos/programs/periodic/Makefile demos/programs/piano/Makefile demos/programs/popups/Makefile demos/programs/sampler2_0/Makefile demos/programs/setdate/Makefile demos/programs/todo/Makefile demos/programs/workspace/Makefile demos/programs/tooltips/Makefile demos/programs/FontSel/Makefile demos/programs/ButtonBox/Makefile demos/programs/ColorSel/Makefile demos/programs/Column/Makefile demos/programs/Combo2/Makefile demos/programs/Ext18List/Makefile demos/programs/Ext18List/pixmaps/Makefile demos/programs/IconB/Makefile demos/programs/Outline/Makefile demos/programs/Paned/Makefile demos/programs/TabStack/Makefile demos/programs/Tree/Makefile demos/programs/pixmaps/Makefile demos/unsupported/Makefile demos/unsupported/Exm/Makefile demos/unsupported/aicon/Makefile demos/unsupported/dainput/Makefile demos/unsupported/dogs/Makefile demos/unsupported/hellomotif/Makefile demos/unsupported/motifshell/Makefile demos/unsupported/uilsymdump/Makefile demos/unsupported/xmapdef/Makefile demos/unsupported/xmfonts/Makefile demos/unsupported/xmforc/Makefile demos/unsupported/xmform/Makefile demos/doc/Makefile demos/doc/programGuide/Makefile demos/doc/programGuide/ch05/Makefile demos/doc/programGuide/ch05/Scale/Makefile demos/doc/programGuide/ch06/Makefile demos/doc/programGuide/ch06/spin_box/Makefile demos/doc/programGuide/ch06/combo_box/Makefile demos/doc/programGuide/ch08/Makefile demos/doc/programGuide/ch08/Notebook/Makefile demos/doc/programGuide/ch08/Container/Makefile demos/doc/programGuide/ch16/Makefile demos/doc/programGuide/ch17/Makefile demos/doc/programGuide/ch17/simple_drop/Makefile demos/doc/programGuide/ch17/simple_drag/Makefile lib/Xm/xmstring.list"
28217
21101
 
28218
21102
cat >confcache <<\_ACEOF
28219
21103
# This file is a shell script that caches the results of configure
28233
21117
 
28234
21118
# The following way of writing the cache mishandles newlines in values,
28235
21119
# but we know of no workaround that is simple, portable, and efficient.
28236
 
# So, don't put newlines in cache variables' values.
 
21120
# So, we kill variables containing newlines.
28237
21121
# Ultrix sh set writes to stderr and can't be redirected directly,
28238
21122
# and sets the high bit in the cache file unless we assign to the vars.
28239
 
{
 
21123
(
 
21124
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
21125
    eval ac_val=\$$ac_var
 
21126
    case $ac_val in #(
 
21127
    *${as_nl}*)
 
21128
      case $ac_var in #(
 
21129
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
21130
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
21131
      esac
 
21132
      case $ac_var in #(
 
21133
      _ | IFS | as_nl) ;; #(
 
21134
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
21135
      *) $as_unset $ac_var ;;
 
21136
      esac ;;
 
21137
    esac
 
21138
  done
 
21139
 
28240
21140
  (set) 2>&1 |
28241
 
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
28242
 
    *ac_space=\ *)
 
21141
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
21142
    *${as_nl}ac_space=\ *)
28243
21143
      # `set' does not quote correctly, so add quotes (double-quote
28244
21144
      # substitution turns \\\\ into \\, and sed turns \\ into \).
28245
21145
      sed -n \
28246
21146
        "s/'/'\\\\''/g;
28247
21147
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28248
 
      ;;
 
21148
      ;; #(
28249
21149
    *)
28250
21150
      # `set' quotes correctly as required by POSIX, so do not add quotes.
28251
 
      sed -n \
28252
 
        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
 
21151
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
28253
21152
      ;;
28254
 
    esac;
28255
 
} |
 
21153
    esac |
 
21154
    sort
 
21155
) |
28256
21156
  sed '
 
21157
     /^ac_cv_env_/b end
28257
21158
     t clear
28258
 
     : clear
 
21159
     :clear
28259
21160
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28260
21161
     t end
28261
 
     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28262
 
     : end' >>confcache
28263
 
if diff $cache_file confcache >/dev/null 2>&1; then :; else
28264
 
  if test -w $cache_file; then
28265
 
    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
 
21162
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
21163
     :end' >>confcache
 
21164
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
21165
  if test -w "$cache_file"; then
 
21166
    test "x$cache_file" != "x/dev/null" &&
 
21167
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
21168
$as_echo "$as_me: updating cache $cache_file" >&6;}
28266
21169
    cat confcache >$cache_file
28267
21170
  else
28268
 
    echo "not updating unwritable cache $cache_file"
 
21171
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
21172
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
28269
21173
  fi
28270
21174
fi
28271
21175
rm -f confcache
28274
21178
# Let make expand exec_prefix.
28275
21179
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
28276
21180
 
28277
 
# VPATH may cause trouble with some makes, so we remove $(srcdir),
28278
 
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28279
 
# trailing colons and then remove the whole line if VPATH becomes empty
28280
 
# (actually we leave an empty line to preserve line numbers).
28281
 
if test "x$srcdir" = x.; then
28282
 
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
28283
 
s/:*\$(srcdir):*/:/;
28284
 
s/:*\${srcdir}:*/:/;
28285
 
s/:*@srcdir@:*/:/;
28286
 
s/^\([^=]*=[     ]*\):*/\1/;
28287
 
s/:*$//;
28288
 
s/^[^=]*=[       ]*$//;
28289
 
}'
28290
 
fi
28291
 
 
28292
21181
DEFS=-DHAVE_CONFIG_H
28293
21182
 
28294
21183
ac_libobjs=
28295
21184
ac_ltlibobjs=
28296
21185
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
28297
21186
  # 1. Remove the extension, and $U if already installed.
28298
 
  ac_i=`echo "$ac_i" |
28299
 
         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28300
 
  # 2. Add them.
28301
 
  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
28302
 
  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
 
21187
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
21188
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
21189
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
21190
  #    will be set to the directory where LIBOBJS objects are built.
 
21191
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
21192
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
28303
21193
done
28304
21194
LIBOBJS=$ac_libobjs
28305
21195
 
28306
21196
LTLIBOBJS=$ac_ltlibobjs
28307
21197
 
28308
21198
 
28309
 
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28310
 
  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28311
 
Usually this means the macro was only invoked conditionally." >&5
28312
 
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28313
 
Usually this means the macro was only invoked conditionally." >&2;}
28314
 
   { (exit 1); exit 1; }; }
 
21199
 if test -n "$EXEEXT"; then
 
21200
  am__EXEEXT_TRUE=
 
21201
  am__EXEEXT_FALSE='#'
 
21202
else
 
21203
  am__EXEEXT_TRUE='#'
 
21204
  am__EXEEXT_FALSE=
28315
21205
fi
 
21206
 
28316
21207
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28317
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28318
 
Usually this means the macro was only invoked conditionally." >&5
28319
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
28320
 
Usually this means the macro was only invoked conditionally." >&2;}
28321
 
   { (exit 1); exit 1; }; }
28322
 
fi
28323
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28324
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28325
 
Usually this means the macro was only invoked conditionally." >&5
28326
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28327
 
Usually this means the macro was only invoked conditionally." >&2;}
28328
 
   { (exit 1); exit 1; }; }
28329
 
fi
28330
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28331
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28332
 
Usually this means the macro was only invoked conditionally." >&5
28333
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28334
 
Usually this means the macro was only invoked conditionally." >&2;}
28335
 
   { (exit 1); exit 1; }; }
28336
 
fi
28337
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28338
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28339
 
Usually this means the macro was only invoked conditionally." >&5
28340
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
21208
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
21209
Usually this means the macro was only invoked conditionally." >&5
 
21210
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
21211
Usually this means the macro was only invoked conditionally." >&2;}
 
21212
   { (exit 1); exit 1; }; }
 
21213
fi
 
21214
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
21215
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
21216
Usually this means the macro was only invoked conditionally." >&5
 
21217
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
21218
Usually this means the macro was only invoked conditionally." >&2;}
 
21219
   { (exit 1); exit 1; }; }
 
21220
fi
 
21221
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
21222
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
21223
Usually this means the macro was only invoked conditionally." >&5
 
21224
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28341
21225
Usually this means the macro was only invoked conditionally." >&2;}
28342
21226
   { (exit 1); exit 1; }; }
28343
21227
fi
28344
21228
if test -z "${OM_XMU_TRUE}" && test -z "${OM_XMU_FALSE}"; then
28345
 
  { { echo "$as_me:$LINENO: error: conditional \"OM_XMU\" was never defined.
 
21229
  { { $as_echo "$as_me:$LINENO: error: conditional \"OM_XMU\" was never defined.
28346
21230
Usually this means the macro was only invoked conditionally." >&5
28347
 
echo "$as_me: error: conditional \"OM_XMU\" was never defined.
 
21231
$as_echo "$as_me: error: conditional \"OM_XMU\" was never defined.
28348
21232
Usually this means the macro was only invoked conditionally." >&2;}
28349
21233
   { (exit 1); exit 1; }; }
28350
21234
fi
28351
21235
if test -z "${MessageCatalog_TRUE}" && test -z "${MessageCatalog_FALSE}"; then
28352
 
  { { echo "$as_me:$LINENO: error: conditional \"MessageCatalog\" was never defined.
 
21236
  { { $as_echo "$as_me:$LINENO: error: conditional \"MessageCatalog\" was never defined.
28353
21237
Usually this means the macro was only invoked conditionally." >&5
28354
 
echo "$as_me: error: conditional \"MessageCatalog\" was never defined.
 
21238
$as_echo "$as_me: error: conditional \"MessageCatalog\" was never defined.
28355
21239
Usually this means the macro was only invoked conditionally." >&2;}
28356
21240
   { (exit 1); exit 1; }; }
28357
21241
fi
28358
21242
if test -z "${OM_XMTHEMES_TRUE}" && test -z "${OM_XMTHEMES_FALSE}"; then
28359
 
  { { echo "$as_me:$LINENO: error: conditional \"OM_XMTHEMES\" was never defined.
28360
 
Usually this means the macro was only invoked conditionally." >&5
28361
 
echo "$as_me: error: conditional \"OM_XMTHEMES\" was never defined.
 
21243
  { { $as_echo "$as_me:$LINENO: error: conditional \"OM_XMTHEMES\" was never defined.
 
21244
Usually this means the macro was only invoked conditionally." >&5
 
21245
$as_echo "$as_me: error: conditional \"OM_XMTHEMES\" was never defined.
 
21246
Usually this means the macro was only invoked conditionally." >&2;}
 
21247
   { (exit 1); exit 1; }; }
 
21248
fi
 
21249
if test -z "${PRINTING_TRUE}" && test -z "${PRINTING_FALSE}"; then
 
21250
  { { $as_echo "$as_me:$LINENO: error: conditional \"PRINTING\" was never defined.
 
21251
Usually this means the macro was only invoked conditionally." >&5
 
21252
$as_echo "$as_me: error: conditional \"PRINTING\" was never defined.
28362
21253
Usually this means the macro was only invoked conditionally." >&2;}
28363
21254
   { (exit 1); exit 1; }; }
28364
21255
fi
28365
21256
if test -z "${OM_LIBJPEG_TRUE}" && test -z "${OM_LIBJPEG_FALSE}"; then
28366
 
  { { echo "$as_me:$LINENO: error: conditional \"OM_LIBJPEG\" was never defined.
 
21257
  { { $as_echo "$as_me:$LINENO: error: conditional \"OM_LIBJPEG\" was never defined.
28367
21258
Usually this means the macro was only invoked conditionally." >&5
28368
 
echo "$as_me: error: conditional \"OM_LIBJPEG\" was never defined.
 
21259
$as_echo "$as_me: error: conditional \"OM_LIBJPEG\" was never defined.
28369
21260
Usually this means the macro was only invoked conditionally." >&2;}
28370
21261
   { (exit 1); exit 1; }; }
28371
21262
fi
28372
21263
if test -z "${OM_LIBPNG_TRUE}" && test -z "${OM_LIBPNG_FALSE}"; then
28373
 
  { { echo "$as_me:$LINENO: error: conditional \"OM_LIBPNG\" was never defined.
 
21264
  { { $as_echo "$as_me:$LINENO: error: conditional \"OM_LIBPNG\" was never defined.
28374
21265
Usually this means the macro was only invoked conditionally." >&5
28375
 
echo "$as_me: error: conditional \"OM_LIBPNG\" was never defined.
 
21266
$as_echo "$as_me: error: conditional \"OM_LIBPNG\" was never defined.
28376
21267
Usually this means the macro was only invoked conditionally." >&2;}
28377
21268
   { (exit 1); exit 1; }; }
28378
21269
fi
28379
21270
 
28380
21271
: ${CONFIG_STATUS=./config.status}
 
21272
ac_write_fail=0
28381
21273
ac_clean_files_save=$ac_clean_files
28382
21274
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
28383
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28384
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
28385
 
cat >$CONFIG_STATUS <<_ACEOF
 
21275
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
21276
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
21277
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28386
21278
#! $SHELL
28387
21279
# Generated by $as_me.
28388
21280
# Run this file to recreate the current configuration.
28395
21287
SHELL=\${CONFIG_SHELL-$SHELL}
28396
21288
_ACEOF
28397
21289
 
28398
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
21290
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28399
21291
## --------------------- ##
28400
21292
## M4sh Initialization.  ##
28401
21293
## --------------------- ##
28402
21294
 
28403
 
# Be Bourne compatible
 
21295
# Be more Bourne compatible
 
21296
DUALCASE=1; export DUALCASE # for MKS sh
28404
21297
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
28405
21298
  emulate sh
28406
21299
  NULLCMD=:
28407
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
21300
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28408
21301
  # is contrary to our usage.  Disable this feature.
28409
21302
  alias -g '${1+"$@"}'='"$@"'
28410
 
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
28411
 
  set -o posix
28412
 
fi
28413
 
DUALCASE=1; export DUALCASE # for MKS sh
 
21303
  setopt NO_GLOB_SUBST
 
21304
else
 
21305
  case `(set -o) 2>/dev/null` in
 
21306
  *posix*) set -o posix ;;
 
21307
esac
 
21308
 
 
21309
fi
 
21310
 
 
21311
 
 
21312
 
 
21313
 
 
21314
# PATH needs CR
 
21315
# Avoid depending upon Character Ranges.
 
21316
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
21317
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
21318
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
21319
as_cr_digits='0123456789'
 
21320
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
21321
 
 
21322
as_nl='
 
21323
'
 
21324
export as_nl
 
21325
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
21326
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
21327
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
21328
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
21329
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
21330
  as_echo='printf %s\n'
 
21331
  as_echo_n='printf %s'
 
21332
else
 
21333
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
21334
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
21335
    as_echo_n='/usr/ucb/echo -n'
 
21336
  else
 
21337
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
21338
    as_echo_n_body='eval
 
21339
      arg=$1;
 
21340
      case $arg in
 
21341
      *"$as_nl"*)
 
21342
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
21343
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
21344
      esac;
 
21345
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
21346
    '
 
21347
    export as_echo_n_body
 
21348
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
21349
  fi
 
21350
  export as_echo_body
 
21351
  as_echo='sh -c $as_echo_body as_echo'
 
21352
fi
 
21353
 
 
21354
# The user is always right.
 
21355
if test "${PATH_SEPARATOR+set}" != set; then
 
21356
  PATH_SEPARATOR=:
 
21357
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
21358
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
21359
      PATH_SEPARATOR=';'
 
21360
  }
 
21361
fi
28414
21362
 
28415
21363
# Support unset when possible.
28416
21364
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28420
21368
fi
28421
21369
 
28422
21370
 
 
21371
# IFS
 
21372
# We need space, tab and new line, in precisely that order.  Quoting is
 
21373
# there to prevent editors from complaining about space-tab.
 
21374
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
21375
# splitting by setting IFS to empty value.)
 
21376
IFS=" ""        $as_nl"
 
21377
 
 
21378
# Find who we are.  Look in the path if we contain no directory separator.
 
21379
case $0 in
 
21380
  *[\\/]* ) as_myself=$0 ;;
 
21381
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21382
for as_dir in $PATH
 
21383
do
 
21384
  IFS=$as_save_IFS
 
21385
  test -z "$as_dir" && as_dir=.
 
21386
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
21387
done
 
21388
IFS=$as_save_IFS
 
21389
 
 
21390
     ;;
 
21391
esac
 
21392
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
21393
# in which case we are not to be found in the path.
 
21394
if test "x$as_myself" = x; then
 
21395
  as_myself=$0
 
21396
fi
 
21397
if test ! -f "$as_myself"; then
 
21398
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
21399
  { (exit 1); exit 1; }
 
21400
fi
 
21401
 
28423
21402
# Work around bugs in pre-3.0 UWIN ksh.
28424
 
$as_unset ENV MAIL MAILPATH
 
21403
for as_var in ENV MAIL MAILPATH
 
21404
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 
21405
done
28425
21406
PS1='$ '
28426
21407
PS2='> '
28427
21408
PS4='+ '
28428
21409
 
28429
21410
# NLS nuisances.
28430
 
for as_var in \
28431
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28432
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28433
 
  LC_TELEPHONE LC_TIME
28434
 
do
28435
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28436
 
    eval $as_var=C; export $as_var
28437
 
  else
28438
 
    $as_unset $as_var
28439
 
  fi
28440
 
done
 
21411
LC_ALL=C
 
21412
export LC_ALL
 
21413
LANGUAGE=C
 
21414
export LANGUAGE
28441
21415
 
28442
21416
# Required to use basename.
28443
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
21417
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
21418
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
28444
21419
  as_expr=expr
28445
21420
else
28446
21421
  as_expr=false
28447
21422
fi
28448
21423
 
28449
 
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
 
21424
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
28450
21425
  as_basename=basename
28451
21426
else
28452
21427
  as_basename=false
28454
21429
 
28455
21430
 
28456
21431
# Name of the executable.
28457
 
as_me=`$as_basename "$0" ||
 
21432
as_me=`$as_basename -- "$0" ||
28458
21433
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28459
21434
         X"$0" : 'X\(//\)$' \| \
28460
 
         X"$0" : 'X\(/\)$' \| \
28461
 
         .     : '\(.\)' 2>/dev/null ||
28462
 
echo X/"$0" |
28463
 
    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28464
 
          /^X\/\(\/\/\)$/{ s//\1/; q; }
28465
 
          /^X\/\(\/\).*/{ s//\1/; q; }
28466
 
          s/.*/./; q'`
28467
 
 
28468
 
 
28469
 
# PATH needs CR, and LINENO needs CR and PATH.
28470
 
# Avoid depending upon Character Ranges.
28471
 
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
28472
 
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28473
 
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
28474
 
as_cr_digits='0123456789'
28475
 
as_cr_alnum=$as_cr_Letters$as_cr_digits
28476
 
 
28477
 
# The user is always right.
28478
 
if test "${PATH_SEPARATOR+set}" != set; then
28479
 
  echo "#! /bin/sh" >conf$$.sh
28480
 
  echo  "exit 0"   >>conf$$.sh
28481
 
  chmod +x conf$$.sh
28482
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28483
 
    PATH_SEPARATOR=';'
28484
 
  else
28485
 
    PATH_SEPARATOR=:
28486
 
  fi
28487
 
  rm -f conf$$.sh
28488
 
fi
28489
 
 
28490
 
 
28491
 
  as_lineno_1=$LINENO
28492
 
  as_lineno_2=$LINENO
28493
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28494
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
28495
 
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
28496
 
  # Find who we are.  Look in the path if we contain no path at all
28497
 
  # relative or not.
28498
 
  case $0 in
28499
 
    *[\\/]* ) as_myself=$0 ;;
28500
 
    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28501
 
for as_dir in $PATH
28502
 
do
28503
 
  IFS=$as_save_IFS
28504
 
  test -z "$as_dir" && as_dir=.
28505
 
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
28506
 
done
28507
 
 
28508
 
       ;;
28509
 
  esac
28510
 
  # We did not find ourselves, most probably we were run as `sh COMMAND'
28511
 
  # in which case we are not to be found in the path.
28512
 
  if test "x$as_myself" = x; then
28513
 
    as_myself=$0
28514
 
  fi
28515
 
  if test ! -f "$as_myself"; then
28516
 
    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28517
 
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28518
 
   { (exit 1); exit 1; }; }
28519
 
  fi
28520
 
  case $CONFIG_SHELL in
28521
 
  '')
28522
 
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28523
 
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
28524
 
do
28525
 
  IFS=$as_save_IFS
28526
 
  test -z "$as_dir" && as_dir=.
28527
 
  for as_base in sh bash ksh sh5; do
28528
 
         case $as_dir in
28529
 
         /*)
28530
 
           if ("$as_dir/$as_base" -c '
28531
 
  as_lineno_1=$LINENO
28532
 
  as_lineno_2=$LINENO
28533
 
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28534
 
  test "x$as_lineno_1" != "x$as_lineno_2" &&
28535
 
  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
28536
 
             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
28537
 
             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
28538
 
             CONFIG_SHELL=$as_dir/$as_base
28539
 
             export CONFIG_SHELL
28540
 
             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28541
 
           fi;;
28542
 
         esac
28543
 
       done
28544
 
done
28545
 
;;
28546
 
  esac
 
21435
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
21436
$as_echo X/"$0" |
 
21437
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
21438
            s//\1/
 
21439
            q
 
21440
          }
 
21441
          /^X\/\(\/\/\)$/{
 
21442
            s//\1/
 
21443
            q
 
21444
          }
 
21445
          /^X\/\(\/\).*/{
 
21446
            s//\1/
 
21447
            q
 
21448
          }
 
21449
          s/.*/./; q'`
 
21450
 
 
21451
# CDPATH.
 
21452
$as_unset CDPATH
 
21453
 
 
21454
 
 
21455
 
 
21456
  as_lineno_1=$LINENO
 
21457
  as_lineno_2=$LINENO
 
21458
  test "x$as_lineno_1" != "x$as_lineno_2" &&
 
21459
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
28547
21460
 
28548
21461
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28549
21462
  # uniformly replaced by the line number.  The first 'sed' inserts a
28550
 
  # line-number line before each line; the second 'sed' does the real
28551
 
  # work.  The second script uses 'N' to pair each line-number line
28552
 
  # with the numbered line, and appends trailing '-' during
28553
 
  # substitution so that $LINENO is not a special case at line end.
 
21463
  # line-number line after each line using $LINENO; the second 'sed'
 
21464
  # does the real work.  The second script uses 'N' to pair each
 
21465
  # line-number line with the line containing $LINENO, and appends
 
21466
  # trailing '-' during substitution so that $LINENO is not a special
 
21467
  # case at line end.
28554
21468
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28555
 
  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
28556
 
  sed '=' <$as_myself |
 
21469
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
 
21470
  # E. McMahon (1931-1989) for sed's syntax.  :-)
 
21471
  sed -n '
 
21472
    p
 
21473
    /[$]LINENO/=
 
21474
  ' <$as_myself |
28557
21475
    sed '
 
21476
      s/[$]LINENO.*/&-/
 
21477
      t lineno
 
21478
      b
 
21479
      :lineno
28558
21480
      N
28559
 
      s,$,-,
28560
 
      : loop
28561
 
      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
 
21481
      :loop
 
21482
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
28562
21483
      t loop
28563
 
      s,-$,,
28564
 
      s,^['$as_cr_digits']*\n,,
 
21484
      s/-\n.*//
28565
21485
    ' >$as_me.lineno &&
28566
 
  chmod +x $as_me.lineno ||
28567
 
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28568
 
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
 
21486
  chmod +x "$as_me.lineno" ||
 
21487
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
28569
21488
   { (exit 1); exit 1; }; }
28570
21489
 
28571
21490
  # Don't try to exec as it changes $[0], causing all sort of problems
28572
21491
  # (the dirname of $[0] is not the place where we might find the
28573
 
  # original and so on.  Autoconf is especially sensible to this).
28574
 
  . ./$as_me.lineno
 
21492
  # original and so on.  Autoconf is especially sensitive to this).
 
21493
  . "./$as_me.lineno"
28575
21494
  # Exit status is that of the last command.
28576
21495
  exit
28577
21496
}
28578
21497
 
28579
21498
 
28580
 
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28581
 
  *c*,-n*) ECHO_N= ECHO_C='
28582
 
' ECHO_T='      ' ;;
28583
 
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
28584
 
  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
 
21499
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
21500
  as_dirname=dirname
 
21501
else
 
21502
  as_dirname=false
 
21503
fi
 
21504
 
 
21505
ECHO_C= ECHO_N= ECHO_T=
 
21506
case `echo -n x` in
 
21507
-n*)
 
21508
  case `echo 'x\c'` in
 
21509
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
21510
  *)   ECHO_C='\c';;
 
21511
  esac;;
 
21512
*)
 
21513
  ECHO_N='-n';;
28585
21514
esac
28586
 
 
28587
 
if expr a : '\(a\)' >/dev/null 2>&1; then
 
21515
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
21516
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
28588
21517
  as_expr=expr
28589
21518
else
28590
21519
  as_expr=false
28591
21520
fi
28592
21521
 
28593
21522
rm -f conf$$ conf$$.exe conf$$.file
28594
 
echo >conf$$.file
28595
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
28596
 
  # We could just check for DJGPP; but this test a) works b) is more generic
28597
 
  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28598
 
  if test -f conf$$.exe; then
28599
 
    # Don't use ln at all; we don't have any links
 
21523
if test -d conf$$.dir; then
 
21524
  rm -f conf$$.dir/conf$$.file
 
21525
else
 
21526
  rm -f conf$$.dir
 
21527
  mkdir conf$$.dir 2>/dev/null
 
21528
fi
 
21529
if (echo >conf$$.file) 2>/dev/null; then
 
21530
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
21531
    as_ln_s='ln -s'
 
21532
    # ... but there are two gotchas:
 
21533
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
21534
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
21535
    # In both cases, we have to default to `cp -p'.
 
21536
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
21537
      as_ln_s='cp -p'
 
21538
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
21539
    as_ln_s=ln
 
21540
  else
28600
21541
    as_ln_s='cp -p'
28601
 
  else
28602
 
    as_ln_s='ln -s'
28603
21542
  fi
28604
 
elif ln conf$$.file conf$$ 2>/dev/null; then
28605
 
  as_ln_s=ln
28606
21543
else
28607
21544
  as_ln_s='cp -p'
28608
21545
fi
28609
 
rm -f conf$$ conf$$.exe conf$$.file
 
21546
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
21547
rmdir conf$$.dir 2>/dev/null
28610
21548
 
28611
21549
if mkdir -p . 2>/dev/null; then
28612
21550
  as_mkdir_p=:
28615
21553
  as_mkdir_p=false
28616
21554
fi
28617
21555
 
28618
 
as_executable_p="test -f"
 
21556
if test -x / >/dev/null 2>&1; then
 
21557
  as_test_x='test -x'
 
21558
else
 
21559
  if ls -dL / >/dev/null 2>&1; then
 
21560
    as_ls_L_option=L
 
21561
  else
 
21562
    as_ls_L_option=
 
21563
  fi
 
21564
  as_test_x='
 
21565
    eval sh -c '\''
 
21566
      if test -d "$1"; then
 
21567
        test -d "$1/.";
 
21568
      else
 
21569
        case $1 in
 
21570
        -*)set "./$1";;
 
21571
        esac;
 
21572
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
21573
        ???[sx]*):;;*)false;;esac;fi
 
21574
    '\'' sh
 
21575
  '
 
21576
fi
 
21577
as_executable_p=$as_test_x
28619
21578
 
28620
21579
# Sed expression to map a string onto a valid CPP name.
28621
21580
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28624
21583
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28625
21584
 
28626
21585
 
28627
 
# IFS
28628
 
# We need space, tab and new line, in precisely that order.
28629
 
as_nl='
28630
 
'
28631
 
IFS="   $as_nl"
28632
 
 
28633
 
# CDPATH.
28634
 
$as_unset CDPATH
28635
 
 
28636
21586
exec 6>&1
28637
21587
 
28638
 
# Open the log real soon, to keep \$[0] and so on meaningful, and to
 
21588
# Save the log message, to keep $[0] and so on meaningful, and to
28639
21589
# report actual input values of CONFIG_FILES etc. instead of their
28640
 
# values after options handling.  Logging --version etc. is OK.
28641
 
exec 5>>config.log
28642
 
{
28643
 
  echo
28644
 
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28645
 
## Running $as_me. ##
28646
 
_ASBOX
28647
 
} >&5
28648
 
cat >&5 <<_CSEOF
28649
 
 
 
21590
# values after options handling.
 
21591
ac_log="
28650
21592
This file was extended by $as_me, which was
28651
 
generated by GNU Autoconf 2.59.  Invocation command line was
 
21593
generated by GNU Autoconf 2.63.  Invocation command line was
28652
21594
 
28653
21595
  CONFIG_FILES    = $CONFIG_FILES
28654
21596
  CONFIG_HEADERS  = $CONFIG_HEADERS
28656
21598
  CONFIG_COMMANDS = $CONFIG_COMMANDS
28657
21599
  $ $0 $@
28658
21600
 
28659
 
_CSEOF
28660
 
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28661
 
echo >&5
 
21601
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
21602
"
 
21603
 
28662
21604
_ACEOF
28663
21605
 
 
21606
case $ac_config_files in *"
 
21607
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
21608
esac
 
21609
 
 
21610
case $ac_config_headers in *"
 
21611
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
21612
esac
 
21613
 
 
21614
 
 
21615
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28664
21616
# Files that config.status was made for.
28665
 
if test -n "$ac_config_files"; then
28666
 
  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28667
 
fi
28668
 
 
28669
 
if test -n "$ac_config_headers"; then
28670
 
  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28671
 
fi
28672
 
 
28673
 
if test -n "$ac_config_links"; then
28674
 
  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28675
 
fi
28676
 
 
28677
 
if test -n "$ac_config_commands"; then
28678
 
  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28679
 
fi
28680
 
 
28681
 
cat >>$CONFIG_STATUS <<\_ACEOF
28682
 
 
 
21617
config_files="$ac_config_files"
 
21618
config_headers="$ac_config_headers"
 
21619
config_commands="$ac_config_commands"
 
21620
 
 
21621
_ACEOF
 
21622
 
 
21623
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28683
21624
ac_cs_usage="\
28684
21625
\`$as_me' instantiates files from templates according to the
28685
21626
current configuration.
28686
21627
 
28687
 
Usage: $0 [OPTIONS] [FILE]...
 
21628
Usage: $0 [OPTION]... [FILE]...
28688
21629
 
28689
21630
  -h, --help       print this help, then exit
28690
 
  -V, --version    print version number, then exit
28691
 
  -q, --quiet      do not print progress messages
 
21631
  -V, --version    print version number and configuration settings, then exit
 
21632
  -q, --quiet, --silent
 
21633
                   do not print progress messages
28692
21634
  -d, --debug      don't remove temporary files
28693
21635
      --recheck    update $as_me by reconfiguring in the same conditions
28694
 
  --file=FILE[:TEMPLATE]
28695
 
                   instantiate the configuration file FILE
28696
 
  --header=FILE[:TEMPLATE]
28697
 
                   instantiate the configuration header FILE
 
21636
      --file=FILE[:TEMPLATE]
 
21637
                   instantiate the configuration file FILE
 
21638
      --header=FILE[:TEMPLATE]
 
21639
                   instantiate the configuration header FILE
28698
21640
 
28699
21641
Configuration files:
28700
21642
$config_files
28706
21648
$config_commands
28707
21649
 
28708
21650
Report bugs to <bug-autoconf@gnu.org>."
 
21651
 
28709
21652
_ACEOF
28710
 
 
28711
 
cat >>$CONFIG_STATUS <<_ACEOF
 
21653
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28712
21654
ac_cs_version="\\
28713
21655
config.status
28714
 
configured by $0, generated by GNU Autoconf 2.59,
28715
 
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
21656
configured by $0, generated by GNU Autoconf 2.63,
 
21657
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
28716
21658
 
28717
 
Copyright (C) 2003 Free Software Foundation, Inc.
 
21659
Copyright (C) 2008 Free Software Foundation, Inc.
28718
21660
This config.status script is free software; the Free Software Foundation
28719
21661
gives unlimited permission to copy, distribute and modify it."
28720
 
srcdir=$srcdir
28721
 
INSTALL="$INSTALL"
 
21662
 
 
21663
ac_pwd='$ac_pwd'
 
21664
srcdir='$srcdir'
 
21665
INSTALL='$INSTALL'
 
21666
MKDIR_P='$MKDIR_P'
 
21667
AWK='$AWK'
 
21668
test -n "\$AWK" || AWK=awk
28722
21669
_ACEOF
28723
21670
 
28724
 
cat >>$CONFIG_STATUS <<\_ACEOF
28725
 
# If no file are specified by the user, then we need to provide default
28726
 
# value.  By we need to know if files were specified by the user.
 
21671
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
21672
# The default lists apply if the user does not specify any file.
28727
21673
ac_need_defaults=:
28728
21674
while test $# != 0
28729
21675
do
28730
21676
  case $1 in
28731
21677
  --*=*)
28732
 
    ac_option=`expr "x$1" : 'x\([^=]*\)='`
28733
 
    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
 
21678
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
21679
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
28734
21680
    ac_shift=:
28735
21681
    ;;
28736
 
  -*)
 
21682
  *)
28737
21683
    ac_option=$1
28738
21684
    ac_optarg=$2
28739
21685
    ac_shift=shift
28740
21686
    ;;
28741
 
  *) # This is not an option, so the user has probably given explicit
28742
 
     # arguments.
28743
 
     ac_option=$1
28744
 
     ac_need_defaults=false;;
28745
21687
  esac
28746
21688
 
28747
21689
  case $ac_option in
28748
21690
  # Handling of the options.
28749
 
_ACEOF
28750
 
cat >>$CONFIG_STATUS <<\_ACEOF
28751
21691
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28752
21692
    ac_cs_recheck=: ;;
28753
 
  --version | --vers* | -V )
28754
 
    echo "$ac_cs_version"; exit 0 ;;
 
21693
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
21694
    $as_echo "$ac_cs_version"; exit ;;
 
21695
  --debug | --debu | --deb | --de | --d | -d )
 
21696
    debug=: ;;
 
21697
  --file | --fil | --fi | --f )
 
21698
    $ac_shift
 
21699
    case $ac_optarg in
 
21700
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
21701
    esac
 
21702
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 
21703
    ac_need_defaults=false;;
 
21704
  --header | --heade | --head | --hea )
 
21705
    $ac_shift
 
21706
    case $ac_optarg in
 
21707
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
21708
    esac
 
21709
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 
21710
    ac_need_defaults=false;;
28755
21711
  --he | --h)
28756
21712
    # Conflict between --help and --header
28757
 
    { { echo "$as_me:$LINENO: error: ambiguous option: $1
28758
 
Try \`$0 --help' for more information." >&5
28759
 
echo "$as_me: error: ambiguous option: $1
28760
 
Try \`$0 --help' for more information." >&2;}
 
21713
    { $as_echo "$as_me: error: ambiguous option: $1
 
21714
Try \`$0 --help' for more information." >&2
28761
21715
   { (exit 1); exit 1; }; };;
28762
21716
  --help | --hel | -h )
28763
 
    echo "$ac_cs_usage"; exit 0 ;;
28764
 
  --debug | --d* | -d )
28765
 
    debug=: ;;
28766
 
  --file | --fil | --fi | --f )
28767
 
    $ac_shift
28768
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
28769
 
    ac_need_defaults=false;;
28770
 
  --header | --heade | --head | --hea )
28771
 
    $ac_shift
28772
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
28773
 
    ac_need_defaults=false;;
 
21717
    $as_echo "$ac_cs_usage"; exit ;;
28774
21718
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28775
21719
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
28776
21720
    ac_cs_silent=: ;;
28777
21721
 
28778
21722
  # This is an error.
28779
 
  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28780
 
Try \`$0 --help' for more information." >&5
28781
 
echo "$as_me: error: unrecognized option: $1
28782
 
Try \`$0 --help' for more information." >&2;}
 
21723
  -*) { $as_echo "$as_me: error: unrecognized option: $1
 
21724
Try \`$0 --help' for more information." >&2
28783
21725
   { (exit 1); exit 1; }; } ;;
28784
21726
 
28785
 
  *) ac_config_targets="$ac_config_targets $1" ;;
 
21727
  *) ac_config_targets="$ac_config_targets $1"
 
21728
     ac_need_defaults=false ;;
28786
21729
 
28787
21730
  esac
28788
21731
  shift
28796
21739
fi
28797
21740
 
28798
21741
_ACEOF
28799
 
cat >>$CONFIG_STATUS <<_ACEOF
 
21742
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28800
21743
if \$ac_cs_recheck; then
28801
 
  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28802
 
  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
21744
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
21745
  shift
 
21746
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
21747
  CONFIG_SHELL='$SHELL'
 
21748
  export CONFIG_SHELL
 
21749
  exec "\$@"
28803
21750
fi
28804
21751
 
28805
21752
_ACEOF
28806
 
 
28807
 
cat >>$CONFIG_STATUS <<_ACEOF
28808
 
#
28809
 
# INIT-COMMANDS section.
28810
 
#
28811
 
 
 
21753
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
21754
exec 5>>config.log
 
21755
{
 
21756
  echo
 
21757
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
21758
## Running $as_me. ##
 
21759
_ASBOX
 
21760
  $as_echo "$ac_log"
 
21761
} >&5
 
21762
 
 
21763
_ACEOF
 
21764
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
21765
#
 
21766
# INIT-COMMANDS
 
21767
#
28812
21768
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28813
21769
 
 
21770
 
 
21771
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
21772
# if CDPATH is set.
 
21773
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
21774
 
 
21775
sed_quote_subst='$sed_quote_subst'
 
21776
double_quote_subst='$double_quote_subst'
 
21777
delay_variable_subst='$delay_variable_subst'
 
21778
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
21779
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
21780
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
21781
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
21782
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
21783
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
21784
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
21785
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
21786
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
21787
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
21788
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
21789
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
21790
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
21791
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
21792
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
21793
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
21794
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
21795
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
21796
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
21797
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
21798
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
21799
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
21800
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
21801
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
21802
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
21803
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
21804
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
21805
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21806
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
21807
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
21808
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
21809
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
21810
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
21811
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
21812
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
21813
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21814
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21815
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21816
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
21817
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
21818
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
21819
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
21820
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
21821
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
21822
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"`'
 
21823
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"`'
 
21824
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
21825
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
21826
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
21827
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
21828
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
21829
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
21830
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
21831
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
21832
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
21833
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
21834
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
21835
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
21836
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
21837
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
21838
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
21839
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
21840
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21841
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21842
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
21843
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
21844
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21845
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21846
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
21847
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21848
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21849
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21850
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21851
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21852
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21853
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
21854
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
21855
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
21856
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21857
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
21858
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
21859
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
21860
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
21861
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
21862
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
21863
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
21864
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
21865
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
21866
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
21867
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
21868
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21869
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
21870
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
21871
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21872
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21873
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
21874
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
21875
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
21876
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
21877
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
21878
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
21879
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
21880
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21881
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21882
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21883
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21884
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21885
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
21886
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
21887
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
21888
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21889
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
21890
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
21891
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
21892
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
21893
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
21894
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
21895
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
21896
 
 
21897
LTCC='$LTCC'
 
21898
LTCFLAGS='$LTCFLAGS'
 
21899
compiler='$compiler_DEFAULT'
 
21900
 
 
21901
# Quote evaled strings.
 
21902
for var in SED \
 
21903
GREP \
 
21904
EGREP \
 
21905
FGREP \
 
21906
LD \
 
21907
NM \
 
21908
LN_S \
 
21909
lt_SP2NL \
 
21910
lt_NL2SP \
 
21911
reload_flag \
 
21912
OBJDUMP \
 
21913
deplibs_check_method \
 
21914
file_magic_cmd \
 
21915
AR \
 
21916
AR_FLAGS \
 
21917
STRIP \
 
21918
RANLIB \
 
21919
CC \
 
21920
CFLAGS \
 
21921
compiler \
 
21922
lt_cv_sys_global_symbol_pipe \
 
21923
lt_cv_sys_global_symbol_to_cdecl \
 
21924
lt_cv_sys_global_symbol_to_c_name_address \
 
21925
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
21926
SHELL \
 
21927
ECHO \
 
21928
lt_prog_compiler_no_builtin_flag \
 
21929
lt_prog_compiler_wl \
 
21930
lt_prog_compiler_pic \
 
21931
lt_prog_compiler_static \
 
21932
lt_cv_prog_compiler_c_o \
 
21933
need_locks \
 
21934
DSYMUTIL \
 
21935
NMEDIT \
 
21936
LIPO \
 
21937
OTOOL \
 
21938
OTOOL64 \
 
21939
shrext_cmds \
 
21940
export_dynamic_flag_spec \
 
21941
whole_archive_flag_spec \
 
21942
compiler_needs_object \
 
21943
with_gnu_ld \
 
21944
allow_undefined_flag \
 
21945
no_undefined_flag \
 
21946
hardcode_libdir_flag_spec \
 
21947
hardcode_libdir_flag_spec_ld \
 
21948
hardcode_libdir_separator \
 
21949
fix_srcfile_path \
 
21950
exclude_expsyms \
 
21951
include_expsyms \
 
21952
file_list_spec \
 
21953
variables_saved_for_relink \
 
21954
libname_spec \
 
21955
library_names_spec \
 
21956
soname_spec \
 
21957
finish_eval \
 
21958
old_striplib \
 
21959
striplib; do
 
21960
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
21961
    *[\\\\\\\`\\"\\\$]*)
 
21962
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
21963
      ;;
 
21964
    *)
 
21965
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
21966
      ;;
 
21967
    esac
 
21968
done
 
21969
 
 
21970
# Double-quote double-evaled strings.
 
21971
for var in reload_cmds \
 
21972
old_postinstall_cmds \
 
21973
old_postuninstall_cmds \
 
21974
old_archive_cmds \
 
21975
extract_expsyms_cmds \
 
21976
old_archive_from_new_cmds \
 
21977
old_archive_from_expsyms_cmds \
 
21978
archive_cmds \
 
21979
archive_expsym_cmds \
 
21980
module_cmds \
 
21981
module_expsym_cmds \
 
21982
export_symbols_cmds \
 
21983
prelink_cmds \
 
21984
postinstall_cmds \
 
21985
postuninstall_cmds \
 
21986
finish_cmds \
 
21987
sys_lib_search_path_spec \
 
21988
sys_lib_dlsearch_path_spec; do
 
21989
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
21990
    *[\\\\\\\`\\"\\\$]*)
 
21991
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
21992
      ;;
 
21993
    *)
 
21994
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
21995
      ;;
 
21996
    esac
 
21997
done
 
21998
 
 
21999
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
22000
case \$lt_ECHO in
 
22001
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
22002
  ;;
 
22003
esac
 
22004
 
 
22005
ac_aux_dir='$ac_aux_dir'
 
22006
xsi_shell='$xsi_shell'
 
22007
lt_shell_append='$lt_shell_append'
 
22008
 
 
22009
# See if we are running on zsh, and set the options which allow our
 
22010
# commands through without removal of \ escapes INIT.
 
22011
if test -n "\${ZSH_VERSION+set}" ; then
 
22012
   setopt NO_GLOB_SUBST
 
22013
fi
 
22014
 
 
22015
 
 
22016
    PACKAGE='$PACKAGE'
 
22017
    VERSION='$VERSION'
 
22018
    TIMESTAMP='$TIMESTAMP'
 
22019
    RM='$RM'
 
22020
    ofile='$ofile'
 
22021
 
 
22022
 
 
22023
 
 
22024
 
28814
22025
_ACEOF
28815
22026
 
28816
 
 
28817
 
 
28818
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22027
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22028
 
 
22029
# Handling of arguments.
28819
22030
for ac_config_target in $ac_config_targets
28820
22031
do
28821
 
  case "$ac_config_target" in
28822
 
  # Handling of arguments.
28823
 
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28824
 
  "bindings/Makefile" ) CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
28825
 
  "bitmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES bitmaps/Makefile" ;;
28826
 
  "clients/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/Makefile" ;;
28827
 
  "clients/mwm/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/mwm/Makefile" ;;
28828
 
  "clients/mwm/WmWsmLib/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/mwm/WmWsmLib/Makefile" ;;
28829
 
  "clients/uil/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/uil/Makefile" ;;
28830
 
  "clients/xmbind/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/xmbind/Makefile" ;;
28831
 
  "config/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
28832
 
  "config/cf/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/cf/Makefile" ;;
28833
 
  "config/imake/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/imake/Makefile" ;;
28834
 
  "config/util/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/util/Makefile" ;;
28835
 
  "config/makedepend/Makefile" ) CONFIG_FILES="$CONFIG_FILES config/makedepend/Makefile" ;;
28836
 
  "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
28837
 
  "include/Dt/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Dt/Makefile" ;;
28838
 
  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
28839
 
  "lib/Xm/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Xm/Makefile" ;;
28840
 
  "lib/Mrm/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Mrm/Makefile" ;;
28841
 
  "localized/Makefile" ) CONFIG_FILES="$CONFIG_FILES localized/Makefile" ;;
28842
 
  "localized/util/Makefile" ) CONFIG_FILES="$CONFIG_FILES localized/util/Makefile" ;;
28843
 
  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
28844
 
  "doc/man/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
28845
 
  "doc/man/man1/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/man/man1/Makefile" ;;
28846
 
  "doc/man/man3/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/man/man3/Makefile" ;;
28847
 
  "doc/man/man4/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/man/man4/Makefile" ;;
28848
 
  "doc/man/man5/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/man/man5/Makefile" ;;
28849
 
  "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
28850
 
  "tools/wml/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wml/Makefile" ;;
28851
 
  "demos/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
28852
 
  "demos/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/lib/Makefile" ;;
28853
 
  "demos/lib/Xmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/lib/Xmd/Makefile" ;;
28854
 
  "demos/lib/Wsm/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/lib/Wsm/Makefile" ;;
28855
 
  "demos/lib/Exm/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/lib/Exm/Makefile" ;;
28856
 
  "demos/lib/Exm/wml/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/lib/Exm/wml/Makefile" ;;
28857
 
  "demos/programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Makefile" ;;
28858
 
  "demos/programs/Exm/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Exm/Makefile" ;;
28859
 
  "demos/programs/Exm/app_in_c/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Exm/app_in_c/Makefile" ;;
28860
 
  "demos/programs/Exm/app_in_uil/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Exm/app_in_uil/Makefile" ;;
28861
 
  "demos/programs/Exm/simple_app/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Exm/simple_app/Makefile" ;;
28862
 
  "demos/programs/airport/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/airport/Makefile" ;;
28863
 
  "demos/programs/animate/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/animate/Makefile" ;;
28864
 
  "demos/programs/drag_and_drop/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/drag_and_drop/Makefile" ;;
28865
 
  "demos/programs/draw/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/draw/Makefile" ;;
28866
 
  "demos/programs/earth/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/earth/Makefile" ;;
28867
 
  "demos/programs/filemanager/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/filemanager/Makefile" ;;
28868
 
  "demos/programs/fileview/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/fileview/Makefile" ;;
28869
 
  "demos/programs/getsubres/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/getsubres/Makefile" ;;
28870
 
  "demos/programs/hellomotif/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotif/Makefile" ;;
28871
 
  "demos/programs/hellomotifi18n/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/Makefile" ;;
28872
 
  "demos/programs/hellomotifi18n/C/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/C/Makefile" ;;
28873
 
  "demos/programs/hellomotifi18n/C/uid/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/C/uid/Makefile" ;;
28874
 
  "demos/programs/hellomotifi18n/english/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/english/Makefile" ;;
28875
 
  "demos/programs/hellomotifi18n/english/uid/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/english/uid/Makefile" ;;
28876
 
  "demos/programs/hellomotifi18n/french/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/french/Makefile" ;;
28877
 
  "demos/programs/hellomotifi18n/french/uid/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/french/uid/Makefile" ;;
28878
 
  "demos/programs/hellomotifi18n/hebrew/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/hebrew/Makefile" ;;
28879
 
  "demos/programs/hellomotifi18n/hebrew/uid/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/hebrew/uid/Makefile" ;;
28880
 
  "demos/programs/hellomotifi18n/japan/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/japan/Makefile" ;;
28881
 
  "demos/programs/hellomotifi18n/japan/uid/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/japan/uid/Makefile" ;;
28882
 
  "demos/programs/hellomotifi18n/japanese/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/japanese/Makefile" ;;
28883
 
  "demos/programs/hellomotifi18n/japanese/uid/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/japanese/uid/Makefile" ;;
28884
 
  "demos/programs/hellomotifi18n/swedish/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/swedish/Makefile" ;;
28885
 
  "demos/programs/hellomotifi18n/swedish/uid/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/swedish/uid/Makefile" ;;
28886
 
  "demos/programs/i18ninput/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/i18ninput/Makefile" ;;
28887
 
  "demos/programs/panner/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/panner/Makefile" ;;
28888
 
  "demos/programs/periodic/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/periodic/Makefile" ;;
28889
 
  "demos/programs/piano/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/piano/Makefile" ;;
28890
 
  "demos/programs/popups/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/popups/Makefile" ;;
28891
 
  "demos/programs/sampler2_0/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/sampler2_0/Makefile" ;;
28892
 
  "demos/programs/setdate/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/setdate/Makefile" ;;
28893
 
  "demos/programs/todo/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/todo/Makefile" ;;
28894
 
  "demos/programs/workspace/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/workspace/Makefile" ;;
28895
 
  "demos/programs/tooltips/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/tooltips/Makefile" ;;
28896
 
  "demos/programs/FontSel/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/FontSel/Makefile" ;;
28897
 
  "demos/programs/ButtonBox/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/ButtonBox/Makefile" ;;
28898
 
  "demos/programs/ColorSel/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/ColorSel/Makefile" ;;
28899
 
  "demos/programs/Column/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Column/Makefile" ;;
28900
 
  "demos/programs/Combo2/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Combo2/Makefile" ;;
28901
 
  "demos/programs/Ext18List/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Ext18List/Makefile" ;;
28902
 
  "demos/programs/Ext18List/pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Ext18List/pixmaps/Makefile" ;;
28903
 
  "demos/programs/IconB/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/IconB/Makefile" ;;
28904
 
  "demos/programs/Outline/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Outline/Makefile" ;;
28905
 
  "demos/programs/Paned/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Paned/Makefile" ;;
28906
 
  "demos/programs/TabStack/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/TabStack/Makefile" ;;
28907
 
  "demos/programs/Tree/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/Tree/Makefile" ;;
28908
 
  "demos/programs/pixmaps/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/programs/pixmaps/Makefile" ;;
28909
 
  "demos/unsupported/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/Makefile" ;;
28910
 
  "demos/unsupported/Exm/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/Exm/Makefile" ;;
28911
 
  "demos/unsupported/aicon/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/aicon/Makefile" ;;
28912
 
  "demos/unsupported/dainput/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/dainput/Makefile" ;;
28913
 
  "demos/unsupported/dogs/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/dogs/Makefile" ;;
28914
 
  "demos/unsupported/hellomotif/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/hellomotif/Makefile" ;;
28915
 
  "demos/unsupported/motifshell/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/motifshell/Makefile" ;;
28916
 
  "demos/unsupported/uilsymdump/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/uilsymdump/Makefile" ;;
28917
 
  "demos/unsupported/xmapdef/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/xmapdef/Makefile" ;;
28918
 
  "demos/unsupported/xmfonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/xmfonts/Makefile" ;;
28919
 
  "demos/unsupported/xmforc/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/xmforc/Makefile" ;;
28920
 
  "demos/unsupported/xmform/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/unsupported/xmform/Makefile" ;;
28921
 
  "demos/doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/Makefile" ;;
28922
 
  "demos/doc/programGuide/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/Makefile" ;;
28923
 
  "demos/doc/programGuide/ch05/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch05/Makefile" ;;
28924
 
  "demos/doc/programGuide/ch05/Scale/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch05/Scale/Makefile" ;;
28925
 
  "demos/doc/programGuide/ch06/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch06/Makefile" ;;
28926
 
  "demos/doc/programGuide/ch06/spin_box/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch06/spin_box/Makefile" ;;
28927
 
  "demos/doc/programGuide/ch06/combo_box/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch06/combo_box/Makefile" ;;
28928
 
  "demos/doc/programGuide/ch08/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch08/Makefile" ;;
28929
 
  "demos/doc/programGuide/ch08/Notebook/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch08/Notebook/Makefile" ;;
28930
 
  "demos/doc/programGuide/ch08/Container/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch08/Container/Makefile" ;;
28931
 
  "demos/doc/programGuide/ch16/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch16/Makefile" ;;
28932
 
  "demos/doc/programGuide/ch17/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch17/Makefile" ;;
28933
 
  "demos/doc/programGuide/ch17/simple_drop/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch17/simple_drop/Makefile" ;;
28934
 
  "demos/doc/programGuide/ch17/simple_drag/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch17/simple_drag/Makefile" ;;
28935
 
  "lib/Xm/xmstring.list" ) CONFIG_FILES="$CONFIG_FILES lib/Xm/xmstring.list" ;;
28936
 
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28937
 
  "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
28938
 
  "lib/Xm/Xm.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/Xm/Xm.h" ;;
28939
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
28940
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
22032
  case $ac_config_target in
 
22033
    "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
 
22034
    "lib/Xm/Xm.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/Xm/Xm.h" ;;
 
22035
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
22036
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
22037
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
22038
    "bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
 
22039
    "bitmaps/Makefile") CONFIG_FILES="$CONFIG_FILES bitmaps/Makefile" ;;
 
22040
    "clients/Makefile") CONFIG_FILES="$CONFIG_FILES clients/Makefile" ;;
 
22041
    "clients/mwm/Makefile") CONFIG_FILES="$CONFIG_FILES clients/mwm/Makefile" ;;
 
22042
    "clients/mwm/WmWsmLib/Makefile") CONFIG_FILES="$CONFIG_FILES clients/mwm/WmWsmLib/Makefile" ;;
 
22043
    "clients/uil/Makefile") CONFIG_FILES="$CONFIG_FILES clients/uil/Makefile" ;;
 
22044
    "clients/xmbind/Makefile") CONFIG_FILES="$CONFIG_FILES clients/xmbind/Makefile" ;;
 
22045
    "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
 
22046
    "config/cf/Makefile") CONFIG_FILES="$CONFIG_FILES config/cf/Makefile" ;;
 
22047
    "config/imake/Makefile") CONFIG_FILES="$CONFIG_FILES config/imake/Makefile" ;;
 
22048
    "config/util/Makefile") CONFIG_FILES="$CONFIG_FILES config/util/Makefile" ;;
 
22049
    "config/makedepend/Makefile") CONFIG_FILES="$CONFIG_FILES config/makedepend/Makefile" ;;
 
22050
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
 
22051
    "include/Dt/Makefile") CONFIG_FILES="$CONFIG_FILES include/Dt/Makefile" ;;
 
22052
    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
 
22053
    "lib/Xm/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Xm/Makefile" ;;
 
22054
    "lib/Mrm/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Mrm/Makefile" ;;
 
22055
    "localized/Makefile") CONFIG_FILES="$CONFIG_FILES localized/Makefile" ;;
 
22056
    "localized/util/Makefile") CONFIG_FILES="$CONFIG_FILES localized/util/Makefile" ;;
 
22057
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
 
22058
    "doc/man/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/Makefile" ;;
 
22059
    "doc/man/man1/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/man1/Makefile" ;;
 
22060
    "doc/man/man3/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/man3/Makefile" ;;
 
22061
    "doc/man/man4/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/man4/Makefile" ;;
 
22062
    "doc/man/man5/Makefile") CONFIG_FILES="$CONFIG_FILES doc/man/man5/Makefile" ;;
 
22063
    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
 
22064
    "tools/wml/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wml/Makefile" ;;
 
22065
    "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
 
22066
    "demos/lib/Makefile") CONFIG_FILES="$CONFIG_FILES demos/lib/Makefile" ;;
 
22067
    "demos/lib/Xmd/Makefile") CONFIG_FILES="$CONFIG_FILES demos/lib/Xmd/Makefile" ;;
 
22068
    "demos/lib/Wsm/Makefile") CONFIG_FILES="$CONFIG_FILES demos/lib/Wsm/Makefile" ;;
 
22069
    "demos/lib/Exm/Makefile") CONFIG_FILES="$CONFIG_FILES demos/lib/Exm/Makefile" ;;
 
22070
    "demos/lib/Exm/wml/Makefile") CONFIG_FILES="$CONFIG_FILES demos/lib/Exm/wml/Makefile" ;;
 
22071
    "demos/programs/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Makefile" ;;
 
22072
    "demos/programs/Exm/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Exm/Makefile" ;;
 
22073
    "demos/programs/Exm/app_in_c/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Exm/app_in_c/Makefile" ;;
 
22074
    "demos/programs/Exm/app_in_uil/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Exm/app_in_uil/Makefile" ;;
 
22075
    "demos/programs/Exm/simple_app/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Exm/simple_app/Makefile" ;;
 
22076
    "demos/programs/airport/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/airport/Makefile" ;;
 
22077
    "demos/programs/animate/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/animate/Makefile" ;;
 
22078
    "demos/programs/drag_and_drop/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/drag_and_drop/Makefile" ;;
 
22079
    "demos/programs/draw/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/draw/Makefile" ;;
 
22080
    "demos/programs/earth/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/earth/Makefile" ;;
 
22081
    "demos/programs/filemanager/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/filemanager/Makefile" ;;
 
22082
    "demos/programs/fileview/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/fileview/Makefile" ;;
 
22083
    "demos/programs/getsubres/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/getsubres/Makefile" ;;
 
22084
    "demos/programs/hellomotif/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotif/Makefile" ;;
 
22085
    "demos/programs/hellomotifi18n/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/Makefile" ;;
 
22086
    "demos/programs/hellomotifi18n/C/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/C/Makefile" ;;
 
22087
    "demos/programs/hellomotifi18n/C/uid/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/C/uid/Makefile" ;;
 
22088
    "demos/programs/hellomotifi18n/english/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/english/Makefile" ;;
 
22089
    "demos/programs/hellomotifi18n/english/uid/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/english/uid/Makefile" ;;
 
22090
    "demos/programs/hellomotifi18n/french/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/french/Makefile" ;;
 
22091
    "demos/programs/hellomotifi18n/french/uid/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/french/uid/Makefile" ;;
 
22092
    "demos/programs/hellomotifi18n/hebrew/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/hebrew/Makefile" ;;
 
22093
    "demos/programs/hellomotifi18n/hebrew/uid/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/hebrew/uid/Makefile" ;;
 
22094
    "demos/programs/hellomotifi18n/japan/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/japan/Makefile" ;;
 
22095
    "demos/programs/hellomotifi18n/japan/uid/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/japan/uid/Makefile" ;;
 
22096
    "demos/programs/hellomotifi18n/japanese/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/japanese/Makefile" ;;
 
22097
    "demos/programs/hellomotifi18n/japanese/uid/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/japanese/uid/Makefile" ;;
 
22098
    "demos/programs/hellomotifi18n/swedish/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/swedish/Makefile" ;;
 
22099
    "demos/programs/hellomotifi18n/swedish/uid/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/hellomotifi18n/swedish/uid/Makefile" ;;
 
22100
    "demos/programs/i18ninput/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/i18ninput/Makefile" ;;
 
22101
    "demos/programs/panner/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/panner/Makefile" ;;
 
22102
    "demos/programs/periodic/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/periodic/Makefile" ;;
 
22103
    "demos/programs/piano/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/piano/Makefile" ;;
 
22104
    "demos/programs/popups/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/popups/Makefile" ;;
 
22105
    "demos/programs/sampler2_0/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/sampler2_0/Makefile" ;;
 
22106
    "demos/programs/setdate/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/setdate/Makefile" ;;
 
22107
    "demos/programs/todo/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/todo/Makefile" ;;
 
22108
    "demos/programs/workspace/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/workspace/Makefile" ;;
 
22109
    "demos/programs/tooltips/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/tooltips/Makefile" ;;
 
22110
    "demos/programs/FontSel/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/FontSel/Makefile" ;;
 
22111
    "demos/programs/ButtonBox/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/ButtonBox/Makefile" ;;
 
22112
    "demos/programs/ColorSel/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/ColorSel/Makefile" ;;
 
22113
    "demos/programs/Column/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Column/Makefile" ;;
 
22114
    "demos/programs/Combo2/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Combo2/Makefile" ;;
 
22115
    "demos/programs/Ext18List/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Ext18List/Makefile" ;;
 
22116
    "demos/programs/Ext18List/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Ext18List/pixmaps/Makefile" ;;
 
22117
    "demos/programs/IconB/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/IconB/Makefile" ;;
 
22118
    "demos/programs/Outline/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Outline/Makefile" ;;
 
22119
    "demos/programs/Paned/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Paned/Makefile" ;;
 
22120
    "demos/programs/TabStack/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/TabStack/Makefile" ;;
 
22121
    "demos/programs/Tree/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/Tree/Makefile" ;;
 
22122
    "demos/programs/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES demos/programs/pixmaps/Makefile" ;;
 
22123
    "demos/unsupported/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/Makefile" ;;
 
22124
    "demos/unsupported/Exm/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/Exm/Makefile" ;;
 
22125
    "demos/unsupported/aicon/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/aicon/Makefile" ;;
 
22126
    "demos/unsupported/dainput/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/dainput/Makefile" ;;
 
22127
    "demos/unsupported/dogs/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/dogs/Makefile" ;;
 
22128
    "demos/unsupported/hellomotif/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/hellomotif/Makefile" ;;
 
22129
    "demos/unsupported/motifshell/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/motifshell/Makefile" ;;
 
22130
    "demos/unsupported/uilsymdump/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/uilsymdump/Makefile" ;;
 
22131
    "demos/unsupported/xmapdef/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/xmapdef/Makefile" ;;
 
22132
    "demos/unsupported/xmfonts/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/xmfonts/Makefile" ;;
 
22133
    "demos/unsupported/xmforc/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/xmforc/Makefile" ;;
 
22134
    "demos/unsupported/xmform/Makefile") CONFIG_FILES="$CONFIG_FILES demos/unsupported/xmform/Makefile" ;;
 
22135
    "demos/doc/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/Makefile" ;;
 
22136
    "demos/doc/programGuide/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/Makefile" ;;
 
22137
    "demos/doc/programGuide/ch05/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch05/Makefile" ;;
 
22138
    "demos/doc/programGuide/ch05/Scale/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch05/Scale/Makefile" ;;
 
22139
    "demos/doc/programGuide/ch06/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch06/Makefile" ;;
 
22140
    "demos/doc/programGuide/ch06/spin_box/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch06/spin_box/Makefile" ;;
 
22141
    "demos/doc/programGuide/ch06/combo_box/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch06/combo_box/Makefile" ;;
 
22142
    "demos/doc/programGuide/ch08/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch08/Makefile" ;;
 
22143
    "demos/doc/programGuide/ch08/Notebook/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch08/Notebook/Makefile" ;;
 
22144
    "demos/doc/programGuide/ch08/Container/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch08/Container/Makefile" ;;
 
22145
    "demos/doc/programGuide/ch16/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch16/Makefile" ;;
 
22146
    "demos/doc/programGuide/ch17/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch17/Makefile" ;;
 
22147
    "demos/doc/programGuide/ch17/simple_drop/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch17/simple_drop/Makefile" ;;
 
22148
    "demos/doc/programGuide/ch17/simple_drag/Makefile") CONFIG_FILES="$CONFIG_FILES demos/doc/programGuide/ch17/simple_drag/Makefile" ;;
 
22149
    "lib/Xm/xmstring.list") CONFIG_FILES="$CONFIG_FILES lib/Xm/xmstring.list" ;;
 
22150
 
 
22151
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
22152
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
28941
22153
   { (exit 1); exit 1; }; };;
28942
22154
  esac
28943
22155
done
28944
22156
 
 
22157
 
28945
22158
# If the user did not use the arguments to specify the items to instantiate,
28946
22159
# then the envvar interface is used.  Set only those that are not.
28947
22160
# We use the long form for the default assignment because of an extremely
28953
22166
fi
28954
22167
 
28955
22168
# Have a temporary directory for convenience.  Make it in the build tree
28956
 
# simply because there is no reason to put it here, and in addition,
 
22169
# simply because there is no reason against having it here, and in addition,
28957
22170
# creating and moving files from /tmp can sometimes cause problems.
28958
 
# Create a temporary directory, and hook for its removal unless debugging.
 
22171
# Hook for its removal unless debugging.
 
22172
# Note that there is a small window in which the directory will not be cleaned:
 
22173
# after its creation but before its name has been assigned to `$tmp'.
28959
22174
$debug ||
28960
22175
{
28961
 
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
 
22176
  tmp=
 
22177
  trap 'exit_status=$?
 
22178
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
22179
' 0
28962
22180
  trap '{ (exit 1); exit 1; }' 1 2 13 15
28963
22181
}
28964
 
 
28965
22182
# Create a (secure) tmp directory for tmp files.
28966
22183
 
28967
22184
{
28968
 
  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
 
22185
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28969
22186
  test -n "$tmp" && test -d "$tmp"
28970
22187
}  ||
28971
22188
{
28972
 
  tmp=./confstat$$-$RANDOM
28973
 
  (umask 077 && mkdir $tmp)
 
22189
  tmp=./conf$$-$RANDOM
 
22190
  (umask 077 && mkdir "$tmp")
28974
22191
} ||
28975
22192
{
28976
 
   echo "$me: cannot create a temporary directory in ." >&2
 
22193
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
28977
22194
   { (exit 1); exit 1; }
28978
22195
}
28979
22196
 
28980
 
_ACEOF
28981
 
 
28982
 
cat >>$CONFIG_STATUS <<_ACEOF
28983
 
 
28984
 
#
28985
 
# CONFIG_FILES section.
28986
 
#
28987
 
 
28988
 
# No need to generate the scripts if there are no CONFIG_FILES.
28989
 
# This happens for instance when ./config.status config.h
28990
 
if test -n "\$CONFIG_FILES"; then
28991
 
  # Protect against being on the right side of a sed subst in config.status.
28992
 
  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
28993
 
   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
28994
 
s,@SHELL@,$SHELL,;t t
28995
 
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
28996
 
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
28997
 
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
28998
 
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
28999
 
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29000
 
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29001
 
s,@exec_prefix@,$exec_prefix,;t t
29002
 
s,@prefix@,$prefix,;t t
29003
 
s,@program_transform_name@,$program_transform_name,;t t
29004
 
s,@bindir@,$bindir,;t t
29005
 
s,@sbindir@,$sbindir,;t t
29006
 
s,@libexecdir@,$libexecdir,;t t
29007
 
s,@datadir@,$datadir,;t t
29008
 
s,@sysconfdir@,$sysconfdir,;t t
29009
 
s,@sharedstatedir@,$sharedstatedir,;t t
29010
 
s,@localstatedir@,$localstatedir,;t t
29011
 
s,@libdir@,$libdir,;t t
29012
 
s,@includedir@,$includedir,;t t
29013
 
s,@oldincludedir@,$oldincludedir,;t t
29014
 
s,@infodir@,$infodir,;t t
29015
 
s,@mandir@,$mandir,;t t
29016
 
s,@build_alias@,$build_alias,;t t
29017
 
s,@host_alias@,$host_alias,;t t
29018
 
s,@target_alias@,$target_alias,;t t
29019
 
s,@DEFS@,$DEFS,;t t
29020
 
s,@ECHO_C@,$ECHO_C,;t t
29021
 
s,@ECHO_N@,$ECHO_N,;t t
29022
 
s,@ECHO_T@,$ECHO_T,;t t
29023
 
s,@LIBS@,$LIBS,;t t
29024
 
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29025
 
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29026
 
s,@MAINT@,$MAINT,;t t
29027
 
s,@build@,$build,;t t
29028
 
s,@build_cpu@,$build_cpu,;t t
29029
 
s,@build_vendor@,$build_vendor,;t t
29030
 
s,@build_os@,$build_os,;t t
29031
 
s,@host@,$host,;t t
29032
 
s,@host_cpu@,$host_cpu,;t t
29033
 
s,@host_vendor@,$host_vendor,;t t
29034
 
s,@host_os@,$host_os,;t t
29035
 
s,@target@,$target,;t t
29036
 
s,@target_cpu@,$target_cpu,;t t
29037
 
s,@target_vendor@,$target_vendor,;t t
29038
 
s,@target_os@,$target_os,;t t
29039
 
s,@CURRENT@,$CURRENT,;t t
29040
 
s,@REVISION@,$REVISION,;t t
29041
 
s,@AGE@,$AGE,;t t
29042
 
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29043
 
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29044
 
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29045
 
s,@CYGPATH_W@,$CYGPATH_W,;t t
29046
 
s,@PACKAGE@,$PACKAGE,;t t
29047
 
s,@VERSION@,$VERSION,;t t
29048
 
s,@ACLOCAL@,$ACLOCAL,;t t
29049
 
s,@AUTOCONF@,$AUTOCONF,;t t
29050
 
s,@AUTOMAKE@,$AUTOMAKE,;t t
29051
 
s,@AUTOHEADER@,$AUTOHEADER,;t t
29052
 
s,@MAKEINFO@,$MAKEINFO,;t t
29053
 
s,@install_sh@,$install_sh,;t t
29054
 
s,@STRIP@,$STRIP,;t t
29055
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29056
 
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29057
 
s,@mkdir_p@,$mkdir_p,;t t
29058
 
s,@AWK@,$AWK,;t t
29059
 
s,@SET_MAKE@,$SET_MAKE,;t t
29060
 
s,@am__leading_dot@,$am__leading_dot,;t t
29061
 
s,@AMTAR@,$AMTAR,;t t
29062
 
s,@am__tar@,$am__tar,;t t
29063
 
s,@am__untar@,$am__untar,;t t
29064
 
s,@CC@,$CC,;t t
29065
 
s,@CFLAGS@,$CFLAGS,;t t
29066
 
s,@LDFLAGS@,$LDFLAGS,;t t
29067
 
s,@CPPFLAGS@,$CPPFLAGS,;t t
29068
 
s,@ac_ct_CC@,$ac_ct_CC,;t t
29069
 
s,@EXEEXT@,$EXEEXT,;t t
29070
 
s,@OBJEXT@,$OBJEXT,;t t
29071
 
s,@DEPDIR@,$DEPDIR,;t t
29072
 
s,@am__include@,$am__include,;t t
29073
 
s,@am__quote@,$am__quote,;t t
29074
 
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29075
 
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29076
 
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29077
 
s,@CCDEPMODE@,$CCDEPMODE,;t t
29078
 
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29079
 
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29080
 
s,@CPP@,$CPP,;t t
29081
 
s,@SED@,$SED,;t t
29082
 
s,@EGREP@,$EGREP,;t t
29083
 
s,@LN_S@,$LN_S,;t t
29084
 
s,@ECHO@,$ECHO,;t t
29085
 
s,@AR@,$AR,;t t
29086
 
s,@ac_ct_AR@,$ac_ct_AR,;t t
29087
 
s,@RANLIB@,$RANLIB,;t t
29088
 
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29089
 
s,@CXX@,$CXX,;t t
29090
 
s,@CXXFLAGS@,$CXXFLAGS,;t t
29091
 
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29092
 
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29093
 
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29094
 
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29095
 
s,@CXXCPP@,$CXXCPP,;t t
29096
 
s,@F77@,$F77,;t t
29097
 
s,@FFLAGS@,$FFLAGS,;t t
29098
 
s,@ac_ct_F77@,$ac_ct_F77,;t t
29099
 
s,@LIBTOOL@,$LIBTOOL,;t t
29100
 
s,@YACC@,$YACC,;t t
29101
 
s,@LEX@,$LEX,;t t
29102
 
s,@LEXLIB@,$LEXLIB,;t t
29103
 
s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
29104
 
s,@X_CFLAGS@,$X_CFLAGS,;t t
29105
 
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29106
 
s,@X_LIBS@,$X_LIBS,;t t
29107
 
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29108
 
s,@X_XMU@,$X_XMU,;t t
29109
 
s,@OM_XMU_TRUE@,$OM_XMU_TRUE,;t t
29110
 
s,@OM_XMU_FALSE@,$OM_XMU_FALSE,;t t
29111
 
s,@ALLOCA@,$ALLOCA,;t t
29112
 
s,@LIBOBJS@,$LIBOBJS,;t t
29113
 
s,@MessageCatalog_TRUE@,$MessageCatalog_TRUE,;t t
29114
 
s,@MessageCatalog_FALSE@,$MessageCatalog_FALSE,;t t
29115
 
s,@XMTHEME_DIST@,$XMTHEME_DIST,;t t
29116
 
s,@OM_XMTHEMES_TRUE@,$OM_XMTHEMES_TRUE,;t t
29117
 
s,@OM_XMTHEMES_FALSE@,$OM_XMTHEMES_FALSE,;t t
29118
 
s,@CDE_INSTALLATION_TOP@,$CDE_INSTALLATION_TOP,;t t
29119
 
s,@CDE_CONFIGURATION_TOP@,$CDE_CONFIGURATION_TOP,;t t
29120
 
s,@LIBDIR@,$LIBDIR,;t t
29121
 
s,@INCDIR@,$INCDIR,;t t
29122
 
s,@XMBINDDIR_FALLBACK@,$XMBINDDIR_FALLBACK,;t t
29123
 
s,@OM22_COMPATIBILITY_FALSE@,$OM22_COMPATIBILITY_FALSE,;t t
29124
 
s,@OM22_COMPATIBILITY_TRUE@,$OM22_COMPATIBILITY_TRUE,;t t
29125
 
s,@ft_config@,$ft_config,;t t
29126
 
s,@FREETYPE_CFLAGS@,$FREETYPE_CFLAGS,;t t
29127
 
s,@FC_DEFAULT_FONTS@,$FC_DEFAULT_FONTS,;t t
29128
 
s,@confdir@,$confdir,;t t
29129
 
s,@CONFDIR@,$CONFDIR,;t t
29130
 
s,@XRENDER_CFLAGS@,$XRENDER_CFLAGS,;t t
29131
 
s,@XRENDER_LIBS@,$XRENDER_LIBS,;t t
29132
 
s,@fc_config@,$fc_config,;t t
29133
 
s,@FONTCONFIG_CFLAGS@,$FONTCONFIG_CFLAGS,;t t
29134
 
s,@FONTCONFIG_LIBS@,$FONTCONFIG_LIBS,;t t
29135
 
s,@OM_LIBJPEG_TRUE@,$OM_LIBJPEG_TRUE,;t t
29136
 
s,@OM_LIBJPEG_FALSE@,$OM_LIBJPEG_FALSE,;t t
29137
 
s,@OM_LIBPNG_TRUE@,$OM_LIBPNG_TRUE,;t t
29138
 
s,@OM_LIBPNG_FALSE@,$OM_LIBPNG_FALSE,;t t
29139
 
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29140
 
CEOF
29141
 
 
29142
 
_ACEOF
29143
 
 
29144
 
  cat >>$CONFIG_STATUS <<\_ACEOF
29145
 
  # Split the substitutions into bite-sized pieces for seds with
29146
 
  # small command number limits, like on Digital OSF/1 and HP-UX.
29147
 
  ac_max_sed_lines=48
29148
 
  ac_sed_frag=1 # Number of current file.
29149
 
  ac_beg=1 # First line for current file.
29150
 
  ac_end=$ac_max_sed_lines # Line after last line for current file.
29151
 
  ac_more_lines=:
29152
 
  ac_sed_cmds=
29153
 
  while $ac_more_lines; do
29154
 
    if test $ac_beg -gt 1; then
29155
 
      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29156
 
    else
29157
 
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
29158
 
    fi
29159
 
    if test ! -s $tmp/subs.frag; then
29160
 
      ac_more_lines=false
29161
 
    else
29162
 
      # The purpose of the label and of the branching condition is to
29163
 
      # speed up the sed processing (if there are no `@' at all, there
29164
 
      # is no need to browse any of the substitutions).
29165
 
      # These are the two extra sed commands mentioned above.
29166
 
      (echo ':t
29167
 
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
29168
 
      if test -z "$ac_sed_cmds"; then
29169
 
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
29170
 
      else
29171
 
        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29172
 
      fi
29173
 
      ac_sed_frag=`expr $ac_sed_frag + 1`
29174
 
      ac_beg=$ac_end
29175
 
      ac_end=`expr $ac_end + $ac_max_sed_lines`
29176
 
    fi
29177
 
  done
29178
 
  if test -z "$ac_sed_cmds"; then
29179
 
    ac_sed_cmds=cat
 
22197
# Set up the scripts for CONFIG_FILES section.
 
22198
# No need to generate them if there are no CONFIG_FILES.
 
22199
# This happens for instance with `./config.status config.h'.
 
22200
if test -n "$CONFIG_FILES"; then
 
22201
 
 
22202
 
 
22203
ac_cr='
 
 
b"'"
 
22204
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
22205
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
22206
  ac_cs_awk_cr='\\r'
 
22207
else
 
22208
  ac_cs_awk_cr=$ac_cr
 
22209
fi
 
22210
 
 
22211
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
22212
_ACEOF
 
22213
 
 
22214
 
 
22215
{
 
22216
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
22217
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
22218
  echo "_ACEOF"
 
22219
} >conf$$subs.sh ||
 
22220
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22221
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22222
   { (exit 1); exit 1; }; }
 
22223
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
22224
ac_delim='%!_!# '
 
22225
for ac_last_try in false false false false false :; do
 
22226
  . ./conf$$subs.sh ||
 
22227
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22228
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22229
   { (exit 1); exit 1; }; }
 
22230
 
 
22231
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
22232
  if test $ac_delim_n = $ac_delim_num; then
 
22233
    break
 
22234
  elif $ac_last_try; then
 
22235
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22236
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22237
   { (exit 1); exit 1; }; }
 
22238
  else
 
22239
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29180
22240
  fi
 
22241
done
 
22242
rm -f conf$$subs.sh
 
22243
 
 
22244
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22245
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
22246
_ACEOF
 
22247
sed -n '
 
22248
h
 
22249
s/^/S["/; s/!.*/"]=/
 
22250
p
 
22251
g
 
22252
s/^[^!]*!//
 
22253
:repl
 
22254
t repl
 
22255
s/'"$ac_delim"'$//
 
22256
t delim
 
22257
:nl
 
22258
h
 
22259
s/\(.\{148\}\).*/\1/
 
22260
t more1
 
22261
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
22262
p
 
22263
n
 
22264
b repl
 
22265
:more1
 
22266
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
22267
p
 
22268
g
 
22269
s/.\{148\}//
 
22270
t nl
 
22271
:delim
 
22272
h
 
22273
s/\(.\{148\}\).*/\1/
 
22274
t more2
 
22275
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
22276
p
 
22277
b
 
22278
:more2
 
22279
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
22280
p
 
22281
g
 
22282
s/.\{148\}//
 
22283
t delim
 
22284
' <conf$$subs.awk | sed '
 
22285
/^[^""]/{
 
22286
  N
 
22287
  s/\n//
 
22288
}
 
22289
' >>$CONFIG_STATUS || ac_write_fail=1
 
22290
rm -f conf$$subs.awk
 
22291
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22292
_ACAWK
 
22293
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
22294
  for (key in S) S_is_set[key] = 1
 
22295
  FS = ""
 
22296
 
 
22297
}
 
22298
{
 
22299
  line = $ 0
 
22300
  nfields = split(line, field, "@")
 
22301
  substed = 0
 
22302
  len = length(field[1])
 
22303
  for (i = 2; i < nfields; i++) {
 
22304
    key = field[i]
 
22305
    keylen = length(key)
 
22306
    if (S_is_set[key]) {
 
22307
      value = S[key]
 
22308
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
22309
      len += length(value) + length(field[++i])
 
22310
      substed = 1
 
22311
    } else
 
22312
      len += 1 + keylen
 
22313
  }
 
22314
 
 
22315
  print line
 
22316
}
 
22317
 
 
22318
_ACAWK
 
22319
_ACEOF
 
22320
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22321
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
22322
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
22323
else
 
22324
  cat
 
22325
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
22326
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
22327
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
22328
   { (exit 1); exit 1; }; }
 
22329
_ACEOF
 
22330
 
 
22331
# VPATH may cause trouble with some makes, so we remove $(srcdir),
 
22332
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 
22333
# trailing colons and then remove the whole line if VPATH becomes empty
 
22334
# (actually we leave an empty line to preserve line numbers).
 
22335
if test "x$srcdir" = x.; then
 
22336
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
 
22337
s/:*\$(srcdir):*/:/
 
22338
s/:*\${srcdir}:*/:/
 
22339
s/:*@srcdir@:*/:/
 
22340
s/^\([^=]*=[     ]*\):*/\1/
 
22341
s/:*$//
 
22342
s/^[^=]*=[       ]*$//
 
22343
}'
 
22344
fi
 
22345
 
 
22346
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29181
22347
fi # test -n "$CONFIG_FILES"
29182
22348
 
29183
 
_ACEOF
29184
 
cat >>$CONFIG_STATUS <<\_ACEOF
29185
 
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
29186
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29187
 
  case $ac_file in
29188
 
  - | *:- | *:-:* ) # input from stdin
29189
 
        cat >$tmp/stdin
29190
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29191
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29192
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29193
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29194
 
  * )   ac_file_in=$ac_file.in ;;
29195
 
  esac
29196
 
 
29197
 
  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29198
 
  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
 
22349
# Set up the scripts for CONFIG_HEADERS section.
 
22350
# No need to generate them if there are no CONFIG_HEADERS.
 
22351
# This happens for instance with `./config.status Makefile'.
 
22352
if test -n "$CONFIG_HEADERS"; then
 
22353
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
22354
BEGIN {
 
22355
_ACEOF
 
22356
 
 
22357
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
22358
# here-document in config.status, that substitutes the proper values into
 
22359
# config.h.in to produce config.h.
 
22360
 
 
22361
# Create a delimiter string that does not exist in confdefs.h, to ease
 
22362
# handling of long lines.
 
22363
ac_delim='%!_!# '
 
22364
for ac_last_try in false false :; do
 
22365
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
22366
  if test -z "$ac_t"; then
 
22367
    break
 
22368
  elif $ac_last_try; then
 
22369
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
22370
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
22371
   { (exit 1); exit 1; }; }
 
22372
  else
 
22373
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22374
  fi
 
22375
done
 
22376
 
 
22377
# For the awk script, D is an array of macro values keyed by name,
 
22378
# likewise P contains macro parameters if any.  Preserve backslash
 
22379
# newline sequences.
 
22380
 
 
22381
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
22382
sed -n '
 
22383
s/.\{148\}/&'"$ac_delim"'/g
 
22384
t rset
 
22385
:rset
 
22386
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
22387
t def
 
22388
d
 
22389
:def
 
22390
s/\\$//
 
22391
t bsnl
 
22392
s/["\\]/\\&/g
 
22393
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
22394
D["\1"]=" \3"/p
 
22395
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
22396
d
 
22397
:bsnl
 
22398
s/["\\]/\\&/g
 
22399
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
22400
D["\1"]=" \3\\\\\\n"\\/p
 
22401
t cont
 
22402
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
22403
t cont
 
22404
d
 
22405
:cont
 
22406
n
 
22407
s/.\{148\}/&'"$ac_delim"'/g
 
22408
t clear
 
22409
:clear
 
22410
s/\\$//
 
22411
t bsnlc
 
22412
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
22413
d
 
22414
:bsnlc
 
22415
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
22416
b cont
 
22417
' <confdefs.h | sed '
 
22418
s/'"$ac_delim"'/"\\\
 
22419
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
22420
 
 
22421
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22422
  for (key in D) D_is_set[key] = 1
 
22423
  FS = ""
 
22424
}
 
22425
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
22426
  line = \$ 0
 
22427
  split(line, arg, " ")
 
22428
  if (arg[1] == "#") {
 
22429
    defundef = arg[2]
 
22430
    mac1 = arg[3]
 
22431
  } else {
 
22432
    defundef = substr(arg[1], 2)
 
22433
    mac1 = arg[2]
 
22434
  }
 
22435
  split(mac1, mac2, "(") #)
 
22436
  macro = mac2[1]
 
22437
  prefix = substr(line, 1, index(line, defundef) - 1)
 
22438
  if (D_is_set[macro]) {
 
22439
    # Preserve the white space surrounding the "#".
 
22440
    print prefix "define", macro P[macro] D[macro]
 
22441
    next
 
22442
  } else {
 
22443
    # Replace #undef with comments.  This is necessary, for example,
 
22444
    # in the case of _POSIX_SOURCE, which is predefined and required
 
22445
    # on some systems where configure will not decide to define it.
 
22446
    if (defundef == "undef") {
 
22447
      print "/*", prefix defundef, macro, "*/"
 
22448
      next
 
22449
    }
 
22450
  }
 
22451
}
 
22452
{ print }
 
22453
_ACAWK
 
22454
_ACEOF
 
22455
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22456
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
22457
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
22458
   { (exit 1); exit 1; }; }
 
22459
fi # test -n "$CONFIG_HEADERS"
 
22460
 
 
22461
 
 
22462
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
22463
shift
 
22464
for ac_tag
 
22465
do
 
22466
  case $ac_tag in
 
22467
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
22468
  esac
 
22469
  case $ac_mode$ac_tag in
 
22470
  :[FHL]*:*);;
 
22471
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
22472
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 
22473
   { (exit 1); exit 1; }; };;
 
22474
  :[FH]-) ac_tag=-:-;;
 
22475
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
22476
  esac
 
22477
  ac_save_IFS=$IFS
 
22478
  IFS=:
 
22479
  set x $ac_tag
 
22480
  IFS=$ac_save_IFS
 
22481
  shift
 
22482
  ac_file=$1
 
22483
  shift
 
22484
 
 
22485
  case $ac_mode in
 
22486
  :L) ac_source=$1;;
 
22487
  :[FH])
 
22488
    ac_file_inputs=
 
22489
    for ac_f
 
22490
    do
 
22491
      case $ac_f in
 
22492
      -) ac_f="$tmp/stdin";;
 
22493
      *) # Look for the file first in the build tree, then in the source tree
 
22494
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
22495
         # because $ac_f cannot contain `:'.
 
22496
         test -f "$ac_f" ||
 
22497
           case $ac_f in
 
22498
           [\\/$]*) false;;
 
22499
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
22500
           esac ||
 
22501
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
22502
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
22503
   { (exit 1); exit 1; }; };;
 
22504
      esac
 
22505
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
22506
      ac_file_inputs="$ac_file_inputs '$ac_f'"
 
22507
    done
 
22508
 
 
22509
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
22510
    # use $as_me), people would be surprised to read:
 
22511
    #    /* config.h.  Generated by config.status.  */
 
22512
    configure_input='Generated from '`
 
22513
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
22514
        `' by configure.'
 
22515
    if test x"$ac_file" != x-; then
 
22516
      configure_input="$ac_file.  $configure_input"
 
22517
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
22518
$as_echo "$as_me: creating $ac_file" >&6;}
 
22519
    fi
 
22520
    # Neutralize special characters interpreted by sed in replacement strings.
 
22521
    case $configure_input in #(
 
22522
    *\&* | *\|* | *\\* )
 
22523
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
22524
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
22525
    *) ac_sed_conf_input=$configure_input;;
 
22526
    esac
 
22527
 
 
22528
    case $ac_tag in
 
22529
    *:-:* | *:-) cat >"$tmp/stdin" \
 
22530
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
22531
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
22532
   { (exit 1); exit 1; }; } ;;
 
22533
    esac
 
22534
    ;;
 
22535
  esac
 
22536
 
 
22537
  ac_dir=`$as_dirname -- "$ac_file" ||
29199
22538
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29200
22539
         X"$ac_file" : 'X\(//\)[^/]' \| \
29201
22540
         X"$ac_file" : 'X\(//\)$' \| \
29202
 
         X"$ac_file" : 'X\(/\)' \| \
29203
 
         .     : '\(.\)' 2>/dev/null ||
29204
 
echo X"$ac_file" |
29205
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29206
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29207
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29208
 
          /^X\(\/\).*/{ s//\1/; q; }
29209
 
          s/.*/./; q'`
29210
 
  { if $as_mkdir_p; then
29211
 
    mkdir -p "$ac_dir"
29212
 
  else
29213
 
    as_dir="$ac_dir"
 
22541
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
22542
$as_echo X"$ac_file" |
 
22543
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22544
            s//\1/
 
22545
            q
 
22546
          }
 
22547
          /^X\(\/\/\)[^/].*/{
 
22548
            s//\1/
 
22549
            q
 
22550
          }
 
22551
          /^X\(\/\/\)$/{
 
22552
            s//\1/
 
22553
            q
 
22554
          }
 
22555
          /^X\(\/\).*/{
 
22556
            s//\1/
 
22557
            q
 
22558
          }
 
22559
          s/.*/./; q'`
 
22560
  { as_dir="$ac_dir"
 
22561
  case $as_dir in #(
 
22562
  -*) as_dir=./$as_dir;;
 
22563
  esac
 
22564
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
29214
22565
    as_dirs=
29215
 
    while test ! -d "$as_dir"; do
29216
 
      as_dirs="$as_dir $as_dirs"
29217
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22566
    while :; do
 
22567
      case $as_dir in #(
 
22568
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
22569
      *) as_qdir=$as_dir;;
 
22570
      esac
 
22571
      as_dirs="'$as_qdir' $as_dirs"
 
22572
      as_dir=`$as_dirname -- "$as_dir" ||
29218
22573
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29219
22574
         X"$as_dir" : 'X\(//\)[^/]' \| \
29220
22575
         X"$as_dir" : 'X\(//\)$' \| \
29221
 
         X"$as_dir" : 'X\(/\)' \| \
29222
 
         .     : '\(.\)' 2>/dev/null ||
29223
 
echo X"$as_dir" |
29224
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29225
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29226
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29227
 
          /^X\(\/\).*/{ s//\1/; q; }
29228
 
          s/.*/./; q'`
 
22576
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
22577
$as_echo X"$as_dir" |
 
22578
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22579
            s//\1/
 
22580
            q
 
22581
          }
 
22582
          /^X\(\/\/\)[^/].*/{
 
22583
            s//\1/
 
22584
            q
 
22585
          }
 
22586
          /^X\(\/\/\)$/{
 
22587
            s//\1/
 
22588
            q
 
22589
          }
 
22590
          /^X\(\/\).*/{
 
22591
            s//\1/
 
22592
            q
 
22593
          }
 
22594
          s/.*/./; q'`
 
22595
      test -d "$as_dir" && break
29229
22596
    done
29230
 
    test ! -n "$as_dirs" || mkdir $as_dirs
29231
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29232
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
 
22597
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
22598
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22599
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
29233
22600
   { (exit 1); exit 1; }; }; }
29234
 
 
29235
22601
  ac_builddir=.
29236
22602
 
29237
 
if test "$ac_dir" != .; then
29238
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29239
 
  # A "../" for each directory in $ac_dir_suffix.
29240
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29241
 
else
29242
 
  ac_dir_suffix= ac_top_builddir=
29243
 
fi
 
22603
case "$ac_dir" in
 
22604
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22605
*)
 
22606
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
22607
  # A ".." for each directory in $ac_dir_suffix.
 
22608
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
22609
  case $ac_top_builddir_sub in
 
22610
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
22611
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
22612
  esac ;;
 
22613
esac
 
22614
ac_abs_top_builddir=$ac_pwd
 
22615
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
22616
# for backward compatibility:
 
22617
ac_top_builddir=$ac_top_build_prefix
29244
22618
 
29245
22619
case $srcdir in
29246
 
  .)  # No --srcdir option.  We are building in place.
 
22620
  .)  # We are building in place.
29247
22621
    ac_srcdir=.
29248
 
    if test -z "$ac_top_builddir"; then
29249
 
       ac_top_srcdir=.
29250
 
    else
29251
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29252
 
    fi ;;
29253
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
 
22622
    ac_top_srcdir=$ac_top_builddir_sub
 
22623
    ac_abs_top_srcdir=$ac_pwd ;;
 
22624
  [\\/]* | ?:[\\/]* )  # Absolute name.
29254
22625
    ac_srcdir=$srcdir$ac_dir_suffix;
29255
 
    ac_top_srcdir=$srcdir ;;
29256
 
  *) # Relative path.
29257
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
29258
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
29259
 
esac
29260
 
 
29261
 
# Do not use `cd foo && pwd` to compute absolute paths, because
29262
 
# the directories may not exist.
29263
 
case `pwd` in
29264
 
.) ac_abs_builddir="$ac_dir";;
29265
 
*)
29266
 
  case "$ac_dir" in
29267
 
  .) ac_abs_builddir=`pwd`;;
29268
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
29269
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
29270
 
  esac;;
29271
 
esac
29272
 
case $ac_abs_builddir in
29273
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
29274
 
*)
29275
 
  case ${ac_top_builddir}. in
29276
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
29277
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
29278
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
29279
 
  esac;;
29280
 
esac
29281
 
case $ac_abs_builddir in
29282
 
.) ac_abs_srcdir=$ac_srcdir;;
29283
 
*)
29284
 
  case $ac_srcdir in
29285
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
29286
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
29287
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
29288
 
  esac;;
29289
 
esac
29290
 
case $ac_abs_builddir in
29291
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
29292
 
*)
29293
 
  case $ac_top_srcdir in
29294
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
29295
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
29296
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29297
 
  esac;;
29298
 
esac
29299
 
 
 
22626
    ac_top_srcdir=$srcdir
 
22627
    ac_abs_top_srcdir=$srcdir ;;
 
22628
  *) # Relative name.
 
22629
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
22630
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
22631
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
22632
esac
 
22633
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
22634
 
 
22635
 
 
22636
  case $ac_mode in
 
22637
  :F)
 
22638
  #
 
22639
  # CONFIG_FILE
 
22640
  #
29300
22641
 
29301
22642
  case $INSTALL in
29302
22643
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29303
 
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
29304
 
  esac
29305
 
 
29306
 
  if test x"$ac_file" != x-; then
29307
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
29308
 
echo "$as_me: creating $ac_file" >&6;}
29309
 
    rm -f "$ac_file"
29310
 
  fi
29311
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
29312
 
  # use $as_me), people would be surprised to read:
29313
 
  #    /* config.h.  Generated by config.status.  */
29314
 
  if test x"$ac_file" = x-; then
29315
 
    configure_input=
29316
 
  else
29317
 
    configure_input="$ac_file.  "
29318
 
  fi
29319
 
  configure_input=$configure_input"Generated from `echo $ac_file_in |
29320
 
                                     sed 's,.*/,,'` by configure."
29321
 
 
29322
 
  # First look for the input files in the build tree, otherwise in the
29323
 
  # src tree.
29324
 
  ac_file_inputs=`IFS=:
29325
 
    for f in $ac_file_in; do
29326
 
      case $f in
29327
 
      -) echo $tmp/stdin ;;
29328
 
      [\\/$]*)
29329
 
         # Absolute (can't be DOS-style, as IFS=:)
29330
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29331
 
echo "$as_me: error: cannot find input file: $f" >&2;}
29332
 
   { (exit 1); exit 1; }; }
29333
 
         echo "$f";;
29334
 
      *) # Relative
29335
 
         if test -f "$f"; then
29336
 
           # Build tree
29337
 
           echo "$f"
29338
 
         elif test -f "$srcdir/$f"; then
29339
 
           # Source tree
29340
 
           echo "$srcdir/$f"
29341
 
         else
29342
 
           # /dev/null tree
29343
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29344
 
echo "$as_me: error: cannot find input file: $f" >&2;}
29345
 
   { (exit 1); exit 1; }; }
29346
 
         fi;;
29347
 
      esac
29348
 
    done` || { (exit 1); exit 1; }
29349
 
_ACEOF
29350
 
cat >>$CONFIG_STATUS <<_ACEOF
29351
 
  sed "$ac_vpsub
 
22644
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
22645
  esac
 
22646
  ac_MKDIR_P=$MKDIR_P
 
22647
  case $MKDIR_P in
 
22648
  [\\/$]* | ?:[\\/]* ) ;;
 
22649
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
22650
  esac
 
22651
_ACEOF
 
22652
 
 
22653
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
22654
# If the template does not know about datarootdir, expand it.
 
22655
# FIXME: This hack should be removed a few years after 2.60.
 
22656
ac_datarootdir_hack=; ac_datarootdir_seen=
 
22657
 
 
22658
ac_sed_dataroot='
 
22659
/datarootdir/ {
 
22660
  p
 
22661
  q
 
22662
}
 
22663
/@datadir@/p
 
22664
/@docdir@/p
 
22665
/@infodir@/p
 
22666
/@localedir@/p
 
22667
/@mandir@/p
 
22668
'
 
22669
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
22670
*datarootdir*) ac_datarootdir_seen=yes;;
 
22671
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
22672
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
22673
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
22674
_ACEOF
 
22675
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22676
  ac_datarootdir_hack='
 
22677
  s&@datadir@&$datadir&g
 
22678
  s&@docdir@&$docdir&g
 
22679
  s&@infodir@&$infodir&g
 
22680
  s&@localedir@&$localedir&g
 
22681
  s&@mandir@&$mandir&g
 
22682
    s&\\\${datarootdir}&$datarootdir&g' ;;
 
22683
esac
 
22684
_ACEOF
 
22685
 
 
22686
# Neutralize VPATH when `$srcdir' = `.'.
 
22687
# Shell code in configure.ac might set extrasub.
 
22688
# FIXME: do we really want to maintain this feature?
 
22689
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
22690
ac_sed_extra="$ac_vpsub
29352
22691
$extrasub
29353
22692
_ACEOF
29354
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22693
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29355
22694
:t
29356
22695
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29357
 
s,@configure_input@,$configure_input,;t t
29358
 
s,@srcdir@,$ac_srcdir,;t t
29359
 
s,@abs_srcdir@,$ac_abs_srcdir,;t t
29360
 
s,@top_srcdir@,$ac_top_srcdir,;t t
29361
 
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
29362
 
s,@builddir@,$ac_builddir,;t t
29363
 
s,@abs_builddir@,$ac_abs_builddir,;t t
29364
 
s,@top_builddir@,$ac_top_builddir,;t t
29365
 
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
29366
 
s,@INSTALL@,$ac_INSTALL,;t t
29367
 
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29368
 
  rm -f $tmp/stdin
29369
 
  if test x"$ac_file" != x-; then
29370
 
    mv $tmp/out $ac_file
29371
 
  else
29372
 
    cat $tmp/out
29373
 
    rm -f $tmp/out
29374
 
  fi
29375
 
 
29376
 
done
29377
 
_ACEOF
29378
 
cat >>$CONFIG_STATUS <<\_ACEOF
29379
 
 
29380
 
#
29381
 
# CONFIG_HEADER section.
29382
 
#
29383
 
 
29384
 
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
29385
 
# NAME is the cpp macro being defined and VALUE is the value it is being given.
29386
 
#
29387
 
# ac_d sets the value in "#define NAME VALUE" lines.
29388
 
ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
29389
 
ac_dB='[         ].*$,\1#\2'
29390
 
ac_dC=' '
29391
 
ac_dD=',;t'
29392
 
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29393
 
ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
29394
 
ac_uB='$,\1#\2define\3'
29395
 
ac_uC=' '
29396
 
ac_uD=',;t'
29397
 
 
29398
 
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
29399
 
  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 
22696
s|@configure_input@|$ac_sed_conf_input|;t t
 
22697
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
22698
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
22699
s&@srcdir@&$ac_srcdir&;t t
 
22700
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
22701
s&@top_srcdir@&$ac_top_srcdir&;t t
 
22702
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
22703
s&@builddir@&$ac_builddir&;t t
 
22704
s&@abs_builddir@&$ac_abs_builddir&;t t
 
22705
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
22706
s&@INSTALL@&$ac_INSTALL&;t t
 
22707
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
22708
$ac_datarootdir_hack
 
22709
"
 
22710
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
22711
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
22712
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
22713
   { (exit 1); exit 1; }; }
 
22714
 
 
22715
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
22716
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 
22717
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
22718
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
22719
which seems to be undefined.  Please make sure it is defined." >&5
 
22720
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
22721
which seems to be undefined.  Please make sure it is defined." >&2;}
 
22722
 
 
22723
  rm -f "$tmp/stdin"
29400
22724
  case $ac_file in
29401
 
  - | *:- | *:-:* ) # input from stdin
29402
 
        cat >$tmp/stdin
29403
 
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29404
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29405
 
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
29406
 
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
29407
 
  * )   ac_file_in=$ac_file.in ;;
29408
 
  esac
29409
 
 
29410
 
  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
29411
 
echo "$as_me: creating $ac_file" >&6;}
29412
 
 
29413
 
  # First look for the input files in the build tree, otherwise in the
29414
 
  # src tree.
29415
 
  ac_file_inputs=`IFS=:
29416
 
    for f in $ac_file_in; do
29417
 
      case $f in
29418
 
      -) echo $tmp/stdin ;;
29419
 
      [\\/$]*)
29420
 
         # Absolute (can't be DOS-style, as IFS=:)
29421
 
         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29422
 
echo "$as_me: error: cannot find input file: $f" >&2;}
29423
 
   { (exit 1); exit 1; }; }
29424
 
         # Do quote $f, to prevent DOS paths from being IFS'd.
29425
 
         echo "$f";;
29426
 
      *) # Relative
29427
 
         if test -f "$f"; then
29428
 
           # Build tree
29429
 
           echo "$f"
29430
 
         elif test -f "$srcdir/$f"; then
29431
 
           # Source tree
29432
 
           echo "$srcdir/$f"
29433
 
         else
29434
 
           # /dev/null tree
29435
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29436
 
echo "$as_me: error: cannot find input file: $f" >&2;}
29437
 
   { (exit 1); exit 1; }; }
29438
 
         fi;;
29439
 
      esac
29440
 
    done` || { (exit 1); exit 1; }
29441
 
  # Remove the trailing spaces.
29442
 
  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
29443
 
 
29444
 
_ACEOF
29445
 
 
29446
 
# Transform confdefs.h into two sed scripts, `conftest.defines' and
29447
 
# `conftest.undefs', that substitutes the proper values into
29448
 
# config.h.in to produce config.h.  The first handles `#define'
29449
 
# templates, and the second `#undef' templates.
29450
 
# And first: Protect against being on the right side of a sed subst in
29451
 
# config.status.  Protect against being in an unquoted here document
29452
 
# in config.status.
29453
 
rm -f conftest.defines conftest.undefs
29454
 
# Using a here document instead of a string reduces the quoting nightmare.
29455
 
# Putting comments in sed scripts is not portable.
29456
 
#
29457
 
# `end' is used to avoid that the second main sed command (meant for
29458
 
# 0-ary CPP macros) applies to n-ary macro definitions.
29459
 
# See the Autoconf documentation for `clear'.
29460
 
cat >confdef2sed.sed <<\_ACEOF
29461
 
s/[\\&,]/\\&/g
29462
 
s,[\\$`],\\&,g
29463
 
t clear
29464
 
: clear
29465
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29466
 
t end
29467
 
s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29468
 
: end
29469
 
_ACEOF
29470
 
# If some macros were called several times there might be several times
29471
 
# the same #defines, which is useless.  Nevertheless, we may not want to
29472
 
# sort them, since we want the *last* AC-DEFINE to be honored.
29473
 
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29474
 
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29475
 
rm -f confdef2sed.sed
29476
 
 
29477
 
# This sed command replaces #undef with comments.  This is necessary, for
29478
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
29479
 
# on some systems where configure will not decide to define it.
29480
 
cat >>conftest.undefs <<\_ACEOF
29481
 
s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29482
 
_ACEOF
29483
 
 
29484
 
# Break up conftest.defines because some shells have a limit on the size
29485
 
# of here documents, and old seds have small limits too (100 cmds).
29486
 
echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29487
 
echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29488
 
echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29489
 
echo '  :' >>$CONFIG_STATUS
29490
 
rm -f conftest.tail
29491
 
while grep . conftest.defines >/dev/null
29492
 
do
29493
 
  # Write a limited-size here document to $tmp/defines.sed.
29494
 
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29495
 
  # Speed up: don't consider the non `#define' lines.
29496
 
  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
29497
 
  # Work around the forget-to-reset-the-flag bug.
29498
 
  echo 't clr' >>$CONFIG_STATUS
29499
 
  echo ': clr' >>$CONFIG_STATUS
29500
 
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
29501
 
  echo 'CEOF
29502
 
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
29503
 
  rm -f $tmp/in
29504
 
  mv $tmp/out $tmp/in
29505
 
' >>$CONFIG_STATUS
29506
 
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
29507
 
  rm -f conftest.defines
29508
 
  mv conftest.tail conftest.defines
29509
 
done
29510
 
rm -f conftest.defines
29511
 
echo '  fi # grep' >>$CONFIG_STATUS
29512
 
echo >>$CONFIG_STATUS
29513
 
 
29514
 
# Break up conftest.undefs because some shells have a limit on the size
29515
 
# of here documents, and old seds have small limits too (100 cmds).
29516
 
echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
29517
 
rm -f conftest.tail
29518
 
while grep . conftest.undefs >/dev/null
29519
 
do
29520
 
  # Write a limited-size here document to $tmp/undefs.sed.
29521
 
  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29522
 
  # Speed up: don't consider the non `#undef'
29523
 
  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
29524
 
  # Work around the forget-to-reset-the-flag bug.
29525
 
  echo 't clr' >>$CONFIG_STATUS
29526
 
  echo ': clr' >>$CONFIG_STATUS
29527
 
  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29528
 
  echo 'CEOF
29529
 
  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29530
 
  rm -f $tmp/in
29531
 
  mv $tmp/out $tmp/in
29532
 
' >>$CONFIG_STATUS
29533
 
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29534
 
  rm -f conftest.undefs
29535
 
  mv conftest.tail conftest.undefs
29536
 
done
29537
 
rm -f conftest.undefs
29538
 
 
29539
 
cat >>$CONFIG_STATUS <<\_ACEOF
29540
 
  # Let's still pretend it is `configure' which instantiates (i.e., don't
29541
 
  # use $as_me), people would be surprised to read:
29542
 
  #    /* config.h.  Generated by config.status.  */
29543
 
  if test x"$ac_file" = x-; then
29544
 
    echo "/* Generated by configure.  */" >$tmp/config.h
29545
 
  else
29546
 
    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
29547
 
  fi
29548
 
  cat $tmp/in >>$tmp/config.h
29549
 
  rm -f $tmp/in
 
22725
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
22726
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
22727
  esac \
 
22728
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
22729
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
22730
   { (exit 1); exit 1; }; }
 
22731
 ;;
 
22732
  :H)
 
22733
  #
 
22734
  # CONFIG_HEADER
 
22735
  #
29550
22736
  if test x"$ac_file" != x-; then
29551
 
    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
29552
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29553
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
22737
    {
 
22738
      $as_echo "/* $configure_input  */" \
 
22739
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
22740
    } >"$tmp/config.h" \
 
22741
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
22742
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
22743
   { (exit 1); exit 1; }; }
 
22744
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
22745
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
22746
$as_echo "$as_me: $ac_file is unchanged" >&6;}
29554
22747
    else
29555
 
      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
29556
 
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29557
 
         X"$ac_file" : 'X\(//\)[^/]' \| \
29558
 
         X"$ac_file" : 'X\(//\)$' \| \
29559
 
         X"$ac_file" : 'X\(/\)' \| \
29560
 
         .     : '\(.\)' 2>/dev/null ||
29561
 
echo X"$ac_file" |
29562
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29563
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29564
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29565
 
          /^X\(\/\).*/{ s//\1/; q; }
29566
 
          s/.*/./; q'`
29567
 
      { if $as_mkdir_p; then
29568
 
    mkdir -p "$ac_dir"
29569
 
  else
29570
 
    as_dir="$ac_dir"
29571
 
    as_dirs=
29572
 
    while test ! -d "$as_dir"; do
29573
 
      as_dirs="$as_dir $as_dirs"
29574
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
29575
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29576
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
29577
 
         X"$as_dir" : 'X\(//\)$' \| \
29578
 
         X"$as_dir" : 'X\(/\)' \| \
29579
 
         .     : '\(.\)' 2>/dev/null ||
29580
 
echo X"$as_dir" |
29581
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29582
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29583
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29584
 
          /^X\(\/\).*/{ s//\1/; q; }
29585
 
          s/.*/./; q'`
29586
 
    done
29587
 
    test ! -n "$as_dirs" || mkdir $as_dirs
29588
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29589
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29590
 
   { (exit 1); exit 1; }; }; }
29591
 
 
29592
 
      rm -f $ac_file
29593
 
      mv $tmp/config.h $ac_file
 
22748
      rm -f "$ac_file"
 
22749
      mv "$tmp/config.h" "$ac_file" \
 
22750
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
22751
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
22752
   { (exit 1); exit 1; }; }
29594
22753
    fi
29595
22754
  else
29596
 
    cat $tmp/config.h
29597
 
    rm -f $tmp/config.h
 
22755
    $as_echo "/* $configure_input  */" \
 
22756
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
22757
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
22758
$as_echo "$as_me: error: could not create -" >&2;}
 
22759
   { (exit 1); exit 1; }; }
29598
22760
  fi
29599
 
# Compute $ac_file's index in $config_headers.
 
22761
# Compute "$ac_file"'s index in $config_headers.
 
22762
_am_arg="$ac_file"
29600
22763
_am_stamp_count=1
29601
22764
for _am_header in $config_headers :; do
29602
22765
  case $_am_header in
29603
 
    $ac_file | $ac_file:* )
 
22766
    $_am_arg | $_am_arg:* )
29604
22767
      break ;;
29605
22768
    * )
29606
22769
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29607
22770
  esac
29608
22771
done
29609
 
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29610
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29611
 
         X$ac_file : 'X\(//\)[^/]' \| \
29612
 
         X$ac_file : 'X\(//\)$' \| \
29613
 
         X$ac_file : 'X\(/\)' \| \
29614
 
         .     : '\(.\)' 2>/dev/null ||
29615
 
echo X$ac_file |
29616
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29617
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29618
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29619
 
          /^X\(\/\).*/{ s//\1/; q; }
29620
 
          s/.*/./; q'`/stamp-h$_am_stamp_count
29621
 
done
29622
 
_ACEOF
29623
 
cat >>$CONFIG_STATUS <<\_ACEOF
29624
 
 
29625
 
#
29626
 
# CONFIG_COMMANDS section.
29627
 
#
29628
 
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
29629
 
  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
29630
 
  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
29631
 
  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
29632
 
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29633
 
         X"$ac_dest" : 'X\(//\)[^/]' \| \
29634
 
         X"$ac_dest" : 'X\(//\)$' \| \
29635
 
         X"$ac_dest" : 'X\(/\)' \| \
29636
 
         .     : '\(.\)' 2>/dev/null ||
29637
 
echo X"$ac_dest" |
29638
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29639
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29640
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29641
 
          /^X\(\/\).*/{ s//\1/; q; }
29642
 
          s/.*/./; q'`
29643
 
  { if $as_mkdir_p; then
29644
 
    mkdir -p "$ac_dir"
29645
 
  else
29646
 
    as_dir="$ac_dir"
29647
 
    as_dirs=
29648
 
    while test ! -d "$as_dir"; do
29649
 
      as_dirs="$as_dir $as_dirs"
29650
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
29651
 
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29652
 
         X"$as_dir" : 'X\(//\)[^/]' \| \
29653
 
         X"$as_dir" : 'X\(//\)$' \| \
29654
 
         X"$as_dir" : 'X\(/\)' \| \
29655
 
         .     : '\(.\)' 2>/dev/null ||
29656
 
echo X"$as_dir" |
29657
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29658
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29659
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29660
 
          /^X\(\/\).*/{ s//\1/; q; }
29661
 
          s/.*/./; q'`
29662
 
    done
29663
 
    test ! -n "$as_dirs" || mkdir $as_dirs
29664
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29665
 
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29666
 
   { (exit 1); exit 1; }; }; }
29667
 
 
29668
 
  ac_builddir=.
29669
 
 
29670
 
if test "$ac_dir" != .; then
29671
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29672
 
  # A "../" for each directory in $ac_dir_suffix.
29673
 
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29674
 
else
29675
 
  ac_dir_suffix= ac_top_builddir=
29676
 
fi
29677
 
 
29678
 
case $srcdir in
29679
 
  .)  # No --srcdir option.  We are building in place.
29680
 
    ac_srcdir=.
29681
 
    if test -z "$ac_top_builddir"; then
29682
 
       ac_top_srcdir=.
29683
 
    else
29684
 
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
29685
 
    fi ;;
29686
 
  [\\/]* | ?:[\\/]* )  # Absolute path.
29687
 
    ac_srcdir=$srcdir$ac_dir_suffix;
29688
 
    ac_top_srcdir=$srcdir ;;
29689
 
  *) # Relative path.
29690
 
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
29691
 
    ac_top_srcdir=$ac_top_builddir$srcdir ;;
29692
 
esac
29693
 
 
29694
 
# Do not use `cd foo && pwd` to compute absolute paths, because
29695
 
# the directories may not exist.
29696
 
case `pwd` in
29697
 
.) ac_abs_builddir="$ac_dir";;
29698
 
*)
29699
 
  case "$ac_dir" in
29700
 
  .) ac_abs_builddir=`pwd`;;
29701
 
  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
29702
 
  *) ac_abs_builddir=`pwd`/"$ac_dir";;
29703
 
  esac;;
29704
 
esac
29705
 
case $ac_abs_builddir in
29706
 
.) ac_abs_top_builddir=${ac_top_builddir}.;;
29707
 
*)
29708
 
  case ${ac_top_builddir}. in
29709
 
  .) ac_abs_top_builddir=$ac_abs_builddir;;
29710
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
29711
 
  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
29712
 
  esac;;
29713
 
esac
29714
 
case $ac_abs_builddir in
29715
 
.) ac_abs_srcdir=$ac_srcdir;;
29716
 
*)
29717
 
  case $ac_srcdir in
29718
 
  .) ac_abs_srcdir=$ac_abs_builddir;;
29719
 
  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
29720
 
  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
29721
 
  esac;;
29722
 
esac
29723
 
case $ac_abs_builddir in
29724
 
.) ac_abs_top_srcdir=$ac_top_srcdir;;
29725
 
*)
29726
 
  case $ac_top_srcdir in
29727
 
  .) ac_abs_top_srcdir=$ac_abs_builddir;;
29728
 
  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
29729
 
  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
29730
 
  esac;;
29731
 
esac
29732
 
 
29733
 
 
29734
 
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
29735
 
echo "$as_me: executing $ac_dest commands" >&6;}
29736
 
  case $ac_dest in
29737
 
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
29738
 
  # Strip MF so we end up with the name of the file.
29739
 
  mf=`echo "$mf" | sed -e 's/:.*$//'`
29740
 
  # Check whether this is an Automake generated Makefile or not.
29741
 
  # We used to match only the files named `Makefile.in', but
29742
 
  # some people rename them; so instead we look at the file content.
29743
 
  # Grep'ing the first line is not enough: some people post-process
29744
 
  # each Makefile.in and add a new line on top of each file to say so.
29745
 
  # So let's grep whole file.
29746
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
29747
 
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
22772
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
22773
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
22774
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
22775
         X"$_am_arg" : 'X\(//\)$' \| \
 
22776
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
22777
$as_echo X"$_am_arg" |
 
22778
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22779
            s//\1/
 
22780
            q
 
22781
          }
 
22782
          /^X\(\/\/\)[^/].*/{
 
22783
            s//\1/
 
22784
            q
 
22785
          }
 
22786
          /^X\(\/\/\)$/{
 
22787
            s//\1/
 
22788
            q
 
22789
          }
 
22790
          /^X\(\/\).*/{
 
22791
            s//\1/
 
22792
            q
 
22793
          }
 
22794
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
22795
 ;;
 
22796
 
 
22797
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
22798
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
22799
 ;;
 
22800
  esac
 
22801
 
 
22802
 
 
22803
  case $ac_file$ac_mode in
 
22804
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
22805
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
22806
  # are listed without --file.  Let's play safe and only enable the eval
 
22807
  # if we detect the quoting.
 
22808
  case $CONFIG_FILES in
 
22809
  *\'*) eval set x "$CONFIG_FILES" ;;
 
22810
  *)   set x $CONFIG_FILES ;;
 
22811
  esac
 
22812
  shift
 
22813
  for mf
 
22814
  do
 
22815
    # Strip MF so we end up with the name of the file.
 
22816
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
22817
    # Check whether this is an Automake generated Makefile or not.
 
22818
    # We used to match only the files named `Makefile.in', but
 
22819
    # some people rename them; so instead we look at the file content.
 
22820
    # Grep'ing the first line is not enough: some people post-process
 
22821
    # each Makefile.in and add a new line on top of each file to say so.
 
22822
    # Grep'ing the whole file is not good either: AIX grep has a line
 
22823
    # limit of 2048, but all sed's we know have understand at least 4000.
 
22824
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
22825
      dirpart=`$as_dirname -- "$mf" ||
29748
22826
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29749
22827
         X"$mf" : 'X\(//\)[^/]' \| \
29750
22828
         X"$mf" : 'X\(//\)$' \| \
29751
 
         X"$mf" : 'X\(/\)' \| \
29752
 
         .     : '\(.\)' 2>/dev/null ||
29753
 
echo X"$mf" |
29754
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29755
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29756
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29757
 
          /^X\(\/\).*/{ s//\1/; q; }
29758
 
          s/.*/./; q'`
29759
 
  else
29760
 
    continue
29761
 
  fi
29762
 
  # Extract the definition of DEPDIR, am__include, and am__quote
29763
 
  # from the Makefile without running `make'.
29764
 
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29765
 
  test -z "$DEPDIR" && continue
29766
 
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
29767
 
  test -z "am__include" && continue
29768
 
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29769
 
  # When using ansi2knr, U may be empty or an underscore; expand it
29770
 
  U=`sed -n 's/^U = //p' < "$mf"`
29771
 
  # Find all dependency output files, they are included files with
29772
 
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
29773
 
  # simplest approach to changing $(DEPDIR) to its actual value in the
29774
 
  # expansion.
29775
 
  for file in `sed -n "
29776
 
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29777
 
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
29778
 
    # Make sure the directory exists.
29779
 
    test -f "$dirpart/$file" && continue
29780
 
    fdir=`(dirname "$file") 2>/dev/null ||
 
22829
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
22830
$as_echo X"$mf" |
 
22831
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22832
            s//\1/
 
22833
            q
 
22834
          }
 
22835
          /^X\(\/\/\)[^/].*/{
 
22836
            s//\1/
 
22837
            q
 
22838
          }
 
22839
          /^X\(\/\/\)$/{
 
22840
            s//\1/
 
22841
            q
 
22842
          }
 
22843
          /^X\(\/\).*/{
 
22844
            s//\1/
 
22845
            q
 
22846
          }
 
22847
          s/.*/./; q'`
 
22848
    else
 
22849
      continue
 
22850
    fi
 
22851
    # Extract the definition of DEPDIR, am__include, and am__quote
 
22852
    # from the Makefile without running `make'.
 
22853
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
22854
    test -z "$DEPDIR" && continue
 
22855
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
22856
    test -z "am__include" && continue
 
22857
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
22858
    # When using ansi2knr, U may be empty or an underscore; expand it
 
22859
    U=`sed -n 's/^U = //p' < "$mf"`
 
22860
    # Find all dependency output files, they are included files with
 
22861
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
22862
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
22863
    # expansion.
 
22864
    for file in `sed -n "
 
22865
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
22866
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
22867
      # Make sure the directory exists.
 
22868
      test -f "$dirpart/$file" && continue
 
22869
      fdir=`$as_dirname -- "$file" ||
29781
22870
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29782
22871
         X"$file" : 'X\(//\)[^/]' \| \
29783
22872
         X"$file" : 'X\(//\)$' \| \
29784
 
         X"$file" : 'X\(/\)' \| \
29785
 
         .     : '\(.\)' 2>/dev/null ||
29786
 
echo X"$file" |
29787
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29788
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29789
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29790
 
          /^X\(\/\).*/{ s//\1/; q; }
29791
 
          s/.*/./; q'`
29792
 
    { if $as_mkdir_p; then
29793
 
    mkdir -p $dirpart/$fdir
29794
 
  else
29795
 
    as_dir=$dirpart/$fdir
 
22873
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
22874
$as_echo X"$file" |
 
22875
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22876
            s//\1/
 
22877
            q
 
22878
          }
 
22879
          /^X\(\/\/\)[^/].*/{
 
22880
            s//\1/
 
22881
            q
 
22882
          }
 
22883
          /^X\(\/\/\)$/{
 
22884
            s//\1/
 
22885
            q
 
22886
          }
 
22887
          /^X\(\/\).*/{
 
22888
            s//\1/
 
22889
            q
 
22890
          }
 
22891
          s/.*/./; q'`
 
22892
      { as_dir=$dirpart/$fdir
 
22893
  case $as_dir in #(
 
22894
  -*) as_dir=./$as_dir;;
 
22895
  esac
 
22896
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
29796
22897
    as_dirs=
29797
 
    while test ! -d "$as_dir"; do
29798
 
      as_dirs="$as_dir $as_dirs"
29799
 
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
22898
    while :; do
 
22899
      case $as_dir in #(
 
22900
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
22901
      *) as_qdir=$as_dir;;
 
22902
      esac
 
22903
      as_dirs="'$as_qdir' $as_dirs"
 
22904
      as_dir=`$as_dirname -- "$as_dir" ||
29800
22905
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29801
22906
         X"$as_dir" : 'X\(//\)[^/]' \| \
29802
22907
         X"$as_dir" : 'X\(//\)$' \| \
29803
 
         X"$as_dir" : 'X\(/\)' \| \
29804
 
         .     : '\(.\)' 2>/dev/null ||
29805
 
echo X"$as_dir" |
29806
 
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29807
 
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29808
 
          /^X\(\/\/\)$/{ s//\1/; q; }
29809
 
          /^X\(\/\).*/{ s//\1/; q; }
29810
 
          s/.*/./; q'`
 
22908
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
22909
$as_echo X"$as_dir" |
 
22910
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
22911
            s//\1/
 
22912
            q
 
22913
          }
 
22914
          /^X\(\/\/\)[^/].*/{
 
22915
            s//\1/
 
22916
            q
 
22917
          }
 
22918
          /^X\(\/\/\)$/{
 
22919
            s//\1/
 
22920
            q
 
22921
          }
 
22922
          /^X\(\/\).*/{
 
22923
            s//\1/
 
22924
            q
 
22925
          }
 
22926
          s/.*/./; q'`
 
22927
      test -d "$as_dir" && break
29811
22928
    done
29812
 
    test ! -n "$as_dirs" || mkdir $as_dirs
29813
 
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
29814
 
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
22929
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
22930
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
22931
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
29815
22932
   { (exit 1); exit 1; }; }; }
29816
 
 
29817
 
    # echo "creating $dirpart/$file"
29818
 
    echo '# dummy' > "$dirpart/$file"
 
22933
      # echo "creating $dirpart/$file"
 
22934
      echo '# dummy' > "$dirpart/$file"
 
22935
    done
29819
22936
  done
29820
 
done
29821
 
 ;;
29822
 
  esac
29823
 
done
29824
 
_ACEOF
29825
 
 
29826
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
22937
}
 
22938
 ;;
 
22939
    "libtool":C)
 
22940
 
 
22941
    # See if we are running on zsh, and set the options which allow our
 
22942
    # commands through without removal of \ escapes.
 
22943
    if test -n "${ZSH_VERSION+set}" ; then
 
22944
      setopt NO_GLOB_SUBST
 
22945
    fi
 
22946
 
 
22947
    cfgfile="${ofile}T"
 
22948
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
22949
    $RM "$cfgfile"
 
22950
 
 
22951
    cat <<_LT_EOF >> "$cfgfile"
 
22952
#! $SHELL
 
22953
 
 
22954
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
22955
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
22956
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
22957
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
22958
#
 
22959
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
22960
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
22961
#   Written by Gordon Matzigkeit, 1996
 
22962
#
 
22963
#   This file is part of GNU Libtool.
 
22964
#
 
22965
# GNU Libtool is free software; you can redistribute it and/or
 
22966
# modify it under the terms of the GNU General Public License as
 
22967
# published by the Free Software Foundation; either version 2 of
 
22968
# the License, or (at your option) any later version.
 
22969
#
 
22970
# As a special exception to the GNU General Public License,
 
22971
# if you distribute this file as part of a program or library that
 
22972
# is built using GNU Libtool, you may include this file under the
 
22973
# same distribution terms that you use for the rest of that program.
 
22974
#
 
22975
# GNU Libtool is distributed in the hope that it will be useful,
 
22976
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
22977
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
22978
# GNU General Public License for more details.
 
22979
#
 
22980
# You should have received a copy of the GNU General Public License
 
22981
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
22982
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
22983
# obtained by writing to the Free Software Foundation, Inc.,
 
22984
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
22985
 
 
22986
 
 
22987
# The names of the tagged configurations supported by this script.
 
22988
available_tags=""
 
22989
 
 
22990
# ### BEGIN LIBTOOL CONFIG
 
22991
 
 
22992
# Which release of libtool.m4 was used?
 
22993
macro_version=$macro_version
 
22994
macro_revision=$macro_revision
 
22995
 
 
22996
# Whether or not to build shared libraries.
 
22997
build_libtool_libs=$enable_shared
 
22998
 
 
22999
# Whether or not to build static libraries.
 
23000
build_old_libs=$enable_static
 
23001
 
 
23002
# What type of objects to build.
 
23003
pic_mode=$pic_mode
 
23004
 
 
23005
# Whether or not to optimize for fast installation.
 
23006
fast_install=$enable_fast_install
 
23007
 
 
23008
# The host system.
 
23009
host_alias=$host_alias
 
23010
host=$host
 
23011
host_os=$host_os
 
23012
 
 
23013
# The build system.
 
23014
build_alias=$build_alias
 
23015
build=$build
 
23016
build_os=$build_os
 
23017
 
 
23018
# A sed program that does not truncate output.
 
23019
SED=$lt_SED
 
23020
 
 
23021
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
23022
Xsed="\$SED -e 1s/^X//"
 
23023
 
 
23024
# A grep program that handles long lines.
 
23025
GREP=$lt_GREP
 
23026
 
 
23027
# An ERE matcher.
 
23028
EGREP=$lt_EGREP
 
23029
 
 
23030
# A literal string matcher.
 
23031
FGREP=$lt_FGREP
 
23032
 
 
23033
# A BSD- or MS-compatible name lister.
 
23034
NM=$lt_NM
 
23035
 
 
23036
# Whether we need soft or hard links.
 
23037
LN_S=$lt_LN_S
 
23038
 
 
23039
# What is the maximum length of a command?
 
23040
max_cmd_len=$max_cmd_len
 
23041
 
 
23042
# Object file suffix (normally "o").
 
23043
objext=$ac_objext
 
23044
 
 
23045
# Executable file suffix (normally "").
 
23046
exeext=$exeext
 
23047
 
 
23048
# whether the shell understands "unset".
 
23049
lt_unset=$lt_unset
 
23050
 
 
23051
# turn spaces into newlines.
 
23052
SP2NL=$lt_lt_SP2NL
 
23053
 
 
23054
# turn newlines into spaces.
 
23055
NL2SP=$lt_lt_NL2SP
 
23056
 
 
23057
# How to create reloadable object files.
 
23058
reload_flag=$lt_reload_flag
 
23059
reload_cmds=$lt_reload_cmds
 
23060
 
 
23061
# An object symbol dumper.
 
23062
OBJDUMP=$lt_OBJDUMP
 
23063
 
 
23064
# Method to check whether dependent libraries are shared objects.
 
23065
deplibs_check_method=$lt_deplibs_check_method
 
23066
 
 
23067
# Command to use when deplibs_check_method == "file_magic".
 
23068
file_magic_cmd=$lt_file_magic_cmd
 
23069
 
 
23070
# The archiver.
 
23071
AR=$lt_AR
 
23072
AR_FLAGS=$lt_AR_FLAGS
 
23073
 
 
23074
# A symbol stripping program.
 
23075
STRIP=$lt_STRIP
 
23076
 
 
23077
# Commands used to install an old-style archive.
 
23078
RANLIB=$lt_RANLIB
 
23079
old_postinstall_cmds=$lt_old_postinstall_cmds
 
23080
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
23081
 
 
23082
# A C compiler.
 
23083
LTCC=$lt_CC
 
23084
 
 
23085
# LTCC compiler flags.
 
23086
LTCFLAGS=$lt_CFLAGS
 
23087
 
 
23088
# Take the output of nm and produce a listing of raw symbols and C names.
 
23089
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
23090
 
 
23091
# Transform the output of nm in a proper C declaration.
 
23092
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
23093
 
 
23094
# Transform the output of nm in a C name address pair.
 
23095
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
23096
 
 
23097
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
23098
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
23099
 
 
23100
# The name of the directory that contains temporary libtool files.
 
23101
objdir=$objdir
 
23102
 
 
23103
# Shell to use when invoking shell scripts.
 
23104
SHELL=$lt_SHELL
 
23105
 
 
23106
# An echo program that does not interpret backslashes.
 
23107
ECHO=$lt_ECHO
 
23108
 
 
23109
# Used to examine libraries when file_magic_cmd begins with "file".
 
23110
MAGIC_CMD=$MAGIC_CMD
 
23111
 
 
23112
# Must we lock files when doing compilation?
 
23113
need_locks=$lt_need_locks
 
23114
 
 
23115
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
23116
DSYMUTIL=$lt_DSYMUTIL
 
23117
 
 
23118
# Tool to change global to local symbols on Mac OS X.
 
23119
NMEDIT=$lt_NMEDIT
 
23120
 
 
23121
# Tool to manipulate fat objects and archives on Mac OS X.
 
23122
LIPO=$lt_LIPO
 
23123
 
 
23124
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
23125
OTOOL=$lt_OTOOL
 
23126
 
 
23127
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
23128
OTOOL64=$lt_OTOOL64
 
23129
 
 
23130
# Old archive suffix (normally "a").
 
23131
libext=$libext
 
23132
 
 
23133
# Shared library suffix (normally ".so").
 
23134
shrext_cmds=$lt_shrext_cmds
 
23135
 
 
23136
# The commands to extract the exported symbol list from a shared archive.
 
23137
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
23138
 
 
23139
# Variables whose values should be saved in libtool wrapper scripts and
 
23140
# restored at link time.
 
23141
variables_saved_for_relink=$lt_variables_saved_for_relink
 
23142
 
 
23143
# Do we need the "lib" prefix for modules?
 
23144
need_lib_prefix=$need_lib_prefix
 
23145
 
 
23146
# Do we need a version for libraries?
 
23147
need_version=$need_version
 
23148
 
 
23149
# Library versioning type.
 
23150
version_type=$version_type
 
23151
 
 
23152
# Shared library runtime path variable.
 
23153
runpath_var=$runpath_var
 
23154
 
 
23155
# Shared library path variable.
 
23156
shlibpath_var=$shlibpath_var
 
23157
 
 
23158
# Is shlibpath searched before the hard-coded library search path?
 
23159
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
23160
 
 
23161
# Format of library name prefix.
 
23162
libname_spec=$lt_libname_spec
 
23163
 
 
23164
# List of archive names.  First name is the real one, the rest are links.
 
23165
# The last name is the one that the linker finds with -lNAME
 
23166
library_names_spec=$lt_library_names_spec
 
23167
 
 
23168
# The coded name of the library, if different from the real name.
 
23169
soname_spec=$lt_soname_spec
 
23170
 
 
23171
# Command to use after installation of a shared archive.
 
23172
postinstall_cmds=$lt_postinstall_cmds
 
23173
 
 
23174
# Command to use after uninstallation of a shared archive.
 
23175
postuninstall_cmds=$lt_postuninstall_cmds
 
23176
 
 
23177
# Commands used to finish a libtool library installation in a directory.
 
23178
finish_cmds=$lt_finish_cmds
 
23179
 
 
23180
# As "finish_cmds", except a single script fragment to be evaled but
 
23181
# not shown.
 
23182
finish_eval=$lt_finish_eval
 
23183
 
 
23184
# Whether we should hardcode library paths into libraries.
 
23185
hardcode_into_libs=$hardcode_into_libs
 
23186
 
 
23187
# Compile-time system search path for libraries.
 
23188
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
23189
 
 
23190
# Run-time system search path for libraries.
 
23191
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
23192
 
 
23193
# Whether dlopen is supported.
 
23194
dlopen_support=$enable_dlopen
 
23195
 
 
23196
# Whether dlopen of programs is supported.
 
23197
dlopen_self=$enable_dlopen_self
 
23198
 
 
23199
# Whether dlopen of statically linked programs is supported.
 
23200
dlopen_self_static=$enable_dlopen_self_static
 
23201
 
 
23202
# Commands to strip libraries.
 
23203
old_striplib=$lt_old_striplib
 
23204
striplib=$lt_striplib
 
23205
 
 
23206
 
 
23207
# The linker used to build libraries.
 
23208
LD=$lt_LD
 
23209
 
 
23210
# Commands used to build an old-style archive.
 
23211
old_archive_cmds=$lt_old_archive_cmds
 
23212
 
 
23213
# A language specific compiler.
 
23214
CC=$lt_compiler
 
23215
 
 
23216
# Is the compiler the GNU compiler?
 
23217
with_gcc=$GCC
 
23218
 
 
23219
# Compiler flag to turn off builtin functions.
 
23220
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
23221
 
 
23222
# How to pass a linker flag through the compiler.
 
23223
wl=$lt_lt_prog_compiler_wl
 
23224
 
 
23225
# Additional compiler flags for building library objects.
 
23226
pic_flag=$lt_lt_prog_compiler_pic
 
23227
 
 
23228
# Compiler flag to prevent dynamic linking.
 
23229
link_static_flag=$lt_lt_prog_compiler_static
 
23230
 
 
23231
# Does compiler simultaneously support -c and -o options?
 
23232
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
23233
 
 
23234
# Whether or not to add -lc for building shared libraries.
 
23235
build_libtool_need_lc=$archive_cmds_need_lc
 
23236
 
 
23237
# Whether or not to disallow shared libs when runtime libs are static.
 
23238
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
23239
 
 
23240
# Compiler flag to allow reflexive dlopens.
 
23241
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
23242
 
 
23243
# Compiler flag to generate shared objects directly from archives.
 
23244
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
23245
 
 
23246
# Whether the compiler copes with passing no objects directly.
 
23247
compiler_needs_object=$lt_compiler_needs_object
 
23248
 
 
23249
# Create an old-style archive from a shared archive.
 
23250
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
23251
 
 
23252
# Create a temporary old-style archive to link instead of a shared archive.
 
23253
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
23254
 
 
23255
# Commands used to build a shared archive.
 
23256
archive_cmds=$lt_archive_cmds
 
23257
archive_expsym_cmds=$lt_archive_expsym_cmds
 
23258
 
 
23259
# Commands used to build a loadable module if different from building
 
23260
# a shared archive.
 
23261
module_cmds=$lt_module_cmds
 
23262
module_expsym_cmds=$lt_module_expsym_cmds
 
23263
 
 
23264
# Whether we are building with GNU ld or not.
 
23265
with_gnu_ld=$lt_with_gnu_ld
 
23266
 
 
23267
# Flag that allows shared libraries with undefined symbols to be built.
 
23268
allow_undefined_flag=$lt_allow_undefined_flag
 
23269
 
 
23270
# Flag that enforces no undefined symbols.
 
23271
no_undefined_flag=$lt_no_undefined_flag
 
23272
 
 
23273
# Flag to hardcode \$libdir into a binary during linking.
 
23274
# This must work even if \$libdir does not exist
 
23275
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
23276
 
 
23277
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
23278
# during linking.  This must work even if \$libdir does not exist.
 
23279
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
23280
 
 
23281
# Whether we need a single "-rpath" flag with a separated argument.
 
23282
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
23283
 
 
23284
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
23285
# DIR into the resulting binary.
 
23286
hardcode_direct=$hardcode_direct
 
23287
 
 
23288
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
23289
# DIR into the resulting binary and the resulting library dependency is
 
23290
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
23291
# library is relocated.
 
23292
hardcode_direct_absolute=$hardcode_direct_absolute
 
23293
 
 
23294
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
23295
# into the resulting binary.
 
23296
hardcode_minus_L=$hardcode_minus_L
 
23297
 
 
23298
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
23299
# into the resulting binary.
 
23300
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
23301
 
 
23302
# Set to "yes" if building a shared library automatically hardcodes DIR
 
23303
# into the library and all subsequent libraries and executables linked
 
23304
# against it.
 
23305
hardcode_automatic=$hardcode_automatic
 
23306
 
 
23307
# Set to yes if linker adds runtime paths of dependent libraries
 
23308
# to runtime path list.
 
23309
inherit_rpath=$inherit_rpath
 
23310
 
 
23311
# Whether libtool must link a program against all its dependency libraries.
 
23312
link_all_deplibs=$link_all_deplibs
 
23313
 
 
23314
# Fix the shell variable \$srcfile for the compiler.
 
23315
fix_srcfile_path=$lt_fix_srcfile_path
 
23316
 
 
23317
# Set to "yes" if exported symbols are required.
 
23318
always_export_symbols=$always_export_symbols
 
23319
 
 
23320
# The commands to list exported symbols.
 
23321
export_symbols_cmds=$lt_export_symbols_cmds
 
23322
 
 
23323
# Symbols that should not be listed in the preloaded symbols.
 
23324
exclude_expsyms=$lt_exclude_expsyms
 
23325
 
 
23326
# Symbols that must always be exported.
 
23327
include_expsyms=$lt_include_expsyms
 
23328
 
 
23329
# Commands necessary for linking programs (against libraries) with templates.
 
23330
prelink_cmds=$lt_prelink_cmds
 
23331
 
 
23332
# Specify filename containing input files.
 
23333
file_list_spec=$lt_file_list_spec
 
23334
 
 
23335
# How to hardcode a shared library path into an executable.
 
23336
hardcode_action=$hardcode_action
 
23337
 
 
23338
# ### END LIBTOOL CONFIG
 
23339
 
 
23340
_LT_EOF
 
23341
 
 
23342
  case $host_os in
 
23343
  aix3*)
 
23344
    cat <<\_LT_EOF >> "$cfgfile"
 
23345
# AIX sometimes has problems with the GCC collect2 program.  For some
 
23346
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
23347
# vanish in a puff of smoke.
 
23348
if test "X${COLLECT_NAMES+set}" != Xset; then
 
23349
  COLLECT_NAMES=
 
23350
  export COLLECT_NAMES
 
23351
fi
 
23352
_LT_EOF
 
23353
    ;;
 
23354
  esac
 
23355
 
 
23356
 
 
23357
ltmain="$ac_aux_dir/ltmain.sh"
 
23358
 
 
23359
 
 
23360
  # We use sed instead of cat because bash on DJGPP gets confused if
 
23361
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
23362
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
23363
  # is reportedly fixed, but why not run on old versions too?
 
23364
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
23365
    || (rm -f "$cfgfile"; exit 1)
 
23366
 
 
23367
  case $xsi_shell in
 
23368
  yes)
 
23369
    cat << \_LT_EOF >> "$cfgfile"
 
23370
 
 
23371
# func_dirname file append nondir_replacement
 
23372
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
23373
# otherwise set result to NONDIR_REPLACEMENT.
 
23374
func_dirname ()
 
23375
{
 
23376
  case ${1} in
 
23377
    */*) func_dirname_result="${1%/*}${2}" ;;
 
23378
    *  ) func_dirname_result="${3}" ;;
 
23379
  esac
 
23380
}
 
23381
 
 
23382
# func_basename file
 
23383
func_basename ()
 
23384
{
 
23385
  func_basename_result="${1##*/}"
 
23386
}
 
23387
 
 
23388
# func_dirname_and_basename file append nondir_replacement
 
23389
# perform func_basename and func_dirname in a single function
 
23390
# call:
 
23391
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
23392
#             add APPEND to the result, otherwise set result
 
23393
#             to NONDIR_REPLACEMENT.
 
23394
#             value returned in "$func_dirname_result"
 
23395
#   basename: Compute filename of FILE.
 
23396
#             value retuned in "$func_basename_result"
 
23397
# Implementation must be kept synchronized with func_dirname
 
23398
# and func_basename. For efficiency, we do not delegate to
 
23399
# those functions but instead duplicate the functionality here.
 
23400
func_dirname_and_basename ()
 
23401
{
 
23402
  case ${1} in
 
23403
    */*) func_dirname_result="${1%/*}${2}" ;;
 
23404
    *  ) func_dirname_result="${3}" ;;
 
23405
  esac
 
23406
  func_basename_result="${1##*/}"
 
23407
}
 
23408
 
 
23409
# func_stripname prefix suffix name
 
23410
# strip PREFIX and SUFFIX off of NAME.
 
23411
# PREFIX and SUFFIX must not contain globbing or regex special
 
23412
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
23413
# dot (in which case that matches only a dot).
 
23414
func_stripname ()
 
23415
{
 
23416
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
23417
  # positional parameters, so assign one to ordinary parameter first.
 
23418
  func_stripname_result=${3}
 
23419
  func_stripname_result=${func_stripname_result#"${1}"}
 
23420
  func_stripname_result=${func_stripname_result%"${2}"}
 
23421
}
 
23422
 
 
23423
# func_opt_split
 
23424
func_opt_split ()
 
23425
{
 
23426
  func_opt_split_opt=${1%%=*}
 
23427
  func_opt_split_arg=${1#*=}
 
23428
}
 
23429
 
 
23430
# func_lo2o object
 
23431
func_lo2o ()
 
23432
{
 
23433
  case ${1} in
 
23434
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
23435
    *)    func_lo2o_result=${1} ;;
 
23436
  esac
 
23437
}
 
23438
 
 
23439
# func_xform libobj-or-source
 
23440
func_xform ()
 
23441
{
 
23442
  func_xform_result=${1%.*}.lo
 
23443
}
 
23444
 
 
23445
# func_arith arithmetic-term...
 
23446
func_arith ()
 
23447
{
 
23448
  func_arith_result=$(( $* ))
 
23449
}
 
23450
 
 
23451
# func_len string
 
23452
# STRING may not start with a hyphen.
 
23453
func_len ()
 
23454
{
 
23455
  func_len_result=${#1}
 
23456
}
 
23457
 
 
23458
_LT_EOF
 
23459
    ;;
 
23460
  *) # Bourne compatible functions.
 
23461
    cat << \_LT_EOF >> "$cfgfile"
 
23462
 
 
23463
# func_dirname file append nondir_replacement
 
23464
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
23465
# otherwise set result to NONDIR_REPLACEMENT.
 
23466
func_dirname ()
 
23467
{
 
23468
  # Extract subdirectory from the argument.
 
23469
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
23470
  if test "X$func_dirname_result" = "X${1}"; then
 
23471
    func_dirname_result="${3}"
 
23472
  else
 
23473
    func_dirname_result="$func_dirname_result${2}"
 
23474
  fi
 
23475
}
 
23476
 
 
23477
# func_basename file
 
23478
func_basename ()
 
23479
{
 
23480
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
23481
}
 
23482
 
 
23483
 
 
23484
# func_stripname prefix suffix name
 
23485
# strip PREFIX and SUFFIX off of NAME.
 
23486
# PREFIX and SUFFIX must not contain globbing or regex special
 
23487
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
23488
# dot (in which case that matches only a dot).
 
23489
# func_strip_suffix prefix name
 
23490
func_stripname ()
 
23491
{
 
23492
  case ${2} in
 
23493
    .*) func_stripname_result=`$ECHO "X${3}" \
 
23494
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
23495
    *)  func_stripname_result=`$ECHO "X${3}" \
 
23496
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
23497
  esac
 
23498
}
 
23499
 
 
23500
# sed scripts:
 
23501
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
23502
my_sed_long_arg='1s/^-[^=]*=//'
 
23503
 
 
23504
# func_opt_split
 
23505
func_opt_split ()
 
23506
{
 
23507
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
23508
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
23509
}
 
23510
 
 
23511
# func_lo2o object
 
23512
func_lo2o ()
 
23513
{
 
23514
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
23515
}
 
23516
 
 
23517
# func_xform libobj-or-source
 
23518
func_xform ()
 
23519
{
 
23520
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
23521
}
 
23522
 
 
23523
# func_arith arithmetic-term...
 
23524
func_arith ()
 
23525
{
 
23526
  func_arith_result=`expr "$@"`
 
23527
}
 
23528
 
 
23529
# func_len string
 
23530
# STRING may not start with a hyphen.
 
23531
func_len ()
 
23532
{
 
23533
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
23534
}
 
23535
 
 
23536
_LT_EOF
 
23537
esac
 
23538
 
 
23539
case $lt_shell_append in
 
23540
  yes)
 
23541
    cat << \_LT_EOF >> "$cfgfile"
 
23542
 
 
23543
# func_append var value
 
23544
# Append VALUE to the end of shell variable VAR.
 
23545
func_append ()
 
23546
{
 
23547
  eval "$1+=\$2"
 
23548
}
 
23549
_LT_EOF
 
23550
    ;;
 
23551
  *)
 
23552
    cat << \_LT_EOF >> "$cfgfile"
 
23553
 
 
23554
# func_append var value
 
23555
# Append VALUE to the end of shell variable VAR.
 
23556
func_append ()
 
23557
{
 
23558
  eval "$1=\$$1\$2"
 
23559
}
 
23560
 
 
23561
_LT_EOF
 
23562
    ;;
 
23563
  esac
 
23564
 
 
23565
 
 
23566
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
23567
    || (rm -f "$cfgfile"; exit 1)
 
23568
 
 
23569
  mv -f "$cfgfile" "$ofile" ||
 
23570
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
23571
  chmod +x "$ofile"
 
23572
 
 
23573
 ;;
 
23574
 
 
23575
  esac
 
23576
done # for ac_tag
 
23577
 
29827
23578
 
29828
23579
{ (exit 0); exit 0; }
29829
23580
_ACEOF
29830
23581
chmod +x $CONFIG_STATUS
29831
23582
ac_clean_files=$ac_clean_files_save
29832
23583
 
 
23584
test $ac_write_fail = 0 ||
 
23585
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
23586
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
23587
   { (exit 1); exit 1; }; }
 
23588
 
29833
23589
 
29834
23590
# configure is writing to config.log, and then calls config.status.
29835
23591
# config.status does its own redirection, appending to config.log.
29851
23607
  # would make configure fail if this is the last instruction.
29852
23608
  $ac_cs_success || { (exit 1); exit 1; }
29853
23609
fi
 
23610
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
23611
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
23612
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
23613
fi
29854
23614