OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [opcodes/] [configure] - Blame information for rev 225

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 131 jeremybenn
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3 225 jeremybenn
# Generated by GNU Autoconf 2.64.
4 131 jeremybenn
#
5 225 jeremybenn
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7
# Foundation, Inc.
8
#
9 131 jeremybenn
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11 225 jeremybenn
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
14 131 jeremybenn
 
15 225 jeremybenn
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 131 jeremybenn
  emulate sh
19
  NULLCMD=:
20 225 jeremybenn
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 131 jeremybenn
  # is contrary to our usage.  Disable this feature.
22
  alias -g '${1+"$@"}'='"$@"'
23 225 jeremybenn
  setopt NO_GLOB_SUBST
24
else
25
  case `(set -o) 2>/dev/null` in #(
26
  *posix*) :
27
    set -o posix ;; #(
28
  *) :
29
     ;;
30
esac
31 131 jeremybenn
fi
32
 
33 225 jeremybenn
 
34
as_nl='
35
'
36
export as_nl
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45
  as_echo='print -r --'
46
  as_echo_n='print -rn --'
47
elif (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 131 jeremybenn
else
51 225 jeremybenn
  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 131 jeremybenn
fi
71
 
72 225 jeremybenn
# 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
80 131 jeremybenn
 
81 225 jeremybenn
 
82
# IFS
83
# We need space, tab and new line, in precisely that order.  Quoting is
84
# there to prevent editors from complaining about space-tab.
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
# splitting by setting IFS to empty value.)
87
IFS=" ""        $as_nl"
88
 
89
# Find who we are.  Look in the path if we contain no directory separator.
90
case $0 in #((
91
  *[\\/]* ) as_myself=$0 ;;
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93
for as_dir in $PATH
94
do
95
  IFS=$as_save_IFS
96
  test -z "$as_dir" && as_dir=.
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98
  done
99
IFS=$as_save_IFS
100
 
101
     ;;
102
esac
103
# We did not find ourselves, most probably we were run as `sh COMMAND'
104
# in which case we are not to be found in the path.
105
if test "x$as_myself" = x; then
106
  as_myself=$0
107
fi
108
if test ! -f "$as_myself"; then
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110
  exit 1
111
fi
112
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115
# suppresses any "Segmentation fault" message there.  '((' could
116
# trigger a bug in pdksh 5.2.14.
117
for as_var in BASH_ENV ENV MAIL MAILPATH
118
do eval test x\${$as_var+set} = xset \
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120
done
121 131 jeremybenn
PS1='$ '
122
PS2='> '
123
PS4='+ '
124
 
125
# NLS nuisances.
126 225 jeremybenn
LC_ALL=C
127
export LC_ALL
128
LANGUAGE=C
129
export LANGUAGE
130
 
131
# CDPATH.
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
 
134
if test "x$CONFIG_SHELL" = x; then
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136
  emulate sh
137
  NULLCMD=:
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
  # is contrary to our usage.  Disable this feature.
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
141
  setopt NO_GLOB_SUBST
142
else
143
  case \`(set -o) 2>/dev/null\` in #(
144
  *posix*) :
145
    set -o posix ;; #(
146
  *) :
147
     ;;
148
esac
149
fi
150
"
151
  as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
156
 
157
exitcode=0
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
 
164
else
165
  exitcode=1; echo positional parameters were not saved.
166
fi
167
test x\$exitcode = x0 || exit 1"
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
test \$(( 1 + 1 )) = 2 || exit 1"
173
  if (eval "$as_required") 2>/dev/null; then :
174
  as_have_required=yes
175
else
176
  as_have_required=no
177
fi
178
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
179
 
180
else
181
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182
as_found=false
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
184 131 jeremybenn
do
185 225 jeremybenn
  IFS=$as_save_IFS
186
  test -z "$as_dir" && as_dir=.
187
  as_found=:
188
  case $as_dir in #(
189
         /*)
190
           for as_base in sh bash ksh sh5; do
191
             # Try only shells that exist, to save several forks.
192
             as_shell=$as_dir/$as_base
193
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195
  CONFIG_SHELL=$as_shell as_have_required=yes
196
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
  break 2
198
fi
199
fi
200
           done;;
201
       esac
202
  as_found=false
203
done
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206
  CONFIG_SHELL=$SHELL as_have_required=yes
207
fi; }
208
IFS=$as_save_IFS
209
 
210
 
211
      if test "x$CONFIG_SHELL" != x; then :
212
  # We cannot yet assume a decent shell, so we have to provide a
213
        # neutralization value for shells without unset; and this also
214
        # works around shells that cannot unset nonexistent variables.
215
        BASH_ENV=/dev/null
216
        ENV=/dev/null
217
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218
        export CONFIG_SHELL
219
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
220
fi
221
 
222
    if test x$as_have_required = xno; then :
223
  $as_echo "$0: This script requires a shell more modern than all"
224
  $as_echo "$0: the shells that I found on your system."
225
  if test x${ZSH_VERSION+set} = xset ; then
226
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 131 jeremybenn
  else
229 225 jeremybenn
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230
$0: including any error possibly output before this
231
$0: message. Then install a modern shell, or manually run
232
$0: the script under such a shell if you do have one."
233 131 jeremybenn
  fi
234 225 jeremybenn
  exit 1
235
fi
236
fi
237
fi
238
SHELL=${CONFIG_SHELL-/bin/sh}
239
export SHELL
240
# Unset more variables known to interfere with behavior of common tools.
241
CLICOLOR_FORCE= GREP_OPTIONS=
242
unset CLICOLOR_FORCE GREP_OPTIONS
243 131 jeremybenn
 
244 225 jeremybenn
## --------------------- ##
245
## M4sh Shell Functions. ##
246
## --------------------- ##
247
# as_fn_unset VAR
248
# ---------------
249
# Portably unset VAR.
250
as_fn_unset ()
251
{
252
  { eval $1=; unset $1;}
253
}
254
as_unset=as_fn_unset
255
 
256
# as_fn_set_status STATUS
257
# -----------------------
258
# Set $? to STATUS, without forking.
259
as_fn_set_status ()
260
{
261
  return $1
262
} # as_fn_set_status
263
 
264
# as_fn_exit STATUS
265
# -----------------
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
267
as_fn_exit ()
268
{
269
  set +e
270
  as_fn_set_status $1
271
  exit $1
272
} # as_fn_exit
273
 
274
# as_fn_mkdir_p
275
# -------------
276
# Create "$as_dir" as a directory, including parents if necessary.
277
as_fn_mkdir_p ()
278
{
279
 
280
  case $as_dir in #(
281
  -*) as_dir=./$as_dir;;
282
  esac
283
  test -d "$as_dir" || eval $as_mkdir_p || {
284
    as_dirs=
285
    while :; do
286
      case $as_dir in #(
287
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
288
      *) as_qdir=$as_dir;;
289
      esac
290
      as_dirs="'$as_qdir' $as_dirs"
291
      as_dir=`$as_dirname -- "$as_dir" ||
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293
         X"$as_dir" : 'X\(//\)[^/]' \| \
294
         X"$as_dir" : 'X\(//\)$' \| \
295
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296
$as_echo X"$as_dir" |
297
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
298
            s//\1/
299
            q
300
          }
301
          /^X\(\/\/\)[^/].*/{
302
            s//\1/
303
            q
304
          }
305
          /^X\(\/\/\)$/{
306
            s//\1/
307
            q
308
          }
309
          /^X\(\/\).*/{
310
            s//\1/
311
            q
312
          }
313
          s/.*/./; q'`
314
      test -d "$as_dir" && break
315
    done
316
    test -z "$as_dirs" || eval "mkdir $as_dirs"
317
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
318
 
319
 
320
} # as_fn_mkdir_p
321
# as_fn_append VAR VALUE
322
# ----------------------
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
324
# advantage of any shell optimizations that allow amortized linear growth over
325
# repeated appends, instead of the typical quadratic growth present in naive
326
# implementations.
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328
  eval 'as_fn_append ()
329
  {
330
    eval $1+=\$2
331
  }'
332
else
333
  as_fn_append ()
334
  {
335
    eval $1=\$$1\$2
336
  }
337
fi # as_fn_append
338
 
339
# as_fn_arith ARG...
340
# ------------------
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
343
# must be portable across $(()) and expr.
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
345
  eval 'as_fn_arith ()
346
  {
347
    as_val=$(( $* ))
348
  }'
349
else
350
  as_fn_arith ()
351
  {
352
    as_val=`expr "$@" || test $? -eq 1`
353
  }
354
fi # as_fn_arith
355
 
356
 
357
# as_fn_error ERROR [LINENO LOG_FD]
358
# ---------------------------------
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361
# script with status $?, using 1 if that was 0.
362
as_fn_error ()
363
{
364
  as_status=$?; test $as_status -eq 0 && as_status=1
365
  if test "$3"; then
366
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368
  fi
369
  $as_echo "$as_me: error: $1" >&2
370
  as_fn_exit $as_status
371
} # as_fn_error
372
 
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
374
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
375 131 jeremybenn
  as_expr=expr
376
else
377
  as_expr=false
378
fi
379
 
380 225 jeremybenn
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
381 131 jeremybenn
  as_basename=basename
382
else
383
  as_basename=false
384
fi
385
 
386 225 jeremybenn
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
387
  as_dirname=dirname
388
else
389
  as_dirname=false
390
fi
391 131 jeremybenn
 
392 225 jeremybenn
as_me=`$as_basename -- "$0" ||
393 131 jeremybenn
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394
         X"$0" : 'X\(//\)$' \| \
395 225 jeremybenn
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396
$as_echo X/"$0" |
397
    sed '/^.*\/\([^/][^/]*\)\/*$/{
398
            s//\1/
399
            q
400
          }
401
          /^X\/\(\/\/\)$/{
402
            s//\1/
403
            q
404
          }
405
          /^X\/\(\/\).*/{
406
            s//\1/
407
            q
408
          }
409
          s/.*/./; q'`
410 131 jeremybenn
 
411
# Avoid depending upon Character Ranges.
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415
as_cr_digits='0123456789'
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
417
 
418
 
419 225 jeremybenn
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
420
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
421
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
424
  sed -n '
425
    p
426
    /[$]LINENO/=
427
  ' <$as_myself |
428 131 jeremybenn
    sed '
429 225 jeremybenn
      s/[$]LINENO.*/&-/
430
      t lineno
431
      b
432
      :lineno
433 131 jeremybenn
      N
434 225 jeremybenn
      :loop
435
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
436 131 jeremybenn
      t loop
437 225 jeremybenn
      s/-\n.*//
438 131 jeremybenn
    ' >$as_me.lineno &&
439 225 jeremybenn
  chmod +x "$as_me.lineno" ||
440
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441 131 jeremybenn
 
442
  # Don't try to exec as it changes $[0], causing all sort of problems
443
  # (the dirname of $[0] is not the place where we might find the
444 225 jeremybenn
  # original and so on.  Autoconf is especially sensitive to this).
445
  . "./$as_me.lineno"
446 131 jeremybenn
  # Exit status is that of the last command.
447
  exit
448
}
449
 
450 225 jeremybenn
ECHO_C= ECHO_N= ECHO_T=
451
case `echo -n x` in #(((((
452
-n*)
453
  case `echo 'xy\c'` in
454
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
455
  xy)  ECHO_C='\c';;
456
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
457
       ECHO_T=' ';;
458
  esac;;
459
*)
460
  ECHO_N='-n';;
461 131 jeremybenn
esac
462
 
463 225 jeremybenn
rm -f conf$$ conf$$.exe conf$$.file
464
if test -d conf$$.dir; then
465
  rm -f conf$$.dir/conf$$.file
466 131 jeremybenn
else
467 225 jeremybenn
  rm -f conf$$.dir
468
  mkdir conf$$.dir 2>/dev/null
469 131 jeremybenn
fi
470 225 jeremybenn
if (echo >conf$$.file) 2>/dev/null; then
471
  if ln -s conf$$.file conf$$ 2>/dev/null; then
472
    as_ln_s='ln -s'
473
    # ... but there are two gotchas:
474
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476
    # In both cases, we have to default to `cp -p'.
477
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478
      as_ln_s='cp -p'
479
  elif ln conf$$.file conf$$ 2>/dev/null; then
480
    as_ln_s=ln
481
  else
482 131 jeremybenn
    as_ln_s='cp -p'
483
  fi
484
else
485
  as_ln_s='cp -p'
486
fi
487 225 jeremybenn
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488
rmdir conf$$.dir 2>/dev/null
489 131 jeremybenn
 
490
if mkdir -p . 2>/dev/null; then
491 225 jeremybenn
  as_mkdir_p='mkdir -p "$as_dir"'
492 131 jeremybenn
else
493
  test -d ./-p && rmdir ./-p
494
  as_mkdir_p=false
495
fi
496
 
497 225 jeremybenn
if test -x / >/dev/null 2>&1; then
498
  as_test_x='test -x'
499
else
500
  if ls -dL / >/dev/null 2>&1; then
501
    as_ls_L_option=L
502
  else
503
    as_ls_L_option=
504
  fi
505
  as_test_x='
506
    eval sh -c '\''
507
      if test -d "$1"; then
508
        test -d "$1/.";
509
      else
510
        case $1 in #(
511
        -*)set "./$1";;
512
        esac;
513
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514
        ???[sx]*):;;*)false;;esac;fi
515
    '\'' sh
516
  '
517
fi
518
as_executable_p=$as_test_x
519 131 jeremybenn
 
520
# Sed expression to map a string onto a valid CPP name.
521
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522
 
523
# Sed expression to map a string onto a valid variable name.
524
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
525
 
526
 
527
 
528
# Check that we are running under the correct shell.
529
SHELL=${CONFIG_SHELL-/bin/sh}
530
 
531
case X$lt_ECHO in
532
X*--fallback-echo)
533
  # Remove one level of quotation (which was required for Make).
534
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
535
  ;;
536
esac
537
 
538
ECHO=${lt_ECHO-echo}
539
if test "X$1" = X--no-reexec; then
540
  # Discard the --no-reexec flag, and continue.
541
  shift
542
elif test "X$1" = X--fallback-echo; then
543
  # Avoid inline document here, it may be left over
544
  :
545
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546
  # Yippee, $ECHO works!
547
  :
548
else
549
  # Restart under the correct shell.
550
  exec $SHELL "$0" --no-reexec ${1+"$@"}
551
fi
552
 
553
if test "X$1" = X--fallback-echo; then
554
  # used as fallback echo
555
  shift
556
  cat <<_LT_EOF
557
$*
558
_LT_EOF
559
  exit 0
560
fi
561
 
562
# The HP-UX ksh and POSIX shell print the target directory to stdout
563
# if CDPATH is set.
564
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
565
 
566
if test -z "$lt_ECHO"; then
567
  if test "X${echo_test_string+set}" != Xset; then
568
    # find a string as large as possible, as long as the shell can cope with it
569
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
573
      then
574
        break
575
      fi
576
    done
577
  fi
578
 
579
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581
     test "X$echo_testing_string" = "X$echo_test_string"; then
582
    :
583
  else
584
    # The Solaris, AIX, and Digital Unix default echo programs unquote
585
    # backslashes.  This makes it impossible to quote backslashes using
586
    #   echo "$something" | sed 's/\\/\\\\/g'
587
    #
588
    # So, first we look for a working echo in the user's PATH.
589
 
590
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591
    for dir in $PATH /usr/ucb; do
592
      IFS="$lt_save_ifs"
593
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596
         test "X$echo_testing_string" = "X$echo_test_string"; then
597
        ECHO="$dir/echo"
598
        break
599
      fi
600
    done
601
    IFS="$lt_save_ifs"
602
 
603
    if test "X$ECHO" = Xecho; then
604
      # We didn't find a better echo, so look for alternatives.
605
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607
         test "X$echo_testing_string" = "X$echo_test_string"; then
608
        # This shell has a builtin print -r that does the trick.
609
        ECHO='print -r'
610
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611
           test "X$CONFIG_SHELL" != X/bin/ksh; then
612
        # If we have ksh, try running configure again with it.
613
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614
        export ORIGINAL_CONFIG_SHELL
615
        CONFIG_SHELL=/bin/ksh
616
        export CONFIG_SHELL
617
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
618
      else
619
        # Try using printf.
620
        ECHO='printf %s\n'
621
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623
           test "X$echo_testing_string" = "X$echo_test_string"; then
624
          # Cool, printf works
625
          :
626
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627
             test "X$echo_testing_string" = 'X\t' &&
628
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629
             test "X$echo_testing_string" = "X$echo_test_string"; then
630
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
631
          export CONFIG_SHELL
632
          SHELL="$CONFIG_SHELL"
633
          export SHELL
634
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
635
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636
             test "X$echo_testing_string" = 'X\t' &&
637
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638
             test "X$echo_testing_string" = "X$echo_test_string"; then
639
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
        else
641
          # maybe with a smaller string...
642
          prev=:
643
 
644
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
646
            then
647
              break
648
            fi
649
            prev="$cmd"
650
          done
651
 
652
          if test "$prev" != 'sed 50q "$0"'; then
653
            echo_test_string=`eval $prev`
654
            export echo_test_string
655
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
656
          else
657
            # Oops.  We lost completely, so just stick with echo.
658
            ECHO=echo
659
          fi
660
        fi
661
      fi
662
    fi
663
  fi
664
fi
665
 
666
# Copy echo and quote the copy suitably for passing to libtool from
667
# the Makefile, instead of quoting the original, which is used later.
668
lt_ECHO=$ECHO
669
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
671
fi
672
 
673
 
674
 
675
 
676 225 jeremybenn
exec 7<&0 &1
677
 
678 131 jeremybenn
# Name of the host.
679
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680
# so uname gets run too.
681
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
682
 
683
#
684
# Initializations.
685
#
686
ac_default_prefix=/usr/local
687 225 jeremybenn
ac_clean_files=
688 131 jeremybenn
ac_config_libobj_dir=.
689 225 jeremybenn
LIBOBJS=
690 131 jeremybenn
cross_compiling=no
691
subdirs=
692
MFLAGS=
693
MAKEFLAGS=
694
 
695
# Identity of this package.
696
PACKAGE_NAME=
697
PACKAGE_TARNAME=
698
PACKAGE_VERSION=
699
PACKAGE_STRING=
700
PACKAGE_BUGREPORT=
701 225 jeremybenn
PACKAGE_URL=
702 131 jeremybenn
 
703
ac_unique_file="z8k-dis.c"
704
# Factoring default headers for most tests.
705
ac_includes_default="\
706
#include 
707 225 jeremybenn
#ifdef HAVE_SYS_TYPES_H
708 131 jeremybenn
# include 
709
#endif
710 225 jeremybenn
#ifdef HAVE_SYS_STAT_H
711 131 jeremybenn
# include 
712
#endif
713 225 jeremybenn
#ifdef STDC_HEADERS
714 131 jeremybenn
# include 
715
# include 
716
#else
717 225 jeremybenn
# ifdef HAVE_STDLIB_H
718 131 jeremybenn
#  include 
719
# endif
720
#endif
721 225 jeremybenn
#ifdef HAVE_STRING_H
722
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
723 131 jeremybenn
#  include 
724
# endif
725
# include 
726
#endif
727 225 jeremybenn
#ifdef HAVE_STRINGS_H
728 131 jeremybenn
# include 
729
#endif
730 225 jeremybenn
#ifdef HAVE_INTTYPES_H
731 131 jeremybenn
# include 
732
#endif
733 225 jeremybenn
#ifdef HAVE_STDINT_H
734
# include 
735
#endif
736
#ifdef HAVE_UNISTD_H
737 131 jeremybenn
# include 
738
#endif"
739
 
740 225 jeremybenn
ac_subst_vars='am__EXEEXT_FALSE
741
am__EXEEXT_TRUE
742
LTLIBOBJS
743
LIBOBJS
744
BFD_MACHINES
745
archdefs
746
SHARED_DEPENDENCIES
747
SHARED_LIBADD
748
SHARED_LDFLAGS
749
BUILD_LIB_DEPS
750
BUILD_LIBS
751
LIBM
752
cgendir
753
CGEN_MAINT_FALSE
754
CGEN_MAINT_TRUE
755
HDEFINES
756
EXEEXT_FOR_BUILD
757
CC_FOR_BUILD
758
MSGMERGE
759
MSGFMT
760
MKINSTALLDIRS
761
CATOBJEXT
762
GENCAT
763
INSTOBJEXT
764
DATADIRNAME
765
CATALOGS
766
POSUB
767
GMSGFMT
768
XGETTEXT
769
INCINTL
770
LIBINTL_DEP
771
LIBINTL
772
USE_NLS
773
bfdincludedir
774
bfdlibdir
775
target_noncanonical
776
host_noncanonical
777
INSTALL_LIBBFD_FALSE
778
INSTALL_LIBBFD_TRUE
779
MAINT
780
MAINTAINER_MODE_FALSE
781
MAINTAINER_MODE_TRUE
782
NO_WERROR
783
WARN_CFLAGS
784
OTOOL64
785
OTOOL
786
LIPO
787
NMEDIT
788
DSYMUTIL
789
lt_ECHO
790
OBJDUMP
791
LN_S
792
NM
793
ac_ct_DUMPBIN
794
DUMPBIN
795
LD
796
FGREP
797
SED
798
LIBTOOL
799
RANLIB
800
AR
801
EGREP
802
GREP
803
CPP
804
am__fastdepCC_FALSE
805
am__fastdepCC_TRUE
806
CCDEPMODE
807
AMDEPBACKSLASH
808
AMDEP_FALSE
809
AMDEP_TRUE
810
am__quote
811
am__include
812
DEPDIR
813
am__untar
814
am__tar
815
AMTAR
816
am__leading_dot
817
SET_MAKE
818
AWK
819
mkdir_p
820
MKDIR_P
821
INSTALL_STRIP_PROGRAM
822
STRIP
823
install_sh
824
MAKEINFO
825
AUTOHEADER
826
AUTOMAKE
827
AUTOCONF
828
ACLOCAL
829
VERSION
830
PACKAGE
831
CYGPATH_W
832
am__isrc
833
INSTALL_DATA
834
INSTALL_SCRIPT
835
INSTALL_PROGRAM
836
OBJEXT
837
EXEEXT
838
ac_ct_CC
839
CPPFLAGS
840
LDFLAGS
841
CFLAGS
842
CC
843
target_os
844
target_vendor
845
target_cpu
846
target
847
host_os
848
host_vendor
849
host_cpu
850
host
851
build_os
852
build_vendor
853
build_cpu
854
build
855
target_alias
856
host_alias
857
build_alias
858
LIBS
859
ECHO_T
860
ECHO_N
861
ECHO_C
862
DEFS
863
mandir
864
localedir
865
libdir
866
psdir
867
pdfdir
868
dvidir
869
htmldir
870
infodir
871
docdir
872
oldincludedir
873
includedir
874
localstatedir
875
sharedstatedir
876
sysconfdir
877
datadir
878
datarootdir
879
libexecdir
880
sbindir
881
bindir
882
program_transform_name
883
prefix
884
exec_prefix
885
PACKAGE_URL
886
PACKAGE_BUGREPORT
887
PACKAGE_STRING
888
PACKAGE_VERSION
889
PACKAGE_TARNAME
890
PACKAGE_NAME
891
PATH_SEPARATOR
892
SHELL'
893 131 jeremybenn
ac_subst_files=''
894 225 jeremybenn
ac_user_opts='
895
enable_option_checking
896
enable_dependency_tracking
897
enable_shared
898
enable_static
899
with_pic
900
enable_fast_install
901
with_gnu_ld
902
enable_libtool_lock
903
enable_targets
904
enable_werror
905
enable_build_warnings
906
enable_maintainer_mode
907
enable_install_libbfd
908
enable_nls
909
enable_cgen_maint
910
'
911
      ac_precious_vars='build_alias
912
host_alias
913
target_alias
914
CC
915
CFLAGS
916
LDFLAGS
917
LIBS
918
CPPFLAGS
919
CPP'
920 131 jeremybenn
 
921 225 jeremybenn
 
922 131 jeremybenn
# Initialize some variables set by options.
923
ac_init_help=
924
ac_init_version=false
925 225 jeremybenn
ac_unrecognized_opts=
926
ac_unrecognized_sep=
927 131 jeremybenn
# The variables have the same names as the options, with
928
# dashes changed to underlines.
929
cache_file=/dev/null
930
exec_prefix=NONE
931
no_create=
932
no_recursion=
933
prefix=NONE
934
program_prefix=NONE
935
program_suffix=NONE
936
program_transform_name=s,x,x,
937
silent=
938
site=
939
srcdir=
940
verbose=
941
x_includes=NONE
942
x_libraries=NONE
943
 
944
# Installation directory options.
945
# These are left unexpanded so users can "make install exec_prefix=/foo"
946
# and all the variables that are supposed to be based on exec_prefix
947
# by default will actually change.
948
# Use braces instead of parens because sh, perl, etc. also accept them.
949 225 jeremybenn
# (The list follows the same order as the GNU Coding Standards.)
950 131 jeremybenn
bindir='${exec_prefix}/bin'
951
sbindir='${exec_prefix}/sbin'
952
libexecdir='${exec_prefix}/libexec'
953 225 jeremybenn
datarootdir='${prefix}/share'
954
datadir='${datarootdir}'
955 131 jeremybenn
sysconfdir='${prefix}/etc'
956
sharedstatedir='${prefix}/com'
957
localstatedir='${prefix}/var'
958
includedir='${prefix}/include'
959
oldincludedir='/usr/include'
960 225 jeremybenn
docdir='${datarootdir}/doc/${PACKAGE}'
961
infodir='${datarootdir}/info'
962
htmldir='${docdir}'
963
dvidir='${docdir}'
964
pdfdir='${docdir}'
965
psdir='${docdir}'
966
libdir='${exec_prefix}/lib'
967
localedir='${datarootdir}/locale'
968
mandir='${datarootdir}/man'
969 131 jeremybenn
 
970
ac_prev=
971 225 jeremybenn
ac_dashdash=
972 131 jeremybenn
for ac_option
973
do
974
  # If the previous option needs an argument, assign it.
975
  if test -n "$ac_prev"; then
976 225 jeremybenn
    eval $ac_prev=\$ac_option
977 131 jeremybenn
    ac_prev=
978
    continue
979
  fi
980
 
981 225 jeremybenn
  case $ac_option in
982
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
983
  *)    ac_optarg=yes ;;
984
  esac
985 131 jeremybenn
 
986
  # Accept the important Cygnus configure options, so we can diagnose typos.
987
 
988 225 jeremybenn
  case $ac_dashdash$ac_option in
989
  --)
990
    ac_dashdash=yes ;;
991 131 jeremybenn
 
992
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
993
    ac_prev=bindir ;;
994
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
995
    bindir=$ac_optarg ;;
996
 
997
  -build | --build | --buil | --bui | --bu)
998
    ac_prev=build_alias ;;
999
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1000
    build_alias=$ac_optarg ;;
1001
 
1002
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1003
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1004
    ac_prev=cache_file ;;
1005
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1006
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1007
    cache_file=$ac_optarg ;;
1008
 
1009
  --config-cache | -C)
1010
    cache_file=config.cache ;;
1011
 
1012 225 jeremybenn
  -datadir | --datadir | --datadi | --datad)
1013 131 jeremybenn
    ac_prev=datadir ;;
1014 225 jeremybenn
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1015 131 jeremybenn
    datadir=$ac_optarg ;;
1016
 
1017 225 jeremybenn
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1018
  | --dataroo | --dataro | --datar)
1019
    ac_prev=datarootdir ;;
1020
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1021
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1022
    datarootdir=$ac_optarg ;;
1023
 
1024 131 jeremybenn
  -disable-* | --disable-*)
1025 225 jeremybenn
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 131 jeremybenn
    # Reject names that are not valid shell variable names.
1027 225 jeremybenn
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028
      as_fn_error "invalid feature name: $ac_useropt"
1029
    ac_useropt_orig=$ac_useropt
1030
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031
    case $ac_user_opts in
1032
      *"
1033
"enable_$ac_useropt"
1034
"*) ;;
1035
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1036
         ac_unrecognized_sep=', ';;
1037
    esac
1038
    eval enable_$ac_useropt=no ;;
1039 131 jeremybenn
 
1040 225 jeremybenn
  -docdir | --docdir | --docdi | --doc | --do)
1041
    ac_prev=docdir ;;
1042
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1043
    docdir=$ac_optarg ;;
1044
 
1045
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1046
    ac_prev=dvidir ;;
1047
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1048
    dvidir=$ac_optarg ;;
1049
 
1050 131 jeremybenn
  -enable-* | --enable-*)
1051 225 jeremybenn
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1052 131 jeremybenn
    # Reject names that are not valid shell variable names.
1053 225 jeremybenn
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1054
      as_fn_error "invalid feature name: $ac_useropt"
1055
    ac_useropt_orig=$ac_useropt
1056
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057
    case $ac_user_opts in
1058
      *"
1059
"enable_$ac_useropt"
1060
"*) ;;
1061
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1062
         ac_unrecognized_sep=', ';;
1063 131 jeremybenn
    esac
1064 225 jeremybenn
    eval enable_$ac_useropt=\$ac_optarg ;;
1065 131 jeremybenn
 
1066
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1067
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1068
  | --exec | --exe | --ex)
1069
    ac_prev=exec_prefix ;;
1070
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1071
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1072
  | --exec=* | --exe=* | --ex=*)
1073
    exec_prefix=$ac_optarg ;;
1074
 
1075
  -gas | --gas | --ga | --g)
1076
    # Obsolete; use --with-gas.
1077
    with_gas=yes ;;
1078
 
1079
  -help | --help | --hel | --he | -h)
1080
    ac_init_help=long ;;
1081
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1082
    ac_init_help=recursive ;;
1083
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1084
    ac_init_help=short ;;
1085
 
1086
  -host | --host | --hos | --ho)
1087
    ac_prev=host_alias ;;
1088
  -host=* | --host=* | --hos=* | --ho=*)
1089
    host_alias=$ac_optarg ;;
1090
 
1091 225 jeremybenn
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1092
    ac_prev=htmldir ;;
1093
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1094
  | --ht=*)
1095
    htmldir=$ac_optarg ;;
1096
 
1097 131 jeremybenn
  -includedir | --includedir | --includedi | --included | --include \
1098
  | --includ | --inclu | --incl | --inc)
1099
    ac_prev=includedir ;;
1100
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1101
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1102
    includedir=$ac_optarg ;;
1103
 
1104
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1105
    ac_prev=infodir ;;
1106
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1107
    infodir=$ac_optarg ;;
1108
 
1109
  -libdir | --libdir | --libdi | --libd)
1110
    ac_prev=libdir ;;
1111
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1112
    libdir=$ac_optarg ;;
1113
 
1114
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1115
  | --libexe | --libex | --libe)
1116
    ac_prev=libexecdir ;;
1117
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1118
  | --libexe=* | --libex=* | --libe=*)
1119
    libexecdir=$ac_optarg ;;
1120
 
1121 225 jeremybenn
  -localedir | --localedir | --localedi | --localed | --locale)
1122
    ac_prev=localedir ;;
1123
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1124
    localedir=$ac_optarg ;;
1125
 
1126 131 jeremybenn
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1127 225 jeremybenn
  | --localstate | --localstat | --localsta | --localst | --locals)
1128 131 jeremybenn
    ac_prev=localstatedir ;;
1129
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1130 225 jeremybenn
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1131 131 jeremybenn
    localstatedir=$ac_optarg ;;
1132
 
1133
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1134
    ac_prev=mandir ;;
1135
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1136
    mandir=$ac_optarg ;;
1137
 
1138
  -nfp | --nfp | --nf)
1139
    # Obsolete; use --without-fp.
1140
    with_fp=no ;;
1141
 
1142
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1143
  | --no-cr | --no-c | -n)
1144
    no_create=yes ;;
1145
 
1146
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1147
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1148
    no_recursion=yes ;;
1149
 
1150
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1151
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1152
  | --oldin | --oldi | --old | --ol | --o)
1153
    ac_prev=oldincludedir ;;
1154
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1155
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1156
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1157
    oldincludedir=$ac_optarg ;;
1158
 
1159
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1160
    ac_prev=prefix ;;
1161
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1162
    prefix=$ac_optarg ;;
1163
 
1164
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1165
  | --program-pre | --program-pr | --program-p)
1166
    ac_prev=program_prefix ;;
1167
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1168
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1169
    program_prefix=$ac_optarg ;;
1170
 
1171
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1172
  | --program-suf | --program-su | --program-s)
1173
    ac_prev=program_suffix ;;
1174
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1175
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1176
    program_suffix=$ac_optarg ;;
1177
 
1178
  -program-transform-name | --program-transform-name \
1179
  | --program-transform-nam | --program-transform-na \
1180
  | --program-transform-n | --program-transform- \
1181
  | --program-transform | --program-transfor \
1182
  | --program-transfo | --program-transf \
1183
  | --program-trans | --program-tran \
1184
  | --progr-tra | --program-tr | --program-t)
1185
    ac_prev=program_transform_name ;;
1186
  -program-transform-name=* | --program-transform-name=* \
1187
  | --program-transform-nam=* | --program-transform-na=* \
1188
  | --program-transform-n=* | --program-transform-=* \
1189
  | --program-transform=* | --program-transfor=* \
1190
  | --program-transfo=* | --program-transf=* \
1191
  | --program-trans=* | --program-tran=* \
1192
  | --progr-tra=* | --program-tr=* | --program-t=*)
1193
    program_transform_name=$ac_optarg ;;
1194
 
1195 225 jeremybenn
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1196
    ac_prev=pdfdir ;;
1197
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1198
    pdfdir=$ac_optarg ;;
1199
 
1200
  -psdir | --psdir | --psdi | --psd | --ps)
1201
    ac_prev=psdir ;;
1202
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1203
    psdir=$ac_optarg ;;
1204
 
1205 131 jeremybenn
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1206
  | -silent | --silent | --silen | --sile | --sil)
1207
    silent=yes ;;
1208
 
1209
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1210
    ac_prev=sbindir ;;
1211
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1212
  | --sbi=* | --sb=*)
1213
    sbindir=$ac_optarg ;;
1214
 
1215
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1216
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1217
  | --sharedst | --shareds | --shared | --share | --shar \
1218
  | --sha | --sh)
1219
    ac_prev=sharedstatedir ;;
1220
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1221
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1222
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1223
  | --sha=* | --sh=*)
1224
    sharedstatedir=$ac_optarg ;;
1225
 
1226
  -site | --site | --sit)
1227
    ac_prev=site ;;
1228
  -site=* | --site=* | --sit=*)
1229
    site=$ac_optarg ;;
1230
 
1231
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1232
    ac_prev=srcdir ;;
1233
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1234
    srcdir=$ac_optarg ;;
1235
 
1236
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1237
  | --syscon | --sysco | --sysc | --sys | --sy)
1238
    ac_prev=sysconfdir ;;
1239
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1240
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1241
    sysconfdir=$ac_optarg ;;
1242
 
1243
  -target | --target | --targe | --targ | --tar | --ta | --t)
1244
    ac_prev=target_alias ;;
1245
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1246
    target_alias=$ac_optarg ;;
1247
 
1248
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1249
    verbose=yes ;;
1250
 
1251
  -version | --version | --versio | --versi | --vers | -V)
1252
    ac_init_version=: ;;
1253
 
1254
  -with-* | --with-*)
1255 225 jeremybenn
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1256 131 jeremybenn
    # Reject names that are not valid shell variable names.
1257 225 jeremybenn
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1258
      as_fn_error "invalid package name: $ac_useropt"
1259
    ac_useropt_orig=$ac_useropt
1260
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261
    case $ac_user_opts in
1262
      *"
1263
"with_$ac_useropt"
1264
"*) ;;
1265
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1266
         ac_unrecognized_sep=', ';;
1267 131 jeremybenn
    esac
1268 225 jeremybenn
    eval with_$ac_useropt=\$ac_optarg ;;
1269 131 jeremybenn
 
1270
  -without-* | --without-*)
1271 225 jeremybenn
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1272 131 jeremybenn
    # Reject names that are not valid shell variable names.
1273 225 jeremybenn
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1274
      as_fn_error "invalid package name: $ac_useropt"
1275
    ac_useropt_orig=$ac_useropt
1276
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277
    case $ac_user_opts in
1278
      *"
1279
"with_$ac_useropt"
1280
"*) ;;
1281
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1282
         ac_unrecognized_sep=', ';;
1283
    esac
1284
    eval with_$ac_useropt=no ;;
1285 131 jeremybenn
 
1286
  --x)
1287
    # Obsolete; use --with-x.
1288
    with_x=yes ;;
1289
 
1290
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1291
  | --x-incl | --x-inc | --x-in | --x-i)
1292
    ac_prev=x_includes ;;
1293
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1294
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1295
    x_includes=$ac_optarg ;;
1296
 
1297
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1298
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1299
    ac_prev=x_libraries ;;
1300
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1301
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1302
    x_libraries=$ac_optarg ;;
1303
 
1304 225 jeremybenn
  -*) as_fn_error "unrecognized option: \`$ac_option'
1305
Try \`$0 --help' for more information."
1306 131 jeremybenn
    ;;
1307
 
1308
  *=*)
1309
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1310
    # Reject names that are not valid shell variable names.
1311 225 jeremybenn
    case $ac_envvar in #(
1312
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1313
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1314
    esac
1315
    eval $ac_envvar=\$ac_optarg
1316 131 jeremybenn
    export $ac_envvar ;;
1317
 
1318
  *)
1319
    # FIXME: should be removed in autoconf 3.0.
1320 225 jeremybenn
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1321 131 jeremybenn
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1322 225 jeremybenn
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1323 131 jeremybenn
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1324
    ;;
1325
 
1326
  esac
1327
done
1328
 
1329
if test -n "$ac_prev"; then
1330
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1331 225 jeremybenn
  as_fn_error "missing argument to $ac_option"
1332 131 jeremybenn
fi
1333
 
1334 225 jeremybenn
if test -n "$ac_unrecognized_opts"; then
1335
  case $enable_option_checking in
1336
    no) ;;
1337
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1338
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1339 131 jeremybenn
  esac
1340 225 jeremybenn
fi
1341 131 jeremybenn
 
1342 225 jeremybenn
# Check all directory arguments for consistency.
1343
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1344
                datadir sysconfdir sharedstatedir localstatedir includedir \
1345
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1346
                libdir localedir mandir
1347 131 jeremybenn
do
1348 225 jeremybenn
  eval ac_val=\$$ac_var
1349
  # Remove trailing slashes.
1350 131 jeremybenn
  case $ac_val in
1351 225 jeremybenn
    */ )
1352
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1353
      eval $ac_var=\$ac_val;;
1354 131 jeremybenn
  esac
1355 225 jeremybenn
  # Be sure to have absolute directory names.
1356
  case $ac_val in
1357
    [\\/$]* | ?:[\\/]* )  continue;;
1358
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1359
  esac
1360
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1361 131 jeremybenn
done
1362
 
1363
# There might be people who depend on the old broken behavior: `$host'
1364
# used to hold the argument of --host etc.
1365
# FIXME: To remove some day.
1366
build=$build_alias
1367
host=$host_alias
1368
target=$target_alias
1369
 
1370
# FIXME: To remove some day.
1371
if test "x$host_alias" != x; then
1372
  if test "x$build_alias" = x; then
1373
    cross_compiling=maybe
1374 225 jeremybenn
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1375 131 jeremybenn
    If a cross compiler is detected then cross compile mode will be used." >&2
1376
  elif test "x$build_alias" != "x$host_alias"; then
1377
    cross_compiling=yes
1378
  fi
1379
fi
1380
 
1381
ac_tool_prefix=
1382
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1383
 
1384
test "$silent" = yes && exec 6>/dev/null
1385
 
1386
 
1387 225 jeremybenn
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1388
ac_ls_di=`ls -di .` &&
1389
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1390
  as_fn_error "working directory cannot be determined"
1391
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1392
  as_fn_error "pwd does not report name of working directory"
1393
 
1394
 
1395 131 jeremybenn
# Find the source files, if location was not specified.
1396
if test -z "$srcdir"; then
1397
  ac_srcdir_defaulted=yes
1398 225 jeremybenn
  # Try the directory containing this script, then the parent directory.
1399
  ac_confdir=`$as_dirname -- "$as_myself" ||
1400
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1401
         X"$as_myself" : 'X\(//\)[^/]' \| \
1402
         X"$as_myself" : 'X\(//\)$' \| \
1403
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1404
$as_echo X"$as_myself" |
1405
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1406
            s//\1/
1407
            q
1408
          }
1409
          /^X\(\/\/\)[^/].*/{
1410
            s//\1/
1411
            q
1412
          }
1413
          /^X\(\/\/\)$/{
1414
            s//\1/
1415
            q
1416
          }
1417
          /^X\(\/\).*/{
1418
            s//\1/
1419
            q
1420
          }
1421
          s/.*/./; q'`
1422 131 jeremybenn
  srcdir=$ac_confdir
1423 225 jeremybenn
  if test ! -r "$srcdir/$ac_unique_file"; then
1424 131 jeremybenn
    srcdir=..
1425
  fi
1426
else
1427
  ac_srcdir_defaulted=no
1428
fi
1429 225 jeremybenn
if test ! -r "$srcdir/$ac_unique_file"; then
1430
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1431
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1432 131 jeremybenn
fi
1433 225 jeremybenn
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1434
ac_abs_confdir=`(
1435
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1436
        pwd)`
1437
# When building in place, set srcdir=.
1438
if test "$ac_abs_confdir" = "$ac_pwd"; then
1439
  srcdir=.
1440
fi
1441
# Remove unnecessary trailing slashes from srcdir.
1442
# Double slashes in file names in object file debugging info
1443
# mess up M-x gdb in Emacs.
1444
case $srcdir in
1445
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1446
esac
1447
for ac_var in $ac_precious_vars; do
1448
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1449
  eval ac_env_${ac_var}_value=\$${ac_var}
1450
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1451
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1452
done
1453 131 jeremybenn
 
1454
#
1455
# Report the --help message.
1456
#
1457
if test "$ac_init_help" = "long"; then
1458
  # Omit some internal or obsolete options to make the list less imposing.
1459
  # This message is too long to be a string in the A/UX 3.1 sh.
1460
  cat <<_ACEOF
1461
\`configure' configures this package to adapt to many kinds of systems.
1462
 
1463
Usage: $0 [OPTION]... [VAR=VALUE]...
1464
 
1465
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1466
VAR=VALUE.  See below for descriptions of some of the useful variables.
1467
 
1468
Defaults for the options are specified in brackets.
1469
 
1470
Configuration:
1471
  -h, --help              display this help and exit
1472
      --help=short        display options specific to this package
1473
      --help=recursive    display the short help of all the included packages
1474
  -V, --version           display version information and exit
1475
  -q, --quiet, --silent   do not print \`checking...' messages
1476
      --cache-file=FILE   cache test results in FILE [disabled]
1477
  -C, --config-cache      alias for \`--cache-file=config.cache'
1478
  -n, --no-create         do not create output files
1479
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1480
 
1481
Installation directories:
1482
  --prefix=PREFIX         install architecture-independent files in PREFIX
1483 225 jeremybenn
                          [$ac_default_prefix]
1484 131 jeremybenn
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1485 225 jeremybenn
                          [PREFIX]
1486 131 jeremybenn
 
1487
By default, \`make install' will install all the files in
1488
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1489
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1490
for instance \`--prefix=\$HOME'.
1491
 
1492
For better control, use the options below.
1493
 
1494
Fine tuning of the installation directories:
1495 225 jeremybenn
  --bindir=DIR            user executables [EPREFIX/bin]
1496
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1497
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1498
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1499
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1500
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1501
  --libdir=DIR            object code libraries [EPREFIX/lib]
1502
  --includedir=DIR        C header files [PREFIX/include]
1503
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1504
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1505
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1506
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1507
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1508
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1509
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1510
  --htmldir=DIR           html documentation [DOCDIR]
1511
  --dvidir=DIR            dvi documentation [DOCDIR]
1512
  --pdfdir=DIR            pdf documentation [DOCDIR]
1513
  --psdir=DIR             ps documentation [DOCDIR]
1514 131 jeremybenn
_ACEOF
1515
 
1516
  cat <<\_ACEOF
1517
 
1518
Program names:
1519
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1520
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1521
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1522
 
1523
System types:
1524
  --build=BUILD     configure for building on BUILD [guessed]
1525
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1526
  --target=TARGET   configure for building compilers for TARGET [HOST]
1527
_ACEOF
1528
fi
1529
 
1530
if test -n "$ac_init_help"; then
1531
 
1532
  cat <<\_ACEOF
1533
 
1534
Optional Features:
1535 225 jeremybenn
  --disable-option-checking  ignore unrecognized --enable/--with options
1536 131 jeremybenn
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1537
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1538
  --disable-dependency-tracking  speeds up one-time build
1539
  --enable-dependency-tracking   do not reject slow dependency extractors
1540 225 jeremybenn
  --enable-shared[=PKGS]  build shared libraries [default=no]
1541
  --enable-static[=PKGS]  build static libraries [default=yes]
1542 131 jeremybenn
  --enable-fast-install[=PKGS]
1543
                          optimize for fast installation [default=yes]
1544
  --disable-libtool-lock  avoid locking (might break parallel builds)
1545
  --enable-targets        alternative target configurations
1546
  --enable-werror         treat compile warnings as errors
1547
  --enable-build-warnings enable build-time compiler warnings
1548
  --enable-maintainer-mode  enable make rules and dependencies not useful
1549
                          (and sometimes confusing) to the casual installer
1550
  --enable-install-libbfd controls installation of libbfd and related headers
1551
  --disable-nls           do not use Native Language Support
1552
  --enable-cgen-maint=dir    build cgen generated files
1553
 
1554
Optional Packages:
1555
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1556
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1557
  --with-pic              try to use only PIC/non-PIC objects [default=use
1558
                          both]
1559
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1560
 
1561
Some influential environment variables:
1562
  CC          C compiler command
1563
  CFLAGS      C compiler flags
1564
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1565
              nonstandard directory 
1566 225 jeremybenn
  LIBS        libraries to pass to the linker, e.g. -l
1567
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if
1568
              you have headers in a nonstandard directory 
1569 131 jeremybenn
  CPP         C preprocessor
1570
 
1571
Use these variables to override the choices made by `configure' or to help
1572
it to find libraries and programs with nonstandard names/locations.
1573
 
1574 225 jeremybenn
Report bugs to the package provider.
1575 131 jeremybenn
_ACEOF
1576 225 jeremybenn
ac_status=$?
1577 131 jeremybenn
fi
1578
 
1579
if test "$ac_init_help" = "recursive"; then
1580
  # If there are subdirs, report their specific --help.
1581
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1582 225 jeremybenn
    test -d "$ac_dir" ||
1583
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1584
      continue
1585 131 jeremybenn
    ac_builddir=.
1586
 
1587 225 jeremybenn
case "$ac_dir" in
1588
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1589
*)
1590
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1591
  # A ".." for each directory in $ac_dir_suffix.
1592
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1593
  case $ac_top_builddir_sub in
1594
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1596
  esac ;;
1597
esac
1598
ac_abs_top_builddir=$ac_pwd
1599
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1600
# for backward compatibility:
1601
ac_top_builddir=$ac_top_build_prefix
1602 131 jeremybenn
 
1603
case $srcdir in
1604 225 jeremybenn
  .)  # We are building in place.
1605 131 jeremybenn
    ac_srcdir=.
1606 225 jeremybenn
    ac_top_srcdir=$ac_top_builddir_sub
1607
    ac_abs_top_srcdir=$ac_pwd ;;
1608
  [\\/]* | ?:[\\/]* )  # Absolute name.
1609 131 jeremybenn
    ac_srcdir=$srcdir$ac_dir_suffix;
1610 225 jeremybenn
    ac_top_srcdir=$srcdir
1611
    ac_abs_top_srcdir=$srcdir ;;
1612
  *) # Relative name.
1613
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1614
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1615
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1616 131 jeremybenn
esac
1617 225 jeremybenn
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1618 131 jeremybenn
 
1619 225 jeremybenn
    cd "$ac_dir" || { ac_status=$?; continue; }
1620
    # Check for guested configure.
1621
    if test -f "$ac_srcdir/configure.gnu"; then
1622
      echo &&
1623
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1624
    elif test -f "$ac_srcdir/configure"; then
1625
      echo &&
1626
      $SHELL "$ac_srcdir/configure" --help=recursive
1627 131 jeremybenn
    else
1628 225 jeremybenn
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1629
    fi || ac_status=$?
1630
    cd "$ac_pwd" || { ac_status=$?; break; }
1631 131 jeremybenn
  done
1632
fi
1633
 
1634 225 jeremybenn
test -n "$ac_init_help" && exit $ac_status
1635 131 jeremybenn
if $ac_init_version; then
1636
  cat <<\_ACEOF
1637 225 jeremybenn
configure
1638
generated by GNU Autoconf 2.64
1639 131 jeremybenn
 
1640 225 jeremybenn
Copyright (C) 2009 Free Software Foundation, Inc.
1641 131 jeremybenn
This configure script is free software; the Free Software Foundation
1642
gives unlimited permission to copy, distribute and modify it.
1643
_ACEOF
1644 225 jeremybenn
  exit
1645 131 jeremybenn
fi
1646 225 jeremybenn
 
1647
## ------------------------ ##
1648
## Autoconf initialization. ##
1649
## ------------------------ ##
1650
 
1651
# ac_fn_c_try_compile LINENO
1652
# --------------------------
1653
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1654
ac_fn_c_try_compile ()
1655
{
1656
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1657
  rm -f conftest.$ac_objext
1658
  if { { ac_try="$ac_compile"
1659
case "(($ac_try" in
1660
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1661
  *) ac_try_echo=$ac_try;;
1662
esac
1663
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1664
$as_echo "$ac_try_echo"; } >&5
1665
  (eval "$ac_compile") 2>conftest.err
1666
  ac_status=$?
1667
  if test -s conftest.err; then
1668
    grep -v '^ *+' conftest.err >conftest.er1
1669
    cat conftest.er1 >&5
1670
    mv -f conftest.er1 conftest.err
1671
  fi
1672
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673
  test $ac_status = 0; } && {
1674
         test -z "$ac_c_werror_flag" ||
1675
         test ! -s conftest.err
1676
       } && test -s conftest.$ac_objext; then :
1677
  ac_retval=0
1678
else
1679
  $as_echo "$as_me: failed program was:" >&5
1680
sed 's/^/| /' conftest.$ac_ext >&5
1681
 
1682
        ac_retval=1
1683
fi
1684
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1685
  return $ac_retval
1686
 
1687
} # ac_fn_c_try_compile
1688
 
1689
# ac_fn_c_try_link LINENO
1690
# -----------------------
1691
# Try to link conftest.$ac_ext, and return whether this succeeded.
1692
ac_fn_c_try_link ()
1693
{
1694
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695
  rm -f conftest.$ac_objext conftest$ac_exeext
1696
  if { { ac_try="$ac_link"
1697
case "(($ac_try" in
1698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699
  *) ac_try_echo=$ac_try;;
1700
esac
1701
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702
$as_echo "$ac_try_echo"; } >&5
1703
  (eval "$ac_link") 2>conftest.err
1704
  ac_status=$?
1705
  if test -s conftest.err; then
1706
    grep -v '^ *+' conftest.err >conftest.er1
1707
    cat conftest.er1 >&5
1708
    mv -f conftest.er1 conftest.err
1709
  fi
1710
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711
  test $ac_status = 0; } && {
1712
         test -z "$ac_c_werror_flag" ||
1713
         test ! -s conftest.err
1714
       } && test -s conftest$ac_exeext && {
1715
         test "$cross_compiling" = yes ||
1716
         $as_test_x conftest$ac_exeext
1717
       }; then :
1718
  ac_retval=0
1719
else
1720
  $as_echo "$as_me: failed program was:" >&5
1721
sed 's/^/| /' conftest.$ac_ext >&5
1722
 
1723
        ac_retval=1
1724
fi
1725
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1726
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1727
  # interfere with the next link command; also delete a directory that is
1728
  # left behind by Apple's compiler.  We do this before executing the actions.
1729
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1730
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731
  return $ac_retval
1732
 
1733
} # ac_fn_c_try_link
1734
 
1735
# ac_fn_c_try_cpp LINENO
1736
# ----------------------
1737
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1738
ac_fn_c_try_cpp ()
1739
{
1740
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1742
case "(($ac_try" in
1743
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744
  *) ac_try_echo=$ac_try;;
1745
esac
1746
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747
$as_echo "$ac_try_echo"; } >&5
1748
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1749
  ac_status=$?
1750
  if test -s conftest.err; then
1751
    grep -v '^ *+' conftest.err >conftest.er1
1752
    cat conftest.er1 >&5
1753
    mv -f conftest.er1 conftest.err
1754
  fi
1755
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1756
  test $ac_status = 0; } >/dev/null && {
1757
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1758
         test ! -s conftest.err
1759
       }; then :
1760
  ac_retval=0
1761
else
1762
  $as_echo "$as_me: failed program was:" >&5
1763
sed 's/^/| /' conftest.$ac_ext >&5
1764
 
1765
    ac_retval=1
1766
fi
1767
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1768
  return $ac_retval
1769
 
1770
} # ac_fn_c_try_cpp
1771
 
1772
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1773
# -------------------------------------------------------
1774
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1775
# the include files in INCLUDES and setting the cache variable VAR
1776
# accordingly.
1777
ac_fn_c_check_header_mongrel ()
1778
{
1779
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1781
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1782
$as_echo_n "checking for $2... " >&6; }
1783
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1784
  $as_echo_n "(cached) " >&6
1785
fi
1786
eval ac_res=\$$3
1787
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1788
$as_echo "$ac_res" >&6; }
1789
else
1790
  # Is the header compilable?
1791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1792
$as_echo_n "checking $2 usability... " >&6; }
1793
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1794
/* end confdefs.h.  */
1795
$4
1796
#include <$2>
1797
_ACEOF
1798
if ac_fn_c_try_compile "$LINENO"; then :
1799
  ac_header_compiler=yes
1800
else
1801
  ac_header_compiler=no
1802
fi
1803
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1805
$as_echo "$ac_header_compiler" >&6; }
1806
 
1807
# Is the header present?
1808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1809
$as_echo_n "checking $2 presence... " >&6; }
1810
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811
/* end confdefs.h.  */
1812
#include <$2>
1813
_ACEOF
1814
if ac_fn_c_try_cpp "$LINENO"; then :
1815
  ac_header_preproc=yes
1816
else
1817
  ac_header_preproc=no
1818
fi
1819
rm -f conftest.err conftest.$ac_ext
1820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1821
$as_echo "$ac_header_preproc" >&6; }
1822
 
1823
# So?  What about this header?
1824
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1825
  yes:no: )
1826
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1827
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1828
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1829
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1830
    ;;
1831
  no:yes:* )
1832
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1833
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1834
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1835
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1836
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1837
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1838
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1839
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1840
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1841
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1842
    ;;
1843
esac
1844
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845
$as_echo_n "checking for $2... " >&6; }
1846
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1847
  $as_echo_n "(cached) " >&6
1848
else
1849
  eval "$3=\$ac_header_compiler"
1850
fi
1851
eval ac_res=\$$3
1852
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853
$as_echo "$ac_res" >&6; }
1854
fi
1855
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856
 
1857
} # ac_fn_c_check_header_mongrel
1858
 
1859
# ac_fn_c_try_run LINENO
1860
# ----------------------
1861
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1862
# that executables *can* be run.
1863
ac_fn_c_try_run ()
1864
{
1865
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866
  if { { ac_try="$ac_link"
1867
case "(($ac_try" in
1868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869
  *) ac_try_echo=$ac_try;;
1870
esac
1871
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872
$as_echo "$ac_try_echo"; } >&5
1873
  (eval "$ac_link") 2>&5
1874
  ac_status=$?
1875
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1877
  { { case "(($ac_try" in
1878
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879
  *) ac_try_echo=$ac_try;;
1880
esac
1881
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882
$as_echo "$ac_try_echo"; } >&5
1883
  (eval "$ac_try") 2>&5
1884
  ac_status=$?
1885
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886
  test $ac_status = 0; }; }; then :
1887
  ac_retval=0
1888
else
1889
  $as_echo "$as_me: program exited with status $ac_status" >&5
1890
       $as_echo "$as_me: failed program was:" >&5
1891
sed 's/^/| /' conftest.$ac_ext >&5
1892
 
1893
       ac_retval=$ac_status
1894
fi
1895
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1896
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1897
  return $ac_retval
1898
 
1899
} # ac_fn_c_try_run
1900
 
1901
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1902
# -------------------------------------------------------
1903
# Tests whether HEADER exists and can be compiled using the include files in
1904
# INCLUDES, setting the cache variable VAR accordingly.
1905
ac_fn_c_check_header_compile ()
1906
{
1907
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909
$as_echo_n "checking for $2... " >&6; }
1910
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1911
  $as_echo_n "(cached) " >&6
1912
else
1913
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914
/* end confdefs.h.  */
1915
$4
1916
#include <$2>
1917
_ACEOF
1918
if ac_fn_c_try_compile "$LINENO"; then :
1919
  eval "$3=yes"
1920
else
1921
  eval "$3=no"
1922
fi
1923
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924
fi
1925
eval ac_res=\$$3
1926
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927
$as_echo "$ac_res" >&6; }
1928
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1929
 
1930
} # ac_fn_c_check_header_compile
1931
 
1932
# ac_fn_c_check_func LINENO FUNC VAR
1933
# ----------------------------------
1934
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1935
ac_fn_c_check_func ()
1936
{
1937
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939
$as_echo_n "checking for $2... " >&6; }
1940
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1941
  $as_echo_n "(cached) " >&6
1942
else
1943
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944
/* end confdefs.h.  */
1945
/* Define $2 to an innocuous variant, in case  declares $2.
1946
   For example, HP-UX 11i  declares gettimeofday.  */
1947
#define $2 innocuous_$2
1948
 
1949
/* System header to define __stub macros and hopefully few prototypes,
1950
    which can conflict with char $2 (); below.
1951
    Prefer  to  if __STDC__ is defined, since
1952
     exists even on freestanding compilers.  */
1953
 
1954
#ifdef __STDC__
1955
# include 
1956
#else
1957
# include 
1958
#endif
1959
 
1960
#undef $2
1961
 
1962
/* Override any GCC internal prototype to avoid an error.
1963
   Use char because int might match the return type of a GCC
1964
   builtin and then its argument prototype would still apply.  */
1965
#ifdef __cplusplus
1966
extern "C"
1967
#endif
1968
char $2 ();
1969
/* The GNU C library defines this for functions which it implements
1970
    to always fail with ENOSYS.  Some functions are actually named
1971
    something starting with __ and the normal name is an alias.  */
1972
#if defined __stub_$2 || defined __stub___$2
1973
choke me
1974
#endif
1975
 
1976
int
1977
main ()
1978
{
1979
return $2 ();
1980
  ;
1981
  return 0;
1982
}
1983
_ACEOF
1984
if ac_fn_c_try_link "$LINENO"; then :
1985
  eval "$3=yes"
1986
else
1987
  eval "$3=no"
1988
fi
1989
rm -f core conftest.err conftest.$ac_objext \
1990
    conftest$ac_exeext conftest.$ac_ext
1991
fi
1992
eval ac_res=\$$3
1993
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994
$as_echo "$ac_res" >&6; }
1995
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1996
 
1997
} # ac_fn_c_check_func
1998
 
1999
# ac_fn_c_check_decl LINENO SYMBOL VAR
2000
# ------------------------------------
2001
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2002
ac_fn_c_check_decl ()
2003
{
2004
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2006
$as_echo_n "checking whether $2 is declared... " >&6; }
2007
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2008
  $as_echo_n "(cached) " >&6
2009
else
2010
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011
/* end confdefs.h.  */
2012
$4
2013
int
2014
main ()
2015
{
2016
#ifndef $2
2017
  (void) $2;
2018
#endif
2019
 
2020
  ;
2021
  return 0;
2022
}
2023
_ACEOF
2024
if ac_fn_c_try_compile "$LINENO"; then :
2025
  eval "$3=yes"
2026
else
2027
  eval "$3=no"
2028
fi
2029
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2030
fi
2031
eval ac_res=\$$3
2032
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2033
$as_echo "$ac_res" >&6; }
2034
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2035
 
2036
} # ac_fn_c_check_decl
2037
cat >config.log <<_ACEOF
2038 131 jeremybenn
This file contains any messages produced by compilers while
2039
running configure, to aid debugging if configure makes a mistake.
2040
 
2041
It was created by $as_me, which was
2042 225 jeremybenn
generated by GNU Autoconf 2.64.  Invocation command line was
2043 131 jeremybenn
 
2044
  $ $0 $@
2045
 
2046
_ACEOF
2047 225 jeremybenn
exec 5>>config.log
2048 131 jeremybenn
{
2049
cat <<_ASUNAME
2050
## --------- ##
2051
## Platform. ##
2052
## --------- ##
2053
 
2054
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2055
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2056
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2057
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2058
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2059
 
2060
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2061
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2062
 
2063
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2064
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2065
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2066 225 jeremybenn
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2067 131 jeremybenn
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2068
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2069
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2070
 
2071
_ASUNAME
2072
 
2073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074
for as_dir in $PATH
2075
do
2076
  IFS=$as_save_IFS
2077
  test -z "$as_dir" && as_dir=.
2078 225 jeremybenn
    $as_echo "PATH: $as_dir"
2079
  done
2080
IFS=$as_save_IFS
2081 131 jeremybenn
 
2082
} >&5
2083
 
2084
cat >&5 <<_ACEOF
2085
 
2086
 
2087
## ----------- ##
2088
## Core tests. ##
2089
## ----------- ##
2090
 
2091
_ACEOF
2092
 
2093
 
2094
# Keep a trace of the command line.
2095
# Strip out --no-create and --no-recursion so they do not pile up.
2096
# Strip out --silent because we don't want to record it for future runs.
2097
# Also quote any args containing shell meta-characters.
2098
# Make two passes to allow for proper duplicate-argument suppression.
2099
ac_configure_args=
2100
ac_configure_args0=
2101
ac_configure_args1=
2102
ac_must_keep_next=false
2103
for ac_pass in 1 2
2104
do
2105
  for ac_arg
2106
  do
2107
    case $ac_arg in
2108
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2109
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2110
    | -silent | --silent | --silen | --sile | --sil)
2111
      continue ;;
2112 225 jeremybenn
    *\'*)
2113
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2114 131 jeremybenn
    esac
2115
    case $ac_pass in
2116 225 jeremybenn
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2117 131 jeremybenn
    2)
2118 225 jeremybenn
      as_fn_append ac_configure_args1 " '$ac_arg'"
2119 131 jeremybenn
      if test $ac_must_keep_next = true; then
2120
        ac_must_keep_next=false # Got value, back to normal.
2121
      else
2122
        case $ac_arg in
2123
          *=* | --config-cache | -C | -disable-* | --disable-* \
2124
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2125
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2126
          | -with-* | --with-* | -without-* | --without-* | --x)
2127
            case "$ac_configure_args0 " in
2128
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2129
            esac
2130
            ;;
2131
          -* ) ac_must_keep_next=true ;;
2132
        esac
2133
      fi
2134 225 jeremybenn
      as_fn_append ac_configure_args " '$ac_arg'"
2135 131 jeremybenn
      ;;
2136
    esac
2137
  done
2138
done
2139 225 jeremybenn
{ ac_configure_args0=; unset ac_configure_args0;}
2140
{ ac_configure_args1=; unset ac_configure_args1;}
2141 131 jeremybenn
 
2142
# When interrupted or exit'd, cleanup temporary files, and complete
2143
# config.log.  We remove comments because anyway the quotes in there
2144
# would cause problems or look ugly.
2145 225 jeremybenn
# WARNING: Use '\'' to represent an apostrophe within the trap.
2146
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2147 131 jeremybenn
trap 'exit_status=$?
2148
  # Save into config.log some information that might help in debugging.
2149
  {
2150
    echo
2151
 
2152
    cat <<\_ASBOX
2153
## ---------------- ##
2154
## Cache variables. ##
2155
## ---------------- ##
2156
_ASBOX
2157
    echo
2158
    # The following way of writing the cache mishandles newlines in values,
2159 225 jeremybenn
(
2160
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2161
    eval ac_val=\$$ac_var
2162
    case $ac_val in #(
2163
    *${as_nl}*)
2164
      case $ac_var in #(
2165
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2166
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2167
      esac
2168
      case $ac_var in #(
2169
      _ | IFS | as_nl) ;; #(
2170
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2171
      *) { eval $ac_var=; unset $ac_var;} ;;
2172
      esac ;;
2173
    esac
2174
  done
2175 131 jeremybenn
  (set) 2>&1 |
2176 225 jeremybenn
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2177
    *${as_nl}ac_space=\ *)
2178 131 jeremybenn
      sed -n \
2179 225 jeremybenn
        "s/'\''/'\''\\\\'\'''\''/g;
2180
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2181
      ;; #(
2182 131 jeremybenn
    *)
2183 225 jeremybenn
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2184 131 jeremybenn
      ;;
2185 225 jeremybenn
    esac |
2186
    sort
2187
)
2188 131 jeremybenn
    echo
2189
 
2190
    cat <<\_ASBOX
2191
## ----------------- ##
2192
## Output variables. ##
2193
## ----------------- ##
2194
_ASBOX
2195
    echo
2196
    for ac_var in $ac_subst_vars
2197
    do
2198 225 jeremybenn
      eval ac_val=\$$ac_var
2199
      case $ac_val in
2200
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201
      esac
2202
      $as_echo "$ac_var='\''$ac_val'\''"
2203 131 jeremybenn
    done | sort
2204
    echo
2205
 
2206
    if test -n "$ac_subst_files"; then
2207
      cat <<\_ASBOX
2208 225 jeremybenn
## ------------------- ##
2209
## File substitutions. ##
2210
## ------------------- ##
2211 131 jeremybenn
_ASBOX
2212
      echo
2213
      for ac_var in $ac_subst_files
2214
      do
2215 225 jeremybenn
        eval ac_val=\$$ac_var
2216
        case $ac_val in
2217
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2218
        esac
2219
        $as_echo "$ac_var='\''$ac_val'\''"
2220 131 jeremybenn
      done | sort
2221
      echo
2222
    fi
2223
 
2224
    if test -s confdefs.h; then
2225
      cat <<\_ASBOX
2226
## ----------- ##
2227
## confdefs.h. ##
2228
## ----------- ##
2229
_ASBOX
2230
      echo
2231 225 jeremybenn
      cat confdefs.h
2232 131 jeremybenn
      echo
2233
    fi
2234
    test "$ac_signal" != 0 &&
2235 225 jeremybenn
      $as_echo "$as_me: caught signal $ac_signal"
2236
    $as_echo "$as_me: exit $exit_status"
2237 131 jeremybenn
  } >&5
2238 225 jeremybenn
  rm -f core *.core core.conftest.* &&
2239
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2240 131 jeremybenn
    exit $exit_status
2241 225 jeremybenn
' 0
2242 131 jeremybenn
for ac_signal in 1 2 13 15; do
2243 225 jeremybenn
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2244 131 jeremybenn
done
2245
ac_signal=0
2246
 
2247
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2248 225 jeremybenn
rm -f -r conftest* confdefs.h
2249 131 jeremybenn
 
2250 225 jeremybenn
$as_echo "/* confdefs.h */" > confdefs.h
2251
 
2252 131 jeremybenn
# Predefined preprocessor variables.
2253
 
2254
cat >>confdefs.h <<_ACEOF
2255
#define PACKAGE_NAME "$PACKAGE_NAME"
2256
_ACEOF
2257
 
2258
cat >>confdefs.h <<_ACEOF
2259
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2260
_ACEOF
2261
 
2262
cat >>confdefs.h <<_ACEOF
2263
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2264
_ACEOF
2265
 
2266
cat >>confdefs.h <<_ACEOF
2267
#define PACKAGE_STRING "$PACKAGE_STRING"
2268
_ACEOF
2269
 
2270
cat >>confdefs.h <<_ACEOF
2271
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2272
_ACEOF
2273
 
2274 225 jeremybenn
cat >>confdefs.h <<_ACEOF
2275
#define PACKAGE_URL "$PACKAGE_URL"
2276
_ACEOF
2277 131 jeremybenn
 
2278 225 jeremybenn
 
2279 131 jeremybenn
# Let the site file select an alternate cache file if it wants to.
2280 225 jeremybenn
# Prefer an explicitly selected file to automatically selected ones.
2281
ac_site_file1=NONE
2282
ac_site_file2=NONE
2283
if test -n "$CONFIG_SITE"; then
2284
  ac_site_file1=$CONFIG_SITE
2285
elif test "x$prefix" != xNONE; then
2286
  ac_site_file1=$prefix/share/config.site
2287
  ac_site_file2=$prefix/etc/config.site
2288
else
2289
  ac_site_file1=$ac_default_prefix/share/config.site
2290
  ac_site_file2=$ac_default_prefix/etc/config.site
2291 131 jeremybenn
fi
2292 225 jeremybenn
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2293
do
2294
  test "x$ac_site_file" = xNONE && continue
2295 131 jeremybenn
  if test -r "$ac_site_file"; then
2296 225 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2297
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2298 131 jeremybenn
    sed 's/^/| /' "$ac_site_file" >&5
2299
    . "$ac_site_file"
2300
  fi
2301
done
2302
 
2303
if test -r "$cache_file"; then
2304
  # Some versions of bash will fail to source /dev/null (special
2305
  # files actually), so we avoid doing that.
2306
  if test -f "$cache_file"; then
2307 225 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2308
$as_echo "$as_me: loading cache $cache_file" >&6;}
2309 131 jeremybenn
    case $cache_file in
2310 225 jeremybenn
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2311
      *)                      . "./$cache_file";;
2312 131 jeremybenn
    esac
2313
  fi
2314
else
2315 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2316
$as_echo "$as_me: creating cache $cache_file" >&6;}
2317 131 jeremybenn
  >$cache_file
2318
fi
2319
 
2320
# Check that the precious variables saved in the cache have kept the same
2321
# value.
2322
ac_cache_corrupted=false
2323 225 jeremybenn
for ac_var in $ac_precious_vars; do
2324 131 jeremybenn
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2325
  eval ac_new_set=\$ac_env_${ac_var}_set
2326 225 jeremybenn
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2327
  eval ac_new_val=\$ac_env_${ac_var}_value
2328 131 jeremybenn
  case $ac_old_set,$ac_new_set in
2329
    set,)
2330 225 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2331
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2332 131 jeremybenn
      ac_cache_corrupted=: ;;
2333
    ,set)
2334 225 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2335
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2336 131 jeremybenn
      ac_cache_corrupted=: ;;
2337
    ,);;
2338
    *)
2339
      if test "x$ac_old_val" != "x$ac_new_val"; then
2340 225 jeremybenn
        # differences in whitespace do not lead to failure.
2341
        ac_old_val_w=`echo x $ac_old_val`
2342
        ac_new_val_w=`echo x $ac_new_val`
2343
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2344
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2345
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2346
          ac_cache_corrupted=:
2347
        else
2348
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2349
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2350
          eval $ac_var=\$ac_old_val
2351
        fi
2352
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2353
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2354
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2355
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2356 131 jeremybenn
      fi;;
2357
  esac
2358
  # Pass precious variables to config.status.
2359
  if test "$ac_new_set" = set; then
2360
    case $ac_new_val in
2361 225 jeremybenn
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2362 131 jeremybenn
    *) ac_arg=$ac_var=$ac_new_val ;;
2363
    esac
2364
    case " $ac_configure_args " in
2365
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2366 225 jeremybenn
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2367 131 jeremybenn
    esac
2368
  fi
2369
done
2370
if $ac_cache_corrupted; then
2371 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2372
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2374
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2375
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2376 131 jeremybenn
fi
2377 225 jeremybenn
## -------------------- ##
2378
## Main body of script. ##
2379
## -------------------- ##
2380 131 jeremybenn
 
2381
ac_ext=c
2382
ac_cpp='$CPP $CPPFLAGS'
2383
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2386
 
2387
 
2388
 
2389
 
2390
 
2391
 
2392
 
2393
ac_aux_dir=
2394 225 jeremybenn
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2395
  for ac_t in install-sh install.sh shtool; do
2396
    if test -f "$ac_dir/$ac_t"; then
2397
      ac_aux_dir=$ac_dir
2398
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2399
      break 2
2400
    fi
2401
  done
2402 131 jeremybenn
done
2403
if test -z "$ac_aux_dir"; then
2404 225 jeremybenn
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2405 131 jeremybenn
fi
2406
 
2407 225 jeremybenn
# These three variables are undocumented and unsupported,
2408
# and are intended to be withdrawn in a future Autoconf release.
2409
# They can cause serious problems if a builder's source tree is in a directory
2410
# whose full name contains unusual characters.
2411
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2412
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2413
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2414
 
2415
 
2416 131 jeremybenn
# Make sure we can run config.sub.
2417 225 jeremybenn
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2418
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2419 131 jeremybenn
 
2420 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2421
$as_echo_n "checking build system type... " >&6; }
2422
if test "${ac_cv_build+set}" = set; then :
2423
  $as_echo_n "(cached) " >&6
2424 131 jeremybenn
else
2425 225 jeremybenn
  ac_build_alias=$build_alias
2426
test "x$ac_build_alias" = x &&
2427
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2428
test "x$ac_build_alias" = x &&
2429
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2430
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2431
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2432 131 jeremybenn
 
2433
fi
2434 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2435
$as_echo "$ac_cv_build" >&6; }
2436
case $ac_cv_build in
2437
*-*-*) ;;
2438
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2439
esac
2440 131 jeremybenn
build=$ac_cv_build
2441 225 jeremybenn
ac_save_IFS=$IFS; IFS='-'
2442
set x $ac_cv_build
2443
shift
2444
build_cpu=$1
2445
build_vendor=$2
2446
shift; shift
2447
# Remember, the first character of IFS is used to create $*,
2448
# except with old shells:
2449
build_os=$*
2450
IFS=$ac_save_IFS
2451
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2452 131 jeremybenn
 
2453
 
2454 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2455
$as_echo_n "checking host system type... " >&6; }
2456
if test "${ac_cv_host+set}" = set; then :
2457
  $as_echo_n "(cached) " >&6
2458 131 jeremybenn
else
2459 225 jeremybenn
  if test "x$host_alias" = x; then
2460
  ac_cv_host=$ac_cv_build
2461
else
2462
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2463
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2464
fi
2465 131 jeremybenn
 
2466
fi
2467 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2468
$as_echo "$ac_cv_host" >&6; }
2469
case $ac_cv_host in
2470
*-*-*) ;;
2471
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2472
esac
2473 131 jeremybenn
host=$ac_cv_host
2474 225 jeremybenn
ac_save_IFS=$IFS; IFS='-'
2475
set x $ac_cv_host
2476
shift
2477
host_cpu=$1
2478
host_vendor=$2
2479
shift; shift
2480
# Remember, the first character of IFS is used to create $*,
2481
# except with old shells:
2482
host_os=$*
2483
IFS=$ac_save_IFS
2484
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2485 131 jeremybenn
 
2486
 
2487 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2488
$as_echo_n "checking target system type... " >&6; }
2489
if test "${ac_cv_target+set}" = set; then :
2490
  $as_echo_n "(cached) " >&6
2491 131 jeremybenn
else
2492 225 jeremybenn
  if test "x$target_alias" = x; then
2493
  ac_cv_target=$ac_cv_host
2494
else
2495
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2496
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2497
fi
2498 131 jeremybenn
 
2499
fi
2500 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2501
$as_echo "$ac_cv_target" >&6; }
2502
case $ac_cv_target in
2503
*-*-*) ;;
2504
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2505
esac
2506 131 jeremybenn
target=$ac_cv_target
2507 225 jeremybenn
ac_save_IFS=$IFS; IFS='-'
2508
set x $ac_cv_target
2509
shift
2510
target_cpu=$1
2511
target_vendor=$2
2512
shift; shift
2513
# Remember, the first character of IFS is used to create $*,
2514
# except with old shells:
2515
target_os=$*
2516
IFS=$ac_save_IFS
2517
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2518 131 jeremybenn
 
2519
 
2520
# The aliases save the names the user supplied, while $host etc.
2521
# will get canonicalized.
2522
test -n "$target_alias" &&
2523
  test "$program_prefix$program_suffix$program_transform_name" = \
2524
    NONENONEs,x,x, &&
2525
  program_prefix=${target_alias}-
2526
ac_ext=c
2527
ac_cpp='$CPP $CPPFLAGS'
2528
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2529
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2530
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2531
if test -n "$ac_tool_prefix"; then
2532
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2533
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2534 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2535
$as_echo_n "checking for $ac_word... " >&6; }
2536
if test "${ac_cv_prog_CC+set}" = set; then :
2537
  $as_echo_n "(cached) " >&6
2538 131 jeremybenn
else
2539
  if test -n "$CC"; then
2540
  ac_cv_prog_CC="$CC" # Let the user override the test.
2541
else
2542
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2543
for as_dir in $PATH
2544
do
2545
  IFS=$as_save_IFS
2546
  test -z "$as_dir" && as_dir=.
2547 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2548
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2549 131 jeremybenn
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2550 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 131 jeremybenn
    break 2
2552
  fi
2553
done
2554 225 jeremybenn
  done
2555
IFS=$as_save_IFS
2556 131 jeremybenn
 
2557
fi
2558
fi
2559
CC=$ac_cv_prog_CC
2560
if test -n "$CC"; then
2561 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2562
$as_echo "$CC" >&6; }
2563 131 jeremybenn
else
2564 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2565
$as_echo "no" >&6; }
2566 131 jeremybenn
fi
2567
 
2568 225 jeremybenn
 
2569 131 jeremybenn
fi
2570
if test -z "$ac_cv_prog_CC"; then
2571
  ac_ct_CC=$CC
2572
  # Extract the first word of "gcc", so it can be a program name with args.
2573
set dummy gcc; ac_word=$2
2574 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2575
$as_echo_n "checking for $ac_word... " >&6; }
2576
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2577
  $as_echo_n "(cached) " >&6
2578 131 jeremybenn
else
2579
  if test -n "$ac_ct_CC"; then
2580
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2581
else
2582
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2583
for as_dir in $PATH
2584
do
2585
  IFS=$as_save_IFS
2586
  test -z "$as_dir" && as_dir=.
2587 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2588
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2589 131 jeremybenn
    ac_cv_prog_ac_ct_CC="gcc"
2590 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 131 jeremybenn
    break 2
2592
  fi
2593
done
2594 225 jeremybenn
  done
2595
IFS=$as_save_IFS
2596 131 jeremybenn
 
2597
fi
2598
fi
2599
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2600
if test -n "$ac_ct_CC"; then
2601 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2602
$as_echo "$ac_ct_CC" >&6; }
2603 131 jeremybenn
else
2604 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2605
$as_echo "no" >&6; }
2606 131 jeremybenn
fi
2607
 
2608 225 jeremybenn
  if test "x$ac_ct_CC" = x; then
2609
    CC=""
2610
  else
2611
    case $cross_compiling:$ac_tool_warned in
2612
yes:)
2613
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2614
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2615
ac_tool_warned=yes ;;
2616
esac
2617
    CC=$ac_ct_CC
2618
  fi
2619 131 jeremybenn
else
2620
  CC="$ac_cv_prog_CC"
2621
fi
2622
 
2623
if test -z "$CC"; then
2624 225 jeremybenn
          if test -n "$ac_tool_prefix"; then
2625
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2626 131 jeremybenn
set dummy ${ac_tool_prefix}cc; ac_word=$2
2627 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628
$as_echo_n "checking for $ac_word... " >&6; }
2629
if test "${ac_cv_prog_CC+set}" = set; then :
2630
  $as_echo_n "(cached) " >&6
2631 131 jeremybenn
else
2632
  if test -n "$CC"; then
2633
  ac_cv_prog_CC="$CC" # Let the user override the test.
2634
else
2635
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636
for as_dir in $PATH
2637
do
2638
  IFS=$as_save_IFS
2639
  test -z "$as_dir" && as_dir=.
2640 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2641
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2642 131 jeremybenn
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2643 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2644 131 jeremybenn
    break 2
2645
  fi
2646
done
2647 225 jeremybenn
  done
2648
IFS=$as_save_IFS
2649 131 jeremybenn
 
2650
fi
2651
fi
2652
CC=$ac_cv_prog_CC
2653
if test -n "$CC"; then
2654 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2655
$as_echo "$CC" >&6; }
2656 131 jeremybenn
else
2657 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658
$as_echo "no" >&6; }
2659 131 jeremybenn
fi
2660
 
2661 225 jeremybenn
 
2662 131 jeremybenn
  fi
2663
fi
2664
if test -z "$CC"; then
2665
  # Extract the first word of "cc", so it can be a program name with args.
2666
set dummy cc; ac_word=$2
2667 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2668
$as_echo_n "checking for $ac_word... " >&6; }
2669
if test "${ac_cv_prog_CC+set}" = set; then :
2670
  $as_echo_n "(cached) " >&6
2671 131 jeremybenn
else
2672
  if test -n "$CC"; then
2673
  ac_cv_prog_CC="$CC" # Let the user override the test.
2674
else
2675
  ac_prog_rejected=no
2676
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2677
for as_dir in $PATH
2678
do
2679
  IFS=$as_save_IFS
2680
  test -z "$as_dir" && as_dir=.
2681 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2682
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2683 131 jeremybenn
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2684
       ac_prog_rejected=yes
2685
       continue
2686
     fi
2687
    ac_cv_prog_CC="cc"
2688 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 131 jeremybenn
    break 2
2690
  fi
2691
done
2692 225 jeremybenn
  done
2693
IFS=$as_save_IFS
2694 131 jeremybenn
 
2695
if test $ac_prog_rejected = yes; then
2696
  # We found a bogon in the path, so make sure we never use it.
2697
  set dummy $ac_cv_prog_CC
2698
  shift
2699
  if test $# != 0; then
2700
    # We chose a different compiler from the bogus one.
2701
    # However, it has the same basename, so the bogon will be chosen
2702
    # first if we set CC to just the basename; use the full file name.
2703
    shift
2704
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2705
  fi
2706
fi
2707
fi
2708
fi
2709
CC=$ac_cv_prog_CC
2710
if test -n "$CC"; then
2711 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2712
$as_echo "$CC" >&6; }
2713 131 jeremybenn
else
2714 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715
$as_echo "no" >&6; }
2716 131 jeremybenn
fi
2717
 
2718 225 jeremybenn
 
2719 131 jeremybenn
fi
2720
if test -z "$CC"; then
2721
  if test -n "$ac_tool_prefix"; then
2722 225 jeremybenn
  for ac_prog in cl.exe
2723 131 jeremybenn
  do
2724
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2725
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2726 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2727
$as_echo_n "checking for $ac_word... " >&6; }
2728
if test "${ac_cv_prog_CC+set}" = set; then :
2729
  $as_echo_n "(cached) " >&6
2730 131 jeremybenn
else
2731
  if test -n "$CC"; then
2732
  ac_cv_prog_CC="$CC" # Let the user override the test.
2733
else
2734
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735
for as_dir in $PATH
2736
do
2737
  IFS=$as_save_IFS
2738
  test -z "$as_dir" && as_dir=.
2739 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2740
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2741 131 jeremybenn
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2742 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2743 131 jeremybenn
    break 2
2744
  fi
2745
done
2746 225 jeremybenn
  done
2747
IFS=$as_save_IFS
2748 131 jeremybenn
 
2749
fi
2750
fi
2751
CC=$ac_cv_prog_CC
2752
if test -n "$CC"; then
2753 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2754
$as_echo "$CC" >&6; }
2755 131 jeremybenn
else
2756 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2757
$as_echo "no" >&6; }
2758 131 jeremybenn
fi
2759
 
2760 225 jeremybenn
 
2761 131 jeremybenn
    test -n "$CC" && break
2762
  done
2763
fi
2764
if test -z "$CC"; then
2765
  ac_ct_CC=$CC
2766 225 jeremybenn
  for ac_prog in cl.exe
2767 131 jeremybenn
do
2768
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2769
set dummy $ac_prog; ac_word=$2
2770 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2771
$as_echo_n "checking for $ac_word... " >&6; }
2772
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2773
  $as_echo_n "(cached) " >&6
2774 131 jeremybenn
else
2775
  if test -n "$ac_ct_CC"; then
2776
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2777
else
2778
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779
for as_dir in $PATH
2780
do
2781
  IFS=$as_save_IFS
2782
  test -z "$as_dir" && as_dir=.
2783 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
2784
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2785 131 jeremybenn
    ac_cv_prog_ac_ct_CC="$ac_prog"
2786 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 131 jeremybenn
    break 2
2788
  fi
2789
done
2790 225 jeremybenn
  done
2791
IFS=$as_save_IFS
2792 131 jeremybenn
 
2793
fi
2794
fi
2795
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2796
if test -n "$ac_ct_CC"; then
2797 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2798
$as_echo "$ac_ct_CC" >&6; }
2799 131 jeremybenn
else
2800 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2801
$as_echo "no" >&6; }
2802 131 jeremybenn
fi
2803
 
2804 225 jeremybenn
 
2805 131 jeremybenn
  test -n "$ac_ct_CC" && break
2806
done
2807
 
2808 225 jeremybenn
  if test "x$ac_ct_CC" = x; then
2809
    CC=""
2810
  else
2811
    case $cross_compiling:$ac_tool_warned in
2812
yes:)
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2814
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2815
ac_tool_warned=yes ;;
2816
esac
2817
    CC=$ac_ct_CC
2818
  fi
2819 131 jeremybenn
fi
2820
 
2821
fi
2822
 
2823
 
2824 225 jeremybenn
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2825
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2826
as_fn_error "no acceptable C compiler found in \$PATH
2827
See \`config.log' for more details." "$LINENO" 5; }
2828 131 jeremybenn
 
2829
# Provide some information about the compiler.
2830 225 jeremybenn
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2831
set X $ac_compile
2832
ac_compiler=$2
2833
for ac_option in --version -v -V -qversion; do
2834
  { { ac_try="$ac_compiler $ac_option >&5"
2835
case "(($ac_try" in
2836
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2837
  *) ac_try_echo=$ac_try;;
2838
esac
2839
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2840
$as_echo "$ac_try_echo"; } >&5
2841
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2842 131 jeremybenn
  ac_status=$?
2843 225 jeremybenn
  if test -s conftest.err; then
2844
    sed '10a\
2845
... rest of stderr output deleted ...
2846
         10q' conftest.err >conftest.er1
2847
    cat conftest.er1 >&5
2848
    rm -f conftest.er1 conftest.err
2849
  fi
2850
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851
  test $ac_status = 0; }
2852
done
2853 131 jeremybenn
 
2854 225 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 131 jeremybenn
/* end confdefs.h.  */
2856
 
2857
int
2858
main ()
2859
{
2860
 
2861
  ;
2862
  return 0;
2863
}
2864
_ACEOF
2865
ac_clean_files_save=$ac_clean_files
2866 225 jeremybenn
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2867 131 jeremybenn
# Try to create an executable without -o first, disregard a.out.
2868
# It will help us diagnose broken compilers, and finding out an intuition
2869
# of exeext.
2870 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2871
$as_echo_n "checking for C compiler default output file name... " >&6; }
2872
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2873 131 jeremybenn
 
2874 225 jeremybenn
# The possible output files:
2875
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2876
 
2877
ac_rmfiles=
2878
for ac_file in $ac_files
2879 131 jeremybenn
do
2880 225 jeremybenn
  case $ac_file in
2881
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2882
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2883
  esac
2884
done
2885
rm -f $ac_rmfiles
2886
 
2887
if { { ac_try="$ac_link_default"
2888
case "(($ac_try" in
2889
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890
  *) ac_try_echo=$ac_try;;
2891
esac
2892
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2893
$as_echo "$ac_try_echo"; } >&5
2894
  (eval "$ac_link_default") 2>&5
2895
  ac_status=$?
2896
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2897
  test $ac_status = 0; }; then :
2898
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2899
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2900
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2901
# so that the user can short-circuit this test for compilers unknown to
2902
# Autoconf.
2903
for ac_file in $ac_files ''
2904
do
2905 131 jeremybenn
  test -f "$ac_file" || continue
2906
  case $ac_file in
2907 225 jeremybenn
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2908 131 jeremybenn
        ;;
2909
    [ab].out )
2910
        # We found the default executable, but exeext='' is most
2911
        # certainly right.
2912
        break;;
2913
    *.* )
2914 225 jeremybenn
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2915
        then :; else
2916
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2917
        fi
2918
        # We set ac_cv_exeext here because the later test for it is not
2919
        # safe: cross compilers may not add the suffix if given an `-o'
2920
        # argument, so we may need to know it at that point already.
2921
        # Even if this section looks crufty: it has the advantage of
2922
        # actually working.
2923 131 jeremybenn
        break;;
2924
    * )
2925
        break;;
2926
  esac
2927
done
2928 225 jeremybenn
test "$ac_cv_exeext" = no && ac_cv_exeext=
2929
 
2930 131 jeremybenn
else
2931 225 jeremybenn
  ac_file=''
2932
fi
2933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2934
$as_echo "$ac_file" >&6; }
2935
if test -z "$ac_file"; then :
2936
  $as_echo "$as_me: failed program was:" >&5
2937 131 jeremybenn
sed 's/^/| /' conftest.$ac_ext >&5
2938
 
2939 225 jeremybenn
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2940
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2941
{ as_fn_set_status 77
2942
as_fn_error "C compiler cannot create executables
2943
See \`config.log' for more details." "$LINENO" 5; }; }
2944 131 jeremybenn
fi
2945
ac_exeext=$ac_cv_exeext
2946
 
2947 225 jeremybenn
# Check that the compiler produces executables we can run.  If not, either
2948 131 jeremybenn
# the compiler is broken, or we cross compile.
2949 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2950
$as_echo_n "checking whether the C compiler works... " >&6; }
2951 131 jeremybenn
# If not cross compiling, check that we can run a simple program.
2952
if test "$cross_compiling" != yes; then
2953
  if { ac_try='./$ac_file'
2954 225 jeremybenn
  { { case "(($ac_try" in
2955
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956
  *) ac_try_echo=$ac_try;;
2957
esac
2958
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2959
$as_echo "$ac_try_echo"; } >&5
2960
  (eval "$ac_try") 2>&5
2961 131 jeremybenn
  ac_status=$?
2962 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963
  test $ac_status = 0; }; }; then
2964 131 jeremybenn
    cross_compiling=no
2965
  else
2966
    if test "$cross_compiling" = maybe; then
2967
        cross_compiling=yes
2968
    else
2969 225 jeremybenn
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2970
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2971
as_fn_error "cannot run C compiled programs.
2972 131 jeremybenn
If you meant to cross compile, use \`--host'.
2973 225 jeremybenn
See \`config.log' for more details." "$LINENO" 5; }
2974 131 jeremybenn
    fi
2975
  fi
2976
fi
2977 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2978
$as_echo "yes" >&6; }
2979 131 jeremybenn
 
2980 225 jeremybenn
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2981 131 jeremybenn
ac_clean_files=$ac_clean_files_save
2982 225 jeremybenn
# Check that the compiler produces executables we can run.  If not, either
2983 131 jeremybenn
# the compiler is broken, or we cross compile.
2984 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2985
$as_echo_n "checking whether we are cross compiling... " >&6; }
2986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2987
$as_echo "$cross_compiling" >&6; }
2988 131 jeremybenn
 
2989 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2990
$as_echo_n "checking for suffix of executables... " >&6; }
2991
if { { ac_try="$ac_link"
2992
case "(($ac_try" in
2993
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994
  *) ac_try_echo=$ac_try;;
2995
esac
2996
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2997
$as_echo "$ac_try_echo"; } >&5
2998
  (eval "$ac_link") 2>&5
2999 131 jeremybenn
  ac_status=$?
3000 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3001
  test $ac_status = 0; }; then :
3002 131 jeremybenn
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3003
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3004
# work properly (i.e., refer to `conftest.exe'), while it won't with
3005
# `rm'.
3006
for ac_file in conftest.exe conftest conftest.*; do
3007
  test -f "$ac_file" || continue
3008
  case $ac_file in
3009 225 jeremybenn
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3010 131 jeremybenn
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3011
          break;;
3012
    * ) break;;
3013
  esac
3014
done
3015
else
3016 225 jeremybenn
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3017
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3018
as_fn_error "cannot compute suffix of executables: cannot compile and link
3019
See \`config.log' for more details." "$LINENO" 5; }
3020 131 jeremybenn
fi
3021
rm -f conftest$ac_cv_exeext
3022 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3023
$as_echo "$ac_cv_exeext" >&6; }
3024 131 jeremybenn
 
3025
rm -f conftest.$ac_ext
3026
EXEEXT=$ac_cv_exeext
3027
ac_exeext=$EXEEXT
3028 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3029
$as_echo_n "checking for suffix of object files... " >&6; }
3030
if test "${ac_cv_objext+set}" = set; then :
3031
  $as_echo_n "(cached) " >&6
3032 131 jeremybenn
else
3033 225 jeremybenn
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 131 jeremybenn
/* end confdefs.h.  */
3035
 
3036
int
3037
main ()
3038
{
3039
 
3040
  ;
3041
  return 0;
3042
}
3043
_ACEOF
3044
rm -f conftest.o conftest.obj
3045 225 jeremybenn
if { { ac_try="$ac_compile"
3046
case "(($ac_try" in
3047
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048
  *) ac_try_echo=$ac_try;;
3049
esac
3050
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3051
$as_echo "$ac_try_echo"; } >&5
3052
  (eval "$ac_compile") 2>&5
3053 131 jeremybenn
  ac_status=$?
3054 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3055
  test $ac_status = 0; }; then :
3056
  for ac_file in conftest.o conftest.obj conftest.*; do
3057
  test -f "$ac_file" || continue;
3058 131 jeremybenn
  case $ac_file in
3059 225 jeremybenn
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3060 131 jeremybenn
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3061
       break;;
3062
  esac
3063
done
3064
else
3065 225 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
3066 131 jeremybenn
sed 's/^/| /' conftest.$ac_ext >&5
3067
 
3068 225 jeremybenn
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3069
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3070
as_fn_error "cannot compute suffix of object files: cannot compile
3071
See \`config.log' for more details." "$LINENO" 5; }
3072 131 jeremybenn
fi
3073
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3074
fi
3075 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3076
$as_echo "$ac_cv_objext" >&6; }
3077 131 jeremybenn
OBJEXT=$ac_cv_objext
3078
ac_objext=$OBJEXT
3079 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3080
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3081
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3082
  $as_echo_n "(cached) " >&6
3083 131 jeremybenn
else
3084 225 jeremybenn
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3085 131 jeremybenn
/* end confdefs.h.  */
3086
 
3087
int
3088
main ()
3089
{
3090
#ifndef __GNUC__
3091
       choke me
3092
#endif
3093
 
3094
  ;
3095
  return 0;
3096
}
3097
_ACEOF
3098 225 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
3099 131 jeremybenn
  ac_compiler_gnu=yes
3100
else
3101 225 jeremybenn
  ac_compiler_gnu=no
3102 131 jeremybenn
fi
3103 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 131 jeremybenn
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3105
 
3106
fi
3107 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3108
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3109
if test $ac_compiler_gnu = yes; then
3110
  GCC=yes
3111
else
3112
  GCC=
3113
fi
3114 131 jeremybenn
ac_test_CFLAGS=${CFLAGS+set}
3115
ac_save_CFLAGS=$CFLAGS
3116 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3117
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3118
if test "${ac_cv_prog_cc_g+set}" = set; then :
3119
  $as_echo_n "(cached) " >&6
3120 131 jeremybenn
else
3121 225 jeremybenn
  ac_save_c_werror_flag=$ac_c_werror_flag
3122
   ac_c_werror_flag=yes
3123
   ac_cv_prog_cc_g=no
3124
   CFLAGS="-g"
3125
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3126 131 jeremybenn
/* end confdefs.h.  */
3127
 
3128
int
3129
main ()
3130
{
3131
 
3132
  ;
3133
  return 0;
3134
}
3135
_ACEOF
3136 225 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
3137 131 jeremybenn
  ac_cv_prog_cc_g=yes
3138
else
3139 225 jeremybenn
  CFLAGS=""
3140
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3141
/* end confdefs.h.  */
3142 131 jeremybenn
 
3143 225 jeremybenn
int
3144
main ()
3145
{
3146
 
3147
  ;
3148
  return 0;
3149
}
3150
_ACEOF
3151
if ac_fn_c_try_compile "$LINENO"; then :
3152
 
3153
else
3154
  ac_c_werror_flag=$ac_save_c_werror_flag
3155
         CFLAGS="-g"
3156
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157
/* end confdefs.h.  */
3158
 
3159
int
3160
main ()
3161
{
3162
 
3163
  ;
3164
  return 0;
3165
}
3166
_ACEOF
3167
if ac_fn_c_try_compile "$LINENO"; then :
3168
  ac_cv_prog_cc_g=yes
3169 131 jeremybenn
fi
3170 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3171 131 jeremybenn
fi
3172 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3173
fi
3174
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3175
   ac_c_werror_flag=$ac_save_c_werror_flag
3176
fi
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3178
$as_echo "$ac_cv_prog_cc_g" >&6; }
3179 131 jeremybenn
if test "$ac_test_CFLAGS" = set; then
3180
  CFLAGS=$ac_save_CFLAGS
3181
elif test $ac_cv_prog_cc_g = yes; then
3182
  if test "$GCC" = yes; then
3183
    CFLAGS="-g -O2"
3184
  else
3185
    CFLAGS="-g"
3186
  fi
3187
else
3188
  if test "$GCC" = yes; then
3189
    CFLAGS="-O2"
3190
  else
3191
    CFLAGS=
3192
  fi
3193
fi
3194 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3195
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3196
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3197
  $as_echo_n "(cached) " >&6
3198 131 jeremybenn
else
3199 225 jeremybenn
  ac_cv_prog_cc_c89=no
3200 131 jeremybenn
ac_save_CC=$CC
3201 225 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 131 jeremybenn
/* end confdefs.h.  */
3203
#include 
3204
#include 
3205
#include 
3206
#include 
3207
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3208
struct buf { int x; };
3209
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3210
static char *e (p, i)
3211
     char **p;
3212
     int i;
3213
{
3214
  return p[i];
3215
}
3216
static char *f (char * (*g) (char **, int), char **p, ...)
3217
{
3218
  char *s;
3219
  va_list v;
3220
  va_start (v,p);
3221
  s = g (p, va_arg (v,int));
3222
  va_end (v);
3223
  return s;
3224
}
3225
 
3226
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3227
   function prototypes and stuff, but not '\xHH' hex character constants.
3228
   These don't provoke an error unfortunately, instead are silently treated
3229 225 jeremybenn
   as 'x'.  The following induces an error, until -std is added to get
3230 131 jeremybenn
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3231
   array size at least.  It's necessary to write '\x00'==0 to get something
3232 225 jeremybenn
   that's true only with -std.  */
3233 131 jeremybenn
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3234
 
3235 225 jeremybenn
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3236
   inside strings and character constants.  */
3237
#define FOO(x) 'x'
3238
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3239
 
3240 131 jeremybenn
int test (int i, double x);
3241
struct s1 {int (*f) (int a);};
3242
struct s2 {int (*f) (double a);};
3243
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3244
int argc;
3245
char **argv;
3246
int
3247
main ()
3248
{
3249
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3250
  ;
3251
  return 0;
3252
}
3253
_ACEOF
3254 225 jeremybenn
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3255
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3256 131 jeremybenn
do
3257
  CC="$ac_save_CC $ac_arg"
3258 225 jeremybenn
  if ac_fn_c_try_compile "$LINENO"; then :
3259
  ac_cv_prog_cc_c89=$ac_arg
3260 131 jeremybenn
fi
3261 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext
3262
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3263 131 jeremybenn
done
3264 225 jeremybenn
rm -f conftest.$ac_ext
3265 131 jeremybenn
CC=$ac_save_CC
3266
 
3267
fi
3268 225 jeremybenn
# AC_CACHE_VAL
3269
case "x$ac_cv_prog_cc_c89" in
3270
  x)
3271
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3272
$as_echo "none needed" >&6; } ;;
3273
  xno)
3274
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3275
$as_echo "unsupported" >&6; } ;;
3276 131 jeremybenn
  *)
3277 225 jeremybenn
    CC="$CC $ac_cv_prog_cc_c89"
3278
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3279
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3280 131 jeremybenn
esac
3281 225 jeremybenn
if test "x$ac_cv_prog_cc_c89" != xno; then :
3282 131 jeremybenn
 
3283
fi
3284
 
3285
ac_ext=c
3286
ac_cpp='$CPP $CPPFLAGS'
3287
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3288
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3289
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3290
 
3291
 
3292 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3293
$as_echo_n "checking for library containing strerror... " >&6; }
3294
if test "${ac_cv_search_strerror+set}" = set; then :
3295
  $as_echo_n "(cached) " >&6
3296 131 jeremybenn
else
3297
  ac_func_search_save_LIBS=$LIBS
3298 225 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 131 jeremybenn
/* end confdefs.h.  */
3300
 
3301 225 jeremybenn
/* Override any GCC internal prototype to avoid an error.
3302
   Use char because int might match the return type of a GCC
3303
   builtin and then its argument prototype would still apply.  */
3304 131 jeremybenn
#ifdef __cplusplus
3305
extern "C"
3306
#endif
3307
char strerror ();
3308
int
3309
main ()
3310
{
3311 225 jeremybenn
return strerror ();
3312 131 jeremybenn
  ;
3313
  return 0;
3314
}
3315
_ACEOF
3316 225 jeremybenn
for ac_lib in '' cposix; do
3317
  if test -z "$ac_lib"; then
3318
    ac_res="none required"
3319
  else
3320
    ac_res=-l$ac_lib
3321
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3322
  fi
3323
  if ac_fn_c_try_link "$LINENO"; then :
3324
  ac_cv_search_strerror=$ac_res
3325 131 jeremybenn
fi
3326 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
3327
    conftest$ac_exeext
3328
  if test "${ac_cv_search_strerror+set}" = set; then :
3329
  break
3330
fi
3331
done
3332
if test "${ac_cv_search_strerror+set}" = set; then :
3333 131 jeremybenn
 
3334
else
3335 225 jeremybenn
  ac_cv_search_strerror=no
3336 131 jeremybenn
fi
3337 225 jeremybenn
rm conftest.$ac_ext
3338 131 jeremybenn
LIBS=$ac_func_search_save_LIBS
3339
fi
3340 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3341
$as_echo "$ac_cv_search_strerror" >&6; }
3342
ac_res=$ac_cv_search_strerror
3343
if test "$ac_res" != no; then :
3344
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3345 131 jeremybenn
 
3346
fi
3347
 
3348
 
3349
# We currently only use the version number for the name of any shared
3350
# library.  For user convenience, we always use the same version
3351
# number that BFD is using.
3352
BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[         ]*\([^  ]*\)[   ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
3353
 
3354 225 jeremybenn
am__api_version='1.11'
3355
 
3356 131 jeremybenn
# Find a good install program.  We prefer a C program (faster),
3357
# so one script is as good as another.  But avoid the broken or
3358
# incompatible versions:
3359
# SysV /etc/install, /usr/sbin/install
3360
# SunOS /usr/etc/install
3361
# IRIX /sbin/install
3362
# AIX /bin/install
3363
# AmigaOS /C/install, which installs bootblocks on floppy discs
3364
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3365
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3366
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3367
# OS/2's system install, which has a completely different semantic
3368
# ./install, which can be erroneously created by make from ./install.sh.
3369 225 jeremybenn
# Reject install programs that cannot install multiple files.
3370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3371
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3372 131 jeremybenn
if test -z "$INSTALL"; then
3373 225 jeremybenn
if test "${ac_cv_path_install+set}" = set; then :
3374
  $as_echo_n "(cached) " >&6
3375 131 jeremybenn
else
3376
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377
for as_dir in $PATH
3378
do
3379
  IFS=$as_save_IFS
3380
  test -z "$as_dir" && as_dir=.
3381 225 jeremybenn
    # Account for people who put trailing slashes in PATH elements.
3382
case $as_dir/ in #((
3383
  ./ | .// | /[cC]/* | \
3384 131 jeremybenn
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3385 225 jeremybenn
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3386 131 jeremybenn
  /usr/ucb/* ) ;;
3387
  *)
3388
    # OSF1 and SCO ODT 3.0 have their own names for install.
3389
    # Don't use installbsd from OSF since it installs stuff as root
3390
    # by default.
3391
    for ac_prog in ginstall scoinst install; do
3392
      for ac_exec_ext in '' $ac_executable_extensions; do
3393 225 jeremybenn
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3394 131 jeremybenn
          if test $ac_prog = install &&
3395
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3396
            # AIX install.  It has an incompatible calling convention.
3397
            :
3398
          elif test $ac_prog = install &&
3399
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3400
            # program-specific install script used by HP pwplus--don't use.
3401
            :
3402
          else
3403 225 jeremybenn
            rm -rf conftest.one conftest.two conftest.dir
3404
            echo one > conftest.one
3405
            echo two > conftest.two
3406
            mkdir conftest.dir
3407
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3408
              test -s conftest.one && test -s conftest.two &&
3409
              test -s conftest.dir/conftest.one &&
3410
              test -s conftest.dir/conftest.two
3411
            then
3412
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3413
              break 3
3414
            fi
3415 131 jeremybenn
          fi
3416
        fi
3417
      done
3418
    done
3419
    ;;
3420
esac
3421
 
3422 225 jeremybenn
  done
3423
IFS=$as_save_IFS
3424 131 jeremybenn
 
3425 225 jeremybenn
rm -rf conftest.one conftest.two conftest.dir
3426
 
3427 131 jeremybenn
fi
3428
  if test "${ac_cv_path_install+set}" = set; then
3429
    INSTALL=$ac_cv_path_install
3430
  else
3431 225 jeremybenn
    # As a last resort, use the slow shell script.  Don't cache a
3432
    # value for INSTALL within a source directory, because that will
3433 131 jeremybenn
    # break other packages using the cache if that directory is
3434 225 jeremybenn
    # removed, or if the value is a relative name.
3435 131 jeremybenn
    INSTALL=$ac_install_sh
3436
  fi
3437
fi
3438 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3439
$as_echo "$INSTALL" >&6; }
3440 131 jeremybenn
 
3441
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3442
# It thinks the first close brace ends the variable substitution.
3443
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3444
 
3445
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3446
 
3447
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3448
 
3449 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3450
$as_echo_n "checking whether build environment is sane... " >&6; }
3451 131 jeremybenn
# Just in case
3452
sleep 1
3453
echo timestamp > conftest.file
3454 225 jeremybenn
# Reject unsafe characters in $srcdir or the absolute working directory
3455
# name.  Accept space and tab only in the latter.
3456
am_lf='
3457
'
3458
case `pwd` in
3459
  *[\\\"\#\$\&\'\`$am_lf]*)
3460
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3461
esac
3462
case $srcdir in
3463
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3464
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3465
esac
3466
 
3467 131 jeremybenn
# Do `set' in a subshell so we don't clobber the current shell's
3468
# arguments.  Must try -L first in case configure is actually a
3469
# symlink; some systems play weird games with the mod time of symlinks
3470
# (eg FreeBSD returns the mod time of the symlink's containing
3471
# directory).
3472
if (
3473 225 jeremybenn
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3474 131 jeremybenn
   if test "$*" = "X"; then
3475
      # -L didn't work.
3476 225 jeremybenn
      set X `ls -t "$srcdir/configure" conftest.file`
3477 131 jeremybenn
   fi
3478
   rm -f conftest.file
3479
   if test "$*" != "X $srcdir/configure conftest.file" \
3480
      && test "$*" != "X conftest.file $srcdir/configure"; then
3481
 
3482
      # If neither matched, then we have a broken ls.  This can happen
3483
      # if, for instance, CONFIG_SHELL is bash and it inherits a
3484
      # broken ls alias from the environment.  This has actually
3485
      # happened.  Such a system could not be considered "sane".
3486 225 jeremybenn
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3487
alias in your environment" "$LINENO" 5
3488 131 jeremybenn
   fi
3489
 
3490
   test "$2" = conftest.file
3491
   )
3492
then
3493
   # Ok.
3494
   :
3495
else
3496 225 jeremybenn
   as_fn_error "newly created file is older than distributed files!
3497
Check your system clock" "$LINENO" 5
3498 131 jeremybenn
fi
3499 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3500
$as_echo "yes" >&6; }
3501 131 jeremybenn
test "$program_prefix" != NONE &&
3502 225 jeremybenn
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3503 131 jeremybenn
# Use a double $ so make ignores it.
3504
test "$program_suffix" != NONE &&
3505 225 jeremybenn
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3506
# Double any \ or $.
3507 131 jeremybenn
# By default was `s,x,x', remove it if useless.
3508 225 jeremybenn
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3509
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3510 131 jeremybenn
 
3511
# expand $ac_aux_dir to an absolute path
3512
am_aux_dir=`cd $ac_aux_dir && pwd`
3513
 
3514 225 jeremybenn
if test x"${MISSING+set}" != xset; then
3515
  case $am_aux_dir in
3516
  *\ * | *\     *)
3517
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3518
  *)
3519
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3520
  esac
3521
fi
3522 131 jeremybenn
# Use eval to expand $SHELL
3523
if eval "$MISSING --run true"; then
3524
  am_missing_run="$MISSING --run "
3525
else
3526
  am_missing_run=
3527 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3528
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3529 131 jeremybenn
fi
3530
 
3531 225 jeremybenn
if test x"${install_sh}" != xset; then
3532
  case $am_aux_dir in
3533
  *\ * | *\     *)
3534
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3535
  *)
3536
    install_sh="\${SHELL} $am_aux_dir/install-sh"
3537
  esac
3538
fi
3539
 
3540
# Installed binaries are usually stripped using `strip' when the user
3541
# run `make install-strip'.  However `strip' might not be the right
3542
# tool to use in cross-compilation environments, therefore Automake
3543
# will honor the `STRIP' environment variable to overrule this program.
3544
if test "$cross_compiling" != no; then
3545
  if test -n "$ac_tool_prefix"; then
3546
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3547
set dummy ${ac_tool_prefix}strip; ac_word=$2
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549
$as_echo_n "checking for $ac_word... " >&6; }
3550
if test "${ac_cv_prog_STRIP+set}" = set; then :
3551
  $as_echo_n "(cached) " >&6
3552 131 jeremybenn
else
3553 225 jeremybenn
  if test -n "$STRIP"; then
3554
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3555
else
3556
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557
for as_dir in $PATH
3558
do
3559
  IFS=$as_save_IFS
3560
  test -z "$as_dir" && as_dir=.
3561
    for ac_exec_ext in '' $ac_executable_extensions; do
3562
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3564
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565
    break 2
3566
  fi
3567
done
3568 131 jeremybenn
  done
3569 225 jeremybenn
IFS=$as_save_IFS
3570
 
3571
fi
3572
fi
3573
STRIP=$ac_cv_prog_STRIP
3574
if test -n "$STRIP"; then
3575
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3576
$as_echo "$STRIP" >&6; }
3577
else
3578
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579
$as_echo "no" >&6; }
3580
fi
3581
 
3582
 
3583
fi
3584
if test -z "$ac_cv_prog_STRIP"; then
3585
  ac_ct_STRIP=$STRIP
3586
  # Extract the first word of "strip", so it can be a program name with args.
3587
set dummy strip; ac_word=$2
3588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3589
$as_echo_n "checking for $ac_word... " >&6; }
3590
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3591
  $as_echo_n "(cached) " >&6
3592
else
3593
  if test -n "$ac_ct_STRIP"; then
3594
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3595
else
3596
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3597
for as_dir in $PATH
3598
do
3599
  IFS=$as_save_IFS
3600
  test -z "$as_dir" && as_dir=.
3601
    for ac_exec_ext in '' $ac_executable_extensions; do
3602
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3603
    ac_cv_prog_ac_ct_STRIP="strip"
3604
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3605
    break 2
3606
  fi
3607
done
3608
  done
3609
IFS=$as_save_IFS
3610
 
3611
fi
3612
fi
3613
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3614
if test -n "$ac_ct_STRIP"; then
3615
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3616
$as_echo "$ac_ct_STRIP" >&6; }
3617
else
3618
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619
$as_echo "no" >&6; }
3620
fi
3621
 
3622
  if test "x$ac_ct_STRIP" = x; then
3623
    STRIP=":"
3624 131 jeremybenn
  else
3625 225 jeremybenn
    case $cross_compiling:$ac_tool_warned in
3626
yes:)
3627
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3628
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3629
ac_tool_warned=yes ;;
3630
esac
3631
    STRIP=$ac_ct_STRIP
3632 131 jeremybenn
  fi
3633 225 jeremybenn
else
3634
  STRIP="$ac_cv_prog_STRIP"
3635 131 jeremybenn
fi
3636
 
3637 225 jeremybenn
fi
3638
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3639
 
3640
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3641
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3642
if test -z "$MKDIR_P"; then
3643
  if test "${ac_cv_path_mkdir+set}" = set; then :
3644
  $as_echo_n "(cached) " >&6
3645
else
3646
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3648
do
3649
  IFS=$as_save_IFS
3650
  test -z "$as_dir" && as_dir=.
3651
    for ac_prog in mkdir gmkdir; do
3652
         for ac_exec_ext in '' $ac_executable_extensions; do
3653
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3654
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3655
             'mkdir (GNU coreutils) '* | \
3656
             'mkdir (coreutils) '* | \
3657
             'mkdir (fileutils) '4.1*)
3658
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3659
               break 3;;
3660
           esac
3661
         done
3662
       done
3663
  done
3664
IFS=$as_save_IFS
3665
 
3666
fi
3667
 
3668
  if test "${ac_cv_path_mkdir+set}" = set; then
3669
    MKDIR_P="$ac_cv_path_mkdir -p"
3670
  else
3671
    # As a last resort, use the slow shell script.  Don't cache a
3672
    # value for MKDIR_P within a source directory, because that will
3673
    # break other packages using the cache if that directory is
3674
    # removed, or if the value is a relative name.
3675
    test -d ./--version && rmdir ./--version
3676
    MKDIR_P="$ac_install_sh -d"
3677
  fi
3678
fi
3679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3680
$as_echo "$MKDIR_P" >&6; }
3681
 
3682
mkdir_p="$MKDIR_P"
3683
case $mkdir_p in
3684
  [\\/$]* | ?:[\\/]*) ;;
3685
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3686
esac
3687
 
3688 131 jeremybenn
for ac_prog in gawk mawk nawk awk
3689
do
3690
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3691
set dummy $ac_prog; ac_word=$2
3692 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693
$as_echo_n "checking for $ac_word... " >&6; }
3694
if test "${ac_cv_prog_AWK+set}" = set; then :
3695
  $as_echo_n "(cached) " >&6
3696 131 jeremybenn
else
3697
  if test -n "$AWK"; then
3698
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3699
else
3700
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701
for as_dir in $PATH
3702
do
3703
  IFS=$as_save_IFS
3704
  test -z "$as_dir" && as_dir=.
3705 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3706
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3707 131 jeremybenn
    ac_cv_prog_AWK="$ac_prog"
3708 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3709 131 jeremybenn
    break 2
3710
  fi
3711
done
3712 225 jeremybenn
  done
3713
IFS=$as_save_IFS
3714 131 jeremybenn
 
3715
fi
3716
fi
3717
AWK=$ac_cv_prog_AWK
3718
if test -n "$AWK"; then
3719 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3720
$as_echo "$AWK" >&6; }
3721 131 jeremybenn
else
3722 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723
$as_echo "no" >&6; }
3724 131 jeremybenn
fi
3725
 
3726 225 jeremybenn
 
3727 131 jeremybenn
  test -n "$AWK" && break
3728
done
3729
 
3730 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3731
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3732
set x ${MAKE-make}
3733
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3734
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3735
  $as_echo_n "(cached) " >&6
3736 131 jeremybenn
else
3737
  cat >conftest.make <<\_ACEOF
3738 225 jeremybenn
SHELL = /bin/sh
3739 131 jeremybenn
all:
3740 225 jeremybenn
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3741 131 jeremybenn
_ACEOF
3742
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3743 225 jeremybenn
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3744
  *@@@%%%=?*=@@@%%%*)
3745
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3746
  *)
3747
    eval ac_cv_prog_make_${ac_make}_set=no;;
3748
esac
3749 131 jeremybenn
rm -f conftest.make
3750
fi
3751 225 jeremybenn
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3752
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3753
$as_echo "yes" >&6; }
3754 131 jeremybenn
  SET_MAKE=
3755
else
3756 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3757
$as_echo "no" >&6; }
3758 131 jeremybenn
  SET_MAKE="MAKE=${MAKE-make}"
3759
fi
3760
 
3761
rm -rf .tst 2>/dev/null
3762
mkdir .tst 2>/dev/null
3763
if test -d .tst; then
3764
  am__leading_dot=.
3765
else
3766
  am__leading_dot=_
3767
fi
3768
rmdir .tst 2>/dev/null
3769
 
3770
DEPDIR="${am__leading_dot}deps"
3771
 
3772 225 jeremybenn
ac_config_commands="$ac_config_commands depfiles"
3773 131 jeremybenn
 
3774
 
3775
am_make=${MAKE-make}
3776
cat > confinc << 'END'
3777
am__doit:
3778 225 jeremybenn
        @echo this is the am__doit target
3779 131 jeremybenn
.PHONY: am__doit
3780
END
3781
# If we don't find an include directive, just comment out the code.
3782 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3783
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3784 131 jeremybenn
am__include="#"
3785
am__quote=
3786
_am_result=none
3787
# First try GNU make style include.
3788
echo "include confinc" > confmf
3789 225 jeremybenn
# Ignore all kinds of additional output from `make'.
3790
case `$am_make -s -f confmf 2> /dev/null` in #(
3791
*the\ am__doit\ target*)
3792
  am__include=include
3793
  am__quote=
3794
  _am_result=GNU
3795
  ;;
3796
esac
3797 131 jeremybenn
# Now try BSD make style include.
3798
if test "$am__include" = "#"; then
3799
   echo '.include "confinc"' > confmf
3800 225 jeremybenn
   case `$am_make -s -f confmf 2> /dev/null` in #(
3801
   *the\ am__doit\ target*)
3802
     am__include=.include
3803
     am__quote="\""
3804
     _am_result=BSD
3805
     ;;
3806
   esac
3807 131 jeremybenn
fi
3808
 
3809
 
3810 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3811
$as_echo "$_am_result" >&6; }
3812 131 jeremybenn
rm -f confinc confmf
3813
 
3814 225 jeremybenn
# Check whether --enable-dependency-tracking was given.
3815
if test "${enable_dependency_tracking+set}" = set; then :
3816
  enableval=$enable_dependency_tracking;
3817
fi
3818 131 jeremybenn
 
3819
if test "x$enable_dependency_tracking" != xno; then
3820
  am_depcomp="$ac_aux_dir/depcomp"
3821
  AMDEPBACKSLASH='\'
3822
fi
3823 225 jeremybenn
 if test "x$enable_dependency_tracking" != xno; then
3824 131 jeremybenn
  AMDEP_TRUE=
3825
  AMDEP_FALSE='#'
3826
else
3827
  AMDEP_TRUE='#'
3828
  AMDEP_FALSE=
3829
fi
3830
 
3831
 
3832 225 jeremybenn
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3833
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3834
  # is not polluted with repeated "-I."
3835
  am__isrc=' -I$(srcdir)'
3836
  # test to see if srcdir already configured
3837
  if test -f $srcdir/config.status; then
3838
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3839
  fi
3840 131 jeremybenn
fi
3841
 
3842
# test whether we have cygpath
3843
if test -z "$CYGPATH_W"; then
3844
  if (cygpath --version) >/dev/null 2>/dev/null; then
3845
    CYGPATH_W='cygpath -w'
3846
  else
3847
    CYGPATH_W=echo
3848
  fi
3849
fi
3850
 
3851
 
3852
# Define the identity of the package.
3853
 PACKAGE=opcodes
3854
 VERSION=${BFD_VERSION}
3855
 
3856
 
3857
cat >>confdefs.h <<_ACEOF
3858
#define PACKAGE "$PACKAGE"
3859
_ACEOF
3860
 
3861
 
3862
cat >>confdefs.h <<_ACEOF
3863
#define VERSION "$VERSION"
3864
_ACEOF
3865
 
3866
# Some tools Automake needs.
3867
 
3868
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3869
 
3870
 
3871
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3872
 
3873
 
3874
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3875
 
3876
 
3877
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3878
 
3879
 
3880
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3881
 
3882
# We need awk for the "check" target.  The system "awk" is bad on
3883
# some platforms.
3884
# Always define AMTAR for backward compatibility.
3885
 
3886
AMTAR=${AMTAR-"${am_missing_run}tar"}
3887
 
3888
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3889
 
3890
 
3891
 
3892
 
3893
depcc="$CC"   am_compiler_list=
3894
 
3895 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3896
$as_echo_n "checking dependency style of $depcc... " >&6; }
3897
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3898
  $as_echo_n "(cached) " >&6
3899 131 jeremybenn
else
3900
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3901
  # We make a subdir and do the tests there.  Otherwise we can end up
3902
  # making bogus files that we don't know about and never remove.  For
3903
  # instance it was reported that on HP-UX the gcc test will end up
3904
  # making a dummy file named `D' -- because `-MD' means `put the output
3905
  # in D'.
3906
  mkdir conftest.dir
3907
  # Copy depcomp to subdir because otherwise we won't find it if we're
3908
  # using a relative directory.
3909
  cp "$am_depcomp" conftest.dir
3910
  cd conftest.dir
3911
  # We will build objects and dependencies in a subdirectory because
3912
  # it helps to detect inapplicable dependency modes.  For instance
3913
  # both Tru64's cc and ICC support -MD to output dependencies as a
3914
  # side effect of compilation, but ICC will put the dependencies in
3915
  # the current directory while Tru64 will put them in the object
3916
  # directory.
3917
  mkdir sub
3918
 
3919
  am_cv_CC_dependencies_compiler_type=none
3920
  if test "$am_compiler_list" = ""; then
3921
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3922
  fi
3923 225 jeremybenn
  am__universal=false
3924
  case " $depcc " in #(
3925
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3926
     esac
3927
 
3928 131 jeremybenn
  for depmode in $am_compiler_list; do
3929
    # Setup a source with many dependencies, because some compilers
3930
    # like to wrap large dependency lists on column 80 (with \), and
3931
    # we should not choose a depcomp mode which is confused by this.
3932
    #
3933
    # We need to recreate these files for each test, as the compiler may
3934
    # overwrite some of them when testing with obscure command lines.
3935
    # This happens at least with the AIX C compiler.
3936
    : > sub/conftest.c
3937
    for i in 1 2 3 4 5 6; do
3938
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3939
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3940
      # Solaris 8's {/usr,}/bin/sh.
3941
      touch sub/conftst$i.h
3942
    done
3943
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3944
 
3945 225 jeremybenn
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3946
    # mode.  It turns out that the SunPro C++ compiler does not properly
3947
    # handle `-M -o', and we need to detect this.  Also, some Intel
3948
    # versions had trouble with output in subdirs
3949
    am__obj=sub/conftest.${OBJEXT-o}
3950
    am__minus_obj="-o $am__obj"
3951 131 jeremybenn
    case $depmode in
3952 225 jeremybenn
    gcc)
3953
      # This depmode causes a compiler race in universal mode.
3954
      test "$am__universal" = false || continue
3955
      ;;
3956 131 jeremybenn
    nosideeffect)
3957
      # after this tag, mechanisms are not by side-effect, so they'll
3958
      # only be used when explicitly requested
3959
      if test "x$enable_dependency_tracking" = xyes; then
3960
        continue
3961
      else
3962
        break
3963
      fi
3964
      ;;
3965 225 jeremybenn
    msvisualcpp | msvcmsys)
3966
      # This compiler won't grok `-c -o', but also, the minuso test has
3967
      # not run yet.  These depmodes are late enough in the game, and
3968
      # so weak that their functioning should not be impacted.
3969
      am__obj=conftest.${OBJEXT-o}
3970
      am__minus_obj=
3971
      ;;
3972 131 jeremybenn
    none) break ;;
3973
    esac
3974
    if depmode=$depmode \
3975 225 jeremybenn
       source=sub/conftest.c object=$am__obj \
3976 131 jeremybenn
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3977 225 jeremybenn
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3978 131 jeremybenn
         >/dev/null 2>conftest.err &&
3979 225 jeremybenn
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3980 131 jeremybenn
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3981 225 jeremybenn
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3982 131 jeremybenn
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3983
      # icc doesn't choke on unknown options, it will just issue warnings
3984
      # or remarks (even with -Werror).  So we grep stderr for any message
3985
      # that says an option was ignored or not supported.
3986
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3987
      #   icc: Command line warning: ignoring option '-M'; no argument required
3988
      # The diagnosis changed in icc 8.0:
3989
      #   icc: Command line remark: option '-MP' not supported
3990
      if (grep 'ignoring option' conftest.err ||
3991
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3992
        am_cv_CC_dependencies_compiler_type=$depmode
3993
        break
3994
      fi
3995
    fi
3996
  done
3997
 
3998
  cd ..
3999
  rm -rf conftest.dir
4000
else
4001
  am_cv_CC_dependencies_compiler_type=none
4002
fi
4003
 
4004
fi
4005 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4006
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4007 131 jeremybenn
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4008
 
4009 225 jeremybenn
 if
4010 131 jeremybenn
  test "x$enable_dependency_tracking" != xno \
4011
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4012
  am__fastdepCC_TRUE=
4013
  am__fastdepCC_FALSE='#'
4014
else
4015
  am__fastdepCC_TRUE='#'
4016
  am__fastdepCC_FALSE=
4017
fi
4018
 
4019
 
4020
 
4021
 
4022
ac_ext=c
4023
ac_cpp='$CPP $CPPFLAGS'
4024
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4025
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4026
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4027
if test -n "$ac_tool_prefix"; then
4028
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4029
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4030 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031
$as_echo_n "checking for $ac_word... " >&6; }
4032
if test "${ac_cv_prog_CC+set}" = set; then :
4033
  $as_echo_n "(cached) " >&6
4034 131 jeremybenn
else
4035
  if test -n "$CC"; then
4036
  ac_cv_prog_CC="$CC" # Let the user override the test.
4037
else
4038
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039
for as_dir in $PATH
4040
do
4041
  IFS=$as_save_IFS
4042
  test -z "$as_dir" && as_dir=.
4043 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
4044
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4045 131 jeremybenn
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4046 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 131 jeremybenn
    break 2
4048
  fi
4049
done
4050 225 jeremybenn
  done
4051
IFS=$as_save_IFS
4052 131 jeremybenn
 
4053
fi
4054
fi
4055
CC=$ac_cv_prog_CC
4056
if test -n "$CC"; then
4057 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4058
$as_echo "$CC" >&6; }
4059 131 jeremybenn
else
4060 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061
$as_echo "no" >&6; }
4062 131 jeremybenn
fi
4063
 
4064 225 jeremybenn
 
4065 131 jeremybenn
fi
4066
if test -z "$ac_cv_prog_CC"; then
4067
  ac_ct_CC=$CC
4068
  # Extract the first word of "gcc", so it can be a program name with args.
4069
set dummy gcc; ac_word=$2
4070 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4071
$as_echo_n "checking for $ac_word... " >&6; }
4072
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4073
  $as_echo_n "(cached) " >&6
4074 131 jeremybenn
else
4075
  if test -n "$ac_ct_CC"; then
4076
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4077
else
4078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4079
for as_dir in $PATH
4080
do
4081
  IFS=$as_save_IFS
4082
  test -z "$as_dir" && as_dir=.
4083 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
4084
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4085 131 jeremybenn
    ac_cv_prog_ac_ct_CC="gcc"
4086 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 131 jeremybenn
    break 2
4088
  fi
4089
done
4090 225 jeremybenn
  done
4091
IFS=$as_save_IFS
4092 131 jeremybenn
 
4093
fi
4094
fi
4095
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4096
if test -n "$ac_ct_CC"; then
4097 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4098
$as_echo "$ac_ct_CC" >&6; }
4099 131 jeremybenn
else
4100 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4101
$as_echo "no" >&6; }
4102 131 jeremybenn
fi
4103
 
4104 225 jeremybenn
  if test "x$ac_ct_CC" = x; then
4105
    CC=""
4106
  else
4107
    case $cross_compiling:$ac_tool_warned in
4108
yes:)
4109
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4110
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4111
ac_tool_warned=yes ;;
4112
esac
4113
    CC=$ac_ct_CC
4114
  fi
4115 131 jeremybenn
else
4116
  CC="$ac_cv_prog_CC"
4117
fi
4118
 
4119
if test -z "$CC"; then
4120 225 jeremybenn
          if test -n "$ac_tool_prefix"; then
4121
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4122 131 jeremybenn
set dummy ${ac_tool_prefix}cc; ac_word=$2
4123 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124
$as_echo_n "checking for $ac_word... " >&6; }
4125
if test "${ac_cv_prog_CC+set}" = set; then :
4126
  $as_echo_n "(cached) " >&6
4127 131 jeremybenn
else
4128
  if test -n "$CC"; then
4129
  ac_cv_prog_CC="$CC" # Let the user override the test.
4130
else
4131
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132
for as_dir in $PATH
4133
do
4134
  IFS=$as_save_IFS
4135
  test -z "$as_dir" && as_dir=.
4136 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
4137
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4138 131 jeremybenn
    ac_cv_prog_CC="${ac_tool_prefix}cc"
4139 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4140 131 jeremybenn
    break 2
4141
  fi
4142
done
4143 225 jeremybenn
  done
4144
IFS=$as_save_IFS
4145 131 jeremybenn
 
4146
fi
4147
fi
4148
CC=$ac_cv_prog_CC
4149
if test -n "$CC"; then
4150 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4151
$as_echo "$CC" >&6; }
4152 131 jeremybenn
else
4153 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154
$as_echo "no" >&6; }
4155 131 jeremybenn
fi
4156
 
4157 225 jeremybenn
 
4158 131 jeremybenn
  fi
4159
fi
4160
if test -z "$CC"; then
4161
  # Extract the first word of "cc", so it can be a program name with args.
4162
set dummy cc; ac_word=$2
4163 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4164
$as_echo_n "checking for $ac_word... " >&6; }
4165
if test "${ac_cv_prog_CC+set}" = set; then :
4166
  $as_echo_n "(cached) " >&6
4167 131 jeremybenn
else
4168
  if test -n "$CC"; then
4169
  ac_cv_prog_CC="$CC" # Let the user override the test.
4170
else
4171
  ac_prog_rejected=no
4172
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173
for as_dir in $PATH
4174
do
4175
  IFS=$as_save_IFS
4176
  test -z "$as_dir" && as_dir=.
4177 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
4178
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4179 131 jeremybenn
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4180
       ac_prog_rejected=yes
4181
       continue
4182
     fi
4183
    ac_cv_prog_CC="cc"
4184 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 131 jeremybenn
    break 2
4186
  fi
4187
done
4188 225 jeremybenn
  done
4189
IFS=$as_save_IFS
4190 131 jeremybenn
 
4191
if test $ac_prog_rejected = yes; then
4192
  # We found a bogon in the path, so make sure we never use it.
4193
  set dummy $ac_cv_prog_CC
4194
  shift
4195
  if test $# != 0; then
4196
    # We chose a different compiler from the bogus one.
4197
    # However, it has the same basename, so the bogon will be chosen
4198
    # first if we set CC to just the basename; use the full file name.
4199
    shift
4200
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4201
  fi
4202
fi
4203
fi
4204
fi
4205
CC=$ac_cv_prog_CC
4206
if test -n "$CC"; then
4207 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4208
$as_echo "$CC" >&6; }
4209 131 jeremybenn
else
4210 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211
$as_echo "no" >&6; }
4212 131 jeremybenn
fi
4213
 
4214 225 jeremybenn
 
4215 131 jeremybenn
fi
4216
if test -z "$CC"; then
4217
  if test -n "$ac_tool_prefix"; then
4218 225 jeremybenn
  for ac_prog in cl.exe
4219 131 jeremybenn
  do
4220
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4221
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4222 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223
$as_echo_n "checking for $ac_word... " >&6; }
4224
if test "${ac_cv_prog_CC+set}" = set; then :
4225
  $as_echo_n "(cached) " >&6
4226 131 jeremybenn
else
4227
  if test -n "$CC"; then
4228
  ac_cv_prog_CC="$CC" # Let the user override the test.
4229
else
4230
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231
for as_dir in $PATH
4232
do
4233
  IFS=$as_save_IFS
4234
  test -z "$as_dir" && as_dir=.
4235 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
4236
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4237 131 jeremybenn
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4238 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4239 131 jeremybenn
    break 2
4240
  fi
4241
done
4242 225 jeremybenn
  done
4243
IFS=$as_save_IFS
4244 131 jeremybenn
 
4245
fi
4246
fi
4247
CC=$ac_cv_prog_CC
4248
if test -n "$CC"; then
4249 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4250
$as_echo "$CC" >&6; }
4251 131 jeremybenn
else
4252 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253
$as_echo "no" >&6; }
4254 131 jeremybenn
fi
4255
 
4256 225 jeremybenn
 
4257 131 jeremybenn
    test -n "$CC" && break
4258
  done
4259
fi
4260
if test -z "$CC"; then
4261
  ac_ct_CC=$CC
4262 225 jeremybenn
  for ac_prog in cl.exe
4263 131 jeremybenn
do
4264
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4265
set dummy $ac_prog; ac_word=$2
4266 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4267
$as_echo_n "checking for $ac_word... " >&6; }
4268
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4269
  $as_echo_n "(cached) " >&6
4270 131 jeremybenn
else
4271
  if test -n "$ac_ct_CC"; then
4272
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4273
else
4274
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4275
for as_dir in $PATH
4276
do
4277
  IFS=$as_save_IFS
4278
  test -z "$as_dir" && as_dir=.
4279 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
4280
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4281 131 jeremybenn
    ac_cv_prog_ac_ct_CC="$ac_prog"
4282 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 131 jeremybenn
    break 2
4284
  fi
4285
done
4286 225 jeremybenn
  done
4287
IFS=$as_save_IFS
4288 131 jeremybenn
 
4289
fi
4290
fi
4291
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4292
if test -n "$ac_ct_CC"; then
4293 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4294
$as_echo "$ac_ct_CC" >&6; }
4295 131 jeremybenn
else
4296 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4297
$as_echo "no" >&6; }
4298 131 jeremybenn
fi
4299
 
4300 225 jeremybenn
 
4301 131 jeremybenn
  test -n "$ac_ct_CC" && break
4302
done
4303
 
4304 225 jeremybenn
  if test "x$ac_ct_CC" = x; then
4305
    CC=""
4306
  else
4307
    case $cross_compiling:$ac_tool_warned in
4308
yes:)
4309
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4310
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4311
ac_tool_warned=yes ;;
4312
esac
4313
    CC=$ac_ct_CC
4314
  fi
4315 131 jeremybenn
fi
4316
 
4317
fi
4318
 
4319
 
4320 225 jeremybenn
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4321
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4322
as_fn_error "no acceptable C compiler found in \$PATH
4323
See \`config.log' for more details." "$LINENO" 5; }
4324 131 jeremybenn
 
4325
# Provide some information about the compiler.
4326 225 jeremybenn
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4327
set X $ac_compile
4328
ac_compiler=$2
4329
for ac_option in --version -v -V -qversion; do
4330
  { { ac_try="$ac_compiler $ac_option >&5"
4331
case "(($ac_try" in
4332
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333
  *) ac_try_echo=$ac_try;;
4334
esac
4335
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336
$as_echo "$ac_try_echo"; } >&5
4337
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4338 131 jeremybenn
  ac_status=$?
4339 225 jeremybenn
  if test -s conftest.err; then
4340
    sed '10a\
4341
... rest of stderr output deleted ...
4342
         10q' conftest.err >conftest.er1
4343
    cat conftest.er1 >&5
4344
    rm -f conftest.er1 conftest.err
4345
  fi
4346
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4347
  test $ac_status = 0; }
4348
done
4349 131 jeremybenn
 
4350 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4351
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4352
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4353
  $as_echo_n "(cached) " >&6
4354 131 jeremybenn
else
4355 225 jeremybenn
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4356 131 jeremybenn
/* end confdefs.h.  */
4357
 
4358
int
4359
main ()
4360
{
4361
#ifndef __GNUC__
4362
       choke me
4363
#endif
4364
 
4365
  ;
4366
  return 0;
4367
}
4368
_ACEOF
4369 225 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
4370 131 jeremybenn
  ac_compiler_gnu=yes
4371
else
4372 225 jeremybenn
  ac_compiler_gnu=no
4373 131 jeremybenn
fi
4374 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 131 jeremybenn
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4376
 
4377
fi
4378 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4379
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4380
if test $ac_compiler_gnu = yes; then
4381
  GCC=yes
4382
else
4383
  GCC=
4384
fi
4385 131 jeremybenn
ac_test_CFLAGS=${CFLAGS+set}
4386
ac_save_CFLAGS=$CFLAGS
4387 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4388
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4389
if test "${ac_cv_prog_cc_g+set}" = set; then :
4390
  $as_echo_n "(cached) " >&6
4391 131 jeremybenn
else
4392 225 jeremybenn
  ac_save_c_werror_flag=$ac_c_werror_flag
4393
   ac_c_werror_flag=yes
4394
   ac_cv_prog_cc_g=no
4395
   CFLAGS="-g"
4396
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 131 jeremybenn
/* end confdefs.h.  */
4398
 
4399
int
4400
main ()
4401
{
4402
 
4403
  ;
4404
  return 0;
4405
}
4406
_ACEOF
4407 225 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
4408 131 jeremybenn
  ac_cv_prog_cc_g=yes
4409
else
4410 225 jeremybenn
  CFLAGS=""
4411
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412
/* end confdefs.h.  */
4413 131 jeremybenn
 
4414 225 jeremybenn
int
4415
main ()
4416
{
4417
 
4418
  ;
4419
  return 0;
4420
}
4421
_ACEOF
4422
if ac_fn_c_try_compile "$LINENO"; then :
4423
 
4424
else
4425
  ac_c_werror_flag=$ac_save_c_werror_flag
4426
         CFLAGS="-g"
4427
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428
/* end confdefs.h.  */
4429
 
4430
int
4431
main ()
4432
{
4433
 
4434
  ;
4435
  return 0;
4436
}
4437
_ACEOF
4438
if ac_fn_c_try_compile "$LINENO"; then :
4439
  ac_cv_prog_cc_g=yes
4440 131 jeremybenn
fi
4441 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4442 131 jeremybenn
fi
4443 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4444
fi
4445
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4446
   ac_c_werror_flag=$ac_save_c_werror_flag
4447
fi
4448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4449
$as_echo "$ac_cv_prog_cc_g" >&6; }
4450 131 jeremybenn
if test "$ac_test_CFLAGS" = set; then
4451
  CFLAGS=$ac_save_CFLAGS
4452
elif test $ac_cv_prog_cc_g = yes; then
4453
  if test "$GCC" = yes; then
4454
    CFLAGS="-g -O2"
4455
  else
4456
    CFLAGS="-g"
4457
  fi
4458
else
4459
  if test "$GCC" = yes; then
4460
    CFLAGS="-O2"
4461
  else
4462
    CFLAGS=
4463
  fi
4464
fi
4465 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4466
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4467
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4468
  $as_echo_n "(cached) " >&6
4469 131 jeremybenn
else
4470 225 jeremybenn
  ac_cv_prog_cc_c89=no
4471 131 jeremybenn
ac_save_CC=$CC
4472 225 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 131 jeremybenn
/* end confdefs.h.  */
4474
#include 
4475
#include 
4476
#include 
4477
#include 
4478
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4479
struct buf { int x; };
4480
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4481
static char *e (p, i)
4482
     char **p;
4483
     int i;
4484
{
4485
  return p[i];
4486
}
4487
static char *f (char * (*g) (char **, int), char **p, ...)
4488
{
4489
  char *s;
4490
  va_list v;
4491
  va_start (v,p);
4492
  s = g (p, va_arg (v,int));
4493
  va_end (v);
4494
  return s;
4495
}
4496
 
4497
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4498
   function prototypes and stuff, but not '\xHH' hex character constants.
4499
   These don't provoke an error unfortunately, instead are silently treated
4500 225 jeremybenn
   as 'x'.  The following induces an error, until -std is added to get
4501 131 jeremybenn
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4502
   array size at least.  It's necessary to write '\x00'==0 to get something
4503 225 jeremybenn
   that's true only with -std.  */
4504 131 jeremybenn
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4505
 
4506 225 jeremybenn
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4507
   inside strings and character constants.  */
4508
#define FOO(x) 'x'
4509
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4510
 
4511 131 jeremybenn
int test (int i, double x);
4512
struct s1 {int (*f) (int a);};
4513
struct s2 {int (*f) (double a);};
4514
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4515
int argc;
4516
char **argv;
4517
int
4518
main ()
4519
{
4520
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4521
  ;
4522
  return 0;
4523
}
4524
_ACEOF
4525 225 jeremybenn
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4526
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4527 131 jeremybenn
do
4528
  CC="$ac_save_CC $ac_arg"
4529 225 jeremybenn
  if ac_fn_c_try_compile "$LINENO"; then :
4530
  ac_cv_prog_cc_c89=$ac_arg
4531 131 jeremybenn
fi
4532 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext
4533
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4534 131 jeremybenn
done
4535 225 jeremybenn
rm -f conftest.$ac_ext
4536 131 jeremybenn
CC=$ac_save_CC
4537
 
4538
fi
4539 225 jeremybenn
# AC_CACHE_VAL
4540
case "x$ac_cv_prog_cc_c89" in
4541
  x)
4542
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4543
$as_echo "none needed" >&6; } ;;
4544
  xno)
4545
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4546
$as_echo "unsupported" >&6; } ;;
4547 131 jeremybenn
  *)
4548 225 jeremybenn
    CC="$CC $ac_cv_prog_cc_c89"
4549
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4550
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4551 131 jeremybenn
esac
4552 225 jeremybenn
if test "x$ac_cv_prog_cc_c89" != xno; then :
4553 131 jeremybenn
 
4554 225 jeremybenn
fi
4555
 
4556
ac_ext=c
4557
ac_cpp='$CPP $CPPFLAGS'
4558
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561
 
4562
ac_ext=c
4563
ac_cpp='$CPP $CPPFLAGS'
4564
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4568
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4569
# On Suns, sometimes $CPP names a directory.
4570
if test -n "$CPP" && test -d "$CPP"; then
4571
  CPP=
4572
fi
4573
if test -z "$CPP"; then
4574
  if test "${ac_cv_prog_CPP+set}" = set; then :
4575
  $as_echo_n "(cached) " >&6
4576
else
4577
      # Double quotes because CPP needs to be expanded
4578
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4579
    do
4580
      ac_preproc_ok=false
4581
for ac_c_preproc_warn_flag in '' yes
4582
do
4583
  # Use a header file that comes with gcc, so configuring glibc
4584
  # with a fresh cross-compiler works.
4585
  # Prefer  to  if __STDC__ is defined, since
4586
  #  exists even on freestanding compilers.
4587
  # On the NeXT, cc -E runs the code through the compiler's parser,
4588
  # not just through cpp. "Syntax error" is here to catch this case.
4589
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590
/* end confdefs.h.  */
4591
#ifdef __STDC__
4592
# include 
4593
#else
4594
# include 
4595 131 jeremybenn
#endif
4596 225 jeremybenn
                     Syntax error
4597 131 jeremybenn
_ACEOF
4598 225 jeremybenn
if ac_fn_c_try_cpp "$LINENO"; then :
4599
 
4600
else
4601
  # Broken: fails on valid input.
4602
continue
4603
fi
4604
rm -f conftest.err conftest.$ac_ext
4605
 
4606
  # OK, works on sane cases.  Now check whether nonexistent headers
4607
  # can be detected and how.
4608
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609
/* end confdefs.h.  */
4610
#include 
4611
_ACEOF
4612
if ac_fn_c_try_cpp "$LINENO"; then :
4613
  # Broken: success on invalid input.
4614
continue
4615
else
4616
  # Passes both tests.
4617
ac_preproc_ok=:
4618
break
4619
fi
4620
rm -f conftest.err conftest.$ac_ext
4621
 
4622
done
4623
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4624
rm -f conftest.err conftest.$ac_ext
4625
if $ac_preproc_ok; then :
4626
  break
4627
fi
4628
 
4629
    done
4630
    ac_cv_prog_CPP=$CPP
4631
 
4632
fi
4633
  CPP=$ac_cv_prog_CPP
4634
else
4635
  ac_cv_prog_CPP=$CPP
4636
fi
4637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4638
$as_echo "$CPP" >&6; }
4639
ac_preproc_ok=false
4640
for ac_c_preproc_warn_flag in '' yes
4641 131 jeremybenn
do
4642 225 jeremybenn
  # Use a header file that comes with gcc, so configuring glibc
4643
  # with a fresh cross-compiler works.
4644
  # Prefer  to  if __STDC__ is defined, since
4645
  #  exists even on freestanding compilers.
4646
  # On the NeXT, cc -E runs the code through the compiler's parser,
4647
  # not just through cpp. "Syntax error" is here to catch this case.
4648
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649
/* end confdefs.h.  */
4650
#ifdef __STDC__
4651
# include 
4652
#else
4653
# include 
4654
#endif
4655
                     Syntax error
4656 131 jeremybenn
_ACEOF
4657 225 jeremybenn
if ac_fn_c_try_cpp "$LINENO"; then :
4658
 
4659
else
4660
  # Broken: fails on valid input.
4661
continue
4662
fi
4663
rm -f conftest.err conftest.$ac_ext
4664
 
4665
  # OK, works on sane cases.  Now check whether nonexistent headers
4666
  # can be detected and how.
4667
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 131 jeremybenn
/* end confdefs.h.  */
4669 225 jeremybenn
#include 
4670
_ACEOF
4671
if ac_fn_c_try_cpp "$LINENO"; then :
4672
  # Broken: success on invalid input.
4673
continue
4674
else
4675
  # Passes both tests.
4676
ac_preproc_ok=:
4677
break
4678
fi
4679
rm -f conftest.err conftest.$ac_ext
4680
 
4681
done
4682
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4683
rm -f conftest.err conftest.$ac_ext
4684
if $ac_preproc_ok; then :
4685
 
4686
else
4687
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4688
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4689
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4690
See \`config.log' for more details." "$LINENO" 5; }
4691
fi
4692
 
4693
ac_ext=c
4694
ac_cpp='$CPP $CPPFLAGS'
4695
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4696
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4697
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4698
 
4699
 
4700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4701
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4702
if test "${ac_cv_path_GREP+set}" = set; then :
4703
  $as_echo_n "(cached) " >&6
4704
else
4705
  if test -z "$GREP"; then
4706
  ac_path_GREP_found=false
4707
  # Loop through the user's path and test for each of PROGNAME-LIST
4708
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4709
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4710
do
4711
  IFS=$as_save_IFS
4712
  test -z "$as_dir" && as_dir=.
4713
    for ac_prog in grep ggrep; do
4714
    for ac_exec_ext in '' $ac_executable_extensions; do
4715
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4716
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4717
# Check for GNU ac_path_GREP and select it if it is found.
4718
  # Check for GNU $ac_path_GREP
4719
case `"$ac_path_GREP" --version 2>&1` in
4720
*GNU*)
4721
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4722
*)
4723
  ac_count=0
4724
  $as_echo_n 0123456789 >"conftest.in"
4725
  while :
4726
  do
4727
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4728
    mv "conftest.tmp" "conftest.in"
4729
    cp "conftest.in" "conftest.nl"
4730
    $as_echo 'GREP' >> "conftest.nl"
4731
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4732
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4733
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4734
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4735
      # Best one so far, save it but keep looking for a better one
4736
      ac_cv_path_GREP="$ac_path_GREP"
4737
      ac_path_GREP_max=$ac_count
4738
    fi
4739
    # 10*(2^10) chars as input seems more than enough
4740
    test $ac_count -gt 10 && break
4741
  done
4742
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4743
esac
4744
 
4745
      $ac_path_GREP_found && break 3
4746
    done
4747
  done
4748
  done
4749
IFS=$as_save_IFS
4750
  if test -z "$ac_cv_path_GREP"; then
4751
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4752
  fi
4753
else
4754
  ac_cv_path_GREP=$GREP
4755
fi
4756
 
4757
fi
4758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4759
$as_echo "$ac_cv_path_GREP" >&6; }
4760
 GREP="$ac_cv_path_GREP"
4761
 
4762
 
4763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4764
$as_echo_n "checking for egrep... " >&6; }
4765
if test "${ac_cv_path_EGREP+set}" = set; then :
4766
  $as_echo_n "(cached) " >&6
4767
else
4768
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4769
   then ac_cv_path_EGREP="$GREP -E"
4770
   else
4771
     if test -z "$EGREP"; then
4772
  ac_path_EGREP_found=false
4773
  # Loop through the user's path and test for each of PROGNAME-LIST
4774
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4775
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4776
do
4777
  IFS=$as_save_IFS
4778
  test -z "$as_dir" && as_dir=.
4779
    for ac_prog in egrep; do
4780
    for ac_exec_ext in '' $ac_executable_extensions; do
4781
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4782
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4783
# Check for GNU ac_path_EGREP and select it if it is found.
4784
  # Check for GNU $ac_path_EGREP
4785
case `"$ac_path_EGREP" --version 2>&1` in
4786
*GNU*)
4787
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4788
*)
4789
  ac_count=0
4790
  $as_echo_n 0123456789 >"conftest.in"
4791
  while :
4792
  do
4793
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4794
    mv "conftest.tmp" "conftest.in"
4795
    cp "conftest.in" "conftest.nl"
4796
    $as_echo 'EGREP' >> "conftest.nl"
4797
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4798
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4799
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4800
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4801
      # Best one so far, save it but keep looking for a better one
4802
      ac_cv_path_EGREP="$ac_path_EGREP"
4803
      ac_path_EGREP_max=$ac_count
4804
    fi
4805
    # 10*(2^10) chars as input seems more than enough
4806
    test $ac_count -gt 10 && break
4807
  done
4808
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4809
esac
4810
 
4811
      $ac_path_EGREP_found && break 3
4812
    done
4813
  done
4814
  done
4815
IFS=$as_save_IFS
4816
  if test -z "$ac_cv_path_EGREP"; then
4817
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4818
  fi
4819
else
4820
  ac_cv_path_EGREP=$EGREP
4821
fi
4822
 
4823
   fi
4824
fi
4825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4826
$as_echo "$ac_cv_path_EGREP" >&6; }
4827
 EGREP="$ac_cv_path_EGREP"
4828
 
4829
 
4830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4831
$as_echo_n "checking for ANSI C header files... " >&6; }
4832
if test "${ac_cv_header_stdc+set}" = set; then :
4833
  $as_echo_n "(cached) " >&6
4834
else
4835
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836
/* end confdefs.h.  */
4837 131 jeremybenn
#include 
4838 225 jeremybenn
#include 
4839
#include 
4840
#include 
4841
 
4842 131 jeremybenn
int
4843
main ()
4844
{
4845 225 jeremybenn
 
4846 131 jeremybenn
  ;
4847
  return 0;
4848
}
4849
_ACEOF
4850 225 jeremybenn
if ac_fn_c_try_compile "$LINENO"; then :
4851
  ac_cv_header_stdc=yes
4852 131 jeremybenn
else
4853 225 jeremybenn
  ac_cv_header_stdc=no
4854
fi
4855
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4856 131 jeremybenn
 
4857 225 jeremybenn
if test $ac_cv_header_stdc = yes; then
4858
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4859
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860
/* end confdefs.h.  */
4861
#include 
4862
 
4863
_ACEOF
4864
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4865
  $EGREP "memchr" >/dev/null 2>&1; then :
4866
 
4867
else
4868
  ac_cv_header_stdc=no
4869 131 jeremybenn
fi
4870 225 jeremybenn
rm -f conftest*
4871
 
4872
fi
4873
 
4874
if test $ac_cv_header_stdc = yes; then
4875
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4876
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877
/* end confdefs.h.  */
4878
#include 
4879
 
4880 131 jeremybenn
_ACEOF
4881 225 jeremybenn
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4882
  $EGREP "free" >/dev/null 2>&1; then :
4883
 
4884
else
4885
  ac_cv_header_stdc=no
4886
fi
4887
rm -f conftest*
4888
 
4889
fi
4890
 
4891
if test $ac_cv_header_stdc = yes; then
4892
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4893
  if test "$cross_compiling" = yes; then :
4894
  :
4895
else
4896
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4897 131 jeremybenn
/* end confdefs.h.  */
4898 225 jeremybenn
#include 
4899
#include 
4900
#if ((' ' & 0x0FF) == 0x020)
4901
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4902
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4903
#else
4904
# define ISLOWER(c) \
4905
                   (('a' <= (c) && (c) <= 'i') \
4906
                     || ('j' <= (c) && (c) <= 'r') \
4907
                     || ('s' <= (c) && (c) <= 'z'))
4908
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4909
#endif
4910
 
4911
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4912 131 jeremybenn
int
4913
main ()
4914
{
4915 225 jeremybenn
  int i;
4916
  for (i = 0; i < 256; i++)
4917
    if (XOR (islower (i), ISLOWER (i))
4918
        || toupper (i) != TOUPPER (i))
4919
      return 2;
4920 131 jeremybenn
  return 0;
4921
}
4922
_ACEOF
4923 225 jeremybenn
if ac_fn_c_try_run "$LINENO"; then :
4924
 
4925 131 jeremybenn
else
4926 225 jeremybenn
  ac_cv_header_stdc=no
4927
fi
4928
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4929
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4930
fi
4931 131 jeremybenn
 
4932
fi
4933 225 jeremybenn
fi
4934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4935
$as_echo "$ac_cv_header_stdc" >&6; }
4936
if test $ac_cv_header_stdc = yes; then
4937
 
4938
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4939
 
4940
fi
4941
 
4942
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4943
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4944
                  inttypes.h stdint.h unistd.h
4945
do :
4946
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4947
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4948
"
4949
eval as_val=\$$as_ac_Header
4950
   if test "x$as_val" = x""yes; then :
4951
  cat >>confdefs.h <<_ACEOF
4952
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4953
_ACEOF
4954
 
4955
fi
4956
 
4957 131 jeremybenn
done
4958 225 jeremybenn
 
4959
 
4960
 
4961
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4962
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4963
  MINIX=yes
4964
else
4965
  MINIX=
4966 131 jeremybenn
fi
4967
 
4968 225 jeremybenn
 
4969
  if test "$MINIX" = yes; then
4970
 
4971
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4972
 
4973
 
4974
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4975
 
4976
 
4977
$as_echo "#define _MINIX 1" >>confdefs.h
4978
 
4979
  fi
4980
 
4981
 
4982
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4983
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4984
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4985
  $as_echo_n "(cached) " >&6
4986 131 jeremybenn
else
4987 225 jeremybenn
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988
/* end confdefs.h.  */
4989 131 jeremybenn
 
4990 225 jeremybenn
#         define __EXTENSIONS__ 1
4991
          $ac_includes_default
4992
int
4993
main ()
4994
{
4995
 
4996
  ;
4997
  return 0;
4998
}
4999
_ACEOF
5000
if ac_fn_c_try_compile "$LINENO"; then :
5001
  ac_cv_safe_to_define___extensions__=yes
5002
else
5003
  ac_cv_safe_to_define___extensions__=no
5004 131 jeremybenn
fi
5005 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5006
fi
5007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5008
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5009
  test $ac_cv_safe_to_define___extensions__ = yes &&
5010
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5011 131 jeremybenn
 
5012 225 jeremybenn
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5013 131 jeremybenn
 
5014 225 jeremybenn
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5015 131 jeremybenn
 
5016 225 jeremybenn
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5017 131 jeremybenn
 
5018 225 jeremybenn
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5019 131 jeremybenn
 
5020 225 jeremybenn
 
5021
 
5022
 
5023
 
5024 131 jeremybenn
if test -n "$ac_tool_prefix"; then
5025
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5026
set dummy ${ac_tool_prefix}ar; ac_word=$2
5027 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028
$as_echo_n "checking for $ac_word... " >&6; }
5029
if test "${ac_cv_prog_AR+set}" = set; then :
5030
  $as_echo_n "(cached) " >&6
5031 131 jeremybenn
else
5032
  if test -n "$AR"; then
5033
  ac_cv_prog_AR="$AR" # Let the user override the test.
5034
else
5035
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036
for as_dir in $PATH
5037
do
5038
  IFS=$as_save_IFS
5039
  test -z "$as_dir" && as_dir=.
5040 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
5041
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 131 jeremybenn
    ac_cv_prog_AR="${ac_tool_prefix}ar"
5043 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5044 131 jeremybenn
    break 2
5045
  fi
5046
done
5047 225 jeremybenn
  done
5048
IFS=$as_save_IFS
5049 131 jeremybenn
 
5050
fi
5051
fi
5052
AR=$ac_cv_prog_AR
5053
if test -n "$AR"; then
5054 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5055
$as_echo "$AR" >&6; }
5056 131 jeremybenn
else
5057 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058
$as_echo "no" >&6; }
5059 131 jeremybenn
fi
5060
 
5061 225 jeremybenn
 
5062 131 jeremybenn
fi
5063
if test -z "$ac_cv_prog_AR"; then
5064
  ac_ct_AR=$AR
5065
  # Extract the first word of "ar", so it can be a program name with args.
5066
set dummy ar; ac_word=$2
5067 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068
$as_echo_n "checking for $ac_word... " >&6; }
5069
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5070
  $as_echo_n "(cached) " >&6
5071 131 jeremybenn
else
5072
  if test -n "$ac_ct_AR"; then
5073
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5074
else
5075
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076
for as_dir in $PATH
5077
do
5078
  IFS=$as_save_IFS
5079
  test -z "$as_dir" && as_dir=.
5080 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
5081
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5082 131 jeremybenn
    ac_cv_prog_ac_ct_AR="ar"
5083 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5084 131 jeremybenn
    break 2
5085
  fi
5086
done
5087 225 jeremybenn
  done
5088
IFS=$as_save_IFS
5089 131 jeremybenn
 
5090
fi
5091
fi
5092
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5093
if test -n "$ac_ct_AR"; then
5094 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5095
$as_echo "$ac_ct_AR" >&6; }
5096 131 jeremybenn
else
5097 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098
$as_echo "no" >&6; }
5099 131 jeremybenn
fi
5100
 
5101 225 jeremybenn
  if test "x$ac_ct_AR" = x; then
5102
    AR=""
5103
  else
5104
    case $cross_compiling:$ac_tool_warned in
5105
yes:)
5106
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5107
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5108
ac_tool_warned=yes ;;
5109
esac
5110
    AR=$ac_ct_AR
5111
  fi
5112 131 jeremybenn
else
5113
  AR="$ac_cv_prog_AR"
5114
fi
5115
 
5116
if test -n "$ac_tool_prefix"; then
5117
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5118
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5119 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120
$as_echo_n "checking for $ac_word... " >&6; }
5121
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5122
  $as_echo_n "(cached) " >&6
5123 131 jeremybenn
else
5124
  if test -n "$RANLIB"; then
5125
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5126
else
5127
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128
for as_dir in $PATH
5129
do
5130
  IFS=$as_save_IFS
5131
  test -z "$as_dir" && as_dir=.
5132 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
5133
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134 131 jeremybenn
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5135 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 131 jeremybenn
    break 2
5137
  fi
5138
done
5139 225 jeremybenn
  done
5140
IFS=$as_save_IFS
5141 131 jeremybenn
 
5142
fi
5143
fi
5144
RANLIB=$ac_cv_prog_RANLIB
5145
if test -n "$RANLIB"; then
5146 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5147
$as_echo "$RANLIB" >&6; }
5148 131 jeremybenn
else
5149 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150
$as_echo "no" >&6; }
5151 131 jeremybenn
fi
5152
 
5153 225 jeremybenn
 
5154 131 jeremybenn
fi
5155
if test -z "$ac_cv_prog_RANLIB"; then
5156
  ac_ct_RANLIB=$RANLIB
5157
  # Extract the first word of "ranlib", so it can be a program name with args.
5158
set dummy ranlib; ac_word=$2
5159 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160
$as_echo_n "checking for $ac_word... " >&6; }
5161
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5162
  $as_echo_n "(cached) " >&6
5163 131 jeremybenn
else
5164
  if test -n "$ac_ct_RANLIB"; then
5165
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5166
else
5167
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168
for as_dir in $PATH
5169
do
5170
  IFS=$as_save_IFS
5171
  test -z "$as_dir" && as_dir=.
5172 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
5173
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174 131 jeremybenn
    ac_cv_prog_ac_ct_RANLIB="ranlib"
5175 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 131 jeremybenn
    break 2
5177
  fi
5178
done
5179 225 jeremybenn
  done
5180
IFS=$as_save_IFS
5181 131 jeremybenn
 
5182
fi
5183
fi
5184
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5185
if test -n "$ac_ct_RANLIB"; then
5186 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5187
$as_echo "$ac_ct_RANLIB" >&6; }
5188 131 jeremybenn
else
5189 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190
$as_echo "no" >&6; }
5191 131 jeremybenn
fi
5192
 
5193 225 jeremybenn
  if test "x$ac_ct_RANLIB" = x; then
5194
    RANLIB=":"
5195
  else
5196
    case $cross_compiling:$ac_tool_warned in
5197
yes:)
5198
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5199
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5200
ac_tool_warned=yes ;;
5201
esac
5202
    RANLIB=$ac_ct_RANLIB
5203
  fi
5204 131 jeremybenn
else
5205
  RANLIB="$ac_cv_prog_RANLIB"
5206
fi
5207
 
5208
 
5209 225 jeremybenn
# Check whether --enable-shared was given.
5210
if test "${enable_shared+set}" = set; then :
5211
  enableval=$enable_shared; p=${PACKAGE-default}
5212 131 jeremybenn
    case $enableval in
5213
    yes) enable_shared=yes ;;
5214
    no) enable_shared=no ;;
5215
    *)
5216
      enable_shared=no
5217
      # Look at the argument we got.  We use all the common list separators.
5218
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5219
      for pkg in $enableval; do
5220
        IFS="$lt_save_ifs"
5221
        if test "X$pkg" = "X$p"; then
5222
          enable_shared=yes
5223
        fi
5224
      done
5225
      IFS="$lt_save_ifs"
5226
      ;;
5227
    esac
5228
else
5229
  enable_shared=no
5230 225 jeremybenn
fi
5231 131 jeremybenn
 
5232
 
5233
 
5234
 
5235
 
5236
 
5237
 
5238
 
5239
 
5240
 
5241 225 jeremybenn
case `pwd` in
5242
  *\ * | *\     *)
5243
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5244
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5245
esac
5246 131 jeremybenn
 
5247
 
5248
 
5249 225 jeremybenn
macro_version='2.2.6'
5250
macro_revision='1.3012'
5251 131 jeremybenn
 
5252
 
5253
 
5254
 
5255
 
5256
 
5257
 
5258
 
5259
 
5260
 
5261
 
5262
 
5263
 
5264 225 jeremybenn
ltmain="$ac_aux_dir/ltmain.sh"
5265 131 jeremybenn
 
5266 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5267
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5268
if test "${ac_cv_path_SED+set}" = set; then :
5269
  $as_echo_n "(cached) " >&6
5270 131 jeremybenn
else
5271 225 jeremybenn
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5272
     for ac_i in 1 2 3 4 5 6 7; do
5273
       ac_script="$ac_script$as_nl$ac_script"
5274
     done
5275
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5276
     { ac_script=; unset ac_script;}
5277
     if test -z "$SED"; then
5278
  ac_path_SED_found=false
5279
  # Loop through the user's path and test for each of PROGNAME-LIST
5280
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 131 jeremybenn
for as_dir in $PATH
5282
do
5283
  IFS=$as_save_IFS
5284
  test -z "$as_dir" && as_dir=.
5285 225 jeremybenn
    for ac_prog in sed gsed; do
5286 131 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
5287 225 jeremybenn
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5288
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5289
# Check for GNU ac_path_SED and select it if it is found.
5290
  # Check for GNU $ac_path_SED
5291
case `"$ac_path_SED" --version 2>&1` in
5292
*GNU*)
5293
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5294
*)
5295
  ac_count=0
5296
  $as_echo_n 0123456789 >"conftest.in"
5297
  while :
5298
  do
5299
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5300
    mv "conftest.tmp" "conftest.in"
5301
    cp "conftest.in" "conftest.nl"
5302
    $as_echo '' >> "conftest.nl"
5303
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5304
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5305
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5306
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5307
      # Best one so far, save it but keep looking for a better one
5308
      ac_cv_path_SED="$ac_path_SED"
5309
      ac_path_SED_max=$ac_count
5310
    fi
5311
    # 10*(2^10) chars as input seems more than enough
5312
    test $ac_count -gt 10 && break
5313
  done
5314
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5315
esac
5316
 
5317
      $ac_path_SED_found && break 3
5318 131 jeremybenn
    done
5319
  done
5320 225 jeremybenn
  done
5321 131 jeremybenn
IFS=$as_save_IFS
5322 225 jeremybenn
  if test -z "$ac_cv_path_SED"; then
5323
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5324 131 jeremybenn
  fi
5325 225 jeremybenn
else
5326
  ac_cv_path_SED=$SED
5327
fi
5328 131 jeremybenn
 
5329
fi
5330 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5331
$as_echo "$ac_cv_path_SED" >&6; }
5332
 SED="$ac_cv_path_SED"
5333
  rm -f conftest.sed
5334 131 jeremybenn
 
5335
test -z "$SED" && SED=sed
5336
Xsed="$SED -e 1s/^X//"
5337
 
5338
 
5339
 
5340
 
5341
 
5342
 
5343
 
5344
 
5345
 
5346
 
5347
 
5348 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5349
$as_echo_n "checking for fgrep... " >&6; }
5350
if test "${ac_cv_path_FGREP+set}" = set; then :
5351
  $as_echo_n "(cached) " >&6
5352 131 jeremybenn
else
5353 225 jeremybenn
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5354
   then ac_cv_path_FGREP="$GREP -F"
5355
   else
5356
     if test -z "$FGREP"; then
5357
  ac_path_FGREP_found=false
5358
  # Loop through the user's path and test for each of PROGNAME-LIST
5359
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5361
do
5362
  IFS=$as_save_IFS
5363
  test -z "$as_dir" && as_dir=.
5364
    for ac_prog in fgrep; do
5365
    for ac_exec_ext in '' $ac_executable_extensions; do
5366
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5367
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5368
# Check for GNU ac_path_FGREP and select it if it is found.
5369
  # Check for GNU $ac_path_FGREP
5370
case `"$ac_path_FGREP" --version 2>&1` in
5371
*GNU*)
5372
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5373
*)
5374
  ac_count=0
5375
  $as_echo_n 0123456789 >"conftest.in"
5376
  while :
5377
  do
5378
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5379
    mv "conftest.tmp" "conftest.in"
5380
    cp "conftest.in" "conftest.nl"
5381
    $as_echo 'FGREP' >> "conftest.nl"
5382
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5383
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5384
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5385
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5386
      # Best one so far, save it but keep looking for a better one
5387
      ac_cv_path_FGREP="$ac_path_FGREP"
5388
      ac_path_FGREP_max=$ac_count
5389 131 jeremybenn
    fi
5390 225 jeremybenn
    # 10*(2^10) chars as input seems more than enough
5391
    test $ac_count -gt 10 && break
5392
  done
5393
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5394
esac
5395 131 jeremybenn
 
5396 225 jeremybenn
      $ac_path_FGREP_found && break 3
5397
    done
5398
  done
5399
  done
5400
IFS=$as_save_IFS
5401
  if test -z "$ac_cv_path_FGREP"; then
5402
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5403
  fi
5404 131 jeremybenn
else
5405 225 jeremybenn
  ac_cv_path_FGREP=$FGREP
5406 131 jeremybenn
fi
5407
 
5408 225 jeremybenn
   fi
5409
fi
5410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5411
$as_echo "$ac_cv_path_FGREP" >&6; }
5412
 FGREP="$ac_cv_path_FGREP"
5413 131 jeremybenn
 
5414 225 jeremybenn
 
5415 131 jeremybenn
test -z "$GREP" && GREP=grep
5416
 
5417
 
5418
 
5419
 
5420
 
5421
 
5422
 
5423
 
5424
 
5425
 
5426
 
5427
 
5428
 
5429
 
5430
 
5431
 
5432
 
5433
 
5434
 
5435 225 jeremybenn
# Check whether --with-gnu-ld was given.
5436
if test "${with_gnu_ld+set}" = set; then :
5437
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5438 131 jeremybenn
else
5439
  with_gnu_ld=no
5440 225 jeremybenn
fi
5441
 
5442 131 jeremybenn
ac_prog=ld
5443
if test "$GCC" = yes; then
5444
  # Check if gcc -print-prog-name=ld gives a path.
5445 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5446
$as_echo_n "checking for ld used by $CC... " >&6; }
5447 131 jeremybenn
  case $host in
5448
  *-*-mingw*)
5449
    # gcc leaves a trailing carriage return which upsets mingw
5450
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5451
  *)
5452
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5453
  esac
5454
  case $ac_prog in
5455
    # Accept absolute paths.
5456
    [\\/]* | ?:[\\/]*)
5457
      re_direlt='/[^/][^/]*/\.\./'
5458
      # Canonicalize the pathname of ld
5459
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5460
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5461
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5462
      done
5463
      test -z "$LD" && LD="$ac_prog"
5464
      ;;
5465
  "")
5466
    # If it fails, then pretend we aren't using GCC.
5467
    ac_prog=ld
5468
    ;;
5469
  *)
5470
    # If it is relative, then search for the first ld in PATH.
5471
    with_gnu_ld=unknown
5472
    ;;
5473
  esac
5474
elif test "$with_gnu_ld" = yes; then
5475 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5476
$as_echo_n "checking for GNU ld... " >&6; }
5477 131 jeremybenn
else
5478 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5479
$as_echo_n "checking for non-GNU ld... " >&6; }
5480 131 jeremybenn
fi
5481 225 jeremybenn
if test "${lt_cv_path_LD+set}" = set; then :
5482
  $as_echo_n "(cached) " >&6
5483 131 jeremybenn
else
5484
  if test -z "$LD"; then
5485
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5486
  for ac_dir in $PATH; do
5487
    IFS="$lt_save_ifs"
5488
    test -z "$ac_dir" && ac_dir=.
5489
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5490
      lt_cv_path_LD="$ac_dir/$ac_prog"
5491
      # Check to see if the program is GNU ld.  I'd rather use --version,
5492
      # but apparently some variants of GNU ld only accept -v.
5493
      # Break only if it was the GNU/non-GNU ld that we prefer.
5494
      case `"$lt_cv_path_LD" -v 2>&1 
5495
      *GNU* | *'with BFD'*)
5496
        test "$with_gnu_ld" != no && break
5497
        ;;
5498
      *)
5499
        test "$with_gnu_ld" != yes && break
5500
        ;;
5501
      esac
5502
    fi
5503
  done
5504
  IFS="$lt_save_ifs"
5505
else
5506
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5507
fi
5508
fi
5509
 
5510
LD="$lt_cv_path_LD"
5511
if test -n "$LD"; then
5512 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5513
$as_echo "$LD" >&6; }
5514 131 jeremybenn
else
5515 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516
$as_echo "no" >&6; }
5517 131 jeremybenn
fi
5518 225 jeremybenn
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5520
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5521
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5522
  $as_echo_n "(cached) " >&6
5523 131 jeremybenn
else
5524
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5525
case `$LD -v 2>&1 
5526
*GNU* | *'with BFD'*)
5527
  lt_cv_prog_gnu_ld=yes
5528
  ;;
5529
*)
5530
  lt_cv_prog_gnu_ld=no
5531
  ;;
5532
esac
5533
fi
5534 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5535
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5536 131 jeremybenn
with_gnu_ld=$lt_cv_prog_gnu_ld
5537
 
5538
 
5539
 
5540
 
5541
 
5542
 
5543
 
5544
 
5545
 
5546 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5547
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5548
if test "${lt_cv_path_NM+set}" = set; then :
5549
  $as_echo_n "(cached) " >&6
5550 131 jeremybenn
else
5551
  if test -n "$NM"; then
5552
  # Let the user override the test.
5553
  lt_cv_path_NM="$NM"
5554
else
5555
  lt_nm_to_check="${ac_tool_prefix}nm"
5556
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5557
    lt_nm_to_check="$lt_nm_to_check nm"
5558
  fi
5559
  for lt_tmp_nm in $lt_nm_to_check; do
5560
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5561
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5562
      IFS="$lt_save_ifs"
5563
      test -z "$ac_dir" && ac_dir=.
5564
      tmp_nm="$ac_dir/$lt_tmp_nm"
5565
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5566
        # Check to see if the nm accepts a BSD-compat flag.
5567
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5568
        #   nm: unknown option "B" ignored
5569
        # Tru64's nm complains that /dev/null is an invalid object file
5570
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5571
        */dev/null* | *'Invalid file or object type'*)
5572
          lt_cv_path_NM="$tmp_nm -B"
5573
          break
5574
          ;;
5575
        *)
5576
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5577
          */dev/null*)
5578
            lt_cv_path_NM="$tmp_nm -p"
5579
            break
5580
            ;;
5581
          *)
5582
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5583
            continue # so that we can try to find one that supports BSD flags
5584
            ;;
5585
          esac
5586
          ;;
5587
        esac
5588
      fi
5589
    done
5590
    IFS="$lt_save_ifs"
5591
  done
5592
  : ${lt_cv_path_NM=no}
5593
fi
5594
fi
5595 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5596
$as_echo "$lt_cv_path_NM" >&6; }
5597 131 jeremybenn
if test "$lt_cv_path_NM" != "no"; then
5598
  NM="$lt_cv_path_NM"
5599
else
5600
  # Didn't find any BSD compatible name lister, look for dumpbin.
5601
  if test -n "$ac_tool_prefix"; then
5602
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5603
  do
5604
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5605
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5606 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5607
$as_echo_n "checking for $ac_word... " >&6; }
5608
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5609
  $as_echo_n "(cached) " >&6
5610 131 jeremybenn
else
5611
  if test -n "$DUMPBIN"; then
5612
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5613
else
5614
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615
for as_dir in $PATH
5616
do
5617
  IFS=$as_save_IFS
5618
  test -z "$as_dir" && as_dir=.
5619 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
5620
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5621 131 jeremybenn
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5622 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 131 jeremybenn
    break 2
5624
  fi
5625
done
5626 225 jeremybenn
  done
5627
IFS=$as_save_IFS
5628 131 jeremybenn
 
5629
fi
5630
fi
5631
DUMPBIN=$ac_cv_prog_DUMPBIN
5632
if test -n "$DUMPBIN"; then
5633 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5634
$as_echo "$DUMPBIN" >&6; }
5635 131 jeremybenn
else
5636 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637
$as_echo "no" >&6; }
5638 131 jeremybenn
fi
5639
 
5640 225 jeremybenn
 
5641 131 jeremybenn
    test -n "$DUMPBIN" && break
5642
  done
5643
fi
5644
if test -z "$DUMPBIN"; then
5645
  ac_ct_DUMPBIN=$DUMPBIN
5646
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5647
do
5648
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5649
set dummy $ac_prog; ac_word=$2
5650 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5651
$as_echo_n "checking for $ac_word... " >&6; }
5652
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5653
  $as_echo_n "(cached) " >&6
5654 131 jeremybenn
else
5655
  if test -n "$ac_ct_DUMPBIN"; then
5656
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5657
else
5658
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659
for as_dir in $PATH
5660
do
5661
  IFS=$as_save_IFS
5662
  test -z "$as_dir" && as_dir=.
5663 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
5664
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5665 131 jeremybenn
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5666 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5667 131 jeremybenn
    break 2
5668
  fi
5669
done
5670 225 jeremybenn
  done
5671
IFS=$as_save_IFS
5672 131 jeremybenn
 
5673
fi
5674
fi
5675
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5676
if test -n "$ac_ct_DUMPBIN"; then
5677 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5678
$as_echo "$ac_ct_DUMPBIN" >&6; }
5679 131 jeremybenn
else
5680 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5681
$as_echo "no" >&6; }
5682 131 jeremybenn
fi
5683
 
5684 225 jeremybenn
 
5685 131 jeremybenn
  test -n "$ac_ct_DUMPBIN" && break
5686
done
5687
 
5688 225 jeremybenn
  if test "x$ac_ct_DUMPBIN" = x; then
5689
    DUMPBIN=":"
5690
  else
5691
    case $cross_compiling:$ac_tool_warned in
5692
yes:)
5693
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5694
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5695
ac_tool_warned=yes ;;
5696
esac
5697
    DUMPBIN=$ac_ct_DUMPBIN
5698
  fi
5699 131 jeremybenn
fi
5700
 
5701
 
5702
  if test "$DUMPBIN" != ":"; then
5703
    NM="$DUMPBIN"
5704
  fi
5705
fi
5706
test -z "$NM" && NM=nm
5707
 
5708
 
5709
 
5710
 
5711
 
5712
 
5713 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5714
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5715
if test "${lt_cv_nm_interface+set}" = set; then :
5716
  $as_echo_n "(cached) " >&6
5717 131 jeremybenn
else
5718
  lt_cv_nm_interface="BSD nm"
5719
  echo "int some_variable = 0;" > conftest.$ac_ext
5720 225 jeremybenn
  (eval echo "\"\$as_me:5720: $ac_compile\"" >&5)
5721 131 jeremybenn
  (eval "$ac_compile" 2>conftest.err)
5722
  cat conftest.err >&5
5723 225 jeremybenn
  (eval echo "\"\$as_me:5723: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5724 131 jeremybenn
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5725
  cat conftest.err >&5
5726 225 jeremybenn
  (eval echo "\"\$as_me:5726: output\"" >&5)
5727 131 jeremybenn
  cat conftest.out >&5
5728
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5729
    lt_cv_nm_interface="MS dumpbin"
5730
  fi
5731
  rm -f conftest*
5732
fi
5733 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5734
$as_echo "$lt_cv_nm_interface" >&6; }
5735 131 jeremybenn
 
5736 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5737
$as_echo_n "checking whether ln -s works... " >&6; }
5738 131 jeremybenn
LN_S=$as_ln_s
5739
if test "$LN_S" = "ln -s"; then
5740 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5741
$as_echo "yes" >&6; }
5742 131 jeremybenn
else
5743 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5744
$as_echo "no, using $LN_S" >&6; }
5745 131 jeremybenn
fi
5746
 
5747
# find the maximum length of command line arguments
5748 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5749
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5750
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5751
  $as_echo_n "(cached) " >&6
5752 131 jeremybenn
else
5753
    i=0
5754
  teststring="ABCD"
5755
 
5756
  case $build_os in
5757
  msdosdjgpp*)
5758
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5759
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5760
    # during glob expansion).  Even if it were fixed, the result of this
5761
    # check would be larger than it should be.
5762
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5763
    ;;
5764
 
5765
  gnu*)
5766
    # Under GNU Hurd, this test is not required because there is
5767
    # no limit to the length of command line arguments.
5768
    # Libtool will interpret -1 as no limit whatsoever
5769
    lt_cv_sys_max_cmd_len=-1;
5770
    ;;
5771
 
5772 225 jeremybenn
  cygwin* | mingw* | cegcc*)
5773 131 jeremybenn
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5774
    # about 5 minutes as the teststring grows exponentially.
5775
    # Worse, since 9x/ME are not pre-emptively multitasking,
5776
    # you end up with a "frozen" computer, even though with patience
5777
    # the test eventually succeeds (with a max line length of 256k).
5778
    # Instead, let's just punt: use the minimum linelength reported by
5779
    # all of the supported platforms: 8192 (on NT/2K/XP).
5780
    lt_cv_sys_max_cmd_len=8192;
5781
    ;;
5782
 
5783
  amigaos*)
5784
    # On AmigaOS with pdksh, this test takes hours, literally.
5785
    # So we just punt and use a minimum line length of 8192.
5786
    lt_cv_sys_max_cmd_len=8192;
5787
    ;;
5788
 
5789
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5790
    # This has been around since 386BSD, at least.  Likely further.
5791
    if test -x /sbin/sysctl; then
5792
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5793
    elif test -x /usr/sbin/sysctl; then
5794
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5795
    else
5796
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5797
    fi
5798
    # And add a safety zone
5799
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5800
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5801
    ;;
5802
 
5803
  interix*)
5804
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5805
    lt_cv_sys_max_cmd_len=196608
5806
    ;;
5807
 
5808
  osf*)
5809
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5810
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5811
    # nice to cause kernel panics so lets avoid the loop below.
5812
    # First set a reasonable default.
5813
    lt_cv_sys_max_cmd_len=16384
5814
    #
5815
    if test -x /sbin/sysconfig; then
5816
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5817
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5818
      esac
5819
    fi
5820
    ;;
5821
  sco3.2v5*)
5822
    lt_cv_sys_max_cmd_len=102400
5823
    ;;
5824
  sysv5* | sco5v6* | sysv4.2uw2*)
5825
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5826
    if test -n "$kargmax"; then
5827
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5828
    else
5829
      lt_cv_sys_max_cmd_len=32768
5830
    fi
5831
    ;;
5832
  *)
5833 225 jeremybenn
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5834
    if test -n "$lt_cv_sys_max_cmd_len"; then
5835 131 jeremybenn
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5836
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5837
    else
5838
      # Make teststring a little bigger before we do anything with it.
5839
      # a 1K string should be a reasonable start.
5840
      for i in 1 2 3 4 5 6 7 8 ; do
5841
        teststring=$teststring$teststring
5842
      done
5843
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5844
      # If test is not a shell built-in, we'll probably end up computing a
5845
      # maximum length that is only half of the actual maximum length, but
5846
      # we can't tell.
5847
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5848
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5849
              test $i != 17 # 1/2 MB should be enough
5850
      do
5851
        i=`expr $i + 1`
5852
        teststring=$teststring$teststring
5853
      done
5854
      # Only check the string length outside the loop.
5855
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5856
      teststring=
5857
      # Add a significant safety factor because C++ compilers can tack on
5858
      # massive amounts of additional arguments before passing them to the
5859
      # linker.  It appears as though 1/2 is a usable value.
5860
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5861
    fi
5862
    ;;
5863
  esac
5864
 
5865
fi
5866
 
5867
if test -n $lt_cv_sys_max_cmd_len ; then
5868 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5869
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5870 131 jeremybenn
else
5871 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5872
$as_echo "none" >&6; }
5873 131 jeremybenn
fi
5874
max_cmd_len=$lt_cv_sys_max_cmd_len
5875
 
5876
 
5877
 
5878
 
5879
 
5880
 
5881
: ${CP="cp -f"}
5882
: ${MV="mv -f"}
5883
: ${RM="rm -f"}
5884
 
5885 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5886
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5887 131 jeremybenn
# Try some XSI features
5888
xsi_shell=no
5889
( _lt_dummy="a/b/c"
5890
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5891 225 jeremybenn
      = c,a/b,, \
5892
    && eval 'test $(( 1 + 1 )) -eq 2 \
5893
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5894 131 jeremybenn
  && xsi_shell=yes
5895 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5896
$as_echo "$xsi_shell" >&6; }
5897 131 jeremybenn
 
5898
 
5899 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5900
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5901 131 jeremybenn
lt_shell_append=no
5902
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5903
    >/dev/null 2>&1 \
5904
  && lt_shell_append=yes
5905 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5906
$as_echo "$lt_shell_append" >&6; }
5907 131 jeremybenn
 
5908
 
5909
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5910
  lt_unset=unset
5911
else
5912
  lt_unset=false
5913
fi
5914
 
5915
 
5916
 
5917
 
5918
 
5919
# test EBCDIC or ASCII
5920
case `echo X|tr X '\101'` in
5921
 A) # ASCII based system
5922
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5923
  lt_SP2NL='tr \040 \012'
5924
  lt_NL2SP='tr \015\012 \040\040'
5925
  ;;
5926
 *) # EBCDIC based system
5927
  lt_SP2NL='tr \100 \n'
5928
  lt_NL2SP='tr \r\n \100\100'
5929
  ;;
5930
esac
5931
 
5932
 
5933
 
5934
 
5935
 
5936
 
5937
 
5938
 
5939
 
5940 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5941
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5942
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5943
  $as_echo_n "(cached) " >&6
5944 131 jeremybenn
else
5945
  lt_cv_ld_reload_flag='-r'
5946
fi
5947 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5948
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5949 131 jeremybenn
reload_flag=$lt_cv_ld_reload_flag
5950
case $reload_flag in
5951
"" | " "*) ;;
5952
*) reload_flag=" $reload_flag" ;;
5953
esac
5954
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5955
case $host_os in
5956
  darwin*)
5957
    if test "$GCC" = yes; then
5958
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5959
    else
5960
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5961
    fi
5962
    ;;
5963
esac
5964
 
5965
 
5966
 
5967
 
5968
 
5969
 
5970
 
5971
 
5972
 
5973 225 jeremybenn
if test -n "$ac_tool_prefix"; then
5974
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5975
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977
$as_echo_n "checking for $ac_word... " >&6; }
5978
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5979
  $as_echo_n "(cached) " >&6
5980
else
5981
  if test -n "$OBJDUMP"; then
5982
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5983
else
5984
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985
for as_dir in $PATH
5986
do
5987
  IFS=$as_save_IFS
5988
  test -z "$as_dir" && as_dir=.
5989
    for ac_exec_ext in '' $ac_executable_extensions; do
5990
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5991
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5992
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993
    break 2
5994
  fi
5995
done
5996
  done
5997
IFS=$as_save_IFS
5998 131 jeremybenn
 
5999 225 jeremybenn
fi
6000
fi
6001
OBJDUMP=$ac_cv_prog_OBJDUMP
6002
if test -n "$OBJDUMP"; then
6003
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6004
$as_echo "$OBJDUMP" >&6; }
6005 131 jeremybenn
else
6006 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007
$as_echo "no" >&6; }
6008
fi
6009
 
6010
 
6011
fi
6012
if test -z "$ac_cv_prog_OBJDUMP"; then
6013
  ac_ct_OBJDUMP=$OBJDUMP
6014
  # Extract the first word of "objdump", so it can be a program name with args.
6015
set dummy objdump; ac_word=$2
6016
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017
$as_echo_n "checking for $ac_word... " >&6; }
6018
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6019
  $as_echo_n "(cached) " >&6
6020
else
6021
  if test -n "$ac_ct_OBJDUMP"; then
6022
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6023
else
6024
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025
for as_dir in $PATH
6026
do
6027
  IFS=$as_save_IFS
6028
  test -z "$as_dir" && as_dir=.
6029
    for ac_exec_ext in '' $ac_executable_extensions; do
6030
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6031
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6032
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6033
    break 2
6034
  fi
6035
done
6036
  done
6037
IFS=$as_save_IFS
6038
 
6039
fi
6040
fi
6041
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6042
if test -n "$ac_ct_OBJDUMP"; then
6043
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6044
$as_echo "$ac_ct_OBJDUMP" >&6; }
6045
else
6046
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6047
$as_echo "no" >&6; }
6048
fi
6049
 
6050
  if test "x$ac_ct_OBJDUMP" = x; then
6051
    OBJDUMP="false"
6052
  else
6053
    case $cross_compiling:$ac_tool_warned in
6054
yes:)
6055
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6056
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6057
ac_tool_warned=yes ;;
6058
esac
6059
    OBJDUMP=$ac_ct_OBJDUMP
6060
  fi
6061
else
6062
  OBJDUMP="$ac_cv_prog_OBJDUMP"
6063
fi
6064
 
6065
test -z "$OBJDUMP" && OBJDUMP=objdump
6066
 
6067
 
6068
 
6069
 
6070
 
6071
 
6072
 
6073
 
6074
 
6075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6076
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6077
if test "${lt_cv_deplibs_check_method+set}" = set; then :
6078
  $as_echo_n "(cached) " >&6
6079
else
6080 131 jeremybenn
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6081
lt_cv_file_magic_test_file=
6082
lt_cv_deplibs_check_method='unknown'
6083
# Need to set the preceding variable on all platforms that support
6084
# interlibrary dependencies.
6085
# 'none' -- dependencies not supported.
6086
# `unknown' -- same as none, but documents that we really don't know.
6087
# 'pass_all' -- all dependencies passed with no checks.
6088
# 'test_compile' -- check by making test program.
6089
# 'file_magic [[regex]]' -- check by looking for files in library path
6090
# which responds to the $file_magic_cmd with a given extended regex.
6091
# If you have `file' or equivalent on your system and you're not sure
6092
# whether `pass_all' will *always* work, you probably want this one.
6093
 
6094
case $host_os in
6095 225 jeremybenn
aix[4-9]*)
6096 131 jeremybenn
  lt_cv_deplibs_check_method=pass_all
6097
  ;;
6098
 
6099
beos*)
6100
  lt_cv_deplibs_check_method=pass_all
6101
  ;;
6102
 
6103
bsdi[45]*)
6104
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6105
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6106
  lt_cv_file_magic_test_file=/shlib/libc.so
6107
  ;;
6108
 
6109
cygwin*)
6110
  # func_win32_libid is a shell function defined in ltmain.sh
6111
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6112
  lt_cv_file_magic_cmd='func_win32_libid'
6113
  ;;
6114
 
6115
mingw* | pw32*)
6116
  # Base MSYS/MinGW do not provide the 'file' command needed by
6117
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6118
  # unless we find 'file', for example because we are cross-compiling.
6119
  if ( file / ) >/dev/null 2>&1; then
6120
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6121
    lt_cv_file_magic_cmd='func_win32_libid'
6122
  else
6123
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6124
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6125
  fi
6126
  ;;
6127
 
6128 225 jeremybenn
cegcc)
6129
  # use the weaker test based on 'objdump'. See mingw*.
6130
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6131
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6132
  ;;
6133
 
6134 131 jeremybenn
darwin* | rhapsody*)
6135
  lt_cv_deplibs_check_method=pass_all
6136
  ;;
6137
 
6138
freebsd* | dragonfly*)
6139
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6140
    case $host_cpu in
6141
    i*86 )
6142
      # Not sure whether the presence of OpenBSD here was a mistake.
6143
      # Let's accept both of them until this is cleared up.
6144
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6145
      lt_cv_file_magic_cmd=/usr/bin/file
6146
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6147
      ;;
6148
    esac
6149
  else
6150
    lt_cv_deplibs_check_method=pass_all
6151
  fi
6152
  ;;
6153
 
6154
gnu*)
6155
  lt_cv_deplibs_check_method=pass_all
6156
  ;;
6157
 
6158
hpux10.20* | hpux11*)
6159
  lt_cv_file_magic_cmd=/usr/bin/file
6160
  case $host_cpu in
6161
  ia64*)
6162
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6163
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6164
    ;;
6165
  hppa*64*)
6166
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6167
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6168
    ;;
6169
  *)
6170
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6171
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6172
    ;;
6173
  esac
6174
  ;;
6175
 
6176
interix[3-9]*)
6177
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6178
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6179
  ;;
6180
 
6181
irix5* | irix6* | nonstopux*)
6182
  case $LD in
6183
  *-32|*"-32 ") libmagic=32-bit;;
6184
  *-n32|*"-n32 ") libmagic=N32;;
6185
  *-64|*"-64 ") libmagic=64-bit;;
6186
  *) libmagic=never-match;;
6187
  esac
6188
  lt_cv_deplibs_check_method=pass_all
6189
  ;;
6190
 
6191
# This must be Linux ELF.
6192 225 jeremybenn
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6193 131 jeremybenn
  lt_cv_deplibs_check_method=pass_all
6194
  ;;
6195
 
6196
netbsd*)
6197
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6198
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6199
  else
6200
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6201
  fi
6202
  ;;
6203
 
6204
newos6*)
6205
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6206
  lt_cv_file_magic_cmd=/usr/bin/file
6207
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6208
  ;;
6209
 
6210
*nto* | *qnx*)
6211
  lt_cv_deplibs_check_method=pass_all
6212
  ;;
6213
 
6214
openbsd*)
6215
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6216
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6217
  else
6218
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6219
  fi
6220
  ;;
6221
 
6222
osf3* | osf4* | osf5*)
6223
  lt_cv_deplibs_check_method=pass_all
6224
  ;;
6225
 
6226
rdos*)
6227
  lt_cv_deplibs_check_method=pass_all
6228
  ;;
6229
 
6230
solaris*)
6231
  lt_cv_deplibs_check_method=pass_all
6232
  ;;
6233
 
6234
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6235
  lt_cv_deplibs_check_method=pass_all
6236
  ;;
6237
 
6238
sysv4 | sysv4.3*)
6239
  case $host_vendor in
6240
  motorola)
6241
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6242
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6243
    ;;
6244
  ncr)
6245
    lt_cv_deplibs_check_method=pass_all
6246
    ;;
6247
  sequent)
6248
    lt_cv_file_magic_cmd='/bin/file'
6249
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6250
    ;;
6251
  sni)
6252
    lt_cv_file_magic_cmd='/bin/file'
6253
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6254
    lt_cv_file_magic_test_file=/lib/libc.so
6255
    ;;
6256
  siemens)
6257
    lt_cv_deplibs_check_method=pass_all
6258
    ;;
6259
  pc)
6260
    lt_cv_deplibs_check_method=pass_all
6261
    ;;
6262
  esac
6263
  ;;
6264
 
6265
tpf*)
6266
  lt_cv_deplibs_check_method=pass_all
6267
  ;;
6268
esac
6269
 
6270
fi
6271 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6272
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6273 131 jeremybenn
file_magic_cmd=$lt_cv_file_magic_cmd
6274
deplibs_check_method=$lt_cv_deplibs_check_method
6275
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6276
 
6277
 
6278
 
6279
 
6280
 
6281
 
6282
 
6283
 
6284
 
6285
 
6286
 
6287
 
6288
if test -n "$ac_tool_prefix"; then
6289
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6290
set dummy ${ac_tool_prefix}ar; ac_word=$2
6291 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292
$as_echo_n "checking for $ac_word... " >&6; }
6293
if test "${ac_cv_prog_AR+set}" = set; then :
6294
  $as_echo_n "(cached) " >&6
6295 131 jeremybenn
else
6296
  if test -n "$AR"; then
6297
  ac_cv_prog_AR="$AR" # Let the user override the test.
6298
else
6299
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300
for as_dir in $PATH
6301
do
6302
  IFS=$as_save_IFS
6303
  test -z "$as_dir" && as_dir=.
6304 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
6305
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6306 131 jeremybenn
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6307 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6308 131 jeremybenn
    break 2
6309
  fi
6310
done
6311 225 jeremybenn
  done
6312
IFS=$as_save_IFS
6313 131 jeremybenn
 
6314
fi
6315
fi
6316
AR=$ac_cv_prog_AR
6317
if test -n "$AR"; then
6318 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6319
$as_echo "$AR" >&6; }
6320 131 jeremybenn
else
6321 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6322
$as_echo "no" >&6; }
6323 131 jeremybenn
fi
6324
 
6325 225 jeremybenn
 
6326 131 jeremybenn
fi
6327
if test -z "$ac_cv_prog_AR"; then
6328
  ac_ct_AR=$AR
6329
  # Extract the first word of "ar", so it can be a program name with args.
6330
set dummy ar; ac_word=$2
6331 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332
$as_echo_n "checking for $ac_word... " >&6; }
6333
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6334
  $as_echo_n "(cached) " >&6
6335 131 jeremybenn
else
6336
  if test -n "$ac_ct_AR"; then
6337
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6338
else
6339
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340
for as_dir in $PATH
6341
do
6342
  IFS=$as_save_IFS
6343
  test -z "$as_dir" && as_dir=.
6344 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
6345
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6346 131 jeremybenn
    ac_cv_prog_ac_ct_AR="ar"
6347 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348 131 jeremybenn
    break 2
6349
  fi
6350
done
6351 225 jeremybenn
  done
6352
IFS=$as_save_IFS
6353 131 jeremybenn
 
6354
fi
6355
fi
6356
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6357
if test -n "$ac_ct_AR"; then
6358 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6359
$as_echo "$ac_ct_AR" >&6; }
6360 131 jeremybenn
else
6361 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362
$as_echo "no" >&6; }
6363 131 jeremybenn
fi
6364
 
6365 225 jeremybenn
  if test "x$ac_ct_AR" = x; then
6366
    AR="false"
6367
  else
6368
    case $cross_compiling:$ac_tool_warned in
6369
yes:)
6370
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6371
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6372
ac_tool_warned=yes ;;
6373
esac
6374
    AR=$ac_ct_AR
6375
  fi
6376 131 jeremybenn
else
6377
  AR="$ac_cv_prog_AR"
6378
fi
6379
 
6380
test -z "$AR" && AR=ar
6381
test -z "$AR_FLAGS" && AR_FLAGS=cru
6382
 
6383
 
6384
 
6385
 
6386
 
6387
 
6388
 
6389
 
6390
 
6391
 
6392
 
6393
if test -n "$ac_tool_prefix"; then
6394
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6395
set dummy ${ac_tool_prefix}strip; ac_word=$2
6396 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6397
$as_echo_n "checking for $ac_word... " >&6; }
6398
if test "${ac_cv_prog_STRIP+set}" = set; then :
6399
  $as_echo_n "(cached) " >&6
6400 131 jeremybenn
else
6401
  if test -n "$STRIP"; then
6402
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6403
else
6404
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405
for as_dir in $PATH
6406
do
6407
  IFS=$as_save_IFS
6408
  test -z "$as_dir" && as_dir=.
6409 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
6410
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6411 131 jeremybenn
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6412 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6413 131 jeremybenn
    break 2
6414
  fi
6415
done
6416 225 jeremybenn
  done
6417
IFS=$as_save_IFS
6418 131 jeremybenn
 
6419
fi
6420
fi
6421
STRIP=$ac_cv_prog_STRIP
6422
if test -n "$STRIP"; then
6423 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6424
$as_echo "$STRIP" >&6; }
6425 131 jeremybenn
else
6426 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427
$as_echo "no" >&6; }
6428 131 jeremybenn
fi
6429
 
6430 225 jeremybenn
 
6431 131 jeremybenn
fi
6432
if test -z "$ac_cv_prog_STRIP"; then
6433
  ac_ct_STRIP=$STRIP
6434
  # Extract the first word of "strip", so it can be a program name with args.
6435
set dummy strip; ac_word=$2
6436 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6437
$as_echo_n "checking for $ac_word... " >&6; }
6438
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6439
  $as_echo_n "(cached) " >&6
6440 131 jeremybenn
else
6441
  if test -n "$ac_ct_STRIP"; then
6442
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6443
else
6444
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445
for as_dir in $PATH
6446
do
6447
  IFS=$as_save_IFS
6448
  test -z "$as_dir" && as_dir=.
6449 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
6450
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6451 131 jeremybenn
    ac_cv_prog_ac_ct_STRIP="strip"
6452 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 131 jeremybenn
    break 2
6454
  fi
6455
done
6456 225 jeremybenn
  done
6457
IFS=$as_save_IFS
6458 131 jeremybenn
 
6459
fi
6460
fi
6461
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6462
if test -n "$ac_ct_STRIP"; then
6463 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6464
$as_echo "$ac_ct_STRIP" >&6; }
6465 131 jeremybenn
else
6466 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6467
$as_echo "no" >&6; }
6468 131 jeremybenn
fi
6469
 
6470 225 jeremybenn
  if test "x$ac_ct_STRIP" = x; then
6471
    STRIP=":"
6472
  else
6473
    case $cross_compiling:$ac_tool_warned in
6474
yes:)
6475
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6476
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6477
ac_tool_warned=yes ;;
6478
esac
6479
    STRIP=$ac_ct_STRIP
6480
  fi
6481 131 jeremybenn
else
6482
  STRIP="$ac_cv_prog_STRIP"
6483
fi
6484
 
6485
test -z "$STRIP" && STRIP=:
6486
 
6487
 
6488
 
6489
 
6490
 
6491
 
6492
if test -n "$ac_tool_prefix"; then
6493
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6494
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6495 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496
$as_echo_n "checking for $ac_word... " >&6; }
6497
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6498
  $as_echo_n "(cached) " >&6
6499 131 jeremybenn
else
6500
  if test -n "$RANLIB"; then
6501
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6502
else
6503
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6504
for as_dir in $PATH
6505
do
6506
  IFS=$as_save_IFS
6507
  test -z "$as_dir" && as_dir=.
6508 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
6509
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6510 131 jeremybenn
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6511 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6512 131 jeremybenn
    break 2
6513
  fi
6514
done
6515 225 jeremybenn
  done
6516
IFS=$as_save_IFS
6517 131 jeremybenn
 
6518
fi
6519
fi
6520
RANLIB=$ac_cv_prog_RANLIB
6521
if test -n "$RANLIB"; then
6522 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6523
$as_echo "$RANLIB" >&6; }
6524 131 jeremybenn
else
6525 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526
$as_echo "no" >&6; }
6527 131 jeremybenn
fi
6528
 
6529 225 jeremybenn
 
6530 131 jeremybenn
fi
6531
if test -z "$ac_cv_prog_RANLIB"; then
6532
  ac_ct_RANLIB=$RANLIB
6533
  # Extract the first word of "ranlib", so it can be a program name with args.
6534
set dummy ranlib; ac_word=$2
6535 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6536
$as_echo_n "checking for $ac_word... " >&6; }
6537
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6538
  $as_echo_n "(cached) " >&6
6539 131 jeremybenn
else
6540
  if test -n "$ac_ct_RANLIB"; then
6541
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6542
else
6543
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6544
for as_dir in $PATH
6545
do
6546
  IFS=$as_save_IFS
6547
  test -z "$as_dir" && as_dir=.
6548 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
6549
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6550 131 jeremybenn
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6551 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6552 131 jeremybenn
    break 2
6553
  fi
6554
done
6555 225 jeremybenn
  done
6556
IFS=$as_save_IFS
6557 131 jeremybenn
 
6558
fi
6559
fi
6560
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6561
if test -n "$ac_ct_RANLIB"; then
6562 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6563
$as_echo "$ac_ct_RANLIB" >&6; }
6564 131 jeremybenn
else
6565 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6566
$as_echo "no" >&6; }
6567 131 jeremybenn
fi
6568
 
6569 225 jeremybenn
  if test "x$ac_ct_RANLIB" = x; then
6570
    RANLIB=":"
6571
  else
6572
    case $cross_compiling:$ac_tool_warned in
6573
yes:)
6574
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6575
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6576
ac_tool_warned=yes ;;
6577
esac
6578
    RANLIB=$ac_ct_RANLIB
6579
  fi
6580 131 jeremybenn
else
6581
  RANLIB="$ac_cv_prog_RANLIB"
6582
fi
6583
 
6584
test -z "$RANLIB" && RANLIB=:
6585
 
6586
 
6587
 
6588
 
6589
 
6590
 
6591
# Determine commands to create old-style static archives.
6592 225 jeremybenn
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6593 131 jeremybenn
old_postinstall_cmds='chmod 644 $oldlib'
6594
old_postuninstall_cmds=
6595
 
6596
if test -n "$RANLIB"; then
6597
  case $host_os in
6598
  openbsd*)
6599
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6600
    ;;
6601
  *)
6602
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6603
    ;;
6604
  esac
6605
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6606
fi
6607
 
6608
 
6609
 
6610
 
6611
 
6612
 
6613
 
6614
 
6615
 
6616
 
6617
 
6618
 
6619
 
6620
 
6621
 
6622
 
6623
 
6624
 
6625
 
6626
 
6627
 
6628
 
6629
 
6630
 
6631
 
6632
 
6633
 
6634
 
6635
 
6636
 
6637
 
6638
 
6639
 
6640
 
6641
# If no C compiler was specified, use CC.
6642
LTCC=${LTCC-"$CC"}
6643
 
6644
# If no C compiler flags were specified, use CFLAGS.
6645
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6646
 
6647
# Allow CC to be a program name with arguments.
6648
compiler=$CC
6649
 
6650
 
6651
# Check for command to grab the raw symbol name followed by C symbol from nm.
6652 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6653
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6654
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6655
  $as_echo_n "(cached) " >&6
6656 131 jeremybenn
else
6657
 
6658
# These are sane defaults that work on at least a few old systems.
6659
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6660
 
6661
# Character class describing NM global symbol codes.
6662
symcode='[BCDEGRST]'
6663
 
6664
# Regexp to match symbols that can be accessed directly from C.
6665
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6666
 
6667
# Define system-specific variables.
6668
case $host_os in
6669
aix*)
6670
  symcode='[BCDT]'
6671
  ;;
6672 225 jeremybenn
cygwin* | mingw* | pw32* | cegcc*)
6673 131 jeremybenn
  symcode='[ABCDGISTW]'
6674
  ;;
6675
hpux*)
6676
  if test "$host_cpu" = ia64; then
6677
    symcode='[ABCDEGRST]'
6678
  fi
6679
  ;;
6680
irix* | nonstopux*)
6681
  symcode='[BCDEGRST]'
6682
  ;;
6683
osf*)
6684
  symcode='[BCDEGQRST]'
6685
  ;;
6686
solaris*)
6687
  symcode='[BDRT]'
6688
  ;;
6689
sco3.2v5*)
6690
  symcode='[DT]'
6691
  ;;
6692
sysv4.2uw2*)
6693
  symcode='[DT]'
6694
  ;;
6695
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6696
  symcode='[ABDT]'
6697
  ;;
6698
sysv4)
6699
  symcode='[DFNSTU]'
6700
  ;;
6701
esac
6702
 
6703
# If we're using GNU nm, then use its standard symbol codes.
6704
case `$NM -V 2>&1` in
6705
*GNU* | *'with BFD'*)
6706
  symcode='[ABCDGIRSTW]' ;;
6707
esac
6708
 
6709
# Transform an extracted symbol line into a proper C declaration.
6710
# Some systems (esp. on ia64) link data and code symbols differently,
6711
# so use this general approach.
6712
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6713
 
6714
# Transform an extracted symbol line into symbol name and symbol address
6715
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6716 225 jeremybenn
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'"
6717 131 jeremybenn
 
6718
# Handle CRLF in mingw tool chain
6719
opt_cr=
6720
case $build_os in
6721
mingw*)
6722
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6723
  ;;
6724
esac
6725
 
6726
# Try without a prefix underscore, then with it.
6727
for ac_symprfx in "" "_"; do
6728
 
6729
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6730
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6731
 
6732
  # Write the raw and C identifiers.
6733
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6734
    # Fake it for dumpbin and say T for any non-static function
6735
    # and D for any global variable.
6736
    # Also find C++ and __fastcall symbols from MSVC++,
6737
    # which start with @ or ?.
6738
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6739
"     {last_section=section; section=\$ 3};"\
6740
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6741
"     \$ 0!~/External *\|/{next};"\
6742
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6743
"     {if(hide[section]) next};"\
6744
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6745
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6746
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6747
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6748
"     ' prfx=^$ac_symprfx"
6749
  else
6750
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6751
  fi
6752
 
6753
  # Check to see that the pipe works correctly.
6754
  pipe_works=no
6755
 
6756
  rm -f conftest*
6757
  cat > conftest.$ac_ext <<_LT_EOF
6758
#ifdef __cplusplus
6759
extern "C" {
6760
#endif
6761
char nm_test_var;
6762
void nm_test_func(void);
6763
void nm_test_func(void){}
6764
#ifdef __cplusplus
6765
}
6766
#endif
6767
int main(){nm_test_var='a';nm_test_func();return(0);}
6768
_LT_EOF
6769
 
6770 225 jeremybenn
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6771 131 jeremybenn
  (eval $ac_compile) 2>&5
6772
  ac_status=$?
6773 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6774
  test $ac_status = 0; }; then
6775 131 jeremybenn
    # Now try to grab the symbols.
6776
    nlist=conftest.nm
6777 225 jeremybenn
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6778 131 jeremybenn
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6779
  ac_status=$?
6780 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6781
  test $ac_status = 0; } && test -s "$nlist"; then
6782 131 jeremybenn
      # Try sorting and uniquifying the output.
6783
      if sort "$nlist" | uniq > "$nlist"T; then
6784
        mv -f "$nlist"T "$nlist"
6785
      else
6786
        rm -f "$nlist"T
6787
      fi
6788
 
6789
      # Make sure that we snagged all the symbols we need.
6790
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6791
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6792
          cat <<_LT_EOF > conftest.$ac_ext
6793
#ifdef __cplusplus
6794
extern "C" {
6795
#endif
6796
 
6797
_LT_EOF
6798
          # Now generate the symbol file.
6799
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6800
 
6801
          cat <<_LT_EOF >> conftest.$ac_ext
6802
 
6803
/* The mapping between symbol names and symbols.  */
6804
const struct {
6805
  const char *name;
6806
  void       *address;
6807
}
6808
lt__PROGRAM__LTX_preloaded_symbols[] =
6809
{
6810
  { "@PROGRAM@", (void *) 0 },
6811
_LT_EOF
6812
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6813
          cat <<\_LT_EOF >> conftest.$ac_ext
6814
  {0, (void *) 0}
6815
};
6816
 
6817
/* This works around a problem in FreeBSD linker */
6818
#ifdef FREEBSD_WORKAROUND
6819
static const void *lt_preloaded_setup() {
6820
  return lt__PROGRAM__LTX_preloaded_symbols;
6821
}
6822
#endif
6823
 
6824
#ifdef __cplusplus
6825
}
6826
#endif
6827
_LT_EOF
6828
          # Now try linking the two files.
6829
          mv conftest.$ac_objext conftstm.$ac_objext
6830
          lt_save_LIBS="$LIBS"
6831
          lt_save_CFLAGS="$CFLAGS"
6832
          LIBS="conftstm.$ac_objext"
6833
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6834 225 jeremybenn
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6835 131 jeremybenn
  (eval $ac_link) 2>&5
6836
  ac_status=$?
6837 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6838
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6839 131 jeremybenn
            pipe_works=yes
6840
          fi
6841
          LIBS="$lt_save_LIBS"
6842
          CFLAGS="$lt_save_CFLAGS"
6843
        else
6844
          echo "cannot find nm_test_func in $nlist" >&5
6845
        fi
6846
      else
6847
        echo "cannot find nm_test_var in $nlist" >&5
6848
      fi
6849
    else
6850
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6851
    fi
6852
  else
6853
    echo "$progname: failed program was:" >&5
6854
    cat conftest.$ac_ext >&5
6855
  fi
6856 225 jeremybenn
  rm -rf conftest* conftst*
6857 131 jeremybenn
 
6858
  # Do not use the global_symbol_pipe unless it works.
6859
  if test "$pipe_works" = yes; then
6860
    break
6861
  else
6862
    lt_cv_sys_global_symbol_pipe=
6863
  fi
6864
done
6865
 
6866
fi
6867
 
6868
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6869
  lt_cv_sys_global_symbol_to_cdecl=
6870
fi
6871
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6872 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6873
$as_echo "failed" >&6; }
6874 131 jeremybenn
else
6875 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6876
$as_echo "ok" >&6; }
6877 131 jeremybenn
fi
6878
 
6879
 
6880
 
6881
 
6882
 
6883
 
6884
 
6885
 
6886
 
6887
 
6888
 
6889
 
6890
 
6891
 
6892
 
6893
 
6894
 
6895
 
6896 225 jeremybenn
 
6897
 
6898
 
6899
 
6900
# Check whether --enable-libtool-lock was given.
6901
if test "${enable_libtool_lock+set}" = set; then :
6902
  enableval=$enable_libtool_lock;
6903
fi
6904
 
6905 131 jeremybenn
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6906
 
6907
# Some flags need to be propagated to the compiler or linker for good
6908
# libtool support.
6909
case $host in
6910
ia64-*-hpux*)
6911
  # Find out which ABI we are using.
6912
  echo 'int i;' > conftest.$ac_ext
6913 225 jeremybenn
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6914 131 jeremybenn
  (eval $ac_compile) 2>&5
6915
  ac_status=$?
6916 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6917
  test $ac_status = 0; }; then
6918 131 jeremybenn
    case `/usr/bin/file conftest.$ac_objext` in
6919
      *ELF-32*)
6920
        HPUX_IA64_MODE="32"
6921
        ;;
6922
      *ELF-64*)
6923
        HPUX_IA64_MODE="64"
6924
        ;;
6925
    esac
6926
  fi
6927
  rm -rf conftest*
6928
  ;;
6929
*-*-irix6*)
6930
  # Find out which ABI we are using.
6931 225 jeremybenn
  echo '#line 6931 "configure"' > conftest.$ac_ext
6932
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6933 131 jeremybenn
  (eval $ac_compile) 2>&5
6934
  ac_status=$?
6935 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936
  test $ac_status = 0; }; then
6937 131 jeremybenn
    if test "$lt_cv_prog_gnu_ld" = yes; then
6938
      case `/usr/bin/file conftest.$ac_objext` in
6939
        *32-bit*)
6940
          LD="${LD-ld} -melf32bsmip"
6941
          ;;
6942
        *N32*)
6943
          LD="${LD-ld} -melf32bmipn32"
6944
          ;;
6945
        *64-bit*)
6946
          LD="${LD-ld} -melf64bmip"
6947
        ;;
6948
      esac
6949
    else
6950
      case `/usr/bin/file conftest.$ac_objext` in
6951
        *32-bit*)
6952
          LD="${LD-ld} -32"
6953
          ;;
6954
        *N32*)
6955
          LD="${LD-ld} -n32"
6956
          ;;
6957
        *64-bit*)
6958
          LD="${LD-ld} -64"
6959
          ;;
6960
      esac
6961
    fi
6962
  fi
6963
  rm -rf conftest*
6964
  ;;
6965
 
6966
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6967
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6968
  # Find out which ABI we are using.
6969
  echo 'int i;' > conftest.$ac_ext
6970 225 jeremybenn
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6971 131 jeremybenn
  (eval $ac_compile) 2>&5
6972
  ac_status=$?
6973 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6974
  test $ac_status = 0; }; then
6975 131 jeremybenn
    case `/usr/bin/file conftest.o` in
6976
      *32-bit*)
6977
        case $host in
6978
          x86_64-*kfreebsd*-gnu)
6979
            LD="${LD-ld} -m elf_i386_fbsd"
6980
            ;;
6981
          x86_64-*linux*)
6982
            LD="${LD-ld} -m elf_i386"
6983
            ;;
6984
          ppc64-*linux*|powerpc64-*linux*)
6985
            LD="${LD-ld} -m elf32ppclinux"
6986
            ;;
6987
          s390x-*linux*)
6988
            LD="${LD-ld} -m elf_s390"
6989
            ;;
6990
          sparc64-*linux*)
6991
            LD="${LD-ld} -m elf32_sparc"
6992
            ;;
6993
        esac
6994
        ;;
6995
      *64-bit*)
6996
        case $host in
6997
          x86_64-*kfreebsd*-gnu)
6998
            LD="${LD-ld} -m elf_x86_64_fbsd"
6999
            ;;
7000
          x86_64-*linux*)
7001
            LD="${LD-ld} -m elf_x86_64"
7002
            ;;
7003
          ppc*-*linux*|powerpc*-*linux*)
7004
            LD="${LD-ld} -m elf64ppc"
7005
            ;;
7006
          s390*-*linux*|s390*-*tpf*)
7007
            LD="${LD-ld} -m elf64_s390"
7008
            ;;
7009
          sparc*-*linux*)
7010
            LD="${LD-ld} -m elf64_sparc"
7011
            ;;
7012
        esac
7013
        ;;
7014
    esac
7015
  fi
7016
  rm -rf conftest*
7017
  ;;
7018
 
7019
*-*-sco3.2v5*)
7020
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7021
  SAVE_CFLAGS="$CFLAGS"
7022
  CFLAGS="$CFLAGS -belf"
7023 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7024
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7025
if test "${lt_cv_cc_needs_belf+set}" = set; then :
7026
  $as_echo_n "(cached) " >&6
7027 131 jeremybenn
else
7028
  ac_ext=c
7029
ac_cpp='$CPP $CPPFLAGS'
7030
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7033
 
7034 225 jeremybenn
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 131 jeremybenn
/* end confdefs.h.  */
7036
 
7037
int
7038
main ()
7039
{
7040
 
7041
  ;
7042
  return 0;
7043
}
7044
_ACEOF
7045 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
7046 131 jeremybenn
  lt_cv_cc_needs_belf=yes
7047
else
7048 225 jeremybenn
  lt_cv_cc_needs_belf=no
7049 131 jeremybenn
fi
7050 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
7051
    conftest$ac_exeext conftest.$ac_ext
7052 131 jeremybenn
     ac_ext=c
7053
ac_cpp='$CPP $CPPFLAGS'
7054
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7055
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7056
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7057
 
7058
fi
7059 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7060
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7061 131 jeremybenn
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7062
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7063
    CFLAGS="$SAVE_CFLAGS"
7064
  fi
7065
  ;;
7066
sparc*-*solaris*)
7067
  # Find out which ABI we are using.
7068
  echo 'int i;' > conftest.$ac_ext
7069 225 jeremybenn
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7070 131 jeremybenn
  (eval $ac_compile) 2>&5
7071
  ac_status=$?
7072 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7073
  test $ac_status = 0; }; then
7074 131 jeremybenn
    case `/usr/bin/file conftest.o` in
7075
    *64-bit*)
7076
      case $lt_cv_prog_gnu_ld in
7077
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7078 225 jeremybenn
      *)
7079
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7080
          LD="${LD-ld} -64"
7081
        fi
7082
        ;;
7083 131 jeremybenn
      esac
7084
      ;;
7085
    esac
7086
  fi
7087
  rm -rf conftest*
7088
  ;;
7089
esac
7090
 
7091
need_locks="$enable_libtool_lock"
7092
 
7093 225 jeremybenn
 
7094
  case $host_os in
7095
    rhapsody* | darwin*)
7096
    if test -n "$ac_tool_prefix"; then
7097
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7098
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100
$as_echo_n "checking for $ac_word... " >&6; }
7101
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7102
  $as_echo_n "(cached) " >&6
7103 131 jeremybenn
else
7104 225 jeremybenn
  if test -n "$DSYMUTIL"; then
7105
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7106
else
7107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108
for as_dir in $PATH
7109 131 jeremybenn
do
7110 225 jeremybenn
  IFS=$as_save_IFS
7111
  test -z "$as_dir" && as_dir=.
7112
    for ac_exec_ext in '' $ac_executable_extensions; do
7113
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7114
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7115
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7116
    break 2
7117 131 jeremybenn
  fi
7118 225 jeremybenn
done
7119
  done
7120
IFS=$as_save_IFS
7121
 
7122
fi
7123
fi
7124
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7125
if test -n "$DSYMUTIL"; then
7126
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7127
$as_echo "$DSYMUTIL" >&6; }
7128 131 jeremybenn
else
7129 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130
$as_echo "no" >&6; }
7131 131 jeremybenn
fi
7132 225 jeremybenn
 
7133
 
7134
fi
7135
if test -z "$ac_cv_prog_DSYMUTIL"; then
7136
  ac_ct_DSYMUTIL=$DSYMUTIL
7137
  # Extract the first word of "dsymutil", so it can be a program name with args.
7138
set dummy dsymutil; ac_word=$2
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140
$as_echo_n "checking for $ac_word... " >&6; }
7141
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7142
  $as_echo_n "(cached) " >&6
7143 131 jeremybenn
else
7144 225 jeremybenn
  if test -n "$ac_ct_DSYMUTIL"; then
7145
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7146
else
7147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148
for as_dir in $PATH
7149
do
7150
  IFS=$as_save_IFS
7151
  test -z "$as_dir" && as_dir=.
7152
    for ac_exec_ext in '' $ac_executable_extensions; do
7153
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7154
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7155
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7156
    break 2
7157
  fi
7158
done
7159
  done
7160
IFS=$as_save_IFS
7161 131 jeremybenn
 
7162
fi
7163 225 jeremybenn
fi
7164
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7165
if test -n "$ac_ct_DSYMUTIL"; then
7166
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7167
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7168
else
7169
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170
$as_echo "no" >&6; }
7171
fi
7172 131 jeremybenn
 
7173 225 jeremybenn
  if test "x$ac_ct_DSYMUTIL" = x; then
7174
    DSYMUTIL=":"
7175 131 jeremybenn
  else
7176 225 jeremybenn
    case $cross_compiling:$ac_tool_warned in
7177
yes:)
7178
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7179
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7180
ac_tool_warned=yes ;;
7181
esac
7182
    DSYMUTIL=$ac_ct_DSYMUTIL
7183 131 jeremybenn
  fi
7184
else
7185 225 jeremybenn
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7186 131 jeremybenn
fi
7187 225 jeremybenn
 
7188
    if test -n "$ac_tool_prefix"; then
7189
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7190
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192
$as_echo_n "checking for $ac_word... " >&6; }
7193
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7194
  $as_echo_n "(cached) " >&6
7195 131 jeremybenn
else
7196 225 jeremybenn
  if test -n "$NMEDIT"; then
7197
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7198
else
7199
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200
for as_dir in $PATH
7201
do
7202
  IFS=$as_save_IFS
7203
  test -z "$as_dir" && as_dir=.
7204
    for ac_exec_ext in '' $ac_executable_extensions; do
7205
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7206
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7207
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7208
    break 2
7209
  fi
7210
done
7211
  done
7212
IFS=$as_save_IFS
7213 131 jeremybenn
 
7214
fi
7215
fi
7216 225 jeremybenn
NMEDIT=$ac_cv_prog_NMEDIT
7217
if test -n "$NMEDIT"; then
7218
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7219
$as_echo "$NMEDIT" >&6; }
7220
else
7221
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222
$as_echo "no" >&6; }
7223
fi
7224 131 jeremybenn
 
7225
 
7226
fi
7227 225 jeremybenn
if test -z "$ac_cv_prog_NMEDIT"; then
7228
  ac_ct_NMEDIT=$NMEDIT
7229
  # Extract the first word of "nmedit", so it can be a program name with args.
7230
set dummy nmedit; ac_word=$2
7231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232
$as_echo_n "checking for $ac_word... " >&6; }
7233
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7234
  $as_echo_n "(cached) " >&6
7235 131 jeremybenn
else
7236 225 jeremybenn
  if test -n "$ac_ct_NMEDIT"; then
7237
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7238
else
7239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240
for as_dir in $PATH
7241 131 jeremybenn
do
7242 225 jeremybenn
  IFS=$as_save_IFS
7243
  test -z "$as_dir" && as_dir=.
7244
    for ac_exec_ext in '' $ac_executable_extensions; do
7245
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7246
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7247
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248
    break 2
7249 131 jeremybenn
  fi
7250 225 jeremybenn
done
7251
  done
7252
IFS=$as_save_IFS
7253
 
7254 131 jeremybenn
fi
7255 225 jeremybenn
fi
7256
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7257
if test -n "$ac_ct_NMEDIT"; then
7258
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7259
$as_echo "$ac_ct_NMEDIT" >&6; }
7260 131 jeremybenn
else
7261 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262
$as_echo "no" >&6; }
7263 131 jeremybenn
fi
7264
 
7265 225 jeremybenn
  if test "x$ac_ct_NMEDIT" = x; then
7266
    NMEDIT=":"
7267 131 jeremybenn
  else
7268 225 jeremybenn
    case $cross_compiling:$ac_tool_warned in
7269
yes:)
7270
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7271
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7272
ac_tool_warned=yes ;;
7273
esac
7274
    NMEDIT=$ac_ct_NMEDIT
7275 131 jeremybenn
  fi
7276
else
7277 225 jeremybenn
  NMEDIT="$ac_cv_prog_NMEDIT"
7278 131 jeremybenn
fi
7279 225 jeremybenn
 
7280
    if test -n "$ac_tool_prefix"; then
7281
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7282
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284
$as_echo_n "checking for $ac_word... " >&6; }
7285
if test "${ac_cv_prog_LIPO+set}" = set; then :
7286
  $as_echo_n "(cached) " >&6
7287 131 jeremybenn
else
7288 225 jeremybenn
  if test -n "$LIPO"; then
7289
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7290
else
7291
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292
for as_dir in $PATH
7293
do
7294
  IFS=$as_save_IFS
7295
  test -z "$as_dir" && as_dir=.
7296
    for ac_exec_ext in '' $ac_executable_extensions; do
7297
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7298
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7299
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300
    break 2
7301
  fi
7302
done
7303
  done
7304
IFS=$as_save_IFS
7305 131 jeremybenn
 
7306
fi
7307 225 jeremybenn
fi
7308
LIPO=$ac_cv_prog_LIPO
7309
if test -n "$LIPO"; then
7310
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7311
$as_echo "$LIPO" >&6; }
7312 131 jeremybenn
else
7313 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314
$as_echo "no" >&6; }
7315 131 jeremybenn
fi
7316
 
7317
 
7318 225 jeremybenn
fi
7319
if test -z "$ac_cv_prog_LIPO"; then
7320
  ac_ct_LIPO=$LIPO
7321
  # Extract the first word of "lipo", so it can be a program name with args.
7322
set dummy lipo; ac_word=$2
7323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324
$as_echo_n "checking for $ac_word... " >&6; }
7325
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7326
  $as_echo_n "(cached) " >&6
7327
else
7328
  if test -n "$ac_ct_LIPO"; then
7329
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7330
else
7331
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332
for as_dir in $PATH
7333
do
7334
  IFS=$as_save_IFS
7335
  test -z "$as_dir" && as_dir=.
7336
    for ac_exec_ext in '' $ac_executable_extensions; do
7337
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338
    ac_cv_prog_ac_ct_LIPO="lipo"
7339
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340
    break 2
7341
  fi
7342
done
7343
  done
7344
IFS=$as_save_IFS
7345 131 jeremybenn
 
7346 225 jeremybenn
fi
7347
fi
7348
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7349
if test -n "$ac_ct_LIPO"; then
7350
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7351
$as_echo "$ac_ct_LIPO" >&6; }
7352 131 jeremybenn
else
7353 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354
$as_echo "no" >&6; }
7355
fi
7356 131 jeremybenn
 
7357 225 jeremybenn
  if test "x$ac_ct_LIPO" = x; then
7358
    LIPO=":"
7359
  else
7360
    case $cross_compiling:$ac_tool_warned in
7361
yes:)
7362
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7363
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7364
ac_tool_warned=yes ;;
7365
esac
7366
    LIPO=$ac_ct_LIPO
7367
  fi
7368
else
7369
  LIPO="$ac_cv_prog_LIPO"
7370
fi
7371 131 jeremybenn
 
7372 225 jeremybenn
    if test -n "$ac_tool_prefix"; then
7373
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7374
set dummy ${ac_tool_prefix}otool; ac_word=$2
7375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376
$as_echo_n "checking for $ac_word... " >&6; }
7377
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7378
  $as_echo_n "(cached) " >&6
7379 131 jeremybenn
else
7380 225 jeremybenn
  if test -n "$OTOOL"; then
7381
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7382
else
7383
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384
for as_dir in $PATH
7385
do
7386
  IFS=$as_save_IFS
7387
  test -z "$as_dir" && as_dir=.
7388
    for ac_exec_ext in '' $ac_executable_extensions; do
7389
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7390
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7391
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392
    break 2
7393
  fi
7394
done
7395
  done
7396
IFS=$as_save_IFS
7397 131 jeremybenn
 
7398
fi
7399 225 jeremybenn
fi
7400
OTOOL=$ac_cv_prog_OTOOL
7401
if test -n "$OTOOL"; then
7402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7403
$as_echo "$OTOOL" >&6; }
7404
else
7405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406
$as_echo "no" >&6; }
7407
fi
7408 131 jeremybenn
 
7409
 
7410 225 jeremybenn
fi
7411
if test -z "$ac_cv_prog_OTOOL"; then
7412
  ac_ct_OTOOL=$OTOOL
7413
  # Extract the first word of "otool", so it can be a program name with args.
7414
set dummy otool; ac_word=$2
7415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416
$as_echo_n "checking for $ac_word... " >&6; }
7417
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7418
  $as_echo_n "(cached) " >&6
7419 131 jeremybenn
else
7420 225 jeremybenn
  if test -n "$ac_ct_OTOOL"; then
7421
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7422
else
7423
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424
for as_dir in $PATH
7425
do
7426
  IFS=$as_save_IFS
7427
  test -z "$as_dir" && as_dir=.
7428
    for ac_exec_ext in '' $ac_executable_extensions; do
7429
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430
    ac_cv_prog_ac_ct_OTOOL="otool"
7431
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432
    break 2
7433
  fi
7434
done
7435
  done
7436
IFS=$as_save_IFS
7437
 
7438 131 jeremybenn
fi
7439 225 jeremybenn
fi
7440
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7441
if test -n "$ac_ct_OTOOL"; then
7442
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7443
$as_echo "$ac_ct_OTOOL" >&6; }
7444
else
7445
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446
$as_echo "no" >&6; }
7447
fi
7448 131 jeremybenn
 
7449 225 jeremybenn
  if test "x$ac_ct_OTOOL" = x; then
7450
    OTOOL=":"
7451
  else
7452
    case $cross_compiling:$ac_tool_warned in
7453
yes:)
7454
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456
ac_tool_warned=yes ;;
7457
esac
7458
    OTOOL=$ac_ct_OTOOL
7459
  fi
7460
else
7461
  OTOOL="$ac_cv_prog_OTOOL"
7462 131 jeremybenn
fi
7463
 
7464 225 jeremybenn
    if test -n "$ac_tool_prefix"; then
7465
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7466
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468
$as_echo_n "checking for $ac_word... " >&6; }
7469
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7470
  $as_echo_n "(cached) " >&6
7471
else
7472
  if test -n "$OTOOL64"; then
7473
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7474
else
7475
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476
for as_dir in $PATH
7477
do
7478
  IFS=$as_save_IFS
7479
  test -z "$as_dir" && as_dir=.
7480
    for ac_exec_ext in '' $ac_executable_extensions; do
7481
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7483
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484
    break 2
7485
  fi
7486
done
7487
  done
7488
IFS=$as_save_IFS
7489 131 jeremybenn
 
7490 225 jeremybenn
fi
7491
fi
7492
OTOOL64=$ac_cv_prog_OTOOL64
7493
if test -n "$OTOOL64"; then
7494
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7495
$as_echo "$OTOOL64" >&6; }
7496 131 jeremybenn
else
7497 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498
$as_echo "no" >&6; }
7499 131 jeremybenn
fi
7500
 
7501 225 jeremybenn
 
7502 131 jeremybenn
fi
7503 225 jeremybenn
if test -z "$ac_cv_prog_OTOOL64"; then
7504
  ac_ct_OTOOL64=$OTOOL64
7505
  # Extract the first word of "otool64", so it can be a program name with args.
7506
set dummy otool64; ac_word=$2
7507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508
$as_echo_n "checking for $ac_word... " >&6; }
7509
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7510
  $as_echo_n "(cached) " >&6
7511 131 jeremybenn
else
7512 225 jeremybenn
  if test -n "$ac_ct_OTOOL64"; then
7513
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7514 131 jeremybenn
else
7515 225 jeremybenn
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516
for as_dir in $PATH
7517
do
7518
  IFS=$as_save_IFS
7519
  test -z "$as_dir" && as_dir=.
7520
    for ac_exec_ext in '' $ac_executable_extensions; do
7521
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7523
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524
    break 2
7525
  fi
7526
done
7527
  done
7528
IFS=$as_save_IFS
7529 131 jeremybenn
 
7530
fi
7531
fi
7532 225 jeremybenn
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7533
if test -n "$ac_ct_OTOOL64"; then
7534
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7535
$as_echo "$ac_ct_OTOOL64" >&6; }
7536
else
7537
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538
$as_echo "no" >&6; }
7539 131 jeremybenn
fi
7540 225 jeremybenn
 
7541
  if test "x$ac_ct_OTOOL64" = x; then
7542
    OTOOL64=":"
7543
  else
7544
    case $cross_compiling:$ac_tool_warned in
7545
yes:)
7546
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548
ac_tool_warned=yes ;;
7549
esac
7550
    OTOOL64=$ac_ct_OTOOL64
7551
  fi
7552
else
7553
  OTOOL64="$ac_cv_prog_OTOOL64"
7554 131 jeremybenn
fi
7555
 
7556
 
7557
 
7558
 
7559
 
7560
 
7561
 
7562
 
7563
 
7564
 
7565
 
7566
 
7567 225 jeremybenn
 
7568
 
7569
 
7570
 
7571
 
7572
 
7573
 
7574
 
7575
 
7576
 
7577
 
7578
 
7579
 
7580
 
7581
 
7582
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7583
$as_echo_n "checking for -single_module linker flag... " >&6; }
7584
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7585
  $as_echo_n "(cached) " >&6
7586 131 jeremybenn
else
7587 225 jeremybenn
  lt_cv_apple_cc_single_mod=no
7588
      if test -z "${LT_MULTI_MODULE}"; then
7589
        # By default we will add the -single_module flag. You can override
7590
        # by either setting the environment variable LT_MULTI_MODULE
7591
        # non-empty at configure time, or by adding -multi_module to the
7592
        # link flags.
7593
        rm -rf libconftest.dylib*
7594
        echo "int foo(void){return 1;}" > conftest.c
7595
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7596
-dynamiclib -Wl,-single_module conftest.c" >&5
7597
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7598
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7599
        _lt_result=$?
7600
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7601
          lt_cv_apple_cc_single_mod=yes
7602
        else
7603
          cat conftest.err >&5
7604
        fi
7605
        rm -rf libconftest.dylib*
7606
        rm -f conftest.*
7607
      fi
7608
fi
7609
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7610
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7611
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7612
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7613
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7614
  $as_echo_n "(cached) " >&6
7615
else
7616
  lt_cv_ld_exported_symbols_list=no
7617
      save_LDFLAGS=$LDFLAGS
7618
      echo "_main" > conftest.sym
7619
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7620
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621 131 jeremybenn
/* end confdefs.h.  */
7622
 
7623 225 jeremybenn
int
7624
main ()
7625
{
7626
 
7627
  ;
7628
  return 0;
7629
}
7630 131 jeremybenn
_ACEOF
7631 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
7632
  lt_cv_ld_exported_symbols_list=yes
7633 131 jeremybenn
else
7634 225 jeremybenn
  lt_cv_ld_exported_symbols_list=no
7635
fi
7636
rm -f core conftest.err conftest.$ac_objext \
7637
    conftest$ac_exeext conftest.$ac_ext
7638
        LDFLAGS="$save_LDFLAGS"
7639 131 jeremybenn
 
7640
fi
7641 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7642
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7643
    case $host_os in
7644
    rhapsody* | darwin1.[012])
7645
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7646
    darwin1.*)
7647
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7648
    darwin*) # darwin 5.x on
7649
      # if running on 10.5 or later, the deployment target defaults
7650
      # to the OS version, if on x86, and 10.4, the deployment
7651
      # target defaults to 10.4. Don't you love it?
7652
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7653
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7654
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7655
        10.[012]*)
7656
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7657
        10.*)
7658
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7659
      esac
7660
    ;;
7661
  esac
7662
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7663
      _lt_dar_single_mod='$single_module'
7664
    fi
7665
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7666
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7667
    else
7668
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7669
    fi
7670
    if test "$DSYMUTIL" != ":"; then
7671
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7672
    else
7673
      _lt_dsymutil=
7674
    fi
7675
    ;;
7676
  esac
7677
 
7678
for ac_header in dlfcn.h
7679
do :
7680
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7681
"
7682
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7683 131 jeremybenn
  cat >>confdefs.h <<_ACEOF
7684 225 jeremybenn
#define HAVE_DLFCN_H 1
7685 131 jeremybenn
_ACEOF
7686
 
7687
fi
7688
 
7689
done
7690
 
7691
 
7692
 
7693 225 jeremybenn
# Set options
7694
 
7695
 
7696
 
7697
        enable_dlopen=no
7698
 
7699
 
7700
  enable_win32_dll=no
7701
 
7702
 
7703
 
7704
  # Check whether --enable-static was given.
7705
if test "${enable_static+set}" = set; then :
7706
  enableval=$enable_static; p=${PACKAGE-default}
7707
    case $enableval in
7708
    yes) enable_static=yes ;;
7709
    no) enable_static=no ;;
7710
    *)
7711
     enable_static=no
7712
      # Look at the argument we got.  We use all the common list separators.
7713
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7714
      for pkg in $enableval; do
7715
        IFS="$lt_save_ifs"
7716
        if test "X$pkg" = "X$p"; then
7717
          enable_static=yes
7718
        fi
7719
      done
7720
      IFS="$lt_save_ifs"
7721
      ;;
7722
    esac
7723 131 jeremybenn
else
7724 225 jeremybenn
  enable_static=yes
7725
fi
7726 131 jeremybenn
 
7727 225 jeremybenn
 
7728
 
7729
 
7730
 
7731
 
7732
 
7733
 
7734
 
7735
 
7736
# Check whether --with-pic was given.
7737
if test "${with_pic+set}" = set; then :
7738
  withval=$with_pic; pic_mode="$withval"
7739 131 jeremybenn
else
7740 225 jeremybenn
  pic_mode=default
7741 131 jeremybenn
fi
7742
 
7743 225 jeremybenn
 
7744
test -z "$pic_mode" && pic_mode=default
7745
 
7746
 
7747
 
7748
 
7749
 
7750
 
7751
 
7752
  # Check whether --enable-fast-install was given.
7753
if test "${enable_fast_install+set}" = set; then :
7754
  enableval=$enable_fast_install; p=${PACKAGE-default}
7755
    case $enableval in
7756
    yes) enable_fast_install=yes ;;
7757
    no) enable_fast_install=no ;;
7758
    *)
7759
      enable_fast_install=no
7760
      # Look at the argument we got.  We use all the common list separators.
7761
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7762
      for pkg in $enableval; do
7763
        IFS="$lt_save_ifs"
7764
        if test "X$pkg" = "X$p"; then
7765
          enable_fast_install=yes
7766
        fi
7767
      done
7768
      IFS="$lt_save_ifs"
7769
      ;;
7770
    esac
7771
else
7772
  enable_fast_install=yes
7773 131 jeremybenn
fi
7774
 
7775
 
7776
 
7777
 
7778 225 jeremybenn
 
7779
 
7780
 
7781
 
7782
 
7783
 
7784
 
7785 131 jeremybenn
# This can be used to rebuild libtool when needed
7786
LIBTOOL_DEPS="$ltmain"
7787
 
7788
# Always use our own libtool.
7789
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7790
 
7791
 
7792
 
7793
 
7794
 
7795
 
7796
 
7797
 
7798
 
7799
 
7800
 
7801
 
7802
 
7803
 
7804
 
7805
 
7806
 
7807
 
7808
 
7809
 
7810
 
7811
 
7812
 
7813
 
7814
 
7815
test -z "$LN_S" && LN_S="ln -s"
7816
 
7817
 
7818
 
7819
 
7820
 
7821
 
7822
 
7823
 
7824
 
7825
 
7826
 
7827
 
7828
 
7829
 
7830
if test -n "${ZSH_VERSION+set}" ; then
7831
   setopt NO_GLOB_SUBST
7832
fi
7833
 
7834 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7835
$as_echo_n "checking for objdir... " >&6; }
7836
if test "${lt_cv_objdir+set}" = set; then :
7837
  $as_echo_n "(cached) " >&6
7838 131 jeremybenn
else
7839
  rm -f .libs 2>/dev/null
7840
mkdir .libs 2>/dev/null
7841
if test -d .libs; then
7842
  lt_cv_objdir=.libs
7843
else
7844
  # MS-DOS does not allow filenames that begin with a dot.
7845
  lt_cv_objdir=_libs
7846
fi
7847
rmdir .libs 2>/dev/null
7848
fi
7849 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7850
$as_echo "$lt_cv_objdir" >&6; }
7851 131 jeremybenn
objdir=$lt_cv_objdir
7852
 
7853
 
7854
 
7855
 
7856
 
7857
cat >>confdefs.h <<_ACEOF
7858
#define LT_OBJDIR "$lt_cv_objdir/"
7859
_ACEOF
7860
 
7861
 
7862
 
7863
 
7864
 
7865
 
7866
 
7867
 
7868
 
7869
 
7870
 
7871
 
7872
 
7873
 
7874
 
7875
 
7876
 
7877
case $host_os in
7878
aix3*)
7879
  # AIX sometimes has problems with the GCC collect2 program.  For some
7880
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7881
  # vanish in a puff of smoke.
7882
  if test "X${COLLECT_NAMES+set}" != Xset; then
7883
    COLLECT_NAMES=
7884
    export COLLECT_NAMES
7885
  fi
7886
  ;;
7887
esac
7888
 
7889
# Sed substitution that helps us do robust quoting.  It backslashifies
7890
# metacharacters that are still active within double-quoted strings.
7891
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7892
 
7893
# Same as above, but do not quote variable references.
7894
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7895
 
7896
# Sed substitution to delay expansion of an escaped shell variable in a
7897
# double_quote_subst'ed string.
7898
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7899
 
7900
# Sed substitution to delay expansion of an escaped single quote.
7901
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7902
 
7903
# Sed substitution to avoid accidental globbing in evaled expressions
7904
no_glob_subst='s/\*/\\\*/g'
7905
 
7906
# Global variables:
7907
ofile=libtool
7908
can_build_shared=yes
7909
 
7910
# All known linkers require a `.a' archive for static linking (except MSVC,
7911
# which needs '.lib').
7912
libext=a
7913
 
7914
with_gnu_ld="$lt_cv_prog_gnu_ld"
7915
 
7916
old_CC="$CC"
7917
old_CFLAGS="$CFLAGS"
7918
 
7919
# Set sane defaults for various variables
7920
test -z "$CC" && CC=cc
7921
test -z "$LTCC" && LTCC=$CC
7922
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7923
test -z "$LD" && LD=ld
7924
test -z "$ac_objext" && ac_objext=o
7925
 
7926
for cc_temp in $compiler""; do
7927
  case $cc_temp in
7928
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7929
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7930
    \-*) ;;
7931
    *) break;;
7932
  esac
7933
done
7934
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7935
 
7936
 
7937
# Only perform the check for file, if the check method requires it
7938
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7939
case $deplibs_check_method in
7940
file_magic*)
7941
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7942 225 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7943
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7944
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7945
  $as_echo_n "(cached) " >&6
7946 131 jeremybenn
else
7947
  case $MAGIC_CMD in
7948
[\\/*] |  ?:[\\/]*)
7949
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7950
  ;;
7951
*)
7952
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7953
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7954
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7955
  for ac_dir in $ac_dummy; do
7956
    IFS="$lt_save_ifs"
7957
    test -z "$ac_dir" && ac_dir=.
7958
    if test -f $ac_dir/${ac_tool_prefix}file; then
7959
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7960
      if test -n "$file_magic_test_file"; then
7961
        case $deplibs_check_method in
7962
        "file_magic "*)
7963
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7964
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7965
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7966
            $EGREP "$file_magic_regex" > /dev/null; then
7967
            :
7968
          else
7969
            cat <<_LT_EOF 1>&2
7970
 
7971
*** Warning: the command libtool uses to detect shared libraries,
7972
*** $file_magic_cmd, produces output that libtool cannot recognize.
7973
*** The result is that libtool may fail to recognize shared libraries
7974
*** as such.  This will affect the creation of libtool libraries that
7975
*** depend on shared libraries, but programs linked with such libtool
7976
*** libraries will work regardless of this problem.  Nevertheless, you
7977
*** may want to report the problem to your system manager and/or to
7978
*** bug-libtool@gnu.org
7979
 
7980
_LT_EOF
7981
          fi ;;
7982
        esac
7983
      fi
7984
      break
7985
    fi
7986
  done
7987
  IFS="$lt_save_ifs"
7988
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7989
  ;;
7990
esac
7991
fi
7992
 
7993
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7994
if test -n "$MAGIC_CMD"; then
7995 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7996
$as_echo "$MAGIC_CMD" >&6; }
7997 131 jeremybenn
else
7998 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7999
$as_echo "no" >&6; }
8000 131 jeremybenn
fi
8001
 
8002
 
8003
 
8004
 
8005
 
8006
if test -z "$lt_cv_path_MAGIC_CMD"; then
8007
  if test -n "$ac_tool_prefix"; then
8008 225 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8009
$as_echo_n "checking for file... " >&6; }
8010
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8011
  $as_echo_n "(cached) " >&6
8012 131 jeremybenn
else
8013
  case $MAGIC_CMD in
8014
[\\/*] |  ?:[\\/]*)
8015
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8016
  ;;
8017
*)
8018
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8019
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8020
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8021
  for ac_dir in $ac_dummy; do
8022
    IFS="$lt_save_ifs"
8023
    test -z "$ac_dir" && ac_dir=.
8024
    if test -f $ac_dir/file; then
8025
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8026
      if test -n "$file_magic_test_file"; then
8027
        case $deplibs_check_method in
8028
        "file_magic "*)
8029
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8030
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8031
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8032
            $EGREP "$file_magic_regex" > /dev/null; then
8033
            :
8034
          else
8035
            cat <<_LT_EOF 1>&2
8036
 
8037
*** Warning: the command libtool uses to detect shared libraries,
8038
*** $file_magic_cmd, produces output that libtool cannot recognize.
8039
*** The result is that libtool may fail to recognize shared libraries
8040
*** as such.  This will affect the creation of libtool libraries that
8041
*** depend on shared libraries, but programs linked with such libtool
8042
*** libraries will work regardless of this problem.  Nevertheless, you
8043
*** may want to report the problem to your system manager and/or to
8044
*** bug-libtool@gnu.org
8045
 
8046
_LT_EOF
8047
          fi ;;
8048
        esac
8049
      fi
8050
      break
8051
    fi
8052
  done
8053
  IFS="$lt_save_ifs"
8054
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8055
  ;;
8056
esac
8057
fi
8058
 
8059
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8060
if test -n "$MAGIC_CMD"; then
8061 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8062
$as_echo "$MAGIC_CMD" >&6; }
8063 131 jeremybenn
else
8064 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8065
$as_echo "no" >&6; }
8066 131 jeremybenn
fi
8067
 
8068
 
8069
  else
8070
    MAGIC_CMD=:
8071
  fi
8072
fi
8073
 
8074
  fi
8075
  ;;
8076
esac
8077
 
8078
# Use C for the default configuration in the libtool script
8079
 
8080
lt_save_CC="$CC"
8081
ac_ext=c
8082
ac_cpp='$CPP $CPPFLAGS'
8083
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8084
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8085
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8086
 
8087
 
8088
# Source file extension for C test sources.
8089
ac_ext=c
8090
 
8091
# Object file extension for compiled C test sources.
8092
objext=o
8093
objext=$objext
8094
 
8095
# Code to be used in simple compile tests
8096
lt_simple_compile_test_code="int some_variable = 0;"
8097
 
8098
# Code to be used in simple link tests
8099
lt_simple_link_test_code='int main(){return(0);}'
8100
 
8101
 
8102
 
8103
 
8104
 
8105
 
8106
 
8107
# If no C compiler was specified, use CC.
8108
LTCC=${LTCC-"$CC"}
8109
 
8110
# If no C compiler flags were specified, use CFLAGS.
8111
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8112
 
8113
# Allow CC to be a program name with arguments.
8114
compiler=$CC
8115
 
8116
# Save the default compiler, since it gets overwritten when the other
8117
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8118
compiler_DEFAULT=$CC
8119
 
8120
# save warnings/boilerplate of simple test code
8121
ac_outfile=conftest.$ac_objext
8122
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8123
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8124
_lt_compiler_boilerplate=`cat conftest.err`
8125
$RM conftest*
8126
 
8127
ac_outfile=conftest.$ac_objext
8128
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8129
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8130
_lt_linker_boilerplate=`cat conftest.err`
8131 225 jeremybenn
$RM -r conftest*
8132 131 jeremybenn
 
8133
 
8134
## CAVEAT EMPTOR:
8135
## There is no encapsulation within the following macros, do not change
8136
## the running order or otherwise move them around unless you know exactly
8137
## what you are doing...
8138
if test -n "$compiler"; then
8139
 
8140
lt_prog_compiler_no_builtin_flag=
8141
 
8142
if test "$GCC" = yes; then
8143
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8144
 
8145 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8146
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8147
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8148
  $as_echo_n "(cached) " >&6
8149 131 jeremybenn
else
8150
  lt_cv_prog_compiler_rtti_exceptions=no
8151
   ac_outfile=conftest.$ac_objext
8152
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8153
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8154
   # Insert the option either (1) after the last *FLAGS variable, or
8155
   # (2) before a word containing "conftest.", or (3) at the end.
8156
   # Note that $ac_compile itself does not contain backslashes and begins
8157
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8158
   # The option is referenced via a variable to avoid confusing sed.
8159
   lt_compile=`echo "$ac_compile" | $SED \
8160
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8161
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8162
   -e 's:$: $lt_compiler_flag:'`
8163 225 jeremybenn
   (eval echo "\"\$as_me:8163: $lt_compile\"" >&5)
8164 131 jeremybenn
   (eval "$lt_compile" 2>conftest.err)
8165
   ac_status=$?
8166
   cat conftest.err >&5
8167 225 jeremybenn
   echo "$as_me:8167: \$? = $ac_status" >&5
8168 131 jeremybenn
   if (exit $ac_status) && test -s "$ac_outfile"; then
8169
     # The compiler can only warn and ignore the option if not recognized
8170
     # So say no if there are warnings other than the usual output.
8171
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8172
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8173
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8174
       lt_cv_prog_compiler_rtti_exceptions=yes
8175
     fi
8176
   fi
8177
   $RM conftest*
8178
 
8179
fi
8180 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8181
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8182 131 jeremybenn
 
8183
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8184
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8185
else
8186
    :
8187
fi
8188
 
8189
fi
8190
 
8191
 
8192
 
8193
 
8194
 
8195
 
8196
  lt_prog_compiler_wl=
8197
lt_prog_compiler_pic=
8198
lt_prog_compiler_static=
8199
 
8200 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8201
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8202 131 jeremybenn
 
8203
  if test "$GCC" = yes; then
8204
    lt_prog_compiler_wl='-Wl,'
8205
    lt_prog_compiler_static='-static'
8206
 
8207
    case $host_os in
8208
      aix*)
8209
      # All AIX code is PIC.
8210
      if test "$host_cpu" = ia64; then
8211
        # AIX 5 now supports IA64 processor
8212
        lt_prog_compiler_static='-Bstatic'
8213
      fi
8214
      ;;
8215
 
8216
    amigaos*)
8217 225 jeremybenn
      case $host_cpu in
8218
      powerpc)
8219
            # see comment about AmigaOS4 .so support
8220
            lt_prog_compiler_pic='-fPIC'
8221
        ;;
8222
      m68k)
8223
            # FIXME: we need at least 68020 code to build shared libraries, but
8224
            # adding the `-m68020' flag to GCC prevents building anything better,
8225
            # like `-m68040'.
8226
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8227
        ;;
8228
      esac
8229 131 jeremybenn
      ;;
8230
 
8231
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8232
      # PIC is the default for these OSes.
8233
      ;;
8234
 
8235 225 jeremybenn
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8236 131 jeremybenn
      # This hack is so that the source file can tell whether it is being
8237
      # built for inclusion in a dll (and should export symbols for example).
8238
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8239
      # (--disable-auto-import) libraries
8240
      lt_prog_compiler_pic='-DDLL_EXPORT'
8241
      ;;
8242
 
8243
    darwin* | rhapsody*)
8244
      # PIC is the default on this platform
8245
      # Common symbols not allowed in MH_DYLIB files
8246
      lt_prog_compiler_pic='-fno-common'
8247
      ;;
8248
 
8249
    hpux*)
8250 225 jeremybenn
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8251
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8252
      # sets the default TLS model and affects inlining.
8253 131 jeremybenn
      case $host_cpu in
8254 225 jeremybenn
      hppa*64*)
8255 131 jeremybenn
        # +Z the default
8256
        ;;
8257
      *)
8258
        lt_prog_compiler_pic='-fPIC'
8259
        ;;
8260
      esac
8261
      ;;
8262
 
8263
    interix[3-9]*)
8264
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8265
      # Instead, we relocate shared libraries at runtime.
8266
      ;;
8267
 
8268
    msdosdjgpp*)
8269
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8270
      # on systems that don't support them.
8271
      lt_prog_compiler_can_build_shared=no
8272
      enable_shared=no
8273
      ;;
8274
 
8275
    *nto* | *qnx*)
8276
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8277
      # it will coredump.
8278
      lt_prog_compiler_pic='-fPIC -shared'
8279
      ;;
8280
 
8281
    sysv4*MP*)
8282
      if test -d /usr/nec; then
8283
        lt_prog_compiler_pic=-Kconform_pic
8284
      fi
8285
      ;;
8286
 
8287
    *)
8288
      lt_prog_compiler_pic='-fPIC'
8289
      ;;
8290
    esac
8291
  else
8292
    # PORTME Check for flag to pass linker flags through the system compiler.
8293
    case $host_os in
8294
    aix*)
8295
      lt_prog_compiler_wl='-Wl,'
8296
      if test "$host_cpu" = ia64; then
8297
        # AIX 5 now supports IA64 processor
8298
        lt_prog_compiler_static='-Bstatic'
8299
      else
8300
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8301
      fi
8302
      ;;
8303
 
8304 225 jeremybenn
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8305 131 jeremybenn
      # This hack is so that the source file can tell whether it is being
8306
      # built for inclusion in a dll (and should export symbols for example).
8307
      lt_prog_compiler_pic='-DDLL_EXPORT'
8308
      ;;
8309
 
8310
    hpux9* | hpux10* | hpux11*)
8311
      lt_prog_compiler_wl='-Wl,'
8312
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8313
      # not for PA HP-UX.
8314
      case $host_cpu in
8315
      hppa*64*|ia64*)
8316
        # +Z the default
8317
        ;;
8318
      *)
8319
        lt_prog_compiler_pic='+Z'
8320
        ;;
8321
      esac
8322
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8323
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8324
      ;;
8325
 
8326
    irix5* | irix6* | nonstopux*)
8327
      lt_prog_compiler_wl='-Wl,'
8328
      # PIC (with -KPIC) is the default.
8329
      lt_prog_compiler_static='-non_shared'
8330
      ;;
8331
 
8332 225 jeremybenn
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8333 131 jeremybenn
      case $cc_basename in
8334 225 jeremybenn
      # old Intel for x86_64 which still supported -KPIC.
8335
      ecc*)
8336 131 jeremybenn
        lt_prog_compiler_wl='-Wl,'
8337
        lt_prog_compiler_pic='-KPIC'
8338
        lt_prog_compiler_static='-static'
8339
        ;;
8340 225 jeremybenn
      # icc used to be incompatible with GCC.
8341
      # ICC 10 doesn't accept -KPIC any more.
8342
      icc* | ifort*)
8343
        lt_prog_compiler_wl='-Wl,'
8344
        lt_prog_compiler_pic='-fPIC'
8345
        lt_prog_compiler_static='-static'
8346
        ;;
8347
      # Lahey Fortran 8.1.
8348
      lf95*)
8349
        lt_prog_compiler_wl='-Wl,'
8350
        lt_prog_compiler_pic='--shared'
8351
        lt_prog_compiler_static='--static'
8352
        ;;
8353 131 jeremybenn
      pgcc* | pgf77* | pgf90* | pgf95*)
8354
        # Portland Group compilers (*not* the Pentium gcc compiler,
8355
        # which looks to be a dead project)
8356
        lt_prog_compiler_wl='-Wl,'
8357
        lt_prog_compiler_pic='-fpic'
8358
        lt_prog_compiler_static='-Bstatic'
8359
        ;;
8360
      ccc*)
8361
        lt_prog_compiler_wl='-Wl,'
8362
        # All Alpha code is PIC.
8363
        lt_prog_compiler_static='-non_shared'
8364
        ;;
8365 225 jeremybenn
      xl*)
8366
        # IBM XL C 8.0/Fortran 10.1 on PPC
8367
        lt_prog_compiler_wl='-Wl,'
8368
        lt_prog_compiler_pic='-qpic'
8369
        lt_prog_compiler_static='-qstaticlink'
8370
        ;;
8371 131 jeremybenn
      *)
8372
        case `$CC -V 2>&1 | sed 5q` in
8373
        *Sun\ C*)
8374
          # Sun C 5.9
8375
          lt_prog_compiler_pic='-KPIC'
8376
          lt_prog_compiler_static='-Bstatic'
8377
          lt_prog_compiler_wl='-Wl,'
8378
          ;;
8379
        *Sun\ F*)
8380
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8381
          lt_prog_compiler_pic='-KPIC'
8382
          lt_prog_compiler_static='-Bstatic'
8383
          lt_prog_compiler_wl=''
8384
          ;;
8385
        esac
8386
        ;;
8387
      esac
8388
      ;;
8389
 
8390
    newsos6)
8391
      lt_prog_compiler_pic='-KPIC'
8392
      lt_prog_compiler_static='-Bstatic'
8393
      ;;
8394
 
8395
    *nto* | *qnx*)
8396
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8397
      # it will coredump.
8398
      lt_prog_compiler_pic='-fPIC -shared'
8399
      ;;
8400
 
8401
    osf3* | osf4* | osf5*)
8402
      lt_prog_compiler_wl='-Wl,'
8403
      # All OSF/1 code is PIC.
8404
      lt_prog_compiler_static='-non_shared'
8405
      ;;
8406
 
8407
    rdos*)
8408
      lt_prog_compiler_static='-non_shared'
8409
      ;;
8410
 
8411
    solaris*)
8412
      lt_prog_compiler_pic='-KPIC'
8413
      lt_prog_compiler_static='-Bstatic'
8414
      case $cc_basename in
8415
      f77* | f90* | f95*)
8416
        lt_prog_compiler_wl='-Qoption ld ';;
8417
      *)
8418
        lt_prog_compiler_wl='-Wl,';;
8419
      esac
8420
      ;;
8421
 
8422
    sunos4*)
8423
      lt_prog_compiler_wl='-Qoption ld '
8424
      lt_prog_compiler_pic='-PIC'
8425
      lt_prog_compiler_static='-Bstatic'
8426
      ;;
8427
 
8428
    sysv4 | sysv4.2uw2* | sysv4.3*)
8429
      lt_prog_compiler_wl='-Wl,'
8430
      lt_prog_compiler_pic='-KPIC'
8431
      lt_prog_compiler_static='-Bstatic'
8432
      ;;
8433
 
8434
    sysv4*MP*)
8435
      if test -d /usr/nec ;then
8436
        lt_prog_compiler_pic='-Kconform_pic'
8437
        lt_prog_compiler_static='-Bstatic'
8438
      fi
8439
      ;;
8440
 
8441
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8442
      lt_prog_compiler_wl='-Wl,'
8443
      lt_prog_compiler_pic='-KPIC'
8444
      lt_prog_compiler_static='-Bstatic'
8445
      ;;
8446
 
8447
    unicos*)
8448
      lt_prog_compiler_wl='-Wl,'
8449
      lt_prog_compiler_can_build_shared=no
8450
      ;;
8451
 
8452
    uts4*)
8453
      lt_prog_compiler_pic='-pic'
8454
      lt_prog_compiler_static='-Bstatic'
8455
      ;;
8456
 
8457
    *)
8458
      lt_prog_compiler_can_build_shared=no
8459
      ;;
8460
    esac
8461
  fi
8462
 
8463
case $host_os in
8464
  # For platforms which do not support PIC, -DPIC is meaningless:
8465
  *djgpp*)
8466
    lt_prog_compiler_pic=
8467
    ;;
8468
  *)
8469
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8470
    ;;
8471
esac
8472 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8473
$as_echo "$lt_prog_compiler_pic" >&6; }
8474 131 jeremybenn
 
8475
 
8476
 
8477
 
8478
 
8479
 
8480
#
8481
# Check to make sure the PIC flag actually works.
8482
#
8483
if test -n "$lt_prog_compiler_pic"; then
8484 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8485
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8486
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8487
  $as_echo_n "(cached) " >&6
8488 131 jeremybenn
else
8489 225 jeremybenn
  lt_cv_prog_compiler_pic_works=no
8490 131 jeremybenn
   ac_outfile=conftest.$ac_objext
8491
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8492
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8493
   # Insert the option either (1) after the last *FLAGS variable, or
8494
   # (2) before a word containing "conftest.", or (3) at the end.
8495
   # Note that $ac_compile itself does not contain backslashes and begins
8496
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8497
   # The option is referenced via a variable to avoid confusing sed.
8498
   lt_compile=`echo "$ac_compile" | $SED \
8499
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8500
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8501
   -e 's:$: $lt_compiler_flag:'`
8502 225 jeremybenn
   (eval echo "\"\$as_me:8502: $lt_compile\"" >&5)
8503 131 jeremybenn
   (eval "$lt_compile" 2>conftest.err)
8504
   ac_status=$?
8505
   cat conftest.err >&5
8506 225 jeremybenn
   echo "$as_me:8506: \$? = $ac_status" >&5
8507 131 jeremybenn
   if (exit $ac_status) && test -s "$ac_outfile"; then
8508
     # The compiler can only warn and ignore the option if not recognized
8509
     # So say no if there are warnings other than the usual output.
8510
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8511
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8512
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8513 225 jeremybenn
       lt_cv_prog_compiler_pic_works=yes
8514 131 jeremybenn
     fi
8515
   fi
8516
   $RM conftest*
8517
 
8518
fi
8519 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8520
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8521 131 jeremybenn
 
8522 225 jeremybenn
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8523 131 jeremybenn
    case $lt_prog_compiler_pic in
8524
     "" | " "*) ;;
8525
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8526
     esac
8527
else
8528
    lt_prog_compiler_pic=
8529
     lt_prog_compiler_can_build_shared=no
8530
fi
8531
 
8532
fi
8533
 
8534
 
8535
 
8536
 
8537
 
8538
 
8539
#
8540
# Check to make sure the static flag actually works.
8541
#
8542
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8543 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8544
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8545
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8546
  $as_echo_n "(cached) " >&6
8547 131 jeremybenn
else
8548 225 jeremybenn
  lt_cv_prog_compiler_static_works=no
8549 131 jeremybenn
   save_LDFLAGS="$LDFLAGS"
8550
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8551
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8552
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8553
     # The linker can only warn and ignore the option if not recognized
8554
     # So say no if there are warnings
8555
     if test -s conftest.err; then
8556
       # Append any errors to the config.log.
8557
       cat conftest.err 1>&5
8558
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8559
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8560
       if diff conftest.exp conftest.er2 >/dev/null; then
8561 225 jeremybenn
         lt_cv_prog_compiler_static_works=yes
8562 131 jeremybenn
       fi
8563
     else
8564 225 jeremybenn
       lt_cv_prog_compiler_static_works=yes
8565 131 jeremybenn
     fi
8566
   fi
8567 225 jeremybenn
   $RM -r conftest*
8568 131 jeremybenn
   LDFLAGS="$save_LDFLAGS"
8569
 
8570
fi
8571 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8572
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8573 131 jeremybenn
 
8574 225 jeremybenn
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8575 131 jeremybenn
    :
8576
else
8577
    lt_prog_compiler_static=
8578
fi
8579
 
8580
 
8581
 
8582
 
8583
 
8584
 
8585
 
8586 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8587
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8588
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8589
  $as_echo_n "(cached) " >&6
8590 131 jeremybenn
else
8591
  lt_cv_prog_compiler_c_o=no
8592
   $RM -r conftest 2>/dev/null
8593
   mkdir conftest
8594
   cd conftest
8595
   mkdir out
8596
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8597
 
8598
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8599
   # Insert the option either (1) after the last *FLAGS variable, or
8600
   # (2) before a word containing "conftest.", or (3) at the end.
8601
   # Note that $ac_compile itself does not contain backslashes and begins
8602
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8603
   lt_compile=`echo "$ac_compile" | $SED \
8604
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8605
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8606
   -e 's:$: $lt_compiler_flag:'`
8607 225 jeremybenn
   (eval echo "\"\$as_me:8607: $lt_compile\"" >&5)
8608 131 jeremybenn
   (eval "$lt_compile" 2>out/conftest.err)
8609
   ac_status=$?
8610
   cat out/conftest.err >&5
8611 225 jeremybenn
   echo "$as_me:8611: \$? = $ac_status" >&5
8612 131 jeremybenn
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8613
   then
8614
     # The compiler can only warn and ignore the option if not recognized
8615
     # So say no if there are warnings
8616
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8617
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8618
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8619
       lt_cv_prog_compiler_c_o=yes
8620
     fi
8621
   fi
8622
   chmod u+w . 2>&5
8623
   $RM conftest*
8624
   # SGI C++ compiler will create directory out/ii_files/ for
8625
   # template instantiation
8626
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8627
   $RM out/* && rmdir out
8628
   cd ..
8629
   $RM -r conftest
8630
   $RM conftest*
8631
 
8632
fi
8633 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8634
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8635 131 jeremybenn
 
8636
 
8637
 
8638
 
8639
 
8640
 
8641 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8642
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8643
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8644
  $as_echo_n "(cached) " >&6
8645 131 jeremybenn
else
8646
  lt_cv_prog_compiler_c_o=no
8647
   $RM -r conftest 2>/dev/null
8648
   mkdir conftest
8649
   cd conftest
8650
   mkdir out
8651
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8652
 
8653
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8654
   # Insert the option either (1) after the last *FLAGS variable, or
8655
   # (2) before a word containing "conftest.", or (3) at the end.
8656
   # Note that $ac_compile itself does not contain backslashes and begins
8657
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8658
   lt_compile=`echo "$ac_compile" | $SED \
8659
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8660
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8661
   -e 's:$: $lt_compiler_flag:'`
8662 225 jeremybenn
   (eval echo "\"\$as_me:8662: $lt_compile\"" >&5)
8663 131 jeremybenn
   (eval "$lt_compile" 2>out/conftest.err)
8664
   ac_status=$?
8665
   cat out/conftest.err >&5
8666 225 jeremybenn
   echo "$as_me:8666: \$? = $ac_status" >&5
8667 131 jeremybenn
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8668
   then
8669
     # The compiler can only warn and ignore the option if not recognized
8670
     # So say no if there are warnings
8671
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8672
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8673
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8674
       lt_cv_prog_compiler_c_o=yes
8675
     fi
8676
   fi
8677
   chmod u+w . 2>&5
8678
   $RM conftest*
8679
   # SGI C++ compiler will create directory out/ii_files/ for
8680
   # template instantiation
8681
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8682
   $RM out/* && rmdir out
8683
   cd ..
8684
   $RM -r conftest
8685
   $RM conftest*
8686
 
8687
fi
8688 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8689
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8690 131 jeremybenn
 
8691
 
8692
 
8693
 
8694
hard_links="nottested"
8695
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8696
  # do not overwrite the value of need_locks provided by the user
8697 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8698
$as_echo_n "checking if we can lock with hard links... " >&6; }
8699 131 jeremybenn
  hard_links=yes
8700
  $RM conftest*
8701
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8702
  touch conftest.a
8703
  ln conftest.a conftest.b 2>&5 || hard_links=no
8704
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8705 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8706
$as_echo "$hard_links" >&6; }
8707 131 jeremybenn
  if test "$hard_links" = no; then
8708 225 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8709
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8710 131 jeremybenn
    need_locks=warn
8711
  fi
8712
else
8713
  need_locks=no
8714
fi
8715
 
8716
 
8717
 
8718
 
8719
 
8720
 
8721 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8722
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8723 131 jeremybenn
 
8724
  runpath_var=
8725
  allow_undefined_flag=
8726
  always_export_symbols=no
8727
  archive_cmds=
8728
  archive_expsym_cmds=
8729
  compiler_needs_object=no
8730
  enable_shared_with_static_runtimes=no
8731
  export_dynamic_flag_spec=
8732
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8733
  hardcode_automatic=no
8734
  hardcode_direct=no
8735
  hardcode_direct_absolute=no
8736
  hardcode_libdir_flag_spec=
8737
  hardcode_libdir_flag_spec_ld=
8738
  hardcode_libdir_separator=
8739
  hardcode_minus_L=no
8740
  hardcode_shlibpath_var=unsupported
8741
  inherit_rpath=no
8742
  link_all_deplibs=unknown
8743
  module_cmds=
8744
  module_expsym_cmds=
8745
  old_archive_from_new_cmds=
8746
  old_archive_from_expsyms_cmds=
8747
  thread_safe_flag_spec=
8748
  whole_archive_flag_spec=
8749
  # include_expsyms should be a list of space-separated symbols to be *always*
8750
  # included in the symbol list
8751
  include_expsyms=
8752
  # exclude_expsyms can be an extended regexp of symbols to exclude
8753
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8754
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8755
  # as well as any symbol that contains `d'.
8756 225 jeremybenn
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8757 131 jeremybenn
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8758
  # platforms (ab)use it in PIC code, but their linkers get confused if
8759
  # the symbol is explicitly referenced.  Since portable code cannot
8760
  # rely on this symbol name, it's probably fine to never include it in
8761
  # preloaded symbol tables.
8762 225 jeremybenn
  # Exclude shared library initialization/finalization symbols.
8763 131 jeremybenn
  extract_expsyms_cmds=
8764
 
8765
  case $host_os in
8766 225 jeremybenn
  cygwin* | mingw* | pw32* | cegcc*)
8767 131 jeremybenn
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8768
    # When not using gcc, we currently assume that we are using
8769
    # Microsoft Visual C++.
8770
    if test "$GCC" != yes; then
8771
      with_gnu_ld=no
8772
    fi
8773
    ;;
8774
  interix*)
8775
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8776
    with_gnu_ld=yes
8777
    ;;
8778
  openbsd*)
8779
    with_gnu_ld=no
8780
    ;;
8781
  esac
8782
 
8783
  ld_shlibs=yes
8784
  if test "$with_gnu_ld" = yes; then
8785
    # If archive_cmds runs LD, not CC, wlarc should be empty
8786
    wlarc='${wl}'
8787
 
8788
    # Set some defaults for GNU ld with shared library support. These
8789
    # are reset later if shared libraries are not supported. Putting them
8790
    # here allows them to be overridden if necessary.
8791
    runpath_var=LD_RUN_PATH
8792
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8793
    export_dynamic_flag_spec='${wl}--export-dynamic'
8794
    # ancient GNU ld didn't support --whole-archive et. al.
8795
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8796
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8797
    else
8798
      whole_archive_flag_spec=
8799
    fi
8800
    supports_anon_versioning=no
8801
    case `$LD -v 2>&1` in
8802
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8803
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8804
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8805
      *\ 2.11.*) ;; # other 2.11 versions
8806
      *) supports_anon_versioning=yes ;;
8807
    esac
8808
 
8809
    # See if GNU ld supports shared libraries.
8810
    case $host_os in
8811 225 jeremybenn
    aix[3-9]*)
8812 131 jeremybenn
      # On AIX/PPC, the GNU linker is very broken
8813
      if test "$host_cpu" != ia64; then
8814
        ld_shlibs=no
8815
        cat <<_LT_EOF 1>&2
8816
 
8817
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8818
*** to be unable to reliably create shared libraries on AIX.
8819
*** Therefore, libtool is disabling shared libraries support.  If you
8820
*** really care for shared libraries, you may want to modify your PATH
8821
*** so that a non-GNU linker is found, and then restart.
8822
 
8823
_LT_EOF
8824
      fi
8825
      ;;
8826
 
8827
    amigaos*)
8828 225 jeremybenn
      case $host_cpu in
8829
      powerpc)
8830
            # see comment about AmigaOS4 .so support
8831
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8832
            archive_expsym_cmds=''
8833
        ;;
8834
      m68k)
8835
            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)'
8836
            hardcode_libdir_flag_spec='-L$libdir'
8837
            hardcode_minus_L=yes
8838
        ;;
8839
      esac
8840 131 jeremybenn
      ;;
8841
 
8842
    beos*)
8843
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8844
        allow_undefined_flag=unsupported
8845
        # Joseph Beckenbach  says some releases of gcc
8846
        # support --undefined.  This deserves some investigation.  FIXME
8847
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8848
      else
8849
        ld_shlibs=no
8850
      fi
8851
      ;;
8852
 
8853 225 jeremybenn
    cygwin* | mingw* | pw32* | cegcc*)
8854 131 jeremybenn
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8855
      # as there is no search path for DLLs.
8856
      hardcode_libdir_flag_spec='-L$libdir'
8857
      allow_undefined_flag=unsupported
8858
      always_export_symbols=no
8859
      enable_shared_with_static_runtimes=yes
8860
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8861
 
8862
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8863
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8864
        # If the export-symbols file already is a .def file (1st line
8865
        # is EXPORTS), use it as is; otherwise, prepend...
8866
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8867
          cp $export_symbols $output_objdir/$soname.def;
8868
        else
8869
          echo EXPORTS > $output_objdir/$soname.def;
8870
          cat $export_symbols >> $output_objdir/$soname.def;
8871
        fi~
8872
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8873
      else
8874
        ld_shlibs=no
8875
      fi
8876
      ;;
8877
 
8878
    interix[3-9]*)
8879
      hardcode_direct=no
8880
      hardcode_shlibpath_var=no
8881
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8882
      export_dynamic_flag_spec='${wl}-E'
8883
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8884
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8885
      # default) and relocated if they conflict, which is a slow very memory
8886
      # consuming and fragmenting process.  To avoid this, we pick a random,
8887
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8888
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8889
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8890
      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'
8891
      ;;
8892
 
8893 225 jeremybenn
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8894 131 jeremybenn
      tmp_diet=no
8895
      if test "$host_os" = linux-dietlibc; then
8896
        case $cc_basename in
8897
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8898
        esac
8899
      fi
8900
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8901
         && test "$tmp_diet" = no
8902
      then
8903
        tmp_addflag=
8904 225 jeremybenn
        tmp_sharedflag='-shared'
8905 131 jeremybenn
        case $cc_basename,$host_cpu in
8906
        pgcc*)                          # Portland Group C compiler
8907
          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'
8908
          tmp_addflag=' $pic_flag'
8909
          ;;
8910
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8911
          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'
8912
          tmp_addflag=' $pic_flag -Mnomain' ;;
8913
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8914
          tmp_addflag=' -i_dynamic' ;;
8915
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8916
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8917
        ifc* | ifort*)                  # Intel Fortran compiler
8918
          tmp_addflag=' -nofor_main' ;;
8919 225 jeremybenn
        lf95*)                          # Lahey Fortran 8.1
8920
          whole_archive_flag_spec=
8921
          tmp_sharedflag='--shared' ;;
8922
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8923
          tmp_sharedflag='-qmkshrobj'
8924
          tmp_addflag= ;;
8925 131 jeremybenn
        esac
8926
        case `$CC -V 2>&1 | sed 5q` in
8927
        *Sun\ C*)                       # Sun C 5.9
8928
          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'
8929
          compiler_needs_object=yes
8930
          tmp_sharedflag='-G' ;;
8931
        *Sun\ F*)                       # Sun Fortran 8.3
8932
          tmp_sharedflag='-G' ;;
8933
        esac
8934
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8935
 
8936
        if test "x$supports_anon_versioning" = xyes; then
8937
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8938
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8939
            echo "local: *; };" >> $output_objdir/$libname.ver~
8940
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8941
        fi
8942 225 jeremybenn
 
8943
        case $cc_basename in
8944
        xlf*)
8945
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8946
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8947
          hardcode_libdir_flag_spec=
8948
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8949
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8950
          if test "x$supports_anon_versioning" = xyes; then
8951
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8952
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8953
              echo "local: *; };" >> $output_objdir/$libname.ver~
8954
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8955
          fi
8956
          ;;
8957
        esac
8958 131 jeremybenn
      else
8959
        ld_shlibs=no
8960
      fi
8961
      ;;
8962
 
8963
    netbsd*)
8964
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8965
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8966
        wlarc=
8967
      else
8968
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8969
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8970
      fi
8971
      ;;
8972
 
8973
    solaris*)
8974
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8975
        ld_shlibs=no
8976
        cat <<_LT_EOF 1>&2
8977
 
8978
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8979
*** create shared libraries on Solaris systems.  Therefore, libtool
8980
*** is disabling shared libraries support.  We urge you to upgrade GNU
8981
*** binutils to release 2.9.1 or newer.  Another option is to modify
8982
*** your PATH or compiler configuration so that the native linker is
8983
*** used, and then restart.
8984
 
8985
_LT_EOF
8986
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8987
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8988
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8989
      else
8990
        ld_shlibs=no
8991
      fi
8992
      ;;
8993
 
8994
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8995
      case `$LD -v 2>&1` in
8996
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8997
        ld_shlibs=no
8998
        cat <<_LT_EOF 1>&2
8999
 
9000
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9001
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9002
*** is disabling shared libraries support.  We urge you to upgrade GNU
9003
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9004
*** your PATH or compiler configuration so that the native linker is
9005
*** used, and then restart.
9006
 
9007
_LT_EOF
9008
        ;;
9009
        *)
9010
          # For security reasons, it is highly recommended that you always
9011
          # use absolute paths for naming shared libraries, and exclude the
9012
          # DT_RUNPATH tag from executables and libraries.  But doing so
9013
          # requires that you compile everything twice, which is a pain.
9014
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9015
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9016
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9017
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9018
          else
9019
            ld_shlibs=no
9020
          fi
9021
        ;;
9022
      esac
9023
      ;;
9024
 
9025
    sunos4*)
9026
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9027
      wlarc=
9028
      hardcode_direct=yes
9029
      hardcode_shlibpath_var=no
9030
      ;;
9031
 
9032
    *)
9033
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9034
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9036
      else
9037
        ld_shlibs=no
9038
      fi
9039
      ;;
9040
    esac
9041
 
9042
    if test "$ld_shlibs" = no; then
9043
      runpath_var=
9044
      hardcode_libdir_flag_spec=
9045
      export_dynamic_flag_spec=
9046
      whole_archive_flag_spec=
9047
    fi
9048
  else
9049
    # PORTME fill in a description of your system's linker (not GNU ld)
9050
    case $host_os in
9051
    aix3*)
9052
      allow_undefined_flag=unsupported
9053
      always_export_symbols=yes
9054
      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9055
      # Note: this linker hardcodes the directories in LIBPATH if there
9056
      # are no directories specified by -L.
9057
      hardcode_minus_L=yes
9058
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9059
        # Neither direct hardcoding nor static linking is supported with a
9060
        # broken collect2.
9061
        hardcode_direct=unsupported
9062
      fi
9063
      ;;
9064
 
9065 225 jeremybenn
    aix[4-9]*)
9066 131 jeremybenn
      if test "$host_cpu" = ia64; then
9067
        # On IA64, the linker does run time linking by default, so we don't
9068
        # have to do anything special.
9069
        aix_use_runtimelinking=no
9070
        exp_sym_flag='-Bexport'
9071
        no_entry_flag=""
9072
      else
9073
        # If we're using GNU nm, then we don't want the "-C" option.
9074
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9075
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9076
          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'
9077
        else
9078
          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'
9079
        fi
9080
        aix_use_runtimelinking=no
9081
 
9082
        # Test if we are trying to use run time linking or normal
9083
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9084
        # need to do runtime linking.
9085 225 jeremybenn
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9086 131 jeremybenn
          for ld_flag in $LDFLAGS; do
9087
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9088
            aix_use_runtimelinking=yes
9089
            break
9090
          fi
9091
          done
9092
          ;;
9093
        esac
9094
 
9095
        exp_sym_flag='-bexport'
9096
        no_entry_flag='-bnoentry'
9097
      fi
9098
 
9099
      # When large executables or shared objects are built, AIX ld can
9100
      # have problems creating the table of contents.  If linking a library
9101
      # or program results in "error TOC overflow" add -mminimal-toc to
9102
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9103
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9104
 
9105
      archive_cmds=''
9106
      hardcode_direct=yes
9107
      hardcode_direct_absolute=yes
9108
      hardcode_libdir_separator=':'
9109
      link_all_deplibs=yes
9110
      file_list_spec='${wl}-f,'
9111
 
9112
      if test "$GCC" = yes; then
9113
        case $host_os in aix4.[012]|aix4.[012].*)
9114
        # We only want to do this on AIX 4.2 and lower, the check
9115
        # below for broken collect2 doesn't work under 4.3+
9116
          collect2name=`${CC} -print-prog-name=collect2`
9117
          if test -f "$collect2name" &&
9118
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9119
          then
9120
          # We have reworked collect2
9121
          :
9122
          else
9123
          # We have old collect2
9124
          hardcode_direct=unsupported
9125
          # It fails to find uninstalled libraries when the uninstalled
9126
          # path is not listed in the libpath.  Setting hardcode_minus_L
9127
          # to unsupported forces relinking
9128
          hardcode_minus_L=yes
9129
          hardcode_libdir_flag_spec='-L$libdir'
9130
          hardcode_libdir_separator=
9131
          fi
9132
          ;;
9133
        esac
9134
        shared_flag='-shared'
9135
        if test "$aix_use_runtimelinking" = yes; then
9136
          shared_flag="$shared_flag "'${wl}-G'
9137
        fi
9138
      else
9139
        # not using gcc
9140
        if test "$host_cpu" = ia64; then
9141
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9142
        # chokes on -Wl,-G. The following line is correct:
9143
          shared_flag='-G'
9144
        else
9145
          if test "$aix_use_runtimelinking" = yes; then
9146
            shared_flag='${wl}-G'
9147
          else
9148
            shared_flag='${wl}-bM:SRE'
9149
          fi
9150
        fi
9151
      fi
9152
 
9153 225 jeremybenn
      export_dynamic_flag_spec='${wl}-bexpall'
9154 131 jeremybenn
      # It seems that -bexpall does not export symbols beginning with
9155
      # underscore (_), so it is better to generate a list of symbols to export.
9156
      always_export_symbols=yes
9157
      if test "$aix_use_runtimelinking" = yes; then
9158
        # Warning - without using the other runtime loading flags (-brtl),
9159
        # -berok will link without error, but may produce a broken library.
9160
        allow_undefined_flag='-berok'
9161
        # Determine the default libpath from the value encoded in an
9162
        # empty executable.
9163 225 jeremybenn
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9164 131 jeremybenn
/* end confdefs.h.  */
9165
 
9166
int
9167
main ()
9168
{
9169
 
9170
  ;
9171
  return 0;
9172
}
9173
_ACEOF
9174 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
9175 131 jeremybenn
 
9176
lt_aix_libpath_sed='
9177
    /Import File Strings/,/^$/ {
9178
        /^0/ {
9179
            s/^0  *\(.*\)$/\1/
9180
            p
9181
        }
9182
    }'
9183
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9184
# Check for a 64-bit object if we didn't find anything.
9185
if test -z "$aix_libpath"; then
9186
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9187
fi
9188
fi
9189 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
9190
    conftest$ac_exeext conftest.$ac_ext
9191 131 jeremybenn
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9192
 
9193
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9194
        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"
9195
      else
9196
        if test "$host_cpu" = ia64; then
9197
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9198
          allow_undefined_flag="-z nodefs"
9199
          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"
9200
        else
9201
         # Determine the default libpath from the value encoded in an
9202
         # empty executable.
9203 225 jeremybenn
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 131 jeremybenn
/* end confdefs.h.  */
9205
 
9206
int
9207
main ()
9208
{
9209
 
9210
  ;
9211
  return 0;
9212
}
9213
_ACEOF
9214 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
9215 131 jeremybenn
 
9216
lt_aix_libpath_sed='
9217
    /Import File Strings/,/^$/ {
9218
        /^0/ {
9219
            s/^0  *\(.*\)$/\1/
9220
            p
9221
        }
9222
    }'
9223
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9224
# Check for a 64-bit object if we didn't find anything.
9225
if test -z "$aix_libpath"; then
9226
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9227
fi
9228
fi
9229 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
9230
    conftest$ac_exeext conftest.$ac_ext
9231 131 jeremybenn
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9232
 
9233
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9234
          # Warning - without using the other run time loading flags,
9235
          # -berok will link without error, but may produce a broken library.
9236
          no_undefined_flag=' ${wl}-bernotok'
9237
          allow_undefined_flag=' ${wl}-berok'
9238
          # Exported symbols can be pulled into shared objects from archives
9239
          whole_archive_flag_spec='$convenience'
9240
          archive_cmds_need_lc=yes
9241
          # This is similar to how AIX traditionally builds its shared libraries.
9242
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9243
        fi
9244
      fi
9245
      ;;
9246
 
9247
    amigaos*)
9248 225 jeremybenn
      case $host_cpu in
9249
      powerpc)
9250
            # see comment about AmigaOS4 .so support
9251
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9252
            archive_expsym_cmds=''
9253
        ;;
9254
      m68k)
9255
            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)'
9256
            hardcode_libdir_flag_spec='-L$libdir'
9257
            hardcode_minus_L=yes
9258
        ;;
9259
      esac
9260 131 jeremybenn
      ;;
9261
 
9262
    bsdi[45]*)
9263
      export_dynamic_flag_spec=-rdynamic
9264
      ;;
9265
 
9266 225 jeremybenn
    cygwin* | mingw* | pw32* | cegcc*)
9267 131 jeremybenn
      # When not using gcc, we currently assume that we are using
9268
      # Microsoft Visual C++.
9269
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9270
      # no search path for DLLs.
9271
      hardcode_libdir_flag_spec=' '
9272
      allow_undefined_flag=unsupported
9273
      # Tell ltmain to make .lib files, not .a files.
9274
      libext=lib
9275
      # Tell ltmain to make .dll files, not .so files.
9276
      shrext_cmds=".dll"
9277
      # FIXME: Setting linknames here is a bad hack.
9278
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9279
      # The linker will automatically build a .lib file if we build a DLL.
9280
      old_archive_from_new_cmds='true'
9281
      # FIXME: Should let the user specify the lib program.
9282
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9283
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9284
      enable_shared_with_static_runtimes=yes
9285
      ;;
9286
 
9287
    darwin* | rhapsody*)
9288
 
9289 225 jeremybenn
 
9290
  archive_cmds_need_lc=no
9291
  hardcode_direct=no
9292
  hardcode_automatic=yes
9293
  hardcode_shlibpath_var=unsupported
9294
  whole_archive_flag_spec=''
9295
  link_all_deplibs=yes
9296
  allow_undefined_flag="$_lt_dar_allow_undefined"
9297
  case $cc_basename in
9298
     ifort*) _lt_dar_can_shared=yes ;;
9299
     *) _lt_dar_can_shared=$GCC ;;
9300
  esac
9301
  if test "$_lt_dar_can_shared" = "yes"; then
9302
    output_verbose_link_cmd=echo
9303
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9304
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9305
    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}"
9306
    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}"
9307
 
9308
  else
9309
  ld_shlibs=no
9310
  fi
9311
 
9312 131 jeremybenn
      ;;
9313
 
9314
    dgux*)
9315
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9316
      hardcode_libdir_flag_spec='-L$libdir'
9317
      hardcode_shlibpath_var=no
9318
      ;;
9319
 
9320
    freebsd1*)
9321
      ld_shlibs=no
9322
      ;;
9323
 
9324
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9325
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9326
    # does not break anything, and helps significantly (at the cost of a little
9327
    # extra space).
9328
    freebsd2.2*)
9329
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9330
      hardcode_libdir_flag_spec='-R$libdir'
9331
      hardcode_direct=yes
9332
      hardcode_shlibpath_var=no
9333
      ;;
9334
 
9335
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9336
    freebsd2*)
9337
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9338
      hardcode_direct=yes
9339
      hardcode_minus_L=yes
9340
      hardcode_shlibpath_var=no
9341
      ;;
9342
 
9343
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9344
    freebsd* | dragonfly*)
9345
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9346
      hardcode_libdir_flag_spec='-R$libdir'
9347
      hardcode_direct=yes
9348
      hardcode_shlibpath_var=no
9349
      ;;
9350
 
9351
    hpux9*)
9352
      if test "$GCC" = yes; then
9353
        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'
9354
      else
9355
        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'
9356
      fi
9357
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9358
      hardcode_libdir_separator=:
9359
      hardcode_direct=yes
9360
 
9361
      # hardcode_minus_L: Not really in the search PATH,
9362
      # but as the default location of the library.
9363
      hardcode_minus_L=yes
9364
      export_dynamic_flag_spec='${wl}-E'
9365
      ;;
9366
 
9367
    hpux10*)
9368
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9369
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9370
      else
9371
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9372
      fi
9373
      if test "$with_gnu_ld" = no; then
9374
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9375
        hardcode_libdir_flag_spec_ld='+b $libdir'
9376
        hardcode_libdir_separator=:
9377
        hardcode_direct=yes
9378
        hardcode_direct_absolute=yes
9379
        export_dynamic_flag_spec='${wl}-E'
9380
        # hardcode_minus_L: Not really in the search PATH,
9381
        # but as the default location of the library.
9382
        hardcode_minus_L=yes
9383
      fi
9384
      ;;
9385
 
9386
    hpux11*)
9387
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9388
        case $host_cpu in
9389
        hppa*64*)
9390
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9391
          ;;
9392
        ia64*)
9393 225 jeremybenn
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9394 131 jeremybenn
          ;;
9395
        *)
9396
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9397
          ;;
9398
        esac
9399
      else
9400
        case $host_cpu in
9401
        hppa*64*)
9402
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9403
          ;;
9404
        ia64*)
9405
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9406
          ;;
9407
        *)
9408
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9409
          ;;
9410
        esac
9411
      fi
9412
      if test "$with_gnu_ld" = no; then
9413
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9414
        hardcode_libdir_separator=:
9415
 
9416
        case $host_cpu in
9417
        hppa*64*|ia64*)
9418
          hardcode_direct=no
9419
          hardcode_shlibpath_var=no
9420
          ;;
9421
        *)
9422
          hardcode_direct=yes
9423
          hardcode_direct_absolute=yes
9424
          export_dynamic_flag_spec='${wl}-E'
9425
 
9426
          # hardcode_minus_L: Not really in the search PATH,
9427
          # but as the default location of the library.
9428
          hardcode_minus_L=yes
9429
          ;;
9430
        esac
9431
      fi
9432
      ;;
9433
 
9434
    irix5* | irix6* | nonstopux*)
9435
      if test "$GCC" = yes; then
9436
        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'
9437
        # Try to use the -exported_symbol ld option, if it does not
9438
        # work, assume that -exports_file does not work either and
9439
        # implicitly export all symbols.
9440
        save_LDFLAGS="$LDFLAGS"
9441
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9442 225 jeremybenn
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443
/* end confdefs.h.  */
9444 131 jeremybenn
int foo(void) {}
9445
_ACEOF
9446 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
9447 131 jeremybenn
  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'
9448
 
9449
fi
9450 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
9451
    conftest$ac_exeext conftest.$ac_ext
9452 131 jeremybenn
        LDFLAGS="$save_LDFLAGS"
9453
      else
9454
        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'
9455
        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'
9456
      fi
9457
      archive_cmds_need_lc='no'
9458
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9459
      hardcode_libdir_separator=:
9460
      inherit_rpath=yes
9461
      link_all_deplibs=yes
9462
      ;;
9463
 
9464
    netbsd*)
9465
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9466
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9467
      else
9468
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9469
      fi
9470
      hardcode_libdir_flag_spec='-R$libdir'
9471
      hardcode_direct=yes
9472
      hardcode_shlibpath_var=no
9473
      ;;
9474
 
9475
    newsos6)
9476
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9477
      hardcode_direct=yes
9478
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9479
      hardcode_libdir_separator=:
9480
      hardcode_shlibpath_var=no
9481
      ;;
9482
 
9483
    *nto* | *qnx*)
9484
      ;;
9485
 
9486
    openbsd*)
9487 225 jeremybenn
      if test -f /usr/libexec/ld.so; then
9488
        hardcode_direct=yes
9489
        hardcode_shlibpath_var=no
9490
        hardcode_direct_absolute=yes
9491
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9492 131 jeremybenn
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9493 225 jeremybenn
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9494 131 jeremybenn
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9495 225 jeremybenn
          export_dynamic_flag_spec='${wl}-E'
9496
        else
9497
          case $host_os in
9498
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9499
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9500
             hardcode_libdir_flag_spec='-R$libdir'
9501
             ;;
9502
           *)
9503
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9504
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9505
             ;;
9506
          esac
9507
        fi
9508
      else
9509
        ld_shlibs=no
9510 131 jeremybenn
      fi
9511
      ;;
9512
 
9513
    os2*)
9514
      hardcode_libdir_flag_spec='-L$libdir'
9515
      hardcode_minus_L=yes
9516
      allow_undefined_flag=unsupported
9517
      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'
9518
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9519
      ;;
9520
 
9521
    osf3*)
9522
      if test "$GCC" = yes; then
9523
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9524
        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'
9525
      else
9526
        allow_undefined_flag=' -expect_unresolved \*'
9527
        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'
9528
      fi
9529
      archive_cmds_need_lc='no'
9530
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9531
      hardcode_libdir_separator=:
9532
      ;;
9533
 
9534
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9535
      if test "$GCC" = yes; then
9536
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9537
        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'
9538
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9539
      else
9540
        allow_undefined_flag=' -expect_unresolved \*'
9541
        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'
9542
        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~
9543
        $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'
9544
 
9545
        # Both c and cxx compiler support -rpath directly
9546
        hardcode_libdir_flag_spec='-rpath $libdir'
9547
      fi
9548
      archive_cmds_need_lc='no'
9549
      hardcode_libdir_separator=:
9550
      ;;
9551
 
9552
    solaris*)
9553
      no_undefined_flag=' -z defs'
9554
      if test "$GCC" = yes; then
9555
        wlarc='${wl}'
9556
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9557
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9558
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9559
      else
9560
        case `$CC -V 2>&1` in
9561
        *"Compilers 5.0"*)
9562
          wlarc=''
9563
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9564
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9565
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9566
          ;;
9567
        *)
9568
          wlarc='${wl}'
9569
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9570
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9571
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9572
          ;;
9573
        esac
9574
      fi
9575
      hardcode_libdir_flag_spec='-R$libdir'
9576
      hardcode_shlibpath_var=no
9577
      case $host_os in
9578
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9579
      *)
9580
        # The compiler driver will combine and reorder linker options,
9581
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9582
        # but is careful enough not to reorder.
9583
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9584
        if test "$GCC" = yes; then
9585
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9586
        else
9587
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9588
        fi
9589
        ;;
9590
      esac
9591
      link_all_deplibs=yes
9592
      ;;
9593
 
9594
    sunos4*)
9595
      if test "x$host_vendor" = xsequent; then
9596
        # Use $CC to link under sequent, because it throws in some extra .o
9597
        # files that make .init and .fini sections work.
9598
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9599
      else
9600
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9601
      fi
9602
      hardcode_libdir_flag_spec='-L$libdir'
9603
      hardcode_direct=yes
9604
      hardcode_minus_L=yes
9605
      hardcode_shlibpath_var=no
9606
      ;;
9607
 
9608
    sysv4)
9609
      case $host_vendor in
9610
        sni)
9611
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9612
          hardcode_direct=yes # is this really true???
9613
        ;;
9614
        siemens)
9615
          ## LD is ld it makes a PLAMLIB
9616
          ## CC just makes a GrossModule.
9617
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9618
          reload_cmds='$CC -r -o $output$reload_objs'
9619
          hardcode_direct=no
9620
        ;;
9621
        motorola)
9622
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9623
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9624
        ;;
9625
      esac
9626
      runpath_var='LD_RUN_PATH'
9627
      hardcode_shlibpath_var=no
9628
      ;;
9629
 
9630
    sysv4.3*)
9631
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9632
      hardcode_shlibpath_var=no
9633
      export_dynamic_flag_spec='-Bexport'
9634
      ;;
9635
 
9636
    sysv4*MP*)
9637
      if test -d /usr/nec; then
9638
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9639
        hardcode_shlibpath_var=no
9640
        runpath_var=LD_RUN_PATH
9641
        hardcode_runpath_var=yes
9642
        ld_shlibs=yes
9643
      fi
9644
      ;;
9645
 
9646
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9647
      no_undefined_flag='${wl}-z,text'
9648
      archive_cmds_need_lc=no
9649
      hardcode_shlibpath_var=no
9650
      runpath_var='LD_RUN_PATH'
9651
 
9652
      if test "$GCC" = yes; then
9653
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9654
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9655
      else
9656
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9657
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9658
      fi
9659
      ;;
9660
 
9661
    sysv5* | sco3.2v5* | sco5v6*)
9662
      # Note: We can NOT use -z defs as we might desire, because we do not
9663
      # link with -lc, and that would cause any symbols used from libc to
9664
      # always be unresolved, which means just about no library would
9665
      # ever link correctly.  If we're not using GNU ld we use -z text
9666
      # though, which does catch some bad symbols but isn't as heavy-handed
9667
      # as -z defs.
9668
      no_undefined_flag='${wl}-z,text'
9669
      allow_undefined_flag='${wl}-z,nodefs'
9670
      archive_cmds_need_lc=no
9671
      hardcode_shlibpath_var=no
9672
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9673
      hardcode_libdir_separator=':'
9674
      link_all_deplibs=yes
9675
      export_dynamic_flag_spec='${wl}-Bexport'
9676
      runpath_var='LD_RUN_PATH'
9677
 
9678
      if test "$GCC" = yes; then
9679
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9680
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9681
      else
9682
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9683
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9684
      fi
9685
      ;;
9686
 
9687
    uts4*)
9688
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689
      hardcode_libdir_flag_spec='-L$libdir'
9690
      hardcode_shlibpath_var=no
9691
      ;;
9692
 
9693
    *)
9694
      ld_shlibs=no
9695
      ;;
9696
    esac
9697
 
9698
    if test x$host_vendor = xsni; then
9699
      case $host in
9700
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9701
        export_dynamic_flag_spec='${wl}-Blargedynsym'
9702
        ;;
9703
      esac
9704
    fi
9705
  fi
9706
 
9707 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9708
$as_echo "$ld_shlibs" >&6; }
9709 131 jeremybenn
test "$ld_shlibs" = no && can_build_shared=no
9710
 
9711
with_gnu_ld=$with_gnu_ld
9712
 
9713
 
9714
 
9715
 
9716
 
9717
 
9718
 
9719
 
9720
 
9721
 
9722
 
9723
 
9724
 
9725
 
9726
 
9727
#
9728
# Do we need to explicitly link libc?
9729
#
9730
case "x$archive_cmds_need_lc" in
9731
x|xyes)
9732
  # Assume -lc should be added
9733
  archive_cmds_need_lc=yes
9734
 
9735
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9736
    case $archive_cmds in
9737
    *'~'*)
9738
      # FIXME: we may have to deal with multi-command sequences.
9739
      ;;
9740
    '$CC '*)
9741
      # Test whether the compiler implicitly links with -lc since on some
9742
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9743
      # to ld, don't add -lc before -lgcc.
9744 225 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9745
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9746
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9747
  $as_echo_n "(cached) " >&6
9748
else
9749
  $RM conftest*
9750
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9751 131 jeremybenn
 
9752 225 jeremybenn
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9753 131 jeremybenn
  (eval $ac_compile) 2>&5
9754
  ac_status=$?
9755 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9756
  test $ac_status = 0; } 2>conftest.err; then
9757
          soname=conftest
9758
          lib=conftest
9759
          libobjs=conftest.$ac_objext
9760
          deplibs=
9761
          wl=$lt_prog_compiler_wl
9762
          pic_flag=$lt_prog_compiler_pic
9763
          compiler_flags=-v
9764
          linker_flags=-v
9765
          verstring=
9766
          output_objdir=.
9767
          libname=conftest
9768
          lt_save_allow_undefined_flag=$allow_undefined_flag
9769
          allow_undefined_flag=
9770
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9771 131 jeremybenn
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9772
  ac_status=$?
9773 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9774
  test $ac_status = 0; }
9775
          then
9776
            lt_cv_archive_cmds_need_lc=no
9777
          else
9778
            lt_cv_archive_cmds_need_lc=yes
9779
          fi
9780
          allow_undefined_flag=$lt_save_allow_undefined_flag
9781
        else
9782
          cat conftest.err 1>&5
9783
        fi
9784
        $RM conftest*
9785
 
9786
fi
9787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9788
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9789
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9790 131 jeremybenn
      ;;
9791
    esac
9792
  fi
9793
  ;;
9794
esac
9795
 
9796
 
9797
 
9798
 
9799
 
9800
 
9801
 
9802
 
9803
 
9804
 
9805
 
9806
 
9807
 
9808
 
9809
 
9810
 
9811
 
9812
 
9813
 
9814
 
9815
 
9816
 
9817
 
9818
 
9819
 
9820
 
9821
 
9822
 
9823
 
9824
 
9825
 
9826
 
9827
 
9828
 
9829
 
9830
 
9831
 
9832
 
9833
 
9834
 
9835
 
9836
 
9837
 
9838
 
9839
 
9840
 
9841
 
9842
 
9843
 
9844
 
9845
 
9846
 
9847
 
9848
 
9849
 
9850
 
9851
 
9852
 
9853
 
9854
 
9855
 
9856
 
9857
 
9858
 
9859
 
9860
 
9861
 
9862
 
9863
 
9864
 
9865
 
9866
 
9867
 
9868
 
9869
 
9870
 
9871
 
9872
 
9873
 
9874
 
9875
 
9876
 
9877
 
9878
 
9879
 
9880
 
9881
 
9882
 
9883
 
9884
 
9885
 
9886
 
9887
 
9888
 
9889
 
9890
 
9891
 
9892
 
9893
 
9894
 
9895
 
9896
 
9897
 
9898
 
9899
 
9900
 
9901
 
9902
 
9903
 
9904
 
9905
 
9906
 
9907
 
9908
 
9909
 
9910
 
9911
 
9912
 
9913
 
9914
 
9915
 
9916
 
9917
 
9918
 
9919
 
9920
 
9921
 
9922
 
9923
 
9924
 
9925
 
9926
 
9927
 
9928
 
9929
 
9930
 
9931
 
9932
 
9933
 
9934
 
9935
 
9936
 
9937
 
9938
 
9939
 
9940
 
9941
 
9942
 
9943
 
9944
 
9945
 
9946
 
9947
 
9948
 
9949
 
9950
 
9951
 
9952 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9953
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9954
 
9955
if test "$GCC" = yes; then
9956 131 jeremybenn
  case $host_os in
9957
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9958
    *) lt_awk_arg="/^libraries:/" ;;
9959
  esac
9960
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9961
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9962
    # if the path contains ";" then we assume it to be the separator
9963
    # otherwise default to the standard path separator (i.e. ":") - it is
9964
    # assumed that no part of a normal pathname contains ";" but that should
9965
    # okay in the real world where ";" in dirpaths is itself problematic.
9966
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9967
  else
9968
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9969
  fi
9970
  # Ok, now we have the path, separated by spaces, we can step through it
9971
  # and add multilib dir if necessary.
9972
  lt_tmp_lt_search_path_spec=
9973
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9974
  for lt_sys_path in $lt_search_path_spec; do
9975
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9976
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9977
    else
9978
      test -d "$lt_sys_path" && \
9979
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9980
    fi
9981
  done
9982
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9983
BEGIN {RS=" "; FS="/|\n";} {
9984
  lt_foo="";
9985
  lt_count=0;
9986
  for (lt_i = NF; lt_i > 0; lt_i--) {
9987
    if ($lt_i != "" && $lt_i != ".") {
9988
      if ($lt_i == "..") {
9989
        lt_count++;
9990
      } else {
9991
        if (lt_count == 0) {
9992
          lt_foo="/" $lt_i lt_foo;
9993
        } else {
9994
          lt_count--;
9995
        }
9996
      }
9997
    }
9998
  }
9999
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10000
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10001
}'`
10002
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10003
else
10004
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10005
fi
10006
library_names_spec=
10007
libname_spec='lib$name'
10008
soname_spec=
10009
shrext_cmds=".so"
10010
postinstall_cmds=
10011
postuninstall_cmds=
10012
finish_cmds=
10013
finish_eval=
10014
shlibpath_var=
10015
shlibpath_overrides_runpath=unknown
10016
version_type=none
10017
dynamic_linker="$host_os ld.so"
10018
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10019
need_lib_prefix=unknown
10020
hardcode_into_libs=no
10021
 
10022
# when you set need_version to no, make sure it does not cause -set_version
10023
# flags to be left without arguments
10024
need_version=unknown
10025
 
10026
case $host_os in
10027
aix3*)
10028
  version_type=linux
10029
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10030
  shlibpath_var=LIBPATH
10031
 
10032
  # AIX 3 has no versioning support, so we append a major version to the name.
10033
  soname_spec='${libname}${release}${shared_ext}$major'
10034
  ;;
10035
 
10036 225 jeremybenn
aix[4-9]*)
10037 131 jeremybenn
  version_type=linux
10038
  need_lib_prefix=no
10039
  need_version=no
10040
  hardcode_into_libs=yes
10041
  if test "$host_cpu" = ia64; then
10042
    # AIX 5 supports IA64
10043
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10044
    shlibpath_var=LD_LIBRARY_PATH
10045
  else
10046
    # With GCC up to 2.95.x, collect2 would create an import file
10047
    # for dependence libraries.  The import file would start with
10048
    # the line `#! .'.  This would cause the generated library to
10049
    # depend on `.', always an invalid library.  This was fixed in
10050
    # development snapshots of GCC prior to 3.0.
10051
    case $host_os in
10052
      aix4 | aix4.[01] | aix4.[01].*)
10053
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10054
           echo ' yes '
10055
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10056
        :
10057
      else
10058
        can_build_shared=no
10059
      fi
10060
      ;;
10061
    esac
10062
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10063
    # soname into executable. Probably we can add versioning support to
10064
    # collect2, so additional links can be useful in future.
10065
    if test "$aix_use_runtimelinking" = yes; then
10066
      # If using run time linking (on AIX 4.2 or later) use lib.so
10067
      # instead of lib.a to let people know that these are not
10068
      # typical AIX shared libraries.
10069
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10070
    else
10071
      # We preserve .a as extension for shared libraries through AIX4.2
10072
      # and later when we are not doing run time linking.
10073
      library_names_spec='${libname}${release}.a $libname.a'
10074
      soname_spec='${libname}${release}${shared_ext}$major'
10075
    fi
10076
    shlibpath_var=LIBPATH
10077
  fi
10078
  ;;
10079
 
10080
amigaos*)
10081 225 jeremybenn
  case $host_cpu in
10082
  powerpc)
10083
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10084
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10085
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10086
    ;;
10087
  m68k)
10088 131 jeremybenn
    library_names_spec='$libname.ixlibrary $libname.a'
10089
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10090
    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'
10091 225 jeremybenn
    ;;
10092
  esac
10093 131 jeremybenn
  ;;
10094
 
10095
beos*)
10096
  library_names_spec='${libname}${shared_ext}'
10097
  dynamic_linker="$host_os ld.so"
10098
  shlibpath_var=LIBRARY_PATH
10099
  ;;
10100
 
10101
bsdi[45]*)
10102
  version_type=linux
10103
  need_version=no
10104
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10105
  soname_spec='${libname}${release}${shared_ext}$major'
10106
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10107
  shlibpath_var=LD_LIBRARY_PATH
10108
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10109
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10110
  # the default ld.so.conf also contains /usr/contrib/lib and
10111
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10112
  # libtool to hard-code these into programs
10113
  ;;
10114
 
10115 225 jeremybenn
cygwin* | mingw* | pw32* | cegcc*)
10116 131 jeremybenn
  version_type=windows
10117
  shrext_cmds=".dll"
10118
  need_version=no
10119
  need_lib_prefix=no
10120
 
10121 225 jeremybenn
  case $GCC,$host_os in
10122
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10123 131 jeremybenn
    library_names_spec='$libname.dll.a'
10124
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10125
    postinstall_cmds='base_file=`basename \${file}`~
10126
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10127
      dldir=$destdir/`dirname \$dlpath`~
10128
      test -d \$dldir || mkdir -p \$dldir~
10129
      $install_prog $dir/$dlname \$dldir/$dlname~
10130
      chmod a+x \$dldir/$dlname~
10131
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10132
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10133
      fi'
10134
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10135
      dlpath=$dir/\$dldll~
10136
       $RM \$dlpath'
10137
    shlibpath_overrides_runpath=yes
10138
 
10139
    case $host_os in
10140
    cygwin*)
10141
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10142
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10143
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10144
      ;;
10145 225 jeremybenn
    mingw* | cegcc*)
10146 131 jeremybenn
      # MinGW DLLs use traditional 'lib' prefix
10147
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10148
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10149
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10150
        # It is most probably a Windows format PATH printed by
10151
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10152
        # path with ; separators, and with drive letters. We can handle the
10153
        # drive letters (cygwin fileutils understands them), so leave them,
10154
        # especially as we might pass files found there to a mingw objdump,
10155
        # which wouldn't understand a cygwinified path. Ahh.
10156
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10157
      else
10158
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10159
      fi
10160
      ;;
10161
    pw32*)
10162
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10163
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10164
      ;;
10165
    esac
10166
    ;;
10167
 
10168
  *)
10169
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10170
    ;;
10171
  esac
10172
  dynamic_linker='Win32 ld.exe'
10173
  # FIXME: first we should search . and the directory the executable is in
10174
  shlibpath_var=PATH
10175
  ;;
10176
 
10177
darwin* | rhapsody*)
10178
  dynamic_linker="$host_os dyld"
10179
  version_type=darwin
10180
  need_lib_prefix=no
10181
  need_version=no
10182
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10183
  soname_spec='${libname}${release}${major}$shared_ext'
10184
  shlibpath_overrides_runpath=yes
10185
  shlibpath_var=DYLD_LIBRARY_PATH
10186
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10187
 
10188
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10189
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10190
  ;;
10191
 
10192
dgux*)
10193
  version_type=linux
10194
  need_lib_prefix=no
10195
  need_version=no
10196
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10197
  soname_spec='${libname}${release}${shared_ext}$major'
10198
  shlibpath_var=LD_LIBRARY_PATH
10199
  ;;
10200
 
10201
freebsd1*)
10202
  dynamic_linker=no
10203
  ;;
10204
 
10205
freebsd* | dragonfly*)
10206
  # DragonFly does not have aout.  When/if they implement a new
10207
  # versioning mechanism, adjust this.
10208
  if test -x /usr/bin/objformat; then
10209
    objformat=`/usr/bin/objformat`
10210
  else
10211
    case $host_os in
10212
    freebsd[123]*) objformat=aout ;;
10213
    *) objformat=elf ;;
10214
    esac
10215
  fi
10216
  version_type=freebsd-$objformat
10217
  case $version_type in
10218
    freebsd-elf*)
10219
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10220
      need_version=no
10221
      need_lib_prefix=no
10222
      ;;
10223
    freebsd-*)
10224
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10225
      need_version=yes
10226
      ;;
10227
  esac
10228
  shlibpath_var=LD_LIBRARY_PATH
10229
  case $host_os in
10230
  freebsd2*)
10231
    shlibpath_overrides_runpath=yes
10232
    ;;
10233
  freebsd3.[01]* | freebsdelf3.[01]*)
10234
    shlibpath_overrides_runpath=yes
10235
    hardcode_into_libs=yes
10236
    ;;
10237
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10238
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10239
    shlibpath_overrides_runpath=no
10240
    hardcode_into_libs=yes
10241
    ;;
10242
  *) # from 4.6 on, and DragonFly
10243
    shlibpath_overrides_runpath=yes
10244
    hardcode_into_libs=yes
10245
    ;;
10246
  esac
10247
  ;;
10248
 
10249
gnu*)
10250
  version_type=linux
10251
  need_lib_prefix=no
10252
  need_version=no
10253
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10254
  soname_spec='${libname}${release}${shared_ext}$major'
10255
  shlibpath_var=LD_LIBRARY_PATH
10256
  hardcode_into_libs=yes
10257
  ;;
10258
 
10259
hpux9* | hpux10* | hpux11*)
10260
  # Give a soname corresponding to the major version so that dld.sl refuses to
10261
  # link against other versions.
10262
  version_type=sunos
10263
  need_lib_prefix=no
10264
  need_version=no
10265
  case $host_cpu in
10266
  ia64*)
10267
    shrext_cmds='.so'
10268
    hardcode_into_libs=yes
10269
    dynamic_linker="$host_os dld.so"
10270
    shlibpath_var=LD_LIBRARY_PATH
10271
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10272
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10273
    soname_spec='${libname}${release}${shared_ext}$major'
10274
    if test "X$HPUX_IA64_MODE" = X32; then
10275
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10276
    else
10277
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10278
    fi
10279
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10280
    ;;
10281
  hppa*64*)
10282
    shrext_cmds='.sl'
10283
    hardcode_into_libs=yes
10284
    dynamic_linker="$host_os dld.sl"
10285
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10286
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10287
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10288
    soname_spec='${libname}${release}${shared_ext}$major'
10289
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10290
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10291
    ;;
10292
  *)
10293
    shrext_cmds='.sl'
10294
    dynamic_linker="$host_os dld.sl"
10295
    shlibpath_var=SHLIB_PATH
10296
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10297
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10298
    soname_spec='${libname}${release}${shared_ext}$major'
10299
    ;;
10300
  esac
10301
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10302
  postinstall_cmds='chmod 555 $lib'
10303
  ;;
10304
 
10305
interix[3-9]*)
10306
  version_type=linux
10307
  need_lib_prefix=no
10308
  need_version=no
10309
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10310
  soname_spec='${libname}${release}${shared_ext}$major'
10311
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10312
  shlibpath_var=LD_LIBRARY_PATH
10313
  shlibpath_overrides_runpath=no
10314
  hardcode_into_libs=yes
10315
  ;;
10316
 
10317
irix5* | irix6* | nonstopux*)
10318
  case $host_os in
10319
    nonstopux*) version_type=nonstopux ;;
10320
    *)
10321
        if test "$lt_cv_prog_gnu_ld" = yes; then
10322
                version_type=linux
10323
        else
10324
                version_type=irix
10325
        fi ;;
10326
  esac
10327
  need_lib_prefix=no
10328
  need_version=no
10329
  soname_spec='${libname}${release}${shared_ext}$major'
10330
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10331
  case $host_os in
10332
  irix5* | nonstopux*)
10333
    libsuff= shlibsuff=
10334
    ;;
10335
  *)
10336
    case $LD in # libtool.m4 will add one of these switches to LD
10337
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10338
      libsuff= shlibsuff= libmagic=32-bit;;
10339
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10340
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10341
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10342
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10343
    *) libsuff= shlibsuff= libmagic=never-match;;
10344
    esac
10345
    ;;
10346
  esac
10347
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10348
  shlibpath_overrides_runpath=no
10349
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10350
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10351
  hardcode_into_libs=yes
10352
  ;;
10353
 
10354
# No shared lib support for Linux oldld, aout, or coff.
10355
linux*oldld* | linux*aout* | linux*coff*)
10356
  dynamic_linker=no
10357
  ;;
10358
 
10359
# This must be Linux ELF.
10360 225 jeremybenn
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10361 131 jeremybenn
  version_type=linux
10362
  need_lib_prefix=no
10363
  need_version=no
10364
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10365
  soname_spec='${libname}${release}${shared_ext}$major'
10366
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10367
  shlibpath_var=LD_LIBRARY_PATH
10368
  shlibpath_overrides_runpath=no
10369 225 jeremybenn
 
10370 131 jeremybenn
  # Some binutils ld are patched to set DT_RUNPATH
10371 225 jeremybenn
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10372
  $as_echo_n "(cached) " >&6
10373
else
10374
  lt_cv_shlibpath_overrides_runpath=no
10375
    save_LDFLAGS=$LDFLAGS
10376
    save_libdir=$libdir
10377
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10378
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10379
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 131 jeremybenn
/* end confdefs.h.  */
10381
 
10382
int
10383
main ()
10384
{
10385
 
10386
  ;
10387
  return 0;
10388
}
10389
_ACEOF
10390 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
10391
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10392
  lt_cv_shlibpath_overrides_runpath=yes
10393 131 jeremybenn
fi
10394 225 jeremybenn
fi
10395
rm -f core conftest.err conftest.$ac_objext \
10396
    conftest$ac_exeext conftest.$ac_ext
10397
    LDFLAGS=$save_LDFLAGS
10398
    libdir=$save_libdir
10399 131 jeremybenn
 
10400
fi
10401
 
10402 225 jeremybenn
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10403
 
10404 131 jeremybenn
  # This implies no fast_install, which is unacceptable.
10405
  # Some rework will be needed to allow for fast_install
10406
  # before this can be enabled.
10407
  hardcode_into_libs=yes
10408
 
10409
  # Append ld.so.conf contents to the search path
10410
  if test -f /etc/ld.so.conf; then
10411 225 jeremybenn
    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' ' '`
10412 131 jeremybenn
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10413
  fi
10414
 
10415
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10416
  # powerpc, because MkLinux only supported shared libraries with the
10417
  # GNU dynamic linker.  Since this was broken with cross compilers,
10418
  # most powerpc-linux boxes support dynamic linking these days and
10419
  # people can always --disable-shared, the test was removed, and we
10420
  # assume the GNU/Linux dynamic linker is in use.
10421
  dynamic_linker='GNU/Linux ld.so'
10422
  ;;
10423
 
10424
netbsd*)
10425
  version_type=sunos
10426
  need_lib_prefix=no
10427
  need_version=no
10428
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10429
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10430
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10431
    dynamic_linker='NetBSD (a.out) ld.so'
10432
  else
10433
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10434
    soname_spec='${libname}${release}${shared_ext}$major'
10435
    dynamic_linker='NetBSD ld.elf_so'
10436
  fi
10437
  shlibpath_var=LD_LIBRARY_PATH
10438
  shlibpath_overrides_runpath=yes
10439
  hardcode_into_libs=yes
10440
  ;;
10441
 
10442
newsos6)
10443
  version_type=linux
10444
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445
  shlibpath_var=LD_LIBRARY_PATH
10446
  shlibpath_overrides_runpath=yes
10447
  ;;
10448
 
10449
*nto* | *qnx*)
10450
  version_type=qnx
10451
  need_lib_prefix=no
10452
  need_version=no
10453
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10454
  soname_spec='${libname}${release}${shared_ext}$major'
10455
  shlibpath_var=LD_LIBRARY_PATH
10456
  shlibpath_overrides_runpath=no
10457
  hardcode_into_libs=yes
10458
  dynamic_linker='ldqnx.so'
10459
  ;;
10460
 
10461
openbsd*)
10462
  version_type=sunos
10463
  sys_lib_dlsearch_path_spec="/usr/lib"
10464
  need_lib_prefix=no
10465
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10466
  case $host_os in
10467
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10468
    *)                          need_version=no  ;;
10469
  esac
10470
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10471
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10472
  shlibpath_var=LD_LIBRARY_PATH
10473
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10474
    case $host_os in
10475
      openbsd2.[89] | openbsd2.[89].*)
10476
        shlibpath_overrides_runpath=no
10477
        ;;
10478
      *)
10479
        shlibpath_overrides_runpath=yes
10480
        ;;
10481
      esac
10482
  else
10483
    shlibpath_overrides_runpath=yes
10484
  fi
10485
  ;;
10486
 
10487
os2*)
10488
  libname_spec='$name'
10489
  shrext_cmds=".dll"
10490
  need_lib_prefix=no
10491
  library_names_spec='$libname${shared_ext} $libname.a'
10492
  dynamic_linker='OS/2 ld.exe'
10493
  shlibpath_var=LIBPATH
10494
  ;;
10495
 
10496
osf3* | osf4* | osf5*)
10497
  version_type=osf
10498
  need_lib_prefix=no
10499
  need_version=no
10500
  soname_spec='${libname}${release}${shared_ext}$major'
10501
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10502
  shlibpath_var=LD_LIBRARY_PATH
10503
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10504
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10505
  ;;
10506
 
10507
rdos*)
10508
  dynamic_linker=no
10509
  ;;
10510
 
10511
solaris*)
10512
  version_type=linux
10513
  need_lib_prefix=no
10514
  need_version=no
10515
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10516
  soname_spec='${libname}${release}${shared_ext}$major'
10517
  shlibpath_var=LD_LIBRARY_PATH
10518
  shlibpath_overrides_runpath=yes
10519
  hardcode_into_libs=yes
10520
  # ldd complains unless libraries are executable
10521
  postinstall_cmds='chmod +x $lib'
10522
  ;;
10523
 
10524
sunos4*)
10525
  version_type=sunos
10526
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10527
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10528
  shlibpath_var=LD_LIBRARY_PATH
10529
  shlibpath_overrides_runpath=yes
10530
  if test "$with_gnu_ld" = yes; then
10531
    need_lib_prefix=no
10532
  fi
10533
  need_version=yes
10534
  ;;
10535
 
10536
sysv4 | sysv4.3*)
10537
  version_type=linux
10538
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10539
  soname_spec='${libname}${release}${shared_ext}$major'
10540
  shlibpath_var=LD_LIBRARY_PATH
10541
  case $host_vendor in
10542
    sni)
10543
      shlibpath_overrides_runpath=no
10544
      need_lib_prefix=no
10545
      runpath_var=LD_RUN_PATH
10546
      ;;
10547
    siemens)
10548
      need_lib_prefix=no
10549
      ;;
10550
    motorola)
10551
      need_lib_prefix=no
10552
      need_version=no
10553
      shlibpath_overrides_runpath=no
10554
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10555
      ;;
10556
  esac
10557
  ;;
10558
 
10559
sysv4*MP*)
10560
  if test -d /usr/nec ;then
10561
    version_type=linux
10562
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10563
    soname_spec='$libname${shared_ext}.$major'
10564
    shlibpath_var=LD_LIBRARY_PATH
10565
  fi
10566
  ;;
10567
 
10568
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10569
  version_type=freebsd-elf
10570
  need_lib_prefix=no
10571
  need_version=no
10572
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10573
  soname_spec='${libname}${release}${shared_ext}$major'
10574
  shlibpath_var=LD_LIBRARY_PATH
10575
  shlibpath_overrides_runpath=yes
10576
  hardcode_into_libs=yes
10577
  if test "$with_gnu_ld" = yes; then
10578
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10579
  else
10580
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10581
    case $host_os in
10582
      sco3.2v5*)
10583
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10584
        ;;
10585
    esac
10586
  fi
10587
  sys_lib_dlsearch_path_spec='/usr/lib'
10588
  ;;
10589
 
10590
tpf*)
10591
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10592
  version_type=linux
10593
  need_lib_prefix=no
10594
  need_version=no
10595 225 jeremybenn
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10596 131 jeremybenn
  shlibpath_var=LD_LIBRARY_PATH
10597
  shlibpath_overrides_runpath=no
10598
  hardcode_into_libs=yes
10599
  ;;
10600
 
10601
uts4*)
10602
  version_type=linux
10603
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10604
  soname_spec='${libname}${release}${shared_ext}$major'
10605
  shlibpath_var=LD_LIBRARY_PATH
10606
  ;;
10607
 
10608
*)
10609
  dynamic_linker=no
10610
  ;;
10611
esac
10612 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10613
$as_echo "$dynamic_linker" >&6; }
10614 131 jeremybenn
test "$dynamic_linker" = no && can_build_shared=no
10615
 
10616
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10617
if test "$GCC" = yes; then
10618
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10619
fi
10620
 
10621 225 jeremybenn
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10622
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10623
fi
10624
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10625
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10626
fi
10627 131 jeremybenn
 
10628
 
10629
 
10630
 
10631
 
10632
 
10633
 
10634
 
10635
 
10636
 
10637
 
10638
 
10639
 
10640
 
10641
 
10642
 
10643
 
10644
 
10645
 
10646
 
10647
 
10648
 
10649
 
10650
 
10651
 
10652
 
10653
 
10654
 
10655
 
10656
 
10657
 
10658
 
10659
 
10660
 
10661
 
10662
 
10663
 
10664
 
10665
 
10666
 
10667
 
10668
 
10669
 
10670
 
10671
 
10672
 
10673
 
10674
 
10675
 
10676
 
10677
 
10678
 
10679
 
10680
 
10681
 
10682
 
10683
 
10684
 
10685
 
10686
 
10687
 
10688
 
10689
 
10690
 
10691
 
10692
 
10693
 
10694
 
10695
 
10696
 
10697
 
10698
 
10699
 
10700
 
10701
 
10702
 
10703
 
10704
 
10705
 
10706
 
10707
 
10708
 
10709
 
10710
 
10711
 
10712
 
10713 225 jeremybenn
 
10714
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10715
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10716 131 jeremybenn
hardcode_action=
10717
if test -n "$hardcode_libdir_flag_spec" ||
10718
   test -n "$runpath_var" ||
10719
   test "X$hardcode_automatic" = "Xyes" ; then
10720
 
10721
  # We can hardcode non-existent directories.
10722
  if test "$hardcode_direct" != no &&
10723
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10724
     # have to relink, otherwise we might link with an installed library
10725
     # when we should be linking with a yet-to-be-installed one
10726
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10727
     test "$hardcode_minus_L" != no; then
10728
    # Linking always hardcodes the temporary library directory.
10729
    hardcode_action=relink
10730
  else
10731
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10732
    hardcode_action=immediate
10733
  fi
10734
else
10735
  # We cannot hardcode anything, or else we can only hardcode existing
10736
  # directories.
10737
  hardcode_action=unsupported
10738
fi
10739 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10740
$as_echo "$hardcode_action" >&6; }
10741 131 jeremybenn
 
10742
if test "$hardcode_action" = relink ||
10743
   test "$inherit_rpath" = yes; then
10744
  # Fast installation is not supported
10745
  enable_fast_install=no
10746
elif test "$shlibpath_overrides_runpath" = yes ||
10747
     test "$enable_shared" = no; then
10748
  # Fast installation is not necessary
10749
  enable_fast_install=needless
10750
fi
10751
 
10752
 
10753
 
10754
 
10755
 
10756
 
10757
  if test "x$enable_dlopen" != xyes; then
10758
  enable_dlopen=unknown
10759
  enable_dlopen_self=unknown
10760
  enable_dlopen_self_static=unknown
10761
else
10762
  lt_cv_dlopen=no
10763
  lt_cv_dlopen_libs=
10764
 
10765
  case $host_os in
10766
  beos*)
10767
    lt_cv_dlopen="load_add_on"
10768
    lt_cv_dlopen_libs=
10769
    lt_cv_dlopen_self=yes
10770
    ;;
10771
 
10772 225 jeremybenn
  mingw* | pw32* | cegcc*)
10773 131 jeremybenn
    lt_cv_dlopen="LoadLibrary"
10774
    lt_cv_dlopen_libs=
10775
    ;;
10776
 
10777
  cygwin*)
10778
    lt_cv_dlopen="dlopen"
10779
    lt_cv_dlopen_libs=
10780
    ;;
10781
 
10782
  darwin*)
10783
  # if libdl is installed we need to link against it
10784 225 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10785
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10786
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10787
  $as_echo_n "(cached) " >&6
10788 131 jeremybenn
else
10789
  ac_check_lib_save_LIBS=$LIBS
10790
LIBS="-ldl  $LIBS"
10791 225 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 131 jeremybenn
/* end confdefs.h.  */
10793
 
10794 225 jeremybenn
/* Override any GCC internal prototype to avoid an error.
10795
   Use char because int might match the return type of a GCC
10796
   builtin and then its argument prototype would still apply.  */
10797 131 jeremybenn
#ifdef __cplusplus
10798
extern "C"
10799
#endif
10800
char dlopen ();
10801
int
10802
main ()
10803
{
10804 225 jeremybenn
return dlopen ();
10805 131 jeremybenn
  ;
10806
  return 0;
10807
}
10808
_ACEOF
10809 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
10810 131 jeremybenn
  ac_cv_lib_dl_dlopen=yes
10811
else
10812 225 jeremybenn
  ac_cv_lib_dl_dlopen=no
10813 131 jeremybenn
fi
10814 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
10815
    conftest$ac_exeext conftest.$ac_ext
10816 131 jeremybenn
LIBS=$ac_check_lib_save_LIBS
10817
fi
10818 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10819
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10820
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10821 131 jeremybenn
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10822
else
10823
 
10824
    lt_cv_dlopen="dyld"
10825
    lt_cv_dlopen_libs=
10826
    lt_cv_dlopen_self=yes
10827
 
10828
fi
10829
 
10830
    ;;
10831
 
10832
  *)
10833 225 jeremybenn
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10834
if test "x$ac_cv_func_shl_load" = x""yes; then :
10835 131 jeremybenn
  lt_cv_dlopen="shl_load"
10836
else
10837 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10838
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10839
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10840
  $as_echo_n "(cached) " >&6
10841 131 jeremybenn
else
10842
  ac_check_lib_save_LIBS=$LIBS
10843
LIBS="-ldld  $LIBS"
10844 225 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 131 jeremybenn
/* end confdefs.h.  */
10846
 
10847 225 jeremybenn
/* Override any GCC internal prototype to avoid an error.
10848
   Use char because int might match the return type of a GCC
10849
   builtin and then its argument prototype would still apply.  */
10850 131 jeremybenn
#ifdef __cplusplus
10851
extern "C"
10852
#endif
10853
char shl_load ();
10854
int
10855
main ()
10856
{
10857 225 jeremybenn
return shl_load ();
10858 131 jeremybenn
  ;
10859
  return 0;
10860
}
10861
_ACEOF
10862 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
10863 131 jeremybenn
  ac_cv_lib_dld_shl_load=yes
10864
else
10865 225 jeremybenn
  ac_cv_lib_dld_shl_load=no
10866 131 jeremybenn
fi
10867 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
10868
    conftest$ac_exeext conftest.$ac_ext
10869 131 jeremybenn
LIBS=$ac_check_lib_save_LIBS
10870
fi
10871 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10872
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10873
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10874
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10875 131 jeremybenn
else
10876 225 jeremybenn
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10877
if test "x$ac_cv_func_dlopen" = x""yes; then :
10878 131 jeremybenn
  lt_cv_dlopen="dlopen"
10879
else
10880 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10881
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10882
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10883
  $as_echo_n "(cached) " >&6
10884 131 jeremybenn
else
10885
  ac_check_lib_save_LIBS=$LIBS
10886
LIBS="-ldl  $LIBS"
10887 225 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10888 131 jeremybenn
/* end confdefs.h.  */
10889
 
10890 225 jeremybenn
/* Override any GCC internal prototype to avoid an error.
10891
   Use char because int might match the return type of a GCC
10892
   builtin and then its argument prototype would still apply.  */
10893 131 jeremybenn
#ifdef __cplusplus
10894
extern "C"
10895
#endif
10896
char dlopen ();
10897
int
10898
main ()
10899
{
10900 225 jeremybenn
return dlopen ();
10901 131 jeremybenn
  ;
10902
  return 0;
10903
}
10904
_ACEOF
10905 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
10906 131 jeremybenn
  ac_cv_lib_dl_dlopen=yes
10907
else
10908 225 jeremybenn
  ac_cv_lib_dl_dlopen=no
10909 131 jeremybenn
fi
10910 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
10911
    conftest$ac_exeext conftest.$ac_ext
10912 131 jeremybenn
LIBS=$ac_check_lib_save_LIBS
10913
fi
10914 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10915
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10916
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10917 131 jeremybenn
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10918
else
10919 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10920
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10921
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10922
  $as_echo_n "(cached) " >&6
10923 131 jeremybenn
else
10924
  ac_check_lib_save_LIBS=$LIBS
10925
LIBS="-lsvld  $LIBS"
10926 225 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927 131 jeremybenn
/* end confdefs.h.  */
10928
 
10929 225 jeremybenn
/* Override any GCC internal prototype to avoid an error.
10930
   Use char because int might match the return type of a GCC
10931
   builtin and then its argument prototype would still apply.  */
10932 131 jeremybenn
#ifdef __cplusplus
10933
extern "C"
10934
#endif
10935
char dlopen ();
10936
int
10937
main ()
10938
{
10939 225 jeremybenn
return dlopen ();
10940 131 jeremybenn
  ;
10941
  return 0;
10942
}
10943
_ACEOF
10944 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
10945 131 jeremybenn
  ac_cv_lib_svld_dlopen=yes
10946
else
10947 225 jeremybenn
  ac_cv_lib_svld_dlopen=no
10948 131 jeremybenn
fi
10949 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
10950
    conftest$ac_exeext conftest.$ac_ext
10951 131 jeremybenn
LIBS=$ac_check_lib_save_LIBS
10952
fi
10953 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10954
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10955
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10956 131 jeremybenn
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10957
else
10958 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10959
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10960
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10961
  $as_echo_n "(cached) " >&6
10962 131 jeremybenn
else
10963
  ac_check_lib_save_LIBS=$LIBS
10964
LIBS="-ldld  $LIBS"
10965 225 jeremybenn
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10966 131 jeremybenn
/* end confdefs.h.  */
10967
 
10968 225 jeremybenn
/* Override any GCC internal prototype to avoid an error.
10969
   Use char because int might match the return type of a GCC
10970
   builtin and then its argument prototype would still apply.  */
10971 131 jeremybenn
#ifdef __cplusplus
10972
extern "C"
10973
#endif
10974
char dld_link ();
10975
int
10976
main ()
10977
{
10978 225 jeremybenn
return dld_link ();
10979 131 jeremybenn
  ;
10980
  return 0;
10981
}
10982
_ACEOF
10983 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
10984 131 jeremybenn
  ac_cv_lib_dld_dld_link=yes
10985
else
10986 225 jeremybenn
  ac_cv_lib_dld_dld_link=no
10987 131 jeremybenn
fi
10988 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
10989
    conftest$ac_exeext conftest.$ac_ext
10990 131 jeremybenn
LIBS=$ac_check_lib_save_LIBS
10991
fi
10992 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10993
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10994
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10995
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10996 131 jeremybenn
fi
10997
 
10998
 
10999
fi
11000
 
11001
 
11002
fi
11003
 
11004
 
11005
fi
11006
 
11007
 
11008
fi
11009
 
11010
 
11011
fi
11012
 
11013
    ;;
11014
  esac
11015
 
11016
  if test "x$lt_cv_dlopen" != xno; then
11017
    enable_dlopen=yes
11018
  else
11019
    enable_dlopen=no
11020
  fi
11021
 
11022
  case $lt_cv_dlopen in
11023
  dlopen)
11024
    save_CPPFLAGS="$CPPFLAGS"
11025
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11026
 
11027
    save_LDFLAGS="$LDFLAGS"
11028
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11029
 
11030
    save_LIBS="$LIBS"
11031
    LIBS="$lt_cv_dlopen_libs $LIBS"
11032
 
11033 225 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11034
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11035
if test "${lt_cv_dlopen_self+set}" = set; then :
11036
  $as_echo_n "(cached) " >&6
11037 131 jeremybenn
else
11038
          if test "$cross_compiling" = yes; then :
11039
  lt_cv_dlopen_self=cross
11040
else
11041
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11042
  lt_status=$lt_dlunknown
11043
  cat > conftest.$ac_ext <<_LT_EOF
11044 225 jeremybenn
#line 11044 "configure"
11045 131 jeremybenn
#include "confdefs.h"
11046
 
11047
#if HAVE_DLFCN_H
11048
#include 
11049
#endif
11050
 
11051
#include 
11052
 
11053
#ifdef RTLD_GLOBAL
11054
#  define LT_DLGLOBAL           RTLD_GLOBAL
11055
#else
11056
#  ifdef DL_GLOBAL
11057
#    define LT_DLGLOBAL         DL_GLOBAL
11058
#  else
11059
#    define LT_DLGLOBAL         0
11060
#  endif
11061
#endif
11062
 
11063
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11064
   find out it does not work in some platform. */
11065
#ifndef LT_DLLAZY_OR_NOW
11066
#  ifdef RTLD_LAZY
11067
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11068
#  else
11069
#    ifdef DL_LAZY
11070
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11071
#    else
11072
#      ifdef RTLD_NOW
11073
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11074
#      else
11075
#        ifdef DL_NOW
11076
#          define LT_DLLAZY_OR_NOW      DL_NOW
11077
#        else
11078
#          define LT_DLLAZY_OR_NOW      0
11079
#        endif
11080
#      endif
11081
#    endif
11082
#  endif
11083
#endif
11084
 
11085
void fnord() { int i=42;}
11086
int main ()
11087
{
11088
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11089
  int status = $lt_dlunknown;
11090
 
11091
  if (self)
11092
    {
11093
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11094
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11095
      /* dlclose (self); */
11096
    }
11097
  else
11098
    puts (dlerror ());
11099
 
11100 225 jeremybenn
  return status;
11101 131 jeremybenn
}
11102
_LT_EOF
11103 225 jeremybenn
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11104 131 jeremybenn
  (eval $ac_link) 2>&5
11105
  ac_status=$?
11106 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11107
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11108 131 jeremybenn
    (./conftest; exit; ) >&5 2>/dev/null
11109
    lt_status=$?
11110
    case x$lt_status in
11111
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11112
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11113
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11114
    esac
11115
  else :
11116
    # compilation failed
11117
    lt_cv_dlopen_self=no
11118
  fi
11119
fi
11120
rm -fr conftest*
11121
 
11122
 
11123
fi
11124 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11125
$as_echo "$lt_cv_dlopen_self" >&6; }
11126 131 jeremybenn
 
11127
    if test "x$lt_cv_dlopen_self" = xyes; then
11128
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11129 225 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11130
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11131
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11132
  $as_echo_n "(cached) " >&6
11133 131 jeremybenn
else
11134
          if test "$cross_compiling" = yes; then :
11135
  lt_cv_dlopen_self_static=cross
11136
else
11137
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11138
  lt_status=$lt_dlunknown
11139
  cat > conftest.$ac_ext <<_LT_EOF
11140 225 jeremybenn
#line 11140 "configure"
11141 131 jeremybenn
#include "confdefs.h"
11142
 
11143
#if HAVE_DLFCN_H
11144
#include 
11145
#endif
11146
 
11147
#include 
11148
 
11149
#ifdef RTLD_GLOBAL
11150
#  define LT_DLGLOBAL           RTLD_GLOBAL
11151
#else
11152
#  ifdef DL_GLOBAL
11153
#    define LT_DLGLOBAL         DL_GLOBAL
11154
#  else
11155
#    define LT_DLGLOBAL         0
11156
#  endif
11157
#endif
11158
 
11159
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11160
   find out it does not work in some platform. */
11161
#ifndef LT_DLLAZY_OR_NOW
11162
#  ifdef RTLD_LAZY
11163
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11164
#  else
11165
#    ifdef DL_LAZY
11166
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11167
#    else
11168
#      ifdef RTLD_NOW
11169
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11170
#      else
11171
#        ifdef DL_NOW
11172
#          define LT_DLLAZY_OR_NOW      DL_NOW
11173
#        else
11174
#          define LT_DLLAZY_OR_NOW      0
11175
#        endif
11176
#      endif
11177
#    endif
11178
#  endif
11179
#endif
11180
 
11181
void fnord() { int i=42;}
11182
int main ()
11183
{
11184
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11185
  int status = $lt_dlunknown;
11186
 
11187
  if (self)
11188
    {
11189
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11190
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11191
      /* dlclose (self); */
11192
    }
11193
  else
11194
    puts (dlerror ());
11195
 
11196 225 jeremybenn
  return status;
11197 131 jeremybenn
}
11198
_LT_EOF
11199 225 jeremybenn
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11200 131 jeremybenn
  (eval $ac_link) 2>&5
11201
  ac_status=$?
11202 225 jeremybenn
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11203
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11204 131 jeremybenn
    (./conftest; exit; ) >&5 2>/dev/null
11205
    lt_status=$?
11206
    case x$lt_status in
11207
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11208
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11209
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11210
    esac
11211
  else :
11212
    # compilation failed
11213
    lt_cv_dlopen_self_static=no
11214
  fi
11215
fi
11216
rm -fr conftest*
11217
 
11218
 
11219
fi
11220 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11221
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11222 131 jeremybenn
    fi
11223
 
11224
    CPPFLAGS="$save_CPPFLAGS"
11225
    LDFLAGS="$save_LDFLAGS"
11226
    LIBS="$save_LIBS"
11227
    ;;
11228
  esac
11229
 
11230
  case $lt_cv_dlopen_self in
11231
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11232
  *) enable_dlopen_self=unknown ;;
11233
  esac
11234
 
11235
  case $lt_cv_dlopen_self_static in
11236
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11237
  *) enable_dlopen_self_static=unknown ;;
11238
  esac
11239
fi
11240
 
11241
 
11242
 
11243
 
11244
 
11245
 
11246
 
11247
 
11248
 
11249
 
11250
 
11251
 
11252
 
11253
 
11254
 
11255
 
11256
 
11257
striplib=
11258
old_striplib=
11259 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11260
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11261 131 jeremybenn
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11262
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11263
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11264 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11265
$as_echo "yes" >&6; }
11266 131 jeremybenn
else
11267
# FIXME - insert some real tests, host_os isn't really good enough
11268
  case $host_os in
11269
  darwin*)
11270
    if test -n "$STRIP" ; then
11271
      striplib="$STRIP -x"
11272
      old_striplib="$STRIP -S"
11273 225 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11274
$as_echo "yes" >&6; }
11275 131 jeremybenn
    else
11276 225 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11277
$as_echo "no" >&6; }
11278 131 jeremybenn
    fi
11279
    ;;
11280
  *)
11281 225 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11282
$as_echo "no" >&6; }
11283 131 jeremybenn
    ;;
11284
  esac
11285
fi
11286
 
11287
 
11288
 
11289
 
11290
 
11291
 
11292
 
11293
 
11294
 
11295
 
11296
 
11297
 
11298
  # Report which library types will actually be built
11299 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11300
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11301
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11302
$as_echo "$can_build_shared" >&6; }
11303 131 jeremybenn
 
11304 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11305
$as_echo_n "checking whether to build shared libraries... " >&6; }
11306 131 jeremybenn
  test "$can_build_shared" = "no" && enable_shared=no
11307
 
11308
  # On AIX, shared libraries and static libraries use the same namespace, and
11309
  # are all built from PIC.
11310
  case $host_os in
11311
  aix3*)
11312
    test "$enable_shared" = yes && enable_static=no
11313
    if test -n "$RANLIB"; then
11314
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11315
      postinstall_cmds='$RANLIB $lib'
11316
    fi
11317
    ;;
11318
 
11319 225 jeremybenn
  aix[4-9]*)
11320 131 jeremybenn
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11321
      test "$enable_shared" = yes && enable_static=no
11322
    fi
11323
    ;;
11324
  esac
11325 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11326
$as_echo "$enable_shared" >&6; }
11327 131 jeremybenn
 
11328 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11329
$as_echo_n "checking whether to build static libraries... " >&6; }
11330 131 jeremybenn
  # Make sure either enable_shared or enable_static is yes.
11331
  test "$enable_shared" = yes || enable_static=yes
11332 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11333
$as_echo "$enable_static" >&6; }
11334 131 jeremybenn
 
11335
 
11336
 
11337
 
11338
fi
11339
ac_ext=c
11340
ac_cpp='$CPP $CPPFLAGS'
11341
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11342
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11343
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11344
 
11345
CC="$lt_save_CC"
11346
 
11347
 
11348
 
11349
 
11350
 
11351
 
11352
 
11353
 
11354
 
11355
 
11356
 
11357
 
11358
 
11359 225 jeremybenn
        ac_config_commands="$ac_config_commands libtool"
11360 131 jeremybenn
 
11361
 
11362
 
11363
 
11364
# Only expand once:
11365
 
11366
 
11367
 
11368 225 jeremybenn
# Check whether --enable-targets was given.
11369
if test "${enable_targets+set}" = set; then :
11370
  enableval=$enable_targets; case "${enableval}" in
11371
  yes | "") as_fn_error "enable-targets option must specify target names or 'all'" "$LINENO" 5
11372 131 jeremybenn
            ;;
11373
  no)       enable_targets= ;;
11374
  *)        enable_targets=$enableval ;;
11375
esac
11376 225 jeremybenn
fi
11377 131 jeremybenn
 
11378 225 jeremybenn
 
11379 131 jeremybenn
GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11380
 
11381 225 jeremybenn
# Check whether --enable-werror was given.
11382
if test "${enable_werror+set}" = set; then :
11383
  enableval=$enable_werror; case "${enableval}" in
11384 131 jeremybenn
     yes | y) ERROR_ON_WARNING="yes" ;;
11385
     no | n)  ERROR_ON_WARNING="no" ;;
11386 225 jeremybenn
     *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
11387 131 jeremybenn
   esac
11388 225 jeremybenn
fi
11389 131 jeremybenn
 
11390 225 jeremybenn
 
11391 131 jeremybenn
# Enable -Wno-format by default when using gcc on mingw
11392
case "${host}" in
11393
  *-*-mingw32*)
11394
    if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11395
      GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
11396
    fi
11397
    ;;
11398
  *) ;;
11399
esac
11400
 
11401
# Enable -Werror by default when using gcc
11402
if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
11403
    ERROR_ON_WARNING=yes
11404
fi
11405
 
11406
NO_WERROR=
11407
if test "${ERROR_ON_WARNING}" = yes ; then
11408
    GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
11409
    NO_WERROR="-Wno-error"
11410
fi
11411
 
11412
if test "${GCC}" = yes ; then
11413
  WARN_CFLAGS="${GCC_WARN_CFLAGS}"
11414
fi
11415
 
11416 225 jeremybenn
# Check whether --enable-build-warnings was given.
11417
if test "${enable_build_warnings+set}" = set; then :
11418
  enableval=$enable_build_warnings; case "${enableval}" in
11419 131 jeremybenn
  yes)  WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
11420
  no)   if test "${GCC}" = yes ; then
11421
          WARN_CFLAGS="-w"
11422
        fi;;
11423
  ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
11424
        WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
11425
  *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
11426
        WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
11427
  *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
11428
esac
11429 225 jeremybenn
fi
11430 131 jeremybenn
 
11431 225 jeremybenn
 
11432 131 jeremybenn
if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
11433
  echo "Setting warning flags = $WARN_CFLAGS" 6>&1
11434
fi
11435
 
11436
 
11437
 
11438
 
11439
 
11440 225 jeremybenn
ac_config_headers="$ac_config_headers config.h:config.in"
11441 131 jeremybenn
 
11442
 
11443
if test -z "$target" ; then
11444 225 jeremybenn
    as_fn_error "Unrecognized target system type; please check config.sub." "$LINENO" 5
11445 131 jeremybenn
fi
11446
 
11447 225 jeremybenn
 
11448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11449
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11450
    # Check whether --enable-maintainer-mode was given.
11451
if test "${enable_maintainer_mode+set}" = set; then :
11452
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11453 131 jeremybenn
else
11454
  USE_MAINTAINER_MODE=no
11455 225 jeremybenn
fi
11456 131 jeremybenn
 
11457 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11458
$as_echo "$USE_MAINTAINER_MODE" >&6; }
11459
   if test $USE_MAINTAINER_MODE = yes; then
11460 131 jeremybenn
  MAINTAINER_MODE_TRUE=
11461
  MAINTAINER_MODE_FALSE='#'
11462
else
11463
  MAINTAINER_MODE_TRUE='#'
11464
  MAINTAINER_MODE_FALSE=
11465
fi
11466
 
11467
  MAINT=$MAINTAINER_MODE_TRUE
11468
 
11469
 
11470
 case ${build_alias} in
11471
  "") build_noncanonical=${build} ;;
11472
  *) build_noncanonical=${build_alias} ;;
11473
esac
11474
 
11475
 case ${host_alias} in
11476
  "") host_noncanonical=${build_noncanonical} ;;
11477
  *) host_noncanonical=${host_alias} ;;
11478
esac
11479
 
11480
 case ${target_alias} in
11481
  "") target_noncanonical=${host_noncanonical} ;;
11482
  *) target_noncanonical=${target_alias} ;;
11483
esac
11484
 
11485 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to install libbfd" >&5
11486
$as_echo_n "checking whether to install libbfd... " >&6; }
11487
  # Check whether --enable-install-libbfd was given.
11488
if test "${enable_install_libbfd+set}" = set; then :
11489
  enableval=$enable_install_libbfd; install_libbfd_p=$enableval
11490 131 jeremybenn
else
11491
  if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
11492
        install_libbfd_p=yes
11493
      else
11494
        install_libbfd_p=no
11495
      fi
11496 225 jeremybenn
fi
11497 131 jeremybenn
 
11498 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $install_libbfd_p" >&5
11499
$as_echo "$install_libbfd_p" >&6; }
11500
   if test $install_libbfd_p = yes; then
11501 131 jeremybenn
  INSTALL_LIBBFD_TRUE=
11502
  INSTALL_LIBBFD_FALSE='#'
11503
else
11504
  INSTALL_LIBBFD_TRUE='#'
11505
  INSTALL_LIBBFD_FALSE=
11506
fi
11507
 
11508
  # Need _noncanonical variables for this.
11509
 
11510
 
11511
 
11512
 
11513
  # libbfd.a is a host library containing target dependent code
11514
  bfdlibdir='$(libdir)'
11515
  bfdincludedir='$(includedir)'
11516
  if test "${host}" != "${target}"; then
11517
    bfdlibdir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/lib'
11518
    bfdincludedir='$(exec_prefix)/$(host_noncanonical)/$(target_noncanonical)/include'
11519
  fi
11520
 
11521
 
11522
 
11523
 
11524
 
11525
 
11526 225 jeremybenn
 
11527
 
11528 131 jeremybenn
# host-specific stuff:
11529
 
11530
ALL_LINGUAS="fr sv tr es da de id pt_BR ro nl fi vi ga zh_CN"
11531
# If we haven't got the data from the intl directory,
11532
# assume NLS is disabled.
11533
USE_NLS=no
11534
LIBINTL=
11535
LIBINTL_DEP=
11536
INCINTL=
11537
XGETTEXT=
11538
GMSGFMT=
11539
POSUB=
11540
 
11541
if test -f  ../intl/config.intl; then
11542
  .  ../intl/config.intl
11543
fi
11544 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11545
$as_echo_n "checking whether NLS is requested... " >&6; }
11546 131 jeremybenn
if test x"$USE_NLS" != xyes; then
11547 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11548
$as_echo "no" >&6; }
11549 131 jeremybenn
else
11550 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11551
$as_echo "yes" >&6; }
11552 131 jeremybenn
 
11553 225 jeremybenn
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
11554 131 jeremybenn
 
11555
 
11556 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11557
$as_echo_n "checking for catalogs to be installed... " >&6; }
11558 131 jeremybenn
  # Look for .po and .gmo files in the source directory.
11559
  CATALOGS=
11560
  XLINGUAS=
11561
  for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
11562
    # If there aren't any .gmo files the shell will give us the
11563
    # literal string "../path/to/srcdir/po/*.gmo" which has to be
11564
    # weeded out.
11565
    case "$cat" in *\**)
11566
      continue;;
11567
    esac
11568
    # The quadruple backslash is collapsed to a double backslash
11569
    # by the backticks, then collapsed again by the double quotes,
11570
    # leaving us with one backslash in the sed expression (right
11571
    # before the dot that mustn't act as a wildcard).
11572
    cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11573
    lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
11574
    # The user is allowed to set LINGUAS to a list of languages to
11575
    # install catalogs for.  If it's empty that means "all of them."
11576
    if test "x$LINGUAS" = x; then
11577
      CATALOGS="$CATALOGS $cat"
11578
      XLINGUAS="$XLINGUAS $lang"
11579
    else
11580
      case "$LINGUAS" in *$lang*)
11581
        CATALOGS="$CATALOGS $cat"
11582
        XLINGUAS="$XLINGUAS $lang"
11583
        ;;
11584
      esac
11585
    fi
11586
  done
11587
  LINGUAS="$XLINGUAS"
11588 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11589
$as_echo "$LINGUAS" >&6; }
11590 131 jeremybenn
 
11591
 
11592
    DATADIRNAME=share
11593
 
11594
  INSTOBJEXT=.mo
11595
 
11596
  GENCAT=gencat
11597
 
11598
  CATOBJEXT=.gmo
11599
 
11600
fi
11601
 
11602
        MKINSTALLDIRS=
11603
  if test -n "$ac_aux_dir"; then
11604
    case "$ac_aux_dir" in
11605
      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
11606
      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11607
    esac
11608
  fi
11609
  if test -z "$MKINSTALLDIRS"; then
11610
    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11611
  fi
11612
 
11613
 
11614
 
11615 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11616
$as_echo_n "checking whether NLS is requested... " >&6; }
11617
    # Check whether --enable-nls was given.
11618
if test "${enable_nls+set}" = set; then :
11619
  enableval=$enable_nls; USE_NLS=$enableval
11620 131 jeremybenn
else
11621
  USE_NLS=yes
11622 225 jeremybenn
fi
11623 131 jeremybenn
 
11624 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11625
$as_echo "$USE_NLS" >&6; }
11626 131 jeremybenn
 
11627
 
11628
 
11629
 
11630
 
11631 225 jeremybenn
 
11632 131 jeremybenn
# Prepare PATH_SEPARATOR.
11633
# The user is always right.
11634
if test "${PATH_SEPARATOR+set}" != set; then
11635
  echo "#! /bin/sh" >conf$$.sh
11636
  echo  "exit 0"   >>conf$$.sh
11637
  chmod +x conf$$.sh
11638
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11639
    PATH_SEPARATOR=';'
11640
  else
11641
    PATH_SEPARATOR=:
11642
  fi
11643
  rm -f conf$$.sh
11644
fi
11645
 
11646
# Find out how to test for executable files. Don't use a zero-byte file,
11647
# as systems may use methods other than mode bits to determine executability.
11648
cat >conf$$.file <<_ASEOF
11649
#! /bin/sh
11650
exit 0
11651
_ASEOF
11652
chmod +x conf$$.file
11653
if test -x conf$$.file >/dev/null 2>&1; then
11654
  ac_executable_p="test -x"
11655
else
11656
  ac_executable_p="test -f"
11657
fi
11658
rm -f conf$$.file
11659
 
11660
# Extract the first word of "msgfmt", so it can be a program name with args.
11661
set dummy msgfmt; ac_word=$2
11662 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11663
$as_echo_n "checking for $ac_word... " >&6; }
11664
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11665
  $as_echo_n "(cached) " >&6
11666 131 jeremybenn
else
11667
  case "$MSGFMT" in
11668
  [\\/]* | ?:[\\/]*)
11669
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11670
    ;;
11671
  *)
11672
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11673
    for ac_dir in $PATH; do
11674
      IFS="$ac_save_IFS"
11675
      test -z "$ac_dir" && ac_dir=.
11676
      for ac_exec_ext in '' $ac_executable_extensions; do
11677
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11678
          if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
11679
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11680
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11681
            break 2
11682
          fi
11683
        fi
11684
      done
11685
    done
11686
    IFS="$ac_save_IFS"
11687
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11688
    ;;
11689
esac
11690
fi
11691
MSGFMT="$ac_cv_path_MSGFMT"
11692
if test "$MSGFMT" != ":"; then
11693 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11694
$as_echo "$MSGFMT" >&6; }
11695 131 jeremybenn
else
11696 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11697
$as_echo "no" >&6; }
11698 131 jeremybenn
fi
11699
 
11700
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
11701
set dummy gmsgfmt; ac_word=$2
11702 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11703
$as_echo_n "checking for $ac_word... " >&6; }
11704
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11705
  $as_echo_n "(cached) " >&6
11706 131 jeremybenn
else
11707
  case $GMSGFMT in
11708
  [\\/]* | ?:[\\/]*)
11709
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11710
  ;;
11711
  *)
11712
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11713
for as_dir in $PATH
11714
do
11715
  IFS=$as_save_IFS
11716
  test -z "$as_dir" && as_dir=.
11717 225 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
11718
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11719 131 jeremybenn
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11720 225 jeremybenn
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11721 131 jeremybenn
    break 2
11722
  fi
11723
done
11724 225 jeremybenn
  done
11725
IFS=$as_save_IFS
11726 131 jeremybenn
 
11727
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11728
  ;;
11729
esac
11730
fi
11731
GMSGFMT=$ac_cv_path_GMSGFMT
11732
if test -n "$GMSGFMT"; then
11733 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11734
$as_echo "$GMSGFMT" >&6; }
11735 131 jeremybenn
else
11736 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737
$as_echo "no" >&6; }
11738 131 jeremybenn
fi
11739
 
11740
 
11741
 
11742 225 jeremybenn
 
11743 131 jeremybenn
# Prepare PATH_SEPARATOR.
11744
# The user is always right.
11745
if test "${PATH_SEPARATOR+set}" != set; then
11746
  echo "#! /bin/sh" >conf$$.sh
11747
  echo  "exit 0"   >>conf$$.sh
11748
  chmod +x conf$$.sh
11749
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11750
    PATH_SEPARATOR=';'
11751
  else
11752
    PATH_SEPARATOR=:
11753
  fi
11754
  rm -f conf$$.sh
11755
fi
11756
 
11757
# Find out how to test for executable files. Don't use a zero-byte file,
11758
# as systems may use methods other than mode bits to determine executability.
11759
cat >conf$$.file <<_ASEOF
11760
#! /bin/sh
11761
exit 0
11762
_ASEOF
11763
chmod +x conf$$.file
11764
if test -x conf$$.file >/dev/null 2>&1; then
11765
  ac_executable_p="test -x"
11766
else
11767
  ac_executable_p="test -f"
11768
fi
11769
rm -f conf$$.file
11770
 
11771
# Extract the first word of "xgettext", so it can be a program name with args.
11772
set dummy xgettext; ac_word=$2
11773 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11774
$as_echo_n "checking for $ac_word... " >&6; }
11775
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11776
  $as_echo_n "(cached) " >&6
11777 131 jeremybenn
else
11778
  case "$XGETTEXT" in
11779
  [\\/]* | ?:[\\/]*)
11780
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11781
    ;;
11782
  *)
11783
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11784
    for ac_dir in $PATH; do
11785
      IFS="$ac_save_IFS"
11786
      test -z "$ac_dir" && ac_dir=.
11787
      for ac_exec_ext in '' $ac_executable_extensions; do
11788
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11789
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11790
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11791
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11792
            break 2
11793
          fi
11794
        fi
11795
      done
11796
    done
11797
    IFS="$ac_save_IFS"
11798
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11799
    ;;
11800
esac
11801
fi
11802
XGETTEXT="$ac_cv_path_XGETTEXT"
11803
if test "$XGETTEXT" != ":"; then
11804 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11805
$as_echo "$XGETTEXT" >&6; }
11806 131 jeremybenn
else
11807 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11808
$as_echo "no" >&6; }
11809 131 jeremybenn
fi
11810
 
11811
    rm -f messages.po
11812
 
11813
 
11814
# Prepare PATH_SEPARATOR.
11815
# The user is always right.
11816
if test "${PATH_SEPARATOR+set}" != set; then
11817
  echo "#! /bin/sh" >conf$$.sh
11818
  echo  "exit 0"   >>conf$$.sh
11819
  chmod +x conf$$.sh
11820
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11821
    PATH_SEPARATOR=';'
11822
  else
11823
    PATH_SEPARATOR=:
11824
  fi
11825
  rm -f conf$$.sh
11826
fi
11827
 
11828
# Find out how to test for executable files. Don't use a zero-byte file,
11829
# as systems may use methods other than mode bits to determine executability.
11830
cat >conf$$.file <<_ASEOF
11831
#! /bin/sh
11832
exit 0
11833
_ASEOF
11834
chmod +x conf$$.file
11835
if test -x conf$$.file >/dev/null 2>&1; then
11836
  ac_executable_p="test -x"
11837
else
11838
  ac_executable_p="test -f"
11839
fi
11840
rm -f conf$$.file
11841
 
11842
# Extract the first word of "msgmerge", so it can be a program name with args.
11843
set dummy msgmerge; ac_word=$2
11844 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11845
$as_echo_n "checking for $ac_word... " >&6; }
11846
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11847
  $as_echo_n "(cached) " >&6
11848 131 jeremybenn
else
11849
  case "$MSGMERGE" in
11850
  [\\/]* | ?:[\\/]*)
11851
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11852
    ;;
11853
  *)
11854
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11855
    for ac_dir in $PATH; do
11856
      IFS="$ac_save_IFS"
11857
      test -z "$ac_dir" && ac_dir=.
11858
      for ac_exec_ext in '' $ac_executable_extensions; do
11859
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11860
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
11861
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11862
            break 2
11863
          fi
11864
        fi
11865
      done
11866
    done
11867
    IFS="$ac_save_IFS"
11868
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11869
    ;;
11870
esac
11871
fi
11872
MSGMERGE="$ac_cv_path_MSGMERGE"
11873
if test "$MSGMERGE" != ":"; then
11874 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11875
$as_echo "$MSGMERGE" >&6; }
11876 131 jeremybenn
else
11877 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11878
$as_echo "no" >&6; }
11879 131 jeremybenn
fi
11880
 
11881
 
11882
      if test "$GMSGFMT" != ":"; then
11883
            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
11884
       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11885
      : ;
11886
    else
11887
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11888 225 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11889
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11890 131 jeremybenn
      GMSGFMT=":"
11891
    fi
11892
  fi
11893
 
11894
      if test "$XGETTEXT" != ":"; then
11895
            if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11896
       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11897
      : ;
11898
    else
11899 225 jeremybenn
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11900
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11901 131 jeremybenn
      XGETTEXT=":"
11902
    fi
11903
        rm -f messages.po
11904
  fi
11905
 
11906 225 jeremybenn
  ac_config_commands="$ac_config_commands default-1"
11907 131 jeremybenn
 
11908
 
11909
 
11910
. ${srcdir}/../bfd/configure.host
11911
 
11912
# Put a plausible default for CC_FOR_BUILD in Makefile.
11913
if test -z "$CC_FOR_BUILD"; then
11914
  if test "x$cross_compiling" = "xno"; then
11915
    CC_FOR_BUILD='$(CC)'
11916
  else
11917
    CC_FOR_BUILD=gcc
11918
  fi
11919
fi
11920
 
11921
# Also set EXEEXT_FOR_BUILD.
11922
if test "x$cross_compiling" = "xno"; then
11923
  EXEEXT_FOR_BUILD='$(EXEEXT)'
11924
else
11925 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for build system executable suffix" >&5
11926
$as_echo_n "checking for build system executable suffix... " >&6; }
11927
if test "${bfd_cv_build_exeext+set}" = set; then :
11928
  $as_echo_n "(cached) " >&6
11929 131 jeremybenn
else
11930
  rm -f conftest*
11931
     echo 'int main () { return 0; }' > conftest.c
11932
     bfd_cv_build_exeext=
11933
     ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5
11934
     for file in conftest.*; do
11935
       case $file in
11936
       *.c | *.o | *.obj | *.ilk | *.pdb) ;;
11937
       *) bfd_cv_build_exeext=`echo $file | sed -e s/conftest//` ;;
11938
       esac
11939
     done
11940
     rm -f conftest*
11941
     test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
11942
fi
11943 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_build_exeext" >&5
11944
$as_echo "$bfd_cv_build_exeext" >&6; }
11945 131 jeremybenn
  EXEEXT_FOR_BUILD=""
11946
  test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
11947
fi
11948
 
11949
 
11950
 
11951
 
11952
 
11953 225 jeremybenn
for ac_header in string.h strings.h stdlib.h limits.h
11954
do :
11955
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11956
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11957
eval as_val=\$$as_ac_Header
11958
   if test "x$as_val" = x""yes; then :
11959
  cat >>confdefs.h <<_ACEOF
11960
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11961
_ACEOF
11962
 
11963 131 jeremybenn
fi
11964
 
11965 225 jeremybenn
done
11966 131 jeremybenn
 
11967
 
11968 225 jeremybenn
ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
11969
if test "x$ac_cv_have_decl_basename" = x""yes; then :
11970
  ac_have_decl=1
11971 131 jeremybenn
else
11972 225 jeremybenn
  ac_have_decl=0
11973 131 jeremybenn
fi
11974
 
11975 225 jeremybenn
cat >>confdefs.h <<_ACEOF
11976
#define HAVE_DECL_BASENAME $ac_have_decl
11977 131 jeremybenn
_ACEOF
11978 225 jeremybenn
ac_fn_c_check_decl "$LINENO" "stpcpy" "ac_cv_have_decl_stpcpy" "$ac_includes_default"
11979
if test "x$ac_cv_have_decl_stpcpy" = x""yes; then :
11980
  ac_have_decl=1
11981 131 jeremybenn
else
11982 225 jeremybenn
  ac_have_decl=0
11983 131 jeremybenn
fi
11984
 
11985 225 jeremybenn
cat >>confdefs.h <<_ACEOF
11986
#define HAVE_DECL_STPCPY $ac_have_decl
11987
_ACEOF
11988 131 jeremybenn
 
11989 225 jeremybenn
 
11990
cgen_maint=no
11991
cgendir='$(srcdir)/../cgen'
11992
 
11993
# Check whether --enable-cgen-maint was given.
11994
if test "${enable_cgen_maint+set}" = set; then :
11995
  enableval=$enable_cgen_maint; case "${enableval}" in
11996
  yes)  cgen_maint=yes ;;
11997
  no)   cgen_maint=no ;;
11998
  *)
11999
        # argument is cgen install directory (not implemented yet).
12000
        # Having a `share' directory might be more appropriate for the .scm,
12001
        # .cpu, etc. files.
12002
        cgen_maint=yes
12003
        cgendir=${cgen_maint}/lib/cgen
12004
        ;;
12005 131 jeremybenn
esac
12006 225 jeremybenn
fi
12007
 if test x${cgen_maint} = xyes; then
12008
  CGEN_MAINT_TRUE=
12009
  CGEN_MAINT_FALSE='#'
12010 131 jeremybenn
else
12011 225 jeremybenn
  CGEN_MAINT_TRUE='#'
12012
  CGEN_MAINT_FALSE=
12013 131 jeremybenn
fi
12014
 
12015
 
12016
 
12017 225 jeremybenn
using_cgen=no
12018 131 jeremybenn
 
12019 225 jeremybenn
# Check if linker supports --as-needed and --no-as-needed options
12020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
12021
$as_echo_n "checking linker --as-needed support... " >&6; }
12022
if test "${bfd_cv_ld_as_needed+set}" = set; then :
12023
  $as_echo_n "(cached) " >&6
12024
else
12025
  bfd_cv_ld_as_needed=no
12026
        if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
12027
                bfd_cv_ld_as_needed=yes
12028
        fi
12029 131 jeremybenn
 
12030 225 jeremybenn
fi
12031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
12032
$as_echo "$bfd_cv_ld_as_needed" >&6; }
12033
 
12034
LIBM=
12035
case $host in
12036
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
12037
  # These system don't have libm, or don't need it
12038
  ;;
12039
*-ncr-sysv4.3*)
12040
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
12041
$as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
12042
if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
12043
  $as_echo_n "(cached) " >&6
12044 131 jeremybenn
else
12045 225 jeremybenn
  ac_check_lib_save_LIBS=$LIBS
12046
LIBS="-lmw  $LIBS"
12047
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12048 131 jeremybenn
/* end confdefs.h.  */
12049 225 jeremybenn
 
12050
/* Override any GCC internal prototype to avoid an error.
12051
   Use char because int might match the return type of a GCC
12052
   builtin and then its argument prototype would still apply.  */
12053
#ifdef __cplusplus
12054
extern "C"
12055
#endif
12056
char _mwvalidcheckl ();
12057 131 jeremybenn
int
12058
main ()
12059
{
12060 225 jeremybenn
return _mwvalidcheckl ();
12061 131 jeremybenn
  ;
12062
  return 0;
12063
}
12064
_ACEOF
12065 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
12066
  ac_cv_lib_mw__mwvalidcheckl=yes
12067 131 jeremybenn
else
12068 225 jeremybenn
  ac_cv_lib_mw__mwvalidcheckl=no
12069 131 jeremybenn
fi
12070 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
12071
    conftest$ac_exeext conftest.$ac_ext
12072
LIBS=$ac_check_lib_save_LIBS
12073 131 jeremybenn
fi
12074 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12075
$as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12076
if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
12077
  LIBM="-lmw"
12078
fi
12079 131 jeremybenn
 
12080 225 jeremybenn
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12081
$as_echo_n "checking for cos in -lm... " >&6; }
12082
if test "${ac_cv_lib_m_cos+set}" = set; then :
12083
  $as_echo_n "(cached) " >&6
12084 131 jeremybenn
else
12085 225 jeremybenn
  ac_check_lib_save_LIBS=$LIBS
12086
LIBS="-lm  $LIBS"
12087
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12088
/* end confdefs.h.  */
12089 131 jeremybenn
 
12090 225 jeremybenn
/* Override any GCC internal prototype to avoid an error.
12091
   Use char because int might match the return type of a GCC
12092
   builtin and then its argument prototype would still apply.  */
12093
#ifdef __cplusplus
12094
extern "C"
12095
#endif
12096
char cos ();
12097 131 jeremybenn
int
12098
main ()
12099
{
12100 225 jeremybenn
return cos ();
12101 131 jeremybenn
  ;
12102
  return 0;
12103
}
12104
_ACEOF
12105 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
12106
  ac_cv_lib_m_cos=yes
12107 131 jeremybenn
else
12108 225 jeremybenn
  ac_cv_lib_m_cos=no
12109 131 jeremybenn
fi
12110 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
12111
    conftest$ac_exeext conftest.$ac_ext
12112
LIBS=$ac_check_lib_save_LIBS
12113 131 jeremybenn
fi
12114 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12115
$as_echo "$ac_cv_lib_m_cos" >&6; }
12116
if test "x$ac_cv_lib_m_cos" = x""yes; then :
12117
  LIBM="$LIBM -lm"
12118
fi
12119 131 jeremybenn
 
12120 225 jeremybenn
  ;;
12121
*)
12122
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12123
$as_echo_n "checking for cos in -lm... " >&6; }
12124
if test "${ac_cv_lib_m_cos+set}" = set; then :
12125
  $as_echo_n "(cached) " >&6
12126
else
12127
  ac_check_lib_save_LIBS=$LIBS
12128
LIBS="-lm  $LIBS"
12129
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130
/* end confdefs.h.  */
12131
 
12132
/* Override any GCC internal prototype to avoid an error.
12133
   Use char because int might match the return type of a GCC
12134
   builtin and then its argument prototype would still apply.  */
12135
#ifdef __cplusplus
12136
extern "C"
12137
#endif
12138
char cos ();
12139
int
12140
main ()
12141
{
12142
return cos ();
12143
  ;
12144
  return 0;
12145
}
12146 131 jeremybenn
_ACEOF
12147 225 jeremybenn
if ac_fn_c_try_link "$LINENO"; then :
12148
  ac_cv_lib_m_cos=yes
12149 131 jeremybenn
else
12150 225 jeremybenn
  ac_cv_lib_m_cos=no
12151 131 jeremybenn
fi
12152 225 jeremybenn
rm -f core conftest.err conftest.$ac_objext \
12153
    conftest$ac_exeext conftest.$ac_ext
12154
LIBS=$ac_check_lib_save_LIBS
12155
fi
12156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12157
$as_echo "$ac_cv_lib_m_cos" >&6; }
12158
if test "x$ac_cv_lib_m_cos" = x""yes; then :
12159
  LIBM="-lm"
12160
fi
12161 131 jeremybenn
 
12162 225 jeremybenn
  ;;
12163
esac
12164 131 jeremybenn
 
12165
 
12166
 
12167 225 jeremybenn
#Libs for generator progs
12168
if test "x$cross_compiling" = "xno"; then
12169
  BUILD_LIBS=../libiberty/libiberty.a
12170
  BUILD_LIB_DEPS=$BUILD_LIBS
12171 131 jeremybenn
else
12172 225 jeremybenn
  # if cross-compiling, assume that the system provides -liberty
12173
  # and that the version is compatible with new headers.
12174
  BUILD_LIBS=-liberty
12175
  BUILD_LIB_DEPS=
12176 131 jeremybenn
fi
12177 225 jeremybenn
BUILD_LIBS="$BUILD_LIBS $LIBINTL"
12178
BUILD_LIB_DEPS="$BUILD_LIB_DEPS $LIBINTL_DEP"
12179 131 jeremybenn
 
12180
 
12181
 
12182
 
12183
# Horrible hacks to build DLLs on Windows and a shared library elsewhere.
12184
SHARED_LDFLAGS=
12185
SHARED_LIBADD=
12186
SHARED_DEPENDENCIES=
12187
if test "$enable_shared" = "yes"; then
12188 225 jeremybenn
# When building a shared libopcodes, link against the pic version of libiberty
12189
# so that apps that use libopcodes won't need libiberty just to satisfy any
12190
# libopcodes references.
12191
# We can't do that if a pic libiberty is unavailable since including non-pic
12192
# code would insert text relocations into libopcodes.
12193
# Note that linking against libbfd as we do here, which is itself linked
12194
# against libiberty, may not satisfy all the libopcodes libiberty references
12195
# since libbfd may not pull in the entirety of libiberty.
12196
  x=`sed -n -e 's/^[    ]*PICFLAG[      ]*=[    ]*//p' < ../libiberty/Makefile | sed -n '$p'`
12197
  if test -n "$x"; then
12198
    SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
12199
  fi
12200
 
12201 131 jeremybenn
  case "${host}" in
12202
    *-*-cygwin*)
12203
      SHARED_LDFLAGS="-no-undefined"
12204
      SHARED_LIBADD="-L`pwd`/../bfd -lbfd -L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin"
12205
      ;;
12206
   *-*-darwin*)
12207 225 jeremybenn
     SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.dylib ${SHARED_LIBADD}"
12208 131 jeremybenn
     SHARED_DEPENDENCIES="../bfd/libbfd.la"
12209
     ;;
12210
    *)
12211
      case "$host_vendor" in
12212
        hp)
12213 225 jeremybenn
          SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.sl ${SHARED_LIBADD}"
12214 131 jeremybenn
          ;;
12215
        *)
12216 225 jeremybenn
          SHARED_LIBADD="-Wl,`pwd`/../bfd/.libs/libbfd.so ${SHARED_LIBADD}"
12217 131 jeremybenn
          ;;
12218
      esac
12219
      SHARED_DEPENDENCIES="../bfd/libbfd.la"
12220
      ;;
12221
  esac
12222 225 jeremybenn
 
12223
  if test -n "$SHARED_LIBADD"; then
12224
    if test -n "$LIBM"; then
12225
      if test x"$bfd_cv_ld_as_needed" = xyes; then
12226
        # Link against libm only when needed.  Put -lc, -lm inside -Wl
12227
        # to stop libtool reordering these options.
12228
        SHARED_LIBADD="$SHARED_LIBADD -Wl,-lc,--as-needed,`echo $LIBM | sed 's/ /,/g'`,--no-as-needed"
12229
      else
12230
        SHARED_LIBADD="$SHARED_LIBADD $LIBM"
12231
      fi
12232
    fi
12233
  fi
12234 131 jeremybenn
fi
12235
 
12236
 
12237
 
12238
 
12239
# target-specific stuff:
12240
 
12241
# Canonicalize the secondary target names.
12242
if test -n "$enable_targets" ; then
12243
    for targ in `echo $enable_targets | sed 's/,/ /g'`
12244
    do
12245
        result=`$ac_config_sub $targ 2>/dev/null`
12246
        if test -n "$result" ; then
12247
            canon_targets="$canon_targets $result"
12248
        else
12249
            # Allow targets that config.sub doesn't recognize, like "all".
12250
            canon_targets="$canon_targets $targ"
12251
        fi
12252
    done
12253
fi
12254
 
12255
all_targets=false
12256
selarchs=
12257
for targ in $target $canon_targets
12258
do
12259
    if test "x$targ" = "xall" ; then
12260
        all_targets=true
12261
    else
12262
        . $srcdir/../bfd/config.bfd
12263
        selarchs="$selarchs $targ_archs"
12264
    fi
12265
done
12266
 
12267
# Utility var, documents generic cgen support files.
12268
 
12269
cgen_files="cgen-opc.lo cgen-asm.lo cgen-dis.lo cgen-bitset.lo"
12270
 
12271
# We don't do any links based on the target system, just makefile config.
12272
 
12273
if test x${all_targets} = xfalse ; then
12274
 
12275
    # Target architecture .o files.
12276
    ta=
12277
 
12278
    for arch in $selarchs
12279
    do
12280
        ad=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
12281
        archdefs="$archdefs -DARCH_$ad"
12282
        case "$arch" in
12283
        bfd_alpha_arch)         ta="$ta alpha-dis.lo alpha-opc.lo" ;;
12284
        bfd_arc_arch)           ta="$ta arc-dis.lo arc-opc.lo arc-ext.lo" ;;
12285
        bfd_arm_arch)           ta="$ta arm-dis.lo" ;;
12286
        bfd_avr_arch)           ta="$ta avr-dis.lo" ;;
12287
        bfd_bfin_arch)          ta="$ta bfin-dis.lo" ;;
12288
        bfd_cr16_arch)          ta="$ta cr16-dis.lo cr16-opc.lo" ;;
12289
        bfd_cris_arch)          ta="$ta cris-dis.lo cris-opc.lo cgen-bitset.lo" ;;
12290
        bfd_crx_arch)           ta="$ta crx-dis.lo crx-opc.lo" ;;
12291
        bfd_d10v_arch)          ta="$ta d10v-dis.lo d10v-opc.lo" ;;
12292
        bfd_d30v_arch)          ta="$ta d30v-dis.lo d30v-opc.lo" ;;
12293
        bfd_dlx_arch)           ta="$ta dlx-dis.lo" ;;
12294
        bfd_fr30_arch)          ta="$ta fr30-asm.lo fr30-desc.lo fr30-dis.lo fr30-ibld.lo fr30-opc.lo" using_cgen=yes ;;
12295
        bfd_frv_arch)           ta="$ta frv-asm.lo frv-desc.lo frv-dis.lo frv-ibld.lo frv-opc.lo" using_cgen=yes ;;
12296 225 jeremybenn
        bfd_moxie_arch)         ta="$ta moxie-dis.lo moxie-opc.lo" ;;
12297 131 jeremybenn
        bfd_h8300_arch)         ta="$ta h8300-dis.lo" ;;
12298
        bfd_h8500_arch)         ta="$ta h8500-dis.lo" ;;
12299
        bfd_hppa_arch)          ta="$ta hppa-dis.lo" ;;
12300
        bfd_i370_arch)          ta="$ta i370-dis.lo i370-opc.lo" ;;
12301 225 jeremybenn
        bfd_i386_arch|bfd_l1om_arch)
12302
                                ta="$ta i386-dis.lo i386-opc.lo" ;;
12303 131 jeremybenn
        bfd_i860_arch)          ta="$ta i860-dis.lo" ;;
12304
        bfd_i960_arch)          ta="$ta i960-dis.lo" ;;
12305
        bfd_ia64_arch)          ta="$ta ia64-dis.lo ia64-opc.lo" ;;
12306
        bfd_ip2k_arch)          ta="$ta ip2k-asm.lo ip2k-desc.lo ip2k-dis.lo ip2k-ibld.lo ip2k-opc.lo" using_cgen=yes ;;
12307
        bfd_iq2000_arch)        ta="$ta iq2000-asm.lo iq2000-desc.lo iq2000-dis.lo iq2000-ibld.lo iq2000-opc.lo" using_cgen=yes ;;
12308 225 jeremybenn
        bfd_lm32_arch)          ta="$ta lm32-asm.lo lm32-desc.lo lm32-dis.lo lm32-ibld.lo lm32-opc.lo lm32-opinst.lo" using_cgen=yes ;;
12309 131 jeremybenn
        bfd_m32c_arch)          ta="$ta m32c-asm.lo m32c-desc.lo m32c-dis.lo m32c-ibld.lo m32c-opc.lo" using_cgen=yes ;;
12310
        bfd_m32r_arch)          ta="$ta m32r-asm.lo m32r-desc.lo m32r-dis.lo m32r-ibld.lo m32r-opc.lo m32r-opinst.lo" using_cgen=yes ;;
12311
        bfd_m68hc11_arch)       ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12312
        bfd_m68hc12_arch)       ta="$ta m68hc11-dis.lo m68hc11-opc.lo" ;;
12313
        bfd_m68k_arch)          ta="$ta m68k-dis.lo m68k-opc.lo" ;;
12314
        bfd_m88k_arch)          ta="$ta m88k-dis.lo" ;;
12315
        bfd_maxq_arch)          ta="$ta maxq-dis.lo" ;;
12316
        bfd_mcore_arch)         ta="$ta mcore-dis.lo" ;;
12317
        bfd_mep_arch)           ta="$ta mep-asm.lo mep-desc.lo mep-dis.lo mep-ibld.lo mep-opc.lo" using_cgen=yes ;;
12318 225 jeremybenn
        bfd_microblaze_arch)    ta="$ta microblaze-dis.lo" ;;
12319 131 jeremybenn
        bfd_mips_arch)          ta="$ta mips-dis.lo mips-opc.lo mips16-opc.lo" ;;
12320
        bfd_mmix_arch)          ta="$ta mmix-dis.lo mmix-opc.lo" ;;
12321
        bfd_mn10200_arch)       ta="$ta m10200-dis.lo m10200-opc.lo" ;;
12322
        bfd_mn10300_arch)       ta="$ta m10300-dis.lo m10300-opc.lo" ;;
12323
        bfd_mt_arch)            ta="$ta mt-asm.lo mt-desc.lo mt-dis.lo mt-ibld.lo mt-opc.lo" using_cgen=yes ;;
12324
        bfd_msp430_arch)        ta="$ta msp430-dis.lo" ;;
12325
        bfd_ns32k_arch)         ta="$ta ns32k-dis.lo" ;;
12326
        bfd_or32_arch)          ta="$ta or32-dis.lo or32-opc.lo" using_cgen=yes ;;
12327
        bfd_pdp11_arch)         ta="$ta pdp11-dis.lo pdp11-opc.lo" ;;
12328
        bfd_pj_arch)            ta="$ta pj-dis.lo pj-opc.lo" ;;
12329
        bfd_powerpc_arch)       ta="$ta ppc-dis.lo ppc-opc.lo" ;;
12330
        bfd_powerpc_64_arch)    ta="$ta ppc-dis.lo ppc-opc.lo" ;;
12331
        bfd_pyramid_arch)       ;;
12332
        bfd_romp_arch)          ;;
12333
        bfd_rs6000_arch)        ta="$ta ppc-dis.lo ppc-opc.lo" ;;
12334
        bfd_s390_arch)          ta="$ta s390-dis.lo s390-opc.lo" ;;
12335 225 jeremybenn
        bfd_score_arch)         ta="$ta score-dis.lo score7-dis.lo" ;;
12336 131 jeremybenn
        bfd_sh_arch)
12337
          # We can't decide what we want just from the CPU family.
12338
          # We want SH5 support unless a specific version of sh is
12339
          # specified, as in sh3-elf, sh3b-linux-gnu, etc.
12340
          # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
12341
          for t in $target $canon_targets; do
12342
            case $t in
12343
              all |  sh5*-* | sh64*-* | sh-*-*elf* | shl*-*-*elf* | \
12344
              sh-*-linux* | shl-*-linux*)
12345
                                ta="$ta sh64-dis.lo sh64-opc.lo"
12346
                                archdefs="$archdefs -DINCLUDE_SHMEDIA"
12347
                                break;;
12348
            esac;
12349
          done
12350
                                ta="$ta sh-dis.lo cgen-bitset.lo" ;;
12351
        bfd_sparc_arch)         ta="$ta sparc-dis.lo sparc-opc.lo" ;;
12352
        bfd_spu_arch)           ta="$ta spu-dis.lo spu-opc.lo" ;;
12353
        bfd_tahoe_arch)         ;;
12354
        bfd_tic30_arch)         ta="$ta tic30-dis.lo" ;;
12355
        bfd_tic4x_arch)         ta="$ta tic4x-dis.lo" ;;
12356
        bfd_tic54x_arch)        ta="$ta tic54x-dis.lo tic54x-opc.lo" ;;
12357
        bfd_tic80_arch)         ta="$ta tic80-dis.lo tic80-opc.lo" ;;
12358
        bfd_v850_arch)          ta="$ta v850-opc.lo v850-dis.lo" ;;
12359
        bfd_v850e_arch)         ta="$ta v850-opc.lo v850-dis.lo" ;;
12360
        bfd_v850ea_arch)        ta="$ta v850-opc.lo v850-dis.lo" ;;
12361
        bfd_vax_arch)           ta="$ta vax-dis.lo" ;;
12362
        bfd_w65_arch)           ta="$ta w65-dis.lo" ;;
12363
        bfd_we32k_arch)         ;;
12364
        bfd_xc16x_arch)         ta="$ta xc16x-asm.lo xc16x-desc.lo xc16x-dis.lo xc16x-ibld.lo xc16x-opc.lo" using_cgen=yes ;;
12365
        bfd_xstormy16_arch)     ta="$ta xstormy16-asm.lo xstormy16-desc.lo xstormy16-dis.lo xstormy16-ibld.lo xstormy16-opc.lo" using_cgen=yes ;;
12366
        bfd_xtensa_arch)        ta="$ta xtensa-dis.lo" ;;
12367
        bfd_z80_arch)           ta="$ta z80-dis.lo" ;;
12368
        bfd_z8k_arch)           ta="$ta z8k-dis.lo" ;;
12369
 
12370
        "")                     ;;
12371 225 jeremybenn
        *)              as_fn_error "*** unknown target architecture $arch" "$LINENO" 5 ;;
12372 131 jeremybenn
        esac
12373
    done
12374
 
12375
    if test $using_cgen = yes ; then
12376
        ta="$ta $cgen_files"
12377
    fi
12378
 
12379
    # Weed out duplicate .o files.
12380
    f=""
12381
    for i in $ta ; do
12382
        case " $f " in
12383
        *" $i "*) ;;
12384
        *) f="$f $i" ;;
12385
        esac
12386
    done
12387
    ta="$f"
12388
 
12389
    # And duplicate -D flags.
12390
    f=""
12391
    for i in $archdefs ; do
12392
        case " $f " in
12393
        *" $i "*) ;;
12394
        *) f="$f $i" ;;
12395
        esac
12396
    done
12397
    archdefs="$f"
12398
 
12399
    BFD_MACHINES="$ta"
12400
 
12401
else    # all_targets is true
12402
    archdefs=-DARCH_all
12403
    BFD_MACHINES='$(ALL_MACHINES)'
12404
fi
12405
 
12406
 
12407
 
12408
 
12409 225 jeremybenn
ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12410 131 jeremybenn
 
12411
cat >confcache <<\_ACEOF
12412
# This file is a shell script that caches the results of configure
12413
# tests run on this system so they can be shared between configure
12414
# scripts and configure runs, see configure's option --config-cache.
12415
# It is not useful on other systems.  If it contains results you don't
12416
# want to keep, you may remove or edit it.
12417
#
12418
# config.status only pays attention to the cache file if you give it
12419
# the --recheck option to rerun configure.
12420
#
12421
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12422
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12423
# following values.
12424
 
12425
_ACEOF
12426
 
12427
# The following way of writing the cache mishandles newlines in values,
12428
# but we know of no workaround that is simple, portable, and efficient.
12429 225 jeremybenn
# So, we kill variables containing newlines.
12430 131 jeremybenn
# Ultrix sh set writes to stderr and can't be redirected directly,
12431
# and sets the high bit in the cache file unless we assign to the vars.
12432 225 jeremybenn
(
12433
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12434
    eval ac_val=\$$ac_var
12435
    case $ac_val in #(
12436
    *${as_nl}*)
12437
      case $ac_var in #(
12438
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12439
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12440
      esac
12441
      case $ac_var in #(
12442
      _ | IFS | as_nl) ;; #(
12443
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12444
      *) { eval $ac_var=; unset $ac_var;} ;;
12445
      esac ;;
12446
    esac
12447
  done
12448
 
12449 131 jeremybenn
  (set) 2>&1 |
12450 225 jeremybenn
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12451
    *${as_nl}ac_space=\ *)
12452
      # `set' does not quote correctly, so add quotes: double-quote
12453
      # substitution turns \\\\ into \\, and sed turns \\ into \.
12454 131 jeremybenn
      sed -n \
12455
        "s/'/'\\\\''/g;
12456
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12457 225 jeremybenn
      ;; #(
12458 131 jeremybenn
    *)
12459
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12460 225 jeremybenn
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12461 131 jeremybenn
      ;;
12462 225 jeremybenn
    esac |
12463
    sort
12464
) |
12465 131 jeremybenn
  sed '
12466 225 jeremybenn
     /^ac_cv_env_/b end
12467 131 jeremybenn
     t clear
12468 225 jeremybenn
     :clear
12469 131 jeremybenn
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12470
     t end
12471 225 jeremybenn
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12472
     :end' >>confcache
12473
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12474
  if test -w "$cache_file"; then
12475
    test "x$cache_file" != "x/dev/null" &&
12476
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12477
$as_echo "$as_me: updating cache $cache_file" >&6;}
12478 131 jeremybenn
    cat confcache >$cache_file
12479
  else
12480 225 jeremybenn
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12481
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12482 131 jeremybenn
  fi
12483
fi
12484
rm -f confcache
12485
 
12486
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12487
# Let make expand exec_prefix.
12488
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12489
 
12490
DEFS=-DHAVE_CONFIG_H
12491
 
12492
ac_libobjs=
12493
ac_ltlibobjs=
12494
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12495
  # 1. Remove the extension, and $U if already installed.
12496 225 jeremybenn
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12497
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12498
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12499
  #    will be set to the directory where LIBOBJS objects are built.
12500
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12501
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12502 131 jeremybenn
done
12503
LIBOBJS=$ac_libobjs
12504
 
12505
LTLIBOBJS=$ac_ltlibobjs
12506
 
12507
 
12508
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12509 225 jeremybenn
  as_fn_error "conditional \"AMDEP\" was never defined.
12510
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12511 131 jeremybenn
fi
12512
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12513 225 jeremybenn
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
12514
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12515 131 jeremybenn
fi
12516 225 jeremybenn
 if test -n "$EXEEXT"; then
12517
  am__EXEEXT_TRUE=
12518
  am__EXEEXT_FALSE='#'
12519
else
12520
  am__EXEEXT_TRUE='#'
12521
  am__EXEEXT_FALSE=
12522
fi
12523
 
12524 131 jeremybenn
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12525 225 jeremybenn
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
12526
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12527 131 jeremybenn
fi
12528
if test -z "${INSTALL_LIBBFD_TRUE}" && test -z "${INSTALL_LIBBFD_FALSE}"; then
12529 225 jeremybenn
  as_fn_error "conditional \"INSTALL_LIBBFD\" was never defined.
12530
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12531 131 jeremybenn
fi
12532
if test -z "${CGEN_MAINT_TRUE}" && test -z "${CGEN_MAINT_FALSE}"; then
12533 225 jeremybenn
  as_fn_error "conditional \"CGEN_MAINT\" was never defined.
12534
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12535 131 jeremybenn
fi
12536
 
12537
: ${CONFIG_STATUS=./config.status}
12538 225 jeremybenn
ac_write_fail=0
12539 131 jeremybenn
ac_clean_files_save=$ac_clean_files
12540
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12541 225 jeremybenn
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12542
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12543
as_write_fail=0
12544
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12545 131 jeremybenn
#! $SHELL
12546
# Generated by $as_me.
12547
# Run this file to recreate the current configuration.
12548
# Compiler output produced by configure, useful for debugging
12549
# configure, is in config.log if it exists.
12550
 
12551
debug=false
12552
ac_cs_recheck=false
12553
ac_cs_silent=false
12554 225 jeremybenn
 
12555 131 jeremybenn
SHELL=\${CONFIG_SHELL-$SHELL}
12556 225 jeremybenn
export SHELL
12557
_ASEOF
12558
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12559
## -------------------- ##
12560
## M4sh Initialization. ##
12561
## -------------------- ##
12562 131 jeremybenn
 
12563 225 jeremybenn
# Be more Bourne compatible
12564
DUALCASE=1; export DUALCASE # for MKS sh
12565
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12566 131 jeremybenn
  emulate sh
12567
  NULLCMD=:
12568 225 jeremybenn
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12569 131 jeremybenn
  # is contrary to our usage.  Disable this feature.
12570
  alias -g '${1+"$@"}'='"$@"'
12571 225 jeremybenn
  setopt NO_GLOB_SUBST
12572
else
12573
  case `(set -o) 2>/dev/null` in #(
12574
  *posix*) :
12575
    set -o posix ;; #(
12576
  *) :
12577
     ;;
12578
esac
12579 131 jeremybenn
fi
12580
 
12581 225 jeremybenn
 
12582
as_nl='
12583
'
12584
export as_nl
12585
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12586
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12587
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12588
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12589
# Prefer a ksh shell builtin over an external printf program on Solaris,
12590
# but without wasting forks for bash or zsh.
12591
if test -z "$BASH_VERSION$ZSH_VERSION" \
12592
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12593
  as_echo='print -r --'
12594
  as_echo_n='print -rn --'
12595
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12596
  as_echo='printf %s\n'
12597
  as_echo_n='printf %s'
12598 131 jeremybenn
else
12599 225 jeremybenn
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12600
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12601
    as_echo_n='/usr/ucb/echo -n'
12602
  else
12603
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12604
    as_echo_n_body='eval
12605
      arg=$1;
12606
      case $arg in #(
12607
      *"$as_nl"*)
12608
        expr "X$arg" : "X\\(.*\\)$as_nl";
12609
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12610
      esac;
12611
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12612
    '
12613
    export as_echo_n_body
12614
    as_echo_n='sh -c $as_echo_n_body as_echo'
12615
  fi
12616
  export as_echo_body
12617
  as_echo='sh -c $as_echo_body as_echo'
12618 131 jeremybenn
fi
12619
 
12620 225 jeremybenn
# The user is always right.
12621
if test "${PATH_SEPARATOR+set}" != set; then
12622
  PATH_SEPARATOR=:
12623
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12624
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12625
      PATH_SEPARATOR=';'
12626
  }
12627
fi
12628 131 jeremybenn
 
12629 225 jeremybenn
 
12630
# IFS
12631
# We need space, tab and new line, in precisely that order.  Quoting is
12632
# there to prevent editors from complaining about space-tab.
12633
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12634
# splitting by setting IFS to empty value.)
12635
IFS=" ""        $as_nl"
12636
 
12637
# Find who we are.  Look in the path if we contain no directory separator.
12638
case $0 in #((
12639
  *[\\/]* ) as_myself=$0 ;;
12640
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12641
for as_dir in $PATH
12642
do
12643
  IFS=$as_save_IFS
12644
  test -z "$as_dir" && as_dir=.
12645
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12646
  done
12647
IFS=$as_save_IFS
12648
 
12649
     ;;
12650
esac
12651
# We did not find ourselves, most probably we were run as `sh COMMAND'
12652
# in which case we are not to be found in the path.
12653
if test "x$as_myself" = x; then
12654
  as_myself=$0
12655
fi
12656
if test ! -f "$as_myself"; then
12657
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12658
  exit 1
12659
fi
12660
 
12661
# Unset variables that we do not need and which cause bugs (e.g. in
12662
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12663
# suppresses any "Segmentation fault" message there.  '((' could
12664
# trigger a bug in pdksh 5.2.14.
12665
for as_var in BASH_ENV ENV MAIL MAILPATH
12666
do eval test x\${$as_var+set} = xset \
12667
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12668
done
12669 131 jeremybenn
PS1='$ '
12670
PS2='> '
12671
PS4='+ '
12672
 
12673
# NLS nuisances.
12674 225 jeremybenn
LC_ALL=C
12675
export LC_ALL
12676
LANGUAGE=C
12677
export LANGUAGE
12678
 
12679
# CDPATH.
12680
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12681
 
12682
 
12683
# as_fn_error ERROR [LINENO LOG_FD]
12684
# ---------------------------------
12685
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12686
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12687
# script with status $?, using 1 if that was 0.
12688
as_fn_error ()
12689
{
12690
  as_status=$?; test $as_status -eq 0 && as_status=1
12691
  if test "$3"; then
12692
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12693
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12694 131 jeremybenn
  fi
12695 225 jeremybenn
  $as_echo "$as_me: error: $1" >&2
12696
  as_fn_exit $as_status
12697
} # as_fn_error
12698 131 jeremybenn
 
12699 225 jeremybenn
 
12700
# as_fn_set_status STATUS
12701
# -----------------------
12702
# Set $? to STATUS, without forking.
12703
as_fn_set_status ()
12704
{
12705
  return $1
12706
} # as_fn_set_status
12707
 
12708
# as_fn_exit STATUS
12709
# -----------------
12710
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12711
as_fn_exit ()
12712
{
12713
  set +e
12714
  as_fn_set_status $1
12715
  exit $1
12716
} # as_fn_exit
12717
 
12718
# as_fn_unset VAR
12719
# ---------------
12720
# Portably unset VAR.
12721
as_fn_unset ()
12722
{
12723
  { eval $1=; unset $1;}
12724
}
12725
as_unset=as_fn_unset
12726
# as_fn_append VAR VALUE
12727
# ----------------------
12728
# Append the text in VALUE to the end of the definition contained in VAR. Take
12729
# advantage of any shell optimizations that allow amortized linear growth over
12730
# repeated appends, instead of the typical quadratic growth present in naive
12731
# implementations.
12732
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12733
  eval 'as_fn_append ()
12734
  {
12735
    eval $1+=\$2
12736
  }'
12737
else
12738
  as_fn_append ()
12739
  {
12740
    eval $1=\$$1\$2
12741
  }
12742
fi # as_fn_append
12743
 
12744
# as_fn_arith ARG...
12745
# ------------------
12746
# Perform arithmetic evaluation on the ARGs, and store the result in the
12747
# global $as_val. Take advantage of shells that can avoid forks. The arguments
12748
# must be portable across $(()) and expr.
12749
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12750
  eval 'as_fn_arith ()
12751
  {
12752
    as_val=$(( $* ))
12753
  }'
12754
else
12755
  as_fn_arith ()
12756
  {
12757
    as_val=`expr "$@" || test $? -eq 1`
12758
  }
12759
fi # as_fn_arith
12760
 
12761
 
12762
if expr a : '\(a\)' >/dev/null 2>&1 &&
12763
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12764 131 jeremybenn
  as_expr=expr
12765
else
12766
  as_expr=false
12767
fi
12768
 
12769 225 jeremybenn
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12770 131 jeremybenn
  as_basename=basename
12771
else
12772
  as_basename=false
12773
fi
12774
 
12775 225 jeremybenn
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12776
  as_dirname=dirname
12777
else
12778
  as_dirname=false
12779
fi
12780 131 jeremybenn
 
12781 225 jeremybenn
as_me=`$as_basename -- "$0" ||
12782 131 jeremybenn
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12783
         X"$0" : 'X\(//\)$' \| \
12784 225 jeremybenn
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12785
$as_echo X/"$0" |
12786
    sed '/^.*\/\([^/][^/]*\)\/*$/{
12787
            s//\1/
12788
            q
12789
          }
12790
          /^X\/\(\/\/\)$/{
12791
            s//\1/
12792
            q
12793
          }
12794
          /^X\/\(\/\).*/{
12795
            s//\1/
12796
            q
12797
          }
12798
          s/.*/./; q'`
12799 131 jeremybenn
 
12800
# Avoid depending upon Character Ranges.
12801
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12802
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12803
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12804
as_cr_digits='0123456789'
12805
as_cr_alnum=$as_cr_Letters$as_cr_digits
12806
 
12807 225 jeremybenn
ECHO_C= ECHO_N= ECHO_T=
12808
case `echo -n x` in #(((((
12809
-n*)
12810
  case `echo 'xy\c'` in
12811
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12812
  xy)  ECHO_C='\c';;
12813
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12814
       ECHO_T=' ';;
12815
  esac;;
12816
*)
12817
  ECHO_N='-n';;
12818 131 jeremybenn
esac
12819
 
12820 225 jeremybenn
rm -f conf$$ conf$$.exe conf$$.file
12821
if test -d conf$$.dir; then
12822
  rm -f conf$$.dir/conf$$.file
12823 131 jeremybenn
else
12824 225 jeremybenn
  rm -f conf$$.dir
12825
  mkdir conf$$.dir 2>/dev/null
12826 131 jeremybenn
fi
12827 225 jeremybenn
if (echo >conf$$.file) 2>/dev/null; then
12828
  if ln -s conf$$.file conf$$ 2>/dev/null; then
12829
    as_ln_s='ln -s'
12830
    # ... but there are two gotchas:
12831
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12832
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12833
    # In both cases, we have to default to `cp -p'.
12834
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12835
      as_ln_s='cp -p'
12836
  elif ln conf$$.file conf$$ 2>/dev/null; then
12837
    as_ln_s=ln
12838
  else
12839 131 jeremybenn
    as_ln_s='cp -p'
12840
  fi
12841
else
12842
  as_ln_s='cp -p'
12843
fi
12844 225 jeremybenn
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12845
rmdir conf$$.dir 2>/dev/null
12846 131 jeremybenn
 
12847 225 jeremybenn
 
12848
# as_fn_mkdir_p
12849
# -------------
12850
# Create "$as_dir" as a directory, including parents if necessary.
12851
as_fn_mkdir_p ()
12852
{
12853
 
12854
  case $as_dir in #(
12855
  -*) as_dir=./$as_dir;;
12856
  esac
12857
  test -d "$as_dir" || eval $as_mkdir_p || {
12858
    as_dirs=
12859
    while :; do
12860
      case $as_dir in #(
12861
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12862
      *) as_qdir=$as_dir;;
12863
      esac
12864
      as_dirs="'$as_qdir' $as_dirs"
12865
      as_dir=`$as_dirname -- "$as_dir" ||
12866
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12867
         X"$as_dir" : 'X\(//\)[^/]' \| \
12868
         X"$as_dir" : 'X\(//\)$' \| \
12869
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12870
$as_echo X"$as_dir" |
12871
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12872
            s//\1/
12873
            q
12874
          }
12875
          /^X\(\/\/\)[^/].*/{
12876
            s//\1/
12877
            q
12878
          }
12879
          /^X\(\/\/\)$/{
12880
            s//\1/
12881
            q
12882
          }
12883
          /^X\(\/\).*/{
12884
            s//\1/
12885
            q
12886
          }
12887
          s/.*/./; q'`
12888
      test -d "$as_dir" && break
12889
    done
12890
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12891
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
12892
 
12893
 
12894
} # as_fn_mkdir_p
12895 131 jeremybenn
if mkdir -p . 2>/dev/null; then
12896 225 jeremybenn
  as_mkdir_p='mkdir -p "$as_dir"'
12897 131 jeremybenn
else
12898
  test -d ./-p && rmdir ./-p
12899
  as_mkdir_p=false
12900
fi
12901
 
12902 225 jeremybenn
if test -x / >/dev/null 2>&1; then
12903
  as_test_x='test -x'
12904
else
12905
  if ls -dL / >/dev/null 2>&1; then
12906
    as_ls_L_option=L
12907
  else
12908
    as_ls_L_option=
12909
  fi
12910
  as_test_x='
12911
    eval sh -c '\''
12912
      if test -d "$1"; then
12913
        test -d "$1/.";
12914
      else
12915
        case $1 in #(
12916
        -*)set "./$1";;
12917
        esac;
12918
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12919
        ???[sx]*):;;*)false;;esac;fi
12920
    '\'' sh
12921
  '
12922
fi
12923
as_executable_p=$as_test_x
12924 131 jeremybenn
 
12925
# Sed expression to map a string onto a valid CPP name.
12926
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12927
 
12928
# Sed expression to map a string onto a valid variable name.
12929
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12930
 
12931
 
12932
exec 6>&1
12933 225 jeremybenn
## ----------------------------------- ##
12934
## Main body of $CONFIG_STATUS script. ##
12935
## ----------------------------------- ##
12936
_ASEOF
12937
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12938 131 jeremybenn
 
12939 225 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12940
# Save the log message, to keep $0 and so on meaningful, and to
12941 131 jeremybenn
# report actual input values of CONFIG_FILES etc. instead of their
12942 225 jeremybenn
# values after options handling.
12943
ac_log="
12944 131 jeremybenn
This file was extended by $as_me, which was
12945 225 jeremybenn
generated by GNU Autoconf 2.64.  Invocation command line was
12946 131 jeremybenn
 
12947
  CONFIG_FILES    = $CONFIG_FILES
12948
  CONFIG_HEADERS  = $CONFIG_HEADERS
12949
  CONFIG_LINKS    = $CONFIG_LINKS
12950
  CONFIG_COMMANDS = $CONFIG_COMMANDS
12951
  $ $0 $@
12952
 
12953 225 jeremybenn
on `(hostname || uname -n) 2>/dev/null | sed 1q`
12954
"
12955
 
12956 131 jeremybenn
_ACEOF
12957
 
12958 225 jeremybenn
case $ac_config_files in *"
12959
"*) set x $ac_config_files; shift; ac_config_files=$*;;
12960
esac
12961 131 jeremybenn
 
12962 225 jeremybenn
case $ac_config_headers in *"
12963
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12964
esac
12965 131 jeremybenn
 
12966
 
12967 225 jeremybenn
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12968
# Files that config.status was made for.
12969
config_files="$ac_config_files"
12970
config_headers="$ac_config_headers"
12971
config_commands="$ac_config_commands"
12972 131 jeremybenn
 
12973 225 jeremybenn
_ACEOF
12974 131 jeremybenn
 
12975 225 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12976 131 jeremybenn
ac_cs_usage="\
12977 225 jeremybenn
\`$as_me' instantiates files and other configuration actions
12978
from templates according to the current configuration.  Unless the files
12979
and actions are specified as TAGs, all are instantiated by default.
12980 131 jeremybenn
 
12981 225 jeremybenn
Usage: $0 [OPTION]... [TAG]...
12982 131 jeremybenn
 
12983
  -h, --help       print this help, then exit
12984 225 jeremybenn
  -V, --version    print version number and configuration settings, then exit
12985
  -q, --quiet, --silent
12986
                   do not print progress messages
12987 131 jeremybenn
  -d, --debug      don't remove temporary files
12988
      --recheck    update $as_me by reconfiguring in the same conditions
12989 225 jeremybenn
      --file=FILE[:TEMPLATE]
12990
                   instantiate the configuration file FILE
12991
      --header=FILE[:TEMPLATE]
12992
                   instantiate the configuration header FILE
12993 131 jeremybenn
 
12994
Configuration files:
12995
$config_files
12996
 
12997
Configuration headers:
12998
$config_headers
12999
 
13000
Configuration commands:
13001
$config_commands
13002
 
13003 225 jeremybenn
Report bugs to the package provider."
13004
 
13005 131 jeremybenn
_ACEOF
13006 225 jeremybenn
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13007 131 jeremybenn
ac_cs_version="\\
13008
config.status
13009 225 jeremybenn
configured by $0, generated by GNU Autoconf 2.64,
13010
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13011 131 jeremybenn
 
13012 225 jeremybenn
Copyright (C) 2009 Free Software Foundation, Inc.
13013 131 jeremybenn
This config.status script is free software; the Free Software Foundation
13014
gives unlimited permission to copy, distribute and modify it."
13015 225 jeremybenn
 
13016
ac_pwd='$ac_pwd'
13017
srcdir='$srcdir'
13018
INSTALL='$INSTALL'
13019
MKDIR_P='$MKDIR_P'
13020
AWK='$AWK'
13021
test -n "\$AWK" || AWK=awk
13022 131 jeremybenn
_ACEOF
13023
 
13024 225 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13025
# The default lists apply if the user does not specify any file.
13026 131 jeremybenn
ac_need_defaults=:
13027
while test $# != 0
13028
do
13029
  case $1 in
13030
  --*=*)
13031 225 jeremybenn
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13032
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13033 131 jeremybenn
    ac_shift=:
13034
    ;;
13035 225 jeremybenn
  *)
13036 131 jeremybenn
    ac_option=$1
13037
    ac_optarg=$2
13038
    ac_shift=shift
13039
    ;;
13040
  esac
13041
 
13042
  case $ac_option in
13043
  # Handling of the options.
13044
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13045
    ac_cs_recheck=: ;;
13046 225 jeremybenn
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13047
    $as_echo "$ac_cs_version"; exit ;;
13048
  --debug | --debu | --deb | --de | --d | -d )
13049 131 jeremybenn
    debug=: ;;
13050
  --file | --fil | --fi | --f )
13051
    $ac_shift
13052 225 jeremybenn
    case $ac_optarg in
13053
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13054
    esac
13055
    as_fn_append CONFIG_FILES " '$ac_optarg'"
13056 131 jeremybenn
    ac_need_defaults=false;;
13057
  --header | --heade | --head | --hea )
13058
    $ac_shift
13059 225 jeremybenn
    case $ac_optarg in
13060
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13061
    esac
13062
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13063 131 jeremybenn
    ac_need_defaults=false;;
13064 225 jeremybenn
  --he | --h)
13065
    # Conflict between --help and --header
13066
    as_fn_error "ambiguous option: \`$1'
13067
Try \`$0 --help' for more information.";;
13068
  --help | --hel | -h )
13069
    $as_echo "$ac_cs_usage"; exit ;;
13070 131 jeremybenn
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13071
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13072
    ac_cs_silent=: ;;
13073
 
13074
  # This is an error.
13075 225 jeremybenn
  -*) as_fn_error "unrecognized option: \`$1'
13076
Try \`$0 --help' for more information." ;;
13077 131 jeremybenn
 
13078 225 jeremybenn
  *) as_fn_append ac_config_targets " $1"
13079
     ac_need_defaults=false ;;
13080 131 jeremybenn
 
13081
  esac
13082
  shift
13083
done
13084
 
13085
ac_configure_extra_args=
13086
 
13087
if $ac_cs_silent; then
13088
  exec 6>/dev/null
13089
  ac_configure_extra_args="$ac_configure_extra_args --silent"
13090
fi
13091
 
13092
_ACEOF
13093 225 jeremybenn
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13094 131 jeremybenn
if \$ac_cs_recheck; then
13095 225 jeremybenn
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13096
  shift
13097
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13098
  CONFIG_SHELL='$SHELL'
13099
  export CONFIG_SHELL
13100
  exec "\$@"
13101 131 jeremybenn
fi
13102
 
13103
_ACEOF
13104 225 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13105
exec 5>>config.log
13106
{
13107
  echo
13108
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13109
## Running $as_me. ##
13110
_ASBOX
13111
  $as_echo "$ac_log"
13112
} >&5
13113 131 jeremybenn
 
13114 225 jeremybenn
_ACEOF
13115
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13116 131 jeremybenn
#
13117 225 jeremybenn
# INIT-COMMANDS
13118 131 jeremybenn
#
13119
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13120
 
13121
 
13122
# The HP-UX ksh and POSIX shell print the target directory to stdout
13123
# if CDPATH is set.
13124
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13125
 
13126
sed_quote_subst='$sed_quote_subst'
13127
double_quote_subst='$double_quote_subst'
13128
delay_variable_subst='$delay_variable_subst'
13129
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13130
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13131
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13132
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13133
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13134
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13135
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13136
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13137
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13138
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13139
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13140
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13141
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13142
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13143
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13144
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13145
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13146
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13147
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13148
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13149
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13150
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13151
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13152
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13153
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13154
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13155
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13156
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13157 225 jeremybenn
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13158 131 jeremybenn
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13159
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13160
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13161
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13162
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13163
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13164
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13165
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13166
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13167
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13168
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13169
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13170
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13171
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13172
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13173
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"`'
13174 225 jeremybenn
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"`'
13175 131 jeremybenn
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13176
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13177
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13178
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13179
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13180
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13181
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13182
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13183
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13184
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13185 225 jeremybenn
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13186
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13187
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13188
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13189
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13190 131 jeremybenn
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13191
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13192
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13193
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13194
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13195
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13196
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13197
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13198
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13199
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13200
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13201
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13202
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13203
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13204
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13205
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13206
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13207
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13208
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13209
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13210
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13211
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13212
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13213
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13214
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13215
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13216
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13217
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13218
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13219
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13220
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13221
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13222
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13223
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13224
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13225
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13226
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13227
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13228
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13229
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13230
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13231
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13232
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13233
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13234
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13235
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13236
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13237
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13238
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13239
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13240
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13241
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13242
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13243
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13244
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13245
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13246
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13247
 
13248
LTCC='$LTCC'
13249
LTCFLAGS='$LTCFLAGS'
13250
compiler='$compiler_DEFAULT'
13251
 
13252
# Quote evaled strings.
13253
for var in SED \
13254
GREP \
13255
EGREP \
13256
FGREP \
13257
LD \
13258
NM \
13259
LN_S \
13260
lt_SP2NL \
13261
lt_NL2SP \
13262
reload_flag \
13263 225 jeremybenn
OBJDUMP \
13264 131 jeremybenn
deplibs_check_method \
13265
file_magic_cmd \
13266
AR \
13267
AR_FLAGS \
13268
STRIP \
13269
RANLIB \
13270
CC \
13271
CFLAGS \
13272
compiler \
13273
lt_cv_sys_global_symbol_pipe \
13274
lt_cv_sys_global_symbol_to_cdecl \
13275
lt_cv_sys_global_symbol_to_c_name_address \
13276 225 jeremybenn
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13277 131 jeremybenn
SHELL \
13278
ECHO \
13279
lt_prog_compiler_no_builtin_flag \
13280
lt_prog_compiler_wl \
13281
lt_prog_compiler_pic \
13282
lt_prog_compiler_static \
13283
lt_cv_prog_compiler_c_o \
13284
need_locks \
13285 225 jeremybenn
DSYMUTIL \
13286
NMEDIT \
13287
LIPO \
13288
OTOOL \
13289
OTOOL64 \
13290 131 jeremybenn
shrext_cmds \
13291
export_dynamic_flag_spec \
13292
whole_archive_flag_spec \
13293
compiler_needs_object \
13294
with_gnu_ld \
13295
allow_undefined_flag \
13296
no_undefined_flag \
13297
hardcode_libdir_flag_spec \
13298
hardcode_libdir_flag_spec_ld \
13299
hardcode_libdir_separator \
13300
fix_srcfile_path \
13301
exclude_expsyms \
13302
include_expsyms \
13303
file_list_spec \
13304
variables_saved_for_relink \
13305
libname_spec \
13306
library_names_spec \
13307
soname_spec \
13308
finish_eval \
13309
old_striplib \
13310
striplib; do
13311
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13312
    *[\\\\\\\`\\"\\\$]*)
13313
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13314
      ;;
13315
    *)
13316
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13317
      ;;
13318
    esac
13319
done
13320
 
13321
# Double-quote double-evaled strings.
13322
for var in reload_cmds \
13323
old_postinstall_cmds \
13324
old_postuninstall_cmds \
13325
old_archive_cmds \
13326
extract_expsyms_cmds \
13327
old_archive_from_new_cmds \
13328
old_archive_from_expsyms_cmds \
13329
archive_cmds \
13330
archive_expsym_cmds \
13331
module_cmds \
13332
module_expsym_cmds \
13333
export_symbols_cmds \
13334
prelink_cmds \
13335
postinstall_cmds \
13336
postuninstall_cmds \
13337
finish_cmds \
13338
sys_lib_search_path_spec \
13339
sys_lib_dlsearch_path_spec; do
13340
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13341
    *[\\\\\\\`\\"\\\$]*)
13342
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13343
      ;;
13344
    *)
13345
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13346
      ;;
13347
    esac
13348
done
13349
 
13350
# Fix-up fallback echo if it was mangled by the above quoting rules.
13351
case \$lt_ECHO in
13352
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13353
  ;;
13354
esac
13355
 
13356
ac_aux_dir='$ac_aux_dir'
13357
xsi_shell='$xsi_shell'
13358
lt_shell_append='$lt_shell_append'
13359
 
13360
# See if we are running on zsh, and set the options which allow our
13361
# commands through without removal of \ escapes INIT.
13362
if test -n "\${ZSH_VERSION+set}" ; then
13363
   setopt NO_GLOB_SUBST
13364
fi
13365
 
13366
 
13367
    PACKAGE='$PACKAGE'
13368
    VERSION='$VERSION'
13369
    TIMESTAMP='$TIMESTAMP'
13370
    RM='$RM'
13371
    ofile='$ofile'
13372
 
13373
 
13374
 
13375
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
13376
    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13377
    # from automake.
13378
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13379
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
13380
    LINGUAS="${LINGUAS-%UNSET%}"
13381
 
13382
 
13383
_ACEOF
13384
 
13385 225 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13386 131 jeremybenn
 
13387 225 jeremybenn
# Handling of arguments.
13388 131 jeremybenn
for ac_config_target in $ac_config_targets
13389
do
13390 225 jeremybenn
  case $ac_config_target in
13391
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13392
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13393
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
13394
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13395
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13396
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13397
 
13398
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13399 131 jeremybenn
  esac
13400
done
13401
 
13402 225 jeremybenn
 
13403 131 jeremybenn
# If the user did not use the arguments to specify the items to instantiate,
13404
# then the envvar interface is used.  Set only those that are not.
13405
# We use the long form for the default assignment because of an extremely
13406
# bizarre bug on SunOS 4.1.3.
13407
if $ac_need_defaults; then
13408
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13409
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13410
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13411
fi
13412
 
13413
# Have a temporary directory for convenience.  Make it in the build tree
13414 225 jeremybenn
# simply because there is no reason against having it here, and in addition,
13415 131 jeremybenn
# creating and moving files from /tmp can sometimes cause problems.
13416 225 jeremybenn
# Hook for its removal unless debugging.
13417
# Note that there is a small window in which the directory will not be cleaned:
13418
# after its creation but before its name has been assigned to `$tmp'.
13419 131 jeremybenn
$debug ||
13420
{
13421 225 jeremybenn
  tmp=
13422
  trap 'exit_status=$?
13423
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13424
' 0
13425
  trap 'as_fn_exit 1' 1 2 13 15
13426 131 jeremybenn
}
13427
# Create a (secure) tmp directory for tmp files.
13428
 
13429
{
13430 225 jeremybenn
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13431 131 jeremybenn
  test -n "$tmp" && test -d "$tmp"
13432
}  ||
13433
{
13434 225 jeremybenn
  tmp=./conf$$-$RANDOM
13435
  (umask 077 && mkdir "$tmp")
13436
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
13437
 
13438
# Set up the scripts for CONFIG_FILES section.
13439
# No need to generate them if there are no CONFIG_FILES.
13440
# This happens for instance with `./config.status config.h'.
13441
if test -n "$CONFIG_FILES"; then
13442
 
13443
 
13444
ac_cr=`echo X | tr X '\015'`
13445
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13446
# But we know of no other shell where ac_cr would be empty at this
13447
# point, so we can use a bashism as a fallback.
13448
if test "x$ac_cr" = x; then
13449
  eval ac_cr=\$\'\\r\'
13450
fi
13451
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
13452
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13453
  ac_cs_awk_cr='\r'
13454
else
13455
  ac_cs_awk_cr=$ac_cr
13456
fi
13457
 
13458
echo 'BEGIN {' >"$tmp/subs1.awk" &&
13459
_ACEOF
13460
 
13461
 
13462 131 jeremybenn
{
13463 225 jeremybenn
  echo "cat >conf$$subs.awk <<_ACEOF" &&
13464
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13465
  echo "_ACEOF"
13466
} >conf$$subs.sh ||
13467
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13468
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13469
ac_delim='%!_!# '
13470
for ac_last_try in false false false false false :; do
13471
  . ./conf$$subs.sh ||
13472
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13473
 
13474
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13475
  if test $ac_delim_n = $ac_delim_num; then
13476
    break
13477
  elif $ac_last_try; then
13478
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13479
  else
13480
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13481
  fi
13482
done
13483
rm -f conf$$subs.sh
13484
 
13485
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13486
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13487
_ACEOF
13488
sed -n '
13489
h
13490
s/^/S["/; s/!.*/"]=/
13491
p
13492
g
13493
s/^[^!]*!//
13494
:repl
13495
t repl
13496
s/'"$ac_delim"'$//
13497
t delim
13498
:nl
13499
h
13500
s/\(.\{148\}\).*/\1/
13501
t more1
13502
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13503
p
13504
n
13505
b repl
13506
:more1
13507
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13508
p
13509
g
13510
s/.\{148\}//
13511
t nl
13512
:delim
13513
h
13514
s/\(.\{148\}\).*/\1/
13515
t more2
13516
s/["\\]/\\&/g; s/^/"/; s/$/"/
13517
p
13518
b
13519
:more2
13520
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13521
p
13522
g
13523
s/.\{148\}//
13524
t delim
13525
' 
13526
/^[^""]/{
13527
  N
13528
  s/\n//
13529 131 jeremybenn
}
13530 225 jeremybenn
' >>$CONFIG_STATUS || ac_write_fail=1
13531
rm -f conf$$subs.awk
13532
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13533
_ACAWK
13534
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13535
  for (key in S) S_is_set[key] = 1
13536
  FS = ""
13537 131 jeremybenn
 
13538 225 jeremybenn
}
13539
{
13540
  line = $ 0
13541
  nfields = split(line, field, "@")
13542
  substed = 0
13543
  len = length(field[1])
13544
  for (i = 2; i < nfields; i++) {
13545
    key = field[i]
13546
    keylen = length(key)
13547
    if (S_is_set[key]) {
13548
      value = S[key]
13549
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13550
      len += length(value) + length(field[++i])
13551
      substed = 1
13552
    } else
13553
      len += 1 + keylen
13554
  }
13555
 
13556
  print line
13557
}
13558
 
13559
_ACAWK
13560 131 jeremybenn
_ACEOF
13561 225 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13562
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13563
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13564
else
13565
  cat
13566
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13567
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
13568
_ACEOF
13569 131 jeremybenn
 
13570 225 jeremybenn
# VPATH may cause trouble with some makes, so we remove $(srcdir),
13571
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13572
# trailing colons and then remove the whole line if VPATH becomes empty
13573
# (actually we leave an empty line to preserve line numbers).
13574
if test "x$srcdir" = x.; then
13575
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13576
s/:*\$(srcdir):*/:/
13577
s/:*\${srcdir}:*/:/
13578
s/:*@srcdir@:*/:/
13579
s/^\([^=]*=[     ]*\):*/\1/
13580
s/:*$//
13581
s/^[^=]*=[       ]*$//
13582
}'
13583
fi
13584 131 jeremybenn
 
13585 225 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13586
fi # test -n "$CONFIG_FILES"
13587 131 jeremybenn
 
13588 225 jeremybenn
# Set up the scripts for CONFIG_HEADERS section.
13589
# No need to generate them if there are no CONFIG_HEADERS.
13590
# This happens for instance with `./config.status Makefile'.
13591
if test -n "$CONFIG_HEADERS"; then
13592
cat >"$tmp/defines.awk" <<\_ACAWK ||
13593
BEGIN {
13594 131 jeremybenn
_ACEOF
13595
 
13596 225 jeremybenn
# Transform confdefs.h into an awk script `defines.awk', embedded as
13597
# here-document in config.status, that substitutes the proper values into
13598
# config.h.in to produce config.h.
13599
 
13600
# Create a delimiter string that does not exist in confdefs.h, to ease
13601
# handling of long lines.
13602
ac_delim='%!_!# '
13603
for ac_last_try in false false :; do
13604
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13605
  if test -z "$ac_t"; then
13606
    break
13607
  elif $ac_last_try; then
13608
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
13609
  else
13610
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13611 131 jeremybenn
  fi
13612 225 jeremybenn
done
13613 131 jeremybenn
 
13614 225 jeremybenn
# For the awk script, D is an array of macro values keyed by name,
13615
# likewise P contains macro parameters if any.  Preserve backslash
13616
# newline sequences.
13617
 
13618
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13619
sed -n '
13620
s/.\{148\}/&'"$ac_delim"'/g
13621
t rset
13622
:rset
13623
s/^[     ]*#[    ]*define[       ][      ]*/ /
13624
t def
13625
d
13626
:def
13627
s/\\$//
13628
t bsnl
13629
s/["\\]/\\&/g
13630
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13631
D["\1"]=" \3"/p
13632
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13633
d
13634
:bsnl
13635
s/["\\]/\\&/g
13636
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13637
D["\1"]=" \3\\\\\\n"\\/p
13638
t cont
13639
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13640
t cont
13641
d
13642
:cont
13643
n
13644
s/.\{148\}/&'"$ac_delim"'/g
13645
t clear
13646
:clear
13647
s/\\$//
13648
t bsnlc
13649
s/["\\]/\\&/g; s/^/"/; s/$/"/p
13650
d
13651
:bsnlc
13652
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13653
b cont
13654
' 
13655
s/'"$ac_delim"'/"\\\
13656
"/g' >>$CONFIG_STATUS || ac_write_fail=1
13657
 
13658
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13659
  for (key in D) D_is_set[key] = 1
13660
  FS = ""
13661
}
13662
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13663
  line = \$ 0
13664
  split(line, arg, " ")
13665
  if (arg[1] == "#") {
13666
    defundef = arg[2]
13667
    mac1 = arg[3]
13668
  } else {
13669
    defundef = substr(arg[1], 2)
13670
    mac1 = arg[2]
13671
  }
13672
  split(mac1, mac2, "(") #)
13673
  macro = mac2[1]
13674
  prefix = substr(line, 1, index(line, defundef) - 1)
13675
  if (D_is_set[macro]) {
13676
    # Preserve the white space surrounding the "#".
13677
    print prefix "define", macro P[macro] D[macro]
13678
    next
13679
  } else {
13680
    # Replace #undef with comments.  This is necessary, for example,
13681
    # in the case of _POSIX_SOURCE, which is predefined and required
13682
    # on some systems where configure will not decide to define it.
13683
    if (defundef == "undef") {
13684
      print "/*", prefix defundef, macro, "*/"
13685
      next
13686
    }
13687
  }
13688
}
13689
{ print }
13690
_ACAWK
13691 131 jeremybenn
_ACEOF
13692 225 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13693
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
13694
fi # test -n "$CONFIG_HEADERS"
13695
 
13696
 
13697
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13698
shift
13699
for ac_tag
13700
do
13701
  case $ac_tag in
13702
  :[FHLC]) ac_mode=$ac_tag; continue;;
13703 131 jeremybenn
  esac
13704 225 jeremybenn
  case $ac_mode$ac_tag in
13705
  :[FHL]*:*);;
13706
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
13707
  :[FH]-) ac_tag=-:-;;
13708
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13709
  esac
13710
  ac_save_IFS=$IFS
13711
  IFS=:
13712
  set x $ac_tag
13713
  IFS=$ac_save_IFS
13714
  shift
13715
  ac_file=$1
13716
  shift
13717 131 jeremybenn
 
13718 225 jeremybenn
  case $ac_mode in
13719
  :L) ac_source=$1;;
13720
  :[FH])
13721
    ac_file_inputs=
13722
    for ac_f
13723
    do
13724
      case $ac_f in
13725
      -) ac_f="$tmp/stdin";;
13726
      *) # Look for the file first in the build tree, then in the source tree
13727
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13728
         # because $ac_f cannot contain `:'.
13729
         test -f "$ac_f" ||
13730
           case $ac_f in
13731
           [\\/$]*) false;;
13732
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13733
           esac ||
13734
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13735
      esac
13736
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13737
      as_fn_append ac_file_inputs " '$ac_f'"
13738
    done
13739
 
13740
    # Let's still pretend it is `configure' which instantiates (i.e., don't
13741
    # use $as_me), people would be surprised to read:
13742
    #    /* config.h.  Generated by config.status.  */
13743
    configure_input='Generated from '`
13744
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13745
        `' by configure.'
13746
    if test x"$ac_file" != x-; then
13747
      configure_input="$ac_file.  $configure_input"
13748
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13749
$as_echo "$as_me: creating $ac_file" >&6;}
13750
    fi
13751
    # Neutralize special characters interpreted by sed in replacement strings.
13752
    case $configure_input in #(
13753
    *\&* | *\|* | *\\* )
13754
       ac_sed_conf_input=`$as_echo "$configure_input" |
13755
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13756
    *) ac_sed_conf_input=$configure_input;;
13757
    esac
13758
 
13759
    case $ac_tag in
13760
    *:-:* | *:-) cat >"$tmp/stdin" \
13761
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
13762
    esac
13763
    ;;
13764
  esac
13765
 
13766
  ac_dir=`$as_dirname -- "$ac_file" ||
13767 131 jeremybenn
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13768
         X"$ac_file" : 'X\(//\)[^/]' \| \
13769
         X"$ac_file" : 'X\(//\)$' \| \
13770 225 jeremybenn
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13771
$as_echo X"$ac_file" |
13772
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13773
            s//\1/
13774
            q
13775
          }
13776
          /^X\(\/\/\)[^/].*/{
13777
            s//\1/
13778
            q
13779
          }
13780
          /^X\(\/\/\)$/{
13781
            s//\1/
13782
            q
13783
          }
13784
          /^X\(\/\).*/{
13785
            s//\1/
13786
            q
13787
          }
13788
          s/.*/./; q'`
13789
  as_dir="$ac_dir"; as_fn_mkdir_p
13790 131 jeremybenn
  ac_builddir=.
13791
 
13792 225 jeremybenn
case "$ac_dir" in
13793
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13794
*)
13795
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13796
  # A ".." for each directory in $ac_dir_suffix.
13797
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13798
  case $ac_top_builddir_sub in
13799
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13800
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13801
  esac ;;
13802
esac
13803
ac_abs_top_builddir=$ac_pwd
13804
ac_abs_builddir=$ac_pwd$ac_dir_suffix
13805
# for backward compatibility:
13806
ac_top_builddir=$ac_top_build_prefix
13807 131 jeremybenn
 
13808
case $srcdir in
13809 225 jeremybenn
  .)  # We are building in place.
13810 131 jeremybenn
    ac_srcdir=.
13811 225 jeremybenn
    ac_top_srcdir=$ac_top_builddir_sub
13812
    ac_abs_top_srcdir=$ac_pwd ;;
13813
  [\\/]* | ?:[\\/]* )  # Absolute name.
13814 131 jeremybenn
    ac_srcdir=$srcdir$ac_dir_suffix;
13815 225 jeremybenn
    ac_top_srcdir=$srcdir
13816
    ac_abs_top_srcdir=$srcdir ;;
13817
  *) # Relative name.
13818
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13819
    ac_top_srcdir=$ac_top_build_prefix$srcdir
13820
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13821 131 jeremybenn
esac
13822 225 jeremybenn
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13823 131 jeremybenn
 
13824
 
13825 225 jeremybenn
  case $ac_mode in
13826
  :F)
13827
  #
13828
  # CONFIG_FILE
13829
  #
13830 131 jeremybenn
 
13831
  case $INSTALL in
13832
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13833 225 jeremybenn
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13834 131 jeremybenn
  esac
13835 225 jeremybenn
  ac_MKDIR_P=$MKDIR_P
13836
  case $MKDIR_P in
13837
  [\\/$]* | ?:[\\/]* ) ;;
13838
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13839
  esac
13840
_ACEOF
13841 131 jeremybenn
 
13842 225 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13843
# If the template does not know about datarootdir, expand it.
13844
# FIXME: This hack should be removed a few years after 2.60.
13845
ac_datarootdir_hack=; ac_datarootdir_seen=
13846
ac_sed_dataroot='
13847
/datarootdir/ {
13848
  p
13849
  q
13850
}
13851
/@datadir@/p
13852
/@docdir@/p
13853
/@infodir@/p
13854
/@localedir@/p
13855
/@mandir@/p'
13856
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13857
*datarootdir*) ac_datarootdir_seen=yes;;
13858
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13859
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13860
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13861
_ACEOF
13862
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13863
  ac_datarootdir_hack='
13864
  s&@datadir@&$datadir&g
13865
  s&@docdir@&$docdir&g
13866
  s&@infodir@&$infodir&g
13867
  s&@localedir@&$localedir&g
13868
  s&@mandir@&$mandir&g
13869
  s&\\\${datarootdir}&$datarootdir&g' ;;
13870
esac
13871
_ACEOF
13872 131 jeremybenn
 
13873 225 jeremybenn
# Neutralize VPATH when `$srcdir' = `.'.
13874
# Shell code in configure.ac might set extrasub.
13875
# FIXME: do we really want to maintain this feature?
13876
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13877
ac_sed_extra="$ac_vpsub
13878 131 jeremybenn
$extrasub
13879
_ACEOF
13880 225 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13881 131 jeremybenn
:t
13882
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13883 225 jeremybenn
s|@configure_input@|$ac_sed_conf_input|;t t
13884
s&@top_builddir@&$ac_top_builddir_sub&;t t
13885
s&@top_build_prefix@&$ac_top_build_prefix&;t t
13886
s&@srcdir@&$ac_srcdir&;t t
13887
s&@abs_srcdir@&$ac_abs_srcdir&;t t
13888
s&@top_srcdir@&$ac_top_srcdir&;t t
13889
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13890
s&@builddir@&$ac_builddir&;t t
13891
s&@abs_builddir@&$ac_abs_builddir&;t t
13892
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13893
s&@INSTALL@&$ac_INSTALL&;t t
13894
s&@MKDIR_P@&$ac_MKDIR_P&;t t
13895
$ac_datarootdir_hack
13896
"
13897
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13898
  || as_fn_error "could not create $ac_file" "$LINENO" 5
13899 131 jeremybenn
 
13900 225 jeremybenn
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13901
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13902
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13903
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13904
which seems to be undefined.  Please make sure it is defined." >&5
13905
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13906
which seems to be undefined.  Please make sure it is defined." >&2;}
13907 131 jeremybenn
 
13908 225 jeremybenn
  rm -f "$tmp/stdin"
13909 131 jeremybenn
  case $ac_file in
13910 225 jeremybenn
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13911
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13912
  esac \
13913
  || as_fn_error "could not create $ac_file" "$LINENO" 5
13914
 ;;
13915
  :H)
13916
  #
13917
  # CONFIG_HEADER
13918
  #
13919 131 jeremybenn
  if test x"$ac_file" != x-; then
13920 225 jeremybenn
    {
13921
      $as_echo "/* $configure_input  */" \
13922
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13923
    } >"$tmp/config.h" \
13924
      || as_fn_error "could not create $ac_file" "$LINENO" 5
13925
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13926
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13927
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13928 131 jeremybenn
    else
13929 225 jeremybenn
      rm -f "$ac_file"
13930
      mv "$tmp/config.h" "$ac_file" \
13931
        || as_fn_error "could not create $ac_file" "$LINENO" 5
13932 131 jeremybenn
    fi
13933
  else
13934 225 jeremybenn
    $as_echo "/* $configure_input  */" \
13935
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13936
      || as_fn_error "could not create -" "$LINENO" 5
13937 131 jeremybenn
  fi
13938 225 jeremybenn
# Compute "$ac_file"'s index in $config_headers.
13939
_am_arg="$ac_file"
13940 131 jeremybenn
_am_stamp_count=1
13941
for _am_header in $config_headers :; do
13942
  case $_am_header in
13943 225 jeremybenn
    $_am_arg | $_am_arg:* )
13944 131 jeremybenn
      break ;;
13945
    * )
13946
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13947
  esac
13948
done
13949 225 jeremybenn
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13950
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13951
         X"$_am_arg" : 'X\(//\)[^/]' \| \
13952
         X"$_am_arg" : 'X\(//\)$' \| \
13953
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13954
$as_echo X"$_am_arg" |
13955
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13956
            s//\1/
13957
            q
13958
          }
13959
          /^X\(\/\/\)[^/].*/{
13960
            s//\1/
13961
            q
13962
          }
13963
          /^X\(\/\/\)$/{
13964
            s//\1/
13965
            q
13966
          }
13967
          /^X\(\/\).*/{
13968
            s//\1/
13969
            q
13970
          }
13971
          s/.*/./; q'`/stamp-h$_am_stamp_count
13972
 ;;
13973 131 jeremybenn
 
13974 225 jeremybenn
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13975
$as_echo "$as_me: executing $ac_file commands" >&6;}
13976
 ;;
13977
  esac
13978 131 jeremybenn
 
13979
 
13980 225 jeremybenn
  case $ac_file$ac_mode in
13981
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13982
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
13983
  # are listed without --file.  Let's play safe and only enable the eval
13984
  # if we detect the quoting.
13985
  case $CONFIG_FILES in
13986
  *\'*) eval set x "$CONFIG_FILES" ;;
13987
  *)   set x $CONFIG_FILES ;;
13988
  esac
13989
  shift
13990
  for mf
13991
  do
13992
    # Strip MF so we end up with the name of the file.
13993
    mf=`echo "$mf" | sed -e 's/:.*$//'`
13994
    # Check whether this is an Automake generated Makefile or not.
13995
    # We used to match only the files named `Makefile.in', but
13996
    # some people rename them; so instead we look at the file content.
13997
    # Grep'ing the first line is not enough: some people post-process
13998
    # each Makefile.in and add a new line on top of each file to say so.
13999
    # Grep'ing the whole file is not good either: AIX grep has a line
14000
    # limit of 2048, but all sed's we know have understand at least 4000.
14001
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14002
      dirpart=`$as_dirname -- "$mf" ||
14003 131 jeremybenn
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14004
         X"$mf" : 'X\(//\)[^/]' \| \
14005
         X"$mf" : 'X\(//\)$' \| \
14006 225 jeremybenn
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14007
$as_echo X"$mf" |
14008
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14009
            s//\1/
14010
            q
14011
          }
14012
          /^X\(\/\/\)[^/].*/{
14013
            s//\1/
14014
            q
14015
          }
14016
          /^X\(\/\/\)$/{
14017
            s//\1/
14018
            q
14019
          }
14020
          /^X\(\/\).*/{
14021
            s//\1/
14022
            q
14023
          }
14024
          s/.*/./; q'`
14025
    else
14026
      continue
14027
    fi
14028
    # Extract the definition of DEPDIR, am__include, and am__quote
14029
    # from the Makefile without running `make'.
14030
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14031
    test -z "$DEPDIR" && continue
14032
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14033
    test -z "am__include" && continue
14034
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14035
    # When using ansi2knr, U may be empty or an underscore; expand it
14036
    U=`sed -n 's/^U = //p' < "$mf"`
14037
    # Find all dependency output files, they are included files with
14038
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14039
    # simplest approach to changing $(DEPDIR) to its actual value in the
14040
    # expansion.
14041
    for file in `sed -n "
14042
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14043
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14044
      # Make sure the directory exists.
14045
      test -f "$dirpart/$file" && continue
14046
      fdir=`$as_dirname -- "$file" ||
14047 131 jeremybenn
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14048
         X"$file" : 'X\(//\)[^/]' \| \
14049
         X"$file" : 'X\(//\)$' \| \
14050 225 jeremybenn
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14051
$as_echo X"$file" |
14052
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14053
            s//\1/
14054
            q
14055
          }
14056
          /^X\(\/\/\)[^/].*/{
14057
            s//\1/
14058
            q
14059
          }
14060
          /^X\(\/\/\)$/{
14061
            s//\1/
14062
            q
14063
          }
14064
          /^X\(\/\).*/{
14065
            s//\1/
14066
            q
14067
          }
14068
          s/.*/./; q'`
14069
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14070
      # echo "creating $dirpart/$file"
14071
      echo '# dummy' > "$dirpart/$file"
14072 131 jeremybenn
    done
14073
  done
14074 225 jeremybenn
}
14075 131 jeremybenn
 ;;
14076 225 jeremybenn
    "libtool":C)
14077 131 jeremybenn
 
14078
    # See if we are running on zsh, and set the options which allow our
14079
    # commands through without removal of \ escapes.
14080
    if test -n "${ZSH_VERSION+set}" ; then
14081
      setopt NO_GLOB_SUBST
14082
    fi
14083
 
14084
    cfgfile="${ofile}T"
14085
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14086
    $RM "$cfgfile"
14087
 
14088
    cat <<_LT_EOF >> "$cfgfile"
14089
#! $SHELL
14090
 
14091
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14092 225 jeremybenn
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14093 131 jeremybenn
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14094
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14095
#
14096 225 jeremybenn
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14097
#                 2006, 2007, 2008 Free Software Foundation, Inc.
14098
#   Written by Gordon Matzigkeit, 1996
14099 131 jeremybenn
#
14100 225 jeremybenn
#   This file is part of GNU Libtool.
14101 131 jeremybenn
#
14102 225 jeremybenn
# GNU Libtool is free software; you can redistribute it and/or
14103
# modify it under the terms of the GNU General Public License as
14104
# published by the Free Software Foundation; either version 2 of
14105
# the License, or (at your option) any later version.
14106 131 jeremybenn
#
14107 225 jeremybenn
# As a special exception to the GNU General Public License,
14108
# if you distribute this file as part of a program or library that
14109
# is built using GNU Libtool, you may include this file under the
14110
# same distribution terms that you use for the rest of that program.
14111 131 jeremybenn
#
14112 225 jeremybenn
# GNU Libtool is distributed in the hope that it will be useful,
14113
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14114
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14115
# GNU General Public License for more details.
14116
#
14117 131 jeremybenn
# You should have received a copy of the GNU General Public License
14118 225 jeremybenn
# along with GNU Libtool; see the file COPYING.  If not, a copy
14119
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14120
# obtained by writing to the Free Software Foundation, Inc.,
14121
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14122 131 jeremybenn
 
14123
 
14124
# The names of the tagged configurations supported by this script.
14125
available_tags=""
14126
 
14127
# ### BEGIN LIBTOOL CONFIG
14128
 
14129
# Whether or not to build shared libraries.
14130
build_libtool_libs=$enable_shared
14131
 
14132
# Which release of libtool.m4 was used?
14133
macro_version=$macro_version
14134
macro_revision=$macro_revision
14135
 
14136
# Whether or not to build static libraries.
14137
build_old_libs=$enable_static
14138
 
14139
# What type of objects to build.
14140
pic_mode=$pic_mode
14141
 
14142
# Whether or not to optimize for fast installation.
14143
fast_install=$enable_fast_install
14144
 
14145
# The host system.
14146
host_alias=$host_alias
14147
host=$host
14148
host_os=$host_os
14149
 
14150
# The build system.
14151
build_alias=$build_alias
14152
build=$build
14153
build_os=$build_os
14154
 
14155
# A sed program that does not truncate output.
14156
SED=$lt_SED
14157
 
14158
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14159
Xsed="\$SED -e 1s/^X//"
14160
 
14161
# A grep program that handles long lines.
14162
GREP=$lt_GREP
14163
 
14164
# An ERE matcher.
14165
EGREP=$lt_EGREP
14166
 
14167
# A literal string matcher.
14168
FGREP=$lt_FGREP
14169
 
14170
# A BSD- or MS-compatible name lister.
14171
NM=$lt_NM
14172
 
14173
# Whether we need soft or hard links.
14174
LN_S=$lt_LN_S
14175
 
14176
# What is the maximum length of a command?
14177
max_cmd_len=$max_cmd_len
14178
 
14179
# Object file suffix (normally "o").
14180
objext=$ac_objext
14181
 
14182
# Executable file suffix (normally "").
14183
exeext=$exeext
14184
 
14185
# whether the shell understands "unset".
14186
lt_unset=$lt_unset
14187
 
14188
# turn spaces into newlines.
14189
SP2NL=$lt_lt_SP2NL
14190
 
14191
# turn newlines into spaces.
14192
NL2SP=$lt_lt_NL2SP
14193
 
14194
# How to create reloadable object files.
14195
reload_flag=$lt_reload_flag
14196
reload_cmds=$lt_reload_cmds
14197
 
14198 225 jeremybenn
# An object symbol dumper.
14199
OBJDUMP=$lt_OBJDUMP
14200
 
14201 131 jeremybenn
# Method to check whether dependent libraries are shared objects.
14202
deplibs_check_method=$lt_deplibs_check_method
14203
 
14204
# Command to use when deplibs_check_method == "file_magic".
14205
file_magic_cmd=$lt_file_magic_cmd
14206
 
14207
# The archiver.
14208
AR=$lt_AR
14209
AR_FLAGS=$lt_AR_FLAGS
14210
 
14211
# A symbol stripping program.
14212
STRIP=$lt_STRIP
14213
 
14214
# Commands used to install an old-style archive.
14215
RANLIB=$lt_RANLIB
14216
old_postinstall_cmds=$lt_old_postinstall_cmds
14217
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14218
 
14219
# A C compiler.
14220
LTCC=$lt_CC
14221
 
14222
# LTCC compiler flags.
14223
LTCFLAGS=$lt_CFLAGS
14224
 
14225
# Take the output of nm and produce a listing of raw symbols and C names.
14226
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14227
 
14228
# Transform the output of nm in a proper C declaration.
14229
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14230
 
14231
# Transform the output of nm in a C name address pair.
14232
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14233
 
14234 225 jeremybenn
# Transform the output of nm in a C name address pair when lib prefix is needed.
14235
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14236
 
14237 131 jeremybenn
# The name of the directory that contains temporary libtool files.
14238
objdir=$objdir
14239
 
14240
# Shell to use when invoking shell scripts.
14241
SHELL=$lt_SHELL
14242
 
14243
# An echo program that does not interpret backslashes.
14244
ECHO=$lt_ECHO
14245
 
14246
# Used to examine libraries when file_magic_cmd begins with "file".
14247
MAGIC_CMD=$MAGIC_CMD
14248
 
14249
# Must we lock files when doing compilation?
14250
need_locks=$lt_need_locks
14251
 
14252 225 jeremybenn
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14253
DSYMUTIL=$lt_DSYMUTIL
14254
 
14255
# Tool to change global to local symbols on Mac OS X.
14256
NMEDIT=$lt_NMEDIT
14257
 
14258
# Tool to manipulate fat objects and archives on Mac OS X.
14259
LIPO=$lt_LIPO
14260
 
14261
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14262
OTOOL=$lt_OTOOL
14263
 
14264
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14265
OTOOL64=$lt_OTOOL64
14266
 
14267 131 jeremybenn
# Old archive suffix (normally "a").
14268
libext=$libext
14269
 
14270
# Shared library suffix (normally ".so").
14271
shrext_cmds=$lt_shrext_cmds
14272
 
14273
# The commands to extract the exported symbol list from a shared archive.
14274
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14275
 
14276
# Variables whose values should be saved in libtool wrapper scripts and
14277
# restored at link time.
14278
variables_saved_for_relink=$lt_variables_saved_for_relink
14279
 
14280
# Do we need the "lib" prefix for modules?
14281
need_lib_prefix=$need_lib_prefix
14282
 
14283
# Do we need a version for libraries?
14284
need_version=$need_version
14285
 
14286
# Library versioning type.
14287
version_type=$version_type
14288
 
14289
# Shared library runtime path variable.
14290
runpath_var=$runpath_var
14291
 
14292
# Shared library path variable.
14293
shlibpath_var=$shlibpath_var
14294
 
14295
# Is shlibpath searched before the hard-coded library search path?
14296
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14297
 
14298
# Format of library name prefix.
14299
libname_spec=$lt_libname_spec
14300
 
14301
# List of archive names.  First name is the real one, the rest are links.
14302
# The last name is the one that the linker finds with -lNAME
14303
library_names_spec=$lt_library_names_spec
14304
 
14305
# The coded name of the library, if different from the real name.
14306
soname_spec=$lt_soname_spec
14307
 
14308
# Command to use after installation of a shared archive.
14309
postinstall_cmds=$lt_postinstall_cmds
14310
 
14311
# Command to use after uninstallation of a shared archive.
14312
postuninstall_cmds=$lt_postuninstall_cmds
14313
 
14314
# Commands used to finish a libtool library installation in a directory.
14315
finish_cmds=$lt_finish_cmds
14316
 
14317
# As "finish_cmds", except a single script fragment to be evaled but
14318
# not shown.
14319
finish_eval=$lt_finish_eval
14320
 
14321
# Whether we should hardcode library paths into libraries.
14322
hardcode_into_libs=$hardcode_into_libs
14323
 
14324
# Compile-time system search path for libraries.
14325
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14326
 
14327
# Run-time system search path for libraries.
14328
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14329
 
14330
# Whether dlopen is supported.
14331
dlopen_support=$enable_dlopen
14332
 
14333
# Whether dlopen of programs is supported.
14334
dlopen_self=$enable_dlopen_self
14335
 
14336
# Whether dlopen of statically linked programs is supported.
14337
dlopen_self_static=$enable_dlopen_self_static
14338
 
14339
# Commands to strip libraries.
14340
old_striplib=$lt_old_striplib
14341
striplib=$lt_striplib
14342
 
14343
 
14344
# The linker used to build libraries.
14345
LD=$lt_LD
14346
 
14347
# Commands used to build an old-style archive.
14348
old_archive_cmds=$lt_old_archive_cmds
14349
 
14350
# A language specific compiler.
14351
CC=$lt_compiler
14352
 
14353
# Is the compiler the GNU compiler?
14354
with_gcc=$GCC
14355
 
14356
# Compiler flag to turn off builtin functions.
14357
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14358
 
14359
# How to pass a linker flag through the compiler.
14360
wl=$lt_lt_prog_compiler_wl
14361
 
14362
# Additional compiler flags for building library objects.
14363
pic_flag=$lt_lt_prog_compiler_pic
14364
 
14365
# Compiler flag to prevent dynamic linking.
14366
link_static_flag=$lt_lt_prog_compiler_static
14367
 
14368
# Does compiler simultaneously support -c and -o options?
14369
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14370
 
14371
# Whether or not to add -lc for building shared libraries.
14372
build_libtool_need_lc=$archive_cmds_need_lc
14373
 
14374
# Whether or not to disallow shared libs when runtime libs are static.
14375
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14376
 
14377
# Compiler flag to allow reflexive dlopens.
14378
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14379
 
14380
# Compiler flag to generate shared objects directly from archives.
14381
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14382
 
14383
# Whether the compiler copes with passing no objects directly.
14384
compiler_needs_object=$lt_compiler_needs_object
14385
 
14386
# Create an old-style archive from a shared archive.
14387
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14388
 
14389
# Create a temporary old-style archive to link instead of a shared archive.
14390
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14391
 
14392
# Commands used to build a shared archive.
14393
archive_cmds=$lt_archive_cmds
14394
archive_expsym_cmds=$lt_archive_expsym_cmds
14395
 
14396
# Commands used to build a loadable module if different from building
14397
# a shared archive.
14398
module_cmds=$lt_module_cmds
14399
module_expsym_cmds=$lt_module_expsym_cmds
14400
 
14401
# Whether we are building with GNU ld or not.
14402
with_gnu_ld=$lt_with_gnu_ld
14403
 
14404
# Flag that allows shared libraries with undefined symbols to be built.
14405
allow_undefined_flag=$lt_allow_undefined_flag
14406
 
14407
# Flag that enforces no undefined symbols.
14408
no_undefined_flag=$lt_no_undefined_flag
14409
 
14410
# Flag to hardcode \$libdir into a binary during linking.
14411
# This must work even if \$libdir does not exist
14412
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14413
 
14414
# If ld is used when linking, flag to hardcode \$libdir into a binary
14415
# during linking.  This must work even if \$libdir does not exist.
14416
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14417
 
14418
# Whether we need a single "-rpath" flag with a separated argument.
14419
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14420
 
14421
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14422
# DIR into the resulting binary.
14423
hardcode_direct=$hardcode_direct
14424
 
14425
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14426
# DIR into the resulting binary and the resulting library dependency is
14427
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14428
# library is relocated.
14429
hardcode_direct_absolute=$hardcode_direct_absolute
14430
 
14431
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14432
# into the resulting binary.
14433
hardcode_minus_L=$hardcode_minus_L
14434
 
14435
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14436
# into the resulting binary.
14437
hardcode_shlibpath_var=$hardcode_shlibpath_var
14438
 
14439
# Set to "yes" if building a shared library automatically hardcodes DIR
14440
# into the library and all subsequent libraries and executables linked
14441
# against it.
14442
hardcode_automatic=$hardcode_automatic
14443
 
14444
# Set to yes if linker adds runtime paths of dependent libraries
14445
# to runtime path list.
14446
inherit_rpath=$inherit_rpath
14447
 
14448
# Whether libtool must link a program against all its dependency libraries.
14449
link_all_deplibs=$link_all_deplibs
14450
 
14451
# Fix the shell variable \$srcfile for the compiler.
14452
fix_srcfile_path=$lt_fix_srcfile_path
14453
 
14454
# Set to "yes" if exported symbols are required.
14455
always_export_symbols=$always_export_symbols
14456
 
14457
# The commands to list exported symbols.
14458
export_symbols_cmds=$lt_export_symbols_cmds
14459
 
14460
# Symbols that should not be listed in the preloaded symbols.
14461
exclude_expsyms=$lt_exclude_expsyms
14462
 
14463
# Symbols that must always be exported.
14464
include_expsyms=$lt_include_expsyms
14465
 
14466
# Commands necessary for linking programs (against libraries) with templates.
14467
prelink_cmds=$lt_prelink_cmds
14468
 
14469
# Specify filename containing input files.
14470
file_list_spec=$lt_file_list_spec
14471
 
14472
# How to hardcode a shared library path into an executable.
14473
hardcode_action=$hardcode_action
14474
 
14475
# ### END LIBTOOL CONFIG
14476
 
14477
_LT_EOF
14478
 
14479
  case $host_os in
14480
  aix3*)
14481
    cat <<\_LT_EOF >> "$cfgfile"
14482
# AIX sometimes has problems with the GCC collect2 program.  For some
14483
# reason, if we set the COLLECT_NAMES environment variable, the problems
14484
# vanish in a puff of smoke.
14485
if test "X${COLLECT_NAMES+set}" != Xset; then
14486
  COLLECT_NAMES=
14487
  export COLLECT_NAMES
14488
fi
14489
_LT_EOF
14490
    ;;
14491
  esac
14492
 
14493
 
14494
ltmain="$ac_aux_dir/ltmain.sh"
14495
 
14496
 
14497
  # We use sed instead of cat because bash on DJGPP gets confused if
14498
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14499
  # text mode, it properly converts lines to CR/LF.  This bash problem
14500
  # is reportedly fixed, but why not run on old versions too?
14501
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14502
    || (rm -f "$cfgfile"; exit 1)
14503
 
14504
  case $xsi_shell in
14505
  yes)
14506
    cat << \_LT_EOF >> "$cfgfile"
14507 225 jeremybenn
 
14508 131 jeremybenn
# func_dirname file append nondir_replacement
14509
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14510
# otherwise set result to NONDIR_REPLACEMENT.
14511
func_dirname ()
14512
{
14513
  case ${1} in
14514
    */*) func_dirname_result="${1%/*}${2}" ;;
14515
    *  ) func_dirname_result="${3}" ;;
14516
  esac
14517
}
14518
 
14519
# func_basename file
14520
func_basename ()
14521
{
14522
  func_basename_result="${1##*/}"
14523
}
14524
 
14525 225 jeremybenn
# func_dirname_and_basename file append nondir_replacement
14526
# perform func_basename and func_dirname in a single function
14527
# call:
14528
#   dirname:  Compute the dirname of FILE.  If nonempty,
14529
#             add APPEND to the result, otherwise set result
14530
#             to NONDIR_REPLACEMENT.
14531
#             value returned in "$func_dirname_result"
14532
#   basename: Compute filename of FILE.
14533
#             value retuned in "$func_basename_result"
14534
# Implementation must be kept synchronized with func_dirname
14535
# and func_basename. For efficiency, we do not delegate to
14536
# those functions but instead duplicate the functionality here.
14537
func_dirname_and_basename ()
14538
{
14539
  case ${1} in
14540
    */*) func_dirname_result="${1%/*}${2}" ;;
14541
    *  ) func_dirname_result="${3}" ;;
14542
  esac
14543
  func_basename_result="${1##*/}"
14544
}
14545
 
14546 131 jeremybenn
# func_stripname prefix suffix name
14547
# strip PREFIX and SUFFIX off of NAME.
14548
# PREFIX and SUFFIX must not contain globbing or regex special
14549
# characters, hashes, percent signs, but SUFFIX may contain a leading
14550
# dot (in which case that matches only a dot).
14551
func_stripname ()
14552
{
14553
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14554
  # positional parameters, so assign one to ordinary parameter first.
14555
  func_stripname_result=${3}
14556
  func_stripname_result=${func_stripname_result#"${1}"}
14557
  func_stripname_result=${func_stripname_result%"${2}"}
14558
}
14559
 
14560
# func_opt_split
14561
func_opt_split ()
14562
{
14563
  func_opt_split_opt=${1%%=*}
14564
  func_opt_split_arg=${1#*=}
14565
}
14566
 
14567
# func_lo2o object
14568
func_lo2o ()
14569
{
14570
  case ${1} in
14571
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14572
    *)    func_lo2o_result=${1} ;;
14573
  esac
14574
}
14575 225 jeremybenn
 
14576
# func_xform libobj-or-source
14577
func_xform ()
14578
{
14579
  func_xform_result=${1%.*}.lo
14580
}
14581
 
14582
# func_arith arithmetic-term...
14583
func_arith ()
14584
{
14585
  func_arith_result=$(( $* ))
14586
}
14587
 
14588
# func_len string
14589
# STRING may not start with a hyphen.
14590
func_len ()
14591
{
14592
  func_len_result=${#1}
14593
}
14594
 
14595 131 jeremybenn
_LT_EOF
14596
    ;;
14597
  *) # Bourne compatible functions.
14598
    cat << \_LT_EOF >> "$cfgfile"
14599 225 jeremybenn
 
14600 131 jeremybenn
# func_dirname file append nondir_replacement
14601
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14602
# otherwise set result to NONDIR_REPLACEMENT.
14603
func_dirname ()
14604
{
14605
  # Extract subdirectory from the argument.
14606
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14607
  if test "X$func_dirname_result" = "X${1}"; then
14608
    func_dirname_result="${3}"
14609
  else
14610
    func_dirname_result="$func_dirname_result${2}"
14611
  fi
14612
}
14613
 
14614
# func_basename file
14615
func_basename ()
14616
{
14617
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14618
}
14619
 
14620 225 jeremybenn
 
14621 131 jeremybenn
# func_stripname prefix suffix name
14622
# strip PREFIX and SUFFIX off of NAME.
14623
# PREFIX and SUFFIX must not contain globbing or regex special
14624
# characters, hashes, percent signs, but SUFFIX may contain a leading
14625
# dot (in which case that matches only a dot).
14626
# func_strip_suffix prefix name
14627
func_stripname ()
14628
{
14629
  case ${2} in
14630
    .*) func_stripname_result=`$ECHO "X${3}" \
14631
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14632
    *)  func_stripname_result=`$ECHO "X${3}" \
14633
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14634
  esac
14635
}
14636
 
14637
# sed scripts:
14638
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14639
my_sed_long_arg='1s/^-[^=]*=//'
14640
 
14641
# func_opt_split
14642
func_opt_split ()
14643
{
14644
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14645
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14646
}
14647
 
14648
# func_lo2o object
14649
func_lo2o ()
14650
{
14651
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14652
}
14653 225 jeremybenn
 
14654
# func_xform libobj-or-source
14655
func_xform ()
14656
{
14657
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14658
}
14659
 
14660
# func_arith arithmetic-term...
14661
func_arith ()
14662
{
14663
  func_arith_result=`expr "$@"`
14664
}
14665
 
14666
# func_len string
14667
# STRING may not start with a hyphen.
14668
func_len ()
14669
{
14670
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14671
}
14672
 
14673 131 jeremybenn
_LT_EOF
14674
esac
14675
 
14676
case $lt_shell_append in
14677
  yes)
14678
    cat << \_LT_EOF >> "$cfgfile"
14679
 
14680
# func_append var value
14681
# Append VALUE to the end of shell variable VAR.
14682
func_append ()
14683
{
14684
  eval "$1+=\$2"
14685
}
14686
_LT_EOF
14687
    ;;
14688
  *)
14689
    cat << \_LT_EOF >> "$cfgfile"
14690
 
14691
# func_append var value
14692
# Append VALUE to the end of shell variable VAR.
14693
func_append ()
14694
{
14695
  eval "$1=\$$1\$2"
14696
}
14697 225 jeremybenn
 
14698 131 jeremybenn
_LT_EOF
14699
    ;;
14700
  esac
14701
 
14702
 
14703
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14704
    || (rm -f "$cfgfile"; exit 1)
14705
 
14706
  mv -f "$cfgfile" "$ofile" ||
14707
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14708
  chmod +x "$ofile"
14709
 
14710
 ;;
14711 225 jeremybenn
    "default-1":C)
14712 131 jeremybenn
    for ac_file in $CONFIG_FILES; do
14713
      # Support "outfile[:infile[:infile...]]"
14714
      case "$ac_file" in
14715
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
14716
      esac
14717
      # PO directories have a Makefile.in generated from Makefile.in.in.
14718
      case "$ac_file" in */Makefile.in)
14719
        # Adjust a relative srcdir.
14720
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14721
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
14722
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14723
        # In autoconf-2.13 it is called $ac_given_srcdir.
14724
        # In autoconf-2.50 it is called $srcdir.
14725
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
14726
        case "$ac_given_srcdir" in
14727
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
14728
          /*) top_srcdir="$ac_given_srcdir" ;;
14729
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
14730
        esac
14731
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14732
          rm -f "$ac_dir/POTFILES"
14733
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
14734
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14735
          POMAKEFILEDEPS="POTFILES.in"
14736
          # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
14737
          # on $ac_dir but don't depend on user-specified configuration
14738
          # parameters.
14739
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14740
            # The LINGUAS file contains the set of available languages.
14741
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
14742
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
14743
            fi
14744
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14745
            # Hide the ALL_LINGUAS assigment from automake.
14746
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14747
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
14748
          else
14749
            # The set of available languages was given in configure.in.
14750
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14751
          fi
14752
          case "$ac_given_srcdir" in
14753
            .) srcdirpre= ;;
14754
            *) srcdirpre='$(srcdir)/' ;;
14755
          esac
14756
          POFILES=
14757
          GMOFILES=
14758
          UPDATEPOFILES=
14759
          DUMMYPOFILES=
14760
          for lang in $ALL_LINGUAS; do
14761
            POFILES="$POFILES $srcdirpre$lang.po"
14762
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
14763
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
14764
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
14765
          done
14766
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
14767
          # environment variable.
14768
          INST_LINGUAS=
14769
          if test -n "$ALL_LINGUAS"; then
14770
            for presentlang in $ALL_LINGUAS; do
14771
              useit=no
14772
              if test "%UNSET%" != "$LINGUAS"; then
14773
                desiredlanguages="$LINGUAS"
14774
              else
14775
                desiredlanguages="$ALL_LINGUAS"
14776
              fi
14777
              for desiredlang in $desiredlanguages; do
14778
                # Use the presentlang catalog if desiredlang is
14779
                #   a. equal to presentlang, or
14780
                #   b. a variant of presentlang (because in this case,
14781
                #      presentlang can be used as a fallback for messages
14782
                #      which are not translated in the desiredlang catalog).
14783
                case "$desiredlang" in
14784
                  "$presentlang"*) useit=yes;;
14785
                esac
14786
              done
14787
              if test $useit = yes; then
14788
                INST_LINGUAS="$INST_LINGUAS $presentlang"
14789
              fi
14790
            done
14791
          fi
14792
          CATALOGS=
14793
          if test -n "$INST_LINGUAS"; then
14794
            for lang in $INST_LINGUAS; do
14795
              CATALOGS="$CATALOGS $lang.gmo"
14796
            done
14797
          fi
14798
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
14799
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
14800
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
14801
            if test -f "$f"; then
14802
              case "$f" in
14803
                *.orig | *.bak | *~) ;;
14804
                *) cat "$f" >> "$ac_dir/Makefile" ;;
14805
              esac
14806
            fi
14807
          done
14808
        fi
14809
        ;;
14810
      esac
14811
    done ;;
14812 225 jeremybenn
 
14813 131 jeremybenn
  esac
14814 225 jeremybenn
done # for ac_tag
14815 131 jeremybenn
 
14816
 
14817 225 jeremybenn
as_fn_exit 0
14818 131 jeremybenn
_ACEOF
14819
ac_clean_files=$ac_clean_files_save
14820
 
14821 225 jeremybenn
test $ac_write_fail = 0 ||
14822
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14823 131 jeremybenn
 
14824 225 jeremybenn
 
14825 131 jeremybenn
# configure is writing to config.log, and then calls config.status.
14826
# config.status does its own redirection, appending to config.log.
14827
# Unfortunately, on DOS this fails, as config.log is still kept open
14828
# by configure, so config.status won't be able to write to it; its
14829
# output is simply discarded.  So we exec the FD to /dev/null,
14830
# effectively closing config.log, so it can be properly (re)opened and
14831
# appended to by config.status.  When coming back to configure, we
14832
# need to make the FD available again.
14833
if test "$no_create" != yes; then
14834
  ac_cs_success=:
14835
  ac_config_status_args=
14836
  test "$silent" = yes &&
14837
    ac_config_status_args="$ac_config_status_args --quiet"
14838
  exec 5>/dev/null
14839
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14840
  exec 5>>config.log
14841
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14842
  # would make configure fail if this is the last instruction.
14843 225 jeremybenn
  $ac_cs_success || as_fn_exit $?
14844 131 jeremybenn
fi
14845 225 jeremybenn
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14846
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14847
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14848
fi
14849 131 jeremybenn
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.