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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [test-code-or1k/] [configure] - Blame information for rev 234

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 90 jeremybenn
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3 234 jeremybenn
# Generated by GNU Autoconf 2.63 for or1ksim-testsuite 2010-08-03.
4 90 jeremybenn
#
5
# Report bugs to .
6
#
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 234 jeremybenn
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 90 jeremybenn
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11 234 jeremybenn
## --------------------- ##
12
## M4sh Initialization.  ##
13
## --------------------- ##
14 90 jeremybenn
 
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17 234 jeremybenn
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 90 jeremybenn
  emulate sh
19
  NULLCMD=:
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
  # is contrary to our usage.  Disable this feature.
22
  alias -g '${1+"$@"}'='"$@"'
23
  setopt NO_GLOB_SUBST
24
else
25 234 jeremybenn
  case `(set -o) 2>/dev/null` in
26
  *posix*) set -o posix ;;
27 90 jeremybenn
esac
28 234 jeremybenn
 
29 90 jeremybenn
fi
30
 
31
 
32 234 jeremybenn
 
33
 
34
# PATH needs CR
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
 
42 90 jeremybenn
as_nl='
43
'
44
export as_nl
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 234 jeremybenn
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 90 jeremybenn
  as_echo='printf %s\n'
51
  as_echo_n='printf %s'
52
else
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
    as_echo_n='/usr/ucb/echo -n'
56
  else
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
    as_echo_n_body='eval
59
      arg=$1;
60 234 jeremybenn
      case $arg in
61 90 jeremybenn
      *"$as_nl"*)
62
        expr "X$arg" : "X\\(.*\\)$as_nl";
63
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
      esac;
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
    '
67
    export as_echo_n_body
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
69
  fi
70
  export as_echo_body
71
  as_echo='sh -c $as_echo_body as_echo'
72
fi
73
 
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
76
  PATH_SEPARATOR=:
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
      PATH_SEPARATOR=';'
80
  }
81
fi
82
 
83 234 jeremybenn
# Support unset when possible.
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85
  as_unset=unset
86
else
87
  as_unset=false
88
fi
89 90 jeremybenn
 
90 234 jeremybenn
 
91 90 jeremybenn
# IFS
92
# We need space, tab and new line, in precisely that order.  Quoting is
93
# there to prevent editors from complaining about space-tab.
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95
# splitting by setting IFS to empty value.)
96
IFS=" ""        $as_nl"
97
 
98
# Find who we are.  Look in the path if we contain no directory separator.
99 234 jeremybenn
case $0 in
100 90 jeremybenn
  *[\\/]* ) as_myself=$0 ;;
101
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
for as_dir in $PATH
103
do
104
  IFS=$as_save_IFS
105
  test -z "$as_dir" && as_dir=.
106 234 jeremybenn
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
done
108 90 jeremybenn
IFS=$as_save_IFS
109
 
110
     ;;
111
esac
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
113
# in which case we are not to be found in the path.
114
if test "x$as_myself" = x; then
115
  as_myself=$0
116
fi
117
if test ! -f "$as_myself"; then
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 234 jeremybenn
  { (exit 1); exit 1; }
120 90 jeremybenn
fi
121
 
122 234 jeremybenn
# Work around bugs in pre-3.0 UWIN ksh.
123
for as_var in ENV MAIL MAILPATH
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 90 jeremybenn
done
126
PS1='$ '
127
PS2='> '
128
PS4='+ '
129
 
130
# NLS nuisances.
131
LC_ALL=C
132
export LC_ALL
133
LANGUAGE=C
134
export LANGUAGE
135
 
136 234 jeremybenn
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139
  as_expr=expr
140
else
141
  as_expr=false
142
fi
143
 
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145
  as_basename=basename
146
else
147
  as_basename=false
148
fi
149
 
150
 
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
         X"$0" : 'X\(//\)$' \| \
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156
$as_echo X/"$0" |
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
158
            s//\1/
159
            q
160
          }
161
          /^X\/\(\/\/\)$/{
162
            s//\1/
163
            q
164
          }
165
          /^X\/\(\/\).*/{
166
            s//\1/
167
            q
168
          }
169
          s/.*/./; q'`
170
 
171 90 jeremybenn
# CDPATH.
172 234 jeremybenn
$as_unset CDPATH
173 90 jeremybenn
 
174 234 jeremybenn
 
175 90 jeremybenn
if test "x$CONFIG_SHELL" = x; then
176 234 jeremybenn
  if (eval ":") 2>/dev/null; then
177
  as_have_required=yes
178 90 jeremybenn
else
179 234 jeremybenn
  as_have_required=no
180 90 jeremybenn
fi
181
 
182 234 jeremybenn
  if test $as_have_required = yes &&     (eval ":
183
(as_func_return () {
184
  (exit \$1)
185
}
186
as_func_success () {
187
  as_func_return 0
188
}
189
as_func_failure () {
190
  as_func_return 1
191
}
192
as_func_ret_success () {
193
  return 0
194
}
195
as_func_ret_failure () {
196
  return 1
197
}
198
 
199 90 jeremybenn
exitcode=0
200 234 jeremybenn
if as_func_success; then
201
  :
202
else
203
  exitcode=1
204
  echo as_func_success failed.
205
fi
206 90 jeremybenn
 
207 234 jeremybenn
if as_func_failure; then
208
  exitcode=1
209
  echo as_func_failure succeeded.
210
fi
211
 
212
if as_func_ret_success; then
213
  :
214 90 jeremybenn
else
215 234 jeremybenn
  exitcode=1
216
  echo as_func_ret_success failed.
217 90 jeremybenn
fi
218 234 jeremybenn
 
219
if as_func_ret_failure; then
220
  exitcode=1
221
  echo as_func_ret_failure succeeded.
222
fi
223
 
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225
  :
226 90 jeremybenn
else
227 234 jeremybenn
  exitcode=1
228
  echo positional parameters were not saved.
229 90 jeremybenn
fi
230
 
231 234 jeremybenn
test \$exitcode = 0) || { (exit 1); exit 1; }
232
 
233
(
234
  as_lineno_1=\$LINENO
235
  as_lineno_2=\$LINENO
236
  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
239
  :
240 90 jeremybenn
else
241 234 jeremybenn
  as_candidate_shells=
242
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 90 jeremybenn
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
do
245
  IFS=$as_save_IFS
246
  test -z "$as_dir" && as_dir=.
247 234 jeremybenn
  case $as_dir in
248 90 jeremybenn
         /*)
249
           for as_base in sh bash ksh sh5; do
250 234 jeremybenn
             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 90 jeremybenn
           done;;
252
       esac
253
done
254
IFS=$as_save_IFS
255
 
256
 
257 234 jeremybenn
      for as_shell in $as_candidate_shells $SHELL; do
258
         # Try only shells that exist, to save several forks.
259
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
                { ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
  emulate sh
263
  NULLCMD=:
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
  # is contrary to our usage.  Disable this feature.
266
  alias -g '${1+"$@"}'='"$@"'
267
  setopt NO_GLOB_SUBST
268
else
269
  case `(set -o) 2>/dev/null` in
270
  *posix*) set -o posix ;;
271
esac
272
 
273 90 jeremybenn
fi
274
 
275 234 jeremybenn
 
276
:
277
_ASEOF
278
}; then
279
  CONFIG_SHELL=$as_shell
280
               as_have_required=yes
281
               if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
  emulate sh
284
  NULLCMD=:
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
  # is contrary to our usage.  Disable this feature.
287
  alias -g '${1+"$@"}'='"$@"'
288
  setopt NO_GLOB_SUBST
289
else
290
  case `(set -o) 2>/dev/null` in
291
  *posix*) set -o posix ;;
292
esac
293
 
294 90 jeremybenn
fi
295 234 jeremybenn
 
296
 
297
:
298
(as_func_return () {
299
  (exit $1)
300
}
301
as_func_success () {
302
  as_func_return 0
303
}
304
as_func_failure () {
305
  as_func_return 1
306
}
307
as_func_ret_success () {
308
  return 0
309
}
310
as_func_ret_failure () {
311
  return 1
312
}
313
 
314
exitcode=0
315
if as_func_success; then
316
  :
317
else
318
  exitcode=1
319
  echo as_func_success failed.
320 90 jeremybenn
fi
321 234 jeremybenn
 
322
if as_func_failure; then
323
  exitcode=1
324
  echo as_func_failure succeeded.
325 90 jeremybenn
fi
326
 
327 234 jeremybenn
if as_func_ret_success; then
328
  :
329
else
330
  exitcode=1
331
  echo as_func_ret_success failed.
332
fi
333 90 jeremybenn
 
334 234 jeremybenn
if as_func_ret_failure; then
335
  exitcode=1
336
  echo as_func_ret_failure succeeded.
337
fi
338 90 jeremybenn
 
339 234 jeremybenn
if ( set x; as_func_ret_success y && test x = "$1" ); then
340
  :
341
else
342
  exitcode=1
343
  echo positional parameters were not saved.
344
fi
345 90 jeremybenn
 
346 234 jeremybenn
test $exitcode = 0) || { (exit 1); exit 1; }
347 90 jeremybenn
 
348 234 jeremybenn
(
349
  as_lineno_1=$LINENO
350
  as_lineno_2=$LINENO
351
  test "x$as_lineno_1" != "x$as_lineno_2" &&
352
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353 90 jeremybenn
 
354 234 jeremybenn
_ASEOF
355
}; then
356
  break
357
fi
358 90 jeremybenn
 
359 234 jeremybenn
fi
360 90 jeremybenn
 
361 234 jeremybenn
      done
362 90 jeremybenn
 
363 234 jeremybenn
      if test "x$CONFIG_SHELL" != x; then
364
  for as_var in BASH_ENV ENV
365
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
        done
367
        export CONFIG_SHELL
368
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369
fi
370 90 jeremybenn
 
371
 
372 234 jeremybenn
    if test $as_have_required = no; then
373
  echo This script requires a shell more modern than all the
374
      echo shells that I found on your system.  Please install a
375
      echo modern shell, or manually run the script under such a
376
      echo shell if you do have one.
377
      { (exit 1); exit 1; }
378
fi
379
 
380
 
381
fi
382
 
383
fi
384
 
385
 
386
 
387
(eval "as_func_return () {
388
  (exit \$1)
389
}
390
as_func_success () {
391
  as_func_return 0
392
}
393
as_func_failure () {
394
  as_func_return 1
395
}
396
as_func_ret_success () {
397
  return 0
398
}
399
as_func_ret_failure () {
400
  return 1
401
}
402
 
403
exitcode=0
404
if as_func_success; then
405
  :
406 90 jeremybenn
else
407 234 jeremybenn
  exitcode=1
408
  echo as_func_success failed.
409 90 jeremybenn
fi
410
 
411 234 jeremybenn
if as_func_failure; then
412
  exitcode=1
413
  echo as_func_failure succeeded.
414
fi
415
 
416
if as_func_ret_success; then
417
  :
418 90 jeremybenn
else
419 234 jeremybenn
  exitcode=1
420
  echo as_func_ret_success failed.
421 90 jeremybenn
fi
422
 
423 234 jeremybenn
if as_func_ret_failure; then
424
  exitcode=1
425
  echo as_func_ret_failure succeeded.
426
fi
427
 
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429
  :
430 90 jeremybenn
else
431 234 jeremybenn
  exitcode=1
432
  echo positional parameters were not saved.
433 90 jeremybenn
fi
434
 
435 234 jeremybenn
test \$exitcode = 0") || {
436
  echo No shell found that supports shell functions.
437
  echo Please tell bug-autoconf@gnu.org about your system,
438
  echo including any error possibly output before this message.
439
  echo This can help us improve future autoconf versions.
440
  echo Configuration will now proceed without shell functions.
441
}
442 90 jeremybenn
 
443
 
444
 
445 234 jeremybenn
  as_lineno_1=$LINENO
446
  as_lineno_2=$LINENO
447
  test "x$as_lineno_1" != "x$as_lineno_2" &&
448
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449
 
450
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
  # uniformly replaced by the line number.  The first 'sed' inserts a
452
  # line-number line after each line using $LINENO; the second 'sed'
453
  # does the real work.  The second script uses 'N' to pair each
454
  # line-number line with the line containing $LINENO, and appends
455
  # trailing '-' during substitution so that $LINENO is not a special
456
  # case at line end.
457
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459
  # E. McMahon (1931-1989) for sed's syntax.  :-)
460 90 jeremybenn
  sed -n '
461
    p
462
    /[$]LINENO/=
463
  ' <$as_myself |
464
    sed '
465
      s/[$]LINENO.*/&-/
466
      t lineno
467
      b
468
      :lineno
469
      N
470
      :loop
471
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472
      t loop
473
      s/-\n.*//
474
    ' >$as_me.lineno &&
475
  chmod +x "$as_me.lineno" ||
476 234 jeremybenn
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
   { (exit 1); exit 1; }; }
478 90 jeremybenn
 
479
  # Don't try to exec as it changes $[0], causing all sort of problems
480
  # (the dirname of $[0] is not the place where we might find the
481
  # original and so on.  Autoconf is especially sensitive to this).
482
  . "./$as_me.lineno"
483
  # Exit status is that of the last command.
484
  exit
485
}
486
 
487 234 jeremybenn
 
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489
  as_dirname=dirname
490
else
491
  as_dirname=false
492
fi
493
 
494 90 jeremybenn
ECHO_C= ECHO_N= ECHO_T=
495 234 jeremybenn
case `echo -n x` in
496 90 jeremybenn
-n*)
497 234 jeremybenn
  case `echo 'x\c'` in
498 90 jeremybenn
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499 234 jeremybenn
  *)   ECHO_C='\c';;
500 90 jeremybenn
  esac;;
501
*)
502
  ECHO_N='-n';;
503
esac
504 234 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506
  as_expr=expr
507
else
508
  as_expr=false
509
fi
510 90 jeremybenn
 
511
rm -f conf$$ conf$$.exe conf$$.file
512
if test -d conf$$.dir; then
513
  rm -f conf$$.dir/conf$$.file
514
else
515
  rm -f conf$$.dir
516
  mkdir conf$$.dir 2>/dev/null
517
fi
518
if (echo >conf$$.file) 2>/dev/null; then
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
520
    as_ln_s='ln -s'
521
    # ... but there are two gotchas:
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524
    # In both cases, we have to default to `cp -p'.
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526
      as_ln_s='cp -p'
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
528
    as_ln_s=ln
529
  else
530
    as_ln_s='cp -p'
531
  fi
532
else
533
  as_ln_s='cp -p'
534
fi
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536
rmdir conf$$.dir 2>/dev/null
537
 
538
if mkdir -p . 2>/dev/null; then
539 234 jeremybenn
  as_mkdir_p=:
540 90 jeremybenn
else
541
  test -d ./-p && rmdir ./-p
542
  as_mkdir_p=false
543
fi
544
 
545
if test -x / >/dev/null 2>&1; then
546
  as_test_x='test -x'
547
else
548
  if ls -dL / >/dev/null 2>&1; then
549
    as_ls_L_option=L
550
  else
551
    as_ls_L_option=
552
  fi
553
  as_test_x='
554
    eval sh -c '\''
555
      if test -d "$1"; then
556
        test -d "$1/.";
557
      else
558 234 jeremybenn
        case $1 in
559 90 jeremybenn
        -*)set "./$1";;
560
        esac;
561 234 jeremybenn
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 90 jeremybenn
        ???[sx]*):;;*)false;;esac;fi
563
    '\'' sh
564
  '
565
fi
566
as_executable_p=$as_test_x
567
 
568
# Sed expression to map a string onto a valid CPP name.
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
570
 
571
# Sed expression to map a string onto a valid variable name.
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573
 
574
 
575
 
576 234 jeremybenn
 
577 90 jeremybenn
# Check that we are running under the correct shell.
578
SHELL=${CONFIG_SHELL-/bin/sh}
579
 
580
case X$lt_ECHO in
581
X*--fallback-echo)
582
  # Remove one level of quotation (which was required for Make).
583
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
584
  ;;
585
esac
586
 
587
ECHO=${lt_ECHO-echo}
588
if test "X$1" = X--no-reexec; then
589
  # Discard the --no-reexec flag, and continue.
590
  shift
591
elif test "X$1" = X--fallback-echo; then
592
  # Avoid inline document here, it may be left over
593
  :
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595
  # Yippee, $ECHO works!
596
  :
597
else
598
  # Restart under the correct shell.
599
  exec $SHELL "$0" --no-reexec ${1+"$@"}
600
fi
601
 
602
if test "X$1" = X--fallback-echo; then
603
  # used as fallback echo
604
  shift
605
  cat <<_LT_EOF
606
$*
607
_LT_EOF
608
  exit 0
609
fi
610
 
611
# The HP-UX ksh and POSIX shell print the target directory to stdout
612
# if CDPATH is set.
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
614
 
615
if test -z "$lt_ECHO"; then
616
  if test "X${echo_test_string+set}" != Xset; then
617
    # find a string as large as possible, as long as the shell can cope with it
618
    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
622
      then
623
        break
624
      fi
625
    done
626
  fi
627
 
628
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630
     test "X$echo_testing_string" = "X$echo_test_string"; then
631
    :
632
  else
633
    # The Solaris, AIX, and Digital Unix default echo programs unquote
634
    # backslashes.  This makes it impossible to quote backslashes using
635
    #   echo "$something" | sed 's/\\/\\\\/g'
636
    #
637
    # So, first we look for a working echo in the user's PATH.
638
 
639
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640
    for dir in $PATH /usr/ucb; do
641
      IFS="$lt_save_ifs"
642
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645
         test "X$echo_testing_string" = "X$echo_test_string"; then
646
        ECHO="$dir/echo"
647
        break
648
      fi
649
    done
650
    IFS="$lt_save_ifs"
651
 
652
    if test "X$ECHO" = Xecho; then
653
      # We didn't find a better echo, so look for alternatives.
654
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656
         test "X$echo_testing_string" = "X$echo_test_string"; then
657
        # This shell has a builtin print -r that does the trick.
658
        ECHO='print -r'
659
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660
           test "X$CONFIG_SHELL" != X/bin/ksh; then
661
        # If we have ksh, try running configure again with it.
662
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663
        export ORIGINAL_CONFIG_SHELL
664
        CONFIG_SHELL=/bin/ksh
665
        export CONFIG_SHELL
666
        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
667
      else
668
        # Try using printf.
669
        ECHO='printf %s\n'
670
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672
           test "X$echo_testing_string" = "X$echo_test_string"; then
673
          # Cool, printf works
674
          :
675
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676
             test "X$echo_testing_string" = 'X\t' &&
677
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678
             test "X$echo_testing_string" = "X$echo_test_string"; then
679
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
680
          export CONFIG_SHELL
681
          SHELL="$CONFIG_SHELL"
682
          export SHELL
683
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
684
        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685
             test "X$echo_testing_string" = 'X\t' &&
686
             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687
             test "X$echo_testing_string" = "X$echo_test_string"; then
688
          ECHO="$CONFIG_SHELL $0 --fallback-echo"
689
        else
690
          # maybe with a smaller string...
691
          prev=:
692
 
693
          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
695
            then
696
              break
697
            fi
698
            prev="$cmd"
699
          done
700
 
701
          if test "$prev" != 'sed 50q "$0"'; then
702
            echo_test_string=`eval $prev`
703
            export echo_test_string
704
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705
          else
706
            # Oops.  We lost completely, so just stick with echo.
707
            ECHO=echo
708
          fi
709
        fi
710
      fi
711
    fi
712
  fi
713
fi
714
 
715
# Copy echo and quote the copy suitably for passing to libtool from
716
# the Makefile, instead of quoting the original, which is used later.
717
lt_ECHO=$ECHO
718
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719
   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
720
fi
721
 
722
 
723
 
724
 
725 121 jeremybenn
exec 7<&0 &1
726 90 jeremybenn
 
727
# Name of the host.
728
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729
# so uname gets run too.
730
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
731
 
732
#
733
# Initializations.
734
#
735
ac_default_prefix=/usr/local
736
ac_clean_files=
737
ac_config_libobj_dir=.
738
LIBOBJS=
739
cross_compiling=no
740
subdirs=
741
MFLAGS=
742
MAKEFLAGS=
743 234 jeremybenn
SHELL=${CONFIG_SHELL-/bin/sh}
744 90 jeremybenn
 
745
# Identity of this package.
746
PACKAGE_NAME='or1ksim-testsuite'
747
PACKAGE_TARNAME='or1ksim-testsuite'
748 234 jeremybenn
PACKAGE_VERSION='2010-08-03'
749
PACKAGE_STRING='or1ksim-testsuite 2010-08-03'
750 90 jeremybenn
PACKAGE_BUGREPORT='openrisc@opencores.org'
751
 
752
# Factoring default headers for most tests.
753
ac_includes_default="\
754
#include 
755
#ifdef HAVE_SYS_TYPES_H
756
# include 
757
#endif
758
#ifdef HAVE_SYS_STAT_H
759
# include 
760
#endif
761
#ifdef STDC_HEADERS
762
# include 
763
# include 
764
#else
765
# ifdef HAVE_STDLIB_H
766
#  include 
767
# endif
768
#endif
769
#ifdef HAVE_STRING_H
770
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
771
#  include 
772
# endif
773
# include 
774
#endif
775
#ifdef HAVE_STRINGS_H
776
# include 
777
#endif
778
#ifdef HAVE_INTTYPES_H
779
# include 
780
#endif
781
#ifdef HAVE_STDINT_H
782
# include 
783
#endif
784
#ifdef HAVE_UNISTD_H
785
# include 
786
#endif"
787
 
788
ac_subst_vars='am__EXEEXT_FALSE
789
am__EXEEXT_TRUE
790
LTLIBOBJS
791
LIBOBJS
792
am__fastdepCCAS_FALSE
793
am__fastdepCCAS_TRUE
794
CCASDEPMODE
795
CCASFLAGS
796
CCAS
797
SIM
798
BUILD_ALL_TESTS_FALSE
799
BUILD_ALL_TESTS_TRUE
800
am__fastdepCC_FALSE
801
am__fastdepCC_TRUE
802
CCDEPMODE
803
AMDEPBACKSLASH
804
AMDEP_FALSE
805
AMDEP_TRUE
806
am__quote
807
am__include
808
DEPDIR
809
am__untar
810
am__tar
811
AMTAR
812
am__leading_dot
813
SET_MAKE
814
AWK
815
mkdir_p
816
MKDIR_P
817
INSTALL_STRIP_PROGRAM
818
install_sh
819
MAKEINFO
820
AUTOHEADER
821
AUTOMAKE
822
AUTOCONF
823
ACLOCAL
824
VERSION
825
PACKAGE
826
CYGPATH_W
827
am__isrc
828
INSTALL_DATA
829
INSTALL_SCRIPT
830
INSTALL_PROGRAM
831
CPP
832
OTOOL64
833
OTOOL
834
LIPO
835
NMEDIT
836
DSYMUTIL
837
lt_ECHO
838
RANLIB
839
STRIP
840
AR
841
OBJDUMP
842
LN_S
843
NM
844
ac_ct_DUMPBIN
845
DUMPBIN
846
LD
847
FGREP
848
EGREP
849
GREP
850
SED
851
OBJEXT
852
EXEEXT
853
ac_ct_CC
854
CPPFLAGS
855
LDFLAGS
856
CFLAGS
857
CC
858
host_os
859
host_vendor
860
host_cpu
861
host
862
build_os
863
build_vendor
864
build_cpu
865
build
866
LIBTOOL
867
target_alias
868
host_alias
869
build_alias
870
LIBS
871
ECHO_T
872
ECHO_N
873
ECHO_C
874
DEFS
875
mandir
876
localedir
877
libdir
878
psdir
879
pdfdir
880
dvidir
881
htmldir
882
infodir
883
docdir
884
oldincludedir
885
includedir
886
localstatedir
887
sharedstatedir
888
sysconfdir
889
datadir
890
datarootdir
891
libexecdir
892
sbindir
893
bindir
894
program_transform_name
895
prefix
896
exec_prefix
897
PACKAGE_BUGREPORT
898
PACKAGE_STRING
899
PACKAGE_VERSION
900
PACKAGE_TARNAME
901
PACKAGE_NAME
902
PATH_SEPARATOR
903
SHELL'
904
ac_subst_files=''
905
ac_user_opts='
906
enable_option_checking
907
enable_shared
908
enable_static
909
with_pic
910
enable_fast_install
911
with_gnu_ld
912
enable_libtool_lock
913
enable_dependency_tracking
914
enable_all_tests
915
enable_opt
916
'
917
      ac_precious_vars='build_alias
918
host_alias
919
target_alias
920
CC
921
CFLAGS
922
LDFLAGS
923
LIBS
924
CPPFLAGS
925
CPP
926
CCAS
927
CCASFLAGS'
928
 
929
 
930
# Initialize some variables set by options.
931
ac_init_help=
932
ac_init_version=false
933
ac_unrecognized_opts=
934
ac_unrecognized_sep=
935
# The variables have the same names as the options, with
936
# dashes changed to underlines.
937
cache_file=/dev/null
938
exec_prefix=NONE
939
no_create=
940
no_recursion=
941
prefix=NONE
942
program_prefix=NONE
943
program_suffix=NONE
944
program_transform_name=s,x,x,
945
silent=
946
site=
947
srcdir=
948
verbose=
949
x_includes=NONE
950
x_libraries=NONE
951
 
952
# Installation directory options.
953
# These are left unexpanded so users can "make install exec_prefix=/foo"
954
# and all the variables that are supposed to be based on exec_prefix
955
# by default will actually change.
956
# Use braces instead of parens because sh, perl, etc. also accept them.
957
# (The list follows the same order as the GNU Coding Standards.)
958
bindir='${exec_prefix}/bin'
959
sbindir='${exec_prefix}/sbin'
960
libexecdir='${exec_prefix}/libexec'
961
datarootdir='${prefix}/share'
962
datadir='${datarootdir}'
963
sysconfdir='${prefix}/etc'
964
sharedstatedir='${prefix}/com'
965
localstatedir='${prefix}/var'
966
includedir='${prefix}/include'
967
oldincludedir='/usr/include'
968
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
969
infodir='${datarootdir}/info'
970
htmldir='${docdir}'
971
dvidir='${docdir}'
972
pdfdir='${docdir}'
973
psdir='${docdir}'
974
libdir='${exec_prefix}/lib'
975
localedir='${datarootdir}/locale'
976
mandir='${datarootdir}/man'
977
 
978
ac_prev=
979
ac_dashdash=
980
for ac_option
981
do
982
  # If the previous option needs an argument, assign it.
983
  if test -n "$ac_prev"; then
984
    eval $ac_prev=\$ac_option
985
    ac_prev=
986
    continue
987
  fi
988
 
989
  case $ac_option in
990
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
991
  *)    ac_optarg=yes ;;
992
  esac
993
 
994
  # Accept the important Cygnus configure options, so we can diagnose typos.
995
 
996
  case $ac_dashdash$ac_option in
997
  --)
998
    ac_dashdash=yes ;;
999
 
1000
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1001
    ac_prev=bindir ;;
1002
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1003
    bindir=$ac_optarg ;;
1004
 
1005
  -build | --build | --buil | --bui | --bu)
1006
    ac_prev=build_alias ;;
1007
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1008
    build_alias=$ac_optarg ;;
1009
 
1010
  -cache-file | --cache-file | --cache-fil | --cache-fi \
1011
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1012
    ac_prev=cache_file ;;
1013
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1014
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1015
    cache_file=$ac_optarg ;;
1016
 
1017
  --config-cache | -C)
1018
    cache_file=config.cache ;;
1019
 
1020
  -datadir | --datadir | --datadi | --datad)
1021
    ac_prev=datadir ;;
1022
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1023
    datadir=$ac_optarg ;;
1024
 
1025
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1026
  | --dataroo | --dataro | --datar)
1027
    ac_prev=datarootdir ;;
1028
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1029
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1030
    datarootdir=$ac_optarg ;;
1031
 
1032
  -disable-* | --disable-*)
1033
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1034
    # Reject names that are not valid shell variable names.
1035
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 234 jeremybenn
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1037
   { (exit 1); exit 1; }; }
1038 90 jeremybenn
    ac_useropt_orig=$ac_useropt
1039
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040
    case $ac_user_opts in
1041
      *"
1042
"enable_$ac_useropt"
1043
"*) ;;
1044
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1045
         ac_unrecognized_sep=', ';;
1046
    esac
1047
    eval enable_$ac_useropt=no ;;
1048
 
1049
  -docdir | --docdir | --docdi | --doc | --do)
1050
    ac_prev=docdir ;;
1051
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1052
    docdir=$ac_optarg ;;
1053
 
1054
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1055
    ac_prev=dvidir ;;
1056
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1057
    dvidir=$ac_optarg ;;
1058
 
1059
  -enable-* | --enable-*)
1060
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1061
    # Reject names that are not valid shell variable names.
1062
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1063 234 jeremybenn
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1064
   { (exit 1); exit 1; }; }
1065 90 jeremybenn
    ac_useropt_orig=$ac_useropt
1066
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1067
    case $ac_user_opts in
1068
      *"
1069
"enable_$ac_useropt"
1070
"*) ;;
1071
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1072
         ac_unrecognized_sep=', ';;
1073
    esac
1074
    eval enable_$ac_useropt=\$ac_optarg ;;
1075
 
1076
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1077
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1078
  | --exec | --exe | --ex)
1079
    ac_prev=exec_prefix ;;
1080
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1081
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1082
  | --exec=* | --exe=* | --ex=*)
1083
    exec_prefix=$ac_optarg ;;
1084
 
1085
  -gas | --gas | --ga | --g)
1086
    # Obsolete; use --with-gas.
1087
    with_gas=yes ;;
1088
 
1089
  -help | --help | --hel | --he | -h)
1090
    ac_init_help=long ;;
1091
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1092
    ac_init_help=recursive ;;
1093
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1094
    ac_init_help=short ;;
1095
 
1096
  -host | --host | --hos | --ho)
1097
    ac_prev=host_alias ;;
1098
  -host=* | --host=* | --hos=* | --ho=*)
1099
    host_alias=$ac_optarg ;;
1100
 
1101
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1102
    ac_prev=htmldir ;;
1103
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1104
  | --ht=*)
1105
    htmldir=$ac_optarg ;;
1106
 
1107
  -includedir | --includedir | --includedi | --included | --include \
1108
  | --includ | --inclu | --incl | --inc)
1109
    ac_prev=includedir ;;
1110
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1111
  | --includ=* | --inclu=* | --incl=* | --inc=*)
1112
    includedir=$ac_optarg ;;
1113
 
1114
  -infodir | --infodir | --infodi | --infod | --info | --inf)
1115
    ac_prev=infodir ;;
1116
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1117
    infodir=$ac_optarg ;;
1118
 
1119
  -libdir | --libdir | --libdi | --libd)
1120
    ac_prev=libdir ;;
1121
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1122
    libdir=$ac_optarg ;;
1123
 
1124
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1125
  | --libexe | --libex | --libe)
1126
    ac_prev=libexecdir ;;
1127
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1128
  | --libexe=* | --libex=* | --libe=*)
1129
    libexecdir=$ac_optarg ;;
1130
 
1131
  -localedir | --localedir | --localedi | --localed | --locale)
1132
    ac_prev=localedir ;;
1133
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1134
    localedir=$ac_optarg ;;
1135
 
1136
  -localstatedir | --localstatedir | --localstatedi | --localstated \
1137
  | --localstate | --localstat | --localsta | --localst | --locals)
1138
    ac_prev=localstatedir ;;
1139
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1140
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1141
    localstatedir=$ac_optarg ;;
1142
 
1143
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1144
    ac_prev=mandir ;;
1145
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1146
    mandir=$ac_optarg ;;
1147
 
1148
  -nfp | --nfp | --nf)
1149
    # Obsolete; use --without-fp.
1150
    with_fp=no ;;
1151
 
1152
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1153
  | --no-cr | --no-c | -n)
1154
    no_create=yes ;;
1155
 
1156
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1157
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1158
    no_recursion=yes ;;
1159
 
1160
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1161
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1162
  | --oldin | --oldi | --old | --ol | --o)
1163
    ac_prev=oldincludedir ;;
1164
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1165
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1166
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1167
    oldincludedir=$ac_optarg ;;
1168
 
1169
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1170
    ac_prev=prefix ;;
1171
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1172
    prefix=$ac_optarg ;;
1173
 
1174
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1175
  | --program-pre | --program-pr | --program-p)
1176
    ac_prev=program_prefix ;;
1177
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1178
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1179
    program_prefix=$ac_optarg ;;
1180
 
1181
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1182
  | --program-suf | --program-su | --program-s)
1183
    ac_prev=program_suffix ;;
1184
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1185
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1186
    program_suffix=$ac_optarg ;;
1187
 
1188
  -program-transform-name | --program-transform-name \
1189
  | --program-transform-nam | --program-transform-na \
1190
  | --program-transform-n | --program-transform- \
1191
  | --program-transform | --program-transfor \
1192
  | --program-transfo | --program-transf \
1193
  | --program-trans | --program-tran \
1194
  | --progr-tra | --program-tr | --program-t)
1195
    ac_prev=program_transform_name ;;
1196
  -program-transform-name=* | --program-transform-name=* \
1197
  | --program-transform-nam=* | --program-transform-na=* \
1198
  | --program-transform-n=* | --program-transform-=* \
1199
  | --program-transform=* | --program-transfor=* \
1200
  | --program-transfo=* | --program-transf=* \
1201
  | --program-trans=* | --program-tran=* \
1202
  | --progr-tra=* | --program-tr=* | --program-t=*)
1203
    program_transform_name=$ac_optarg ;;
1204
 
1205
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1206
    ac_prev=pdfdir ;;
1207
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1208
    pdfdir=$ac_optarg ;;
1209
 
1210
  -psdir | --psdir | --psdi | --psd | --ps)
1211
    ac_prev=psdir ;;
1212
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1213
    psdir=$ac_optarg ;;
1214
 
1215
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1216
  | -silent | --silent | --silen | --sile | --sil)
1217
    silent=yes ;;
1218
 
1219
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1220
    ac_prev=sbindir ;;
1221
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1222
  | --sbi=* | --sb=*)
1223
    sbindir=$ac_optarg ;;
1224
 
1225
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1226
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1227
  | --sharedst | --shareds | --shared | --share | --shar \
1228
  | --sha | --sh)
1229
    ac_prev=sharedstatedir ;;
1230
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1231
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1232
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1233
  | --sha=* | --sh=*)
1234
    sharedstatedir=$ac_optarg ;;
1235
 
1236
  -site | --site | --sit)
1237
    ac_prev=site ;;
1238
  -site=* | --site=* | --sit=*)
1239
    site=$ac_optarg ;;
1240
 
1241
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1242
    ac_prev=srcdir ;;
1243
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1244
    srcdir=$ac_optarg ;;
1245
 
1246
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1247
  | --syscon | --sysco | --sysc | --sys | --sy)
1248
    ac_prev=sysconfdir ;;
1249
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1250
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1251
    sysconfdir=$ac_optarg ;;
1252
 
1253
  -target | --target | --targe | --targ | --tar | --ta | --t)
1254
    ac_prev=target_alias ;;
1255
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1256
    target_alias=$ac_optarg ;;
1257
 
1258
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1259
    verbose=yes ;;
1260
 
1261
  -version | --version | --versio | --versi | --vers | -V)
1262
    ac_init_version=: ;;
1263
 
1264
  -with-* | --with-*)
1265
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1266
    # Reject names that are not valid shell variable names.
1267
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268 234 jeremybenn
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1269
   { (exit 1); exit 1; }; }
1270 90 jeremybenn
    ac_useropt_orig=$ac_useropt
1271
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272
    case $ac_user_opts in
1273
      *"
1274
"with_$ac_useropt"
1275
"*) ;;
1276
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1277
         ac_unrecognized_sep=', ';;
1278
    esac
1279
    eval with_$ac_useropt=\$ac_optarg ;;
1280
 
1281
  -without-* | --without-*)
1282
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1283
    # Reject names that are not valid shell variable names.
1284
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1285 234 jeremybenn
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1286
   { (exit 1); exit 1; }; }
1287 90 jeremybenn
    ac_useropt_orig=$ac_useropt
1288
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1289
    case $ac_user_opts in
1290
      *"
1291
"with_$ac_useropt"
1292
"*) ;;
1293
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1294
         ac_unrecognized_sep=', ';;
1295
    esac
1296
    eval with_$ac_useropt=no ;;
1297
 
1298
  --x)
1299
    # Obsolete; use --with-x.
1300
    with_x=yes ;;
1301
 
1302
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1303
  | --x-incl | --x-inc | --x-in | --x-i)
1304
    ac_prev=x_includes ;;
1305
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1306
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1307
    x_includes=$ac_optarg ;;
1308
 
1309
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1310
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1311
    ac_prev=x_libraries ;;
1312
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1313
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1314
    x_libraries=$ac_optarg ;;
1315
 
1316 234 jeremybenn
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1317
Try \`$0 --help' for more information." >&2
1318
   { (exit 1); exit 1; }; }
1319 90 jeremybenn
    ;;
1320
 
1321
  *=*)
1322
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1323
    # Reject names that are not valid shell variable names.
1324 234 jeremybenn
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1325
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1326
   { (exit 1); exit 1; }; }
1327 90 jeremybenn
    eval $ac_envvar=\$ac_optarg
1328
    export $ac_envvar ;;
1329
 
1330
  *)
1331
    # FIXME: should be removed in autoconf 3.0.
1332
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1333
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1334
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1335
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1336
    ;;
1337
 
1338
  esac
1339
done
1340
 
1341
if test -n "$ac_prev"; then
1342
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1343 234 jeremybenn
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1344
   { (exit 1); exit 1; }; }
1345 90 jeremybenn
fi
1346
 
1347
if test -n "$ac_unrecognized_opts"; then
1348
  case $enable_option_checking in
1349
    no) ;;
1350 234 jeremybenn
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1351
   { (exit 1); exit 1; }; } ;;
1352 90 jeremybenn
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1353
  esac
1354
fi
1355
 
1356
# Check all directory arguments for consistency.
1357
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1358
                datadir sysconfdir sharedstatedir localstatedir includedir \
1359
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1360
                libdir localedir mandir
1361
do
1362
  eval ac_val=\$$ac_var
1363
  # Remove trailing slashes.
1364
  case $ac_val in
1365
    */ )
1366
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1367
      eval $ac_var=\$ac_val;;
1368
  esac
1369
  # Be sure to have absolute directory names.
1370
  case $ac_val in
1371
    [\\/$]* | ?:[\\/]* )  continue;;
1372
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1373
  esac
1374 234 jeremybenn
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1375
   { (exit 1); exit 1; }; }
1376 90 jeremybenn
done
1377
 
1378
# There might be people who depend on the old broken behavior: `$host'
1379
# used to hold the argument of --host etc.
1380
# FIXME: To remove some day.
1381
build=$build_alias
1382
host=$host_alias
1383
target=$target_alias
1384
 
1385
# FIXME: To remove some day.
1386
if test "x$host_alias" != x; then
1387
  if test "x$build_alias" = x; then
1388
    cross_compiling=maybe
1389
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1390
    If a cross compiler is detected then cross compile mode will be used." >&2
1391
  elif test "x$build_alias" != "x$host_alias"; then
1392
    cross_compiling=yes
1393
  fi
1394
fi
1395
 
1396
ac_tool_prefix=
1397
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1398
 
1399
test "$silent" = yes && exec 6>/dev/null
1400
 
1401
 
1402
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1403
ac_ls_di=`ls -di .` &&
1404
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1405 234 jeremybenn
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1406
   { (exit 1); exit 1; }; }
1407 90 jeremybenn
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1408 234 jeremybenn
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1409
   { (exit 1); exit 1; }; }
1410 90 jeremybenn
 
1411
 
1412
# Find the source files, if location was not specified.
1413
if test -z "$srcdir"; then
1414
  ac_srcdir_defaulted=yes
1415
  # Try the directory containing this script, then the parent directory.
1416
  ac_confdir=`$as_dirname -- "$as_myself" ||
1417
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1418
         X"$as_myself" : 'X\(//\)[^/]' \| \
1419
         X"$as_myself" : 'X\(//\)$' \| \
1420
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1421
$as_echo X"$as_myself" |
1422
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1423
            s//\1/
1424
            q
1425
          }
1426
          /^X\(\/\/\)[^/].*/{
1427
            s//\1/
1428
            q
1429
          }
1430
          /^X\(\/\/\)$/{
1431
            s//\1/
1432
            q
1433
          }
1434
          /^X\(\/\).*/{
1435
            s//\1/
1436
            q
1437
          }
1438
          s/.*/./; q'`
1439
  srcdir=$ac_confdir
1440
  if test ! -r "$srcdir/$ac_unique_file"; then
1441
    srcdir=..
1442
  fi
1443
else
1444
  ac_srcdir_defaulted=no
1445
fi
1446
if test ! -r "$srcdir/$ac_unique_file"; then
1447
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1448 234 jeremybenn
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1449
   { (exit 1); exit 1; }; }
1450 90 jeremybenn
fi
1451
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1452
ac_abs_confdir=`(
1453 234 jeremybenn
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1454
   { (exit 1); exit 1; }; }
1455 90 jeremybenn
        pwd)`
1456
# When building in place, set srcdir=.
1457
if test "$ac_abs_confdir" = "$ac_pwd"; then
1458
  srcdir=.
1459
fi
1460
# Remove unnecessary trailing slashes from srcdir.
1461
# Double slashes in file names in object file debugging info
1462
# mess up M-x gdb in Emacs.
1463
case $srcdir in
1464
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1465
esac
1466
for ac_var in $ac_precious_vars; do
1467
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1468
  eval ac_env_${ac_var}_value=\$${ac_var}
1469
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1470
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1471
done
1472
 
1473
#
1474
# Report the --help message.
1475
#
1476
if test "$ac_init_help" = "long"; then
1477
  # Omit some internal or obsolete options to make the list less imposing.
1478
  # This message is too long to be a string in the A/UX 3.1 sh.
1479
  cat <<_ACEOF
1480 234 jeremybenn
\`configure' configures or1ksim-testsuite 2010-08-03 to adapt to many kinds of systems.
1481 90 jeremybenn
 
1482
Usage: $0 [OPTION]... [VAR=VALUE]...
1483
 
1484
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1485
VAR=VALUE.  See below for descriptions of some of the useful variables.
1486
 
1487
Defaults for the options are specified in brackets.
1488
 
1489
Configuration:
1490
  -h, --help              display this help and exit
1491
      --help=short        display options specific to this package
1492
      --help=recursive    display the short help of all the included packages
1493
  -V, --version           display version information and exit
1494
  -q, --quiet, --silent   do not print \`checking...' messages
1495
      --cache-file=FILE   cache test results in FILE [disabled]
1496
  -C, --config-cache      alias for \`--cache-file=config.cache'
1497
  -n, --no-create         do not create output files
1498
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1499
 
1500
Installation directories:
1501
  --prefix=PREFIX         install architecture-independent files in PREFIX
1502
                          [$ac_default_prefix]
1503
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1504
                          [PREFIX]
1505
 
1506
By default, \`make install' will install all the files in
1507
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1508
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1509
for instance \`--prefix=\$HOME'.
1510
 
1511
For better control, use the options below.
1512
 
1513
Fine tuning of the installation directories:
1514
  --bindir=DIR            user executables [EPREFIX/bin]
1515
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1516
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1517
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1518
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1519
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1520
  --libdir=DIR            object code libraries [EPREFIX/lib]
1521
  --includedir=DIR        C header files [PREFIX/include]
1522
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1523
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1524
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1525
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1526
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1527
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1528
  --docdir=DIR            documentation root
1529
                          [DATAROOTDIR/doc/or1ksim-testsuite]
1530
  --htmldir=DIR           html documentation [DOCDIR]
1531
  --dvidir=DIR            dvi documentation [DOCDIR]
1532
  --pdfdir=DIR            pdf documentation [DOCDIR]
1533
  --psdir=DIR             ps documentation [DOCDIR]
1534
_ACEOF
1535
 
1536
  cat <<\_ACEOF
1537
 
1538
Program names:
1539
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1540
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1541
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1542
 
1543
System types:
1544
  --build=BUILD     configure for building on BUILD [guessed]
1545
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1546
_ACEOF
1547
fi
1548
 
1549
if test -n "$ac_init_help"; then
1550
  case $ac_init_help in
1551 234 jeremybenn
     short | recursive ) echo "Configuration of or1ksim-testsuite 2010-08-03:";;
1552 90 jeremybenn
   esac
1553
  cat <<\_ACEOF
1554
 
1555
Optional Features:
1556
  --disable-option-checking  ignore unrecognized --enable/--with options
1557
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1558
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1559
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1560
  --enable-static[=PKGS]  build static libraries [default=yes]
1561
  --enable-fast-install[=PKGS]
1562
                          optimize for fast installation [default=yes]
1563
  --disable-libtool-lock  avoid locking (might break parallel builds)
1564
  --disable-dependency-tracking  speeds up one-time build
1565
  --enable-dependency-tracking   do not reject slow dependency extractors
1566
  --enable-all-tests      enable all tests, including those which do not
1567
                          compile
1568
  --enable-check-opt      enable optimizations
1569
  --enable-check-opt=level     same as gcc -O switch
1570
 
1571
Optional Packages:
1572
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1573
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1574
  --with-pic              try to use only PIC/non-PIC objects [default=use
1575
                          both]
1576
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1577
 
1578
Some influential environment variables:
1579
  CC          C compiler command
1580
  CFLAGS      C compiler flags
1581
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1582
              nonstandard directory 
1583
  LIBS        libraries to pass to the linker, e.g. -l
1584 121 jeremybenn
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if
1585 90 jeremybenn
              you have headers in a nonstandard directory 
1586
  CPP         C preprocessor
1587
  CCAS        assembler compiler command (defaults to CC)
1588
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
1589
 
1590
Use these variables to override the choices made by `configure' or to help
1591
it to find libraries and programs with nonstandard names/locations.
1592
 
1593
Report bugs to .
1594
_ACEOF
1595
ac_status=$?
1596
fi
1597
 
1598
if test "$ac_init_help" = "recursive"; then
1599
  # If there are subdirs, report their specific --help.
1600
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1601
    test -d "$ac_dir" ||
1602
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1603
      continue
1604
    ac_builddir=.
1605
 
1606
case "$ac_dir" in
1607
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608
*)
1609
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1610
  # A ".." for each directory in $ac_dir_suffix.
1611
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1612
  case $ac_top_builddir_sub in
1613
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1615
  esac ;;
1616
esac
1617
ac_abs_top_builddir=$ac_pwd
1618
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1619
# for backward compatibility:
1620
ac_top_builddir=$ac_top_build_prefix
1621
 
1622
case $srcdir in
1623
  .)  # We are building in place.
1624
    ac_srcdir=.
1625
    ac_top_srcdir=$ac_top_builddir_sub
1626
    ac_abs_top_srcdir=$ac_pwd ;;
1627
  [\\/]* | ?:[\\/]* )  # Absolute name.
1628
    ac_srcdir=$srcdir$ac_dir_suffix;
1629
    ac_top_srcdir=$srcdir
1630
    ac_abs_top_srcdir=$srcdir ;;
1631
  *) # Relative name.
1632
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1633
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1634
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1635
esac
1636
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1637
 
1638
    cd "$ac_dir" || { ac_status=$?; continue; }
1639
    # Check for guested configure.
1640
    if test -f "$ac_srcdir/configure.gnu"; then
1641
      echo &&
1642
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1643
    elif test -f "$ac_srcdir/configure"; then
1644
      echo &&
1645
      $SHELL "$ac_srcdir/configure" --help=recursive
1646
    else
1647
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648
    fi || ac_status=$?
1649
    cd "$ac_pwd" || { ac_status=$?; break; }
1650
  done
1651
fi
1652
 
1653
test -n "$ac_init_help" && exit $ac_status
1654
if $ac_init_version; then
1655
  cat <<\_ACEOF
1656 234 jeremybenn
or1ksim-testsuite configure 2010-08-03
1657
generated by GNU Autoconf 2.63
1658 90 jeremybenn
 
1659 234 jeremybenn
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1660
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1661 90 jeremybenn
This configure script is free software; the Free Software Foundation
1662
gives unlimited permission to copy, distribute and modify it.
1663
_ACEOF
1664
  exit
1665
fi
1666
cat >config.log <<_ACEOF
1667
This file contains any messages produced by compilers while
1668
running configure, to aid debugging if configure makes a mistake.
1669
 
1670 234 jeremybenn
It was created by or1ksim-testsuite $as_me 2010-08-03, which was
1671
generated by GNU Autoconf 2.63.  Invocation command line was
1672 90 jeremybenn
 
1673
  $ $0 $@
1674
 
1675
_ACEOF
1676
exec 5>>config.log
1677
{
1678
cat <<_ASUNAME
1679
## --------- ##
1680
## Platform. ##
1681
## --------- ##
1682
 
1683
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1684
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1685
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1686
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1687
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1688
 
1689
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1690
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1691
 
1692
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1693
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1694
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1695
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1696
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1697
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1698
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1699
 
1700
_ASUNAME
1701
 
1702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1703
for as_dir in $PATH
1704
do
1705
  IFS=$as_save_IFS
1706
  test -z "$as_dir" && as_dir=.
1707 234 jeremybenn
  $as_echo "PATH: $as_dir"
1708
done
1709 90 jeremybenn
IFS=$as_save_IFS
1710
 
1711
} >&5
1712
 
1713
cat >&5 <<_ACEOF
1714
 
1715
 
1716
## ----------- ##
1717
## Core tests. ##
1718
## ----------- ##
1719
 
1720
_ACEOF
1721
 
1722
 
1723
# Keep a trace of the command line.
1724
# Strip out --no-create and --no-recursion so they do not pile up.
1725
# Strip out --silent because we don't want to record it for future runs.
1726
# Also quote any args containing shell meta-characters.
1727
# Make two passes to allow for proper duplicate-argument suppression.
1728
ac_configure_args=
1729
ac_configure_args0=
1730
ac_configure_args1=
1731
ac_must_keep_next=false
1732
for ac_pass in 1 2
1733
do
1734
  for ac_arg
1735
  do
1736
    case $ac_arg in
1737
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1738
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1739
    | -silent | --silent | --silen | --sile | --sil)
1740
      continue ;;
1741
    *\'*)
1742
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1743
    esac
1744
    case $ac_pass in
1745 234 jeremybenn
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1746 90 jeremybenn
    2)
1747 234 jeremybenn
      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1748 90 jeremybenn
      if test $ac_must_keep_next = true; then
1749
        ac_must_keep_next=false # Got value, back to normal.
1750
      else
1751
        case $ac_arg in
1752
          *=* | --config-cache | -C | -disable-* | --disable-* \
1753
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1754
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1755
          | -with-* | --with-* | -without-* | --without-* | --x)
1756
            case "$ac_configure_args0 " in
1757
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1758
            esac
1759
            ;;
1760
          -* ) ac_must_keep_next=true ;;
1761
        esac
1762
      fi
1763 234 jeremybenn
      ac_configure_args="$ac_configure_args '$ac_arg'"
1764 90 jeremybenn
      ;;
1765
    esac
1766
  done
1767
done
1768 234 jeremybenn
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1769
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1770 90 jeremybenn
 
1771
# When interrupted or exit'd, cleanup temporary files, and complete
1772
# config.log.  We remove comments because anyway the quotes in there
1773
# would cause problems or look ugly.
1774
# WARNING: Use '\'' to represent an apostrophe within the trap.
1775
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1776
trap 'exit_status=$?
1777
  # Save into config.log some information that might help in debugging.
1778
  {
1779
    echo
1780
 
1781
    cat <<\_ASBOX
1782
## ---------------- ##
1783
## Cache variables. ##
1784
## ---------------- ##
1785
_ASBOX
1786
    echo
1787
    # The following way of writing the cache mishandles newlines in values,
1788
(
1789
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1790
    eval ac_val=\$$ac_var
1791
    case $ac_val in #(
1792
    *${as_nl}*)
1793
      case $ac_var in #(
1794 234 jeremybenn
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1795 90 jeremybenn
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1796
      esac
1797
      case $ac_var in #(
1798
      _ | IFS | as_nl) ;; #(
1799
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1800 234 jeremybenn
      *) $as_unset $ac_var ;;
1801 90 jeremybenn
      esac ;;
1802
    esac
1803
  done
1804
  (set) 2>&1 |
1805
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1806
    *${as_nl}ac_space=\ *)
1807
      sed -n \
1808
        "s/'\''/'\''\\\\'\'''\''/g;
1809
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1810
      ;; #(
1811
    *)
1812
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1813
      ;;
1814
    esac |
1815
    sort
1816
)
1817
    echo
1818
 
1819
    cat <<\_ASBOX
1820
## ----------------- ##
1821
## Output variables. ##
1822
## ----------------- ##
1823
_ASBOX
1824
    echo
1825
    for ac_var in $ac_subst_vars
1826
    do
1827
      eval ac_val=\$$ac_var
1828
      case $ac_val in
1829
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1830
      esac
1831
      $as_echo "$ac_var='\''$ac_val'\''"
1832
    done | sort
1833
    echo
1834
 
1835
    if test -n "$ac_subst_files"; then
1836
      cat <<\_ASBOX
1837
## ------------------- ##
1838
## File substitutions. ##
1839
## ------------------- ##
1840
_ASBOX
1841
      echo
1842
      for ac_var in $ac_subst_files
1843
      do
1844
        eval ac_val=\$$ac_var
1845
        case $ac_val in
1846
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1847
        esac
1848
        $as_echo "$ac_var='\''$ac_val'\''"
1849
      done | sort
1850
      echo
1851
    fi
1852
 
1853
    if test -s confdefs.h; then
1854
      cat <<\_ASBOX
1855
## ----------- ##
1856
## confdefs.h. ##
1857
## ----------- ##
1858
_ASBOX
1859
      echo
1860
      cat confdefs.h
1861
      echo
1862
    fi
1863
    test "$ac_signal" != 0 &&
1864
      $as_echo "$as_me: caught signal $ac_signal"
1865
    $as_echo "$as_me: exit $exit_status"
1866
  } >&5
1867
  rm -f core *.core core.conftest.* &&
1868
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1869
    exit $exit_status
1870
' 0
1871
for ac_signal in 1 2 13 15; do
1872 234 jeremybenn
  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1873 90 jeremybenn
done
1874
ac_signal=0
1875
 
1876
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1877
rm -f -r conftest* confdefs.h
1878
 
1879
# Predefined preprocessor variables.
1880
 
1881
cat >>confdefs.h <<_ACEOF
1882
#define PACKAGE_NAME "$PACKAGE_NAME"
1883
_ACEOF
1884
 
1885 234 jeremybenn
 
1886 90 jeremybenn
cat >>confdefs.h <<_ACEOF
1887
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1888
_ACEOF
1889
 
1890 234 jeremybenn
 
1891 90 jeremybenn
cat >>confdefs.h <<_ACEOF
1892
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1893
_ACEOF
1894
 
1895 234 jeremybenn
 
1896 90 jeremybenn
cat >>confdefs.h <<_ACEOF
1897
#define PACKAGE_STRING "$PACKAGE_STRING"
1898
_ACEOF
1899
 
1900 234 jeremybenn
 
1901 90 jeremybenn
cat >>confdefs.h <<_ACEOF
1902
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1903
_ACEOF
1904
 
1905
 
1906
# Let the site file select an alternate cache file if it wants to.
1907
# Prefer an explicitly selected file to automatically selected ones.
1908
ac_site_file1=NONE
1909
ac_site_file2=NONE
1910
if test -n "$CONFIG_SITE"; then
1911
  ac_site_file1=$CONFIG_SITE
1912
elif test "x$prefix" != xNONE; then
1913
  ac_site_file1=$prefix/share/config.site
1914
  ac_site_file2=$prefix/etc/config.site
1915
else
1916
  ac_site_file1=$ac_default_prefix/share/config.site
1917
  ac_site_file2=$ac_default_prefix/etc/config.site
1918
fi
1919
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1920
do
1921
  test "x$ac_site_file" = xNONE && continue
1922 121 jeremybenn
  if test -r "$ac_site_file"; then
1923 234 jeremybenn
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1924 90 jeremybenn
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1925
    sed 's/^/| /' "$ac_site_file" >&5
1926
    . "$ac_site_file"
1927
  fi
1928
done
1929
 
1930
if test -r "$cache_file"; then
1931 121 jeremybenn
  # Some versions of bash will fail to source /dev/null (special
1932
  # files actually), so we avoid doing that.
1933
  if test -f "$cache_file"; then
1934 234 jeremybenn
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1935 90 jeremybenn
$as_echo "$as_me: loading cache $cache_file" >&6;}
1936
    case $cache_file in
1937
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1938
      *)                      . "./$cache_file";;
1939
    esac
1940
  fi
1941
else
1942 234 jeremybenn
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1943 90 jeremybenn
$as_echo "$as_me: creating cache $cache_file" >&6;}
1944
  >$cache_file
1945
fi
1946
 
1947
# Check that the precious variables saved in the cache have kept the same
1948
# value.
1949
ac_cache_corrupted=false
1950
for ac_var in $ac_precious_vars; do
1951
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1952
  eval ac_new_set=\$ac_env_${ac_var}_set
1953
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1954
  eval ac_new_val=\$ac_env_${ac_var}_value
1955
  case $ac_old_set,$ac_new_set in
1956
    set,)
1957 234 jeremybenn
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1958 90 jeremybenn
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1959
      ac_cache_corrupted=: ;;
1960
    ,set)
1961 234 jeremybenn
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1962 90 jeremybenn
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1963
      ac_cache_corrupted=: ;;
1964
    ,);;
1965
    *)
1966
      if test "x$ac_old_val" != "x$ac_new_val"; then
1967
        # differences in whitespace do not lead to failure.
1968
        ac_old_val_w=`echo x $ac_old_val`
1969
        ac_new_val_w=`echo x $ac_new_val`
1970
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1971 234 jeremybenn
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1972 90 jeremybenn
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1973
          ac_cache_corrupted=:
1974
        else
1975 234 jeremybenn
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1976 90 jeremybenn
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1977
          eval $ac_var=\$ac_old_val
1978
        fi
1979 234 jeremybenn
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1980 90 jeremybenn
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1981 234 jeremybenn
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1982 90 jeremybenn
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1983
      fi;;
1984
  esac
1985
  # Pass precious variables to config.status.
1986
  if test "$ac_new_set" = set; then
1987
    case $ac_new_val in
1988
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1989
    *) ac_arg=$ac_var=$ac_new_val ;;
1990
    esac
1991
    case " $ac_configure_args " in
1992
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1993 234 jeremybenn
      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1994 90 jeremybenn
    esac
1995
  fi
1996
done
1997
if $ac_cache_corrupted; then
1998 234 jeremybenn
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1999 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2000 234 jeremybenn
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2001 90 jeremybenn
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2002 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2003
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2004
   { (exit 1); exit 1; }; }
2005 90 jeremybenn
fi
2006
 
2007 234 jeremybenn
 
2008
 
2009
 
2010
 
2011
 
2012
 
2013
 
2014
 
2015
 
2016
 
2017
 
2018
 
2019
 
2020
 
2021
 
2022
 
2023
 
2024
 
2025
 
2026
 
2027
 
2028
 
2029
 
2030
 
2031 90 jeremybenn
ac_ext=c
2032
ac_cpp='$CPP $CPPFLAGS'
2033
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2034
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2035
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2036
 
2037
 
2038
 
2039
 
2040
case `pwd` in
2041
  *\ * | *\     *)
2042 234 jeremybenn
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2043 90 jeremybenn
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2044
esac
2045
 
2046
 
2047
 
2048 95 jeremybenn
macro_version='2.2.6b'
2049
macro_revision='1.3017'
2050 90 jeremybenn
 
2051
 
2052
 
2053
 
2054
 
2055
 
2056
 
2057
 
2058
 
2059
 
2060
 
2061
 
2062
 
2063
ltmain="$ac_aux_dir/ltmain.sh"
2064
 
2065
ac_aux_dir=
2066
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2067 234 jeremybenn
  if test -f "$ac_dir/install-sh"; then
2068
    ac_aux_dir=$ac_dir
2069
    ac_install_sh="$ac_aux_dir/install-sh -c"
2070
    break
2071
  elif test -f "$ac_dir/install.sh"; then
2072
    ac_aux_dir=$ac_dir
2073
    ac_install_sh="$ac_aux_dir/install.sh -c"
2074
    break
2075
  elif test -f "$ac_dir/shtool"; then
2076
    ac_aux_dir=$ac_dir
2077
    ac_install_sh="$ac_aux_dir/shtool install -c"
2078
    break
2079
  fi
2080 90 jeremybenn
done
2081
if test -z "$ac_aux_dir"; then
2082 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2083
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2084
   { (exit 1); exit 1; }; }
2085 90 jeremybenn
fi
2086
 
2087
# These three variables are undocumented and unsupported,
2088
# and are intended to be withdrawn in a future Autoconf release.
2089
# They can cause serious problems if a builder's source tree is in a directory
2090
# whose full name contains unusual characters.
2091
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2092
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2093
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2094
 
2095
 
2096
# Make sure we can run config.sub.
2097
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2098 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2099
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2100
   { (exit 1); exit 1; }; }
2101 90 jeremybenn
 
2102 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2103 90 jeremybenn
$as_echo_n "checking build system type... " >&6; }
2104 234 jeremybenn
if test "${ac_cv_build+set}" = set; then
2105 90 jeremybenn
  $as_echo_n "(cached) " >&6
2106
else
2107
  ac_build_alias=$build_alias
2108
test "x$ac_build_alias" = x &&
2109
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2110
test "x$ac_build_alias" = x &&
2111 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2112
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2113
   { (exit 1); exit 1; }; }
2114 90 jeremybenn
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2115 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2116
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2117
   { (exit 1); exit 1; }; }
2118 90 jeremybenn
 
2119
fi
2120 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2121 90 jeremybenn
$as_echo "$ac_cv_build" >&6; }
2122
case $ac_cv_build in
2123
*-*-*) ;;
2124 234 jeremybenn
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2125
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2126
   { (exit 1); exit 1; }; };;
2127 90 jeremybenn
esac
2128
build=$ac_cv_build
2129
ac_save_IFS=$IFS; IFS='-'
2130
set x $ac_cv_build
2131
shift
2132
build_cpu=$1
2133
build_vendor=$2
2134
shift; shift
2135
# Remember, the first character of IFS is used to create $*,
2136
# except with old shells:
2137
build_os=$*
2138
IFS=$ac_save_IFS
2139
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2140
 
2141
 
2142 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2143 90 jeremybenn
$as_echo_n "checking host system type... " >&6; }
2144 234 jeremybenn
if test "${ac_cv_host+set}" = set; then
2145 90 jeremybenn
  $as_echo_n "(cached) " >&6
2146
else
2147
  if test "x$host_alias" = x; then
2148
  ac_cv_host=$ac_cv_build
2149
else
2150
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2151 234 jeremybenn
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2152
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2153
   { (exit 1); exit 1; }; }
2154 90 jeremybenn
fi
2155
 
2156
fi
2157 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2158 90 jeremybenn
$as_echo "$ac_cv_host" >&6; }
2159
case $ac_cv_host in
2160
*-*-*) ;;
2161 234 jeremybenn
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2162
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2163
   { (exit 1); exit 1; }; };;
2164 90 jeremybenn
esac
2165
host=$ac_cv_host
2166
ac_save_IFS=$IFS; IFS='-'
2167
set x $ac_cv_host
2168
shift
2169
host_cpu=$1
2170
host_vendor=$2
2171
shift; shift
2172
# Remember, the first character of IFS is used to create $*,
2173
# except with old shells:
2174
host_os=$*
2175
IFS=$ac_save_IFS
2176
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2177
 
2178
 
2179
ac_ext=c
2180
ac_cpp='$CPP $CPPFLAGS'
2181
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2182
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2184
if test -n "$ac_tool_prefix"; then
2185
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2186
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2187 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2188 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2189 234 jeremybenn
if test "${ac_cv_prog_CC+set}" = set; then
2190 90 jeremybenn
  $as_echo_n "(cached) " >&6
2191
else
2192
  if test -n "$CC"; then
2193
  ac_cv_prog_CC="$CC" # Let the user override the test.
2194
else
2195
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196
for as_dir in $PATH
2197
do
2198
  IFS=$as_save_IFS
2199
  test -z "$as_dir" && as_dir=.
2200 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
2201 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2203 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 90 jeremybenn
    break 2
2205
  fi
2206
done
2207 234 jeremybenn
done
2208 90 jeremybenn
IFS=$as_save_IFS
2209
 
2210
fi
2211
fi
2212
CC=$ac_cv_prog_CC
2213
if test -n "$CC"; then
2214 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2215 90 jeremybenn
$as_echo "$CC" >&6; }
2216
else
2217 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
2218 90 jeremybenn
$as_echo "no" >&6; }
2219
fi
2220
 
2221
 
2222
fi
2223
if test -z "$ac_cv_prog_CC"; then
2224
  ac_ct_CC=$CC
2225
  # Extract the first word of "gcc", so it can be a program name with args.
2226
set dummy gcc; ac_word=$2
2227 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2229 234 jeremybenn
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2230 90 jeremybenn
  $as_echo_n "(cached) " >&6
2231
else
2232
  if test -n "$ac_ct_CC"; then
2233
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2234
else
2235
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236
for as_dir in $PATH
2237
do
2238
  IFS=$as_save_IFS
2239
  test -z "$as_dir" && as_dir=.
2240 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
2241 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242
    ac_cv_prog_ac_ct_CC="gcc"
2243 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2244 90 jeremybenn
    break 2
2245
  fi
2246
done
2247 234 jeremybenn
done
2248 90 jeremybenn
IFS=$as_save_IFS
2249
 
2250
fi
2251
fi
2252
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2253
if test -n "$ac_ct_CC"; then
2254 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2255 90 jeremybenn
$as_echo "$ac_ct_CC" >&6; }
2256
else
2257 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
2258 90 jeremybenn
$as_echo "no" >&6; }
2259
fi
2260
 
2261
  if test "x$ac_ct_CC" = x; then
2262
    CC=""
2263
  else
2264
    case $cross_compiling:$ac_tool_warned in
2265
yes:)
2266 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2267 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2268
ac_tool_warned=yes ;;
2269
esac
2270
    CC=$ac_ct_CC
2271
  fi
2272
else
2273
  CC="$ac_cv_prog_CC"
2274
fi
2275
 
2276
if test -z "$CC"; then
2277
          if test -n "$ac_tool_prefix"; then
2278
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2279
set dummy ${ac_tool_prefix}cc; ac_word=$2
2280 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2282 234 jeremybenn
if test "${ac_cv_prog_CC+set}" = set; then
2283 90 jeremybenn
  $as_echo_n "(cached) " >&6
2284
else
2285
  if test -n "$CC"; then
2286
  ac_cv_prog_CC="$CC" # Let the user override the test.
2287
else
2288
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289
for as_dir in $PATH
2290
do
2291
  IFS=$as_save_IFS
2292
  test -z "$as_dir" && as_dir=.
2293 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
2294 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2296 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 90 jeremybenn
    break 2
2298
  fi
2299
done
2300 234 jeremybenn
done
2301 90 jeremybenn
IFS=$as_save_IFS
2302
 
2303
fi
2304
fi
2305
CC=$ac_cv_prog_CC
2306
if test -n "$CC"; then
2307 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2308 90 jeremybenn
$as_echo "$CC" >&6; }
2309
else
2310 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
2311 90 jeremybenn
$as_echo "no" >&6; }
2312
fi
2313
 
2314
 
2315
  fi
2316
fi
2317
if test -z "$CC"; then
2318
  # Extract the first word of "cc", so it can be a program name with args.
2319
set dummy cc; ac_word=$2
2320 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2322 234 jeremybenn
if test "${ac_cv_prog_CC+set}" = set; then
2323 90 jeremybenn
  $as_echo_n "(cached) " >&6
2324
else
2325
  if test -n "$CC"; then
2326
  ac_cv_prog_CC="$CC" # Let the user override the test.
2327
else
2328
  ac_prog_rejected=no
2329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330
for as_dir in $PATH
2331
do
2332
  IFS=$as_save_IFS
2333
  test -z "$as_dir" && as_dir=.
2334 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
2335 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2336
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2337
       ac_prog_rejected=yes
2338
       continue
2339
     fi
2340
    ac_cv_prog_CC="cc"
2341 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 90 jeremybenn
    break 2
2343
  fi
2344
done
2345 234 jeremybenn
done
2346 90 jeremybenn
IFS=$as_save_IFS
2347
 
2348
if test $ac_prog_rejected = yes; then
2349
  # We found a bogon in the path, so make sure we never use it.
2350
  set dummy $ac_cv_prog_CC
2351
  shift
2352
  if test $# != 0; then
2353
    # We chose a different compiler from the bogus one.
2354
    # However, it has the same basename, so the bogon will be chosen
2355
    # first if we set CC to just the basename; use the full file name.
2356
    shift
2357
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2358
  fi
2359
fi
2360
fi
2361
fi
2362
CC=$ac_cv_prog_CC
2363
if test -n "$CC"; then
2364 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2365 90 jeremybenn
$as_echo "$CC" >&6; }
2366
else
2367 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
2368 90 jeremybenn
$as_echo "no" >&6; }
2369
fi
2370
 
2371
 
2372
fi
2373
if test -z "$CC"; then
2374
  if test -n "$ac_tool_prefix"; then
2375
  for ac_prog in cl.exe
2376
  do
2377
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2378
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2379 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2380 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2381 234 jeremybenn
if test "${ac_cv_prog_CC+set}" = set; then
2382 90 jeremybenn
  $as_echo_n "(cached) " >&6
2383
else
2384
  if test -n "$CC"; then
2385
  ac_cv_prog_CC="$CC" # Let the user override the test.
2386
else
2387
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2388
for as_dir in $PATH
2389
do
2390
  IFS=$as_save_IFS
2391
  test -z "$as_dir" && as_dir=.
2392 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
2393 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2394
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2395 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2396 90 jeremybenn
    break 2
2397
  fi
2398
done
2399 234 jeremybenn
done
2400 90 jeremybenn
IFS=$as_save_IFS
2401
 
2402
fi
2403
fi
2404
CC=$ac_cv_prog_CC
2405
if test -n "$CC"; then
2406 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2407 90 jeremybenn
$as_echo "$CC" >&6; }
2408
else
2409 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
2410 90 jeremybenn
$as_echo "no" >&6; }
2411
fi
2412
 
2413
 
2414
    test -n "$CC" && break
2415
  done
2416
fi
2417
if test -z "$CC"; then
2418
  ac_ct_CC=$CC
2419
  for ac_prog in cl.exe
2420
do
2421
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2422
set dummy $ac_prog; ac_word=$2
2423 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2424 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
2425 234 jeremybenn
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2426 90 jeremybenn
  $as_echo_n "(cached) " >&6
2427
else
2428
  if test -n "$ac_ct_CC"; then
2429
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2430
else
2431
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2432
for as_dir in $PATH
2433
do
2434
  IFS=$as_save_IFS
2435
  test -z "$as_dir" && as_dir=.
2436 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
2437 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2438
    ac_cv_prog_ac_ct_CC="$ac_prog"
2439 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 90 jeremybenn
    break 2
2441
  fi
2442
done
2443 234 jeremybenn
done
2444 90 jeremybenn
IFS=$as_save_IFS
2445
 
2446
fi
2447
fi
2448
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2449
if test -n "$ac_ct_CC"; then
2450 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2451 90 jeremybenn
$as_echo "$ac_ct_CC" >&6; }
2452
else
2453 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
2454 90 jeremybenn
$as_echo "no" >&6; }
2455
fi
2456
 
2457
 
2458
  test -n "$ac_ct_CC" && break
2459
done
2460
 
2461
  if test "x$ac_ct_CC" = x; then
2462
    CC=""
2463
  else
2464
    case $cross_compiling:$ac_tool_warned in
2465
yes:)
2466 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2467 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2468
ac_tool_warned=yes ;;
2469
esac
2470
    CC=$ac_ct_CC
2471
  fi
2472
fi
2473
 
2474
fi
2475
 
2476
 
2477 234 jeremybenn
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2478 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2479 234 jeremybenn
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2480
See \`config.log' for more details." >&5
2481
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2482
See \`config.log' for more details." >&2;}
2483
   { (exit 1); exit 1; }; }; }
2484 90 jeremybenn
 
2485
# Provide some information about the compiler.
2486 234 jeremybenn
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2487 90 jeremybenn
set X $ac_compile
2488
ac_compiler=$2
2489 234 jeremybenn
{ (ac_try="$ac_compiler --version >&5"
2490 90 jeremybenn
case "(($ac_try" in
2491
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2492
  *) ac_try_echo=$ac_try;;
2493
esac
2494 234 jeremybenn
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2495
$as_echo "$ac_try_echo") >&5
2496
  (eval "$ac_compiler --version >&5") 2>&5
2497 90 jeremybenn
  ac_status=$?
2498 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499
  (exit $ac_status); }
2500
{ (ac_try="$ac_compiler -v >&5"
2501
case "(($ac_try" in
2502
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503
  *) ac_try_echo=$ac_try;;
2504
esac
2505
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2506
$as_echo "$ac_try_echo") >&5
2507
  (eval "$ac_compiler -v >&5") 2>&5
2508
  ac_status=$?
2509
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510
  (exit $ac_status); }
2511
{ (ac_try="$ac_compiler -V >&5"
2512
case "(($ac_try" in
2513
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514
  *) ac_try_echo=$ac_try;;
2515
esac
2516
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2517
$as_echo "$ac_try_echo") >&5
2518
  (eval "$ac_compiler -V >&5") 2>&5
2519
  ac_status=$?
2520
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521
  (exit $ac_status); }
2522 90 jeremybenn
 
2523 234 jeremybenn
cat >conftest.$ac_ext <<_ACEOF
2524
/* confdefs.h.  */
2525
_ACEOF
2526
cat confdefs.h >>conftest.$ac_ext
2527
cat >>conftest.$ac_ext <<_ACEOF
2528 90 jeremybenn
/* end confdefs.h.  */
2529 234 jeremybenn
 
2530 90 jeremybenn
int
2531
main ()
2532
{
2533
 
2534
  ;
2535
  return 0;
2536
}
2537
_ACEOF
2538
ac_clean_files_save=$ac_clean_files
2539 234 jeremybenn
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2540 90 jeremybenn
# Try to create an executable without -o first, disregard a.out.
2541
# It will help us diagnose broken compilers, and finding out an intuition
2542
# of exeext.
2543 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2544 121 jeremybenn
$as_echo_n "checking for C compiler default output file name... " >&6; }
2545 90 jeremybenn
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2546
 
2547
# The possible output files:
2548
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2549
 
2550
ac_rmfiles=
2551
for ac_file in $ac_files
2552
do
2553
  case $ac_file in
2554
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2555
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2556
  esac
2557
done
2558
rm -f $ac_rmfiles
2559
 
2560 234 jeremybenn
if { (ac_try="$ac_link_default"
2561 90 jeremybenn
case "(($ac_try" in
2562
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563
  *) ac_try_echo=$ac_try;;
2564
esac
2565 234 jeremybenn
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2566
$as_echo "$ac_try_echo") >&5
2567 90 jeremybenn
  (eval "$ac_link_default") 2>&5
2568
  ac_status=$?
2569 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570
  (exit $ac_status); }; then
2571 90 jeremybenn
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2572
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2573
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2574
# so that the user can short-circuit this test for compilers unknown to
2575
# Autoconf.
2576
for ac_file in $ac_files ''
2577
do
2578
  test -f "$ac_file" || continue
2579
  case $ac_file in
2580
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2581
        ;;
2582
    [ab].out )
2583
        # We found the default executable, but exeext='' is most
2584
        # certainly right.
2585
        break;;
2586
    *.* )
2587 234 jeremybenn
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2588 90 jeremybenn
        then :; else
2589
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2590
        fi
2591
        # We set ac_cv_exeext here because the later test for it is not
2592
        # safe: cross compilers may not add the suffix if given an `-o'
2593
        # argument, so we may need to know it at that point already.
2594
        # Even if this section looks crufty: it has the advantage of
2595
        # actually working.
2596
        break;;
2597
    * )
2598
        break;;
2599
  esac
2600
done
2601
test "$ac_cv_exeext" = no && ac_cv_exeext=
2602
 
2603
else
2604
  ac_file=''
2605
fi
2606 234 jeremybenn
 
2607
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2608 121 jeremybenn
$as_echo "$ac_file" >&6; }
2609 234 jeremybenn
if test -z "$ac_file"; then
2610 121 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
2611 90 jeremybenn
sed 's/^/| /' conftest.$ac_ext >&5
2612
 
2613 234 jeremybenn
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2614 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2615 234 jeremybenn
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2616
See \`config.log' for more details." >&5
2617
$as_echo "$as_me: error: C compiler cannot create executables
2618
See \`config.log' for more details." >&2;}
2619
   { (exit 77); exit 77; }; }; }
2620 90 jeremybenn
fi
2621 234 jeremybenn
 
2622 90 jeremybenn
ac_exeext=$ac_cv_exeext
2623
 
2624 121 jeremybenn
# Check that the compiler produces executables we can run.  If not, either
2625
# the compiler is broken, or we cross compile.
2626 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2627 121 jeremybenn
$as_echo_n "checking whether the C compiler works... " >&6; }
2628 234 jeremybenn
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2629 121 jeremybenn
# If not cross compiling, check that we can run a simple program.
2630
if test "$cross_compiling" != yes; then
2631
  if { ac_try='./$ac_file'
2632 234 jeremybenn
  { (case "(($ac_try" in
2633 121 jeremybenn
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634
  *) ac_try_echo=$ac_try;;
2635
esac
2636 234 jeremybenn
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2637
$as_echo "$ac_try_echo") >&5
2638 121 jeremybenn
  (eval "$ac_try") 2>&5
2639
  ac_status=$?
2640 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641
  (exit $ac_status); }; }; then
2642 121 jeremybenn
    cross_compiling=no
2643
  else
2644
    if test "$cross_compiling" = maybe; then
2645
        cross_compiling=yes
2646
    else
2647 234 jeremybenn
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2648 121 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2649 234 jeremybenn
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2650 121 jeremybenn
If you meant to cross compile, use \`--host'.
2651 234 jeremybenn
See \`config.log' for more details." >&5
2652
$as_echo "$as_me: error: cannot run C compiled programs.
2653
If you meant to cross compile, use \`--host'.
2654
See \`config.log' for more details." >&2;}
2655
   { (exit 1); exit 1; }; }; }
2656 121 jeremybenn
    fi
2657
  fi
2658
fi
2659 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2660 121 jeremybenn
$as_echo "yes" >&6; }
2661
 
2662 234 jeremybenn
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2663 90 jeremybenn
ac_clean_files=$ac_clean_files_save
2664 121 jeremybenn
# Check that the compiler produces executables we can run.  If not, either
2665
# the compiler is broken, or we cross compile.
2666 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2667 121 jeremybenn
$as_echo_n "checking whether we are cross compiling... " >&6; }
2668 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2669 121 jeremybenn
$as_echo "$cross_compiling" >&6; }
2670
 
2671 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2672 90 jeremybenn
$as_echo_n "checking for suffix of executables... " >&6; }
2673 234 jeremybenn
if { (ac_try="$ac_link"
2674 90 jeremybenn
case "(($ac_try" in
2675
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676
  *) ac_try_echo=$ac_try;;
2677
esac
2678 234 jeremybenn
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2679
$as_echo "$ac_try_echo") >&5
2680 90 jeremybenn
  (eval "$ac_link") 2>&5
2681
  ac_status=$?
2682 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683
  (exit $ac_status); }; then
2684 90 jeremybenn
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2685
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2686
# work properly (i.e., refer to `conftest.exe'), while it won't with
2687
# `rm'.
2688
for ac_file in conftest.exe conftest conftest.*; do
2689
  test -f "$ac_file" || continue
2690
  case $ac_file in
2691
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2692
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2693
          break;;
2694
    * ) break;;
2695
  esac
2696
done
2697
else
2698 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2699 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2700 234 jeremybenn
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2701
See \`config.log' for more details." >&5
2702
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2703
See \`config.log' for more details." >&2;}
2704
   { (exit 1); exit 1; }; }; }
2705 90 jeremybenn
fi
2706 234 jeremybenn
 
2707 121 jeremybenn
rm -f conftest$ac_cv_exeext
2708 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2709 90 jeremybenn
$as_echo "$ac_cv_exeext" >&6; }
2710
 
2711
rm -f conftest.$ac_ext
2712
EXEEXT=$ac_cv_exeext
2713
ac_exeext=$EXEEXT
2714 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2715 90 jeremybenn
$as_echo_n "checking for suffix of object files... " >&6; }
2716 234 jeremybenn
if test "${ac_cv_objext+set}" = set; then
2717 90 jeremybenn
  $as_echo_n "(cached) " >&6
2718
else
2719 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
2720
/* confdefs.h.  */
2721
_ACEOF
2722
cat confdefs.h >>conftest.$ac_ext
2723
cat >>conftest.$ac_ext <<_ACEOF
2724 90 jeremybenn
/* end confdefs.h.  */
2725
 
2726
int
2727
main ()
2728
{
2729
 
2730
  ;
2731
  return 0;
2732
}
2733
_ACEOF
2734
rm -f conftest.o conftest.obj
2735 234 jeremybenn
if { (ac_try="$ac_compile"
2736 90 jeremybenn
case "(($ac_try" in
2737
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738
  *) ac_try_echo=$ac_try;;
2739
esac
2740 234 jeremybenn
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2741
$as_echo "$ac_try_echo") >&5
2742 90 jeremybenn
  (eval "$ac_compile") 2>&5
2743
  ac_status=$?
2744 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745
  (exit $ac_status); }; then
2746 90 jeremybenn
  for ac_file in conftest.o conftest.obj conftest.*; do
2747
  test -f "$ac_file" || continue;
2748
  case $ac_file in
2749
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2750
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2751
       break;;
2752
  esac
2753
done
2754
else
2755
  $as_echo "$as_me: failed program was:" >&5
2756
sed 's/^/| /' conftest.$ac_ext >&5
2757
 
2758 234 jeremybenn
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2759 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2760 234 jeremybenn
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2761
See \`config.log' for more details." >&5
2762
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2763
See \`config.log' for more details." >&2;}
2764
   { (exit 1); exit 1; }; }; }
2765 90 jeremybenn
fi
2766 234 jeremybenn
 
2767 90 jeremybenn
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2768
fi
2769 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2770 90 jeremybenn
$as_echo "$ac_cv_objext" >&6; }
2771
OBJEXT=$ac_cv_objext
2772
ac_objext=$OBJEXT
2773 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2774 90 jeremybenn
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2775 234 jeremybenn
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2776 90 jeremybenn
  $as_echo_n "(cached) " >&6
2777
else
2778 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
2779
/* confdefs.h.  */
2780
_ACEOF
2781
cat confdefs.h >>conftest.$ac_ext
2782
cat >>conftest.$ac_ext <<_ACEOF
2783 90 jeremybenn
/* end confdefs.h.  */
2784
 
2785
int
2786
main ()
2787
{
2788
#ifndef __GNUC__
2789
       choke me
2790
#endif
2791
 
2792
  ;
2793
  return 0;
2794
}
2795
_ACEOF
2796 234 jeremybenn
rm -f conftest.$ac_objext
2797
if { (ac_try="$ac_compile"
2798
case "(($ac_try" in
2799
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800
  *) ac_try_echo=$ac_try;;
2801
esac
2802
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2803
$as_echo "$ac_try_echo") >&5
2804
  (eval "$ac_compile") 2>conftest.er1
2805
  ac_status=$?
2806
  grep -v '^ *+' conftest.er1 >conftest.err
2807
  rm -f conftest.er1
2808
  cat conftest.err >&5
2809
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810
  (exit $ac_status); } && {
2811
         test -z "$ac_c_werror_flag" ||
2812
         test ! -s conftest.err
2813
       } && test -s conftest.$ac_objext; then
2814 90 jeremybenn
  ac_compiler_gnu=yes
2815
else
2816 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
2817
sed 's/^/| /' conftest.$ac_ext >&5
2818
 
2819
        ac_compiler_gnu=no
2820 90 jeremybenn
fi
2821 234 jeremybenn
 
2822 90 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2823
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2824
 
2825
fi
2826 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2827 90 jeremybenn
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2828
if test $ac_compiler_gnu = yes; then
2829
  GCC=yes
2830
else
2831
  GCC=
2832
fi
2833
ac_test_CFLAGS=${CFLAGS+set}
2834
ac_save_CFLAGS=$CFLAGS
2835 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2836 90 jeremybenn
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2837 234 jeremybenn
if test "${ac_cv_prog_cc_g+set}" = set; then
2838 90 jeremybenn
  $as_echo_n "(cached) " >&6
2839
else
2840
  ac_save_c_werror_flag=$ac_c_werror_flag
2841
   ac_c_werror_flag=yes
2842
   ac_cv_prog_cc_g=no
2843
   CFLAGS="-g"
2844 234 jeremybenn
   cat >conftest.$ac_ext <<_ACEOF
2845
/* confdefs.h.  */
2846
_ACEOF
2847
cat confdefs.h >>conftest.$ac_ext
2848
cat >>conftest.$ac_ext <<_ACEOF
2849 90 jeremybenn
/* end confdefs.h.  */
2850
 
2851
int
2852
main ()
2853
{
2854
 
2855
  ;
2856
  return 0;
2857
}
2858
_ACEOF
2859 234 jeremybenn
rm -f conftest.$ac_objext
2860
if { (ac_try="$ac_compile"
2861
case "(($ac_try" in
2862
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863
  *) ac_try_echo=$ac_try;;
2864
esac
2865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2866
$as_echo "$ac_try_echo") >&5
2867
  (eval "$ac_compile") 2>conftest.er1
2868
  ac_status=$?
2869
  grep -v '^ *+' conftest.er1 >conftest.err
2870
  rm -f conftest.er1
2871
  cat conftest.err >&5
2872
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873
  (exit $ac_status); } && {
2874
         test -z "$ac_c_werror_flag" ||
2875
         test ! -s conftest.err
2876
       } && test -s conftest.$ac_objext; then
2877 90 jeremybenn
  ac_cv_prog_cc_g=yes
2878
else
2879 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
2880
sed 's/^/| /' conftest.$ac_ext >&5
2881
 
2882
        CFLAGS=""
2883
      cat >conftest.$ac_ext <<_ACEOF
2884
/* confdefs.h.  */
2885
_ACEOF
2886
cat confdefs.h >>conftest.$ac_ext
2887
cat >>conftest.$ac_ext <<_ACEOF
2888 90 jeremybenn
/* end confdefs.h.  */
2889
 
2890
int
2891
main ()
2892
{
2893
 
2894
  ;
2895
  return 0;
2896
}
2897
_ACEOF
2898 234 jeremybenn
rm -f conftest.$ac_objext
2899
if { (ac_try="$ac_compile"
2900
case "(($ac_try" in
2901
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902
  *) ac_try_echo=$ac_try;;
2903
esac
2904
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2905
$as_echo "$ac_try_echo") >&5
2906
  (eval "$ac_compile") 2>conftest.er1
2907
  ac_status=$?
2908
  grep -v '^ *+' conftest.er1 >conftest.err
2909
  rm -f conftest.er1
2910
  cat conftest.err >&5
2911
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912
  (exit $ac_status); } && {
2913
         test -z "$ac_c_werror_flag" ||
2914
         test ! -s conftest.err
2915
       } && test -s conftest.$ac_objext; then
2916
  :
2917
else
2918
  $as_echo "$as_me: failed program was:" >&5
2919
sed 's/^/| /' conftest.$ac_ext >&5
2920 233 julius
 
2921 234 jeremybenn
        ac_c_werror_flag=$ac_save_c_werror_flag
2922 90 jeremybenn
         CFLAGS="-g"
2923 234 jeremybenn
         cat >conftest.$ac_ext <<_ACEOF
2924
/* confdefs.h.  */
2925
_ACEOF
2926
cat confdefs.h >>conftest.$ac_ext
2927
cat >>conftest.$ac_ext <<_ACEOF
2928 90 jeremybenn
/* end confdefs.h.  */
2929
 
2930
int
2931
main ()
2932
{
2933
 
2934
  ;
2935
  return 0;
2936
}
2937
_ACEOF
2938 234 jeremybenn
rm -f conftest.$ac_objext
2939
if { (ac_try="$ac_compile"
2940
case "(($ac_try" in
2941
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942
  *) ac_try_echo=$ac_try;;
2943
esac
2944
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2945
$as_echo "$ac_try_echo") >&5
2946
  (eval "$ac_compile") 2>conftest.er1
2947
  ac_status=$?
2948
  grep -v '^ *+' conftest.er1 >conftest.err
2949
  rm -f conftest.er1
2950
  cat conftest.err >&5
2951
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952
  (exit $ac_status); } && {
2953
         test -z "$ac_c_werror_flag" ||
2954
         test ! -s conftest.err
2955
       } && test -s conftest.$ac_objext; then
2956 90 jeremybenn
  ac_cv_prog_cc_g=yes
2957 234 jeremybenn
else
2958
  $as_echo "$as_me: failed program was:" >&5
2959
sed 's/^/| /' conftest.$ac_ext >&5
2960
 
2961
 
2962 90 jeremybenn
fi
2963 234 jeremybenn
 
2964 90 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965
fi
2966 234 jeremybenn
 
2967 90 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2968
fi
2969 234 jeremybenn
 
2970 90 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2971
   ac_c_werror_flag=$ac_save_c_werror_flag
2972
fi
2973 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2974 90 jeremybenn
$as_echo "$ac_cv_prog_cc_g" >&6; }
2975
if test "$ac_test_CFLAGS" = set; then
2976
  CFLAGS=$ac_save_CFLAGS
2977
elif test $ac_cv_prog_cc_g = yes; then
2978
  if test "$GCC" = yes; then
2979
    CFLAGS="-g -O2"
2980
  else
2981
    CFLAGS="-g"
2982
  fi
2983
else
2984
  if test "$GCC" = yes; then
2985
    CFLAGS="-O2"
2986
  else
2987
    CFLAGS=
2988
  fi
2989
fi
2990 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2991 90 jeremybenn
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2992 234 jeremybenn
if test "${ac_cv_prog_cc_c89+set}" = set; then
2993 90 jeremybenn
  $as_echo_n "(cached) " >&6
2994
else
2995
  ac_cv_prog_cc_c89=no
2996
ac_save_CC=$CC
2997 234 jeremybenn
cat >conftest.$ac_ext <<_ACEOF
2998
/* confdefs.h.  */
2999
_ACEOF
3000
cat confdefs.h >>conftest.$ac_ext
3001
cat >>conftest.$ac_ext <<_ACEOF
3002 90 jeremybenn
/* end confdefs.h.  */
3003
#include 
3004
#include 
3005
#include 
3006
#include 
3007
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3008
struct buf { int x; };
3009
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3010
static char *e (p, i)
3011
     char **p;
3012
     int i;
3013
{
3014
  return p[i];
3015
}
3016
static char *f (char * (*g) (char **, int), char **p, ...)
3017
{
3018
  char *s;
3019
  va_list v;
3020
  va_start (v,p);
3021
  s = g (p, va_arg (v,int));
3022
  va_end (v);
3023
  return s;
3024
}
3025
 
3026
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3027
   function prototypes and stuff, but not '\xHH' hex character constants.
3028
   These don't provoke an error unfortunately, instead are silently treated
3029
   as 'x'.  The following induces an error, until -std is added to get
3030
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3031
   array size at least.  It's necessary to write '\x00'==0 to get something
3032
   that's true only with -std.  */
3033
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3034
 
3035
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3036
   inside strings and character constants.  */
3037
#define FOO(x) 'x'
3038
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3039
 
3040
int test (int i, double x);
3041
struct s1 {int (*f) (int a);};
3042
struct s2 {int (*f) (double a);};
3043
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3044
int argc;
3045
char **argv;
3046
int
3047
main ()
3048
{
3049
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3050
  ;
3051
  return 0;
3052
}
3053
_ACEOF
3054
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3055
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3056
do
3057
  CC="$ac_save_CC $ac_arg"
3058 234 jeremybenn
  rm -f conftest.$ac_objext
3059
if { (ac_try="$ac_compile"
3060
case "(($ac_try" in
3061
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062
  *) ac_try_echo=$ac_try;;
3063
esac
3064
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3065
$as_echo "$ac_try_echo") >&5
3066
  (eval "$ac_compile") 2>conftest.er1
3067
  ac_status=$?
3068
  grep -v '^ *+' conftest.er1 >conftest.err
3069
  rm -f conftest.er1
3070
  cat conftest.err >&5
3071
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072
  (exit $ac_status); } && {
3073
         test -z "$ac_c_werror_flag" ||
3074
         test ! -s conftest.err
3075
       } && test -s conftest.$ac_objext; then
3076 90 jeremybenn
  ac_cv_prog_cc_c89=$ac_arg
3077 234 jeremybenn
else
3078
  $as_echo "$as_me: failed program was:" >&5
3079
sed 's/^/| /' conftest.$ac_ext >&5
3080
 
3081
 
3082 90 jeremybenn
fi
3083 234 jeremybenn
 
3084 90 jeremybenn
rm -f core conftest.err conftest.$ac_objext
3085
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3086
done
3087
rm -f conftest.$ac_ext
3088
CC=$ac_save_CC
3089
 
3090
fi
3091
# AC_CACHE_VAL
3092
case "x$ac_cv_prog_cc_c89" in
3093
  x)
3094 234 jeremybenn
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3095 90 jeremybenn
$as_echo "none needed" >&6; } ;;
3096
  xno)
3097 234 jeremybenn
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3098 90 jeremybenn
$as_echo "unsupported" >&6; } ;;
3099
  *)
3100
    CC="$CC $ac_cv_prog_cc_c89"
3101 234 jeremybenn
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3102 90 jeremybenn
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3103
esac
3104
 
3105
 
3106
ac_ext=c
3107
ac_cpp='$CPP $CPPFLAGS'
3108
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3109
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3110
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3111
 
3112 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3113 90 jeremybenn
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3114 234 jeremybenn
if test "${ac_cv_path_SED+set}" = set; then
3115 90 jeremybenn
  $as_echo_n "(cached) " >&6
3116
else
3117
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3118
     for ac_i in 1 2 3 4 5 6 7; do
3119
       ac_script="$ac_script$as_nl$ac_script"
3120
     done
3121
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3122 234 jeremybenn
     $as_unset ac_script || ac_script=
3123 90 jeremybenn
     if test -z "$SED"; then
3124
  ac_path_SED_found=false
3125
  # Loop through the user's path and test for each of PROGNAME-LIST
3126
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127
for as_dir in $PATH
3128
do
3129
  IFS=$as_save_IFS
3130
  test -z "$as_dir" && as_dir=.
3131 234 jeremybenn
  for ac_prog in sed gsed; do
3132 90 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3133
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3134
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3135
# Check for GNU ac_path_SED and select it if it is found.
3136
  # Check for GNU $ac_path_SED
3137
case `"$ac_path_SED" --version 2>&1` in
3138
*GNU*)
3139
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3140
*)
3141
  ac_count=0
3142
  $as_echo_n 0123456789 >"conftest.in"
3143
  while :
3144
  do
3145
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3146
    mv "conftest.tmp" "conftest.in"
3147
    cp "conftest.in" "conftest.nl"
3148
    $as_echo '' >> "conftest.nl"
3149
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3150
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3151 234 jeremybenn
    ac_count=`expr $ac_count + 1`
3152 90 jeremybenn
    if test $ac_count -gt ${ac_path_SED_max-0}; then
3153
      # Best one so far, save it but keep looking for a better one
3154
      ac_cv_path_SED="$ac_path_SED"
3155
      ac_path_SED_max=$ac_count
3156
    fi
3157
    # 10*(2^10) chars as input seems more than enough
3158
    test $ac_count -gt 10 && break
3159
  done
3160
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3161
esac
3162
 
3163
      $ac_path_SED_found && break 3
3164
    done
3165
  done
3166 234 jeremybenn
done
3167 90 jeremybenn
IFS=$as_save_IFS
3168
  if test -z "$ac_cv_path_SED"; then
3169 234 jeremybenn
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3170
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3171
   { (exit 1); exit 1; }; }
3172 90 jeremybenn
  fi
3173
else
3174
  ac_cv_path_SED=$SED
3175
fi
3176
 
3177
fi
3178 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3179 90 jeremybenn
$as_echo "$ac_cv_path_SED" >&6; }
3180
 SED="$ac_cv_path_SED"
3181
  rm -f conftest.sed
3182
 
3183
test -z "$SED" && SED=sed
3184
Xsed="$SED -e 1s/^X//"
3185
 
3186
 
3187
 
3188
 
3189
 
3190
 
3191
 
3192
 
3193
 
3194
 
3195
 
3196 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3197 90 jeremybenn
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3198 234 jeremybenn
if test "${ac_cv_path_GREP+set}" = set; then
3199 90 jeremybenn
  $as_echo_n "(cached) " >&6
3200
else
3201
  if test -z "$GREP"; then
3202
  ac_path_GREP_found=false
3203
  # Loop through the user's path and test for each of PROGNAME-LIST
3204
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3206
do
3207
  IFS=$as_save_IFS
3208
  test -z "$as_dir" && as_dir=.
3209 234 jeremybenn
  for ac_prog in grep ggrep; do
3210 90 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3211
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3212
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3213
# Check for GNU ac_path_GREP and select it if it is found.
3214
  # Check for GNU $ac_path_GREP
3215
case `"$ac_path_GREP" --version 2>&1` in
3216
*GNU*)
3217
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3218
*)
3219
  ac_count=0
3220
  $as_echo_n 0123456789 >"conftest.in"
3221
  while :
3222
  do
3223
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3224
    mv "conftest.tmp" "conftest.in"
3225
    cp "conftest.in" "conftest.nl"
3226
    $as_echo 'GREP' >> "conftest.nl"
3227
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3228
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3229 234 jeremybenn
    ac_count=`expr $ac_count + 1`
3230 90 jeremybenn
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3231
      # Best one so far, save it but keep looking for a better one
3232
      ac_cv_path_GREP="$ac_path_GREP"
3233
      ac_path_GREP_max=$ac_count
3234
    fi
3235
    # 10*(2^10) chars as input seems more than enough
3236
    test $ac_count -gt 10 && break
3237
  done
3238
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3239
esac
3240
 
3241
      $ac_path_GREP_found && break 3
3242
    done
3243
  done
3244 234 jeremybenn
done
3245 90 jeremybenn
IFS=$as_save_IFS
3246
  if test -z "$ac_cv_path_GREP"; then
3247 234 jeremybenn
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3248
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3249
   { (exit 1); exit 1; }; }
3250 90 jeremybenn
  fi
3251
else
3252
  ac_cv_path_GREP=$GREP
3253
fi
3254
 
3255
fi
3256 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3257 90 jeremybenn
$as_echo "$ac_cv_path_GREP" >&6; }
3258
 GREP="$ac_cv_path_GREP"
3259
 
3260
 
3261 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3262 90 jeremybenn
$as_echo_n "checking for egrep... " >&6; }
3263 234 jeremybenn
if test "${ac_cv_path_EGREP+set}" = set; then
3264 90 jeremybenn
  $as_echo_n "(cached) " >&6
3265
else
3266
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3267
   then ac_cv_path_EGREP="$GREP -E"
3268
   else
3269
     if test -z "$EGREP"; then
3270
  ac_path_EGREP_found=false
3271
  # Loop through the user's path and test for each of PROGNAME-LIST
3272
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3274
do
3275
  IFS=$as_save_IFS
3276
  test -z "$as_dir" && as_dir=.
3277 234 jeremybenn
  for ac_prog in egrep; do
3278 90 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3279
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3280
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3281
# Check for GNU ac_path_EGREP and select it if it is found.
3282
  # Check for GNU $ac_path_EGREP
3283
case `"$ac_path_EGREP" --version 2>&1` in
3284
*GNU*)
3285
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3286
*)
3287
  ac_count=0
3288
  $as_echo_n 0123456789 >"conftest.in"
3289
  while :
3290
  do
3291
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3292
    mv "conftest.tmp" "conftest.in"
3293
    cp "conftest.in" "conftest.nl"
3294
    $as_echo 'EGREP' >> "conftest.nl"
3295
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3296
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3297 234 jeremybenn
    ac_count=`expr $ac_count + 1`
3298 90 jeremybenn
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3299
      # Best one so far, save it but keep looking for a better one
3300
      ac_cv_path_EGREP="$ac_path_EGREP"
3301
      ac_path_EGREP_max=$ac_count
3302
    fi
3303
    # 10*(2^10) chars as input seems more than enough
3304
    test $ac_count -gt 10 && break
3305
  done
3306
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3307
esac
3308
 
3309
      $ac_path_EGREP_found && break 3
3310
    done
3311
  done
3312 234 jeremybenn
done
3313 90 jeremybenn
IFS=$as_save_IFS
3314
  if test -z "$ac_cv_path_EGREP"; then
3315 234 jeremybenn
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3316
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3317
   { (exit 1); exit 1; }; }
3318 90 jeremybenn
  fi
3319
else
3320
  ac_cv_path_EGREP=$EGREP
3321
fi
3322
 
3323
   fi
3324
fi
3325 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3326 90 jeremybenn
$as_echo "$ac_cv_path_EGREP" >&6; }
3327
 EGREP="$ac_cv_path_EGREP"
3328
 
3329
 
3330 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
3331 90 jeremybenn
$as_echo_n "checking for fgrep... " >&6; }
3332 234 jeremybenn
if test "${ac_cv_path_FGREP+set}" = set; then
3333 90 jeremybenn
  $as_echo_n "(cached) " >&6
3334
else
3335
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3336
   then ac_cv_path_FGREP="$GREP -F"
3337
   else
3338
     if test -z "$FGREP"; then
3339
  ac_path_FGREP_found=false
3340
  # Loop through the user's path and test for each of PROGNAME-LIST
3341
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3343
do
3344
  IFS=$as_save_IFS
3345
  test -z "$as_dir" && as_dir=.
3346 234 jeremybenn
  for ac_prog in fgrep; do
3347 90 jeremybenn
    for ac_exec_ext in '' $ac_executable_extensions; do
3348
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3349
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3350
# Check for GNU ac_path_FGREP and select it if it is found.
3351
  # Check for GNU $ac_path_FGREP
3352
case `"$ac_path_FGREP" --version 2>&1` in
3353
*GNU*)
3354
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3355
*)
3356
  ac_count=0
3357
  $as_echo_n 0123456789 >"conftest.in"
3358
  while :
3359
  do
3360
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3361
    mv "conftest.tmp" "conftest.in"
3362
    cp "conftest.in" "conftest.nl"
3363
    $as_echo 'FGREP' >> "conftest.nl"
3364
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3365
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3366 234 jeremybenn
    ac_count=`expr $ac_count + 1`
3367 90 jeremybenn
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3368
      # Best one so far, save it but keep looking for a better one
3369
      ac_cv_path_FGREP="$ac_path_FGREP"
3370
      ac_path_FGREP_max=$ac_count
3371
    fi
3372
    # 10*(2^10) chars as input seems more than enough
3373
    test $ac_count -gt 10 && break
3374
  done
3375
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3376
esac
3377
 
3378
      $ac_path_FGREP_found && break 3
3379
    done
3380
  done
3381 234 jeremybenn
done
3382 90 jeremybenn
IFS=$as_save_IFS
3383
  if test -z "$ac_cv_path_FGREP"; then
3384 234 jeremybenn
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3385
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3386
   { (exit 1); exit 1; }; }
3387 90 jeremybenn
  fi
3388
else
3389
  ac_cv_path_FGREP=$FGREP
3390
fi
3391
 
3392
   fi
3393
fi
3394 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
3395 90 jeremybenn
$as_echo "$ac_cv_path_FGREP" >&6; }
3396
 FGREP="$ac_cv_path_FGREP"
3397
 
3398
 
3399
test -z "$GREP" && GREP=grep
3400
 
3401
 
3402
 
3403
 
3404
 
3405
 
3406
 
3407
 
3408
 
3409
 
3410
 
3411
 
3412
 
3413
 
3414
 
3415
 
3416
 
3417
 
3418
 
3419
# Check whether --with-gnu-ld was given.
3420 234 jeremybenn
if test "${with_gnu_ld+set}" = set; then
3421 90 jeremybenn
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3422
else
3423
  with_gnu_ld=no
3424
fi
3425
 
3426
ac_prog=ld
3427
if test "$GCC" = yes; then
3428
  # Check if gcc -print-prog-name=ld gives a path.
3429 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3430 90 jeremybenn
$as_echo_n "checking for ld used by $CC... " >&6; }
3431
  case $host in
3432
  *-*-mingw*)
3433
    # gcc leaves a trailing carriage return which upsets mingw
3434
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3435
  *)
3436
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3437
  esac
3438
  case $ac_prog in
3439
    # Accept absolute paths.
3440
    [\\/]* | ?:[\\/]*)
3441
      re_direlt='/[^/][^/]*/\.\./'
3442
      # Canonicalize the pathname of ld
3443
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
3444
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
3445
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
3446
      done
3447
      test -z "$LD" && LD="$ac_prog"
3448
      ;;
3449
  "")
3450
    # If it fails, then pretend we aren't using GCC.
3451
    ac_prog=ld
3452
    ;;
3453
  *)
3454
    # If it is relative, then search for the first ld in PATH.
3455
    with_gnu_ld=unknown
3456
    ;;
3457
  esac
3458
elif test "$with_gnu_ld" = yes; then
3459 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
3460 90 jeremybenn
$as_echo_n "checking for GNU ld... " >&6; }
3461
else
3462 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3463 90 jeremybenn
$as_echo_n "checking for non-GNU ld... " >&6; }
3464
fi
3465 234 jeremybenn
if test "${lt_cv_path_LD+set}" = set; then
3466 90 jeremybenn
  $as_echo_n "(cached) " >&6
3467
else
3468
  if test -z "$LD"; then
3469
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3470
  for ac_dir in $PATH; do
3471
    IFS="$lt_save_ifs"
3472
    test -z "$ac_dir" && ac_dir=.
3473
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3474
      lt_cv_path_LD="$ac_dir/$ac_prog"
3475
      # Check to see if the program is GNU ld.  I'd rather use --version,
3476
      # but apparently some variants of GNU ld only accept -v.
3477
      # Break only if it was the GNU/non-GNU ld that we prefer.
3478
      case `"$lt_cv_path_LD" -v 2>&1 
3479
      *GNU* | *'with BFD'*)
3480
        test "$with_gnu_ld" != no && break
3481
        ;;
3482
      *)
3483
        test "$with_gnu_ld" != yes && break
3484
        ;;
3485
      esac
3486
    fi
3487
  done
3488
  IFS="$lt_save_ifs"
3489
else
3490
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
3491
fi
3492
fi
3493
 
3494
LD="$lt_cv_path_LD"
3495
if test -n "$LD"; then
3496 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
3497 90 jeremybenn
$as_echo "$LD" >&6; }
3498
else
3499 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
3500 90 jeremybenn
$as_echo "no" >&6; }
3501
fi
3502 234 jeremybenn
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3503
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3504
   { (exit 1); exit 1; }; }
3505
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3506 90 jeremybenn
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
3507 234 jeremybenn
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3508 90 jeremybenn
  $as_echo_n "(cached) " >&6
3509
else
3510
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3511
case `$LD -v 2>&1 
3512
*GNU* | *'with BFD'*)
3513
  lt_cv_prog_gnu_ld=yes
3514
  ;;
3515
*)
3516
  lt_cv_prog_gnu_ld=no
3517
  ;;
3518
esac
3519
fi
3520 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3521 90 jeremybenn
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
3522
with_gnu_ld=$lt_cv_prog_gnu_ld
3523
 
3524
 
3525
 
3526
 
3527
 
3528
 
3529
 
3530
 
3531
 
3532 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
3533 90 jeremybenn
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
3534 234 jeremybenn
if test "${lt_cv_path_NM+set}" = set; then
3535 90 jeremybenn
  $as_echo_n "(cached) " >&6
3536
else
3537
  if test -n "$NM"; then
3538
  # Let the user override the test.
3539
  lt_cv_path_NM="$NM"
3540
else
3541
  lt_nm_to_check="${ac_tool_prefix}nm"
3542
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
3543
    lt_nm_to_check="$lt_nm_to_check nm"
3544
  fi
3545
  for lt_tmp_nm in $lt_nm_to_check; do
3546
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3547
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
3548
      IFS="$lt_save_ifs"
3549
      test -z "$ac_dir" && ac_dir=.
3550
      tmp_nm="$ac_dir/$lt_tmp_nm"
3551
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
3552
        # Check to see if the nm accepts a BSD-compat flag.
3553
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3554
        #   nm: unknown option "B" ignored
3555
        # Tru64's nm complains that /dev/null is an invalid object file
3556
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
3557
        */dev/null* | *'Invalid file or object type'*)
3558
          lt_cv_path_NM="$tmp_nm -B"
3559
          break
3560
          ;;
3561
        *)
3562
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
3563
          */dev/null*)
3564
            lt_cv_path_NM="$tmp_nm -p"
3565
            break
3566
            ;;
3567
          *)
3568
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3569
            continue # so that we can try to find one that supports BSD flags
3570
            ;;
3571
          esac
3572
          ;;
3573
        esac
3574
      fi
3575
    done
3576
    IFS="$lt_save_ifs"
3577
  done
3578
  : ${lt_cv_path_NM=no}
3579
fi
3580
fi
3581 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3582 90 jeremybenn
$as_echo "$lt_cv_path_NM" >&6; }
3583
if test "$lt_cv_path_NM" != "no"; then
3584
  NM="$lt_cv_path_NM"
3585
else
3586
  # Didn't find any BSD compatible name lister, look for dumpbin.
3587
  if test -n "$ac_tool_prefix"; then
3588
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3589
  do
3590
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3591
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3592 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3593 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
3594 234 jeremybenn
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
3595 90 jeremybenn
  $as_echo_n "(cached) " >&6
3596
else
3597
  if test -n "$DUMPBIN"; then
3598
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
3599
else
3600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601
for as_dir in $PATH
3602
do
3603
  IFS=$as_save_IFS
3604
  test -z "$as_dir" && as_dir=.
3605 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
3606 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
3608 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 90 jeremybenn
    break 2
3610
  fi
3611
done
3612 234 jeremybenn
done
3613 90 jeremybenn
IFS=$as_save_IFS
3614
 
3615
fi
3616
fi
3617
DUMPBIN=$ac_cv_prog_DUMPBIN
3618
if test -n "$DUMPBIN"; then
3619 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
3620 90 jeremybenn
$as_echo "$DUMPBIN" >&6; }
3621
else
3622 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
3623 90 jeremybenn
$as_echo "no" >&6; }
3624
fi
3625
 
3626
 
3627
    test -n "$DUMPBIN" && break
3628
  done
3629
fi
3630
if test -z "$DUMPBIN"; then
3631
  ac_ct_DUMPBIN=$DUMPBIN
3632
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
3633
do
3634
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3635
set dummy $ac_prog; ac_word=$2
3636 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3637 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
3638 234 jeremybenn
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
3639 90 jeremybenn
  $as_echo_n "(cached) " >&6
3640
else
3641
  if test -n "$ac_ct_DUMPBIN"; then
3642
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
3643
else
3644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645
for as_dir in $PATH
3646
do
3647
  IFS=$as_save_IFS
3648
  test -z "$as_dir" && as_dir=.
3649 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
3650 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
3652 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 90 jeremybenn
    break 2
3654
  fi
3655
done
3656 234 jeremybenn
done
3657 90 jeremybenn
IFS=$as_save_IFS
3658
 
3659
fi
3660
fi
3661
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
3662
if test -n "$ac_ct_DUMPBIN"; then
3663 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
3664 90 jeremybenn
$as_echo "$ac_ct_DUMPBIN" >&6; }
3665
else
3666 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
3667 90 jeremybenn
$as_echo "no" >&6; }
3668
fi
3669
 
3670
 
3671
  test -n "$ac_ct_DUMPBIN" && break
3672
done
3673
 
3674
  if test "x$ac_ct_DUMPBIN" = x; then
3675
    DUMPBIN=":"
3676
  else
3677
    case $cross_compiling:$ac_tool_warned in
3678
yes:)
3679 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3680 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3681
ac_tool_warned=yes ;;
3682
esac
3683
    DUMPBIN=$ac_ct_DUMPBIN
3684
  fi
3685
fi
3686
 
3687
 
3688
  if test "$DUMPBIN" != ":"; then
3689
    NM="$DUMPBIN"
3690
  fi
3691
fi
3692
test -z "$NM" && NM=nm
3693
 
3694
 
3695
 
3696
 
3697
 
3698
 
3699 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
3700 90 jeremybenn
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
3701 234 jeremybenn
if test "${lt_cv_nm_interface+set}" = set; then
3702 90 jeremybenn
  $as_echo_n "(cached) " >&6
3703
else
3704
  lt_cv_nm_interface="BSD nm"
3705
  echo "int some_variable = 0;" > conftest.$ac_ext
3706 234 jeremybenn
  (eval echo "\"\$as_me:3706: $ac_compile\"" >&5)
3707 90 jeremybenn
  (eval "$ac_compile" 2>conftest.err)
3708
  cat conftest.err >&5
3709 234 jeremybenn
  (eval echo "\"\$as_me:3709: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
3710 90 jeremybenn
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3711
  cat conftest.err >&5
3712 234 jeremybenn
  (eval echo "\"\$as_me:3712: output\"" >&5)
3713 90 jeremybenn
  cat conftest.out >&5
3714
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3715
    lt_cv_nm_interface="MS dumpbin"
3716
  fi
3717
  rm -f conftest*
3718
fi
3719 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
3720 90 jeremybenn
$as_echo "$lt_cv_nm_interface" >&6; }
3721
 
3722 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3723 90 jeremybenn
$as_echo_n "checking whether ln -s works... " >&6; }
3724
LN_S=$as_ln_s
3725
if test "$LN_S" = "ln -s"; then
3726 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: yes" >&5
3727 90 jeremybenn
$as_echo "yes" >&6; }
3728
else
3729 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3730 90 jeremybenn
$as_echo "no, using $LN_S" >&6; }
3731
fi
3732
 
3733
# find the maximum length of command line arguments
3734 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
3735 90 jeremybenn
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
3736 234 jeremybenn
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
3737 90 jeremybenn
  $as_echo_n "(cached) " >&6
3738
else
3739
    i=0
3740
  teststring="ABCD"
3741
 
3742
  case $build_os in
3743
  msdosdjgpp*)
3744
    # On DJGPP, this test can blow up pretty badly due to problems in libc
3745
    # (any single argument exceeding 2000 bytes causes a buffer overrun
3746
    # during glob expansion).  Even if it were fixed, the result of this
3747
    # check would be larger than it should be.
3748
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
3749
    ;;
3750
 
3751
  gnu*)
3752
    # Under GNU Hurd, this test is not required because there is
3753
    # no limit to the length of command line arguments.
3754
    # Libtool will interpret -1 as no limit whatsoever
3755
    lt_cv_sys_max_cmd_len=-1;
3756
    ;;
3757
 
3758
  cygwin* | mingw* | cegcc*)
3759
    # On Win9x/ME, this test blows up -- it succeeds, but takes
3760
    # about 5 minutes as the teststring grows exponentially.
3761
    # Worse, since 9x/ME are not pre-emptively multitasking,
3762
    # you end up with a "frozen" computer, even though with patience
3763
    # the test eventually succeeds (with a max line length of 256k).
3764
    # Instead, let's just punt: use the minimum linelength reported by
3765
    # all of the supported platforms: 8192 (on NT/2K/XP).
3766
    lt_cv_sys_max_cmd_len=8192;
3767
    ;;
3768
 
3769
  amigaos*)
3770
    # On AmigaOS with pdksh, this test takes hours, literally.
3771
    # So we just punt and use a minimum line length of 8192.
3772
    lt_cv_sys_max_cmd_len=8192;
3773
    ;;
3774
 
3775
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
3776
    # This has been around since 386BSD, at least.  Likely further.
3777
    if test -x /sbin/sysctl; then
3778
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
3779
    elif test -x /usr/sbin/sysctl; then
3780
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
3781
    else
3782
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
3783
    fi
3784
    # And add a safety zone
3785
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3786
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3787
    ;;
3788
 
3789
  interix*)
3790
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
3791
    lt_cv_sys_max_cmd_len=196608
3792
    ;;
3793
 
3794
  osf*)
3795
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
3796
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
3797
    # nice to cause kernel panics so lets avoid the loop below.
3798
    # First set a reasonable default.
3799
    lt_cv_sys_max_cmd_len=16384
3800
    #
3801
    if test -x /sbin/sysconfig; then
3802
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
3803
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
3804
      esac
3805
    fi
3806
    ;;
3807
  sco3.2v5*)
3808
    lt_cv_sys_max_cmd_len=102400
3809
    ;;
3810
  sysv5* | sco5v6* | sysv4.2uw2*)
3811
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
3812
    if test -n "$kargmax"; then
3813
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
3814
    else
3815
      lt_cv_sys_max_cmd_len=32768
3816
    fi
3817
    ;;
3818
  *)
3819
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
3820
    if test -n "$lt_cv_sys_max_cmd_len"; then
3821
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
3822
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
3823
    else
3824
      # Make teststring a little bigger before we do anything with it.
3825
      # a 1K string should be a reasonable start.
3826
      for i in 1 2 3 4 5 6 7 8 ; do
3827
        teststring=$teststring$teststring
3828
      done
3829
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
3830
      # If test is not a shell built-in, we'll probably end up computing a
3831
      # maximum length that is only half of the actual maximum length, but
3832
      # we can't tell.
3833
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3834
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
3835
              test $i != 17 # 1/2 MB should be enough
3836
      do
3837
        i=`expr $i + 1`
3838
        teststring=$teststring$teststring
3839
      done
3840
      # Only check the string length outside the loop.
3841
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
3842
      teststring=
3843
      # Add a significant safety factor because C++ compilers can tack on
3844
      # massive amounts of additional arguments before passing them to the
3845
      # linker.  It appears as though 1/2 is a usable value.
3846
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
3847
    fi
3848
    ;;
3849
  esac
3850
 
3851
fi
3852
 
3853
if test -n $lt_cv_sys_max_cmd_len ; then
3854 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
3855 90 jeremybenn
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
3856
else
3857 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: none" >&5
3858 90 jeremybenn
$as_echo "none" >&6; }
3859
fi
3860
max_cmd_len=$lt_cv_sys_max_cmd_len
3861
 
3862
 
3863
 
3864
 
3865
 
3866
 
3867
: ${CP="cp -f"}
3868
: ${MV="mv -f"}
3869
: ${RM="rm -f"}
3870
 
3871 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
3872 90 jeremybenn
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
3873
# Try some XSI features
3874
xsi_shell=no
3875
( _lt_dummy="a/b/c"
3876
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
3877
      = c,a/b,, \
3878
    && eval 'test $(( 1 + 1 )) -eq 2 \
3879
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
3880
  && xsi_shell=yes
3881 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
3882 90 jeremybenn
$as_echo "$xsi_shell" >&6; }
3883
 
3884
 
3885 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
3886 90 jeremybenn
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
3887
lt_shell_append=no
3888
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
3889
    >/dev/null 2>&1 \
3890
  && lt_shell_append=yes
3891 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
3892 90 jeremybenn
$as_echo "$lt_shell_append" >&6; }
3893
 
3894
 
3895
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3896
  lt_unset=unset
3897
else
3898
  lt_unset=false
3899
fi
3900
 
3901
 
3902
 
3903
 
3904
 
3905
# test EBCDIC or ASCII
3906
case `echo X|tr X '\101'` in
3907
 A) # ASCII based system
3908
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
3909
  lt_SP2NL='tr \040 \012'
3910
  lt_NL2SP='tr \015\012 \040\040'
3911
  ;;
3912
 *) # EBCDIC based system
3913
  lt_SP2NL='tr \100 \n'
3914
  lt_NL2SP='tr \r\n \100\100'
3915
  ;;
3916
esac
3917
 
3918
 
3919
 
3920
 
3921
 
3922
 
3923
 
3924
 
3925
 
3926 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3927 90 jeremybenn
$as_echo_n "checking for $LD option to reload object files... " >&6; }
3928 234 jeremybenn
if test "${lt_cv_ld_reload_flag+set}" = set; then
3929 90 jeremybenn
  $as_echo_n "(cached) " >&6
3930
else
3931
  lt_cv_ld_reload_flag='-r'
3932
fi
3933 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3934 90 jeremybenn
$as_echo "$lt_cv_ld_reload_flag" >&6; }
3935
reload_flag=$lt_cv_ld_reload_flag
3936
case $reload_flag in
3937
"" | " "*) ;;
3938
*) reload_flag=" $reload_flag" ;;
3939
esac
3940
reload_cmds='$LD$reload_flag -o $output$reload_objs'
3941
case $host_os in
3942
  darwin*)
3943
    if test "$GCC" = yes; then
3944
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
3945
    else
3946
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
3947
    fi
3948
    ;;
3949
esac
3950
 
3951
 
3952
 
3953
 
3954
 
3955
 
3956
 
3957
 
3958
 
3959
if test -n "$ac_tool_prefix"; then
3960
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3961
set dummy ${ac_tool_prefix}objdump; ac_word=$2
3962 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3963 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
3964 234 jeremybenn
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3965 90 jeremybenn
  $as_echo_n "(cached) " >&6
3966
else
3967
  if test -n "$OBJDUMP"; then
3968
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3969
else
3970
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3971
for as_dir in $PATH
3972
do
3973
  IFS=$as_save_IFS
3974
  test -z "$as_dir" && as_dir=.
3975 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
3976 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3977
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3978 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3979 90 jeremybenn
    break 2
3980
  fi
3981
done
3982 234 jeremybenn
done
3983 90 jeremybenn
IFS=$as_save_IFS
3984
 
3985
fi
3986
fi
3987
OBJDUMP=$ac_cv_prog_OBJDUMP
3988
if test -n "$OBJDUMP"; then
3989 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3990 90 jeremybenn
$as_echo "$OBJDUMP" >&6; }
3991
else
3992 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
3993 90 jeremybenn
$as_echo "no" >&6; }
3994
fi
3995
 
3996
 
3997
fi
3998
if test -z "$ac_cv_prog_OBJDUMP"; then
3999
  ac_ct_OBJDUMP=$OBJDUMP
4000
  # Extract the first word of "objdump", so it can be a program name with args.
4001
set dummy objdump; ac_word=$2
4002 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4003 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
4004 234 jeremybenn
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4005 90 jeremybenn
  $as_echo_n "(cached) " >&6
4006
else
4007
  if test -n "$ac_ct_OBJDUMP"; then
4008
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4009
else
4010
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011
for as_dir in $PATH
4012
do
4013
  IFS=$as_save_IFS
4014
  test -z "$as_dir" && as_dir=.
4015 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
4016 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4017
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4018 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 90 jeremybenn
    break 2
4020
  fi
4021
done
4022 234 jeremybenn
done
4023 90 jeremybenn
IFS=$as_save_IFS
4024
 
4025
fi
4026
fi
4027
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4028
if test -n "$ac_ct_OBJDUMP"; then
4029 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4030 90 jeremybenn
$as_echo "$ac_ct_OBJDUMP" >&6; }
4031
else
4032 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
4033 90 jeremybenn
$as_echo "no" >&6; }
4034
fi
4035
 
4036
  if test "x$ac_ct_OBJDUMP" = x; then
4037
    OBJDUMP="false"
4038
  else
4039
    case $cross_compiling:$ac_tool_warned in
4040
yes:)
4041 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4042 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4043
ac_tool_warned=yes ;;
4044
esac
4045
    OBJDUMP=$ac_ct_OBJDUMP
4046
  fi
4047
else
4048
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4049
fi
4050
 
4051
test -z "$OBJDUMP" && OBJDUMP=objdump
4052
 
4053
 
4054
 
4055
 
4056
 
4057
 
4058
 
4059
 
4060
 
4061 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4062 90 jeremybenn
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4063 234 jeremybenn
if test "${lt_cv_deplibs_check_method+set}" = set; then
4064 90 jeremybenn
  $as_echo_n "(cached) " >&6
4065
else
4066
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4067
lt_cv_file_magic_test_file=
4068
lt_cv_deplibs_check_method='unknown'
4069
# Need to set the preceding variable on all platforms that support
4070
# interlibrary dependencies.
4071
# 'none' -- dependencies not supported.
4072
# `unknown' -- same as none, but documents that we really don't know.
4073
# 'pass_all' -- all dependencies passed with no checks.
4074
# 'test_compile' -- check by making test program.
4075
# 'file_magic [[regex]]' -- check by looking for files in library path
4076
# which responds to the $file_magic_cmd with a given extended regex.
4077
# If you have `file' or equivalent on your system and you're not sure
4078
# whether `pass_all' will *always* work, you probably want this one.
4079
 
4080
case $host_os in
4081
aix[4-9]*)
4082
  lt_cv_deplibs_check_method=pass_all
4083
  ;;
4084
 
4085
beos*)
4086
  lt_cv_deplibs_check_method=pass_all
4087
  ;;
4088
 
4089
bsdi[45]*)
4090
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4091
  lt_cv_file_magic_cmd='/usr/bin/file -L'
4092
  lt_cv_file_magic_test_file=/shlib/libc.so
4093
  ;;
4094
 
4095
cygwin*)
4096
  # func_win32_libid is a shell function defined in ltmain.sh
4097
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4098
  lt_cv_file_magic_cmd='func_win32_libid'
4099
  ;;
4100
 
4101
mingw* | pw32*)
4102
  # Base MSYS/MinGW do not provide the 'file' command needed by
4103
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4104
  # unless we find 'file', for example because we are cross-compiling.
4105
  if ( file / ) >/dev/null 2>&1; then
4106
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4107
    lt_cv_file_magic_cmd='func_win32_libid'
4108
  else
4109
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4110
    lt_cv_file_magic_cmd='$OBJDUMP -f'
4111
  fi
4112
  ;;
4113
 
4114
cegcc)
4115
  # use the weaker test based on 'objdump'. See mingw*.
4116
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4117
  lt_cv_file_magic_cmd='$OBJDUMP -f'
4118
  ;;
4119
 
4120
darwin* | rhapsody*)
4121
  lt_cv_deplibs_check_method=pass_all
4122
  ;;
4123
 
4124
freebsd* | dragonfly*)
4125
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4126
    case $host_cpu in
4127
    i*86 )
4128
      # Not sure whether the presence of OpenBSD here was a mistake.
4129
      # Let's accept both of them until this is cleared up.
4130
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4131
      lt_cv_file_magic_cmd=/usr/bin/file
4132
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4133
      ;;
4134
    esac
4135
  else
4136
    lt_cv_deplibs_check_method=pass_all
4137
  fi
4138
  ;;
4139
 
4140
gnu*)
4141
  lt_cv_deplibs_check_method=pass_all
4142
  ;;
4143
 
4144
hpux10.20* | hpux11*)
4145
  lt_cv_file_magic_cmd=/usr/bin/file
4146
  case $host_cpu in
4147
  ia64*)
4148
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4149
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4150
    ;;
4151
  hppa*64*)
4152
    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]'
4153
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4154
    ;;
4155
  *)
4156
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4157
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4158
    ;;
4159
  esac
4160
  ;;
4161
 
4162
interix[3-9]*)
4163
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4164
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4165
  ;;
4166
 
4167
irix5* | irix6* | nonstopux*)
4168
  case $LD in
4169
  *-32|*"-32 ") libmagic=32-bit;;
4170
  *-n32|*"-n32 ") libmagic=N32;;
4171
  *-64|*"-64 ") libmagic=64-bit;;
4172
  *) libmagic=never-match;;
4173
  esac
4174
  lt_cv_deplibs_check_method=pass_all
4175
  ;;
4176
 
4177
# This must be Linux ELF.
4178
linux* | k*bsd*-gnu)
4179
  lt_cv_deplibs_check_method=pass_all
4180
  ;;
4181
 
4182 93 jeremybenn
netbsd* | netbsdelf*-gnu)
4183 90 jeremybenn
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4184
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4185
  else
4186
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4187
  fi
4188
  ;;
4189
 
4190
newos6*)
4191
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4192
  lt_cv_file_magic_cmd=/usr/bin/file
4193
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4194
  ;;
4195
 
4196
*nto* | *qnx*)
4197
  lt_cv_deplibs_check_method=pass_all
4198
  ;;
4199
 
4200
openbsd*)
4201
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4202
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4203
  else
4204
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4205
  fi
4206
  ;;
4207
 
4208
osf3* | osf4* | osf5*)
4209
  lt_cv_deplibs_check_method=pass_all
4210
  ;;
4211
 
4212
rdos*)
4213
  lt_cv_deplibs_check_method=pass_all
4214
  ;;
4215
 
4216
solaris*)
4217
  lt_cv_deplibs_check_method=pass_all
4218
  ;;
4219
 
4220
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4221
  lt_cv_deplibs_check_method=pass_all
4222
  ;;
4223
 
4224
sysv4 | sysv4.3*)
4225
  case $host_vendor in
4226
  motorola)
4227
    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]'
4228
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4229
    ;;
4230
  ncr)
4231
    lt_cv_deplibs_check_method=pass_all
4232
    ;;
4233
  sequent)
4234
    lt_cv_file_magic_cmd='/bin/file'
4235
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4236
    ;;
4237
  sni)
4238
    lt_cv_file_magic_cmd='/bin/file'
4239
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4240
    lt_cv_file_magic_test_file=/lib/libc.so
4241
    ;;
4242
  siemens)
4243
    lt_cv_deplibs_check_method=pass_all
4244
    ;;
4245
  pc)
4246
    lt_cv_deplibs_check_method=pass_all
4247
    ;;
4248
  esac
4249
  ;;
4250
 
4251
tpf*)
4252
  lt_cv_deplibs_check_method=pass_all
4253
  ;;
4254
esac
4255
 
4256
fi
4257 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4258 90 jeremybenn
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4259
file_magic_cmd=$lt_cv_file_magic_cmd
4260
deplibs_check_method=$lt_cv_deplibs_check_method
4261
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4262
 
4263
 
4264
 
4265
 
4266
 
4267
 
4268
 
4269
 
4270
 
4271
 
4272
 
4273
 
4274
if test -n "$ac_tool_prefix"; then
4275
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4276
set dummy ${ac_tool_prefix}ar; ac_word=$2
4277 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4278 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
4279 234 jeremybenn
if test "${ac_cv_prog_AR+set}" = set; then
4280 90 jeremybenn
  $as_echo_n "(cached) " >&6
4281
else
4282
  if test -n "$AR"; then
4283
  ac_cv_prog_AR="$AR" # Let the user override the test.
4284
else
4285
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286
for as_dir in $PATH
4287
do
4288
  IFS=$as_save_IFS
4289
  test -z "$as_dir" && as_dir=.
4290 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
4291 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4292
    ac_cv_prog_AR="${ac_tool_prefix}ar"
4293 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 90 jeremybenn
    break 2
4295
  fi
4296
done
4297 234 jeremybenn
done
4298 90 jeremybenn
IFS=$as_save_IFS
4299
 
4300
fi
4301
fi
4302
AR=$ac_cv_prog_AR
4303
if test -n "$AR"; then
4304 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
4305 90 jeremybenn
$as_echo "$AR" >&6; }
4306
else
4307 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
4308 90 jeremybenn
$as_echo "no" >&6; }
4309
fi
4310
 
4311
 
4312
fi
4313
if test -z "$ac_cv_prog_AR"; then
4314
  ac_ct_AR=$AR
4315
  # Extract the first word of "ar", so it can be a program name with args.
4316
set dummy ar; ac_word=$2
4317 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4318 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
4319 234 jeremybenn
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4320 90 jeremybenn
  $as_echo_n "(cached) " >&6
4321
else
4322
  if test -n "$ac_ct_AR"; then
4323
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4324
else
4325
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4326
for as_dir in $PATH
4327
do
4328
  IFS=$as_save_IFS
4329
  test -z "$as_dir" && as_dir=.
4330 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
4331 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332
    ac_cv_prog_ac_ct_AR="ar"
4333 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 90 jeremybenn
    break 2
4335
  fi
4336
done
4337 234 jeremybenn
done
4338 90 jeremybenn
IFS=$as_save_IFS
4339
 
4340
fi
4341
fi
4342
ac_ct_AR=$ac_cv_prog_ac_ct_AR
4343
if test -n "$ac_ct_AR"; then
4344 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4345 90 jeremybenn
$as_echo "$ac_ct_AR" >&6; }
4346
else
4347 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
4348 90 jeremybenn
$as_echo "no" >&6; }
4349
fi
4350
 
4351
  if test "x$ac_ct_AR" = x; then
4352
    AR="false"
4353
  else
4354
    case $cross_compiling:$ac_tool_warned in
4355
yes:)
4356 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4357 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4358
ac_tool_warned=yes ;;
4359
esac
4360
    AR=$ac_ct_AR
4361
  fi
4362
else
4363
  AR="$ac_cv_prog_AR"
4364
fi
4365
 
4366
test -z "$AR" && AR=ar
4367
test -z "$AR_FLAGS" && AR_FLAGS=cru
4368
 
4369
 
4370
 
4371
 
4372
 
4373
 
4374
 
4375
 
4376
 
4377
 
4378
 
4379
if test -n "$ac_tool_prefix"; then
4380
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4381
set dummy ${ac_tool_prefix}strip; ac_word=$2
4382 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4383 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
4384 234 jeremybenn
if test "${ac_cv_prog_STRIP+set}" = set; then
4385 90 jeremybenn
  $as_echo_n "(cached) " >&6
4386
else
4387
  if test -n "$STRIP"; then
4388
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4389
else
4390
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391
for as_dir in $PATH
4392
do
4393
  IFS=$as_save_IFS
4394
  test -z "$as_dir" && as_dir=.
4395 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
4396 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4397
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4398 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 90 jeremybenn
    break 2
4400
  fi
4401
done
4402 234 jeremybenn
done
4403 90 jeremybenn
IFS=$as_save_IFS
4404
 
4405
fi
4406
fi
4407
STRIP=$ac_cv_prog_STRIP
4408
if test -n "$STRIP"; then
4409 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
4410 90 jeremybenn
$as_echo "$STRIP" >&6; }
4411
else
4412 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
4413 90 jeremybenn
$as_echo "no" >&6; }
4414
fi
4415
 
4416
 
4417
fi
4418
if test -z "$ac_cv_prog_STRIP"; then
4419
  ac_ct_STRIP=$STRIP
4420
  # Extract the first word of "strip", so it can be a program name with args.
4421
set dummy strip; ac_word=$2
4422 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4423 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
4424 234 jeremybenn
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4425 90 jeremybenn
  $as_echo_n "(cached) " >&6
4426
else
4427
  if test -n "$ac_ct_STRIP"; then
4428
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4429
else
4430
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4431
for as_dir in $PATH
4432
do
4433
  IFS=$as_save_IFS
4434
  test -z "$as_dir" && as_dir=.
4435 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
4436 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4437
    ac_cv_prog_ac_ct_STRIP="strip"
4438 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 90 jeremybenn
    break 2
4440
  fi
4441
done
4442 234 jeremybenn
done
4443 90 jeremybenn
IFS=$as_save_IFS
4444
 
4445
fi
4446
fi
4447
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4448
if test -n "$ac_ct_STRIP"; then
4449 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4450 90 jeremybenn
$as_echo "$ac_ct_STRIP" >&6; }
4451
else
4452 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
4453 90 jeremybenn
$as_echo "no" >&6; }
4454
fi
4455
 
4456
  if test "x$ac_ct_STRIP" = x; then
4457
    STRIP=":"
4458
  else
4459
    case $cross_compiling:$ac_tool_warned in
4460
yes:)
4461 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4462 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4463
ac_tool_warned=yes ;;
4464
esac
4465
    STRIP=$ac_ct_STRIP
4466
  fi
4467
else
4468
  STRIP="$ac_cv_prog_STRIP"
4469
fi
4470
 
4471
test -z "$STRIP" && STRIP=:
4472
 
4473
 
4474
 
4475
 
4476
 
4477
 
4478
if test -n "$ac_tool_prefix"; then
4479
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4480
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4481 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
4483 234 jeremybenn
if test "${ac_cv_prog_RANLIB+set}" = set; then
4484 90 jeremybenn
  $as_echo_n "(cached) " >&6
4485
else
4486
  if test -n "$RANLIB"; then
4487
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4488
else
4489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490
for as_dir in $PATH
4491
do
4492
  IFS=$as_save_IFS
4493
  test -z "$as_dir" && as_dir=.
4494 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
4495 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4497 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 90 jeremybenn
    break 2
4499
  fi
4500
done
4501 234 jeremybenn
done
4502 90 jeremybenn
IFS=$as_save_IFS
4503
 
4504
fi
4505
fi
4506
RANLIB=$ac_cv_prog_RANLIB
4507
if test -n "$RANLIB"; then
4508 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4509 90 jeremybenn
$as_echo "$RANLIB" >&6; }
4510
else
4511 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
4512 90 jeremybenn
$as_echo "no" >&6; }
4513
fi
4514
 
4515
 
4516
fi
4517
if test -z "$ac_cv_prog_RANLIB"; then
4518
  ac_ct_RANLIB=$RANLIB
4519
  # Extract the first word of "ranlib", so it can be a program name with args.
4520
set dummy ranlib; ac_word=$2
4521 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4522 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
4523 234 jeremybenn
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4524 90 jeremybenn
  $as_echo_n "(cached) " >&6
4525
else
4526
  if test -n "$ac_ct_RANLIB"; then
4527
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4528
else
4529
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530
for as_dir in $PATH
4531
do
4532
  IFS=$as_save_IFS
4533
  test -z "$as_dir" && as_dir=.
4534 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
4535 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4536
    ac_cv_prog_ac_ct_RANLIB="ranlib"
4537 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 90 jeremybenn
    break 2
4539
  fi
4540
done
4541 234 jeremybenn
done
4542 90 jeremybenn
IFS=$as_save_IFS
4543
 
4544
fi
4545
fi
4546
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4547
if test -n "$ac_ct_RANLIB"; then
4548 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4549 90 jeremybenn
$as_echo "$ac_ct_RANLIB" >&6; }
4550
else
4551 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
4552 90 jeremybenn
$as_echo "no" >&6; }
4553
fi
4554
 
4555
  if test "x$ac_ct_RANLIB" = x; then
4556
    RANLIB=":"
4557
  else
4558
    case $cross_compiling:$ac_tool_warned in
4559
yes:)
4560 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4561 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4562
ac_tool_warned=yes ;;
4563
esac
4564
    RANLIB=$ac_ct_RANLIB
4565
  fi
4566
else
4567
  RANLIB="$ac_cv_prog_RANLIB"
4568
fi
4569
 
4570
test -z "$RANLIB" && RANLIB=:
4571
 
4572
 
4573
 
4574
 
4575
 
4576
 
4577
# Determine commands to create old-style static archives.
4578
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
4579
old_postinstall_cmds='chmod 644 $oldlib'
4580
old_postuninstall_cmds=
4581
 
4582
if test -n "$RANLIB"; then
4583
  case $host_os in
4584
  openbsd*)
4585
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
4586
    ;;
4587
  *)
4588
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
4589
    ;;
4590
  esac
4591
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
4592
fi
4593
 
4594
 
4595
 
4596
 
4597
 
4598
 
4599
 
4600
 
4601
 
4602
 
4603
 
4604
 
4605
 
4606
 
4607
 
4608
 
4609
 
4610
 
4611
 
4612
 
4613
 
4614
 
4615
 
4616
 
4617
 
4618
 
4619
 
4620
 
4621
 
4622
 
4623
 
4624
 
4625
 
4626
 
4627
# If no C compiler was specified, use CC.
4628
LTCC=${LTCC-"$CC"}
4629
 
4630
# If no C compiler flags were specified, use CFLAGS.
4631
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4632
 
4633
# Allow CC to be a program name with arguments.
4634
compiler=$CC
4635
 
4636
 
4637
# Check for command to grab the raw symbol name followed by C symbol from nm.
4638 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
4639 90 jeremybenn
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
4640 234 jeremybenn
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4641 90 jeremybenn
  $as_echo_n "(cached) " >&6
4642
else
4643
 
4644
# These are sane defaults that work on at least a few old systems.
4645
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
4646
 
4647
# Character class describing NM global symbol codes.
4648
symcode='[BCDEGRST]'
4649
 
4650
# Regexp to match symbols that can be accessed directly from C.
4651
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4652
 
4653
# Define system-specific variables.
4654
case $host_os in
4655
aix*)
4656
  symcode='[BCDT]'
4657
  ;;
4658
cygwin* | mingw* | pw32* | cegcc*)
4659
  symcode='[ABCDGISTW]'
4660
  ;;
4661
hpux*)
4662
  if test "$host_cpu" = ia64; then
4663
    symcode='[ABCDEGRST]'
4664
  fi
4665
  ;;
4666
irix* | nonstopux*)
4667
  symcode='[BCDEGRST]'
4668
  ;;
4669
osf*)
4670
  symcode='[BCDEGQRST]'
4671
  ;;
4672
solaris*)
4673
  symcode='[BDRT]'
4674
  ;;
4675
sco3.2v5*)
4676
  symcode='[DT]'
4677
  ;;
4678
sysv4.2uw2*)
4679
  symcode='[DT]'
4680
  ;;
4681
sysv5* | sco5v6* | unixware* | OpenUNIX*)
4682
  symcode='[ABDT]'
4683
  ;;
4684
sysv4)
4685
  symcode='[DFNSTU]'
4686
  ;;
4687
esac
4688
 
4689
# If we're using GNU nm, then use its standard symbol codes.
4690
case `$NM -V 2>&1` in
4691
*GNU* | *'with BFD'*)
4692
  symcode='[ABCDGIRSTW]' ;;
4693
esac
4694
 
4695
# Transform an extracted symbol line into a proper C declaration.
4696
# Some systems (esp. on ia64) link data and code symbols differently,
4697
# so use this general approach.
4698
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4699
 
4700
# Transform an extracted symbol line into symbol name and symbol address
4701
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
4702
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'"
4703
 
4704
# Handle CRLF in mingw tool chain
4705
opt_cr=
4706
case $build_os in
4707
mingw*)
4708
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4709
  ;;
4710
esac
4711
 
4712
# Try without a prefix underscore, then with it.
4713
for ac_symprfx in "" "_"; do
4714
 
4715
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
4716
  symxfrm="\\1 $ac_symprfx\\2 \\2"
4717
 
4718
  # Write the raw and C identifiers.
4719
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
4720
    # Fake it for dumpbin and say T for any non-static function
4721
    # and D for any global variable.
4722
    # Also find C++ and __fastcall symbols from MSVC++,
4723
    # which start with @ or ?.
4724
    lt_cv_sys_global_symbol_pipe="$AWK '"\
4725
"     {last_section=section; section=\$ 3};"\
4726
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
4727
"     \$ 0!~/External *\|/{next};"\
4728
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
4729
"     {if(hide[section]) next};"\
4730
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
4731
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
4732
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
4733
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
4734
"     ' prfx=^$ac_symprfx"
4735
  else
4736
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
4737
  fi
4738
 
4739
  # Check to see that the pipe works correctly.
4740
  pipe_works=no
4741
 
4742
  rm -f conftest*
4743
  cat > conftest.$ac_ext <<_LT_EOF
4744
#ifdef __cplusplus
4745
extern "C" {
4746
#endif
4747
char nm_test_var;
4748
void nm_test_func(void);
4749
void nm_test_func(void){}
4750
#ifdef __cplusplus
4751
}
4752
#endif
4753
int main(){nm_test_var='a';nm_test_func();return(0);}
4754
_LT_EOF
4755
 
4756 234 jeremybenn
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4757 90 jeremybenn
  (eval $ac_compile) 2>&5
4758
  ac_status=$?
4759 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4760
  (exit $ac_status); }; then
4761 90 jeremybenn
    # Now try to grab the symbols.
4762
    nlist=conftest.nm
4763 234 jeremybenn
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4764 90 jeremybenn
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4765
  ac_status=$?
4766 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767
  (exit $ac_status); } && test -s "$nlist"; then
4768 90 jeremybenn
      # Try sorting and uniquifying the output.
4769
      if sort "$nlist" | uniq > "$nlist"T; then
4770
        mv -f "$nlist"T "$nlist"
4771
      else
4772
        rm -f "$nlist"T
4773
      fi
4774
 
4775
      # Make sure that we snagged all the symbols we need.
4776
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
4777
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
4778
          cat <<_LT_EOF > conftest.$ac_ext
4779
#ifdef __cplusplus
4780
extern "C" {
4781
#endif
4782
 
4783
_LT_EOF
4784
          # Now generate the symbol file.
4785
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
4786
 
4787
          cat <<_LT_EOF >> conftest.$ac_ext
4788
 
4789
/* The mapping between symbol names and symbols.  */
4790
const struct {
4791
  const char *name;
4792
  void       *address;
4793
}
4794
lt__PROGRAM__LTX_preloaded_symbols[] =
4795
{
4796
  { "@PROGRAM@", (void *) 0 },
4797
_LT_EOF
4798
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
4799
          cat <<\_LT_EOF >> conftest.$ac_ext
4800
  {0, (void *) 0}
4801
};
4802
 
4803
/* This works around a problem in FreeBSD linker */
4804
#ifdef FREEBSD_WORKAROUND
4805
static const void *lt_preloaded_setup() {
4806
  return lt__PROGRAM__LTX_preloaded_symbols;
4807
}
4808
#endif
4809
 
4810
#ifdef __cplusplus
4811
}
4812
#endif
4813
_LT_EOF
4814
          # Now try linking the two files.
4815
          mv conftest.$ac_objext conftstm.$ac_objext
4816
          lt_save_LIBS="$LIBS"
4817
          lt_save_CFLAGS="$CFLAGS"
4818
          LIBS="conftstm.$ac_objext"
4819
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
4820 234 jeremybenn
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4821 90 jeremybenn
  (eval $ac_link) 2>&5
4822
  ac_status=$?
4823 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
4825 90 jeremybenn
            pipe_works=yes
4826
          fi
4827
          LIBS="$lt_save_LIBS"
4828
          CFLAGS="$lt_save_CFLAGS"
4829
        else
4830
          echo "cannot find nm_test_func in $nlist" >&5
4831
        fi
4832
      else
4833
        echo "cannot find nm_test_var in $nlist" >&5
4834
      fi
4835
    else
4836
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4837
    fi
4838
  else
4839
    echo "$progname: failed program was:" >&5
4840
    cat conftest.$ac_ext >&5
4841
  fi
4842
  rm -rf conftest* conftst*
4843
 
4844
  # Do not use the global_symbol_pipe unless it works.
4845
  if test "$pipe_works" = yes; then
4846
    break
4847
  else
4848
    lt_cv_sys_global_symbol_pipe=
4849
  fi
4850
done
4851
 
4852
fi
4853
 
4854
if test -z "$lt_cv_sys_global_symbol_pipe"; then
4855
  lt_cv_sys_global_symbol_to_cdecl=
4856
fi
4857
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
4858 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: failed" >&5
4859 90 jeremybenn
$as_echo "failed" >&6; }
4860
else
4861 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: ok" >&5
4862 90 jeremybenn
$as_echo "ok" >&6; }
4863
fi
4864
 
4865
 
4866
 
4867
 
4868
 
4869
 
4870
 
4871
 
4872
 
4873
 
4874
 
4875
 
4876
 
4877
 
4878
 
4879
 
4880
 
4881
 
4882
 
4883
 
4884
 
4885
 
4886
 
4887
# Check whether --enable-libtool-lock was given.
4888 234 jeremybenn
if test "${enable_libtool_lock+set}" = set; then
4889 90 jeremybenn
  enableval=$enable_libtool_lock;
4890
fi
4891
 
4892
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4893
 
4894
# Some flags need to be propagated to the compiler or linker for good
4895
# libtool support.
4896
case $host in
4897
ia64-*-hpux*)
4898
  # Find out which ABI we are using.
4899
  echo 'int i;' > conftest.$ac_ext
4900 234 jeremybenn
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4901 90 jeremybenn
  (eval $ac_compile) 2>&5
4902
  ac_status=$?
4903 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904
  (exit $ac_status); }; then
4905 90 jeremybenn
    case `/usr/bin/file conftest.$ac_objext` in
4906
      *ELF-32*)
4907
        HPUX_IA64_MODE="32"
4908
        ;;
4909
      *ELF-64*)
4910
        HPUX_IA64_MODE="64"
4911
        ;;
4912
    esac
4913
  fi
4914
  rm -rf conftest*
4915
  ;;
4916
*-*-irix6*)
4917
  # Find out which ABI we are using.
4918 234 jeremybenn
  echo '#line 4918 "configure"' > conftest.$ac_ext
4919
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4920 90 jeremybenn
  (eval $ac_compile) 2>&5
4921
  ac_status=$?
4922 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923
  (exit $ac_status); }; then
4924 90 jeremybenn
    if test "$lt_cv_prog_gnu_ld" = yes; then
4925
      case `/usr/bin/file conftest.$ac_objext` in
4926
        *32-bit*)
4927
          LD="${LD-ld} -melf32bsmip"
4928
          ;;
4929
        *N32*)
4930
          LD="${LD-ld} -melf32bmipn32"
4931
          ;;
4932
        *64-bit*)
4933
          LD="${LD-ld} -melf64bmip"
4934
        ;;
4935
      esac
4936
    else
4937
      case `/usr/bin/file conftest.$ac_objext` in
4938
        *32-bit*)
4939
          LD="${LD-ld} -32"
4940
          ;;
4941
        *N32*)
4942
          LD="${LD-ld} -n32"
4943
          ;;
4944
        *64-bit*)
4945
          LD="${LD-ld} -64"
4946
          ;;
4947
      esac
4948
    fi
4949
  fi
4950
  rm -rf conftest*
4951
  ;;
4952
 
4953
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4954
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
4955
  # Find out which ABI we are using.
4956
  echo 'int i;' > conftest.$ac_ext
4957 234 jeremybenn
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4958 90 jeremybenn
  (eval $ac_compile) 2>&5
4959
  ac_status=$?
4960 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961
  (exit $ac_status); }; then
4962 90 jeremybenn
    case `/usr/bin/file conftest.o` in
4963
      *32-bit*)
4964
        case $host in
4965
          x86_64-*kfreebsd*-gnu)
4966
            LD="${LD-ld} -m elf_i386_fbsd"
4967
            ;;
4968
          x86_64-*linux*)
4969
            LD="${LD-ld} -m elf_i386"
4970
            ;;
4971
          ppc64-*linux*|powerpc64-*linux*)
4972
            LD="${LD-ld} -m elf32ppclinux"
4973
            ;;
4974
          s390x-*linux*)
4975
            LD="${LD-ld} -m elf_s390"
4976
            ;;
4977
          sparc64-*linux*)
4978
            LD="${LD-ld} -m elf32_sparc"
4979
            ;;
4980
        esac
4981
        ;;
4982
      *64-bit*)
4983
        case $host in
4984
          x86_64-*kfreebsd*-gnu)
4985
            LD="${LD-ld} -m elf_x86_64_fbsd"
4986
            ;;
4987
          x86_64-*linux*)
4988
            LD="${LD-ld} -m elf_x86_64"
4989
            ;;
4990
          ppc*-*linux*|powerpc*-*linux*)
4991
            LD="${LD-ld} -m elf64ppc"
4992
            ;;
4993
          s390*-*linux*|s390*-*tpf*)
4994
            LD="${LD-ld} -m elf64_s390"
4995
            ;;
4996
          sparc*-*linux*)
4997
            LD="${LD-ld} -m elf64_sparc"
4998
            ;;
4999
        esac
5000
        ;;
5001
    esac
5002
  fi
5003
  rm -rf conftest*
5004
  ;;
5005
 
5006
*-*-sco3.2v5*)
5007
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5008
  SAVE_CFLAGS="$CFLAGS"
5009
  CFLAGS="$CFLAGS -belf"
5010 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5011 90 jeremybenn
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5012 234 jeremybenn
if test "${lt_cv_cc_needs_belf+set}" = set; then
5013 90 jeremybenn
  $as_echo_n "(cached) " >&6
5014
else
5015
  ac_ext=c
5016
ac_cpp='$CPP $CPPFLAGS'
5017
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5018
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5019
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5020
 
5021 234 jeremybenn
     cat >conftest.$ac_ext <<_ACEOF
5022
/* confdefs.h.  */
5023
_ACEOF
5024
cat confdefs.h >>conftest.$ac_ext
5025
cat >>conftest.$ac_ext <<_ACEOF
5026 90 jeremybenn
/* end confdefs.h.  */
5027
 
5028
int
5029
main ()
5030
{
5031
 
5032
  ;
5033
  return 0;
5034
}
5035
_ACEOF
5036 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
5037
if { (ac_try="$ac_link"
5038
case "(($ac_try" in
5039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5040
  *) ac_try_echo=$ac_try;;
5041
esac
5042
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5043
$as_echo "$ac_try_echo") >&5
5044
  (eval "$ac_link") 2>conftest.er1
5045
  ac_status=$?
5046
  grep -v '^ *+' conftest.er1 >conftest.err
5047
  rm -f conftest.er1
5048
  cat conftest.err >&5
5049
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050
  (exit $ac_status); } && {
5051
         test -z "$ac_c_werror_flag" ||
5052
         test ! -s conftest.err
5053
       } && test -s conftest$ac_exeext && {
5054
         test "$cross_compiling" = yes ||
5055
         $as_test_x conftest$ac_exeext
5056
       }; then
5057 90 jeremybenn
  lt_cv_cc_needs_belf=yes
5058
else
5059 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
5060
sed 's/^/| /' conftest.$ac_ext >&5
5061
 
5062
        lt_cv_cc_needs_belf=no
5063 90 jeremybenn
fi
5064 234 jeremybenn
 
5065
rm -rf conftest.dSYM
5066
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5067
      conftest$ac_exeext conftest.$ac_ext
5068 90 jeremybenn
     ac_ext=c
5069
ac_cpp='$CPP $CPPFLAGS'
5070
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5071
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5072
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073
 
5074
fi
5075 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5076 90 jeremybenn
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5077
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5078
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5079
    CFLAGS="$SAVE_CFLAGS"
5080
  fi
5081
  ;;
5082
sparc*-*solaris*)
5083
  # Find out which ABI we are using.
5084
  echo 'int i;' > conftest.$ac_ext
5085 234 jeremybenn
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5086 90 jeremybenn
  (eval $ac_compile) 2>&5
5087
  ac_status=$?
5088 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5089
  (exit $ac_status); }; then
5090 90 jeremybenn
    case `/usr/bin/file conftest.o` in
5091
    *64-bit*)
5092
      case $lt_cv_prog_gnu_ld in
5093
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5094
      *)
5095
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5096
          LD="${LD-ld} -64"
5097
        fi
5098
        ;;
5099
      esac
5100
      ;;
5101
    esac
5102
  fi
5103
  rm -rf conftest*
5104
  ;;
5105
esac
5106
 
5107
need_locks="$enable_libtool_lock"
5108
 
5109
 
5110
  case $host_os in
5111
    rhapsody* | darwin*)
5112
    if test -n "$ac_tool_prefix"; then
5113
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5114
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5115 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5116 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
5117 234 jeremybenn
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5118 90 jeremybenn
  $as_echo_n "(cached) " >&6
5119
else
5120
  if test -n "$DSYMUTIL"; then
5121
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5122
else
5123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124
for as_dir in $PATH
5125
do
5126
  IFS=$as_save_IFS
5127
  test -z "$as_dir" && as_dir=.
5128 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
5129 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5131 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 90 jeremybenn
    break 2
5133
  fi
5134
done
5135 234 jeremybenn
done
5136 90 jeremybenn
IFS=$as_save_IFS
5137
 
5138
fi
5139
fi
5140
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5141
if test -n "$DSYMUTIL"; then
5142 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5143 90 jeremybenn
$as_echo "$DSYMUTIL" >&6; }
5144
else
5145 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
5146 90 jeremybenn
$as_echo "no" >&6; }
5147
fi
5148
 
5149
 
5150
fi
5151
if test -z "$ac_cv_prog_DSYMUTIL"; then
5152
  ac_ct_DSYMUTIL=$DSYMUTIL
5153
  # Extract the first word of "dsymutil", so it can be a program name with args.
5154
set dummy dsymutil; ac_word=$2
5155 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5156 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
5157 234 jeremybenn
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5158 90 jeremybenn
  $as_echo_n "(cached) " >&6
5159
else
5160
  if test -n "$ac_ct_DSYMUTIL"; then
5161
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5162
else
5163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164
for as_dir in $PATH
5165
do
5166
  IFS=$as_save_IFS
5167
  test -z "$as_dir" && as_dir=.
5168 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
5169 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5171 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 90 jeremybenn
    break 2
5173
  fi
5174
done
5175 234 jeremybenn
done
5176 90 jeremybenn
IFS=$as_save_IFS
5177
 
5178
fi
5179
fi
5180
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5181
if test -n "$ac_ct_DSYMUTIL"; then
5182 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5183 90 jeremybenn
$as_echo "$ac_ct_DSYMUTIL" >&6; }
5184
else
5185 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
5186 90 jeremybenn
$as_echo "no" >&6; }
5187
fi
5188
 
5189
  if test "x$ac_ct_DSYMUTIL" = x; then
5190
    DSYMUTIL=":"
5191
  else
5192
    case $cross_compiling:$ac_tool_warned in
5193
yes:)
5194 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5195 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196
ac_tool_warned=yes ;;
5197
esac
5198
    DSYMUTIL=$ac_ct_DSYMUTIL
5199
  fi
5200
else
5201
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5202
fi
5203
 
5204
    if test -n "$ac_tool_prefix"; then
5205
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5206
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5207 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5208 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
5209 234 jeremybenn
if test "${ac_cv_prog_NMEDIT+set}" = set; then
5210 90 jeremybenn
  $as_echo_n "(cached) " >&6
5211
else
5212
  if test -n "$NMEDIT"; then
5213
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5214
else
5215
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216
for as_dir in $PATH
5217
do
5218
  IFS=$as_save_IFS
5219
  test -z "$as_dir" && as_dir=.
5220 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
5221 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5222
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5223 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 90 jeremybenn
    break 2
5225
  fi
5226
done
5227 234 jeremybenn
done
5228 90 jeremybenn
IFS=$as_save_IFS
5229
 
5230
fi
5231
fi
5232
NMEDIT=$ac_cv_prog_NMEDIT
5233
if test -n "$NMEDIT"; then
5234 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
5235 90 jeremybenn
$as_echo "$NMEDIT" >&6; }
5236
else
5237 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
5238 90 jeremybenn
$as_echo "no" >&6; }
5239
fi
5240
 
5241
 
5242
fi
5243
if test -z "$ac_cv_prog_NMEDIT"; then
5244
  ac_ct_NMEDIT=$NMEDIT
5245
  # Extract the first word of "nmedit", so it can be a program name with args.
5246
set dummy nmedit; ac_word=$2
5247 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5248 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
5249 234 jeremybenn
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5250 90 jeremybenn
  $as_echo_n "(cached) " >&6
5251
else
5252
  if test -n "$ac_ct_NMEDIT"; then
5253
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5254
else
5255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256
for as_dir in $PATH
5257
do
5258
  IFS=$as_save_IFS
5259
  test -z "$as_dir" && as_dir=.
5260 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
5261 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5262
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
5263 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 90 jeremybenn
    break 2
5265
  fi
5266
done
5267 234 jeremybenn
done
5268 90 jeremybenn
IFS=$as_save_IFS
5269
 
5270
fi
5271
fi
5272
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5273
if test -n "$ac_ct_NMEDIT"; then
5274 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5275 90 jeremybenn
$as_echo "$ac_ct_NMEDIT" >&6; }
5276
else
5277 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
5278 90 jeremybenn
$as_echo "no" >&6; }
5279
fi
5280
 
5281
  if test "x$ac_ct_NMEDIT" = x; then
5282
    NMEDIT=":"
5283
  else
5284
    case $cross_compiling:$ac_tool_warned in
5285
yes:)
5286 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5287 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288
ac_tool_warned=yes ;;
5289
esac
5290
    NMEDIT=$ac_ct_NMEDIT
5291
  fi
5292
else
5293
  NMEDIT="$ac_cv_prog_NMEDIT"
5294
fi
5295
 
5296
    if test -n "$ac_tool_prefix"; then
5297
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5298
set dummy ${ac_tool_prefix}lipo; ac_word=$2
5299 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5300 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
5301 234 jeremybenn
if test "${ac_cv_prog_LIPO+set}" = set; then
5302 90 jeremybenn
  $as_echo_n "(cached) " >&6
5303
else
5304
  if test -n "$LIPO"; then
5305
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5306
else
5307
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5308
for as_dir in $PATH
5309
do
5310
  IFS=$as_save_IFS
5311
  test -z "$as_dir" && as_dir=.
5312 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
5313 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5314
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5315 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 90 jeremybenn
    break 2
5317
  fi
5318
done
5319 234 jeremybenn
done
5320 90 jeremybenn
IFS=$as_save_IFS
5321
 
5322
fi
5323
fi
5324
LIPO=$ac_cv_prog_LIPO
5325
if test -n "$LIPO"; then
5326 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
5327 90 jeremybenn
$as_echo "$LIPO" >&6; }
5328
else
5329 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
5330 90 jeremybenn
$as_echo "no" >&6; }
5331
fi
5332
 
5333
 
5334
fi
5335
if test -z "$ac_cv_prog_LIPO"; then
5336
  ac_ct_LIPO=$LIPO
5337
  # Extract the first word of "lipo", so it can be a program name with args.
5338
set dummy lipo; ac_word=$2
5339 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5340 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
5341 234 jeremybenn
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5342 90 jeremybenn
  $as_echo_n "(cached) " >&6
5343
else
5344
  if test -n "$ac_ct_LIPO"; then
5345
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5346
else
5347
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5348
for as_dir in $PATH
5349
do
5350
  IFS=$as_save_IFS
5351
  test -z "$as_dir" && as_dir=.
5352 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
5353 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5354
    ac_cv_prog_ac_ct_LIPO="lipo"
5355 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5356 90 jeremybenn
    break 2
5357
  fi
5358
done
5359 234 jeremybenn
done
5360 90 jeremybenn
IFS=$as_save_IFS
5361
 
5362
fi
5363
fi
5364
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5365
if test -n "$ac_ct_LIPO"; then
5366 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5367 90 jeremybenn
$as_echo "$ac_ct_LIPO" >&6; }
5368
else
5369 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
5370 90 jeremybenn
$as_echo "no" >&6; }
5371
fi
5372
 
5373
  if test "x$ac_ct_LIPO" = x; then
5374
    LIPO=":"
5375
  else
5376
    case $cross_compiling:$ac_tool_warned in
5377
yes:)
5378 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5379 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5380
ac_tool_warned=yes ;;
5381
esac
5382
    LIPO=$ac_ct_LIPO
5383
  fi
5384
else
5385
  LIPO="$ac_cv_prog_LIPO"
5386
fi
5387
 
5388
    if test -n "$ac_tool_prefix"; then
5389
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5390
set dummy ${ac_tool_prefix}otool; ac_word=$2
5391 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5392 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
5393 234 jeremybenn
if test "${ac_cv_prog_OTOOL+set}" = set; then
5394 90 jeremybenn
  $as_echo_n "(cached) " >&6
5395
else
5396
  if test -n "$OTOOL"; then
5397
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5398
else
5399
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400
for as_dir in $PATH
5401
do
5402
  IFS=$as_save_IFS
5403
  test -z "$as_dir" && as_dir=.
5404 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
5405 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5407 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 90 jeremybenn
    break 2
5409
  fi
5410
done
5411 234 jeremybenn
done
5412 90 jeremybenn
IFS=$as_save_IFS
5413
 
5414
fi
5415
fi
5416
OTOOL=$ac_cv_prog_OTOOL
5417
if test -n "$OTOOL"; then
5418 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
5419 90 jeremybenn
$as_echo "$OTOOL" >&6; }
5420
else
5421 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
5422 90 jeremybenn
$as_echo "no" >&6; }
5423
fi
5424
 
5425
 
5426
fi
5427
if test -z "$ac_cv_prog_OTOOL"; then
5428
  ac_ct_OTOOL=$OTOOL
5429
  # Extract the first word of "otool", so it can be a program name with args.
5430
set dummy otool; ac_word=$2
5431 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5432 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
5433 234 jeremybenn
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5434 90 jeremybenn
  $as_echo_n "(cached) " >&6
5435
else
5436
  if test -n "$ac_ct_OTOOL"; then
5437
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5438
else
5439
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440
for as_dir in $PATH
5441
do
5442
  IFS=$as_save_IFS
5443
  test -z "$as_dir" && as_dir=.
5444 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
5445 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5446
    ac_cv_prog_ac_ct_OTOOL="otool"
5447 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5448 90 jeremybenn
    break 2
5449
  fi
5450
done
5451 234 jeremybenn
done
5452 90 jeremybenn
IFS=$as_save_IFS
5453
 
5454
fi
5455
fi
5456
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5457
if test -n "$ac_ct_OTOOL"; then
5458 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
5459 90 jeremybenn
$as_echo "$ac_ct_OTOOL" >&6; }
5460
else
5461 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
5462 90 jeremybenn
$as_echo "no" >&6; }
5463
fi
5464
 
5465
  if test "x$ac_ct_OTOOL" = x; then
5466
    OTOOL=":"
5467
  else
5468
    case $cross_compiling:$ac_tool_warned in
5469
yes:)
5470 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5471 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5472
ac_tool_warned=yes ;;
5473
esac
5474
    OTOOL=$ac_ct_OTOOL
5475
  fi
5476
else
5477
  OTOOL="$ac_cv_prog_OTOOL"
5478
fi
5479
 
5480
    if test -n "$ac_tool_prefix"; then
5481
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5482
set dummy ${ac_tool_prefix}otool64; ac_word=$2
5483 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5484 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
5485 234 jeremybenn
if test "${ac_cv_prog_OTOOL64+set}" = set; then
5486 90 jeremybenn
  $as_echo_n "(cached) " >&6
5487
else
5488
  if test -n "$OTOOL64"; then
5489
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5490
else
5491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492
for as_dir in $PATH
5493
do
5494
  IFS=$as_save_IFS
5495
  test -z "$as_dir" && as_dir=.
5496 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
5497 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5498
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
5499 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5500 90 jeremybenn
    break 2
5501
  fi
5502
done
5503 234 jeremybenn
done
5504 90 jeremybenn
IFS=$as_save_IFS
5505
 
5506
fi
5507
fi
5508
OTOOL64=$ac_cv_prog_OTOOL64
5509
if test -n "$OTOOL64"; then
5510 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
5511 90 jeremybenn
$as_echo "$OTOOL64" >&6; }
5512
else
5513 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
5514 90 jeremybenn
$as_echo "no" >&6; }
5515
fi
5516
 
5517
 
5518
fi
5519
if test -z "$ac_cv_prog_OTOOL64"; then
5520
  ac_ct_OTOOL64=$OTOOL64
5521
  # Extract the first word of "otool64", so it can be a program name with args.
5522
set dummy otool64; ac_word=$2
5523 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5524 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
5525 234 jeremybenn
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
5526 90 jeremybenn
  $as_echo_n "(cached) " >&6
5527
else
5528
  if test -n "$ac_ct_OTOOL64"; then
5529
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
5530
else
5531
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532
for as_dir in $PATH
5533
do
5534
  IFS=$as_save_IFS
5535
  test -z "$as_dir" && as_dir=.
5536 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
5537 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5538
    ac_cv_prog_ac_ct_OTOOL64="otool64"
5539 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5540 90 jeremybenn
    break 2
5541
  fi
5542
done
5543 234 jeremybenn
done
5544 90 jeremybenn
IFS=$as_save_IFS
5545
 
5546
fi
5547
fi
5548
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
5549
if test -n "$ac_ct_OTOOL64"; then
5550 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
5551 90 jeremybenn
$as_echo "$ac_ct_OTOOL64" >&6; }
5552
else
5553 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
5554 90 jeremybenn
$as_echo "no" >&6; }
5555
fi
5556
 
5557
  if test "x$ac_ct_OTOOL64" = x; then
5558
    OTOOL64=":"
5559
  else
5560
    case $cross_compiling:$ac_tool_warned in
5561
yes:)
5562 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5563 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5564
ac_tool_warned=yes ;;
5565
esac
5566
    OTOOL64=$ac_ct_OTOOL64
5567
  fi
5568
else
5569
  OTOOL64="$ac_cv_prog_OTOOL64"
5570
fi
5571
 
5572
 
5573
 
5574
 
5575
 
5576
 
5577
 
5578
 
5579
 
5580
 
5581
 
5582
 
5583
 
5584
 
5585
 
5586
 
5587
 
5588
 
5589
 
5590
 
5591
 
5592
 
5593
 
5594
 
5595
 
5596
 
5597
 
5598 234 jeremybenn
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
5599 90 jeremybenn
$as_echo_n "checking for -single_module linker flag... " >&6; }
5600 234 jeremybenn
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
5601 90 jeremybenn
  $as_echo_n "(cached) " >&6
5602
else
5603
  lt_cv_apple_cc_single_mod=no
5604
      if test -z "${LT_MULTI_MODULE}"; then
5605
        # By default we will add the -single_module flag. You can override
5606
        # by either setting the environment variable LT_MULTI_MODULE
5607
        # non-empty at configure time, or by adding -multi_module to the
5608
        # link flags.
5609
        rm -rf libconftest.dylib*
5610
        echo "int foo(void){return 1;}" > conftest.c
5611
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5612
-dynamiclib -Wl,-single_module conftest.c" >&5
5613
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
5614
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
5615
        _lt_result=$?
5616
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
5617
          lt_cv_apple_cc_single_mod=yes
5618
        else
5619
          cat conftest.err >&5
5620
        fi
5621
        rm -rf libconftest.dylib*
5622
        rm -f conftest.*
5623
      fi
5624
fi
5625 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
5626 90 jeremybenn
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
5627 234 jeremybenn
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
5628 90 jeremybenn
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
5629 234 jeremybenn
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
5630 90 jeremybenn
  $as_echo_n "(cached) " >&6
5631
else
5632
  lt_cv_ld_exported_symbols_list=no
5633
      save_LDFLAGS=$LDFLAGS
5634
      echo "_main" > conftest.sym
5635
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
5636 234 jeremybenn
      cat >conftest.$ac_ext <<_ACEOF
5637
/* confdefs.h.  */
5638
_ACEOF
5639
cat confdefs.h >>conftest.$ac_ext
5640
cat >>conftest.$ac_ext <<_ACEOF
5641 90 jeremybenn
/* end confdefs.h.  */
5642
 
5643
int
5644
main ()
5645
{
5646
 
5647
  ;
5648
  return 0;
5649
}
5650
_ACEOF
5651 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
5652
if { (ac_try="$ac_link"
5653
case "(($ac_try" in
5654
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5655
  *) ac_try_echo=$ac_try;;
5656
esac
5657
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5658
$as_echo "$ac_try_echo") >&5
5659
  (eval "$ac_link") 2>conftest.er1
5660
  ac_status=$?
5661
  grep -v '^ *+' conftest.er1 >conftest.err
5662
  rm -f conftest.er1
5663
  cat conftest.err >&5
5664
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5665
  (exit $ac_status); } && {
5666
         test -z "$ac_c_werror_flag" ||
5667
         test ! -s conftest.err
5668
       } && test -s conftest$ac_exeext && {
5669
         test "$cross_compiling" = yes ||
5670
         $as_test_x conftest$ac_exeext
5671
       }; then
5672 90 jeremybenn
  lt_cv_ld_exported_symbols_list=yes
5673
else
5674 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
5675
sed 's/^/| /' conftest.$ac_ext >&5
5676
 
5677
        lt_cv_ld_exported_symbols_list=no
5678 90 jeremybenn
fi
5679 234 jeremybenn
 
5680
rm -rf conftest.dSYM
5681
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5682
      conftest$ac_exeext conftest.$ac_ext
5683 90 jeremybenn
        LDFLAGS="$save_LDFLAGS"
5684
 
5685
fi
5686 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
5687 90 jeremybenn
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
5688
    case $host_os in
5689
    rhapsody* | darwin1.[012])
5690
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
5691
    darwin1.*)
5692
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5693
    darwin*) # darwin 5.x on
5694
      # if running on 10.5 or later, the deployment target defaults
5695
      # to the OS version, if on x86, and 10.4, the deployment
5696
      # target defaults to 10.4. Don't you love it?
5697
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
5698
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
5699
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5700
        10.[012]*)
5701
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
5702
        10.*)
5703
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
5704
      esac
5705
    ;;
5706
  esac
5707
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
5708
      _lt_dar_single_mod='$single_module'
5709
    fi
5710
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
5711
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
5712
    else
5713
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
5714
    fi
5715
    if test "$DSYMUTIL" != ":"; then
5716
      _lt_dsymutil='~$DSYMUTIL $lib || :'
5717
    else
5718
      _lt_dsymutil=
5719
    fi
5720
    ;;
5721
  esac
5722
 
5723
ac_ext=c
5724
ac_cpp='$CPP $CPPFLAGS'
5725
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5726
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5727
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5728 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5729 90 jeremybenn
$as_echo_n "checking how to run the C preprocessor... " >&6; }
5730
# On Suns, sometimes $CPP names a directory.
5731
if test -n "$CPP" && test -d "$CPP"; then
5732
  CPP=
5733
fi
5734
if test -z "$CPP"; then
5735 234 jeremybenn
  if test "${ac_cv_prog_CPP+set}" = set; then
5736 90 jeremybenn
  $as_echo_n "(cached) " >&6
5737
else
5738
      # Double quotes because CPP needs to be expanded
5739
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5740
    do
5741
      ac_preproc_ok=false
5742
for ac_c_preproc_warn_flag in '' yes
5743
do
5744
  # Use a header file that comes with gcc, so configuring glibc
5745
  # with a fresh cross-compiler works.
5746
  # Prefer  to  if __STDC__ is defined, since
5747
  #  exists even on freestanding compilers.
5748
  # On the NeXT, cc -E runs the code through the compiler's parser,
5749
  # not just through cpp. "Syntax error" is here to catch this case.
5750 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
5751
/* confdefs.h.  */
5752
_ACEOF
5753
cat confdefs.h >>conftest.$ac_ext
5754
cat >>conftest.$ac_ext <<_ACEOF
5755 90 jeremybenn
/* end confdefs.h.  */
5756
#ifdef __STDC__
5757
# include 
5758
#else
5759
# include 
5760
#endif
5761
                     Syntax error
5762
_ACEOF
5763 234 jeremybenn
if { (ac_try="$ac_cpp conftest.$ac_ext"
5764
case "(($ac_try" in
5765
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5766
  *) ac_try_echo=$ac_try;;
5767
esac
5768
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5769
$as_echo "$ac_try_echo") >&5
5770
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5771
  ac_status=$?
5772
  grep -v '^ *+' conftest.er1 >conftest.err
5773
  rm -f conftest.er1
5774
  cat conftest.err >&5
5775
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776
  (exit $ac_status); } >/dev/null && {
5777
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5778
         test ! -s conftest.err
5779
       }; then
5780
  :
5781
else
5782
  $as_echo "$as_me: failed program was:" >&5
5783
sed 's/^/| /' conftest.$ac_ext >&5
5784 233 julius
 
5785 90 jeremybenn
  # Broken: fails on valid input.
5786
continue
5787
fi
5788 234 jeremybenn
 
5789 90 jeremybenn
rm -f conftest.err conftest.$ac_ext
5790
 
5791
  # OK, works on sane cases.  Now check whether nonexistent headers
5792
  # can be detected and how.
5793 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
5794
/* confdefs.h.  */
5795
_ACEOF
5796
cat confdefs.h >>conftest.$ac_ext
5797
cat >>conftest.$ac_ext <<_ACEOF
5798 90 jeremybenn
/* end confdefs.h.  */
5799
#include 
5800
_ACEOF
5801 234 jeremybenn
if { (ac_try="$ac_cpp conftest.$ac_ext"
5802
case "(($ac_try" in
5803
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5804
  *) ac_try_echo=$ac_try;;
5805
esac
5806
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5807
$as_echo "$ac_try_echo") >&5
5808
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5809
  ac_status=$?
5810
  grep -v '^ *+' conftest.er1 >conftest.err
5811
  rm -f conftest.er1
5812
  cat conftest.err >&5
5813
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814
  (exit $ac_status); } >/dev/null && {
5815
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5816
         test ! -s conftest.err
5817
       }; then
5818 90 jeremybenn
  # Broken: success on invalid input.
5819
continue
5820
else
5821 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
5822
sed 's/^/| /' conftest.$ac_ext >&5
5823
 
5824 90 jeremybenn
  # Passes both tests.
5825
ac_preproc_ok=:
5826
break
5827
fi
5828 234 jeremybenn
 
5829 90 jeremybenn
rm -f conftest.err conftest.$ac_ext
5830
 
5831
done
5832
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5833
rm -f conftest.err conftest.$ac_ext
5834 234 jeremybenn
if $ac_preproc_ok; then
5835 90 jeremybenn
  break
5836
fi
5837
 
5838
    done
5839
    ac_cv_prog_CPP=$CPP
5840
 
5841
fi
5842
  CPP=$ac_cv_prog_CPP
5843
else
5844
  ac_cv_prog_CPP=$CPP
5845
fi
5846 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
5847 90 jeremybenn
$as_echo "$CPP" >&6; }
5848
ac_preproc_ok=false
5849
for ac_c_preproc_warn_flag in '' yes
5850
do
5851
  # Use a header file that comes with gcc, so configuring glibc
5852
  # with a fresh cross-compiler works.
5853
  # Prefer  to  if __STDC__ is defined, since
5854
  #  exists even on freestanding compilers.
5855
  # On the NeXT, cc -E runs the code through the compiler's parser,
5856
  # not just through cpp. "Syntax error" is here to catch this case.
5857 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
5858
/* confdefs.h.  */
5859
_ACEOF
5860
cat confdefs.h >>conftest.$ac_ext
5861
cat >>conftest.$ac_ext <<_ACEOF
5862 90 jeremybenn
/* end confdefs.h.  */
5863
#ifdef __STDC__
5864
# include 
5865
#else
5866
# include 
5867
#endif
5868
                     Syntax error
5869
_ACEOF
5870 234 jeremybenn
if { (ac_try="$ac_cpp conftest.$ac_ext"
5871
case "(($ac_try" in
5872
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5873
  *) ac_try_echo=$ac_try;;
5874
esac
5875
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5876
$as_echo "$ac_try_echo") >&5
5877
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5878
  ac_status=$?
5879
  grep -v '^ *+' conftest.er1 >conftest.err
5880
  rm -f conftest.er1
5881
  cat conftest.err >&5
5882
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883
  (exit $ac_status); } >/dev/null && {
5884
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5885
         test ! -s conftest.err
5886
       }; then
5887
  :
5888
else
5889
  $as_echo "$as_me: failed program was:" >&5
5890
sed 's/^/| /' conftest.$ac_ext >&5
5891 233 julius
 
5892 90 jeremybenn
  # Broken: fails on valid input.
5893
continue
5894
fi
5895 234 jeremybenn
 
5896 90 jeremybenn
rm -f conftest.err conftest.$ac_ext
5897
 
5898
  # OK, works on sane cases.  Now check whether nonexistent headers
5899
  # can be detected and how.
5900 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
5901
/* confdefs.h.  */
5902
_ACEOF
5903
cat confdefs.h >>conftest.$ac_ext
5904
cat >>conftest.$ac_ext <<_ACEOF
5905 90 jeremybenn
/* end confdefs.h.  */
5906
#include 
5907
_ACEOF
5908 234 jeremybenn
if { (ac_try="$ac_cpp conftest.$ac_ext"
5909
case "(($ac_try" in
5910
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5911
  *) ac_try_echo=$ac_try;;
5912
esac
5913
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5914
$as_echo "$ac_try_echo") >&5
5915
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5916
  ac_status=$?
5917
  grep -v '^ *+' conftest.er1 >conftest.err
5918
  rm -f conftest.er1
5919
  cat conftest.err >&5
5920
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921
  (exit $ac_status); } >/dev/null && {
5922
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5923
         test ! -s conftest.err
5924
       }; then
5925 90 jeremybenn
  # Broken: success on invalid input.
5926
continue
5927
else
5928 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
5929
sed 's/^/| /' conftest.$ac_ext >&5
5930
 
5931 90 jeremybenn
  # Passes both tests.
5932
ac_preproc_ok=:
5933
break
5934
fi
5935 234 jeremybenn
 
5936 90 jeremybenn
rm -f conftest.err conftest.$ac_ext
5937
 
5938
done
5939
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5940
rm -f conftest.err conftest.$ac_ext
5941 234 jeremybenn
if $ac_preproc_ok; then
5942
  :
5943 90 jeremybenn
else
5944 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5945 90 jeremybenn
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5946 234 jeremybenn
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5947
See \`config.log' for more details." >&5
5948
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5949
See \`config.log' for more details." >&2;}
5950
   { (exit 1); exit 1; }; }; }
5951 90 jeremybenn
fi
5952
 
5953
ac_ext=c
5954
ac_cpp='$CPP $CPPFLAGS'
5955
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5956
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5957
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5958
 
5959
 
5960 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5961 90 jeremybenn
$as_echo_n "checking for ANSI C header files... " >&6; }
5962 234 jeremybenn
if test "${ac_cv_header_stdc+set}" = set; then
5963 90 jeremybenn
  $as_echo_n "(cached) " >&6
5964
else
5965 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
5966
/* confdefs.h.  */
5967
_ACEOF
5968
cat confdefs.h >>conftest.$ac_ext
5969
cat >>conftest.$ac_ext <<_ACEOF
5970 90 jeremybenn
/* end confdefs.h.  */
5971
#include 
5972
#include 
5973
#include 
5974
#include 
5975
 
5976
int
5977
main ()
5978
{
5979
 
5980
  ;
5981
  return 0;
5982
}
5983
_ACEOF
5984 234 jeremybenn
rm -f conftest.$ac_objext
5985
if { (ac_try="$ac_compile"
5986
case "(($ac_try" in
5987
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5988
  *) ac_try_echo=$ac_try;;
5989
esac
5990
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5991
$as_echo "$ac_try_echo") >&5
5992
  (eval "$ac_compile") 2>conftest.er1
5993
  ac_status=$?
5994
  grep -v '^ *+' conftest.er1 >conftest.err
5995
  rm -f conftest.er1
5996
  cat conftest.err >&5
5997
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998
  (exit $ac_status); } && {
5999
         test -z "$ac_c_werror_flag" ||
6000
         test ! -s conftest.err
6001
       } && test -s conftest.$ac_objext; then
6002 90 jeremybenn
  ac_cv_header_stdc=yes
6003
else
6004 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
6005
sed 's/^/| /' conftest.$ac_ext >&5
6006
 
6007
        ac_cv_header_stdc=no
6008 90 jeremybenn
fi
6009 234 jeremybenn
 
6010 90 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6011
 
6012
if test $ac_cv_header_stdc = yes; then
6013
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6014 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
6015
/* confdefs.h.  */
6016
_ACEOF
6017
cat confdefs.h >>conftest.$ac_ext
6018
cat >>conftest.$ac_ext <<_ACEOF
6019 90 jeremybenn
/* end confdefs.h.  */
6020
#include 
6021
 
6022
_ACEOF
6023
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6024 234 jeremybenn
  $EGREP "memchr" >/dev/null 2>&1; then
6025
  :
6026 90 jeremybenn
else
6027
  ac_cv_header_stdc=no
6028
fi
6029
rm -f conftest*
6030
 
6031
fi
6032
 
6033
if test $ac_cv_header_stdc = yes; then
6034
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6035 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
6036
/* confdefs.h.  */
6037
_ACEOF
6038
cat confdefs.h >>conftest.$ac_ext
6039
cat >>conftest.$ac_ext <<_ACEOF
6040 90 jeremybenn
/* end confdefs.h.  */
6041
#include 
6042
 
6043
_ACEOF
6044
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6045 234 jeremybenn
  $EGREP "free" >/dev/null 2>&1; then
6046
  :
6047 90 jeremybenn
else
6048
  ac_cv_header_stdc=no
6049
fi
6050
rm -f conftest*
6051
 
6052
fi
6053
 
6054
if test $ac_cv_header_stdc = yes; then
6055
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6056 234 jeremybenn
  if test "$cross_compiling" = yes; then
6057 90 jeremybenn
  :
6058
else
6059 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
6060
/* confdefs.h.  */
6061
_ACEOF
6062
cat confdefs.h >>conftest.$ac_ext
6063
cat >>conftest.$ac_ext <<_ACEOF
6064 90 jeremybenn
/* end confdefs.h.  */
6065
#include 
6066
#include 
6067
#if ((' ' & 0x0FF) == 0x020)
6068
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6069
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6070
#else
6071
# define ISLOWER(c) \
6072
                   (('a' <= (c) && (c) <= 'i') \
6073
                     || ('j' <= (c) && (c) <= 'r') \
6074
                     || ('s' <= (c) && (c) <= 'z'))
6075
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6076
#endif
6077
 
6078
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6079
int
6080
main ()
6081
{
6082
  int i;
6083
  for (i = 0; i < 256; i++)
6084
    if (XOR (islower (i), ISLOWER (i))
6085
        || toupper (i) != TOUPPER (i))
6086
      return 2;
6087
  return 0;
6088
}
6089
_ACEOF
6090 234 jeremybenn
rm -f conftest$ac_exeext
6091
if { (ac_try="$ac_link"
6092
case "(($ac_try" in
6093
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6094
  *) ac_try_echo=$ac_try;;
6095
esac
6096
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6097
$as_echo "$ac_try_echo") >&5
6098
  (eval "$ac_link") 2>&5
6099
  ac_status=$?
6100
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6102
  { (case "(($ac_try" in
6103
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6104
  *) ac_try_echo=$ac_try;;
6105
esac
6106
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6107
$as_echo "$ac_try_echo") >&5
6108
  (eval "$ac_try") 2>&5
6109
  ac_status=$?
6110
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111
  (exit $ac_status); }; }; then
6112
  :
6113
else
6114
  $as_echo "$as_me: program exited with status $ac_status" >&5
6115
$as_echo "$as_me: failed program was:" >&5
6116
sed 's/^/| /' conftest.$ac_ext >&5
6117 233 julius
 
6118 234 jeremybenn
( exit $ac_status )
6119
ac_cv_header_stdc=no
6120 90 jeremybenn
fi
6121 234 jeremybenn
rm -rf conftest.dSYM
6122
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6123 90 jeremybenn
fi
6124
 
6125 234 jeremybenn
 
6126 90 jeremybenn
fi
6127
fi
6128 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6129 90 jeremybenn
$as_echo "$ac_cv_header_stdc" >&6; }
6130
if test $ac_cv_header_stdc = yes; then
6131
 
6132 234 jeremybenn
cat >>confdefs.h <<\_ACEOF
6133
#define STDC_HEADERS 1
6134
_ACEOF
6135 90 jeremybenn
 
6136
fi
6137
 
6138
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6139 234 jeremybenn
 
6140
 
6141
 
6142
 
6143
 
6144
 
6145
 
6146
 
6147
 
6148 90 jeremybenn
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6149
                  inttypes.h stdint.h unistd.h
6150 234 jeremybenn
do
6151
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6152
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6153
$as_echo_n "checking for $ac_header... " >&6; }
6154
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6155
  $as_echo_n "(cached) " >&6
6156
else
6157
  cat >conftest.$ac_ext <<_ACEOF
6158
/* confdefs.h.  */
6159
_ACEOF
6160
cat confdefs.h >>conftest.$ac_ext
6161
cat >>conftest.$ac_ext <<_ACEOF
6162
/* end confdefs.h.  */
6163
$ac_includes_default
6164
 
6165
#include <$ac_header>
6166
_ACEOF
6167
rm -f conftest.$ac_objext
6168
if { (ac_try="$ac_compile"
6169
case "(($ac_try" in
6170
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6171
  *) ac_try_echo=$ac_try;;
6172
esac
6173
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6174
$as_echo "$ac_try_echo") >&5
6175
  (eval "$ac_compile") 2>conftest.er1
6176
  ac_status=$?
6177
  grep -v '^ *+' conftest.er1 >conftest.err
6178
  rm -f conftest.er1
6179
  cat conftest.err >&5
6180
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181
  (exit $ac_status); } && {
6182
         test -z "$ac_c_werror_flag" ||
6183
         test ! -s conftest.err
6184
       } && test -s conftest.$ac_objext; then
6185
  eval "$as_ac_Header=yes"
6186
else
6187
  $as_echo "$as_me: failed program was:" >&5
6188
sed 's/^/| /' conftest.$ac_ext >&5
6189
 
6190
        eval "$as_ac_Header=no"
6191
fi
6192
 
6193
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6194
fi
6195
ac_res=`eval 'as_val=${'$as_ac_Header'}
6196
                 $as_echo "$as_val"'`
6197
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6198
$as_echo "$ac_res" >&6; }
6199
as_val=`eval 'as_val=${'$as_ac_Header'}
6200
                 $as_echo "$as_val"'`
6201
   if test "x$as_val" = x""yes; then
6202 90 jeremybenn
  cat >>confdefs.h <<_ACEOF
6203
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6204
_ACEOF
6205
 
6206
fi
6207
 
6208
done
6209
 
6210
 
6211 234 jeremybenn
 
6212 90 jeremybenn
for ac_header in dlfcn.h
6213 234 jeremybenn
do
6214
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6215
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6216
$as_echo_n "checking for $ac_header... " >&6; }
6217
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6218
  $as_echo_n "(cached) " >&6
6219
else
6220
  cat >conftest.$ac_ext <<_ACEOF
6221
/* confdefs.h.  */
6222
_ACEOF
6223
cat confdefs.h >>conftest.$ac_ext
6224
cat >>conftest.$ac_ext <<_ACEOF
6225
/* end confdefs.h.  */
6226
$ac_includes_default
6227
 
6228
#include <$ac_header>
6229
_ACEOF
6230
rm -f conftest.$ac_objext
6231
if { (ac_try="$ac_compile"
6232
case "(($ac_try" in
6233
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6234
  *) ac_try_echo=$ac_try;;
6235
esac
6236
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6237
$as_echo "$ac_try_echo") >&5
6238
  (eval "$ac_compile") 2>conftest.er1
6239
  ac_status=$?
6240
  grep -v '^ *+' conftest.er1 >conftest.err
6241
  rm -f conftest.er1
6242
  cat conftest.err >&5
6243
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244
  (exit $ac_status); } && {
6245
         test -z "$ac_c_werror_flag" ||
6246
         test ! -s conftest.err
6247
       } && test -s conftest.$ac_objext; then
6248
  eval "$as_ac_Header=yes"
6249
else
6250
  $as_echo "$as_me: failed program was:" >&5
6251
sed 's/^/| /' conftest.$ac_ext >&5
6252
 
6253
        eval "$as_ac_Header=no"
6254
fi
6255
 
6256
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6257
fi
6258
ac_res=`eval 'as_val=${'$as_ac_Header'}
6259
                 $as_echo "$as_val"'`
6260
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6261
$as_echo "$ac_res" >&6; }
6262
as_val=`eval 'as_val=${'$as_ac_Header'}
6263
                 $as_echo "$as_val"'`
6264
   if test "x$as_val" = x""yes; then
6265 90 jeremybenn
  cat >>confdefs.h <<_ACEOF
6266 234 jeremybenn
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6267 90 jeremybenn
_ACEOF
6268
 
6269
fi
6270
 
6271
done
6272
 
6273
 
6274
 
6275
# Set options
6276
 
6277
 
6278
 
6279
        enable_dlopen=no
6280
 
6281
 
6282
  enable_win32_dll=no
6283
 
6284
 
6285
            # Check whether --enable-shared was given.
6286 234 jeremybenn
if test "${enable_shared+set}" = set; then
6287 90 jeremybenn
  enableval=$enable_shared; p=${PACKAGE-default}
6288
    case $enableval in
6289
    yes) enable_shared=yes ;;
6290
    no) enable_shared=no ;;
6291
    *)
6292
      enable_shared=no
6293
      # Look at the argument we got.  We use all the common list separators.
6294
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6295
      for pkg in $enableval; do
6296
        IFS="$lt_save_ifs"
6297
        if test "X$pkg" = "X$p"; then
6298
          enable_shared=yes
6299
        fi
6300
      done
6301
      IFS="$lt_save_ifs"
6302
      ;;
6303
    esac
6304
else
6305
  enable_shared=yes
6306
fi
6307
 
6308
 
6309
 
6310
 
6311
 
6312
 
6313
 
6314
 
6315
 
6316
  # Check whether --enable-static was given.
6317 234 jeremybenn
if test "${enable_static+set}" = set; then
6318 90 jeremybenn
  enableval=$enable_static; p=${PACKAGE-default}
6319
    case $enableval in
6320
    yes) enable_static=yes ;;
6321
    no) enable_static=no ;;
6322
    *)
6323
     enable_static=no
6324
      # Look at the argument we got.  We use all the common list separators.
6325
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6326
      for pkg in $enableval; do
6327
        IFS="$lt_save_ifs"
6328
        if test "X$pkg" = "X$p"; then
6329
          enable_static=yes
6330
        fi
6331
      done
6332
      IFS="$lt_save_ifs"
6333
      ;;
6334
    esac
6335
else
6336
  enable_static=yes
6337
fi
6338
 
6339
 
6340
 
6341
 
6342
 
6343
 
6344
 
6345
 
6346
 
6347
 
6348
# Check whether --with-pic was given.
6349 234 jeremybenn
if test "${with_pic+set}" = set; then
6350 90 jeremybenn
  withval=$with_pic; pic_mode="$withval"
6351
else
6352
  pic_mode=default
6353
fi
6354
 
6355
 
6356
test -z "$pic_mode" && pic_mode=default
6357
 
6358
 
6359
 
6360
 
6361
 
6362
 
6363
 
6364
  # Check whether --enable-fast-install was given.
6365 234 jeremybenn
if test "${enable_fast_install+set}" = set; then
6366 90 jeremybenn
  enableval=$enable_fast_install; p=${PACKAGE-default}
6367
    case $enableval in
6368
    yes) enable_fast_install=yes ;;
6369
    no) enable_fast_install=no ;;
6370
    *)
6371
      enable_fast_install=no
6372
      # Look at the argument we got.  We use all the common list separators.
6373
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6374
      for pkg in $enableval; do
6375
        IFS="$lt_save_ifs"
6376
        if test "X$pkg" = "X$p"; then
6377
          enable_fast_install=yes
6378
        fi
6379
      done
6380
      IFS="$lt_save_ifs"
6381
      ;;
6382
    esac
6383
else
6384
  enable_fast_install=yes
6385
fi
6386
 
6387
 
6388
 
6389
 
6390
 
6391
 
6392
 
6393
 
6394
 
6395
 
6396
 
6397
# This can be used to rebuild libtool when needed
6398
LIBTOOL_DEPS="$ltmain"
6399
 
6400
# Always use our own libtool.
6401
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6402
 
6403
 
6404
 
6405
 
6406
 
6407
 
6408
 
6409
 
6410
 
6411
 
6412
 
6413
 
6414
 
6415
 
6416
 
6417
 
6418
 
6419
 
6420
 
6421
 
6422
 
6423
 
6424
 
6425
 
6426
 
6427
test -z "$LN_S" && LN_S="ln -s"
6428
 
6429
 
6430
 
6431
 
6432
 
6433
 
6434
 
6435
 
6436
 
6437
 
6438
 
6439
 
6440
 
6441
 
6442
if test -n "${ZSH_VERSION+set}" ; then
6443
   setopt NO_GLOB_SUBST
6444
fi
6445
 
6446 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
6447 90 jeremybenn
$as_echo_n "checking for objdir... " >&6; }
6448 234 jeremybenn
if test "${lt_cv_objdir+set}" = set; then
6449 90 jeremybenn
  $as_echo_n "(cached) " >&6
6450
else
6451
  rm -f .libs 2>/dev/null
6452
mkdir .libs 2>/dev/null
6453
if test -d .libs; then
6454
  lt_cv_objdir=.libs
6455
else
6456
  # MS-DOS does not allow filenames that begin with a dot.
6457
  lt_cv_objdir=_libs
6458
fi
6459
rmdir .libs 2>/dev/null
6460
fi
6461 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6462 90 jeremybenn
$as_echo "$lt_cv_objdir" >&6; }
6463
objdir=$lt_cv_objdir
6464
 
6465
 
6466
 
6467
 
6468
 
6469
cat >>confdefs.h <<_ACEOF
6470
#define LT_OBJDIR "$lt_cv_objdir/"
6471
_ACEOF
6472
 
6473
 
6474
 
6475
 
6476
 
6477
 
6478
 
6479
 
6480
 
6481
 
6482
 
6483
 
6484
 
6485
 
6486
 
6487
 
6488
 
6489
case $host_os in
6490
aix3*)
6491
  # AIX sometimes has problems with the GCC collect2 program.  For some
6492
  # reason, if we set the COLLECT_NAMES environment variable, the problems
6493
  # vanish in a puff of smoke.
6494
  if test "X${COLLECT_NAMES+set}" != Xset; then
6495
    COLLECT_NAMES=
6496
    export COLLECT_NAMES
6497
  fi
6498
  ;;
6499
esac
6500
 
6501
# Sed substitution that helps us do robust quoting.  It backslashifies
6502
# metacharacters that are still active within double-quoted strings.
6503
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6504
 
6505
# Same as above, but do not quote variable references.
6506
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6507
 
6508
# Sed substitution to delay expansion of an escaped shell variable in a
6509
# double_quote_subst'ed string.
6510
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6511
 
6512
# Sed substitution to delay expansion of an escaped single quote.
6513
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6514
 
6515
# Sed substitution to avoid accidental globbing in evaled expressions
6516
no_glob_subst='s/\*/\\\*/g'
6517
 
6518
# Global variables:
6519
ofile=libtool
6520
can_build_shared=yes
6521
 
6522
# All known linkers require a `.a' archive for static linking (except MSVC,
6523
# which needs '.lib').
6524
libext=a
6525
 
6526
with_gnu_ld="$lt_cv_prog_gnu_ld"
6527
 
6528
old_CC="$CC"
6529
old_CFLAGS="$CFLAGS"
6530
 
6531
# Set sane defaults for various variables
6532
test -z "$CC" && CC=cc
6533
test -z "$LTCC" && LTCC=$CC
6534
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6535
test -z "$LD" && LD=ld
6536
test -z "$ac_objext" && ac_objext=o
6537
 
6538
for cc_temp in $compiler""; do
6539
  case $cc_temp in
6540
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6541
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6542
    \-*) ;;
6543
    *) break;;
6544
  esac
6545
done
6546
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6547
 
6548
 
6549
# Only perform the check for file, if the check method requires it
6550
test -z "$MAGIC_CMD" && MAGIC_CMD=file
6551
case $deplibs_check_method in
6552
file_magic*)
6553
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6554 234 jeremybenn
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6555 90 jeremybenn
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6556 234 jeremybenn
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6557 90 jeremybenn
  $as_echo_n "(cached) " >&6
6558
else
6559
  case $MAGIC_CMD in
6560
[\\/*] |  ?:[\\/]*)
6561
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6562
  ;;
6563
*)
6564
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6565
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6566
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6567
  for ac_dir in $ac_dummy; do
6568
    IFS="$lt_save_ifs"
6569
    test -z "$ac_dir" && ac_dir=.
6570
    if test -f $ac_dir/${ac_tool_prefix}file; then
6571
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6572
      if test -n "$file_magic_test_file"; then
6573
        case $deplibs_check_method in
6574
        "file_magic "*)
6575
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6576
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6577
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6578
            $EGREP "$file_magic_regex" > /dev/null; then
6579
            :
6580
          else
6581
            cat <<_LT_EOF 1>&2
6582
 
6583
*** Warning: the command libtool uses to detect shared libraries,
6584
*** $file_magic_cmd, produces output that libtool cannot recognize.
6585
*** The result is that libtool may fail to recognize shared libraries
6586
*** as such.  This will affect the creation of libtool libraries that
6587
*** depend on shared libraries, but programs linked with such libtool
6588
*** libraries will work regardless of this problem.  Nevertheless, you
6589
*** may want to report the problem to your system manager and/or to
6590
*** bug-libtool@gnu.org
6591
 
6592
_LT_EOF
6593
          fi ;;
6594
        esac
6595
      fi
6596
      break
6597
    fi
6598
  done
6599
  IFS="$lt_save_ifs"
6600
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6601
  ;;
6602
esac
6603
fi
6604
 
6605
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6606
if test -n "$MAGIC_CMD"; then
6607 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6608 90 jeremybenn
$as_echo "$MAGIC_CMD" >&6; }
6609
else
6610 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
6611 90 jeremybenn
$as_echo "no" >&6; }
6612
fi
6613
 
6614
 
6615
 
6616
 
6617
 
6618
if test -z "$lt_cv_path_MAGIC_CMD"; then
6619
  if test -n "$ac_tool_prefix"; then
6620 234 jeremybenn
    { $as_echo "$as_me:$LINENO: checking for file" >&5
6621 90 jeremybenn
$as_echo_n "checking for file... " >&6; }
6622 234 jeremybenn
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6623 90 jeremybenn
  $as_echo_n "(cached) " >&6
6624
else
6625
  case $MAGIC_CMD in
6626
[\\/*] |  ?:[\\/]*)
6627
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6628
  ;;
6629
*)
6630
  lt_save_MAGIC_CMD="$MAGIC_CMD"
6631
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6632
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6633
  for ac_dir in $ac_dummy; do
6634
    IFS="$lt_save_ifs"
6635
    test -z "$ac_dir" && ac_dir=.
6636
    if test -f $ac_dir/file; then
6637
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
6638
      if test -n "$file_magic_test_file"; then
6639
        case $deplibs_check_method in
6640
        "file_magic "*)
6641
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6642
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6643
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6644
            $EGREP "$file_magic_regex" > /dev/null; then
6645
            :
6646
          else
6647
            cat <<_LT_EOF 1>&2
6648
 
6649
*** Warning: the command libtool uses to detect shared libraries,
6650
*** $file_magic_cmd, produces output that libtool cannot recognize.
6651
*** The result is that libtool may fail to recognize shared libraries
6652
*** as such.  This will affect the creation of libtool libraries that
6653
*** depend on shared libraries, but programs linked with such libtool
6654
*** libraries will work regardless of this problem.  Nevertheless, you
6655
*** may want to report the problem to your system manager and/or to
6656
*** bug-libtool@gnu.org
6657
 
6658
_LT_EOF
6659
          fi ;;
6660
        esac
6661
      fi
6662
      break
6663
    fi
6664
  done
6665
  IFS="$lt_save_ifs"
6666
  MAGIC_CMD="$lt_save_MAGIC_CMD"
6667
  ;;
6668
esac
6669
fi
6670
 
6671
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6672
if test -n "$MAGIC_CMD"; then
6673 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6674 90 jeremybenn
$as_echo "$MAGIC_CMD" >&6; }
6675
else
6676 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
6677 90 jeremybenn
$as_echo "no" >&6; }
6678
fi
6679
 
6680
 
6681
  else
6682
    MAGIC_CMD=:
6683
  fi
6684
fi
6685
 
6686
  fi
6687
  ;;
6688
esac
6689
 
6690
# Use C for the default configuration in the libtool script
6691
 
6692
lt_save_CC="$CC"
6693
ac_ext=c
6694
ac_cpp='$CPP $CPPFLAGS'
6695
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6696
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6697
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6698
 
6699
 
6700
# Source file extension for C test sources.
6701
ac_ext=c
6702
 
6703
# Object file extension for compiled C test sources.
6704
objext=o
6705
objext=$objext
6706
 
6707
# Code to be used in simple compile tests
6708
lt_simple_compile_test_code="int some_variable = 0;"
6709
 
6710
# Code to be used in simple link tests
6711
lt_simple_link_test_code='int main(){return(0);}'
6712
 
6713
 
6714
 
6715
 
6716
 
6717
 
6718
 
6719
# If no C compiler was specified, use CC.
6720
LTCC=${LTCC-"$CC"}
6721
 
6722
# If no C compiler flags were specified, use CFLAGS.
6723
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6724
 
6725
# Allow CC to be a program name with arguments.
6726
compiler=$CC
6727
 
6728
# Save the default compiler, since it gets overwritten when the other
6729
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6730
compiler_DEFAULT=$CC
6731
 
6732
# save warnings/boilerplate of simple test code
6733
ac_outfile=conftest.$ac_objext
6734
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6735
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6736
_lt_compiler_boilerplate=`cat conftest.err`
6737
$RM conftest*
6738
 
6739
ac_outfile=conftest.$ac_objext
6740
echo "$lt_simple_link_test_code" >conftest.$ac_ext
6741
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6742
_lt_linker_boilerplate=`cat conftest.err`
6743
$RM -r conftest*
6744
 
6745
 
6746
## CAVEAT EMPTOR:
6747
## There is no encapsulation within the following macros, do not change
6748
## the running order or otherwise move them around unless you know exactly
6749
## what you are doing...
6750
if test -n "$compiler"; then
6751
 
6752
lt_prog_compiler_no_builtin_flag=
6753
 
6754
if test "$GCC" = yes; then
6755
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6756
 
6757 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6758 90 jeremybenn
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
6759 234 jeremybenn
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6760 90 jeremybenn
  $as_echo_n "(cached) " >&6
6761
else
6762
  lt_cv_prog_compiler_rtti_exceptions=no
6763
   ac_outfile=conftest.$ac_objext
6764
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6765
   lt_compiler_flag="-fno-rtti -fno-exceptions"
6766
   # Insert the option either (1) after the last *FLAGS variable, or
6767
   # (2) before a word containing "conftest.", or (3) at the end.
6768
   # Note that $ac_compile itself does not contain backslashes and begins
6769
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6770
   # The option is referenced via a variable to avoid confusing sed.
6771
   lt_compile=`echo "$ac_compile" | $SED \
6772
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6773
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6774
   -e 's:$: $lt_compiler_flag:'`
6775 234 jeremybenn
   (eval echo "\"\$as_me:6775: $lt_compile\"" >&5)
6776 90 jeremybenn
   (eval "$lt_compile" 2>conftest.err)
6777
   ac_status=$?
6778
   cat conftest.err >&5
6779 234 jeremybenn
   echo "$as_me:6779: \$? = $ac_status" >&5
6780 90 jeremybenn
   if (exit $ac_status) && test -s "$ac_outfile"; then
6781
     # The compiler can only warn and ignore the option if not recognized
6782
     # So say no if there are warnings other than the usual output.
6783
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6784
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6785
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6786
       lt_cv_prog_compiler_rtti_exceptions=yes
6787
     fi
6788
   fi
6789
   $RM conftest*
6790
 
6791
fi
6792 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6793 90 jeremybenn
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6794
 
6795
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6796
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6797
else
6798
    :
6799
fi
6800
 
6801
fi
6802
 
6803
 
6804
 
6805
 
6806
 
6807
 
6808
  lt_prog_compiler_wl=
6809
lt_prog_compiler_pic=
6810
lt_prog_compiler_static=
6811
 
6812 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6813 90 jeremybenn
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
6814
 
6815
  if test "$GCC" = yes; then
6816
    lt_prog_compiler_wl='-Wl,'
6817
    lt_prog_compiler_static='-static'
6818
 
6819
    case $host_os in
6820
      aix*)
6821
      # All AIX code is PIC.
6822
      if test "$host_cpu" = ia64; then
6823
        # AIX 5 now supports IA64 processor
6824
        lt_prog_compiler_static='-Bstatic'
6825
      fi
6826
      ;;
6827
 
6828
    amigaos*)
6829
      case $host_cpu in
6830
      powerpc)
6831
            # see comment about AmigaOS4 .so support
6832
            lt_prog_compiler_pic='-fPIC'
6833
        ;;
6834
      m68k)
6835
            # FIXME: we need at least 68020 code to build shared libraries, but
6836
            # adding the `-m68020' flag to GCC prevents building anything better,
6837
            # like `-m68040'.
6838
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6839
        ;;
6840
      esac
6841
      ;;
6842
 
6843
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6844
      # PIC is the default for these OSes.
6845
      ;;
6846
 
6847
    mingw* | cygwin* | pw32* | os2* | cegcc*)
6848
      # This hack is so that the source file can tell whether it is being
6849
      # built for inclusion in a dll (and should export symbols for example).
6850
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
6851
      # (--disable-auto-import) libraries
6852
      lt_prog_compiler_pic='-DDLL_EXPORT'
6853
      ;;
6854
 
6855
    darwin* | rhapsody*)
6856
      # PIC is the default on this platform
6857
      # Common symbols not allowed in MH_DYLIB files
6858
      lt_prog_compiler_pic='-fno-common'
6859
      ;;
6860
 
6861
    hpux*)
6862
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6863
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
6864
      # sets the default TLS model and affects inlining.
6865
      case $host_cpu in
6866
      hppa*64*)
6867
        # +Z the default
6868
        ;;
6869
      *)
6870
        lt_prog_compiler_pic='-fPIC'
6871
        ;;
6872
      esac
6873
      ;;
6874
 
6875
    interix[3-9]*)
6876
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6877
      # Instead, we relocate shared libraries at runtime.
6878
      ;;
6879
 
6880
    msdosdjgpp*)
6881
      # Just because we use GCC doesn't mean we suddenly get shared libraries
6882
      # on systems that don't support them.
6883
      lt_prog_compiler_can_build_shared=no
6884
      enable_shared=no
6885
      ;;
6886
 
6887
    *nto* | *qnx*)
6888
      # QNX uses GNU C++, but need to define -shared option too, otherwise
6889
      # it will coredump.
6890
      lt_prog_compiler_pic='-fPIC -shared'
6891
      ;;
6892
 
6893
    sysv4*MP*)
6894
      if test -d /usr/nec; then
6895
        lt_prog_compiler_pic=-Kconform_pic
6896
      fi
6897
      ;;
6898
 
6899
    *)
6900
      lt_prog_compiler_pic='-fPIC'
6901
      ;;
6902
    esac
6903
  else
6904
    # PORTME Check for flag to pass linker flags through the system compiler.
6905
    case $host_os in
6906
    aix*)
6907
      lt_prog_compiler_wl='-Wl,'
6908
      if test "$host_cpu" = ia64; then
6909
        # AIX 5 now supports IA64 processor
6910
        lt_prog_compiler_static='-Bstatic'
6911
      else
6912
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6913
      fi
6914
      ;;
6915
 
6916
    mingw* | cygwin* | pw32* | os2* | cegcc*)
6917
      # This hack is so that the source file can tell whether it is being
6918
      # built for inclusion in a dll (and should export symbols for example).
6919
      lt_prog_compiler_pic='-DDLL_EXPORT'
6920
      ;;
6921
 
6922
    hpux9* | hpux10* | hpux11*)
6923
      lt_prog_compiler_wl='-Wl,'
6924
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6925
      # not for PA HP-UX.
6926
      case $host_cpu in
6927
      hppa*64*|ia64*)
6928
        # +Z the default
6929
        ;;
6930
      *)
6931
        lt_prog_compiler_pic='+Z'
6932
        ;;
6933
      esac
6934
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
6935
      lt_prog_compiler_static='${wl}-a ${wl}archive'
6936
      ;;
6937
 
6938
    irix5* | irix6* | nonstopux*)
6939
      lt_prog_compiler_wl='-Wl,'
6940
      # PIC (with -KPIC) is the default.
6941
      lt_prog_compiler_static='-non_shared'
6942
      ;;
6943
 
6944
    linux* | k*bsd*-gnu)
6945
      case $cc_basename in
6946
      # old Intel for x86_64 which still supported -KPIC.
6947
      ecc*)
6948
        lt_prog_compiler_wl='-Wl,'
6949
        lt_prog_compiler_pic='-KPIC'
6950
        lt_prog_compiler_static='-static'
6951
        ;;
6952
      # icc used to be incompatible with GCC.
6953
      # ICC 10 doesn't accept -KPIC any more.
6954
      icc* | ifort*)
6955
        lt_prog_compiler_wl='-Wl,'
6956
        lt_prog_compiler_pic='-fPIC'
6957
        lt_prog_compiler_static='-static'
6958
        ;;
6959
      # Lahey Fortran 8.1.
6960
      lf95*)
6961
        lt_prog_compiler_wl='-Wl,'
6962
        lt_prog_compiler_pic='--shared'
6963
        lt_prog_compiler_static='--static'
6964
        ;;
6965
      pgcc* | pgf77* | pgf90* | pgf95*)
6966
        # Portland Group compilers (*not* the Pentium gcc compiler,
6967
        # which looks to be a dead project)
6968
        lt_prog_compiler_wl='-Wl,'
6969
        lt_prog_compiler_pic='-fpic'
6970
        lt_prog_compiler_static='-Bstatic'
6971
        ;;
6972
      ccc*)
6973
        lt_prog_compiler_wl='-Wl,'
6974
        # All Alpha code is PIC.
6975
        lt_prog_compiler_static='-non_shared'
6976
        ;;
6977
      xl*)
6978
        # IBM XL C 8.0/Fortran 10.1 on PPC
6979
        lt_prog_compiler_wl='-Wl,'
6980
        lt_prog_compiler_pic='-qpic'
6981
        lt_prog_compiler_static='-qstaticlink'
6982
        ;;
6983
      *)
6984
        case `$CC -V 2>&1 | sed 5q` in
6985
        *Sun\ C*)
6986
          # Sun C 5.9
6987
          lt_prog_compiler_pic='-KPIC'
6988
          lt_prog_compiler_static='-Bstatic'
6989
          lt_prog_compiler_wl='-Wl,'
6990
          ;;
6991
        *Sun\ F*)
6992
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
6993
          lt_prog_compiler_pic='-KPIC'
6994
          lt_prog_compiler_static='-Bstatic'
6995
          lt_prog_compiler_wl=''
6996
          ;;
6997
        esac
6998
        ;;
6999
      esac
7000
      ;;
7001
 
7002
    newsos6)
7003
      lt_prog_compiler_pic='-KPIC'
7004
      lt_prog_compiler_static='-Bstatic'
7005
      ;;
7006
 
7007
    *nto* | *qnx*)
7008
      # QNX uses GNU C++, but need to define -shared option too, otherwise
7009
      # it will coredump.
7010
      lt_prog_compiler_pic='-fPIC -shared'
7011
      ;;
7012
 
7013
    osf3* | osf4* | osf5*)
7014
      lt_prog_compiler_wl='-Wl,'
7015
      # All OSF/1 code is PIC.
7016
      lt_prog_compiler_static='-non_shared'
7017
      ;;
7018
 
7019
    rdos*)
7020
      lt_prog_compiler_static='-non_shared'
7021
      ;;
7022
 
7023
    solaris*)
7024
      lt_prog_compiler_pic='-KPIC'
7025
      lt_prog_compiler_static='-Bstatic'
7026
      case $cc_basename in
7027
      f77* | f90* | f95*)
7028
        lt_prog_compiler_wl='-Qoption ld ';;
7029
      *)
7030
        lt_prog_compiler_wl='-Wl,';;
7031
      esac
7032
      ;;
7033
 
7034
    sunos4*)
7035
      lt_prog_compiler_wl='-Qoption ld '
7036
      lt_prog_compiler_pic='-PIC'
7037
      lt_prog_compiler_static='-Bstatic'
7038
      ;;
7039
 
7040
    sysv4 | sysv4.2uw2* | sysv4.3*)
7041
      lt_prog_compiler_wl='-Wl,'
7042
      lt_prog_compiler_pic='-KPIC'
7043
      lt_prog_compiler_static='-Bstatic'
7044
      ;;
7045
 
7046
    sysv4*MP*)
7047
      if test -d /usr/nec ;then
7048
        lt_prog_compiler_pic='-Kconform_pic'
7049
        lt_prog_compiler_static='-Bstatic'
7050
      fi
7051
      ;;
7052
 
7053
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7054
      lt_prog_compiler_wl='-Wl,'
7055
      lt_prog_compiler_pic='-KPIC'
7056
      lt_prog_compiler_static='-Bstatic'
7057
      ;;
7058
 
7059
    unicos*)
7060
      lt_prog_compiler_wl='-Wl,'
7061
      lt_prog_compiler_can_build_shared=no
7062
      ;;
7063
 
7064
    uts4*)
7065
      lt_prog_compiler_pic='-pic'
7066
      lt_prog_compiler_static='-Bstatic'
7067
      ;;
7068
 
7069
    *)
7070
      lt_prog_compiler_can_build_shared=no
7071
      ;;
7072
    esac
7073
  fi
7074
 
7075
case $host_os in
7076
  # For platforms which do not support PIC, -DPIC is meaningless:
7077
  *djgpp*)
7078
    lt_prog_compiler_pic=
7079
    ;;
7080
  *)
7081
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7082
    ;;
7083
esac
7084 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7085 90 jeremybenn
$as_echo "$lt_prog_compiler_pic" >&6; }
7086
 
7087
 
7088
 
7089
 
7090
 
7091
 
7092
#
7093
# Check to make sure the PIC flag actually works.
7094
#
7095
if test -n "$lt_prog_compiler_pic"; then
7096 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7097 90 jeremybenn
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7098 234 jeremybenn
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7099 90 jeremybenn
  $as_echo_n "(cached) " >&6
7100
else
7101
  lt_cv_prog_compiler_pic_works=no
7102
   ac_outfile=conftest.$ac_objext
7103
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7104
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7105
   # Insert the option either (1) after the last *FLAGS variable, or
7106
   # (2) before a word containing "conftest.", or (3) at the end.
7107
   # Note that $ac_compile itself does not contain backslashes and begins
7108
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7109
   # The option is referenced via a variable to avoid confusing sed.
7110
   lt_compile=`echo "$ac_compile" | $SED \
7111
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7112
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7113
   -e 's:$: $lt_compiler_flag:'`
7114 234 jeremybenn
   (eval echo "\"\$as_me:7114: $lt_compile\"" >&5)
7115 90 jeremybenn
   (eval "$lt_compile" 2>conftest.err)
7116
   ac_status=$?
7117
   cat conftest.err >&5
7118 234 jeremybenn
   echo "$as_me:7118: \$? = $ac_status" >&5
7119 90 jeremybenn
   if (exit $ac_status) && test -s "$ac_outfile"; then
7120
     # The compiler can only warn and ignore the option if not recognized
7121
     # So say no if there are warnings other than the usual output.
7122
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7123
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7124
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7125
       lt_cv_prog_compiler_pic_works=yes
7126
     fi
7127
   fi
7128
   $RM conftest*
7129
 
7130
fi
7131 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7132 90 jeremybenn
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7133
 
7134
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7135
    case $lt_prog_compiler_pic in
7136
     "" | " "*) ;;
7137
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7138
     esac
7139
else
7140
    lt_prog_compiler_pic=
7141
     lt_prog_compiler_can_build_shared=no
7142
fi
7143
 
7144
fi
7145
 
7146
 
7147
 
7148
 
7149
 
7150
 
7151
#
7152
# Check to make sure the static flag actually works.
7153
#
7154
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7155 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7156 90 jeremybenn
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7157 234 jeremybenn
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7158 90 jeremybenn
  $as_echo_n "(cached) " >&6
7159
else
7160
  lt_cv_prog_compiler_static_works=no
7161
   save_LDFLAGS="$LDFLAGS"
7162
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7163
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7164
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7165
     # The linker can only warn and ignore the option if not recognized
7166
     # So say no if there are warnings
7167
     if test -s conftest.err; then
7168
       # Append any errors to the config.log.
7169
       cat conftest.err 1>&5
7170
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7171
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7172
       if diff conftest.exp conftest.er2 >/dev/null; then
7173
         lt_cv_prog_compiler_static_works=yes
7174
       fi
7175
     else
7176
       lt_cv_prog_compiler_static_works=yes
7177
     fi
7178
   fi
7179
   $RM -r conftest*
7180
   LDFLAGS="$save_LDFLAGS"
7181
 
7182
fi
7183 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7184 90 jeremybenn
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7185
 
7186
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7187
    :
7188
else
7189
    lt_prog_compiler_static=
7190
fi
7191
 
7192
 
7193
 
7194
 
7195
 
7196
 
7197
 
7198 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7199 90 jeremybenn
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7200 234 jeremybenn
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7201 90 jeremybenn
  $as_echo_n "(cached) " >&6
7202
else
7203
  lt_cv_prog_compiler_c_o=no
7204
   $RM -r conftest 2>/dev/null
7205
   mkdir conftest
7206
   cd conftest
7207
   mkdir out
7208
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7209
 
7210
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7211
   # Insert the option either (1) after the last *FLAGS variable, or
7212
   # (2) before a word containing "conftest.", or (3) at the end.
7213
   # Note that $ac_compile itself does not contain backslashes and begins
7214
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7215
   lt_compile=`echo "$ac_compile" | $SED \
7216
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7217
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7218
   -e 's:$: $lt_compiler_flag:'`
7219 234 jeremybenn
   (eval echo "\"\$as_me:7219: $lt_compile\"" >&5)
7220 90 jeremybenn
   (eval "$lt_compile" 2>out/conftest.err)
7221
   ac_status=$?
7222
   cat out/conftest.err >&5
7223 234 jeremybenn
   echo "$as_me:7223: \$? = $ac_status" >&5
7224 90 jeremybenn
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7225
   then
7226
     # The compiler can only warn and ignore the option if not recognized
7227
     # So say no if there are warnings
7228
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7229
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7230
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7231
       lt_cv_prog_compiler_c_o=yes
7232
     fi
7233
   fi
7234
   chmod u+w . 2>&5
7235
   $RM conftest*
7236
   # SGI C++ compiler will create directory out/ii_files/ for
7237
   # template instantiation
7238
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7239
   $RM out/* && rmdir out
7240
   cd ..
7241
   $RM -r conftest
7242
   $RM conftest*
7243
 
7244
fi
7245 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7246 90 jeremybenn
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7247
 
7248
 
7249
 
7250
 
7251
 
7252
 
7253 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7254 90 jeremybenn
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7255 234 jeremybenn
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7256 90 jeremybenn
  $as_echo_n "(cached) " >&6
7257
else
7258
  lt_cv_prog_compiler_c_o=no
7259
   $RM -r conftest 2>/dev/null
7260
   mkdir conftest
7261
   cd conftest
7262
   mkdir out
7263
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7264
 
7265
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7266
   # Insert the option either (1) after the last *FLAGS variable, or
7267
   # (2) before a word containing "conftest.", or (3) at the end.
7268
   # Note that $ac_compile itself does not contain backslashes and begins
7269
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7270
   lt_compile=`echo "$ac_compile" | $SED \
7271
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7272
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7273
   -e 's:$: $lt_compiler_flag:'`
7274 234 jeremybenn
   (eval echo "\"\$as_me:7274: $lt_compile\"" >&5)
7275 90 jeremybenn
   (eval "$lt_compile" 2>out/conftest.err)
7276
   ac_status=$?
7277
   cat out/conftest.err >&5
7278 234 jeremybenn
   echo "$as_me:7278: \$? = $ac_status" >&5
7279 90 jeremybenn
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7280
   then
7281
     # The compiler can only warn and ignore the option if not recognized
7282
     # So say no if there are warnings
7283
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7284
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7285
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7286
       lt_cv_prog_compiler_c_o=yes
7287
     fi
7288
   fi
7289
   chmod u+w . 2>&5
7290
   $RM conftest*
7291
   # SGI C++ compiler will create directory out/ii_files/ for
7292
   # template instantiation
7293
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7294
   $RM out/* && rmdir out
7295
   cd ..
7296
   $RM -r conftest
7297
   $RM conftest*
7298
 
7299
fi
7300 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7301 90 jeremybenn
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7302
 
7303
 
7304
 
7305
 
7306
hard_links="nottested"
7307
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7308
  # do not overwrite the value of need_locks provided by the user
7309 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7310 90 jeremybenn
$as_echo_n "checking if we can lock with hard links... " >&6; }
7311
  hard_links=yes
7312
  $RM conftest*
7313
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7314
  touch conftest.a
7315
  ln conftest.a conftest.b 2>&5 || hard_links=no
7316
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7317 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7318 90 jeremybenn
$as_echo "$hard_links" >&6; }
7319
  if test "$hard_links" = no; then
7320 234 jeremybenn
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7321 90 jeremybenn
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7322
    need_locks=warn
7323
  fi
7324
else
7325
  need_locks=no
7326
fi
7327
 
7328
 
7329
 
7330
 
7331
 
7332
 
7333 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7334 90 jeremybenn
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7335
 
7336
  runpath_var=
7337
  allow_undefined_flag=
7338
  always_export_symbols=no
7339
  archive_cmds=
7340
  archive_expsym_cmds=
7341
  compiler_needs_object=no
7342
  enable_shared_with_static_runtimes=no
7343
  export_dynamic_flag_spec=
7344
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7345
  hardcode_automatic=no
7346
  hardcode_direct=no
7347
  hardcode_direct_absolute=no
7348
  hardcode_libdir_flag_spec=
7349
  hardcode_libdir_flag_spec_ld=
7350
  hardcode_libdir_separator=
7351
  hardcode_minus_L=no
7352
  hardcode_shlibpath_var=unsupported
7353
  inherit_rpath=no
7354
  link_all_deplibs=unknown
7355
  module_cmds=
7356
  module_expsym_cmds=
7357
  old_archive_from_new_cmds=
7358
  old_archive_from_expsyms_cmds=
7359
  thread_safe_flag_spec=
7360
  whole_archive_flag_spec=
7361
  # include_expsyms should be a list of space-separated symbols to be *always*
7362
  # included in the symbol list
7363
  include_expsyms=
7364
  # exclude_expsyms can be an extended regexp of symbols to exclude
7365
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7366
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7367
  # as well as any symbol that contains `d'.
7368
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7369
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7370
  # platforms (ab)use it in PIC code, but their linkers get confused if
7371
  # the symbol is explicitly referenced.  Since portable code cannot
7372
  # rely on this symbol name, it's probably fine to never include it in
7373
  # preloaded symbol tables.
7374
  # Exclude shared library initialization/finalization symbols.
7375
  extract_expsyms_cmds=
7376
 
7377
  case $host_os in
7378
  cygwin* | mingw* | pw32* | cegcc*)
7379
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7380
    # When not using gcc, we currently assume that we are using
7381
    # Microsoft Visual C++.
7382
    if test "$GCC" != yes; then
7383
      with_gnu_ld=no
7384
    fi
7385
    ;;
7386
  interix*)
7387
    # we just hope/assume this is gcc and not c89 (= MSVC++)
7388
    with_gnu_ld=yes
7389
    ;;
7390
  openbsd*)
7391
    with_gnu_ld=no
7392
    ;;
7393 93 jeremybenn
  linux* | k*bsd*-gnu)
7394
    link_all_deplibs=no
7395
    ;;
7396 90 jeremybenn
  esac
7397
 
7398
  ld_shlibs=yes
7399
  if test "$with_gnu_ld" = yes; then
7400
    # If archive_cmds runs LD, not CC, wlarc should be empty
7401
    wlarc='${wl}'
7402
 
7403
    # Set some defaults for GNU ld with shared library support. These
7404
    # are reset later if shared libraries are not supported. Putting them
7405
    # here allows them to be overridden if necessary.
7406
    runpath_var=LD_RUN_PATH
7407
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7408
    export_dynamic_flag_spec='${wl}--export-dynamic'
7409
    # ancient GNU ld didn't support --whole-archive et. al.
7410
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7411
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7412
    else
7413
      whole_archive_flag_spec=
7414
    fi
7415
    supports_anon_versioning=no
7416
    case `$LD -v 2>&1` in
7417
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7418
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7419
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7420
      *\ 2.11.*) ;; # other 2.11 versions
7421
      *) supports_anon_versioning=yes ;;
7422
    esac
7423
 
7424
    # See if GNU ld supports shared libraries.
7425
    case $host_os in
7426
    aix[3-9]*)
7427
      # On AIX/PPC, the GNU linker is very broken
7428
      if test "$host_cpu" != ia64; then
7429
        ld_shlibs=no
7430
        cat <<_LT_EOF 1>&2
7431
 
7432
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7433
*** to be unable to reliably create shared libraries on AIX.
7434
*** Therefore, libtool is disabling shared libraries support.  If you
7435
*** really care for shared libraries, you may want to modify your PATH
7436
*** so that a non-GNU linker is found, and then restart.
7437
 
7438
_LT_EOF
7439
      fi
7440
      ;;
7441
 
7442
    amigaos*)
7443
      case $host_cpu in
7444
      powerpc)
7445
            # see comment about AmigaOS4 .so support
7446
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7447
            archive_expsym_cmds=''
7448
        ;;
7449
      m68k)
7450
            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)'
7451
            hardcode_libdir_flag_spec='-L$libdir'
7452
            hardcode_minus_L=yes
7453
        ;;
7454
      esac
7455
      ;;
7456
 
7457
    beos*)
7458
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7459
        allow_undefined_flag=unsupported
7460
        # Joseph Beckenbach  says some releases of gcc
7461
        # support --undefined.  This deserves some investigation.  FIXME
7462
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7463
      else
7464
        ld_shlibs=no
7465
      fi
7466
      ;;
7467
 
7468
    cygwin* | mingw* | pw32* | cegcc*)
7469
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7470
      # as there is no search path for DLLs.
7471
      hardcode_libdir_flag_spec='-L$libdir'
7472
      allow_undefined_flag=unsupported
7473
      always_export_symbols=no
7474
      enable_shared_with_static_runtimes=yes
7475
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7476
 
7477
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7478
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7479
        # If the export-symbols file already is a .def file (1st line
7480
        # is EXPORTS), use it as is; otherwise, prepend...
7481
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7482
          cp $export_symbols $output_objdir/$soname.def;
7483
        else
7484
          echo EXPORTS > $output_objdir/$soname.def;
7485
          cat $export_symbols >> $output_objdir/$soname.def;
7486
        fi~
7487
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7488
      else
7489
        ld_shlibs=no
7490
      fi
7491
      ;;
7492
 
7493
    interix[3-9]*)
7494
      hardcode_direct=no
7495
      hardcode_shlibpath_var=no
7496
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7497
      export_dynamic_flag_spec='${wl}-E'
7498
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7499
      # Instead, shared libraries are loaded at an image base (0x10000000 by
7500
      # default) and relocated if they conflict, which is a slow very memory
7501
      # consuming and fragmenting process.  To avoid this, we pick a random,
7502
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7503
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7504
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7505
      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'
7506
      ;;
7507
 
7508
    gnu* | linux* | tpf* | k*bsd*-gnu)
7509
      tmp_diet=no
7510
      if test "$host_os" = linux-dietlibc; then
7511
        case $cc_basename in
7512
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7513
        esac
7514
      fi
7515
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7516
         && test "$tmp_diet" = no
7517
      then
7518
        tmp_addflag=
7519
        tmp_sharedflag='-shared'
7520
        case $cc_basename,$host_cpu in
7521
        pgcc*)                          # Portland Group C compiler
7522
          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'
7523
          tmp_addflag=' $pic_flag'
7524
          ;;
7525
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7526
          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'
7527
          tmp_addflag=' $pic_flag -Mnomain' ;;
7528
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7529
          tmp_addflag=' -i_dynamic' ;;
7530
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7531
          tmp_addflag=' -i_dynamic -nofor_main' ;;
7532
        ifc* | ifort*)                  # Intel Fortran compiler
7533
          tmp_addflag=' -nofor_main' ;;
7534
        lf95*)                          # Lahey Fortran 8.1
7535
          whole_archive_flag_spec=
7536
          tmp_sharedflag='--shared' ;;
7537
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
7538
          tmp_sharedflag='-qmkshrobj'
7539
          tmp_addflag= ;;
7540
        esac
7541
        case `$CC -V 2>&1 | sed 5q` in
7542
        *Sun\ C*)                       # Sun C 5.9
7543
          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'
7544
          compiler_needs_object=yes
7545
          tmp_sharedflag='-G' ;;
7546
        *Sun\ F*)                       # Sun Fortran 8.3
7547
          tmp_sharedflag='-G' ;;
7548
        esac
7549
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7550
 
7551
        if test "x$supports_anon_versioning" = xyes; then
7552
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7553
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7554
            echo "local: *; };" >> $output_objdir/$libname.ver~
7555
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7556
        fi
7557
 
7558
        case $cc_basename in
7559
        xlf*)
7560
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
7561
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
7562
          hardcode_libdir_flag_spec=
7563
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
7564
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
7565
          if test "x$supports_anon_versioning" = xyes; then
7566
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7567
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7568
              echo "local: *; };" >> $output_objdir/$libname.ver~
7569
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
7570
          fi
7571
          ;;
7572
        esac
7573
      else
7574
        ld_shlibs=no
7575
      fi
7576
      ;;
7577
 
7578 93 jeremybenn
    netbsd* | netbsdelf*-gnu)
7579 90 jeremybenn
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7580
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7581
        wlarc=
7582
      else
7583
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7584
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7585
      fi
7586
      ;;
7587
 
7588
    solaris*)
7589
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7590
        ld_shlibs=no
7591
        cat <<_LT_EOF 1>&2
7592
 
7593
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7594
*** create shared libraries on Solaris systems.  Therefore, libtool
7595
*** is disabling shared libraries support.  We urge you to upgrade GNU
7596
*** binutils to release 2.9.1 or newer.  Another option is to modify
7597
*** your PATH or compiler configuration so that the native linker is
7598
*** used, and then restart.
7599
 
7600
_LT_EOF
7601
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7602
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7603
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7604
      else
7605
        ld_shlibs=no
7606
      fi
7607
      ;;
7608
 
7609
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7610
      case `$LD -v 2>&1` in
7611
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7612
        ld_shlibs=no
7613
        cat <<_LT_EOF 1>&2
7614
 
7615
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7616
*** reliably create shared libraries on SCO systems.  Therefore, libtool
7617
*** is disabling shared libraries support.  We urge you to upgrade GNU
7618
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7619
*** your PATH or compiler configuration so that the native linker is
7620
*** used, and then restart.
7621
 
7622
_LT_EOF
7623
        ;;
7624
        *)
7625
          # For security reasons, it is highly recommended that you always
7626
          # use absolute paths for naming shared libraries, and exclude the
7627
          # DT_RUNPATH tag from executables and libraries.  But doing so
7628
          # requires that you compile everything twice, which is a pain.
7629
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7630
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7631
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7632
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7633
          else
7634
            ld_shlibs=no
7635
          fi
7636
        ;;
7637
      esac
7638
      ;;
7639
 
7640
    sunos4*)
7641
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7642
      wlarc=
7643
      hardcode_direct=yes
7644
      hardcode_shlibpath_var=no
7645
      ;;
7646
 
7647
    *)
7648
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7649
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7650
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7651
      else
7652
        ld_shlibs=no
7653
      fi
7654
      ;;
7655
    esac
7656
 
7657
    if test "$ld_shlibs" = no; then
7658
      runpath_var=
7659
      hardcode_libdir_flag_spec=
7660
      export_dynamic_flag_spec=
7661
      whole_archive_flag_spec=
7662
    fi
7663
  else
7664
    # PORTME fill in a description of your system's linker (not GNU ld)
7665
    case $host_os in
7666
    aix3*)
7667
      allow_undefined_flag=unsupported
7668
      always_export_symbols=yes
7669
      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'
7670
      # Note: this linker hardcodes the directories in LIBPATH if there
7671
      # are no directories specified by -L.
7672
      hardcode_minus_L=yes
7673
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7674
        # Neither direct hardcoding nor static linking is supported with a
7675
        # broken collect2.
7676
        hardcode_direct=unsupported
7677
      fi
7678
      ;;
7679
 
7680
    aix[4-9]*)
7681
      if test "$host_cpu" = ia64; then
7682
        # On IA64, the linker does run time linking by default, so we don't
7683
        # have to do anything special.
7684
        aix_use_runtimelinking=no
7685
        exp_sym_flag='-Bexport'
7686
        no_entry_flag=""
7687
      else
7688
        # If we're using GNU nm, then we don't want the "-C" option.
7689
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
7690
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7691
          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'
7692
        else
7693
          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'
7694
        fi
7695
        aix_use_runtimelinking=no
7696
 
7697
        # Test if we are trying to use run time linking or normal
7698
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7699
        # need to do runtime linking.
7700
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7701
          for ld_flag in $LDFLAGS; do
7702
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7703
            aix_use_runtimelinking=yes
7704
            break
7705
          fi
7706
          done
7707
          ;;
7708
        esac
7709
 
7710
        exp_sym_flag='-bexport'
7711
        no_entry_flag='-bnoentry'
7712
      fi
7713
 
7714
      # When large executables or shared objects are built, AIX ld can
7715
      # have problems creating the table of contents.  If linking a library
7716
      # or program results in "error TOC overflow" add -mminimal-toc to
7717
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7718
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7719
 
7720
      archive_cmds=''
7721
      hardcode_direct=yes
7722
      hardcode_direct_absolute=yes
7723
      hardcode_libdir_separator=':'
7724
      link_all_deplibs=yes
7725
      file_list_spec='${wl}-f,'
7726
 
7727
      if test "$GCC" = yes; then
7728
        case $host_os in aix4.[012]|aix4.[012].*)
7729
        # We only want to do this on AIX 4.2 and lower, the check
7730
        # below for broken collect2 doesn't work under 4.3+
7731
          collect2name=`${CC} -print-prog-name=collect2`
7732
          if test -f "$collect2name" &&
7733
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7734
          then
7735
          # We have reworked collect2
7736
          :
7737
          else
7738
          # We have old collect2
7739
          hardcode_direct=unsupported
7740
          # It fails to find uninstalled libraries when the uninstalled
7741
          # path is not listed in the libpath.  Setting hardcode_minus_L
7742
          # to unsupported forces relinking
7743
          hardcode_minus_L=yes
7744
          hardcode_libdir_flag_spec='-L$libdir'
7745
          hardcode_libdir_separator=
7746
          fi
7747
          ;;
7748
        esac
7749
        shared_flag='-shared'
7750
        if test "$aix_use_runtimelinking" = yes; then
7751
          shared_flag="$shared_flag "'${wl}-G'
7752
        fi
7753 93 jeremybenn
        link_all_deplibs=no
7754 90 jeremybenn
      else
7755
        # not using gcc
7756
        if test "$host_cpu" = ia64; then
7757
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7758
        # chokes on -Wl,-G. The following line is correct:
7759
          shared_flag='-G'
7760
        else
7761
          if test "$aix_use_runtimelinking" = yes; then
7762
            shared_flag='${wl}-G'
7763
          else
7764
            shared_flag='${wl}-bM:SRE'
7765
          fi
7766
        fi
7767
      fi
7768
 
7769
      export_dynamic_flag_spec='${wl}-bexpall'
7770
      # It seems that -bexpall does not export symbols beginning with
7771
      # underscore (_), so it is better to generate a list of symbols to export.
7772
      always_export_symbols=yes
7773
      if test "$aix_use_runtimelinking" = yes; then
7774
        # Warning - without using the other runtime loading flags (-brtl),
7775
        # -berok will link without error, but may produce a broken library.
7776
        allow_undefined_flag='-berok'
7777
        # Determine the default libpath from the value encoded in an
7778
        # empty executable.
7779 234 jeremybenn
        cat >conftest.$ac_ext <<_ACEOF
7780
/* confdefs.h.  */
7781
_ACEOF
7782
cat confdefs.h >>conftest.$ac_ext
7783
cat >>conftest.$ac_ext <<_ACEOF
7784 90 jeremybenn
/* end confdefs.h.  */
7785
 
7786
int
7787
main ()
7788
{
7789
 
7790
  ;
7791
  return 0;
7792
}
7793
_ACEOF
7794 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
7795
if { (ac_try="$ac_link"
7796
case "(($ac_try" in
7797
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7798
  *) ac_try_echo=$ac_try;;
7799
esac
7800
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7801
$as_echo "$ac_try_echo") >&5
7802
  (eval "$ac_link") 2>conftest.er1
7803
  ac_status=$?
7804
  grep -v '^ *+' conftest.er1 >conftest.err
7805
  rm -f conftest.er1
7806
  cat conftest.err >&5
7807
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7808
  (exit $ac_status); } && {
7809
         test -z "$ac_c_werror_flag" ||
7810
         test ! -s conftest.err
7811
       } && test -s conftest$ac_exeext && {
7812
         test "$cross_compiling" = yes ||
7813
         $as_test_x conftest$ac_exeext
7814
       }; then
7815 90 jeremybenn
 
7816
lt_aix_libpath_sed='
7817
    /Import File Strings/,/^$/ {
7818
        /^0/ {
7819
            s/^0  *\(.*\)$/\1/
7820
            p
7821
        }
7822
    }'
7823
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7824
# Check for a 64-bit object if we didn't find anything.
7825
if test -z "$aix_libpath"; then
7826
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7827
fi
7828 234 jeremybenn
else
7829
  $as_echo "$as_me: failed program was:" >&5
7830
sed 's/^/| /' conftest.$ac_ext >&5
7831
 
7832
 
7833 90 jeremybenn
fi
7834 234 jeremybenn
 
7835
rm -rf conftest.dSYM
7836
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7837
      conftest$ac_exeext conftest.$ac_ext
7838 90 jeremybenn
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7839
 
7840
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7841
        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"
7842
      else
7843
        if test "$host_cpu" = ia64; then
7844
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7845
          allow_undefined_flag="-z nodefs"
7846
          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"
7847
        else
7848
         # Determine the default libpath from the value encoded in an
7849
         # empty executable.
7850 234 jeremybenn
         cat >conftest.$ac_ext <<_ACEOF
7851
/* confdefs.h.  */
7852
_ACEOF
7853
cat confdefs.h >>conftest.$ac_ext
7854
cat >>conftest.$ac_ext <<_ACEOF
7855 90 jeremybenn
/* end confdefs.h.  */
7856
 
7857
int
7858
main ()
7859
{
7860
 
7861
  ;
7862
  return 0;
7863
}
7864
_ACEOF
7865 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
7866
if { (ac_try="$ac_link"
7867
case "(($ac_try" in
7868
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7869
  *) ac_try_echo=$ac_try;;
7870
esac
7871
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7872
$as_echo "$ac_try_echo") >&5
7873
  (eval "$ac_link") 2>conftest.er1
7874
  ac_status=$?
7875
  grep -v '^ *+' conftest.er1 >conftest.err
7876
  rm -f conftest.er1
7877
  cat conftest.err >&5
7878
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879
  (exit $ac_status); } && {
7880
         test -z "$ac_c_werror_flag" ||
7881
         test ! -s conftest.err
7882
       } && test -s conftest$ac_exeext && {
7883
         test "$cross_compiling" = yes ||
7884
         $as_test_x conftest$ac_exeext
7885
       }; then
7886 90 jeremybenn
 
7887
lt_aix_libpath_sed='
7888
    /Import File Strings/,/^$/ {
7889
        /^0/ {
7890
            s/^0  *\(.*\)$/\1/
7891
            p
7892
        }
7893
    }'
7894
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7895
# Check for a 64-bit object if we didn't find anything.
7896
if test -z "$aix_libpath"; then
7897
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7898
fi
7899 234 jeremybenn
else
7900
  $as_echo "$as_me: failed program was:" >&5
7901
sed 's/^/| /' conftest.$ac_ext >&5
7902
 
7903
 
7904 90 jeremybenn
fi
7905 234 jeremybenn
 
7906
rm -rf conftest.dSYM
7907
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7908
      conftest$ac_exeext conftest.$ac_ext
7909 90 jeremybenn
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7910
 
7911
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7912
          # Warning - without using the other run time loading flags,
7913
          # -berok will link without error, but may produce a broken library.
7914
          no_undefined_flag=' ${wl}-bernotok'
7915
          allow_undefined_flag=' ${wl}-berok'
7916
          # Exported symbols can be pulled into shared objects from archives
7917
          whole_archive_flag_spec='$convenience'
7918
          archive_cmds_need_lc=yes
7919
          # This is similar to how AIX traditionally builds its shared libraries.
7920
          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'
7921
        fi
7922
      fi
7923
      ;;
7924
 
7925
    amigaos*)
7926
      case $host_cpu in
7927
      powerpc)
7928
            # see comment about AmigaOS4 .so support
7929
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7930
            archive_expsym_cmds=''
7931
        ;;
7932
      m68k)
7933
            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)'
7934
            hardcode_libdir_flag_spec='-L$libdir'
7935
            hardcode_minus_L=yes
7936
        ;;
7937
      esac
7938
      ;;
7939
 
7940
    bsdi[45]*)
7941
      export_dynamic_flag_spec=-rdynamic
7942
      ;;
7943
 
7944
    cygwin* | mingw* | pw32* | cegcc*)
7945
      # When not using gcc, we currently assume that we are using
7946
      # Microsoft Visual C++.
7947
      # hardcode_libdir_flag_spec is actually meaningless, as there is
7948
      # no search path for DLLs.
7949
      hardcode_libdir_flag_spec=' '
7950
      allow_undefined_flag=unsupported
7951
      # Tell ltmain to make .lib files, not .a files.
7952
      libext=lib
7953
      # Tell ltmain to make .dll files, not .so files.
7954
      shrext_cmds=".dll"
7955
      # FIXME: Setting linknames here is a bad hack.
7956
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7957
      # The linker will automatically build a .lib file if we build a DLL.
7958
      old_archive_from_new_cmds='true'
7959
      # FIXME: Should let the user specify the lib program.
7960
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7961
      fix_srcfile_path='`cygpath -w "$srcfile"`'
7962
      enable_shared_with_static_runtimes=yes
7963
      ;;
7964
 
7965
    darwin* | rhapsody*)
7966
 
7967
 
7968
  archive_cmds_need_lc=no
7969
  hardcode_direct=no
7970
  hardcode_automatic=yes
7971
  hardcode_shlibpath_var=unsupported
7972
  whole_archive_flag_spec=''
7973
  link_all_deplibs=yes
7974
  allow_undefined_flag="$_lt_dar_allow_undefined"
7975
  case $cc_basename in
7976
     ifort*) _lt_dar_can_shared=yes ;;
7977
     *) _lt_dar_can_shared=$GCC ;;
7978
  esac
7979
  if test "$_lt_dar_can_shared" = "yes"; then
7980
    output_verbose_link_cmd=echo
7981
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7982
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7983
    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}"
7984
    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}"
7985
 
7986
  else
7987
  ld_shlibs=no
7988
  fi
7989
 
7990
      ;;
7991
 
7992
    dgux*)
7993
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7994
      hardcode_libdir_flag_spec='-L$libdir'
7995
      hardcode_shlibpath_var=no
7996
      ;;
7997
 
7998
    freebsd1*)
7999
      ld_shlibs=no
8000
      ;;
8001
 
8002
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8003
    # support.  Future versions do this automatically, but an explicit c++rt0.o
8004
    # does not break anything, and helps significantly (at the cost of a little
8005
    # extra space).
8006
    freebsd2.2*)
8007
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8008
      hardcode_libdir_flag_spec='-R$libdir'
8009
      hardcode_direct=yes
8010
      hardcode_shlibpath_var=no
8011
      ;;
8012
 
8013
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8014
    freebsd2*)
8015
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8016
      hardcode_direct=yes
8017
      hardcode_minus_L=yes
8018
      hardcode_shlibpath_var=no
8019
      ;;
8020
 
8021
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8022
    freebsd* | dragonfly*)
8023
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8024
      hardcode_libdir_flag_spec='-R$libdir'
8025
      hardcode_direct=yes
8026
      hardcode_shlibpath_var=no
8027
      ;;
8028
 
8029
    hpux9*)
8030
      if test "$GCC" = yes; then
8031
        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'
8032
      else
8033
        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'
8034
      fi
8035
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8036
      hardcode_libdir_separator=:
8037
      hardcode_direct=yes
8038
 
8039
      # hardcode_minus_L: Not really in the search PATH,
8040
      # but as the default location of the library.
8041
      hardcode_minus_L=yes
8042
      export_dynamic_flag_spec='${wl}-E'
8043
      ;;
8044
 
8045
    hpux10*)
8046
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8047
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8048
      else
8049
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8050
      fi
8051
      if test "$with_gnu_ld" = no; then
8052
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8053
        hardcode_libdir_flag_spec_ld='+b $libdir'
8054
        hardcode_libdir_separator=:
8055
        hardcode_direct=yes
8056
        hardcode_direct_absolute=yes
8057
        export_dynamic_flag_spec='${wl}-E'
8058
        # hardcode_minus_L: Not really in the search PATH,
8059
        # but as the default location of the library.
8060
        hardcode_minus_L=yes
8061
      fi
8062
      ;;
8063
 
8064
    hpux11*)
8065
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8066
        case $host_cpu in
8067
        hppa*64*)
8068
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8069
          ;;
8070
        ia64*)
8071
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8072
          ;;
8073
        *)
8074
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8075
          ;;
8076
        esac
8077
      else
8078
        case $host_cpu in
8079
        hppa*64*)
8080
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8081
          ;;
8082
        ia64*)
8083
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8084
          ;;
8085
        *)
8086
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8087
          ;;
8088
        esac
8089
      fi
8090
      if test "$with_gnu_ld" = no; then
8091
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8092
        hardcode_libdir_separator=:
8093
 
8094
        case $host_cpu in
8095
        hppa*64*|ia64*)
8096
          hardcode_direct=no
8097
          hardcode_shlibpath_var=no
8098
          ;;
8099
        *)
8100
          hardcode_direct=yes
8101
          hardcode_direct_absolute=yes
8102
          export_dynamic_flag_spec='${wl}-E'
8103
 
8104
          # hardcode_minus_L: Not really in the search PATH,
8105
          # but as the default location of the library.
8106
          hardcode_minus_L=yes
8107
          ;;
8108
        esac
8109
      fi
8110
      ;;
8111
 
8112
    irix5* | irix6* | nonstopux*)
8113
      if test "$GCC" = yes; then
8114
        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'
8115
        # Try to use the -exported_symbol ld option, if it does not
8116
        # work, assume that -exports_file does not work either and
8117
        # implicitly export all symbols.
8118
        save_LDFLAGS="$LDFLAGS"
8119
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8120 234 jeremybenn
        cat >conftest.$ac_ext <<_ACEOF
8121 90 jeremybenn
int foo(void) {}
8122
_ACEOF
8123 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
8124
if { (ac_try="$ac_link"
8125
case "(($ac_try" in
8126
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8127
  *) ac_try_echo=$ac_try;;
8128
esac
8129
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8130
$as_echo "$ac_try_echo") >&5
8131
  (eval "$ac_link") 2>conftest.er1
8132
  ac_status=$?
8133
  grep -v '^ *+' conftest.er1 >conftest.err
8134
  rm -f conftest.er1
8135
  cat conftest.err >&5
8136
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137
  (exit $ac_status); } && {
8138
         test -z "$ac_c_werror_flag" ||
8139
         test ! -s conftest.err
8140
       } && test -s conftest$ac_exeext && {
8141
         test "$cross_compiling" = yes ||
8142
         $as_test_x conftest$ac_exeext
8143
       }; then
8144 90 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'
8145
 
8146 234 jeremybenn
else
8147
  $as_echo "$as_me: failed program was:" >&5
8148
sed 's/^/| /' conftest.$ac_ext >&5
8149
 
8150
 
8151 90 jeremybenn
fi
8152 234 jeremybenn
 
8153
rm -rf conftest.dSYM
8154
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8155
      conftest$ac_exeext conftest.$ac_ext
8156 90 jeremybenn
        LDFLAGS="$save_LDFLAGS"
8157
      else
8158
        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'
8159
        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'
8160
      fi
8161
      archive_cmds_need_lc='no'
8162
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8163
      hardcode_libdir_separator=:
8164
      inherit_rpath=yes
8165
      link_all_deplibs=yes
8166
      ;;
8167
 
8168 93 jeremybenn
    netbsd* | netbsdelf*-gnu)
8169 90 jeremybenn
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8170
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8171
      else
8172
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8173
      fi
8174
      hardcode_libdir_flag_spec='-R$libdir'
8175
      hardcode_direct=yes
8176
      hardcode_shlibpath_var=no
8177
      ;;
8178
 
8179
    newsos6)
8180
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8181
      hardcode_direct=yes
8182
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8183
      hardcode_libdir_separator=:
8184
      hardcode_shlibpath_var=no
8185
      ;;
8186
 
8187
    *nto* | *qnx*)
8188
      ;;
8189
 
8190
    openbsd*)
8191
      if test -f /usr/libexec/ld.so; then
8192
        hardcode_direct=yes
8193
        hardcode_shlibpath_var=no
8194
        hardcode_direct_absolute=yes
8195
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8196
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8197
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8198
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8199
          export_dynamic_flag_spec='${wl}-E'
8200
        else
8201
          case $host_os in
8202
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8203
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8204
             hardcode_libdir_flag_spec='-R$libdir'
8205
             ;;
8206
           *)
8207
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8208
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8209
             ;;
8210
          esac
8211
        fi
8212
      else
8213
        ld_shlibs=no
8214
      fi
8215
      ;;
8216
 
8217
    os2*)
8218
      hardcode_libdir_flag_spec='-L$libdir'
8219
      hardcode_minus_L=yes
8220
      allow_undefined_flag=unsupported
8221
      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'
8222
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8223
      ;;
8224
 
8225
    osf3*)
8226
      if test "$GCC" = yes; then
8227
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8228
        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'
8229
      else
8230
        allow_undefined_flag=' -expect_unresolved \*'
8231
        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'
8232
      fi
8233
      archive_cmds_need_lc='no'
8234
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8235
      hardcode_libdir_separator=:
8236
      ;;
8237
 
8238
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8239
      if test "$GCC" = yes; then
8240
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8241
        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'
8242
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8243
      else
8244
        allow_undefined_flag=' -expect_unresolved \*'
8245
        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'
8246
        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~
8247
        $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'
8248
 
8249
        # Both c and cxx compiler support -rpath directly
8250
        hardcode_libdir_flag_spec='-rpath $libdir'
8251
      fi
8252
      archive_cmds_need_lc='no'
8253
      hardcode_libdir_separator=:
8254
      ;;
8255
 
8256
    solaris*)
8257
      no_undefined_flag=' -z defs'
8258
      if test "$GCC" = yes; then
8259
        wlarc='${wl}'
8260
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8261
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8262
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8263
      else
8264
        case `$CC -V 2>&1` in
8265
        *"Compilers 5.0"*)
8266
          wlarc=''
8267
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8268
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8269
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8270
          ;;
8271
        *)
8272
          wlarc='${wl}'
8273
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8274
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8275
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8276
          ;;
8277
        esac
8278
      fi
8279
      hardcode_libdir_flag_spec='-R$libdir'
8280
      hardcode_shlibpath_var=no
8281
      case $host_os in
8282
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8283
      *)
8284
        # The compiler driver will combine and reorder linker options,
8285
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
8286
        # but is careful enough not to reorder.
8287
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8288
        if test "$GCC" = yes; then
8289
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8290
        else
8291
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8292
        fi
8293
        ;;
8294
      esac
8295
      link_all_deplibs=yes
8296
      ;;
8297
 
8298
    sunos4*)
8299
      if test "x$host_vendor" = xsequent; then
8300
        # Use $CC to link under sequent, because it throws in some extra .o
8301
        # files that make .init and .fini sections work.
8302
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8303
      else
8304
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8305
      fi
8306
      hardcode_libdir_flag_spec='-L$libdir'
8307
      hardcode_direct=yes
8308
      hardcode_minus_L=yes
8309
      hardcode_shlibpath_var=no
8310
      ;;
8311
 
8312
    sysv4)
8313
      case $host_vendor in
8314
        sni)
8315
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8316
          hardcode_direct=yes # is this really true???
8317
        ;;
8318
        siemens)
8319
          ## LD is ld it makes a PLAMLIB
8320
          ## CC just makes a GrossModule.
8321
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8322
          reload_cmds='$CC -r -o $output$reload_objs'
8323
          hardcode_direct=no
8324
        ;;
8325
        motorola)
8326
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8327
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8328
        ;;
8329
      esac
8330
      runpath_var='LD_RUN_PATH'
8331
      hardcode_shlibpath_var=no
8332
      ;;
8333
 
8334
    sysv4.3*)
8335
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8336
      hardcode_shlibpath_var=no
8337
      export_dynamic_flag_spec='-Bexport'
8338
      ;;
8339
 
8340
    sysv4*MP*)
8341
      if test -d /usr/nec; then
8342
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8343
        hardcode_shlibpath_var=no
8344
        runpath_var=LD_RUN_PATH
8345
        hardcode_runpath_var=yes
8346
        ld_shlibs=yes
8347
      fi
8348
      ;;
8349
 
8350
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8351
      no_undefined_flag='${wl}-z,text'
8352
      archive_cmds_need_lc=no
8353
      hardcode_shlibpath_var=no
8354
      runpath_var='LD_RUN_PATH'
8355
 
8356
      if test "$GCC" = yes; then
8357
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8358
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8359
      else
8360
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8361
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8362
      fi
8363
      ;;
8364
 
8365
    sysv5* | sco3.2v5* | sco5v6*)
8366
      # Note: We can NOT use -z defs as we might desire, because we do not
8367
      # link with -lc, and that would cause any symbols used from libc to
8368
      # always be unresolved, which means just about no library would
8369
      # ever link correctly.  If we're not using GNU ld we use -z text
8370
      # though, which does catch some bad symbols but isn't as heavy-handed
8371
      # as -z defs.
8372
      no_undefined_flag='${wl}-z,text'
8373
      allow_undefined_flag='${wl}-z,nodefs'
8374
      archive_cmds_need_lc=no
8375
      hardcode_shlibpath_var=no
8376
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8377
      hardcode_libdir_separator=':'
8378
      link_all_deplibs=yes
8379
      export_dynamic_flag_spec='${wl}-Bexport'
8380
      runpath_var='LD_RUN_PATH'
8381
 
8382
      if test "$GCC" = yes; then
8383
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8384
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8385
      else
8386
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8387
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8388
      fi
8389
      ;;
8390
 
8391
    uts4*)
8392
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8393
      hardcode_libdir_flag_spec='-L$libdir'
8394
      hardcode_shlibpath_var=no
8395
      ;;
8396
 
8397
    *)
8398
      ld_shlibs=no
8399
      ;;
8400
    esac
8401
 
8402
    if test x$host_vendor = xsni; then
8403
      case $host in
8404
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8405
        export_dynamic_flag_spec='${wl}-Blargedynsym'
8406
        ;;
8407
      esac
8408
    fi
8409
  fi
8410
 
8411 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8412 90 jeremybenn
$as_echo "$ld_shlibs" >&6; }
8413
test "$ld_shlibs" = no && can_build_shared=no
8414
 
8415
with_gnu_ld=$with_gnu_ld
8416
 
8417
 
8418
 
8419
 
8420
 
8421
 
8422
 
8423
 
8424
 
8425
 
8426
 
8427
 
8428
 
8429
 
8430
 
8431
#
8432
# Do we need to explicitly link libc?
8433
#
8434
case "x$archive_cmds_need_lc" in
8435
x|xyes)
8436
  # Assume -lc should be added
8437
  archive_cmds_need_lc=yes
8438
 
8439
  if test "$enable_shared" = yes && test "$GCC" = yes; then
8440
    case $archive_cmds in
8441
    *'~'*)
8442
      # FIXME: we may have to deal with multi-command sequences.
8443
      ;;
8444
    '$CC '*)
8445
      # Test whether the compiler implicitly links with -lc since on some
8446
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8447
      # to ld, don't add -lc before -lgcc.
8448 234 jeremybenn
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8449 90 jeremybenn
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8450
      $RM conftest*
8451
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8452
 
8453 234 jeremybenn
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8454 90 jeremybenn
  (eval $ac_compile) 2>&5
8455
  ac_status=$?
8456 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457
  (exit $ac_status); } 2>conftest.err; then
8458 90 jeremybenn
        soname=conftest
8459
        lib=conftest
8460
        libobjs=conftest.$ac_objext
8461
        deplibs=
8462
        wl=$lt_prog_compiler_wl
8463
        pic_flag=$lt_prog_compiler_pic
8464
        compiler_flags=-v
8465
        linker_flags=-v
8466
        verstring=
8467
        output_objdir=.
8468
        libname=conftest
8469
        lt_save_allow_undefined_flag=$allow_undefined_flag
8470
        allow_undefined_flag=
8471 234 jeremybenn
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8472 90 jeremybenn
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8473
  ac_status=$?
8474 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8475
  (exit $ac_status); }
8476 90 jeremybenn
        then
8477
          archive_cmds_need_lc=no
8478
        else
8479
          archive_cmds_need_lc=yes
8480
        fi
8481
        allow_undefined_flag=$lt_save_allow_undefined_flag
8482
      else
8483
        cat conftest.err 1>&5
8484
      fi
8485
      $RM conftest*
8486 234 jeremybenn
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8487 90 jeremybenn
$as_echo "$archive_cmds_need_lc" >&6; }
8488
      ;;
8489
    esac
8490
  fi
8491
  ;;
8492
esac
8493
 
8494
 
8495
 
8496
 
8497
 
8498
 
8499
 
8500
 
8501
 
8502
 
8503
 
8504
 
8505
 
8506
 
8507
 
8508
 
8509
 
8510
 
8511
 
8512
 
8513
 
8514
 
8515
 
8516
 
8517
 
8518
 
8519
 
8520
 
8521
 
8522
 
8523
 
8524
 
8525
 
8526
 
8527
 
8528
 
8529
 
8530
 
8531
 
8532
 
8533
 
8534
 
8535
 
8536
 
8537
 
8538
 
8539
 
8540
 
8541
 
8542
 
8543
 
8544
 
8545
 
8546
 
8547
 
8548
 
8549
 
8550
 
8551
 
8552
 
8553
 
8554
 
8555
 
8556
 
8557
 
8558
 
8559
 
8560
 
8561
 
8562
 
8563
 
8564
 
8565
 
8566
 
8567
 
8568
 
8569
 
8570
 
8571
 
8572
 
8573
 
8574
 
8575
 
8576
 
8577
 
8578
 
8579
 
8580
 
8581
 
8582
 
8583
 
8584
 
8585
 
8586
 
8587
 
8588
 
8589
 
8590
 
8591
 
8592
 
8593
 
8594
 
8595
 
8596
 
8597
 
8598
 
8599
 
8600
 
8601
 
8602
 
8603
 
8604
 
8605
 
8606
 
8607
 
8608
 
8609
 
8610
 
8611
 
8612
 
8613
 
8614
 
8615
 
8616
 
8617
 
8618
 
8619
 
8620
 
8621
 
8622
 
8623
 
8624
 
8625
 
8626
 
8627
 
8628
 
8629
 
8630
 
8631
 
8632
 
8633
 
8634
 
8635
 
8636
 
8637
 
8638
 
8639
 
8640
 
8641
 
8642
 
8643
 
8644
 
8645
 
8646
 
8647
 
8648
 
8649
 
8650 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8651 90 jeremybenn
$as_echo_n "checking dynamic linker characteristics... " >&6; }
8652
 
8653
if test "$GCC" = yes; then
8654
  case $host_os in
8655
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8656
    *) lt_awk_arg="/^libraries:/" ;;
8657
  esac
8658
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8659
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8660
    # if the path contains ";" then we assume it to be the separator
8661
    # otherwise default to the standard path separator (i.e. ":") - it is
8662
    # assumed that no part of a normal pathname contains ";" but that should
8663
    # okay in the real world where ";" in dirpaths is itself problematic.
8664
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8665
  else
8666
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8667
  fi
8668
  # Ok, now we have the path, separated by spaces, we can step through it
8669
  # and add multilib dir if necessary.
8670
  lt_tmp_lt_search_path_spec=
8671
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8672
  for lt_sys_path in $lt_search_path_spec; do
8673
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8674
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8675
    else
8676
      test -d "$lt_sys_path" && \
8677
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8678
    fi
8679
  done
8680
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8681
BEGIN {RS=" "; FS="/|\n";} {
8682
  lt_foo="";
8683
  lt_count=0;
8684
  for (lt_i = NF; lt_i > 0; lt_i--) {
8685
    if ($lt_i != "" && $lt_i != ".") {
8686
      if ($lt_i == "..") {
8687
        lt_count++;
8688
      } else {
8689
        if (lt_count == 0) {
8690
          lt_foo="/" $lt_i lt_foo;
8691
        } else {
8692
          lt_count--;
8693
        }
8694
      }
8695
    }
8696
  }
8697
  if (lt_foo != "") { lt_freq[lt_foo]++; }
8698
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
8699
}'`
8700
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8701
else
8702
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8703
fi
8704
library_names_spec=
8705
libname_spec='lib$name'
8706
soname_spec=
8707
shrext_cmds=".so"
8708
postinstall_cmds=
8709
postuninstall_cmds=
8710
finish_cmds=
8711
finish_eval=
8712
shlibpath_var=
8713
shlibpath_overrides_runpath=unknown
8714
version_type=none
8715
dynamic_linker="$host_os ld.so"
8716
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8717
need_lib_prefix=unknown
8718
hardcode_into_libs=no
8719
 
8720
# when you set need_version to no, make sure it does not cause -set_version
8721
# flags to be left without arguments
8722
need_version=unknown
8723
 
8724
case $host_os in
8725
aix3*)
8726
  version_type=linux
8727
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8728
  shlibpath_var=LIBPATH
8729
 
8730
  # AIX 3 has no versioning support, so we append a major version to the name.
8731
  soname_spec='${libname}${release}${shared_ext}$major'
8732
  ;;
8733
 
8734
aix[4-9]*)
8735
  version_type=linux
8736
  need_lib_prefix=no
8737
  need_version=no
8738
  hardcode_into_libs=yes
8739
  if test "$host_cpu" = ia64; then
8740
    # AIX 5 supports IA64
8741
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8742
    shlibpath_var=LD_LIBRARY_PATH
8743
  else
8744
    # With GCC up to 2.95.x, collect2 would create an import file
8745
    # for dependence libraries.  The import file would start with
8746
    # the line `#! .'.  This would cause the generated library to
8747
    # depend on `.', always an invalid library.  This was fixed in
8748
    # development snapshots of GCC prior to 3.0.
8749
    case $host_os in
8750
      aix4 | aix4.[01] | aix4.[01].*)
8751
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8752
           echo ' yes '
8753
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8754
        :
8755
      else
8756
        can_build_shared=no
8757
      fi
8758
      ;;
8759
    esac
8760
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8761
    # soname into executable. Probably we can add versioning support to
8762
    # collect2, so additional links can be useful in future.
8763
    if test "$aix_use_runtimelinking" = yes; then
8764
      # If using run time linking (on AIX 4.2 or later) use lib.so
8765
      # instead of lib.a to let people know that these are not
8766
      # typical AIX shared libraries.
8767
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8768
    else
8769
      # We preserve .a as extension for shared libraries through AIX4.2
8770
      # and later when we are not doing run time linking.
8771
      library_names_spec='${libname}${release}.a $libname.a'
8772
      soname_spec='${libname}${release}${shared_ext}$major'
8773
    fi
8774
    shlibpath_var=LIBPATH
8775
  fi
8776
  ;;
8777
 
8778
amigaos*)
8779
  case $host_cpu in
8780
  powerpc)
8781
    # Since July 2007 AmigaOS4 officially supports .so libraries.
8782
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
8783
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8784
    ;;
8785
  m68k)
8786
    library_names_spec='$libname.ixlibrary $libname.a'
8787
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
8788
    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'
8789
    ;;
8790
  esac
8791
  ;;
8792
 
8793
beos*)
8794
  library_names_spec='${libname}${shared_ext}'
8795
  dynamic_linker="$host_os ld.so"
8796
  shlibpath_var=LIBRARY_PATH
8797
  ;;
8798
 
8799
bsdi[45]*)
8800
  version_type=linux
8801
  need_version=no
8802
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8803
  soname_spec='${libname}${release}${shared_ext}$major'
8804
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8805
  shlibpath_var=LD_LIBRARY_PATH
8806
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8807
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8808
  # the default ld.so.conf also contains /usr/contrib/lib and
8809
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8810
  # libtool to hard-code these into programs
8811
  ;;
8812
 
8813
cygwin* | mingw* | pw32* | cegcc*)
8814
  version_type=windows
8815
  shrext_cmds=".dll"
8816
  need_version=no
8817
  need_lib_prefix=no
8818
 
8819
  case $GCC,$host_os in
8820
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
8821
    library_names_spec='$libname.dll.a'
8822
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8823
    postinstall_cmds='base_file=`basename \${file}`~
8824
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8825
      dldir=$destdir/`dirname \$dlpath`~
8826
      test -d \$dldir || mkdir -p \$dldir~
8827
      $install_prog $dir/$dlname \$dldir/$dlname~
8828
      chmod a+x \$dldir/$dlname~
8829
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8830
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8831
      fi'
8832
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8833
      dlpath=$dir/\$dldll~
8834
       $RM \$dlpath'
8835
    shlibpath_overrides_runpath=yes
8836
 
8837
    case $host_os in
8838
    cygwin*)
8839
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8840
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8841
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8842
      ;;
8843
    mingw* | cegcc*)
8844
      # MinGW DLLs use traditional 'lib' prefix
8845
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8846
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8847
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8848
        # It is most probably a Windows format PATH printed by
8849
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8850
        # path with ; separators, and with drive letters. We can handle the
8851
        # drive letters (cygwin fileutils understands them), so leave them,
8852
        # especially as we might pass files found there to a mingw objdump,
8853
        # which wouldn't understand a cygwinified path. Ahh.
8854
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8855
      else
8856
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8857
      fi
8858
      ;;
8859
    pw32*)
8860
      # pw32 DLLs use 'pw' prefix rather than 'lib'
8861
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8862
      ;;
8863
    esac
8864
    ;;
8865
 
8866
  *)
8867
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8868
    ;;
8869
  esac
8870
  dynamic_linker='Win32 ld.exe'
8871
  # FIXME: first we should search . and the directory the executable is in
8872
  shlibpath_var=PATH
8873
  ;;
8874
 
8875
darwin* | rhapsody*)
8876
  dynamic_linker="$host_os dyld"
8877
  version_type=darwin
8878
  need_lib_prefix=no
8879
  need_version=no
8880
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8881
  soname_spec='${libname}${release}${major}$shared_ext'
8882
  shlibpath_overrides_runpath=yes
8883
  shlibpath_var=DYLD_LIBRARY_PATH
8884
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8885
 
8886
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8887
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8888
  ;;
8889
 
8890
dgux*)
8891
  version_type=linux
8892
  need_lib_prefix=no
8893
  need_version=no
8894
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8895
  soname_spec='${libname}${release}${shared_ext}$major'
8896
  shlibpath_var=LD_LIBRARY_PATH
8897
  ;;
8898
 
8899
freebsd1*)
8900
  dynamic_linker=no
8901
  ;;
8902
 
8903
freebsd* | dragonfly*)
8904
  # DragonFly does not have aout.  When/if they implement a new
8905
  # versioning mechanism, adjust this.
8906
  if test -x /usr/bin/objformat; then
8907
    objformat=`/usr/bin/objformat`
8908
  else
8909
    case $host_os in
8910
    freebsd[123]*) objformat=aout ;;
8911
    *) objformat=elf ;;
8912
    esac
8913
  fi
8914
  version_type=freebsd-$objformat
8915
  case $version_type in
8916
    freebsd-elf*)
8917
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8918
      need_version=no
8919
      need_lib_prefix=no
8920
      ;;
8921
    freebsd-*)
8922
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8923
      need_version=yes
8924
      ;;
8925
  esac
8926
  shlibpath_var=LD_LIBRARY_PATH
8927
  case $host_os in
8928
  freebsd2*)
8929
    shlibpath_overrides_runpath=yes
8930
    ;;
8931
  freebsd3.[01]* | freebsdelf3.[01]*)
8932
    shlibpath_overrides_runpath=yes
8933
    hardcode_into_libs=yes
8934
    ;;
8935
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8936
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8937
    shlibpath_overrides_runpath=no
8938
    hardcode_into_libs=yes
8939
    ;;
8940
  *) # from 4.6 on, and DragonFly
8941
    shlibpath_overrides_runpath=yes
8942
    hardcode_into_libs=yes
8943
    ;;
8944
  esac
8945
  ;;
8946
 
8947
gnu*)
8948
  version_type=linux
8949
  need_lib_prefix=no
8950
  need_version=no
8951
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8952
  soname_spec='${libname}${release}${shared_ext}$major'
8953
  shlibpath_var=LD_LIBRARY_PATH
8954
  hardcode_into_libs=yes
8955
  ;;
8956
 
8957
hpux9* | hpux10* | hpux11*)
8958
  # Give a soname corresponding to the major version so that dld.sl refuses to
8959
  # link against other versions.
8960
  version_type=sunos
8961
  need_lib_prefix=no
8962
  need_version=no
8963
  case $host_cpu in
8964
  ia64*)
8965
    shrext_cmds='.so'
8966
    hardcode_into_libs=yes
8967
    dynamic_linker="$host_os dld.so"
8968
    shlibpath_var=LD_LIBRARY_PATH
8969
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8970
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8971
    soname_spec='${libname}${release}${shared_ext}$major'
8972
    if test "X$HPUX_IA64_MODE" = X32; then
8973
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8974
    else
8975
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8976
    fi
8977
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8978
    ;;
8979
  hppa*64*)
8980
    shrext_cmds='.sl'
8981
    hardcode_into_libs=yes
8982
    dynamic_linker="$host_os dld.sl"
8983
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8984
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8985
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8986
    soname_spec='${libname}${release}${shared_ext}$major'
8987
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8988
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8989
    ;;
8990
  *)
8991
    shrext_cmds='.sl'
8992
    dynamic_linker="$host_os dld.sl"
8993
    shlibpath_var=SHLIB_PATH
8994
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8995
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8996
    soname_spec='${libname}${release}${shared_ext}$major'
8997
    ;;
8998
  esac
8999
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
9000
  postinstall_cmds='chmod 555 $lib'
9001
  ;;
9002
 
9003
interix[3-9]*)
9004
  version_type=linux
9005
  need_lib_prefix=no
9006
  need_version=no
9007
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9008
  soname_spec='${libname}${release}${shared_ext}$major'
9009
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9010
  shlibpath_var=LD_LIBRARY_PATH
9011
  shlibpath_overrides_runpath=no
9012
  hardcode_into_libs=yes
9013
  ;;
9014
 
9015
irix5* | irix6* | nonstopux*)
9016
  case $host_os in
9017
    nonstopux*) version_type=nonstopux ;;
9018
    *)
9019
        if test "$lt_cv_prog_gnu_ld" = yes; then
9020
                version_type=linux
9021
        else
9022
                version_type=irix
9023
        fi ;;
9024
  esac
9025
  need_lib_prefix=no
9026
  need_version=no
9027
  soname_spec='${libname}${release}${shared_ext}$major'
9028
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9029
  case $host_os in
9030
  irix5* | nonstopux*)
9031
    libsuff= shlibsuff=
9032
    ;;
9033
  *)
9034
    case $LD in # libtool.m4 will add one of these switches to LD
9035
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9036
      libsuff= shlibsuff= libmagic=32-bit;;
9037
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9038
      libsuff=32 shlibsuff=N32 libmagic=N32;;
9039
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9040
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
9041
    *) libsuff= shlibsuff= libmagic=never-match;;
9042
    esac
9043
    ;;
9044
  esac
9045
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9046
  shlibpath_overrides_runpath=no
9047
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9048
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9049
  hardcode_into_libs=yes
9050
  ;;
9051
 
9052
# No shared lib support for Linux oldld, aout, or coff.
9053
linux*oldld* | linux*aout* | linux*coff*)
9054
  dynamic_linker=no
9055
  ;;
9056
 
9057
# This must be Linux ELF.
9058
linux* | k*bsd*-gnu)
9059
  version_type=linux
9060
  need_lib_prefix=no
9061
  need_version=no
9062
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9063
  soname_spec='${libname}${release}${shared_ext}$major'
9064
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9065
  shlibpath_var=LD_LIBRARY_PATH
9066
  shlibpath_overrides_runpath=no
9067
  # Some binutils ld are patched to set DT_RUNPATH
9068
  save_LDFLAGS=$LDFLAGS
9069
  save_libdir=$libdir
9070
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9071
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9072 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
9073
/* confdefs.h.  */
9074
_ACEOF
9075
cat confdefs.h >>conftest.$ac_ext
9076
cat >>conftest.$ac_ext <<_ACEOF
9077 90 jeremybenn
/* end confdefs.h.  */
9078
 
9079
int
9080
main ()
9081
{
9082
 
9083
  ;
9084
  return 0;
9085
}
9086
_ACEOF
9087 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
9088
if { (ac_try="$ac_link"
9089
case "(($ac_try" in
9090
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9091
  *) ac_try_echo=$ac_try;;
9092
esac
9093
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9094
$as_echo "$ac_try_echo") >&5
9095
  (eval "$ac_link") 2>conftest.er1
9096
  ac_status=$?
9097
  grep -v '^ *+' conftest.er1 >conftest.err
9098
  rm -f conftest.er1
9099
  cat conftest.err >&5
9100
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101
  (exit $ac_status); } && {
9102
         test -z "$ac_c_werror_flag" ||
9103
         test ! -s conftest.err
9104
       } && test -s conftest$ac_exeext && {
9105
         test "$cross_compiling" = yes ||
9106
         $as_test_x conftest$ac_exeext
9107
       }; then
9108
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9109 90 jeremybenn
  shlibpath_overrides_runpath=yes
9110
fi
9111 234 jeremybenn
 
9112
else
9113
  $as_echo "$as_me: failed program was:" >&5
9114
sed 's/^/| /' conftest.$ac_ext >&5
9115
 
9116
 
9117 90 jeremybenn
fi
9118 234 jeremybenn
 
9119
rm -rf conftest.dSYM
9120
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9121
      conftest$ac_exeext conftest.$ac_ext
9122 90 jeremybenn
  LDFLAGS=$save_LDFLAGS
9123
  libdir=$save_libdir
9124
 
9125
  # This implies no fast_install, which is unacceptable.
9126
  # Some rework will be needed to allow for fast_install
9127
  # before this can be enabled.
9128
  hardcode_into_libs=yes
9129
 
9130
  # Append ld.so.conf contents to the search path
9131
  if test -f /etc/ld.so.conf; then
9132
    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' ' '`
9133 93 jeremybenn
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9134 90 jeremybenn
  fi
9135
 
9136
  # We used to test for /lib/ld.so.1 and disable shared libraries on
9137
  # powerpc, because MkLinux only supported shared libraries with the
9138
  # GNU dynamic linker.  Since this was broken with cross compilers,
9139
  # most powerpc-linux boxes support dynamic linking these days and
9140
  # people can always --disable-shared, the test was removed, and we
9141
  # assume the GNU/Linux dynamic linker is in use.
9142
  dynamic_linker='GNU/Linux ld.so'
9143
  ;;
9144
 
9145 93 jeremybenn
netbsdelf*-gnu)
9146
  version_type=linux
9147
  need_lib_prefix=no
9148
  need_version=no
9149
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9150
  soname_spec='${libname}${release}${shared_ext}$major'
9151
  shlibpath_var=LD_LIBRARY_PATH
9152
  shlibpath_overrides_runpath=no
9153
  hardcode_into_libs=yes
9154
  dynamic_linker='NetBSD ld.elf_so'
9155
  ;;
9156
 
9157 90 jeremybenn
netbsd*)
9158
  version_type=sunos
9159
  need_lib_prefix=no
9160
  need_version=no
9161
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9162
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9163
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9164
    dynamic_linker='NetBSD (a.out) ld.so'
9165
  else
9166
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9167
    soname_spec='${libname}${release}${shared_ext}$major'
9168
    dynamic_linker='NetBSD ld.elf_so'
9169
  fi
9170
  shlibpath_var=LD_LIBRARY_PATH
9171
  shlibpath_overrides_runpath=yes
9172
  hardcode_into_libs=yes
9173
  ;;
9174
 
9175
newsos6)
9176
  version_type=linux
9177
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9178
  shlibpath_var=LD_LIBRARY_PATH
9179
  shlibpath_overrides_runpath=yes
9180
  ;;
9181
 
9182
*nto* | *qnx*)
9183
  version_type=qnx
9184
  need_lib_prefix=no
9185
  need_version=no
9186
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9187
  soname_spec='${libname}${release}${shared_ext}$major'
9188
  shlibpath_var=LD_LIBRARY_PATH
9189
  shlibpath_overrides_runpath=no
9190
  hardcode_into_libs=yes
9191
  dynamic_linker='ldqnx.so'
9192
  ;;
9193
 
9194
openbsd*)
9195
  version_type=sunos
9196
  sys_lib_dlsearch_path_spec="/usr/lib"
9197
  need_lib_prefix=no
9198
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9199
  case $host_os in
9200
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9201
    *)                          need_version=no  ;;
9202
  esac
9203
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9204
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9205
  shlibpath_var=LD_LIBRARY_PATH
9206
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9207
    case $host_os in
9208
      openbsd2.[89] | openbsd2.[89].*)
9209
        shlibpath_overrides_runpath=no
9210
        ;;
9211
      *)
9212
        shlibpath_overrides_runpath=yes
9213
        ;;
9214
      esac
9215
  else
9216
    shlibpath_overrides_runpath=yes
9217
  fi
9218
  ;;
9219
 
9220
os2*)
9221
  libname_spec='$name'
9222
  shrext_cmds=".dll"
9223
  need_lib_prefix=no
9224
  library_names_spec='$libname${shared_ext} $libname.a'
9225
  dynamic_linker='OS/2 ld.exe'
9226
  shlibpath_var=LIBPATH
9227
  ;;
9228
 
9229
osf3* | osf4* | osf5*)
9230
  version_type=osf
9231
  need_lib_prefix=no
9232
  need_version=no
9233
  soname_spec='${libname}${release}${shared_ext}$major'
9234
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9235
  shlibpath_var=LD_LIBRARY_PATH
9236
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9237
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9238
  ;;
9239
 
9240
rdos*)
9241
  dynamic_linker=no
9242
  ;;
9243
 
9244
solaris*)
9245
  version_type=linux
9246
  need_lib_prefix=no
9247
  need_version=no
9248
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9249
  soname_spec='${libname}${release}${shared_ext}$major'
9250
  shlibpath_var=LD_LIBRARY_PATH
9251
  shlibpath_overrides_runpath=yes
9252
  hardcode_into_libs=yes
9253
  # ldd complains unless libraries are executable
9254
  postinstall_cmds='chmod +x $lib'
9255
  ;;
9256
 
9257
sunos4*)
9258
  version_type=sunos
9259
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9260
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9261
  shlibpath_var=LD_LIBRARY_PATH
9262
  shlibpath_overrides_runpath=yes
9263
  if test "$with_gnu_ld" = yes; then
9264
    need_lib_prefix=no
9265
  fi
9266
  need_version=yes
9267
  ;;
9268
 
9269
sysv4 | sysv4.3*)
9270
  version_type=linux
9271
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9272
  soname_spec='${libname}${release}${shared_ext}$major'
9273
  shlibpath_var=LD_LIBRARY_PATH
9274
  case $host_vendor in
9275
    sni)
9276
      shlibpath_overrides_runpath=no
9277
      need_lib_prefix=no
9278
      runpath_var=LD_RUN_PATH
9279
      ;;
9280
    siemens)
9281
      need_lib_prefix=no
9282
      ;;
9283
    motorola)
9284
      need_lib_prefix=no
9285
      need_version=no
9286
      shlibpath_overrides_runpath=no
9287
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9288
      ;;
9289
  esac
9290
  ;;
9291
 
9292
sysv4*MP*)
9293
  if test -d /usr/nec ;then
9294
    version_type=linux
9295
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9296
    soname_spec='$libname${shared_ext}.$major'
9297
    shlibpath_var=LD_LIBRARY_PATH
9298
  fi
9299
  ;;
9300
 
9301
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9302
  version_type=freebsd-elf
9303
  need_lib_prefix=no
9304
  need_version=no
9305
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9306
  soname_spec='${libname}${release}${shared_ext}$major'
9307
  shlibpath_var=LD_LIBRARY_PATH
9308
  shlibpath_overrides_runpath=yes
9309
  hardcode_into_libs=yes
9310
  if test "$with_gnu_ld" = yes; then
9311
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9312
  else
9313
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9314
    case $host_os in
9315
      sco3.2v5*)
9316
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9317
        ;;
9318
    esac
9319
  fi
9320
  sys_lib_dlsearch_path_spec='/usr/lib'
9321
  ;;
9322
 
9323
tpf*)
9324
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9325
  version_type=linux
9326
  need_lib_prefix=no
9327
  need_version=no
9328
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9329
  shlibpath_var=LD_LIBRARY_PATH
9330
  shlibpath_overrides_runpath=no
9331
  hardcode_into_libs=yes
9332
  ;;
9333
 
9334
uts4*)
9335
  version_type=linux
9336
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9337
  soname_spec='${libname}${release}${shared_ext}$major'
9338
  shlibpath_var=LD_LIBRARY_PATH
9339
  ;;
9340
 
9341
*)
9342
  dynamic_linker=no
9343
  ;;
9344
esac
9345 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9346 90 jeremybenn
$as_echo "$dynamic_linker" >&6; }
9347
test "$dynamic_linker" = no && can_build_shared=no
9348
 
9349
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9350
if test "$GCC" = yes; then
9351
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9352
fi
9353
 
9354
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9355
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9356
fi
9357
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9358
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9359
fi
9360
 
9361
 
9362
 
9363
 
9364
 
9365
 
9366
 
9367
 
9368
 
9369
 
9370
 
9371
 
9372
 
9373
 
9374
 
9375
 
9376
 
9377
 
9378
 
9379
 
9380
 
9381
 
9382
 
9383
 
9384
 
9385
 
9386
 
9387
 
9388
 
9389
 
9390
 
9391
 
9392
 
9393
 
9394
 
9395
 
9396
 
9397
 
9398
 
9399
 
9400
 
9401
 
9402
 
9403
 
9404
 
9405
 
9406
 
9407
 
9408
 
9409
 
9410
 
9411
 
9412
 
9413
 
9414
 
9415
 
9416
 
9417
 
9418
 
9419
 
9420
 
9421
 
9422
 
9423
 
9424
 
9425
 
9426
 
9427
 
9428
 
9429
 
9430
 
9431
 
9432
 
9433
 
9434
 
9435
 
9436
 
9437
 
9438
 
9439
 
9440
 
9441
 
9442
 
9443
 
9444
 
9445
 
9446
 
9447 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9448 90 jeremybenn
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9449
hardcode_action=
9450
if test -n "$hardcode_libdir_flag_spec" ||
9451
   test -n "$runpath_var" ||
9452
   test "X$hardcode_automatic" = "Xyes" ; then
9453
 
9454
  # We can hardcode non-existent directories.
9455
  if test "$hardcode_direct" != no &&
9456
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9457
     # have to relink, otherwise we might link with an installed library
9458
     # when we should be linking with a yet-to-be-installed one
9459
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9460
     test "$hardcode_minus_L" != no; then
9461
    # Linking always hardcodes the temporary library directory.
9462
    hardcode_action=relink
9463
  else
9464
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
9465
    hardcode_action=immediate
9466
  fi
9467
else
9468
  # We cannot hardcode anything, or else we can only hardcode existing
9469
  # directories.
9470
  hardcode_action=unsupported
9471
fi
9472 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9473 90 jeremybenn
$as_echo "$hardcode_action" >&6; }
9474
 
9475
if test "$hardcode_action" = relink ||
9476
   test "$inherit_rpath" = yes; then
9477
  # Fast installation is not supported
9478
  enable_fast_install=no
9479
elif test "$shlibpath_overrides_runpath" = yes ||
9480
     test "$enable_shared" = no; then
9481
  # Fast installation is not necessary
9482
  enable_fast_install=needless
9483
fi
9484
 
9485
 
9486
 
9487
 
9488
 
9489
 
9490
  if test "x$enable_dlopen" != xyes; then
9491
  enable_dlopen=unknown
9492
  enable_dlopen_self=unknown
9493
  enable_dlopen_self_static=unknown
9494
else
9495
  lt_cv_dlopen=no
9496
  lt_cv_dlopen_libs=
9497
 
9498
  case $host_os in
9499
  beos*)
9500
    lt_cv_dlopen="load_add_on"
9501
    lt_cv_dlopen_libs=
9502
    lt_cv_dlopen_self=yes
9503
    ;;
9504
 
9505
  mingw* | pw32* | cegcc*)
9506
    lt_cv_dlopen="LoadLibrary"
9507
    lt_cv_dlopen_libs=
9508
    ;;
9509
 
9510
  cygwin*)
9511
    lt_cv_dlopen="dlopen"
9512
    lt_cv_dlopen_libs=
9513
    ;;
9514
 
9515
  darwin*)
9516
  # if libdl is installed we need to link against it
9517 234 jeremybenn
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9518 90 jeremybenn
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9519 234 jeremybenn
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9520 90 jeremybenn
  $as_echo_n "(cached) " >&6
9521
else
9522
  ac_check_lib_save_LIBS=$LIBS
9523
LIBS="-ldl  $LIBS"
9524 234 jeremybenn
cat >conftest.$ac_ext <<_ACEOF
9525
/* confdefs.h.  */
9526
_ACEOF
9527
cat confdefs.h >>conftest.$ac_ext
9528
cat >>conftest.$ac_ext <<_ACEOF
9529 90 jeremybenn
/* end confdefs.h.  */
9530
 
9531
/* Override any GCC internal prototype to avoid an error.
9532
   Use char because int might match the return type of a GCC
9533
   builtin and then its argument prototype would still apply.  */
9534
#ifdef __cplusplus
9535
extern "C"
9536
#endif
9537
char dlopen ();
9538
int
9539
main ()
9540
{
9541
return dlopen ();
9542
  ;
9543
  return 0;
9544
}
9545
_ACEOF
9546 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
9547
if { (ac_try="$ac_link"
9548
case "(($ac_try" in
9549
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9550
  *) ac_try_echo=$ac_try;;
9551
esac
9552
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9553
$as_echo "$ac_try_echo") >&5
9554
  (eval "$ac_link") 2>conftest.er1
9555
  ac_status=$?
9556
  grep -v '^ *+' conftest.er1 >conftest.err
9557
  rm -f conftest.er1
9558
  cat conftest.err >&5
9559
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560
  (exit $ac_status); } && {
9561
         test -z "$ac_c_werror_flag" ||
9562
         test ! -s conftest.err
9563
       } && test -s conftest$ac_exeext && {
9564
         test "$cross_compiling" = yes ||
9565
         $as_test_x conftest$ac_exeext
9566
       }; then
9567 90 jeremybenn
  ac_cv_lib_dl_dlopen=yes
9568
else
9569 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
9570
sed 's/^/| /' conftest.$ac_ext >&5
9571
 
9572
        ac_cv_lib_dl_dlopen=no
9573 90 jeremybenn
fi
9574 234 jeremybenn
 
9575
rm -rf conftest.dSYM
9576
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9577
      conftest$ac_exeext conftest.$ac_ext
9578 90 jeremybenn
LIBS=$ac_check_lib_save_LIBS
9579
fi
9580 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9581 90 jeremybenn
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9582 234 jeremybenn
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9583 90 jeremybenn
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9584
else
9585
 
9586
    lt_cv_dlopen="dyld"
9587
    lt_cv_dlopen_libs=
9588
    lt_cv_dlopen_self=yes
9589
 
9590
fi
9591
 
9592
    ;;
9593
 
9594
  *)
9595 234 jeremybenn
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9596
$as_echo_n "checking for shl_load... " >&6; }
9597
if test "${ac_cv_func_shl_load+set}" = set; then
9598
  $as_echo_n "(cached) " >&6
9599
else
9600
  cat >conftest.$ac_ext <<_ACEOF
9601
/* confdefs.h.  */
9602
_ACEOF
9603
cat confdefs.h >>conftest.$ac_ext
9604
cat >>conftest.$ac_ext <<_ACEOF
9605
/* end confdefs.h.  */
9606
/* Define shl_load to an innocuous variant, in case  declares shl_load.
9607
   For example, HP-UX 11i  declares gettimeofday.  */
9608
#define shl_load innocuous_shl_load
9609
 
9610
/* System header to define __stub macros and hopefully few prototypes,
9611
    which can conflict with char shl_load (); below.
9612
    Prefer  to  if __STDC__ is defined, since
9613
     exists even on freestanding compilers.  */
9614
 
9615
#ifdef __STDC__
9616
# include 
9617
#else
9618
# include 
9619
#endif
9620
 
9621
#undef shl_load
9622
 
9623
/* Override any GCC internal prototype to avoid an error.
9624
   Use char because int might match the return type of a GCC
9625
   builtin and then its argument prototype would still apply.  */
9626
#ifdef __cplusplus
9627
extern "C"
9628
#endif
9629
char shl_load ();
9630
/* The GNU C library defines this for functions which it implements
9631
    to always fail with ENOSYS.  Some functions are actually named
9632
    something starting with __ and the normal name is an alias.  */
9633
#if defined __stub_shl_load || defined __stub___shl_load
9634
choke me
9635
#endif
9636
 
9637
int
9638
main ()
9639
{
9640
return shl_load ();
9641
  ;
9642
  return 0;
9643
}
9644
_ACEOF
9645
rm -f conftest.$ac_objext conftest$ac_exeext
9646
if { (ac_try="$ac_link"
9647
case "(($ac_try" in
9648
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9649
  *) ac_try_echo=$ac_try;;
9650
esac
9651
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9652
$as_echo "$ac_try_echo") >&5
9653
  (eval "$ac_link") 2>conftest.er1
9654
  ac_status=$?
9655
  grep -v '^ *+' conftest.er1 >conftest.err
9656
  rm -f conftest.er1
9657
  cat conftest.err >&5
9658
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659
  (exit $ac_status); } && {
9660
         test -z "$ac_c_werror_flag" ||
9661
         test ! -s conftest.err
9662
       } && test -s conftest$ac_exeext && {
9663
         test "$cross_compiling" = yes ||
9664
         $as_test_x conftest$ac_exeext
9665
       }; then
9666
  ac_cv_func_shl_load=yes
9667
else
9668
  $as_echo "$as_me: failed program was:" >&5
9669
sed 's/^/| /' conftest.$ac_ext >&5
9670
 
9671
        ac_cv_func_shl_load=no
9672
fi
9673
 
9674
rm -rf conftest.dSYM
9675
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9676
      conftest$ac_exeext conftest.$ac_ext
9677
fi
9678
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9679
$as_echo "$ac_cv_func_shl_load" >&6; }
9680
if test "x$ac_cv_func_shl_load" = x""yes; then
9681 90 jeremybenn
  lt_cv_dlopen="shl_load"
9682
else
9683 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9684 90 jeremybenn
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9685 234 jeremybenn
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9686 90 jeremybenn
  $as_echo_n "(cached) " >&6
9687
else
9688
  ac_check_lib_save_LIBS=$LIBS
9689
LIBS="-ldld  $LIBS"
9690 234 jeremybenn
cat >conftest.$ac_ext <<_ACEOF
9691
/* confdefs.h.  */
9692
_ACEOF
9693
cat confdefs.h >>conftest.$ac_ext
9694
cat >>conftest.$ac_ext <<_ACEOF
9695 90 jeremybenn
/* end confdefs.h.  */
9696
 
9697
/* Override any GCC internal prototype to avoid an error.
9698
   Use char because int might match the return type of a GCC
9699
   builtin and then its argument prototype would still apply.  */
9700
#ifdef __cplusplus
9701
extern "C"
9702
#endif
9703
char shl_load ();
9704
int
9705
main ()
9706
{
9707
return shl_load ();
9708
  ;
9709
  return 0;
9710
}
9711
_ACEOF
9712 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
9713
if { (ac_try="$ac_link"
9714
case "(($ac_try" in
9715
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9716
  *) ac_try_echo=$ac_try;;
9717
esac
9718
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9719
$as_echo "$ac_try_echo") >&5
9720
  (eval "$ac_link") 2>conftest.er1
9721
  ac_status=$?
9722
  grep -v '^ *+' conftest.er1 >conftest.err
9723
  rm -f conftest.er1
9724
  cat conftest.err >&5
9725
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726
  (exit $ac_status); } && {
9727
         test -z "$ac_c_werror_flag" ||
9728
         test ! -s conftest.err
9729
       } && test -s conftest$ac_exeext && {
9730
         test "$cross_compiling" = yes ||
9731
         $as_test_x conftest$ac_exeext
9732
       }; then
9733 90 jeremybenn
  ac_cv_lib_dld_shl_load=yes
9734
else
9735 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
9736
sed 's/^/| /' conftest.$ac_ext >&5
9737
 
9738
        ac_cv_lib_dld_shl_load=no
9739 90 jeremybenn
fi
9740 234 jeremybenn
 
9741
rm -rf conftest.dSYM
9742
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9743
      conftest$ac_exeext conftest.$ac_ext
9744 90 jeremybenn
LIBS=$ac_check_lib_save_LIBS
9745
fi
9746 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9747 90 jeremybenn
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9748 234 jeremybenn
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
9749 90 jeremybenn
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9750
else
9751 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
9752
$as_echo_n "checking for dlopen... " >&6; }
9753
if test "${ac_cv_func_dlopen+set}" = set; then
9754
  $as_echo_n "(cached) " >&6
9755
else
9756
  cat >conftest.$ac_ext <<_ACEOF
9757
/* confdefs.h.  */
9758
_ACEOF
9759
cat confdefs.h >>conftest.$ac_ext
9760
cat >>conftest.$ac_ext <<_ACEOF
9761
/* end confdefs.h.  */
9762
/* Define dlopen to an innocuous variant, in case  declares dlopen.
9763
   For example, HP-UX 11i  declares gettimeofday.  */
9764
#define dlopen innocuous_dlopen
9765
 
9766
/* System header to define __stub macros and hopefully few prototypes,
9767
    which can conflict with char dlopen (); below.
9768
    Prefer  to  if __STDC__ is defined, since
9769
     exists even on freestanding compilers.  */
9770
 
9771
#ifdef __STDC__
9772
# include 
9773
#else
9774
# include 
9775
#endif
9776
 
9777
#undef dlopen
9778
 
9779
/* Override any GCC internal prototype to avoid an error.
9780
   Use char because int might match the return type of a GCC
9781
   builtin and then its argument prototype would still apply.  */
9782
#ifdef __cplusplus
9783
extern "C"
9784
#endif
9785
char dlopen ();
9786
/* The GNU C library defines this for functions which it implements
9787
    to always fail with ENOSYS.  Some functions are actually named
9788
    something starting with __ and the normal name is an alias.  */
9789
#if defined __stub_dlopen || defined __stub___dlopen
9790
choke me
9791
#endif
9792
 
9793
int
9794
main ()
9795
{
9796
return dlopen ();
9797
  ;
9798
  return 0;
9799
}
9800
_ACEOF
9801
rm -f conftest.$ac_objext conftest$ac_exeext
9802
if { (ac_try="$ac_link"
9803
case "(($ac_try" in
9804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9805
  *) ac_try_echo=$ac_try;;
9806
esac
9807
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9808
$as_echo "$ac_try_echo") >&5
9809
  (eval "$ac_link") 2>conftest.er1
9810
  ac_status=$?
9811
  grep -v '^ *+' conftest.er1 >conftest.err
9812
  rm -f conftest.er1
9813
  cat conftest.err >&5
9814
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815
  (exit $ac_status); } && {
9816
         test -z "$ac_c_werror_flag" ||
9817
         test ! -s conftest.err
9818
       } && test -s conftest$ac_exeext && {
9819
         test "$cross_compiling" = yes ||
9820
         $as_test_x conftest$ac_exeext
9821
       }; then
9822
  ac_cv_func_dlopen=yes
9823
else
9824
  $as_echo "$as_me: failed program was:" >&5
9825
sed 's/^/| /' conftest.$ac_ext >&5
9826
 
9827
        ac_cv_func_dlopen=no
9828
fi
9829
 
9830
rm -rf conftest.dSYM
9831
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9832
      conftest$ac_exeext conftest.$ac_ext
9833
fi
9834
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9835
$as_echo "$ac_cv_func_dlopen" >&6; }
9836
if test "x$ac_cv_func_dlopen" = x""yes; then
9837 90 jeremybenn
  lt_cv_dlopen="dlopen"
9838
else
9839 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9840 90 jeremybenn
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9841 234 jeremybenn
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9842 90 jeremybenn
  $as_echo_n "(cached) " >&6
9843
else
9844
  ac_check_lib_save_LIBS=$LIBS
9845
LIBS="-ldl  $LIBS"
9846 234 jeremybenn
cat >conftest.$ac_ext <<_ACEOF
9847
/* confdefs.h.  */
9848
_ACEOF
9849
cat confdefs.h >>conftest.$ac_ext
9850
cat >>conftest.$ac_ext <<_ACEOF
9851 90 jeremybenn
/* end confdefs.h.  */
9852
 
9853
/* Override any GCC internal prototype to avoid an error.
9854
   Use char because int might match the return type of a GCC
9855
   builtin and then its argument prototype would still apply.  */
9856
#ifdef __cplusplus
9857
extern "C"
9858
#endif
9859
char dlopen ();
9860
int
9861
main ()
9862
{
9863
return dlopen ();
9864
  ;
9865
  return 0;
9866
}
9867
_ACEOF
9868 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
9869
if { (ac_try="$ac_link"
9870
case "(($ac_try" in
9871
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9872
  *) ac_try_echo=$ac_try;;
9873
esac
9874
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9875
$as_echo "$ac_try_echo") >&5
9876
  (eval "$ac_link") 2>conftest.er1
9877
  ac_status=$?
9878
  grep -v '^ *+' conftest.er1 >conftest.err
9879
  rm -f conftest.er1
9880
  cat conftest.err >&5
9881
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882
  (exit $ac_status); } && {
9883
         test -z "$ac_c_werror_flag" ||
9884
         test ! -s conftest.err
9885
       } && test -s conftest$ac_exeext && {
9886
         test "$cross_compiling" = yes ||
9887
         $as_test_x conftest$ac_exeext
9888
       }; then
9889 90 jeremybenn
  ac_cv_lib_dl_dlopen=yes
9890
else
9891 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
9892
sed 's/^/| /' conftest.$ac_ext >&5
9893
 
9894
        ac_cv_lib_dl_dlopen=no
9895 90 jeremybenn
fi
9896 234 jeremybenn
 
9897
rm -rf conftest.dSYM
9898
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9899
      conftest$ac_exeext conftest.$ac_ext
9900 90 jeremybenn
LIBS=$ac_check_lib_save_LIBS
9901
fi
9902 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9903 90 jeremybenn
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9904 234 jeremybenn
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9905 90 jeremybenn
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9906
else
9907 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9908 90 jeremybenn
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
9909 234 jeremybenn
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9910 90 jeremybenn
  $as_echo_n "(cached) " >&6
9911
else
9912
  ac_check_lib_save_LIBS=$LIBS
9913
LIBS="-lsvld  $LIBS"
9914 234 jeremybenn
cat >conftest.$ac_ext <<_ACEOF
9915
/* confdefs.h.  */
9916
_ACEOF
9917
cat confdefs.h >>conftest.$ac_ext
9918
cat >>conftest.$ac_ext <<_ACEOF
9919 90 jeremybenn
/* end confdefs.h.  */
9920
 
9921
/* Override any GCC internal prototype to avoid an error.
9922
   Use char because int might match the return type of a GCC
9923
   builtin and then its argument prototype would still apply.  */
9924
#ifdef __cplusplus
9925
extern "C"
9926
#endif
9927
char dlopen ();
9928
int
9929
main ()
9930
{
9931
return dlopen ();
9932
  ;
9933
  return 0;
9934
}
9935
_ACEOF
9936 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
9937
if { (ac_try="$ac_link"
9938
case "(($ac_try" in
9939
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9940
  *) ac_try_echo=$ac_try;;
9941
esac
9942
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9943
$as_echo "$ac_try_echo") >&5
9944
  (eval "$ac_link") 2>conftest.er1
9945
  ac_status=$?
9946
  grep -v '^ *+' conftest.er1 >conftest.err
9947
  rm -f conftest.er1
9948
  cat conftest.err >&5
9949
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950
  (exit $ac_status); } && {
9951
         test -z "$ac_c_werror_flag" ||
9952
         test ! -s conftest.err
9953
       } && test -s conftest$ac_exeext && {
9954
         test "$cross_compiling" = yes ||
9955
         $as_test_x conftest$ac_exeext
9956
       }; then
9957 90 jeremybenn
  ac_cv_lib_svld_dlopen=yes
9958
else
9959 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
9960
sed 's/^/| /' conftest.$ac_ext >&5
9961
 
9962
        ac_cv_lib_svld_dlopen=no
9963 90 jeremybenn
fi
9964 234 jeremybenn
 
9965
rm -rf conftest.dSYM
9966
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9967
      conftest$ac_exeext conftest.$ac_ext
9968 90 jeremybenn
LIBS=$ac_check_lib_save_LIBS
9969
fi
9970 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9971 90 jeremybenn
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
9972 234 jeremybenn
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
9973 90 jeremybenn
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9974
else
9975 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9976 90 jeremybenn
$as_echo_n "checking for dld_link in -ldld... " >&6; }
9977 234 jeremybenn
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9978 90 jeremybenn
  $as_echo_n "(cached) " >&6
9979
else
9980
  ac_check_lib_save_LIBS=$LIBS
9981
LIBS="-ldld  $LIBS"
9982 234 jeremybenn
cat >conftest.$ac_ext <<_ACEOF
9983
/* confdefs.h.  */
9984
_ACEOF
9985
cat confdefs.h >>conftest.$ac_ext
9986
cat >>conftest.$ac_ext <<_ACEOF
9987 90 jeremybenn
/* end confdefs.h.  */
9988
 
9989
/* Override any GCC internal prototype to avoid an error.
9990
   Use char because int might match the return type of a GCC
9991
   builtin and then its argument prototype would still apply.  */
9992
#ifdef __cplusplus
9993
extern "C"
9994
#endif
9995
char dld_link ();
9996
int
9997
main ()
9998
{
9999
return dld_link ();
10000
  ;
10001
  return 0;
10002
}
10003
_ACEOF
10004 234 jeremybenn
rm -f conftest.$ac_objext conftest$ac_exeext
10005
if { (ac_try="$ac_link"
10006
case "(($ac_try" in
10007
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10008
  *) ac_try_echo=$ac_try;;
10009
esac
10010
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10011
$as_echo "$ac_try_echo") >&5
10012
  (eval "$ac_link") 2>conftest.er1
10013
  ac_status=$?
10014
  grep -v '^ *+' conftest.er1 >conftest.err
10015
  rm -f conftest.er1
10016
  cat conftest.err >&5
10017
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018
  (exit $ac_status); } && {
10019
         test -z "$ac_c_werror_flag" ||
10020
         test ! -s conftest.err
10021
       } && test -s conftest$ac_exeext && {
10022
         test "$cross_compiling" = yes ||
10023
         $as_test_x conftest$ac_exeext
10024
       }; then
10025 90 jeremybenn
  ac_cv_lib_dld_dld_link=yes
10026
else
10027 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
10028
sed 's/^/| /' conftest.$ac_ext >&5
10029
 
10030
        ac_cv_lib_dld_dld_link=no
10031 90 jeremybenn
fi
10032 234 jeremybenn
 
10033
rm -rf conftest.dSYM
10034
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10035
      conftest$ac_exeext conftest.$ac_ext
10036 90 jeremybenn
LIBS=$ac_check_lib_save_LIBS
10037
fi
10038 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10039 90 jeremybenn
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10040 234 jeremybenn
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10041 90 jeremybenn
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10042
fi
10043
 
10044
 
10045
fi
10046
 
10047
 
10048
fi
10049
 
10050
 
10051
fi
10052
 
10053
 
10054
fi
10055
 
10056
 
10057
fi
10058
 
10059
    ;;
10060
  esac
10061
 
10062
  if test "x$lt_cv_dlopen" != xno; then
10063
    enable_dlopen=yes
10064
  else
10065
    enable_dlopen=no
10066
  fi
10067
 
10068
  case $lt_cv_dlopen in
10069
  dlopen)
10070
    save_CPPFLAGS="$CPPFLAGS"
10071
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10072
 
10073
    save_LDFLAGS="$LDFLAGS"
10074
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10075
 
10076
    save_LIBS="$LIBS"
10077
    LIBS="$lt_cv_dlopen_libs $LIBS"
10078
 
10079 234 jeremybenn
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10080 90 jeremybenn
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10081 234 jeremybenn
if test "${lt_cv_dlopen_self+set}" = set; then
10082 90 jeremybenn
  $as_echo_n "(cached) " >&6
10083
else
10084
          if test "$cross_compiling" = yes; then :
10085
  lt_cv_dlopen_self=cross
10086
else
10087
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10088
  lt_status=$lt_dlunknown
10089
  cat > conftest.$ac_ext <<_LT_EOF
10090 234 jeremybenn
#line 10090 "configure"
10091 90 jeremybenn
#include "confdefs.h"
10092
 
10093
#if HAVE_DLFCN_H
10094
#include 
10095
#endif
10096
 
10097
#include 
10098
 
10099
#ifdef RTLD_GLOBAL
10100
#  define LT_DLGLOBAL           RTLD_GLOBAL
10101
#else
10102
#  ifdef DL_GLOBAL
10103
#    define LT_DLGLOBAL         DL_GLOBAL
10104
#  else
10105
#    define LT_DLGLOBAL         0
10106
#  endif
10107
#endif
10108
 
10109
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10110
   find out it does not work in some platform. */
10111
#ifndef LT_DLLAZY_OR_NOW
10112
#  ifdef RTLD_LAZY
10113
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10114
#  else
10115
#    ifdef DL_LAZY
10116
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10117
#    else
10118
#      ifdef RTLD_NOW
10119
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10120
#      else
10121
#        ifdef DL_NOW
10122
#          define LT_DLLAZY_OR_NOW      DL_NOW
10123
#        else
10124
#          define LT_DLLAZY_OR_NOW      0
10125
#        endif
10126
#      endif
10127
#    endif
10128
#  endif
10129
#endif
10130
 
10131
void fnord() { int i=42;}
10132
int main ()
10133
{
10134
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10135
  int status = $lt_dlunknown;
10136
 
10137
  if (self)
10138
    {
10139
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10140
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10141
      /* dlclose (self); */
10142
    }
10143
  else
10144
    puts (dlerror ());
10145
 
10146
  return status;
10147
}
10148
_LT_EOF
10149 234 jeremybenn
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10150 90 jeremybenn
  (eval $ac_link) 2>&5
10151
  ac_status=$?
10152 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10154 90 jeremybenn
    (./conftest; exit; ) >&5 2>/dev/null
10155
    lt_status=$?
10156
    case x$lt_status in
10157
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10158
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10159
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10160
    esac
10161
  else :
10162
    # compilation failed
10163
    lt_cv_dlopen_self=no
10164
  fi
10165
fi
10166
rm -fr conftest*
10167
 
10168
 
10169
fi
10170 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10171 90 jeremybenn
$as_echo "$lt_cv_dlopen_self" >&6; }
10172
 
10173
    if test "x$lt_cv_dlopen_self" = xyes; then
10174
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10175 234 jeremybenn
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10176 90 jeremybenn
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10177 234 jeremybenn
if test "${lt_cv_dlopen_self_static+set}" = set; then
10178 90 jeremybenn
  $as_echo_n "(cached) " >&6
10179
else
10180
          if test "$cross_compiling" = yes; then :
10181
  lt_cv_dlopen_self_static=cross
10182
else
10183
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10184
  lt_status=$lt_dlunknown
10185
  cat > conftest.$ac_ext <<_LT_EOF
10186 234 jeremybenn
#line 10186 "configure"
10187 90 jeremybenn
#include "confdefs.h"
10188
 
10189
#if HAVE_DLFCN_H
10190
#include 
10191
#endif
10192
 
10193
#include 
10194
 
10195
#ifdef RTLD_GLOBAL
10196
#  define LT_DLGLOBAL           RTLD_GLOBAL
10197
#else
10198
#  ifdef DL_GLOBAL
10199
#    define LT_DLGLOBAL         DL_GLOBAL
10200
#  else
10201
#    define LT_DLGLOBAL         0
10202
#  endif
10203
#endif
10204
 
10205
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10206
   find out it does not work in some platform. */
10207
#ifndef LT_DLLAZY_OR_NOW
10208
#  ifdef RTLD_LAZY
10209
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10210
#  else
10211
#    ifdef DL_LAZY
10212
#      define LT_DLLAZY_OR_NOW          DL_LAZY
10213
#    else
10214
#      ifdef RTLD_NOW
10215
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
10216
#      else
10217
#        ifdef DL_NOW
10218
#          define LT_DLLAZY_OR_NOW      DL_NOW
10219
#        else
10220
#          define LT_DLLAZY_OR_NOW      0
10221
#        endif
10222
#      endif
10223
#    endif
10224
#  endif
10225
#endif
10226
 
10227
void fnord() { int i=42;}
10228
int main ()
10229
{
10230
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10231
  int status = $lt_dlunknown;
10232
 
10233
  if (self)
10234
    {
10235
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10236
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10237
      /* dlclose (self); */
10238
    }
10239
  else
10240
    puts (dlerror ());
10241
 
10242
  return status;
10243
}
10244
_LT_EOF
10245 234 jeremybenn
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10246 90 jeremybenn
  (eval $ac_link) 2>&5
10247
  ac_status=$?
10248 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10250 90 jeremybenn
    (./conftest; exit; ) >&5 2>/dev/null
10251
    lt_status=$?
10252
    case x$lt_status in
10253
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10254
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10255
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10256
    esac
10257
  else :
10258
    # compilation failed
10259
    lt_cv_dlopen_self_static=no
10260
  fi
10261
fi
10262
rm -fr conftest*
10263
 
10264
 
10265
fi
10266 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10267 90 jeremybenn
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10268
    fi
10269
 
10270
    CPPFLAGS="$save_CPPFLAGS"
10271
    LDFLAGS="$save_LDFLAGS"
10272
    LIBS="$save_LIBS"
10273
    ;;
10274
  esac
10275
 
10276
  case $lt_cv_dlopen_self in
10277
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10278
  *) enable_dlopen_self=unknown ;;
10279
  esac
10280
 
10281
  case $lt_cv_dlopen_self_static in
10282
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10283
  *) enable_dlopen_self_static=unknown ;;
10284
  esac
10285
fi
10286
 
10287
 
10288
 
10289
 
10290
 
10291
 
10292
 
10293
 
10294
 
10295
 
10296
 
10297
 
10298
 
10299
 
10300
 
10301
 
10302
 
10303
striplib=
10304
old_striplib=
10305 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10306 90 jeremybenn
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10307
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10308
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10309
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10310 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: yes" >&5
10311 90 jeremybenn
$as_echo "yes" >&6; }
10312
else
10313
# FIXME - insert some real tests, host_os isn't really good enough
10314
  case $host_os in
10315
  darwin*)
10316
    if test -n "$STRIP" ; then
10317
      striplib="$STRIP -x"
10318
      old_striplib="$STRIP -S"
10319 234 jeremybenn
      { $as_echo "$as_me:$LINENO: result: yes" >&5
10320 90 jeremybenn
$as_echo "yes" >&6; }
10321
    else
10322 234 jeremybenn
      { $as_echo "$as_me:$LINENO: result: no" >&5
10323 90 jeremybenn
$as_echo "no" >&6; }
10324
    fi
10325
    ;;
10326
  *)
10327 234 jeremybenn
    { $as_echo "$as_me:$LINENO: result: no" >&5
10328 90 jeremybenn
$as_echo "no" >&6; }
10329
    ;;
10330
  esac
10331
fi
10332
 
10333
 
10334
 
10335
 
10336
 
10337
 
10338
 
10339
 
10340
 
10341
 
10342
 
10343
 
10344
  # Report which library types will actually be built
10345 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10346 90 jeremybenn
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10347 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10348 90 jeremybenn
$as_echo "$can_build_shared" >&6; }
10349
 
10350 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10351 90 jeremybenn
$as_echo_n "checking whether to build shared libraries... " >&6; }
10352
  test "$can_build_shared" = "no" && enable_shared=no
10353
 
10354
  # On AIX, shared libraries and static libraries use the same namespace, and
10355
  # are all built from PIC.
10356
  case $host_os in
10357
  aix3*)
10358
    test "$enable_shared" = yes && enable_static=no
10359
    if test -n "$RANLIB"; then
10360
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
10361
      postinstall_cmds='$RANLIB $lib'
10362
    fi
10363
    ;;
10364
 
10365
  aix[4-9]*)
10366
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10367
      test "$enable_shared" = yes && enable_static=no
10368
    fi
10369
    ;;
10370
  esac
10371 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10372 90 jeremybenn
$as_echo "$enable_shared" >&6; }
10373
 
10374 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10375 90 jeremybenn
$as_echo_n "checking whether to build static libraries... " >&6; }
10376
  # Make sure either enable_shared or enable_static is yes.
10377
  test "$enable_shared" = yes || enable_static=yes
10378 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10379 90 jeremybenn
$as_echo "$enable_static" >&6; }
10380
 
10381
 
10382
 
10383
 
10384
fi
10385
ac_ext=c
10386
ac_cpp='$CPP $CPPFLAGS'
10387
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10388
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10389
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10390
 
10391
CC="$lt_save_CC"
10392
 
10393
 
10394
 
10395
 
10396
 
10397
 
10398
 
10399
 
10400
 
10401
 
10402
 
10403
 
10404
 
10405
        ac_config_commands="$ac_config_commands libtool"
10406
 
10407
 
10408
 
10409
 
10410
# Only expand once:
10411
 
10412
 
10413
am__api_version='1.11'
10414
 
10415
# Find a good install program.  We prefer a C program (faster),
10416
# so one script is as good as another.  But avoid the broken or
10417
# incompatible versions:
10418
# SysV /etc/install, /usr/sbin/install
10419
# SunOS /usr/etc/install
10420
# IRIX /sbin/install
10421
# AIX /bin/install
10422
# AmigaOS /C/install, which installs bootblocks on floppy discs
10423
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10424
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
10425
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10426
# OS/2's system install, which has a completely different semantic
10427
# ./install, which can be erroneously created by make from ./install.sh.
10428
# Reject install programs that cannot install multiple files.
10429 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10430 90 jeremybenn
$as_echo_n "checking for a BSD-compatible install... " >&6; }
10431
if test -z "$INSTALL"; then
10432 234 jeremybenn
if test "${ac_cv_path_install+set}" = set; then
10433 90 jeremybenn
  $as_echo_n "(cached) " >&6
10434
else
10435
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436
for as_dir in $PATH
10437
do
10438
  IFS=$as_save_IFS
10439
  test -z "$as_dir" && as_dir=.
10440 234 jeremybenn
  # Account for people who put trailing slashes in PATH elements.
10441
case $as_dir/ in
10442
  ./ | .// | /cC/* | \
10443 90 jeremybenn
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
10444 234 jeremybenn
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
10445 90 jeremybenn
  /usr/ucb/* ) ;;
10446
  *)
10447
    # OSF1 and SCO ODT 3.0 have their own names for install.
10448
    # Don't use installbsd from OSF since it installs stuff as root
10449
    # by default.
10450
    for ac_prog in ginstall scoinst install; do
10451
      for ac_exec_ext in '' $ac_executable_extensions; do
10452
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10453
          if test $ac_prog = install &&
10454
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10455
            # AIX install.  It has an incompatible calling convention.
10456
            :
10457
          elif test $ac_prog = install &&
10458
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
10459
            # program-specific install script used by HP pwplus--don't use.
10460
            :
10461
          else
10462
            rm -rf conftest.one conftest.two conftest.dir
10463
            echo one > conftest.one
10464
            echo two > conftest.two
10465
            mkdir conftest.dir
10466
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
10467
              test -s conftest.one && test -s conftest.two &&
10468
              test -s conftest.dir/conftest.one &&
10469
              test -s conftest.dir/conftest.two
10470
            then
10471
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
10472
              break 3
10473
            fi
10474
          fi
10475
        fi
10476
      done
10477
    done
10478
    ;;
10479
esac
10480
 
10481 234 jeremybenn
done
10482 90 jeremybenn
IFS=$as_save_IFS
10483
 
10484
rm -rf conftest.one conftest.two conftest.dir
10485
 
10486
fi
10487
  if test "${ac_cv_path_install+set}" = set; then
10488
    INSTALL=$ac_cv_path_install
10489
  else
10490
    # As a last resort, use the slow shell script.  Don't cache a
10491
    # value for INSTALL within a source directory, because that will
10492
    # break other packages using the cache if that directory is
10493
    # removed, or if the value is a relative name.
10494
    INSTALL=$ac_install_sh
10495
  fi
10496
fi
10497 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
10498 90 jeremybenn
$as_echo "$INSTALL" >&6; }
10499
 
10500
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10501
# It thinks the first close brace ends the variable substitution.
10502
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
10503
 
10504
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
10505
 
10506
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
10507
 
10508 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
10509 90 jeremybenn
$as_echo_n "checking whether build environment is sane... " >&6; }
10510
# Just in case
10511
sleep 1
10512
echo timestamp > conftest.file
10513
# Reject unsafe characters in $srcdir or the absolute working directory
10514
# name.  Accept space and tab only in the latter.
10515
am_lf='
10516
'
10517
case `pwd` in
10518
  *[\\\"\#\$\&\'\`$am_lf]*)
10519 234 jeremybenn
    { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
10520
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
10521
   { (exit 1); exit 1; }; };;
10522 90 jeremybenn
esac
10523
case $srcdir in
10524
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
10525 234 jeremybenn
    { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
10526
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
10527
   { (exit 1); exit 1; }; };;
10528 90 jeremybenn
esac
10529
 
10530
# Do `set' in a subshell so we don't clobber the current shell's
10531
# arguments.  Must try -L first in case configure is actually a
10532
# symlink; some systems play weird games with the mod time of symlinks
10533
# (eg FreeBSD returns the mod time of the symlink's containing
10534
# directory).
10535
if (
10536
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
10537
   if test "$*" = "X"; then
10538
      # -L didn't work.
10539
      set X `ls -t "$srcdir/configure" conftest.file`
10540
   fi
10541
   rm -f conftest.file
10542
   if test "$*" != "X $srcdir/configure conftest.file" \
10543
      && test "$*" != "X conftest.file $srcdir/configure"; then
10544
 
10545
      # If neither matched, then we have a broken ls.  This can happen
10546
      # if, for instance, CONFIG_SHELL is bash and it inherits a
10547
      # broken ls alias from the environment.  This has actually
10548
      # happened.  Such a system could not be considered "sane".
10549 234 jeremybenn
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
10550
alias in your environment" >&5
10551
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
10552
alias in your environment" >&2;}
10553
   { (exit 1); exit 1; }; }
10554 90 jeremybenn
   fi
10555
 
10556
   test "$2" = conftest.file
10557
   )
10558
then
10559
   # Ok.
10560
   :
10561
else
10562 234 jeremybenn
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
10563
Check your system clock" >&5
10564
$as_echo "$as_me: error: newly created file is older than distributed files!
10565
Check your system clock" >&2;}
10566
   { (exit 1); exit 1; }; }
10567 90 jeremybenn
fi
10568 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: yes" >&5
10569 90 jeremybenn
$as_echo "yes" >&6; }
10570
test "$program_prefix" != NONE &&
10571
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
10572
# Use a double $ so make ignores it.
10573
test "$program_suffix" != NONE &&
10574
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
10575
# Double any \ or $.
10576
# By default was `s,x,x', remove it if useless.
10577
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
10578
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
10579
 
10580
# expand $ac_aux_dir to an absolute path
10581
am_aux_dir=`cd $ac_aux_dir && pwd`
10582
 
10583
if test x"${MISSING+set}" != xset; then
10584
  case $am_aux_dir in
10585
  *\ * | *\     *)
10586
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
10587
  *)
10588
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
10589
  esac
10590
fi
10591
# Use eval to expand $SHELL
10592
if eval "$MISSING --run true"; then
10593
  am_missing_run="$MISSING --run "
10594
else
10595
  am_missing_run=
10596 234 jeremybenn
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
10597 90 jeremybenn
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
10598
fi
10599
 
10600
if test x"${install_sh}" != xset; then
10601
  case $am_aux_dir in
10602
  *\ * | *\     *)
10603
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
10604
  *)
10605
    install_sh="\${SHELL} $am_aux_dir/install-sh"
10606
  esac
10607
fi
10608
 
10609
# Installed binaries are usually stripped using `strip' when the user
10610
# run `make install-strip'.  However `strip' might not be the right
10611
# tool to use in cross-compilation environments, therefore Automake
10612
# will honor the `STRIP' environment variable to overrule this program.
10613
if test "$cross_compiling" != no; then
10614
  if test -n "$ac_tool_prefix"; then
10615
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
10616
set dummy ${ac_tool_prefix}strip; ac_word=$2
10617 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10618 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
10619 234 jeremybenn
if test "${ac_cv_prog_STRIP+set}" = set; then
10620 90 jeremybenn
  $as_echo_n "(cached) " >&6
10621
else
10622
  if test -n "$STRIP"; then
10623
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
10624
else
10625
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10626
for as_dir in $PATH
10627
do
10628
  IFS=$as_save_IFS
10629
  test -z "$as_dir" && as_dir=.
10630 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
10631 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10632
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
10633 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10634 90 jeremybenn
    break 2
10635
  fi
10636
done
10637 234 jeremybenn
done
10638 90 jeremybenn
IFS=$as_save_IFS
10639
 
10640
fi
10641
fi
10642
STRIP=$ac_cv_prog_STRIP
10643
if test -n "$STRIP"; then
10644 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
10645 90 jeremybenn
$as_echo "$STRIP" >&6; }
10646
else
10647 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
10648 90 jeremybenn
$as_echo "no" >&6; }
10649
fi
10650
 
10651
 
10652
fi
10653
if test -z "$ac_cv_prog_STRIP"; then
10654
  ac_ct_STRIP=$STRIP
10655
  # Extract the first word of "strip", so it can be a program name with args.
10656
set dummy strip; ac_word=$2
10657 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10658 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
10659 234 jeremybenn
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
10660 90 jeremybenn
  $as_echo_n "(cached) " >&6
10661
else
10662
  if test -n "$ac_ct_STRIP"; then
10663
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
10664
else
10665
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10666
for as_dir in $PATH
10667
do
10668
  IFS=$as_save_IFS
10669
  test -z "$as_dir" && as_dir=.
10670 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
10671 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10672
    ac_cv_prog_ac_ct_STRIP="strip"
10673 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10674 90 jeremybenn
    break 2
10675
  fi
10676
done
10677 234 jeremybenn
done
10678 90 jeremybenn
IFS=$as_save_IFS
10679
 
10680
fi
10681
fi
10682
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
10683
if test -n "$ac_ct_STRIP"; then
10684 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
10685 90 jeremybenn
$as_echo "$ac_ct_STRIP" >&6; }
10686
else
10687 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
10688 90 jeremybenn
$as_echo "no" >&6; }
10689
fi
10690
 
10691
  if test "x$ac_ct_STRIP" = x; then
10692
    STRIP=":"
10693
  else
10694
    case $cross_compiling:$ac_tool_warned in
10695
yes:)
10696 234 jeremybenn
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
10697 90 jeremybenn
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10698
ac_tool_warned=yes ;;
10699
esac
10700
    STRIP=$ac_ct_STRIP
10701
  fi
10702
else
10703
  STRIP="$ac_cv_prog_STRIP"
10704
fi
10705
 
10706
fi
10707
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10708
 
10709 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
10710 90 jeremybenn
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
10711
if test -z "$MKDIR_P"; then
10712 234 jeremybenn
  if test "${ac_cv_path_mkdir+set}" = set; then
10713 90 jeremybenn
  $as_echo_n "(cached) " >&6
10714
else
10715
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10716
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
10717
do
10718
  IFS=$as_save_IFS
10719
  test -z "$as_dir" && as_dir=.
10720 234 jeremybenn
  for ac_prog in mkdir gmkdir; do
10721 90 jeremybenn
         for ac_exec_ext in '' $ac_executable_extensions; do
10722
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
10723
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
10724
             'mkdir (GNU coreutils) '* | \
10725
             'mkdir (coreutils) '* | \
10726
             'mkdir (fileutils) '4.1*)
10727
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
10728
               break 3;;
10729
           esac
10730
         done
10731
       done
10732 234 jeremybenn
done
10733 90 jeremybenn
IFS=$as_save_IFS
10734
 
10735
fi
10736
 
10737
  if test "${ac_cv_path_mkdir+set}" = set; then
10738
    MKDIR_P="$ac_cv_path_mkdir -p"
10739
  else
10740
    # As a last resort, use the slow shell script.  Don't cache a
10741
    # value for MKDIR_P within a source directory, because that will
10742
    # break other packages using the cache if that directory is
10743
    # removed, or if the value is a relative name.
10744 121 jeremybenn
    test -d ./--version && rmdir ./--version
10745 90 jeremybenn
    MKDIR_P="$ac_install_sh -d"
10746
  fi
10747
fi
10748 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
10749 90 jeremybenn
$as_echo "$MKDIR_P" >&6; }
10750
 
10751
mkdir_p="$MKDIR_P"
10752
case $mkdir_p in
10753
  [\\/$]* | ?:[\\/]*) ;;
10754
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
10755
esac
10756
 
10757
for ac_prog in gawk mawk nawk awk
10758
do
10759
  # Extract the first word of "$ac_prog", so it can be a program name with args.
10760
set dummy $ac_prog; ac_word=$2
10761 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10762 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
10763 234 jeremybenn
if test "${ac_cv_prog_AWK+set}" = set; then
10764 90 jeremybenn
  $as_echo_n "(cached) " >&6
10765
else
10766
  if test -n "$AWK"; then
10767
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
10768
else
10769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10770
for as_dir in $PATH
10771
do
10772
  IFS=$as_save_IFS
10773
  test -z "$as_dir" && as_dir=.
10774 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
10775 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10776
    ac_cv_prog_AWK="$ac_prog"
10777 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10778 90 jeremybenn
    break 2
10779
  fi
10780
done
10781 234 jeremybenn
done
10782 90 jeremybenn
IFS=$as_save_IFS
10783
 
10784
fi
10785
fi
10786
AWK=$ac_cv_prog_AWK
10787
if test -n "$AWK"; then
10788 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
10789 90 jeremybenn
$as_echo "$AWK" >&6; }
10790
else
10791 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
10792 90 jeremybenn
$as_echo "no" >&6; }
10793
fi
10794
 
10795
 
10796
  test -n "$AWK" && break
10797
done
10798
 
10799 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10800 90 jeremybenn
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
10801
set x ${MAKE-make}
10802
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
10803 234 jeremybenn
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
10804 90 jeremybenn
  $as_echo_n "(cached) " >&6
10805
else
10806
  cat >conftest.make <<\_ACEOF
10807
SHELL = /bin/sh
10808
all:
10809
        @echo '@@@%%%=$(MAKE)=@@@%%%'
10810
_ACEOF
10811
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10812
case `${MAKE-make} -f conftest.make 2>/dev/null` in
10813
  *@@@%%%=?*=@@@%%%*)
10814
    eval ac_cv_prog_make_${ac_make}_set=yes;;
10815
  *)
10816
    eval ac_cv_prog_make_${ac_make}_set=no;;
10817
esac
10818
rm -f conftest.make
10819
fi
10820
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
10821 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: yes" >&5
10822 90 jeremybenn
$as_echo "yes" >&6; }
10823
  SET_MAKE=
10824
else
10825 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
10826 90 jeremybenn
$as_echo "no" >&6; }
10827
  SET_MAKE="MAKE=${MAKE-make}"
10828
fi
10829
 
10830
rm -rf .tst 2>/dev/null
10831
mkdir .tst 2>/dev/null
10832
if test -d .tst; then
10833
  am__leading_dot=.
10834
else
10835
  am__leading_dot=_
10836
fi
10837
rmdir .tst 2>/dev/null
10838
 
10839
DEPDIR="${am__leading_dot}deps"
10840
 
10841
ac_config_commands="$ac_config_commands depfiles"
10842
 
10843
 
10844
am_make=${MAKE-make}
10845
cat > confinc << 'END'
10846
am__doit:
10847
        @echo this is the am__doit target
10848
.PHONY: am__doit
10849
END
10850
# If we don't find an include directive, just comment out the code.
10851 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
10852 90 jeremybenn
$as_echo_n "checking for style of include used by $am_make... " >&6; }
10853
am__include="#"
10854
am__quote=
10855
_am_result=none
10856
# First try GNU make style include.
10857
echo "include confinc" > confmf
10858
# Ignore all kinds of additional output from `make'.
10859
case `$am_make -s -f confmf 2> /dev/null` in #(
10860
*the\ am__doit\ target*)
10861
  am__include=include
10862
  am__quote=
10863
  _am_result=GNU
10864
  ;;
10865
esac
10866
# Now try BSD make style include.
10867
if test "$am__include" = "#"; then
10868
   echo '.include "confinc"' > confmf
10869
   case `$am_make -s -f confmf 2> /dev/null` in #(
10870
   *the\ am__doit\ target*)
10871
     am__include=.include
10872
     am__quote="\""
10873
     _am_result=BSD
10874
     ;;
10875
   esac
10876
fi
10877
 
10878
 
10879 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
10880 90 jeremybenn
$as_echo "$_am_result" >&6; }
10881
rm -f confinc confmf
10882
 
10883
# Check whether --enable-dependency-tracking was given.
10884 234 jeremybenn
if test "${enable_dependency_tracking+set}" = set; then
10885 90 jeremybenn
  enableval=$enable_dependency_tracking;
10886
fi
10887
 
10888
if test "x$enable_dependency_tracking" != xno; then
10889
  am_depcomp="$ac_aux_dir/depcomp"
10890
  AMDEPBACKSLASH='\'
10891
fi
10892
 if test "x$enable_dependency_tracking" != xno; then
10893
  AMDEP_TRUE=
10894
  AMDEP_FALSE='#'
10895
else
10896
  AMDEP_TRUE='#'
10897
  AMDEP_FALSE=
10898
fi
10899
 
10900
 
10901
if test "`cd $srcdir && pwd`" != "`pwd`"; then
10902
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
10903
  # is not polluted with repeated "-I."
10904
  am__isrc=' -I$(srcdir)'
10905
  # test to see if srcdir already configured
10906
  if test -f $srcdir/config.status; then
10907 234 jeremybenn
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
10908
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
10909
   { (exit 1); exit 1; }; }
10910 90 jeremybenn
  fi
10911
fi
10912
 
10913
# test whether we have cygpath
10914
if test -z "$CYGPATH_W"; then
10915
  if (cygpath --version) >/dev/null 2>/dev/null; then
10916
    CYGPATH_W='cygpath -w'
10917
  else
10918
    CYGPATH_W=echo
10919
  fi
10920
fi
10921
 
10922
 
10923
# Define the identity of the package.
10924
 PACKAGE='or1ksim-testsuite'
10925 234 jeremybenn
 VERSION='2010-08-03'
10926 90 jeremybenn
 
10927
 
10928
cat >>confdefs.h <<_ACEOF
10929
#define PACKAGE "$PACKAGE"
10930
_ACEOF
10931
 
10932
 
10933
cat >>confdefs.h <<_ACEOF
10934
#define VERSION "$VERSION"
10935
_ACEOF
10936
 
10937
# Some tools Automake needs.
10938
 
10939
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
10940
 
10941
 
10942
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
10943
 
10944
 
10945
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
10946
 
10947
 
10948
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
10949
 
10950
 
10951
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
10952
 
10953
# We need awk for the "check" target.  The system "awk" is bad on
10954
# some platforms.
10955
# Always define AMTAR for backward compatibility.
10956
 
10957
AMTAR=${AMTAR-"${am_missing_run}tar"}
10958
 
10959
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
10960
 
10961
 
10962
 
10963
 
10964
depcc="$CC"   am_compiler_list=
10965
 
10966 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10967 90 jeremybenn
$as_echo_n "checking dependency style of $depcc... " >&6; }
10968 234 jeremybenn
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
10969 90 jeremybenn
  $as_echo_n "(cached) " >&6
10970
else
10971
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10972
  # We make a subdir and do the tests there.  Otherwise we can end up
10973
  # making bogus files that we don't know about and never remove.  For
10974
  # instance it was reported that on HP-UX the gcc test will end up
10975
  # making a dummy file named `D' -- because `-MD' means `put the output
10976
  # in D'.
10977
  mkdir conftest.dir
10978
  # Copy depcomp to subdir because otherwise we won't find it if we're
10979
  # using a relative directory.
10980
  cp "$am_depcomp" conftest.dir
10981
  cd conftest.dir
10982
  # We will build objects and dependencies in a subdirectory because
10983
  # it helps to detect inapplicable dependency modes.  For instance
10984
  # both Tru64's cc and ICC support -MD to output dependencies as a
10985
  # side effect of compilation, but ICC will put the dependencies in
10986
  # the current directory while Tru64 will put them in the object
10987
  # directory.
10988
  mkdir sub
10989
 
10990
  am_cv_CC_dependencies_compiler_type=none
10991
  if test "$am_compiler_list" = ""; then
10992
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10993
  fi
10994
  am__universal=false
10995
  case " $depcc " in #(
10996
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
10997
     esac
10998
 
10999
  for depmode in $am_compiler_list; do
11000
    # Setup a source with many dependencies, because some compilers
11001
    # like to wrap large dependency lists on column 80 (with \), and
11002
    # we should not choose a depcomp mode which is confused by this.
11003
    #
11004
    # We need to recreate these files for each test, as the compiler may
11005
    # overwrite some of them when testing with obscure command lines.
11006
    # This happens at least with the AIX C compiler.
11007
    : > sub/conftest.c
11008
    for i in 1 2 3 4 5 6; do
11009
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
11010
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11011
      # Solaris 8's {/usr,}/bin/sh.
11012
      touch sub/conftst$i.h
11013
    done
11014
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11015
 
11016
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
11017
    # mode.  It turns out that the SunPro C++ compiler does not properly
11018
    # handle `-M -o', and we need to detect this.  Also, some Intel
11019
    # versions had trouble with output in subdirs
11020
    am__obj=sub/conftest.${OBJEXT-o}
11021
    am__minus_obj="-o $am__obj"
11022
    case $depmode in
11023
    gcc)
11024
      # This depmode causes a compiler race in universal mode.
11025
      test "$am__universal" = false || continue
11026
      ;;
11027
    nosideeffect)
11028
      # after this tag, mechanisms are not by side-effect, so they'll
11029
      # only be used when explicitly requested
11030
      if test "x$enable_dependency_tracking" = xyes; then
11031
        continue
11032
      else
11033
        break
11034
      fi
11035
      ;;
11036
    msvisualcpp | msvcmsys)
11037
      # This compiler won't grok `-c -o', but also, the minuso test has
11038
      # not run yet.  These depmodes are late enough in the game, and
11039
      # so weak that their functioning should not be impacted.
11040
      am__obj=conftest.${OBJEXT-o}
11041
      am__minus_obj=
11042
      ;;
11043
    none) break ;;
11044
    esac
11045
    if depmode=$depmode \
11046
       source=sub/conftest.c object=$am__obj \
11047
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11048
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11049
         >/dev/null 2>conftest.err &&
11050
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11051
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11052
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11053
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11054
      # icc doesn't choke on unknown options, it will just issue warnings
11055
      # or remarks (even with -Werror).  So we grep stderr for any message
11056
      # that says an option was ignored or not supported.
11057
      # When given -MP, icc 7.0 and 7.1 complain thusly:
11058
      #   icc: Command line warning: ignoring option '-M'; no argument required
11059
      # The diagnosis changed in icc 8.0:
11060
      #   icc: Command line remark: option '-MP' not supported
11061
      if (grep 'ignoring option' conftest.err ||
11062
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11063
        am_cv_CC_dependencies_compiler_type=$depmode
11064
        break
11065
      fi
11066
    fi
11067
  done
11068
 
11069
  cd ..
11070
  rm -rf conftest.dir
11071
else
11072
  am_cv_CC_dependencies_compiler_type=none
11073
fi
11074
 
11075
fi
11076 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
11077 90 jeremybenn
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11078
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11079
 
11080
 if
11081
  test "x$enable_dependency_tracking" != xno \
11082
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11083
  am__fastdepCC_TRUE=
11084
  am__fastdepCC_FALSE='#'
11085
else
11086
  am__fastdepCC_TRUE='#'
11087
  am__fastdepCC_FALSE=
11088
fi
11089
 
11090
 
11091
 
11092
ac_config_headers="$ac_config_headers config.h"
11093
 
11094
 
11095
# make sure we are using a recent autoconf version
11096
 
11097
 
11098
# check for --enable-all-tests argument, in which case we attempt to build all
11099
# tests, even those that do not compile properly.
11100
# Check whether --enable-all-tests was given.
11101 234 jeremybenn
if test "${enable_all_tests+set}" = set; then
11102 90 jeremybenn
  enableval=$enable_all_tests; all_tests=true all_tests=false
11103
fi
11104
 
11105
 if test x$all_tests = xtrue; then
11106
  BUILD_ALL_TESTS_TRUE=
11107
  BUILD_ALL_TESTS_FALSE='#'
11108
else
11109
  BUILD_ALL_TESTS_TRUE='#'
11110
  BUILD_ALL_TESTS_FALSE=
11111
fi
11112
 
11113
 
11114
# Sort out the tools. Using the target tool chain here, not native. Note that
11115
# AC_CHECK_PROGS will not override an already set variable, so we must
11116
# explicitly unset them first.
11117
unset CC
11118
unset RANLIB
11119
unset LD
11120
unset SIM
11121
for ac_prog in $target_alias-gcc
11122
do
11123
  # Extract the first word of "$ac_prog", so it can be a program name with args.
11124
set dummy $ac_prog; ac_word=$2
11125 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11126 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
11127 234 jeremybenn
if test "${ac_cv_prog_CC+set}" = set; then
11128 90 jeremybenn
  $as_echo_n "(cached) " >&6
11129
else
11130
  if test -n "$CC"; then
11131
  ac_cv_prog_CC="$CC" # Let the user override the test.
11132
else
11133
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11134
for as_dir in $PATH
11135
do
11136
  IFS=$as_save_IFS
11137
  test -z "$as_dir" && as_dir=.
11138 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
11139 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11140
    ac_cv_prog_CC="$ac_prog"
11141 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11142 90 jeremybenn
    break 2
11143
  fi
11144
done
11145 234 jeremybenn
done
11146 90 jeremybenn
IFS=$as_save_IFS
11147
 
11148
fi
11149
fi
11150
CC=$ac_cv_prog_CC
11151
if test -n "$CC"; then
11152 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
11153 90 jeremybenn
$as_echo "$CC" >&6; }
11154
else
11155 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
11156 90 jeremybenn
$as_echo "no" >&6; }
11157
fi
11158
 
11159
 
11160
  test -n "$CC" && break
11161
done
11162
 
11163
for ac_prog in $target_alias-ranlib
11164
do
11165
  # Extract the first word of "$ac_prog", so it can be a program name with args.
11166
set dummy $ac_prog; ac_word=$2
11167 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11168 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
11169 234 jeremybenn
if test "${ac_cv_prog_RANLIB+set}" = set; then
11170 90 jeremybenn
  $as_echo_n "(cached) " >&6
11171
else
11172
  if test -n "$RANLIB"; then
11173
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11174
else
11175
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11176
for as_dir in $PATH
11177
do
11178
  IFS=$as_save_IFS
11179
  test -z "$as_dir" && as_dir=.
11180 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
11181 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11182
    ac_cv_prog_RANLIB="$ac_prog"
11183 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11184 90 jeremybenn
    break 2
11185
  fi
11186
done
11187 234 jeremybenn
done
11188 90 jeremybenn
IFS=$as_save_IFS
11189
 
11190
fi
11191
fi
11192
RANLIB=$ac_cv_prog_RANLIB
11193
if test -n "$RANLIB"; then
11194 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
11195 90 jeremybenn
$as_echo "$RANLIB" >&6; }
11196
else
11197 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
11198 90 jeremybenn
$as_echo "no" >&6; }
11199
fi
11200
 
11201
 
11202
  test -n "$RANLIB" && break
11203
done
11204
 
11205
for ac_prog in $target_alias-ld
11206
do
11207
  # Extract the first word of "$ac_prog", so it can be a program name with args.
11208
set dummy $ac_prog; ac_word=$2
11209 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11210 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
11211 234 jeremybenn
if test "${ac_cv_prog_LD+set}" = set; then
11212 90 jeremybenn
  $as_echo_n "(cached) " >&6
11213
else
11214
  if test -n "$LD"; then
11215
  ac_cv_prog_LD="$LD" # Let the user override the test.
11216
else
11217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11218
for as_dir in $PATH
11219
do
11220
  IFS=$as_save_IFS
11221
  test -z "$as_dir" && as_dir=.
11222 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
11223 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11224
    ac_cv_prog_LD="$ac_prog"
11225 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11226 90 jeremybenn
    break 2
11227
  fi
11228
done
11229 234 jeremybenn
done
11230 90 jeremybenn
IFS=$as_save_IFS
11231
 
11232
fi
11233
fi
11234
LD=$ac_cv_prog_LD
11235
if test -n "$LD"; then
11236 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
11237 90 jeremybenn
$as_echo "$LD" >&6; }
11238
else
11239 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
11240 90 jeremybenn
$as_echo "no" >&6; }
11241
fi
11242
 
11243
 
11244
  test -n "$LD" && break
11245
done
11246
 
11247
for ac_prog in $target_alias-sim
11248
do
11249
  # Extract the first word of "$ac_prog", so it can be a program name with args.
11250
set dummy $ac_prog; ac_word=$2
11251 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11252 90 jeremybenn
$as_echo_n "checking for $ac_word... " >&6; }
11253 234 jeremybenn
if test "${ac_cv_prog_SIM+set}" = set; then
11254 90 jeremybenn
  $as_echo_n "(cached) " >&6
11255
else
11256
  if test -n "$SIM"; then
11257
  ac_cv_prog_SIM="$SIM" # Let the user override the test.
11258
else
11259
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11260
for as_dir in $PATH
11261
do
11262
  IFS=$as_save_IFS
11263
  test -z "$as_dir" && as_dir=.
11264 234 jeremybenn
  for ac_exec_ext in '' $ac_executable_extensions; do
11265 90 jeremybenn
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11266
    ac_cv_prog_SIM="$ac_prog"
11267 234 jeremybenn
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11268 90 jeremybenn
    break 2
11269
  fi
11270
done
11271 234 jeremybenn
done
11272 90 jeremybenn
IFS=$as_save_IFS
11273
 
11274
fi
11275
fi
11276
SIM=$ac_cv_prog_SIM
11277
if test -n "$SIM"; then
11278 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: $SIM" >&5
11279 90 jeremybenn
$as_echo "$SIM" >&6; }
11280
else
11281 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
11282 90 jeremybenn
$as_echo "no" >&6; }
11283
fi
11284
 
11285
 
11286
  test -n "$SIM" && break
11287
done
11288
 
11289
 
11290
 
11291
 
11292
 
11293
 
11294 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11295 90 jeremybenn
$as_echo_n "checking for ANSI C header files... " >&6; }
11296 234 jeremybenn
if test "${ac_cv_header_stdc+set}" = set; then
11297 90 jeremybenn
  $as_echo_n "(cached) " >&6
11298
else
11299 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
11300
/* confdefs.h.  */
11301
_ACEOF
11302
cat confdefs.h >>conftest.$ac_ext
11303
cat >>conftest.$ac_ext <<_ACEOF
11304 90 jeremybenn
/* end confdefs.h.  */
11305
#include 
11306
#include 
11307
#include 
11308
#include 
11309
 
11310
int
11311
main ()
11312
{
11313
 
11314
  ;
11315
  return 0;
11316
}
11317
_ACEOF
11318 234 jeremybenn
rm -f conftest.$ac_objext
11319
if { (ac_try="$ac_compile"
11320
case "(($ac_try" in
11321
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11322
  *) ac_try_echo=$ac_try;;
11323
esac
11324
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11325
$as_echo "$ac_try_echo") >&5
11326
  (eval "$ac_compile") 2>conftest.er1
11327
  ac_status=$?
11328
  grep -v '^ *+' conftest.er1 >conftest.err
11329
  rm -f conftest.er1
11330
  cat conftest.err >&5
11331
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332
  (exit $ac_status); } && {
11333
         test -z "$ac_c_werror_flag" ||
11334
         test ! -s conftest.err
11335
       } && test -s conftest.$ac_objext; then
11336 90 jeremybenn
  ac_cv_header_stdc=yes
11337
else
11338 234 jeremybenn
  $as_echo "$as_me: failed program was:" >&5
11339
sed 's/^/| /' conftest.$ac_ext >&5
11340
 
11341
        ac_cv_header_stdc=no
11342 90 jeremybenn
fi
11343 234 jeremybenn
 
11344 90 jeremybenn
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11345
 
11346
if test $ac_cv_header_stdc = yes; then
11347
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11348 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
11349
/* confdefs.h.  */
11350
_ACEOF
11351
cat confdefs.h >>conftest.$ac_ext
11352
cat >>conftest.$ac_ext <<_ACEOF
11353 90 jeremybenn
/* end confdefs.h.  */
11354
#include 
11355
 
11356
_ACEOF
11357
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11358 234 jeremybenn
  $EGREP "memchr" >/dev/null 2>&1; then
11359
  :
11360 90 jeremybenn
else
11361
  ac_cv_header_stdc=no
11362
fi
11363
rm -f conftest*
11364
 
11365
fi
11366
 
11367
if test $ac_cv_header_stdc = yes; then
11368
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11369 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
11370
/* confdefs.h.  */
11371
_ACEOF
11372
cat confdefs.h >>conftest.$ac_ext
11373
cat >>conftest.$ac_ext <<_ACEOF
11374 90 jeremybenn
/* end confdefs.h.  */
11375
#include 
11376
 
11377
_ACEOF
11378
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11379 234 jeremybenn
  $EGREP "free" >/dev/null 2>&1; then
11380
  :
11381 90 jeremybenn
else
11382
  ac_cv_header_stdc=no
11383
fi
11384
rm -f conftest*
11385
 
11386
fi
11387
 
11388
if test $ac_cv_header_stdc = yes; then
11389
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11390 234 jeremybenn
  if test "$cross_compiling" = yes; then
11391 90 jeremybenn
  :
11392
else
11393 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
11394
/* confdefs.h.  */
11395
_ACEOF
11396
cat confdefs.h >>conftest.$ac_ext
11397
cat >>conftest.$ac_ext <<_ACEOF
11398 90 jeremybenn
/* end confdefs.h.  */
11399
#include 
11400
#include 
11401
#if ((' ' & 0x0FF) == 0x020)
11402
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11403
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11404
#else
11405
# define ISLOWER(c) \
11406
                   (('a' <= (c) && (c) <= 'i') \
11407
                     || ('j' <= (c) && (c) <= 'r') \
11408
                     || ('s' <= (c) && (c) <= 'z'))
11409
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11410
#endif
11411
 
11412
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11413
int
11414
main ()
11415
{
11416
  int i;
11417
  for (i = 0; i < 256; i++)
11418
    if (XOR (islower (i), ISLOWER (i))
11419
        || toupper (i) != TOUPPER (i))
11420
      return 2;
11421
  return 0;
11422
}
11423
_ACEOF
11424 234 jeremybenn
rm -f conftest$ac_exeext
11425
if { (ac_try="$ac_link"
11426
case "(($ac_try" in
11427
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11428
  *) ac_try_echo=$ac_try;;
11429
esac
11430
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11431
$as_echo "$ac_try_echo") >&5
11432
  (eval "$ac_link") 2>&5
11433
  ac_status=$?
11434
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11436
  { (case "(($ac_try" in
11437
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11438
  *) ac_try_echo=$ac_try;;
11439
esac
11440
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11441
$as_echo "$ac_try_echo") >&5
11442
  (eval "$ac_try") 2>&5
11443
  ac_status=$?
11444
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445
  (exit $ac_status); }; }; then
11446
  :
11447
else
11448
  $as_echo "$as_me: program exited with status $ac_status" >&5
11449
$as_echo "$as_me: failed program was:" >&5
11450
sed 's/^/| /' conftest.$ac_ext >&5
11451 233 julius
 
11452 234 jeremybenn
( exit $ac_status )
11453
ac_cv_header_stdc=no
11454 90 jeremybenn
fi
11455 234 jeremybenn
rm -rf conftest.dSYM
11456
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11457 90 jeremybenn
fi
11458
 
11459 234 jeremybenn
 
11460 90 jeremybenn
fi
11461
fi
11462 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11463 90 jeremybenn
$as_echo "$ac_cv_header_stdc" >&6; }
11464
if test $ac_cv_header_stdc = yes; then
11465
 
11466 234 jeremybenn
cat >>confdefs.h <<\_ACEOF
11467
#define STDC_HEADERS 1
11468
_ACEOF
11469 90 jeremybenn
 
11470
fi
11471
 
11472
 
11473
# We need assembler, installer and per target C flags
11474
 
11475
# By default we simply use the C compiler to build assembly code.
11476
 
11477
test "${CCAS+set}" = set || CCAS=$CC
11478
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
11479
 
11480
 
11481
 
11482
depcc="$CCAS"   am_compiler_list=
11483
 
11484 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11485 90 jeremybenn
$as_echo_n "checking dependency style of $depcc... " >&6; }
11486 234 jeremybenn
if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
11487 90 jeremybenn
  $as_echo_n "(cached) " >&6
11488
else
11489
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11490
  # We make a subdir and do the tests there.  Otherwise we can end up
11491
  # making bogus files that we don't know about and never remove.  For
11492
  # instance it was reported that on HP-UX the gcc test will end up
11493
  # making a dummy file named `D' -- because `-MD' means `put the output
11494
  # in D'.
11495
  mkdir conftest.dir
11496
  # Copy depcomp to subdir because otherwise we won't find it if we're
11497
  # using a relative directory.
11498
  cp "$am_depcomp" conftest.dir
11499
  cd conftest.dir
11500
  # We will build objects and dependencies in a subdirectory because
11501
  # it helps to detect inapplicable dependency modes.  For instance
11502
  # both Tru64's cc and ICC support -MD to output dependencies as a
11503
  # side effect of compilation, but ICC will put the dependencies in
11504
  # the current directory while Tru64 will put them in the object
11505
  # directory.
11506
  mkdir sub
11507
 
11508
  am_cv_CCAS_dependencies_compiler_type=none
11509
  if test "$am_compiler_list" = ""; then
11510
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11511
  fi
11512
  am__universal=false
11513
 
11514
 
11515
  for depmode in $am_compiler_list; do
11516
    # Setup a source with many dependencies, because some compilers
11517
    # like to wrap large dependency lists on column 80 (with \), and
11518
    # we should not choose a depcomp mode which is confused by this.
11519
    #
11520
    # We need to recreate these files for each test, as the compiler may
11521
    # overwrite some of them when testing with obscure command lines.
11522
    # This happens at least with the AIX C compiler.
11523
    : > sub/conftest.c
11524
    for i in 1 2 3 4 5 6; do
11525
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
11526
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11527
      # Solaris 8's {/usr,}/bin/sh.
11528
      touch sub/conftst$i.h
11529
    done
11530
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11531
 
11532
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
11533
    # mode.  It turns out that the SunPro C++ compiler does not properly
11534
    # handle `-M -o', and we need to detect this.  Also, some Intel
11535
    # versions had trouble with output in subdirs
11536
    am__obj=sub/conftest.${OBJEXT-o}
11537
    am__minus_obj="-o $am__obj"
11538
    case $depmode in
11539
    gcc)
11540
      # This depmode causes a compiler race in universal mode.
11541
      test "$am__universal" = false || continue
11542
      ;;
11543
    nosideeffect)
11544
      # after this tag, mechanisms are not by side-effect, so they'll
11545
      # only be used when explicitly requested
11546
      if test "x$enable_dependency_tracking" = xyes; then
11547
        continue
11548
      else
11549
        break
11550
      fi
11551
      ;;
11552
    msvisualcpp | msvcmsys)
11553
      # This compiler won't grok `-c -o', but also, the minuso test has
11554
      # not run yet.  These depmodes are late enough in the game, and
11555
      # so weak that their functioning should not be impacted.
11556
      am__obj=conftest.${OBJEXT-o}
11557
      am__minus_obj=
11558
      ;;
11559
    none) break ;;
11560
    esac
11561
    if depmode=$depmode \
11562
       source=sub/conftest.c object=$am__obj \
11563
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11564
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11565
         >/dev/null 2>conftest.err &&
11566
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11567
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11568
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11569
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11570
      # icc doesn't choke on unknown options, it will just issue warnings
11571
      # or remarks (even with -Werror).  So we grep stderr for any message
11572
      # that says an option was ignored or not supported.
11573
      # When given -MP, icc 7.0 and 7.1 complain thusly:
11574
      #   icc: Command line warning: ignoring option '-M'; no argument required
11575
      # The diagnosis changed in icc 8.0:
11576
      #   icc: Command line remark: option '-MP' not supported
11577
      if (grep 'ignoring option' conftest.err ||
11578
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11579
        am_cv_CCAS_dependencies_compiler_type=$depmode
11580
        break
11581
      fi
11582
    fi
11583
  done
11584
 
11585
  cd ..
11586
  rm -rf conftest.dir
11587
else
11588
  am_cv_CCAS_dependencies_compiler_type=none
11589
fi
11590
 
11591
fi
11592 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
11593 90 jeremybenn
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
11594
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
11595
 
11596
 if
11597
  test "x$enable_dependency_tracking" != xno \
11598
  && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
11599
  am__fastdepCCAS_TRUE=
11600
  am__fastdepCCAS_FALSE='#'
11601
else
11602
  am__fastdepCCAS_TRUE='#'
11603
  am__fastdepCCAS_FALSE=
11604
fi
11605
 
11606
 
11607
if test "x$CC" != xcc; then
11608 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11609 90 jeremybenn
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11610
else
11611 234 jeremybenn
  { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11612 90 jeremybenn
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11613
fi
11614
set dummy $CC; ac_cc=`$as_echo "$2" |
11615
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11616 234 jeremybenn
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
11617 90 jeremybenn
  $as_echo_n "(cached) " >&6
11618
else
11619 234 jeremybenn
  cat >conftest.$ac_ext <<_ACEOF
11620
/* confdefs.h.  */
11621
_ACEOF
11622
cat confdefs.h >>conftest.$ac_ext
11623
cat >>conftest.$ac_ext <<_ACEOF
11624 90 jeremybenn
/* end confdefs.h.  */
11625
 
11626
int
11627
main ()
11628
{
11629
 
11630
  ;
11631
  return 0;
11632
}
11633
_ACEOF
11634
# Make sure it works both with $CC and with simple cc.
11635
# We do the test twice because some compilers refuse to overwrite an
11636
# existing .o file with -o, though they will create one.
11637
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11638
rm -f conftest2.*
11639 234 jeremybenn
if { (case "(($ac_try" in
11640 90 jeremybenn
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11641
  *) ac_try_echo=$ac_try;;
11642
esac
11643 234 jeremybenn
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11644
$as_echo "$ac_try_echo") >&5
11645 90 jeremybenn
  (eval "$ac_try") 2>&5
11646
  ac_status=$?
11647 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648
  (exit $ac_status); } &&
11649
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
11650 90 jeremybenn
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11651
  *) ac_try_echo=$ac_try;;
11652
esac
11653 234 jeremybenn
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11654
$as_echo "$ac_try_echo") >&5
11655 90 jeremybenn
  (eval "$ac_try") 2>&5
11656
  ac_status=$?
11657 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11658
  (exit $ac_status); };
11659 90 jeremybenn
then
11660
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11661
  if test "x$CC" != xcc; then
11662
    # Test first that cc exists at all.
11663
    if { ac_try='cc -c conftest.$ac_ext >&5'
11664 234 jeremybenn
  { (case "(($ac_try" in
11665 90 jeremybenn
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11666
  *) ac_try_echo=$ac_try;;
11667
esac
11668 234 jeremybenn
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11669
$as_echo "$ac_try_echo") >&5
11670 90 jeremybenn
  (eval "$ac_try") 2>&5
11671
  ac_status=$?
11672 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673
  (exit $ac_status); }; }; then
11674 90 jeremybenn
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11675
      rm -f conftest2.*
11676 234 jeremybenn
      if { (case "(($ac_try" in
11677 90 jeremybenn
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11678
  *) ac_try_echo=$ac_try;;
11679
esac
11680 234 jeremybenn
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11681
$as_echo "$ac_try_echo") >&5
11682 90 jeremybenn
  (eval "$ac_try") 2>&5
11683
  ac_status=$?
11684 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685
  (exit $ac_status); } &&
11686
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
11687 90 jeremybenn
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11688
  *) ac_try_echo=$ac_try;;
11689
esac
11690 234 jeremybenn
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11691
$as_echo "$ac_try_echo") >&5
11692 90 jeremybenn
  (eval "$ac_try") 2>&5
11693
  ac_status=$?
11694 234 jeremybenn
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11695
  (exit $ac_status); };
11696 90 jeremybenn
      then
11697
        # cc works too.
11698
        :
11699
      else
11700
        # cc exists but doesn't like -o.
11701
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
11702
      fi
11703
    fi
11704
  fi
11705
else
11706
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
11707
fi
11708
rm -f core conftest*
11709
 
11710
fi
11711
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11712 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: yes" >&5
11713 90 jeremybenn
$as_echo "yes" >&6; }
11714
else
11715 234 jeremybenn
  { $as_echo "$as_me:$LINENO: result: no" >&5
11716 90 jeremybenn
$as_echo "no" >&6; }
11717
 
11718 234 jeremybenn
cat >>confdefs.h <<\_ACEOF
11719
#define NO_MINUS_C_MINUS_O 1
11720
_ACEOF
11721 90 jeremybenn
 
11722
fi
11723
 
11724
# FIXME: we rely on the cache variable name because
11725
# there is no other way.
11726
set dummy $CC
11727
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11728
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11729
if test "$am_t" != yes; then
11730
   # Losing compiler, so override with the script.
11731
   # FIXME: It is wrong to rewrite CC.
11732
   # But if we don't then we get into trouble of one sort or another.
11733
   # A longer-term fix would be to have automake use am__CC in this case,
11734
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11735
   CC="$am_aux_dir/compile $CC"
11736
fi
11737
 
11738
 
11739 234 jeremybenn
# Find a good install program.  We prefer a C program (faster),
11740
# so one script is as good as another.  But avoid the broken or
11741
# incompatible versions:
11742
# SysV /etc/install, /usr/sbin/install
11743
# SunOS /usr/etc/install
11744
# IRIX /sbin/install
11745
# AIX /bin/install
11746
# AmigaOS /C/install, which installs bootblocks on floppy discs
11747
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11748
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
11749
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11750
# OS/2's system install, which has a completely different semantic
11751
# ./install, which can be erroneously created by make from ./install.sh.
11752
# Reject install programs that cannot install multiple files.
11753
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11754
$as_echo_n "checking for a BSD-compatible install... " >&6; }
11755
if test -z "$INSTALL"; then
11756
if test "${ac_cv_path_install+set}" = set; then
11757
  $as_echo_n "(cached) " >&6
11758
else
11759
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11760
for as_dir in $PATH
11761
do
11762
  IFS=$as_save_IFS
11763
  test -z "$as_dir" && as_dir=.
11764
  # Account for people who put trailing slashes in PATH elements.
11765
case $as_dir/ in
11766
  ./ | .// | /cC/* | \
11767
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11768
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
11769
  /usr/ucb/* ) ;;
11770
  *)
11771
    # OSF1 and SCO ODT 3.0 have their own names for install.
11772
    # Don't use installbsd from OSF since it installs stuff as root
11773
    # by default.
11774
    for ac_prog in ginstall scoinst install; do
11775
      for ac_exec_ext in '' $ac_executable_extensions; do
11776
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
11777
          if test $ac_prog = install &&
11778
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11779
            # AIX install.  It has an incompatible calling convention.
11780
            :
11781
          elif test $ac_prog = install &&
11782
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11783
            # program-specific install script used by HP pwplus--don't use.
11784
            :
11785
          else
11786
            rm -rf conftest.one conftest.two conftest.dir
11787
            echo one > conftest.one
11788
            echo two > conftest.two
11789
            mkdir conftest.dir
11790
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
11791
              test -s conftest.one && test -s conftest.two &&
11792
              test -s conftest.dir/conftest.one &&
11793
              test -s conftest.dir/conftest.two
11794
            then
11795
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11796
              break 3
11797
            fi
11798
          fi
11799
        fi
11800
      done
11801
    done
11802
    ;;
11803
esac
11804 90 jeremybenn
 
11805 234 jeremybenn
done
11806
IFS=$as_save_IFS
11807 90 jeremybenn
 
11808 234 jeremybenn
rm -rf conftest.one conftest.two conftest.dir
11809
 
11810
fi
11811
  if test "${ac_cv_path_install+set}" = set; then
11812
    INSTALL=$ac_cv_path_install
11813
  else
11814
    # As a last resort, use the slow shell script.  Don't cache a
11815
    # value for INSTALL within a source directory, because that will
11816
    # break other packages using the cache if that directory is
11817
    # removed, or if the value is a relative name.
11818
    INSTALL=$ac_install_sh
11819
  fi
11820
fi
11821
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
11822
$as_echo "$INSTALL" >&6; }
11823
 
11824
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11825
# It thinks the first close brace ends the variable substitution.
11826
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11827
 
11828
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11829
 
11830
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11831
 
11832
 
11833 90 jeremybenn
# Specify our baseline CFLAGS
11834
CPPFLAGS="-I\${top_srcdir}/support -I\${top_srcdir}/mc-common"
11835
CFLAGS="-Wall -Werror -g -nostdlib -mhard-div -mhard-mul"
11836
 
11837
# Flag to specify whether we want optimization when checking
11838 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking whether to enable optimizations when checking" >&5
11839 90 jeremybenn
$as_echo_n "checking whether to enable optimizations when checking... " >&6; }
11840
# Check whether --enable-opt was given.
11841 234 jeremybenn
if test "${enable_opt+set}" = set; then
11842 90 jeremybenn
  enableval=$enable_opt;
11843
    case "$enableval" in
11844
        yes)
11845
            CFLAGS="$CFLAGS -O"
11846
            ;;
11847
        *)
11848
            CFLAGS="$CFLAGS -O$enableval"
11849
            ;;
11850
    esac
11851
 
11852
fi
11853
 
11854 234 jeremybenn
{ $as_echo "$as_me:$LINENO: result: ${enable_check_opt-default}" >&5
11855 90 jeremybenn
$as_echo "${enable_check_opt-default}" >&6; }
11856
 
11857
 
11858
 
11859
 
11860
# This is GNU compliant source and uses GNU libraries
11861
 
11862 234 jeremybenn
cat >>confdefs.h <<\_ACEOF
11863
#define _GNU_SOURCE 1
11864
_ACEOF
11865 90 jeremybenn
 
11866
 
11867
# Check for functions doesn't work, since we can't execute code. Define some
11868
# we know are definitely there in OR1K GCC. This is all to allow reused
11869
# headers from the main code body (for the memory controller tests
11870
# principally) to work.
11871
 
11872 234 jeremybenn
cat >>confdefs.h <<\_ACEOF
11873
#define HAVE_STRNDUP /**/
11874
_ACEOF
11875 90 jeremybenn
 
11876
 
11877 234 jeremybenn
cat >>confdefs.h <<\_ACEOF
11878
#define HAVE_ISBLANK /**/
11879
_ACEOF
11880 90 jeremybenn
 
11881
 
11882
# Check for headers
11883 234 jeremybenn
 
11884
 
11885 90 jeremybenn
for ac_header in sys/types.h inttypes.h
11886 234 jeremybenn
do
11887
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11888
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11889
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11890
$as_echo_n "checking for $ac_header... " >&6; }
11891
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11892
  $as_echo_n "(cached) " >&6
11893
fi
11894
ac_res=`eval 'as_val=${'$as_ac_Header'}
11895
                 $as_echo "$as_val"'`
11896
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11897
$as_echo "$ac_res" >&6; }
11898
else
11899
  # Is the header compilable?
11900
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11901
$as_echo_n "checking $ac_header usability... " >&6; }
11902
cat >conftest.$ac_ext <<_ACEOF
11903
/* confdefs.h.  */
11904
_ACEOF
11905
cat confdefs.h >>conftest.$ac_ext
11906
cat >>conftest.$ac_ext <<_ACEOF
11907
/* end confdefs.h.  */
11908
$ac_includes_default
11909
#include <$ac_header>
11910
_ACEOF
11911
rm -f conftest.$ac_objext
11912
if { (ac_try="$ac_compile"
11913
case "(($ac_try" in
11914
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11915
  *) ac_try_echo=$ac_try;;
11916
esac
11917
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11918
$as_echo "$ac_try_echo") >&5
11919
  (eval "$ac_compile") 2>conftest.er1
11920
  ac_status=$?
11921
  grep -v '^ *+' conftest.er1 >conftest.err
11922
  rm -f conftest.er1
11923
  cat conftest.err >&5
11924
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925
  (exit $ac_status); } && {
11926
         test -z "$ac_c_werror_flag" ||
11927
         test ! -s conftest.err
11928
       } && test -s conftest.$ac_objext; then
11929
  ac_header_compiler=yes
11930
else
11931
  $as_echo "$as_me: failed program was:" >&5
11932
sed 's/^/| /' conftest.$ac_ext >&5
11933
 
11934
        ac_header_compiler=no
11935
fi
11936
 
11937
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11938
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11939
$as_echo "$ac_header_compiler" >&6; }
11940
 
11941
# Is the header present?
11942
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11943
$as_echo_n "checking $ac_header presence... " >&6; }
11944
cat >conftest.$ac_ext <<_ACEOF
11945
/* confdefs.h.  */
11946
_ACEOF
11947
cat confdefs.h >>conftest.$ac_ext
11948
cat >>conftest.$ac_ext <<_ACEOF
11949
/* end confdefs.h.  */
11950
#include <$ac_header>
11951
_ACEOF
11952
if { (ac_try="$ac_cpp conftest.$ac_ext"
11953
case "(($ac_try" in
11954
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11955
  *) ac_try_echo=$ac_try;;
11956
esac
11957
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11958
$as_echo "$ac_try_echo") >&5
11959
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11960
  ac_status=$?
11961
  grep -v '^ *+' conftest.er1 >conftest.err
11962
  rm -f conftest.er1
11963
  cat conftest.err >&5
11964
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965
  (exit $ac_status); } >/dev/null && {
11966
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11967
         test ! -s conftest.err
11968
       }; then
11969
  ac_header_preproc=yes
11970
else
11971
  $as_echo "$as_me: failed program was:" >&5
11972
sed 's/^/| /' conftest.$ac_ext >&5
11973
 
11974
  ac_header_preproc=no
11975
fi
11976
 
11977
rm -f conftest.err conftest.$ac_ext
11978
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11979
$as_echo "$ac_header_preproc" >&6; }
11980
 
11981
# So?  What about this header?
11982
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11983
  yes:no: )
11984
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11985
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11986
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11987
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11988
    ac_header_preproc=yes
11989
    ;;
11990
  no:yes:* )
11991
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11992
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11993
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11994
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11995
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11996
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11997
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11998
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11999
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12000
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12001
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12002
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12003
    ( cat <<\_ASBOX
12004
## ------------------------------------- ##
12005
## Report this to openrisc@opencores.org ##
12006
## ------------------------------------- ##
12007
_ASBOX
12008
     ) | sed "s/^/$as_me: WARNING:     /" >&2
12009
    ;;
12010
esac
12011
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12012
$as_echo_n "checking for $ac_header... " >&6; }
12013
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12014
  $as_echo_n "(cached) " >&6
12015
else
12016
  eval "$as_ac_Header=\$ac_header_preproc"
12017
fi
12018
ac_res=`eval 'as_val=${'$as_ac_Header'}
12019
                 $as_echo "$as_val"'`
12020
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12021
$as_echo "$ac_res" >&6; }
12022
 
12023
fi
12024
as_val=`eval 'as_val=${'$as_ac_Header'}
12025
                 $as_echo "$as_val"'`
12026
   if test "x$as_val" = x""yes; then
12027 90 jeremybenn
  cat >>confdefs.h <<_ACEOF
12028
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12029
_ACEOF
12030
 
12031
fi
12032
 
12033
done
12034
 
12035
 
12036
# check for types and sizes
12037 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
12038
$as_echo_n "checking for uint8_t... " >&6; }
12039
if test "${ac_cv_type_uint8_t+set}" = set; then
12040
  $as_echo_n "(cached) " >&6
12041
else
12042
  ac_cv_type_uint8_t=no
12043
cat >conftest.$ac_ext <<_ACEOF
12044
/* confdefs.h.  */
12045
_ACEOF
12046
cat confdefs.h >>conftest.$ac_ext
12047
cat >>conftest.$ac_ext <<_ACEOF
12048
/* end confdefs.h.  */
12049
#include 
12050 90 jeremybenn
 
12051 234 jeremybenn
int
12052
main ()
12053
{
12054
if (sizeof (uint8_t))
12055
       return 0;
12056
  ;
12057
  return 0;
12058
}
12059
_ACEOF
12060
rm -f conftest.$ac_objext
12061
if { (ac_try="$ac_compile"
12062
case "(($ac_try" in
12063
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12064
  *) ac_try_echo=$ac_try;;
12065
esac
12066
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12067
$as_echo "$ac_try_echo") >&5
12068
  (eval "$ac_compile") 2>conftest.er1
12069
  ac_status=$?
12070
  grep -v '^ *+' conftest.er1 >conftest.err
12071
  rm -f conftest.er1
12072
  cat conftest.err >&5
12073
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074
  (exit $ac_status); } && {
12075
         test -z "$ac_c_werror_flag" ||
12076
         test ! -s conftest.err
12077
       } && test -s conftest.$ac_objext; then
12078
  cat >conftest.$ac_ext <<_ACEOF
12079
/* confdefs.h.  */
12080
_ACEOF
12081
cat confdefs.h >>conftest.$ac_ext
12082
cat >>conftest.$ac_ext <<_ACEOF
12083
/* end confdefs.h.  */
12084
#include 
12085
 
12086
int
12087
main ()
12088
{
12089
if (sizeof ((uint8_t)))
12090
          return 0;
12091
  ;
12092
  return 0;
12093
}
12094
_ACEOF
12095
rm -f conftest.$ac_objext
12096
if { (ac_try="$ac_compile"
12097
case "(($ac_try" in
12098
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12099
  *) ac_try_echo=$ac_try;;
12100
esac
12101
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12102
$as_echo "$ac_try_echo") >&5
12103
  (eval "$ac_compile") 2>conftest.er1
12104
  ac_status=$?
12105
  grep -v '^ *+' conftest.er1 >conftest.err
12106
  rm -f conftest.er1
12107
  cat conftest.err >&5
12108
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12109
  (exit $ac_status); } && {
12110
         test -z "$ac_c_werror_flag" ||
12111
         test ! -s conftest.err
12112
       } && test -s conftest.$ac_objext; then
12113
  :
12114
else
12115
  $as_echo "$as_me: failed program was:" >&5
12116
sed 's/^/| /' conftest.$ac_ext >&5
12117
 
12118
        ac_cv_type_uint8_t=yes
12119
fi
12120
 
12121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12122
else
12123
  $as_echo "$as_me: failed program was:" >&5
12124
sed 's/^/| /' conftest.$ac_ext >&5
12125
 
12126
 
12127
fi
12128
 
12129
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12130
fi
12131
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
12132
$as_echo "$ac_cv_type_uint8_t" >&6; }
12133
if test "x$ac_cv_type_uint8_t" = x""yes; then
12134
 
12135 90 jeremybenn
cat >>confdefs.h <<_ACEOF
12136
#define HAVE_UINT8_T 1
12137
_ACEOF
12138
 
12139
 
12140
fi
12141 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
12142
$as_echo_n "checking for uint16_t... " >&6; }
12143
if test "${ac_cv_type_uint16_t+set}" = set; then
12144
  $as_echo_n "(cached) " >&6
12145
else
12146
  ac_cv_type_uint16_t=no
12147
cat >conftest.$ac_ext <<_ACEOF
12148
/* confdefs.h.  */
12149
_ACEOF
12150
cat confdefs.h >>conftest.$ac_ext
12151
cat >>conftest.$ac_ext <<_ACEOF
12152
/* end confdefs.h.  */
12153
#include 
12154 90 jeremybenn
 
12155 234 jeremybenn
int
12156
main ()
12157
{
12158
if (sizeof (uint16_t))
12159
       return 0;
12160
  ;
12161
  return 0;
12162
}
12163
_ACEOF
12164
rm -f conftest.$ac_objext
12165
if { (ac_try="$ac_compile"
12166
case "(($ac_try" in
12167
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12168
  *) ac_try_echo=$ac_try;;
12169
esac
12170
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12171
$as_echo "$ac_try_echo") >&5
12172
  (eval "$ac_compile") 2>conftest.er1
12173
  ac_status=$?
12174
  grep -v '^ *+' conftest.er1 >conftest.err
12175
  rm -f conftest.er1
12176
  cat conftest.err >&5
12177
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178
  (exit $ac_status); } && {
12179
         test -z "$ac_c_werror_flag" ||
12180
         test ! -s conftest.err
12181
       } && test -s conftest.$ac_objext; then
12182
  cat >conftest.$ac_ext <<_ACEOF
12183
/* confdefs.h.  */
12184
_ACEOF
12185
cat confdefs.h >>conftest.$ac_ext
12186
cat >>conftest.$ac_ext <<_ACEOF
12187
/* end confdefs.h.  */
12188
#include 
12189
 
12190
int
12191
main ()
12192
{
12193
if (sizeof ((uint16_t)))
12194
          return 0;
12195
  ;
12196
  return 0;
12197
}
12198
_ACEOF
12199
rm -f conftest.$ac_objext
12200
if { (ac_try="$ac_compile"
12201
case "(($ac_try" in
12202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12203
  *) ac_try_echo=$ac_try;;
12204
esac
12205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12206
$as_echo "$ac_try_echo") >&5
12207
  (eval "$ac_compile") 2>conftest.er1
12208
  ac_status=$?
12209
  grep -v '^ *+' conftest.er1 >conftest.err
12210
  rm -f conftest.er1
12211
  cat conftest.err >&5
12212
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213
  (exit $ac_status); } && {
12214
         test -z "$ac_c_werror_flag" ||
12215
         test ! -s conftest.err
12216
       } && test -s conftest.$ac_objext; then
12217
  :
12218
else
12219
  $as_echo "$as_me: failed program was:" >&5
12220
sed 's/^/| /' conftest.$ac_ext >&5
12221
 
12222
        ac_cv_type_uint16_t=yes
12223
fi
12224
 
12225
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12226
else
12227
  $as_echo "$as_me: failed program was:" >&5
12228
sed 's/^/| /' conftest.$ac_ext >&5
12229
 
12230
 
12231
fi
12232
 
12233
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12234
fi
12235
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
12236
$as_echo "$ac_cv_type_uint16_t" >&6; }
12237
if test "x$ac_cv_type_uint16_t" = x""yes; then
12238
 
12239 90 jeremybenn
cat >>confdefs.h <<_ACEOF
12240
#define HAVE_UINT16_T 1
12241
_ACEOF
12242
 
12243
 
12244
fi
12245 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
12246
$as_echo_n "checking for uint32_t... " >&6; }
12247
if test "${ac_cv_type_uint32_t+set}" = set; then
12248
  $as_echo_n "(cached) " >&6
12249
else
12250
  ac_cv_type_uint32_t=no
12251
cat >conftest.$ac_ext <<_ACEOF
12252
/* confdefs.h.  */
12253
_ACEOF
12254
cat confdefs.h >>conftest.$ac_ext
12255
cat >>conftest.$ac_ext <<_ACEOF
12256
/* end confdefs.h.  */
12257
#include 
12258 90 jeremybenn
 
12259 234 jeremybenn
int
12260
main ()
12261
{
12262
if (sizeof (uint32_t))
12263
       return 0;
12264
  ;
12265
  return 0;
12266
}
12267
_ACEOF
12268
rm -f conftest.$ac_objext
12269
if { (ac_try="$ac_compile"
12270
case "(($ac_try" in
12271
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12272
  *) ac_try_echo=$ac_try;;
12273
esac
12274
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12275
$as_echo "$ac_try_echo") >&5
12276
  (eval "$ac_compile") 2>conftest.er1
12277
  ac_status=$?
12278
  grep -v '^ *+' conftest.er1 >conftest.err
12279
  rm -f conftest.er1
12280
  cat conftest.err >&5
12281
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282
  (exit $ac_status); } && {
12283
         test -z "$ac_c_werror_flag" ||
12284
         test ! -s conftest.err
12285
       } && test -s conftest.$ac_objext; then
12286
  cat >conftest.$ac_ext <<_ACEOF
12287
/* confdefs.h.  */
12288
_ACEOF
12289
cat confdefs.h >>conftest.$ac_ext
12290
cat >>conftest.$ac_ext <<_ACEOF
12291
/* end confdefs.h.  */
12292
#include 
12293
 
12294
int
12295
main ()
12296
{
12297
if (sizeof ((uint32_t)))
12298
          return 0;
12299
  ;
12300
  return 0;
12301
}
12302
_ACEOF
12303
rm -f conftest.$ac_objext
12304
if { (ac_try="$ac_compile"
12305
case "(($ac_try" in
12306
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12307
  *) ac_try_echo=$ac_try;;
12308
esac
12309
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12310
$as_echo "$ac_try_echo") >&5
12311
  (eval "$ac_compile") 2>conftest.er1
12312
  ac_status=$?
12313
  grep -v '^ *+' conftest.er1 >conftest.err
12314
  rm -f conftest.er1
12315
  cat conftest.err >&5
12316
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317
  (exit $ac_status); } && {
12318
         test -z "$ac_c_werror_flag" ||
12319
         test ! -s conftest.err
12320
       } && test -s conftest.$ac_objext; then
12321
  :
12322
else
12323
  $as_echo "$as_me: failed program was:" >&5
12324
sed 's/^/| /' conftest.$ac_ext >&5
12325
 
12326
        ac_cv_type_uint32_t=yes
12327
fi
12328
 
12329
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12330
else
12331
  $as_echo "$as_me: failed program was:" >&5
12332
sed 's/^/| /' conftest.$ac_ext >&5
12333
 
12334
 
12335
fi
12336
 
12337
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12338
fi
12339
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
12340
$as_echo "$ac_cv_type_uint32_t" >&6; }
12341
if test "x$ac_cv_type_uint32_t" = x""yes; then
12342
 
12343 90 jeremybenn
cat >>confdefs.h <<_ACEOF
12344
#define HAVE_UINT32_T 1
12345
_ACEOF
12346
 
12347
 
12348
fi
12349
 
12350 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for int8_t" >&5
12351
$as_echo_n "checking for int8_t... " >&6; }
12352
if test "${ac_cv_type_int8_t+set}" = set; then
12353
  $as_echo_n "(cached) " >&6
12354
else
12355
  ac_cv_type_int8_t=no
12356
cat >conftest.$ac_ext <<_ACEOF
12357
/* confdefs.h.  */
12358
_ACEOF
12359
cat confdefs.h >>conftest.$ac_ext
12360
cat >>conftest.$ac_ext <<_ACEOF
12361
/* end confdefs.h.  */
12362
#include 
12363 90 jeremybenn
 
12364 234 jeremybenn
int
12365
main ()
12366
{
12367
if (sizeof (int8_t))
12368
       return 0;
12369
  ;
12370
  return 0;
12371
}
12372
_ACEOF
12373
rm -f conftest.$ac_objext
12374
if { (ac_try="$ac_compile"
12375
case "(($ac_try" in
12376
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12377
  *) ac_try_echo=$ac_try;;
12378
esac
12379
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12380
$as_echo "$ac_try_echo") >&5
12381
  (eval "$ac_compile") 2>conftest.er1
12382
  ac_status=$?
12383
  grep -v '^ *+' conftest.er1 >conftest.err
12384
  rm -f conftest.er1
12385
  cat conftest.err >&5
12386
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387
  (exit $ac_status); } && {
12388
         test -z "$ac_c_werror_flag" ||
12389
         test ! -s conftest.err
12390
       } && test -s conftest.$ac_objext; then
12391
  cat >conftest.$ac_ext <<_ACEOF
12392
/* confdefs.h.  */
12393
_ACEOF
12394
cat confdefs.h >>conftest.$ac_ext
12395
cat >>conftest.$ac_ext <<_ACEOF
12396
/* end confdefs.h.  */
12397
#include 
12398
 
12399
int
12400
main ()
12401
{
12402
if (sizeof ((int8_t)))
12403
          return 0;
12404
  ;
12405
  return 0;
12406
}
12407
_ACEOF
12408
rm -f conftest.$ac_objext
12409
if { (ac_try="$ac_compile"
12410
case "(($ac_try" in
12411
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12412
  *) ac_try_echo=$ac_try;;
12413
esac
12414
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12415
$as_echo "$ac_try_echo") >&5
12416
  (eval "$ac_compile") 2>conftest.er1
12417
  ac_status=$?
12418
  grep -v '^ *+' conftest.er1 >conftest.err
12419
  rm -f conftest.er1
12420
  cat conftest.err >&5
12421
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422
  (exit $ac_status); } && {
12423
         test -z "$ac_c_werror_flag" ||
12424
         test ! -s conftest.err
12425
       } && test -s conftest.$ac_objext; then
12426
  :
12427
else
12428
  $as_echo "$as_me: failed program was:" >&5
12429
sed 's/^/| /' conftest.$ac_ext >&5
12430
 
12431
        ac_cv_type_int8_t=yes
12432
fi
12433
 
12434
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12435
else
12436
  $as_echo "$as_me: failed program was:" >&5
12437
sed 's/^/| /' conftest.$ac_ext >&5
12438
 
12439
 
12440
fi
12441
 
12442
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12443
fi
12444
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
12445
$as_echo "$ac_cv_type_int8_t" >&6; }
12446
if test "x$ac_cv_type_int8_t" = x""yes; then
12447
 
12448 90 jeremybenn
cat >>confdefs.h <<_ACEOF
12449
#define HAVE_INT8_T 1
12450
_ACEOF
12451
 
12452
 
12453
fi
12454 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for int16_t" >&5
12455
$as_echo_n "checking for int16_t... " >&6; }
12456
if test "${ac_cv_type_int16_t+set}" = set; then
12457
  $as_echo_n "(cached) " >&6
12458
else
12459
  ac_cv_type_int16_t=no
12460
cat >conftest.$ac_ext <<_ACEOF
12461
/* confdefs.h.  */
12462
_ACEOF
12463
cat confdefs.h >>conftest.$ac_ext
12464
cat >>conftest.$ac_ext <<_ACEOF
12465
/* end confdefs.h.  */
12466
#include 
12467 90 jeremybenn
 
12468 234 jeremybenn
int
12469
main ()
12470
{
12471
if (sizeof (int16_t))
12472
       return 0;
12473
  ;
12474
  return 0;
12475
}
12476
_ACEOF
12477
rm -f conftest.$ac_objext
12478
if { (ac_try="$ac_compile"
12479
case "(($ac_try" in
12480
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12481
  *) ac_try_echo=$ac_try;;
12482
esac
12483
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12484
$as_echo "$ac_try_echo") >&5
12485
  (eval "$ac_compile") 2>conftest.er1
12486
  ac_status=$?
12487
  grep -v '^ *+' conftest.er1 >conftest.err
12488
  rm -f conftest.er1
12489
  cat conftest.err >&5
12490
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491
  (exit $ac_status); } && {
12492
         test -z "$ac_c_werror_flag" ||
12493
         test ! -s conftest.err
12494
       } && test -s conftest.$ac_objext; then
12495
  cat >conftest.$ac_ext <<_ACEOF
12496
/* confdefs.h.  */
12497
_ACEOF
12498
cat confdefs.h >>conftest.$ac_ext
12499
cat >>conftest.$ac_ext <<_ACEOF
12500
/* end confdefs.h.  */
12501
#include 
12502
 
12503
int
12504
main ()
12505
{
12506
if (sizeof ((int16_t)))
12507
          return 0;
12508
  ;
12509
  return 0;
12510
}
12511
_ACEOF
12512
rm -f conftest.$ac_objext
12513
if { (ac_try="$ac_compile"
12514
case "(($ac_try" in
12515
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12516
  *) ac_try_echo=$ac_try;;
12517
esac
12518
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12519
$as_echo "$ac_try_echo") >&5
12520
  (eval "$ac_compile") 2>conftest.er1
12521
  ac_status=$?
12522
  grep -v '^ *+' conftest.er1 >conftest.err
12523
  rm -f conftest.er1
12524
  cat conftest.err >&5
12525
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526
  (exit $ac_status); } && {
12527
         test -z "$ac_c_werror_flag" ||
12528
         test ! -s conftest.err
12529
       } && test -s conftest.$ac_objext; then
12530
  :
12531
else
12532
  $as_echo "$as_me: failed program was:" >&5
12533
sed 's/^/| /' conftest.$ac_ext >&5
12534
 
12535
        ac_cv_type_int16_t=yes
12536
fi
12537
 
12538
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12539
else
12540
  $as_echo "$as_me: failed program was:" >&5
12541
sed 's/^/| /' conftest.$ac_ext >&5
12542
 
12543
 
12544
fi
12545
 
12546
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12547
fi
12548
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
12549
$as_echo "$ac_cv_type_int16_t" >&6; }
12550
if test "x$ac_cv_type_int16_t" = x""yes; then
12551
 
12552 90 jeremybenn
cat >>confdefs.h <<_ACEOF
12553
#define HAVE_INT16_T 1
12554
_ACEOF
12555
 
12556
 
12557
fi
12558 234 jeremybenn
{ $as_echo "$as_me:$LINENO: checking for int32_t" >&5
12559
$as_echo_n "checking for int32_t... " >&6; }
12560
if test "${ac_cv_type_int32_t+set}" = set; then
12561
  $as_echo_n "(cached) " >&6
12562
else
12563
  ac_cv_type_int32_t=no
12564
cat >conftest.$ac_ext <<_ACEOF
12565
/* confdefs.h.  */
12566
_ACEOF
12567
cat confdefs.h >>conftest.$ac_ext
12568
cat >>conftest.$ac_ext <<_ACEOF
12569
/* end confdefs.h.  */
12570
#include 
12571 90 jeremybenn
 
12572 234 jeremybenn
int
12573
main ()
12574
{
12575
if (sizeof (int32_t))
12576
       return 0;
12577
  ;
12578
  return 0;
12579
}
12580
_ACEOF
12581
rm -f conftest.$ac_objext
12582
if { (ac_try="$ac_compile"
12583
case "(($ac_try" in
12584
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12585
  *) ac_try_echo=$ac_try;;
12586
esac
12587
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12588
$as_echo "$ac_try_echo") >&5
12589
  (eval "$ac_compile") 2>conftest.er1
12590
  ac_status=$?
12591
  grep -v '^ *+' conftest.er1 >conftest.err
12592
  rm -f conftest.er1
12593
  cat conftest.err >&5
12594
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595
  (exit $ac_status); } && {
12596
         test -z "$ac_c_werror_flag" ||
12597
         test ! -s conftest.err
12598
       } && test -s conftest.$ac_objext; then
12599
  cat >conftest.$ac_ext <<_ACEOF
12600
/* confdefs.h.  */
12601
_ACEOF
12602
cat confdefs.h >>conftest.$ac_ext
12603
cat >>conftest.$ac_ext <<_ACEOF
12604
/* end confdefs.h.  */
12605
#include 
12606
 
12607
int
12608
main ()
12609
{
12610
if (sizeof ((int32_t)))
12611
          return 0;
12612
  ;
12613
  return 0;
12614
}
12615
_ACEOF
12616
rm -f conftest.$ac_objext
12617
if { (ac_try="$ac_compile"
12618
case "(($ac_try" in
12619
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12620
  *) ac_try_echo=$ac_try;;
12621
esac
12622
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12623
$as_echo "$ac_try_echo") >&5
12624
  (eval "$ac_compile") 2>conftest.er1
12625
  ac_status=$?
12626
  grep -v '^ *+' conftest.er1 >conftest.err
12627
  rm -f conftest.er1
12628
  cat conftest.err >&5
12629
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630
  (exit $ac_status); } && {
12631
         test -z "$ac_c_werror_flag" ||
12632
         test ! -s conftest.err
12633
       } && test -s conftest.$ac_objext; then
12634
  :
12635
else
12636
  $as_echo "$as_me: failed program was:" >&5
12637
sed 's/^/| /' conftest.$ac_ext >&5
12638
 
12639
        ac_cv_type_int32_t=yes
12640
fi
12641
 
12642
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12643
else
12644
  $as_echo "$as_me: failed program was:" >&5
12645
sed 's/^/| /' conftest.$ac_ext >&5
12646
 
12647
 
12648
fi
12649
 
12650
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12651
fi
12652
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
12653
$as_echo "$ac_cv_type_int32_t" >&6; }
12654
if test "x$ac_cv_type_int32_t" = x""yes; then
12655
 
12656 90 jeremybenn
cat >>confdefs.h <<_ACEOF
12657
#define HAVE_INT32_T 1
12658
_ACEOF
12659
 
12660
 
12661
fi
12662
 
12663
 
12664
# Checking sizeof doesn't really work, since it needs to run compiled code. So
12665
# we do it by hand.
12666
 
12667 234 jeremybenn
cat >>confdefs.h <<\_ACEOF
12668
#define SIZEOF_CHAR 1
12669
_ACEOF
12670 90 jeremybenn
 
12671
 
12672 234 jeremybenn
cat >>confdefs.h <<\_ACEOF
12673
#define SIZEOF_SHORT 2
12674
_ACEOF
12675 90 jeremybenn
 
12676
 
12677 234 jeremybenn
cat >>confdefs.h <<\_ACEOF
12678
#define SIZEOF_INT 4
12679
_ACEOF
12680 90 jeremybenn
 
12681
 
12682 234 jeremybenn
cat >>confdefs.h <<\_ACEOF
12683
#define SIZEOF_LONG 4
12684
_ACEOF
12685 90 jeremybenn
 
12686
 
12687 233 julius
ac_config_files="$ac_config_files Makefile acv-gpio/Makefile acv-uart/Makefile basic/Makefile cache/Makefile cbasic/Makefile cfg/Makefile dhry/Makefile dmatest/Makefile eth/Makefile except/Makefile except-test/Makefile exit/Makefile ext/Makefile fbtest/Makefile fp/Makefile testfloat/Makefile functest/Makefile flag/Makefile int-test/Makefile int-logger/Makefile inst-set-test/Makefile kbdtest/Makefile local-global/Makefile loop/Makefile mc-async/Makefile mc-dram/Makefile mc-ssram/Makefile mc-sync/Makefile mc-common/Makefile mem-test/Makefile mmu/Makefile mul/Makefile mycompress/Makefile support/Makefile tick/Makefile uos/Makefile upcalls/Makefile"
12688 90 jeremybenn
 
12689
 
12690
cat >confcache <<\_ACEOF
12691
# This file is a shell script that caches the results of configure
12692
# tests run on this system so they can be shared between configure
12693
# scripts and configure runs, see configure's option --config-cache.
12694
# It is not useful on other systems.  If it contains results you don't
12695
# want to keep, you may remove or edit it.
12696
#
12697
# config.status only pays attention to the cache file if you give it
12698
# the --recheck option to rerun configure.
12699
#
12700
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12701
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12702
# following values.
12703
 
12704
_ACEOF
12705
 
12706
# The following way of writing the cache mishandles newlines in values,
12707
# but we know of no workaround that is simple, portable, and efficient.
12708
# So, we kill variables containing newlines.
12709
# Ultrix sh set writes to stderr and can't be redirected directly,
12710
# and sets the high bit in the cache file unless we assign to the vars.
12711
(
12712
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12713
    eval ac_val=\$$ac_var
12714
    case $ac_val in #(
12715
    *${as_nl}*)
12716
      case $ac_var in #(
12717 234 jeremybenn
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12718 90 jeremybenn
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12719
      esac
12720
      case $ac_var in #(
12721
      _ | IFS | as_nl) ;; #(
12722
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12723 234 jeremybenn
      *) $as_unset $ac_var ;;
12724 90 jeremybenn
      esac ;;
12725
    esac
12726
  done
12727
 
12728
  (set) 2>&1 |
12729
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12730
    *${as_nl}ac_space=\ *)
12731 234 jeremybenn
      # `set' does not quote correctly, so add quotes (double-quote
12732
      # substitution turns \\\\ into \\, and sed turns \\ into \).
12733 90 jeremybenn
      sed -n \
12734
        "s/'/'\\\\''/g;
12735
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12736
      ;; #(
12737
    *)
12738
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12739
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12740
      ;;
12741
    esac |
12742
    sort
12743
) |
12744
  sed '
12745
     /^ac_cv_env_/b end
12746
     t clear
12747
     :clear
12748
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12749
     t end
12750
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12751
     :end' >>confcache
12752
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12753
  if test -w "$cache_file"; then
12754
    test "x$cache_file" != "x/dev/null" &&
12755 234 jeremybenn
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12756 90 jeremybenn
$as_echo "$as_me: updating cache $cache_file" >&6;}
12757
    cat confcache >$cache_file
12758
  else
12759 234 jeremybenn
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12760 90 jeremybenn
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12761
  fi
12762
fi
12763
rm -f confcache
12764
 
12765
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12766
# Let make expand exec_prefix.
12767
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12768
 
12769
DEFS=-DHAVE_CONFIG_H
12770
 
12771
ac_libobjs=
12772
ac_ltlibobjs=
12773
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12774
  # 1. Remove the extension, and $U if already installed.
12775
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12776
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12777
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12778
  #    will be set to the directory where LIBOBJS objects are built.
12779 234 jeremybenn
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12780
  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12781 90 jeremybenn
done
12782
LIBOBJS=$ac_libobjs
12783
 
12784
LTLIBOBJS=$ac_ltlibobjs
12785
 
12786
 
12787
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12788 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12789
Usually this means the macro was only invoked conditionally." >&5
12790
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
12791
Usually this means the macro was only invoked conditionally." >&2;}
12792
   { (exit 1); exit 1; }; }
12793 90 jeremybenn
fi
12794
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12795 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12796
Usually this means the macro was only invoked conditionally." >&5
12797
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12798
Usually this means the macro was only invoked conditionally." >&2;}
12799
   { (exit 1); exit 1; }; }
12800 90 jeremybenn
fi
12801
 if test -n "$EXEEXT"; then
12802
  am__EXEEXT_TRUE=
12803
  am__EXEEXT_FALSE='#'
12804
else
12805
  am__EXEEXT_TRUE='#'
12806
  am__EXEEXT_FALSE=
12807
fi
12808
 
12809
if test -z "${BUILD_ALL_TESTS_TRUE}" && test -z "${BUILD_ALL_TESTS_FALSE}"; then
12810 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ALL_TESTS\" was never defined.
12811
Usually this means the macro was only invoked conditionally." >&5
12812
$as_echo "$as_me: error: conditional \"BUILD_ALL_TESTS\" was never defined.
12813
Usually this means the macro was only invoked conditionally." >&2;}
12814
   { (exit 1); exit 1; }; }
12815 90 jeremybenn
fi
12816
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
12817 234 jeremybenn
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
12818
Usually this means the macro was only invoked conditionally." >&5
12819
$as_echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
12820
Usually this means the macro was only invoked conditionally." >&2;}
12821
   { (exit 1); exit 1; }; }
12822 90 jeremybenn
fi
12823
 
12824
: ${CONFIG_STATUS=./config.status}
12825
ac_write_fail=0
12826
ac_clean_files_save=$ac_clean_files
12827
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12828 234 jeremybenn
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12829 90 jeremybenn
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12830 234 jeremybenn
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12831 90 jeremybenn
#! $SHELL
12832
# Generated by $as_me.
12833
# Run this file to recreate the current configuration.
12834
# Compiler output produced by configure, useful for debugging
12835
# configure, is in config.log if it exists.
12836
 
12837
debug=false
12838
ac_cs_recheck=false
12839
ac_cs_silent=false
12840
SHELL=\${CONFIG_SHELL-$SHELL}
12841 234 jeremybenn
_ACEOF
12842 90 jeremybenn
 
12843 234 jeremybenn
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12844
## --------------------- ##
12845
## M4sh Initialization.  ##
12846
## --------------------- ##
12847
 
12848 90 jeremybenn
# Be more Bourne compatible
12849
DUALCASE=1; export DUALCASE # for MKS sh
12850 234 jeremybenn
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12851 90 jeremybenn
  emulate sh
12852
  NULLCMD=:
12853
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12854
  # is contrary to our usage.  Disable this feature.
12855
  alias -g '${1+"$@"}'='"$@"'
12856
  setopt NO_GLOB_SUBST
12857
else
12858 234 jeremybenn
  case `(set -o) 2>/dev/null` in
12859
  *posix*) set -o posix ;;
12860 90 jeremybenn
esac
12861 234 jeremybenn
 
12862 90 jeremybenn
fi
12863
 
12864
 
12865 234 jeremybenn
 
12866
 
12867
# PATH needs CR
12868
# Avoid depending upon Character Ranges.
12869
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12870
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12871
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12872
as_cr_digits='0123456789'
12873
as_cr_alnum=$as_cr_Letters$as_cr_digits
12874
 
12875 90 jeremybenn
as_nl='
12876
'
12877
export as_nl
12878
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12879
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12880
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12881
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12882 234 jeremybenn
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12883 90 jeremybenn
  as_echo='printf %s\n'
12884
  as_echo_n='printf %s'
12885
else
12886
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12887
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12888
    as_echo_n='/usr/ucb/echo -n'
12889
  else
12890
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12891
    as_echo_n_body='eval
12892
      arg=$1;
12893 234 jeremybenn
      case $arg in
12894 90 jeremybenn
      *"$as_nl"*)
12895
        expr "X$arg" : "X\\(.*\\)$as_nl";
12896
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12897
      esac;
12898
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12899
    '
12900
    export as_echo_n_body
12901
    as_echo_n='sh -c $as_echo_n_body as_echo'
12902
  fi
12903
  export as_echo_body
12904
  as_echo='sh -c $as_echo_body as_echo'
12905
fi
12906
 
12907
# The user is always right.
12908
if test "${PATH_SEPARATOR+set}" != set; then
12909
  PATH_SEPARATOR=:
12910
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12911
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12912
      PATH_SEPARATOR=';'
12913
  }
12914
fi
12915
 
12916 234 jeremybenn
# Support unset when possible.
12917
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12918
  as_unset=unset
12919
else
12920
  as_unset=false
12921
fi
12922 90 jeremybenn
 
12923 234 jeremybenn
 
12924 90 jeremybenn
# IFS
12925
# We need space, tab and new line, in precisely that order.  Quoting is
12926
# there to prevent editors from complaining about space-tab.
12927
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12928
# splitting by setting IFS to empty value.)
12929
IFS=" ""        $as_nl"
12930
 
12931
# Find who we are.  Look in the path if we contain no directory separator.
12932 234 jeremybenn
case $0 in
12933 90 jeremybenn
  *[\\/]* ) as_myself=$0 ;;
12934
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12935
for as_dir in $PATH
12936
do
12937
  IFS=$as_save_IFS
12938
  test -z "$as_dir" && as_dir=.
12939 234 jeremybenn
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12940
done
12941 90 jeremybenn
IFS=$as_save_IFS
12942
 
12943
     ;;
12944
esac
12945
# We did not find ourselves, most probably we were run as `sh COMMAND'
12946
# in which case we are not to be found in the path.
12947
if test "x$as_myself" = x; then
12948
  as_myself=$0
12949
fi
12950
if test ! -f "$as_myself"; then
12951
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12952 234 jeremybenn
  { (exit 1); exit 1; }
12953 90 jeremybenn
fi
12954
 
12955 234 jeremybenn
# Work around bugs in pre-3.0 UWIN ksh.
12956
for as_var in ENV MAIL MAILPATH
12957
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12958 90 jeremybenn
done
12959
PS1='$ '
12960
PS2='> '
12961
PS4='+ '
12962
 
12963
# NLS nuisances.
12964
LC_ALL=C
12965
export LC_ALL
12966
LANGUAGE=C
12967
export LANGUAGE
12968
 
12969 234 jeremybenn
# Required to use basename.
12970 90 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
12971
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12972
  as_expr=expr
12973
else
12974
  as_expr=false
12975
fi
12976
 
12977
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12978
  as_basename=basename
12979
else
12980
  as_basename=false
12981
fi
12982
 
12983
 
12984 234 jeremybenn
# Name of the executable.
12985 90 jeremybenn
as_me=`$as_basename -- "$0" ||
12986
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12987
         X"$0" : 'X\(//\)$' \| \
12988
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12989
$as_echo X/"$0" |
12990
    sed '/^.*\/\([^/][^/]*\)\/*$/{
12991
            s//\1/
12992
            q
12993
          }
12994
          /^X\/\(\/\/\)$/{
12995
            s//\1/
12996
            q
12997
          }
12998
          /^X\/\(\/\).*/{
12999
            s//\1/
13000
            q
13001
          }
13002
          s/.*/./; q'`
13003
 
13004 234 jeremybenn
# CDPATH.
13005
$as_unset CDPATH
13006 90 jeremybenn
 
13007 234 jeremybenn
 
13008
 
13009
  as_lineno_1=$LINENO
13010
  as_lineno_2=$LINENO
13011
  test "x$as_lineno_1" != "x$as_lineno_2" &&
13012
  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13013
 
13014
  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13015
  # uniformly replaced by the line number.  The first 'sed' inserts a
13016
  # line-number line after each line using $LINENO; the second 'sed'
13017
  # does the real work.  The second script uses 'N' to pair each
13018
  # line-number line with the line containing $LINENO, and appends
13019
  # trailing '-' during substitution so that $LINENO is not a special
13020
  # case at line end.
13021
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13022
  # scripts with optimization help from Paolo Bonzini.  Blame Lee
13023
  # E. McMahon (1931-1989) for sed's syntax.  :-)
13024
  sed -n '
13025
    p
13026
    /[$]LINENO/=
13027
  ' <$as_myself |
13028
    sed '
13029
      s/[$]LINENO.*/&-/
13030
      t lineno
13031
      b
13032
      :lineno
13033
      N
13034
      :loop
13035
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13036
      t loop
13037
      s/-\n.*//
13038
    ' >$as_me.lineno &&
13039
  chmod +x "$as_me.lineno" ||
13040
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13041
   { (exit 1); exit 1; }; }
13042
 
13043
  # Don't try to exec as it changes $[0], causing all sort of problems
13044
  # (the dirname of $[0] is not the place where we might find the
13045
  # original and so on.  Autoconf is especially sensitive to this).
13046
  . "./$as_me.lineno"
13047
  # Exit status is that of the last command.
13048
  exit
13049
}
13050
 
13051
 
13052
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13053
  as_dirname=dirname
13054
else
13055
  as_dirname=false
13056
fi
13057
 
13058 90 jeremybenn
ECHO_C= ECHO_N= ECHO_T=
13059 234 jeremybenn
case `echo -n x` in
13060 90 jeremybenn
-n*)
13061 234 jeremybenn
  case `echo 'x\c'` in
13062 90 jeremybenn
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13063 234 jeremybenn
  *)   ECHO_C='\c';;
13064 90 jeremybenn
  esac;;
13065
*)
13066
  ECHO_N='-n';;
13067
esac
13068 234 jeremybenn
if expr a : '\(a\)' >/dev/null 2>&1 &&
13069
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13070
  as_expr=expr
13071
else
13072
  as_expr=false
13073
fi
13074 90 jeremybenn
 
13075
rm -f conf$$ conf$$.exe conf$$.file
13076
if test -d conf$$.dir; then
13077
  rm -f conf$$.dir/conf$$.file
13078
else
13079
  rm -f conf$$.dir
13080
  mkdir conf$$.dir 2>/dev/null
13081
fi
13082
if (echo >conf$$.file) 2>/dev/null; then
13083
  if ln -s conf$$.file conf$$ 2>/dev/null; then
13084
    as_ln_s='ln -s'
13085
    # ... but there are two gotchas:
13086
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13087
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13088
    # In both cases, we have to default to `cp -p'.
13089
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13090
      as_ln_s='cp -p'
13091
  elif ln conf$$.file conf$$ 2>/dev/null; then
13092
    as_ln_s=ln
13093
  else
13094
    as_ln_s='cp -p'
13095
  fi
13096
else
13097
  as_ln_s='cp -p'
13098
fi
13099
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13100
rmdir conf$$.dir 2>/dev/null
13101
 
13102
if mkdir -p . 2>/dev/null; then
13103 234 jeremybenn
  as_mkdir_p=:
13104 90 jeremybenn
else
13105
  test -d ./-p && rmdir ./-p
13106
  as_mkdir_p=false
13107
fi
13108
 
13109
if test -x / >/dev/null 2>&1; then
13110
  as_test_x='test -x'
13111
else
13112
  if ls -dL / >/dev/null 2>&1; then
13113
    as_ls_L_option=L
13114
  else
13115
    as_ls_L_option=
13116
  fi
13117
  as_test_x='
13118
    eval sh -c '\''
13119
      if test -d "$1"; then
13120
        test -d "$1/.";
13121
      else
13122 234 jeremybenn
        case $1 in
13123 90 jeremybenn
        -*)set "./$1";;
13124
        esac;
13125 234 jeremybenn
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13126 90 jeremybenn
        ???[sx]*):;;*)false;;esac;fi
13127
    '\'' sh
13128
  '
13129
fi
13130
as_executable_p=$as_test_x
13131
 
13132
# Sed expression to map a string onto a valid CPP name.
13133
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13134
 
13135
# Sed expression to map a string onto a valid variable name.
13136
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13137
 
13138
 
13139
exec 6>&1
13140
 
13141 234 jeremybenn
# Save the log message, to keep $[0] and so on meaningful, and to
13142 90 jeremybenn
# report actual input values of CONFIG_FILES etc. instead of their
13143
# values after options handling.
13144
ac_log="
13145 234 jeremybenn
This file was extended by or1ksim-testsuite $as_me 2010-08-03, which was
13146
generated by GNU Autoconf 2.63.  Invocation command line was
13147 90 jeremybenn
 
13148
  CONFIG_FILES    = $CONFIG_FILES
13149
  CONFIG_HEADERS  = $CONFIG_HEADERS
13150
  CONFIG_LINKS    = $CONFIG_LINKS
13151
  CONFIG_COMMANDS = $CONFIG_COMMANDS
13152
  $ $0 $@
13153
 
13154
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13155
"
13156
 
13157
_ACEOF
13158
 
13159
case $ac_config_files in *"
13160
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13161
esac
13162
 
13163
case $ac_config_headers in *"
13164
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13165
esac
13166
 
13167
 
13168
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13169
# Files that config.status was made for.
13170
config_files="$ac_config_files"
13171
config_headers="$ac_config_headers"
13172
config_commands="$ac_config_commands"
13173
 
13174
_ACEOF
13175
 
13176
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13177
ac_cs_usage="\
13178 234 jeremybenn
\`$as_me' instantiates files from templates according to the
13179
current configuration.
13180 90 jeremybenn
 
13181 234 jeremybenn
Usage: $0 [OPTION]... [FILE]...
13182 90 jeremybenn
 
13183
  -h, --help       print this help, then exit
13184
  -V, --version    print version number and configuration settings, then exit
13185
  -q, --quiet, --silent
13186
                   do not print progress messages
13187
  -d, --debug      don't remove temporary files
13188
      --recheck    update $as_me by reconfiguring in the same conditions
13189
      --file=FILE[:TEMPLATE]
13190
                   instantiate the configuration file FILE
13191
      --header=FILE[:TEMPLATE]
13192
                   instantiate the configuration header FILE
13193
 
13194
Configuration files:
13195
$config_files
13196
 
13197
Configuration headers:
13198
$config_headers
13199
 
13200
Configuration commands:
13201
$config_commands
13202
 
13203 234 jeremybenn
Report bugs to ."
13204 90 jeremybenn
 
13205
_ACEOF
13206
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13207
ac_cs_version="\\
13208 234 jeremybenn
or1ksim-testsuite config.status 2010-08-03
13209
configured by $0, generated by GNU Autoconf 2.63,
13210 121 jeremybenn
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13211 90 jeremybenn
 
13212 234 jeremybenn
Copyright (C) 2008 Free Software Foundation, Inc.
13213 90 jeremybenn
This config.status script is free software; the Free Software Foundation
13214
gives unlimited permission to copy, distribute and modify it."
13215
 
13216
ac_pwd='$ac_pwd'
13217
srcdir='$srcdir'
13218
INSTALL='$INSTALL'
13219
MKDIR_P='$MKDIR_P'
13220
AWK='$AWK'
13221
test -n "\$AWK" || AWK=awk
13222
_ACEOF
13223
 
13224
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13225
# The default lists apply if the user does not specify any file.
13226
ac_need_defaults=:
13227
while test $# != 0
13228
do
13229
  case $1 in
13230
  --*=*)
13231
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13232
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13233
    ac_shift=:
13234
    ;;
13235
  *)
13236
    ac_option=$1
13237
    ac_optarg=$2
13238
    ac_shift=shift
13239
    ;;
13240
  esac
13241
 
13242
  case $ac_option in
13243
  # Handling of the options.
13244
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13245
    ac_cs_recheck=: ;;
13246
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13247
    $as_echo "$ac_cs_version"; exit ;;
13248
  --debug | --debu | --deb | --de | --d | -d )
13249
    debug=: ;;
13250
  --file | --fil | --fi | --f )
13251
    $ac_shift
13252
    case $ac_optarg in
13253
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13254
    esac
13255 234 jeremybenn
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13256 90 jeremybenn
    ac_need_defaults=false;;
13257
  --header | --heade | --head | --hea )
13258
    $ac_shift
13259
    case $ac_optarg in
13260
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13261
    esac
13262 234 jeremybenn
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13263 90 jeremybenn
    ac_need_defaults=false;;
13264
  --he | --h)
13265
    # Conflict between --help and --header
13266 234 jeremybenn
    { $as_echo "$as_me: error: ambiguous option: $1
13267
Try \`$0 --help' for more information." >&2
13268
   { (exit 1); exit 1; }; };;
13269 90 jeremybenn
  --help | --hel | -h )
13270
    $as_echo "$ac_cs_usage"; exit ;;
13271
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13272
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13273
    ac_cs_silent=: ;;
13274
 
13275
  # This is an error.
13276 234 jeremybenn
  -*) { $as_echo "$as_me: error: unrecognized option: $1
13277
Try \`$0 --help' for more information." >&2
13278
   { (exit 1); exit 1; }; } ;;
13279 90 jeremybenn
 
13280 234 jeremybenn
  *) ac_config_targets="$ac_config_targets $1"
13281 90 jeremybenn
     ac_need_defaults=false ;;
13282
 
13283
  esac
13284
  shift
13285
done
13286
 
13287
ac_configure_extra_args=
13288
 
13289
if $ac_cs_silent; then
13290
  exec 6>/dev/null
13291
  ac_configure_extra_args="$ac_configure_extra_args --silent"
13292
fi
13293
 
13294
_ACEOF
13295
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13296
if \$ac_cs_recheck; then
13297
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13298
  shift
13299
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13300
  CONFIG_SHELL='$SHELL'
13301
  export CONFIG_SHELL
13302
  exec "\$@"
13303
fi
13304
 
13305
_ACEOF
13306
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13307
exec 5>>config.log
13308
{
13309
  echo
13310
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13311
## Running $as_me. ##
13312
_ASBOX
13313
  $as_echo "$ac_log"
13314
} >&5
13315
 
13316
_ACEOF
13317
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13318
#
13319
# INIT-COMMANDS
13320
#
13321
 
13322
 
13323
# The HP-UX ksh and POSIX shell print the target directory to stdout
13324
# if CDPATH is set.
13325
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13326
 
13327
sed_quote_subst='$sed_quote_subst'
13328
double_quote_subst='$double_quote_subst'
13329
delay_variable_subst='$delay_variable_subst'
13330
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13331
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13332
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13333
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13334
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13335
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13336
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13337
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13338
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13339
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13340
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13341
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13342
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13343
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13344
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13345
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13346
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13347
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13348
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13349
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13350
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13351
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13352
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13353
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13354
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13355
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13356
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13357
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13358
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13359
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13360
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13361
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13362
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13363
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13364
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13365
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13366
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13367
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13368
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13369
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13370
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13371
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13372
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13373
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13374
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"`'
13375
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"`'
13376
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13377
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13378
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13379
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13380
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13381
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13382
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13383
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13384
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13385
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13386
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13387
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13388
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13389
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13390
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13391
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13392
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13393
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13394
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13395
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13396
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13397
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13398
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13399
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13400
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13401
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13402
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13403
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13404
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13405
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13406
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13407
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13408
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13409
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13410
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13411
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13412
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13413
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13414
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13415
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13416
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13417
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13418
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13419
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13420
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13421
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13422
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13423
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13424
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13425
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13426
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13427
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13428
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13429
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13430
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13431
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13432
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13433
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13434
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13435
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13436
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13437
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13438
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13439
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13440
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13441
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13442
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13443
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13444
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13445
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13446
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13447
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13448
 
13449
LTCC='$LTCC'
13450
LTCFLAGS='$LTCFLAGS'
13451
compiler='$compiler_DEFAULT'
13452
 
13453
# Quote evaled strings.
13454
for var in SED \
13455
GREP \
13456
EGREP \
13457
FGREP \
13458
LD \
13459
NM \
13460
LN_S \
13461
lt_SP2NL \
13462
lt_NL2SP \
13463
reload_flag \
13464
OBJDUMP \
13465
deplibs_check_method \
13466
file_magic_cmd \
13467
AR \
13468
AR_FLAGS \
13469
STRIP \
13470
RANLIB \
13471
CC \
13472
CFLAGS \
13473
compiler \
13474
lt_cv_sys_global_symbol_pipe \
13475
lt_cv_sys_global_symbol_to_cdecl \
13476
lt_cv_sys_global_symbol_to_c_name_address \
13477
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13478
SHELL \
13479
ECHO \
13480
lt_prog_compiler_no_builtin_flag \
13481
lt_prog_compiler_wl \
13482
lt_prog_compiler_pic \
13483
lt_prog_compiler_static \
13484
lt_cv_prog_compiler_c_o \
13485
need_locks \
13486
DSYMUTIL \
13487
NMEDIT \
13488
LIPO \
13489
OTOOL \
13490
OTOOL64 \
13491
shrext_cmds \
13492
export_dynamic_flag_spec \
13493
whole_archive_flag_spec \
13494
compiler_needs_object \
13495
with_gnu_ld \
13496
allow_undefined_flag \
13497
no_undefined_flag \
13498
hardcode_libdir_flag_spec \
13499
hardcode_libdir_flag_spec_ld \
13500
hardcode_libdir_separator \
13501
fix_srcfile_path \
13502
exclude_expsyms \
13503
include_expsyms \
13504
file_list_spec \
13505
variables_saved_for_relink \
13506
libname_spec \
13507
library_names_spec \
13508
soname_spec \
13509
finish_eval \
13510
old_striplib \
13511
striplib; do
13512
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13513
    *[\\\\\\\`\\"\\\$]*)
13514
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13515
      ;;
13516
    *)
13517
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13518
      ;;
13519
    esac
13520
done
13521
 
13522
# Double-quote double-evaled strings.
13523
for var in reload_cmds \
13524
old_postinstall_cmds \
13525
old_postuninstall_cmds \
13526
old_archive_cmds \
13527
extract_expsyms_cmds \
13528
old_archive_from_new_cmds \
13529
old_archive_from_expsyms_cmds \
13530
archive_cmds \
13531
archive_expsym_cmds \
13532
module_cmds \
13533
module_expsym_cmds \
13534
export_symbols_cmds \
13535
prelink_cmds \
13536
postinstall_cmds \
13537
postuninstall_cmds \
13538
finish_cmds \
13539
sys_lib_search_path_spec \
13540
sys_lib_dlsearch_path_spec; do
13541
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13542
    *[\\\\\\\`\\"\\\$]*)
13543
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13544
      ;;
13545
    *)
13546
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13547
      ;;
13548
    esac
13549
done
13550
 
13551
# Fix-up fallback echo if it was mangled by the above quoting rules.
13552
case \$lt_ECHO in
13553
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13554
  ;;
13555
esac
13556
 
13557
ac_aux_dir='$ac_aux_dir'
13558
xsi_shell='$xsi_shell'
13559
lt_shell_append='$lt_shell_append'
13560
 
13561
# See if we are running on zsh, and set the options which allow our
13562
# commands through without removal of \ escapes INIT.
13563
if test -n "\${ZSH_VERSION+set}" ; then
13564
   setopt NO_GLOB_SUBST
13565
fi
13566
 
13567
 
13568
    PACKAGE='$PACKAGE'
13569
    VERSION='$VERSION'
13570
    TIMESTAMP='$TIMESTAMP'
13571
    RM='$RM'
13572
    ofile='$ofile'
13573
 
13574
 
13575
 
13576
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13577
 
13578
_ACEOF
13579
 
13580
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13581
 
13582
# Handling of arguments.
13583
for ac_config_target in $ac_config_targets
13584
do
13585
  case $ac_config_target in
13586
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13587
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13588
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13589
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13590
    "acv-gpio/Makefile") CONFIG_FILES="$CONFIG_FILES acv-gpio/Makefile" ;;
13591
    "acv-uart/Makefile") CONFIG_FILES="$CONFIG_FILES acv-uart/Makefile" ;;
13592
    "basic/Makefile") CONFIG_FILES="$CONFIG_FILES basic/Makefile" ;;
13593
    "cache/Makefile") CONFIG_FILES="$CONFIG_FILES cache/Makefile" ;;
13594
    "cbasic/Makefile") CONFIG_FILES="$CONFIG_FILES cbasic/Makefile" ;;
13595
    "cfg/Makefile") CONFIG_FILES="$CONFIG_FILES cfg/Makefile" ;;
13596
    "dhry/Makefile") CONFIG_FILES="$CONFIG_FILES dhry/Makefile" ;;
13597
    "dmatest/Makefile") CONFIG_FILES="$CONFIG_FILES dmatest/Makefile" ;;
13598
    "eth/Makefile") CONFIG_FILES="$CONFIG_FILES eth/Makefile" ;;
13599
    "except/Makefile") CONFIG_FILES="$CONFIG_FILES except/Makefile" ;;
13600
    "except-test/Makefile") CONFIG_FILES="$CONFIG_FILES except-test/Makefile" ;;
13601
    "exit/Makefile") CONFIG_FILES="$CONFIG_FILES exit/Makefile" ;;
13602
    "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
13603
    "fbtest/Makefile") CONFIG_FILES="$CONFIG_FILES fbtest/Makefile" ;;
13604 104 jeremybenn
    "fp/Makefile") CONFIG_FILES="$CONFIG_FILES fp/Makefile" ;;
13605 233 julius
    "testfloat/Makefile") CONFIG_FILES="$CONFIG_FILES testfloat/Makefile" ;;
13606 90 jeremybenn
    "functest/Makefile") CONFIG_FILES="$CONFIG_FILES functest/Makefile" ;;
13607
    "flag/Makefile") CONFIG_FILES="$CONFIG_FILES flag/Makefile" ;;
13608
    "int-test/Makefile") CONFIG_FILES="$CONFIG_FILES int-test/Makefile" ;;
13609 93 jeremybenn
    "int-logger/Makefile") CONFIG_FILES="$CONFIG_FILES int-logger/Makefile" ;;
13610 90 jeremybenn
    "inst-set-test/Makefile") CONFIG_FILES="$CONFIG_FILES inst-set-test/Makefile" ;;
13611
    "kbdtest/Makefile") CONFIG_FILES="$CONFIG_FILES kbdtest/Makefile" ;;
13612
    "local-global/Makefile") CONFIG_FILES="$CONFIG_FILES local-global/Makefile" ;;
13613
    "loop/Makefile") CONFIG_FILES="$CONFIG_FILES loop/Makefile" ;;
13614
    "mc-async/Makefile") CONFIG_FILES="$CONFIG_FILES mc-async/Makefile" ;;
13615
    "mc-dram/Makefile") CONFIG_FILES="$CONFIG_FILES mc-dram/Makefile" ;;
13616
    "mc-ssram/Makefile") CONFIG_FILES="$CONFIG_FILES mc-ssram/Makefile" ;;
13617
    "mc-sync/Makefile") CONFIG_FILES="$CONFIG_FILES mc-sync/Makefile" ;;
13618
    "mc-common/Makefile") CONFIG_FILES="$CONFIG_FILES mc-common/Makefile" ;;
13619
    "mem-test/Makefile") CONFIG_FILES="$CONFIG_FILES mem-test/Makefile" ;;
13620
    "mmu/Makefile") CONFIG_FILES="$CONFIG_FILES mmu/Makefile" ;;
13621
    "mul/Makefile") CONFIG_FILES="$CONFIG_FILES mul/Makefile" ;;
13622
    "mycompress/Makefile") CONFIG_FILES="$CONFIG_FILES mycompress/Makefile" ;;
13623
    "support/Makefile") CONFIG_FILES="$CONFIG_FILES support/Makefile" ;;
13624
    "tick/Makefile") CONFIG_FILES="$CONFIG_FILES tick/Makefile" ;;
13625
    "uos/Makefile") CONFIG_FILES="$CONFIG_FILES uos/Makefile" ;;
13626 93 jeremybenn
    "upcalls/Makefile") CONFIG_FILES="$CONFIG_FILES upcalls/Makefile" ;;
13627 90 jeremybenn
 
13628 234 jeremybenn
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13629
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13630
   { (exit 1); exit 1; }; };;
13631 90 jeremybenn
  esac
13632
done
13633
 
13634
 
13635
# If the user did not use the arguments to specify the items to instantiate,
13636
# then the envvar interface is used.  Set only those that are not.
13637
# We use the long form for the default assignment because of an extremely
13638
# bizarre bug on SunOS 4.1.3.
13639
if $ac_need_defaults; then
13640
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13641
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13642
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13643
fi
13644
 
13645
# Have a temporary directory for convenience.  Make it in the build tree
13646
# simply because there is no reason against having it here, and in addition,
13647
# creating and moving files from /tmp can sometimes cause problems.
13648
# Hook for its removal unless debugging.
13649
# Note that there is a small window in which the directory will not be cleaned:
13650
# after its creation but before its name has been assigned to `$tmp'.
13651
$debug ||
13652
{
13653
  tmp=
13654
  trap 'exit_status=$?
13655
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13656
' 0
13657 234 jeremybenn
  trap '{ (exit 1); exit 1; }' 1 2 13 15
13658 90 jeremybenn
}
13659
# Create a (secure) tmp directory for tmp files.
13660
 
13661
{
13662
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13663
  test -n "$tmp" && test -d "$tmp"
13664
}  ||
13665
{
13666
  tmp=./conf$$-$RANDOM
13667
  (umask 077 && mkdir "$tmp")
13668 234 jeremybenn
} ||
13669
{
13670
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
13671
   { (exit 1); exit 1; }
13672
}
13673 90 jeremybenn
 
13674
# Set up the scripts for CONFIG_FILES section.
13675
# No need to generate them if there are no CONFIG_FILES.
13676
# This happens for instance with `./config.status config.h'.
13677
if test -n "$CONFIG_FILES"; then
13678
 
13679
 
13680 234 jeremybenn
ac_cr='
'
13681
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
13682 90 jeremybenn
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13683
  ac_cs_awk_cr='\\r'
13684 234 jeremybenn
else
13685 90 jeremybenn
  ac_cs_awk_cr=$ac_cr
13686
fi
13687
13688
 
13689
_ACEOF
13690
13691
 
13692
 
13693
  echo "cat >conf$$subs.awk <<_ACEOF" &&
13694
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13695
  echo "_ACEOF"
13696
} >conf$$subs.sh ||
13697
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13698 234 jeremybenn
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13699
   { (exit 1); exit 1; }; }
13700
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13701 90 jeremybenn
ac_delim='%!_!# '
13702
for ac_last_try in false false false false false :; do
13703
  . ./conf$$subs.sh ||
13704
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13705 234 jeremybenn
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13706
   { (exit 1); exit 1; }; }
13707
13708 90 jeremybenn
 
13709
  if test $ac_delim_n = $ac_delim_num; then
13710
    break
13711
  elif $ac_last_try; then
13712
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13713 234 jeremybenn
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13714
   { (exit 1); exit 1; }; }
13715
  else
13716 90 jeremybenn
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13717
  fi
13718
done
13719
rm -f conf$$subs.sh
13720
13721
 
13722
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13723
_ACEOF
13724
sed -n '
13725
h
13726
s/^/S["/; s/!.*/"]=/
13727
p
13728
g
13729
s/^[^!]*!//
13730
:repl
13731
t repl
13732
s/'"$ac_delim"'$//
13733
t delim
13734
:nl
13735
h
13736
s/\(.\{148\}\).*/\1/
13737 121 jeremybenn
t more1
13738 90 jeremybenn
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13739
p
13740
n
13741
b repl
13742
:more1
13743
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13744
p
13745
g
13746
s/.\{148\}//
13747
t nl
13748
:delim
13749
h
13750
s/\(.\{148\}\).*/\1/
13751 121 jeremybenn
t more2
13752 90 jeremybenn
s/["\\]/\\&/g; s/^/"/; s/$/"/
13753
p
13754
b
13755
:more2
13756
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13757
p
13758
g
13759
s/.\{148\}//
13760
t delim
13761
' 
13762
/^[^""]/{
13763
  N
13764
  s/\n//
13765
}
13766
' >>$CONFIG_STATUS || ac_write_fail=1
13767
rm -f conf$$subs.awk
13768
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13769
_ACAWK
13770
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13771
  for (key in S) S_is_set[key] = 1
13772
  FS = ""
13773
13774
 
13775
{
13776
  line = $ 0
13777
  nfields = split(line, field, "@")
13778
  substed = 0
13779
  len = length(field[1])
13780
  for (i = 2; i < nfields; i++) {
13781
    key = field[i]
13782
    keylen = length(key)
13783
    if (S_is_set[key]) {
13784
      value = S[key]
13785
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13786
      len += length(value) + length(field[++i])
13787
      substed = 1
13788
    } else
13789
      len += 1 + keylen
13790
  }
13791
13792
 
13793
}
13794
13795
 
13796
_ACEOF
13797
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13798
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13799
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13800
else
13801
  cat
13802
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13803
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
13804 234 jeremybenn
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
13805
   { (exit 1); exit 1; }; }
13806
_ACEOF
13807 90 jeremybenn
13808
 
13809
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13810
# trailing colons and then remove the whole line if VPATH becomes empty
13811
# (actually we leave an empty line to preserve line numbers).
13812
if test "x$srcdir" = x.; then
13813
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13814
s/:*\$(srcdir):*/:/
13815
s/:*\${srcdir}:*/:/
13816
s/:*@srcdir@:*/:/
13817
s/^\([^=]*=[     ]*\):*/\1/
13818
s/:*$//
13819
s/^[^=]*=[       ]*$//
13820
}'
13821
fi
13822
13823
 
13824
fi # test -n "$CONFIG_FILES"
13825
13826
 
13827
# No need to generate them if there are no CONFIG_HEADERS.
13828
# This happens for instance with `./config.status Makefile'.
13829
if test -n "$CONFIG_HEADERS"; then
13830
cat >"$tmp/defines.awk" <<\_ACAWK ||
13831
BEGIN {
13832
_ACEOF
13833
13834
 
13835
# here-document in config.status, that substitutes the proper values into
13836
# config.h.in to produce config.h.
13837
13838
 
13839
# handling of long lines.
13840
ac_delim='%!_!# '
13841
for ac_last_try in false false :; do
13842
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13843
  if test -z "$ac_t"; then
13844
    break
13845
  elif $ac_last_try; then
13846
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
13847 234 jeremybenn
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
13848
   { (exit 1); exit 1; }; }
13849
  else
13850 90 jeremybenn
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13851
  fi
13852
done
13853
13854
 
13855
# likewise P contains macro parameters if any.  Preserve backslash
13856
# newline sequences.
13857
13858
 
13859
sed -n '
13860
s/.\{148\}/&'"$ac_delim"'/g
13861
t rset
13862
:rset
13863
s/^[     ]*#[    ]*define[       ][      ]*/ /
13864
t def
13865
d
13866
:def
13867
s/\\$//
13868
t bsnl
13869
s/["\\]/\\&/g
13870
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13871
D["\1"]=" \3"/p
13872
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13873
d
13874
:bsnl
13875
s/["\\]/\\&/g
13876
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13877
D["\1"]=" \3\\\\\\n"\\/p
13878
t cont
13879
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13880
t cont
13881
d
13882
:cont
13883
n
13884
s/.\{148\}/&'"$ac_delim"'/g
13885
t clear
13886
:clear
13887
s/\\$//
13888
t bsnlc
13889
s/["\\]/\\&/g; s/^/"/; s/$/"/p
13890
d
13891
:bsnlc
13892
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13893
b cont
13894
' 
13895
s/'"$ac_delim"'/"\\\
13896
"/g' >>$CONFIG_STATUS || ac_write_fail=1
13897
13898
 
13899
  for (key in D) D_is_set[key] = 1
13900
  FS = ""
13901
}
13902
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13903
  line = \$ 0
13904
  split(line, arg, " ")
13905
  if (arg[1] == "#") {
13906
    defundef = arg[2]
13907
    mac1 = arg[3]
13908
  } else {
13909
    defundef = substr(arg[1], 2)
13910
    mac1 = arg[2]
13911
  }
13912
  split(mac1, mac2, "(") #)
13913
  macro = mac2[1]
13914
  prefix = substr(line, 1, index(line, defundef) - 1)
13915
  if (D_is_set[macro]) {
13916
    # Preserve the white space surrounding the "#".
13917
    print prefix "define", macro P[macro] D[macro]
13918
    next
13919
  } else {
13920
    # Replace #undef with comments.  This is necessary, for example,
13921
    # in the case of _POSIX_SOURCE, which is predefined and required
13922
    # on some systems where configure will not decide to define it.
13923
    if (defundef == "undef") {
13924
      print "/*", prefix defundef, macro, "*/"
13925
      next
13926
    }
13927
  }
13928
}
13929
{ print }
13930
_ACAWK
13931
_ACEOF
13932
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13933
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13934 234 jeremybenn
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13935
   { (exit 1); exit 1; }; }
13936
fi # test -n "$CONFIG_HEADERS"
13937 90 jeremybenn
13938
 
13939
 
13940
shift
13941
for ac_tag
13942
do
13943
  case $ac_tag in
13944
  :[FHLC]) ac_mode=$ac_tag; continue;;
13945
  esac
13946
  case $ac_mode$ac_tag in
13947
  :[FHL]*:*);;
13948
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13949 234 jeremybenn
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13950
   { (exit 1); exit 1; }; };;
13951
  :[FH]-) ac_tag=-:-;;
13952 90 jeremybenn
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13953
  esac
13954
  ac_save_IFS=$IFS
13955
  IFS=:
13956
  set x $ac_tag
13957
  IFS=$ac_save_IFS
13958
  shift
13959
  ac_file=$1
13960
  shift
13961
13962
 
13963
  :L) ac_source=$1;;
13964
  :[FH])
13965
    ac_file_inputs=
13966
    for ac_f
13967
    do
13968
      case $ac_f in
13969
      -) ac_f="$tmp/stdin";;
13970
      *) # Look for the file first in the build tree, then in the source tree
13971
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13972
         # because $ac_f cannot contain `:'.
13973
         test -f "$ac_f" ||
13974
           case $ac_f in
13975
           [\\/$]*) false;;
13976
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13977
           esac ||
13978
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13979 234 jeremybenn
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13980
   { (exit 1); exit 1; }; };;
13981
      esac
13982 90 jeremybenn
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13983
      ac_file_inputs="$ac_file_inputs '$ac_f'"
13984 234 jeremybenn
    done
13985 90 jeremybenn
13986
 
13987
    # use $as_me), people would be surprised to read:
13988
    #    /* config.h.  Generated by config.status.  */
13989
    configure_input='Generated from '`
13990
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13991
        `' by configure.'
13992
    if test x"$ac_file" != x-; then
13993
      configure_input="$ac_file.  $configure_input"
13994
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13995 234 jeremybenn
$as_echo "$as_me: creating $ac_file" >&6;}
13996 90 jeremybenn
    fi
13997
    # Neutralize special characters interpreted by sed in replacement strings.
13998
    case $configure_input in #(
13999
    *\&* | *\|* | *\\* )
14000
       ac_sed_conf_input=`$as_echo "$configure_input" |
14001
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14002
    *) ac_sed_conf_input=$configure_input;;
14003
    esac
14004
14005
 
14006
    *:-:* | *:-) cat >"$tmp/stdin" \
14007
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14008 234 jeremybenn
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14009
   { (exit 1); exit 1; }; } ;;
14010
    esac
14011 90 jeremybenn
    ;;
14012
  esac
14013
14014
 
14015
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14016
         X"$ac_file" : 'X\(//\)[^/]' \| \
14017
         X"$ac_file" : 'X\(//\)$' \| \
14018
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14019
$as_echo X"$ac_file" |
14020
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14021
            s//\1/
14022
            q
14023
          }
14024
          /^X\(\/\/\)[^/].*/{
14025
            s//\1/
14026
            q
14027
          }
14028
          /^X\(\/\/\)$/{
14029
            s//\1/
14030
            q
14031
          }
14032
          /^X\(\/\).*/{
14033
            s//\1/
14034
            q
14035
          }
14036
          s/.*/./; q'`
14037
  { as_dir="$ac_dir"
14038 234 jeremybenn
  case $as_dir in #(
14039
  -*) as_dir=./$as_dir;;
14040
  esac
14041
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14042
    as_dirs=
14043
    while :; do
14044
      case $as_dir in #(
14045
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14046
      *) as_qdir=$as_dir;;
14047
      esac
14048
      as_dirs="'$as_qdir' $as_dirs"
14049
      as_dir=`$as_dirname -- "$as_dir" ||
14050
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14051
         X"$as_dir" : 'X\(//\)[^/]' \| \
14052
         X"$as_dir" : 'X\(//\)$' \| \
14053
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14054
$as_echo X"$as_dir" |
14055
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14056
            s//\1/
14057
            q
14058
          }
14059
          /^X\(\/\/\)[^/].*/{
14060
            s//\1/
14061
            q
14062
          }
14063
          /^X\(\/\/\)$/{
14064
            s//\1/
14065
            q
14066
          }
14067
          /^X\(\/\).*/{
14068
            s//\1/
14069
            q
14070
          }
14071
          s/.*/./; q'`
14072
      test -d "$as_dir" && break
14073
    done
14074
    test -z "$as_dirs" || eval "mkdir $as_dirs"
14075
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14076
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14077
   { (exit 1); exit 1; }; }; }
14078
  ac_builddir=.
14079 90 jeremybenn
14080
 
14081
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14082
*)
14083
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14084
  # A ".." for each directory in $ac_dir_suffix.
14085
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14086
  case $ac_top_builddir_sub in
14087
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14088
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14089
  esac ;;
14090
esac
14091
ac_abs_top_builddir=$ac_pwd
14092
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14093
# for backward compatibility:
14094
ac_top_builddir=$ac_top_build_prefix
14095
14096
 
14097
  .)  # We are building in place.
14098
    ac_srcdir=.
14099
    ac_top_srcdir=$ac_top_builddir_sub
14100
    ac_abs_top_srcdir=$ac_pwd ;;
14101
  [\\/]* | ?:[\\/]* )  # Absolute name.
14102
    ac_srcdir=$srcdir$ac_dir_suffix;
14103
    ac_top_srcdir=$srcdir
14104
    ac_abs_top_srcdir=$srcdir ;;
14105
  *) # Relative name.
14106
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14107
    ac_top_srcdir=$ac_top_build_prefix$srcdir
14108
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14109
esac
14110
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14111
14112
 
14113
 
14114
  :F)
14115
  #
14116
  # CONFIG_FILE
14117
  #
14118
14119
 
14120
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14121
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14122
  esac
14123
  ac_MKDIR_P=$MKDIR_P
14124
  case $MKDIR_P in
14125
  [\\/$]* | ?:[\\/]* ) ;;
14126
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14127
  esac
14128
_ACEOF
14129
14130
 
14131
# If the template does not know about datarootdir, expand it.
14132
# FIXME: This hack should be removed a few years after 2.60.
14133
ac_datarootdir_hack=; ac_datarootdir_seen=
14134
14135 234 jeremybenn
 
14136 90 jeremybenn
/datarootdir/ {
14137
  p
14138
  q
14139
}
14140
/@datadir@/p
14141
/@docdir@/p
14142
/@infodir@/p
14143
/@localedir@/p
14144
/@mandir@/p
14145 234 jeremybenn
'
14146
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14147 90 jeremybenn
*datarootdir*) ac_datarootdir_seen=yes;;
14148
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14149
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14150 234 jeremybenn
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14151 90 jeremybenn
_ACEOF
14152
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14153
  ac_datarootdir_hack='
14154
  s&@datadir@&$datadir&g
14155
  s&@docdir@&$docdir&g
14156
  s&@infodir@&$infodir&g
14157
  s&@localedir@&$localedir&g
14158
  s&@mandir@&$mandir&g
14159
    s&\\\${datarootdir}&$datarootdir&g' ;;
14160 234 jeremybenn
esac
14161 90 jeremybenn
_ACEOF
14162
14163
 
14164
# Shell code in configure.ac might set extrasub.
14165
# FIXME: do we really want to maintain this feature?
14166
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14167
ac_sed_extra="$ac_vpsub
14168
$extrasub
14169
_ACEOF
14170
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14171
:t
14172
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14173
s|@configure_input@|$ac_sed_conf_input|;t t
14174
s&@top_builddir@&$ac_top_builddir_sub&;t t
14175
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14176
s&@srcdir@&$ac_srcdir&;t t
14177
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14178
s&@top_srcdir@&$ac_top_srcdir&;t t
14179
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14180
s&@builddir@&$ac_builddir&;t t
14181
s&@abs_builddir@&$ac_abs_builddir&;t t
14182
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14183
s&@INSTALL@&$ac_INSTALL&;t t
14184
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14185
$ac_datarootdir_hack
14186
"
14187
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14188
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14189 234 jeremybenn
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14190
   { (exit 1); exit 1; }; }
14191
14192 90 jeremybenn
 
14193
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14194
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14195
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14196 234 jeremybenn
which seems to be undefined.  Please make sure it is defined." >&5
14197 90 jeremybenn
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14198
which seems to be undefined.  Please make sure it is defined." >&2;}
14199
14200
 
14201
  case $ac_file in
14202
  -) cat "$tmp/out" && rm -f "$tmp/out";;
14203
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14204
  esac \
14205
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14206 234 jeremybenn
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14207
   { (exit 1); exit 1; }; }
14208
 ;;
14209 90 jeremybenn
  :H)
14210
  #
14211
  # CONFIG_HEADER
14212
  #
14213
  if test x"$ac_file" != x-; then
14214
    {
14215
      $as_echo "/* $configure_input  */" \
14216
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14217
    } >"$tmp/config.h" \
14218
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14219 234 jeremybenn
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14220
   { (exit 1); exit 1; }; }
14221
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14222 90 jeremybenn
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14223 234 jeremybenn
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14224 90 jeremybenn
    else
14225
      rm -f "$ac_file"
14226
      mv "$tmp/config.h" "$ac_file" \
14227
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14228 234 jeremybenn
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14229
   { (exit 1); exit 1; }; }
14230
    fi
14231 90 jeremybenn
  else
14232
    $as_echo "/* $configure_input  */" \
14233
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14234
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14235 234 jeremybenn
$as_echo "$as_me: error: could not create -" >&2;}
14236
   { (exit 1); exit 1; }; }
14237
  fi
14238 90 jeremybenn
# Compute "$ac_file"'s index in $config_headers.
14239
_am_arg="$ac_file"
14240
_am_stamp_count=1
14241
for _am_header in $config_headers :; do
14242
  case $_am_header in
14243
    $_am_arg | $_am_arg:* )
14244
      break ;;
14245
    * )
14246
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14247
  esac
14248
done
14249
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14250
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14251
         X"$_am_arg" : 'X\(//\)[^/]' \| \
14252
         X"$_am_arg" : 'X\(//\)$' \| \
14253
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14254
$as_echo X"$_am_arg" |
14255
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14256
            s//\1/
14257
            q
14258
          }
14259
          /^X\(\/\/\)[^/].*/{
14260
            s//\1/
14261
            q
14262
          }
14263
          /^X\(\/\/\)$/{
14264
            s//\1/
14265
            q
14266
          }
14267
          /^X\(\/\).*/{
14268
            s//\1/
14269
            q
14270
          }
14271
          s/.*/./; q'`/stamp-h$_am_stamp_count
14272
 ;;
14273
14274
 
14275 234 jeremybenn
$as_echo "$as_me: executing $ac_file commands" >&6;}
14276 90 jeremybenn
 ;;
14277
  esac
14278
14279
 
14280
 
14281
    "libtool":C)
14282
14283
 
14284
    # commands through without removal of \ escapes.
14285
    if test -n "${ZSH_VERSION+set}" ; then
14286
      setopt NO_GLOB_SUBST
14287
    fi
14288
14289
 
14290
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14291
    $RM "$cfgfile"
14292
14293
 
14294
#! $SHELL
14295
14296
 
14297
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14298
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14299
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14300
#
14301
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14302
#                 2006, 2007, 2008 Free Software Foundation, Inc.
14303
#   Written by Gordon Matzigkeit, 1996
14304
#
14305
#   This file is part of GNU Libtool.
14306
#
14307
# GNU Libtool is free software; you can redistribute it and/or
14308
# modify it under the terms of the GNU General Public License as
14309
# published by the Free Software Foundation; either version 2 of
14310
# the License, or (at your option) any later version.
14311
#
14312
# As a special exception to the GNU General Public License,
14313
# if you distribute this file as part of a program or library that
14314
# is built using GNU Libtool, you may include this file under the
14315
# same distribution terms that you use for the rest of that program.
14316
#
14317
# GNU Libtool is distributed in the hope that it will be useful,
14318
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14319
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14320
# GNU General Public License for more details.
14321
#
14322
# You should have received a copy of the GNU General Public License
14323
# along with GNU Libtool; see the file COPYING.  If not, a copy
14324
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14325
# obtained by writing to the Free Software Foundation, Inc.,
14326
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14327
14328
 
14329
 
14330
available_tags=""
14331
14332
 
14333
14334
 
14335
macro_version=$macro_version
14336
macro_revision=$macro_revision
14337
14338
 
14339
build_libtool_libs=$enable_shared
14340
14341
 
14342
build_old_libs=$enable_static
14343
14344
 
14345
pic_mode=$pic_mode
14346
14347
 
14348
fast_install=$enable_fast_install
14349
14350
 
14351
host_alias=$host_alias
14352
host=$host
14353
host_os=$host_os
14354
14355
 
14356
build_alias=$build_alias
14357
build=$build
14358
build_os=$build_os
14359
14360
 
14361
SED=$lt_SED
14362
14363
 
14364
Xsed="\$SED -e 1s/^X//"
14365
14366
 
14367
GREP=$lt_GREP
14368
14369
 
14370
EGREP=$lt_EGREP
14371
14372
 
14373
FGREP=$lt_FGREP
14374
14375
 
14376
NM=$lt_NM
14377
14378
 
14379
LN_S=$lt_LN_S
14380
14381
 
14382
max_cmd_len=$max_cmd_len
14383
14384
 
14385
objext=$ac_objext
14386
14387
 
14388
exeext=$exeext
14389
14390
 
14391
lt_unset=$lt_unset
14392
14393
 
14394
SP2NL=$lt_lt_SP2NL
14395
14396
 
14397
NL2SP=$lt_lt_NL2SP
14398
14399
 
14400
reload_flag=$lt_reload_flag
14401
reload_cmds=$lt_reload_cmds
14402
14403
 
14404
OBJDUMP=$lt_OBJDUMP
14405
14406
 
14407
deplibs_check_method=$lt_deplibs_check_method
14408
14409
 
14410
file_magic_cmd=$lt_file_magic_cmd
14411
14412
 
14413
AR=$lt_AR
14414
AR_FLAGS=$lt_AR_FLAGS
14415
14416
 
14417
STRIP=$lt_STRIP
14418
14419
 
14420
RANLIB=$lt_RANLIB
14421
old_postinstall_cmds=$lt_old_postinstall_cmds
14422
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14423
14424
 
14425
LTCC=$lt_CC
14426
14427
 
14428
LTCFLAGS=$lt_CFLAGS
14429
14430
 
14431
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14432
14433
 
14434
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14435
14436
 
14437
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14438
14439
 
14440
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14441
14442
 
14443
objdir=$objdir
14444
14445
 
14446
SHELL=$lt_SHELL
14447
14448
 
14449
ECHO=$lt_ECHO
14450
14451
 
14452
MAGIC_CMD=$MAGIC_CMD
14453
14454
 
14455
need_locks=$lt_need_locks
14456
14457
 
14458
DSYMUTIL=$lt_DSYMUTIL
14459
14460
 
14461
NMEDIT=$lt_NMEDIT
14462
14463
 
14464
LIPO=$lt_LIPO
14465
14466
 
14467
OTOOL=$lt_OTOOL
14468
14469
 
14470
OTOOL64=$lt_OTOOL64
14471
14472
 
14473
libext=$libext
14474
14475
 
14476
shrext_cmds=$lt_shrext_cmds
14477
14478
 
14479
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14480
14481
 
14482
# restored at link time.
14483
variables_saved_for_relink=$lt_variables_saved_for_relink
14484
14485
 
14486
need_lib_prefix=$need_lib_prefix
14487
14488
 
14489
need_version=$need_version
14490
14491
 
14492
version_type=$version_type
14493
14494
 
14495
runpath_var=$runpath_var
14496
14497
 
14498
shlibpath_var=$shlibpath_var
14499
14500
 
14501
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14502
14503
 
14504
libname_spec=$lt_libname_spec
14505
14506
 
14507
# The last name is the one that the linker finds with -lNAME
14508
library_names_spec=$lt_library_names_spec
14509
14510
 
14511
soname_spec=$lt_soname_spec
14512
14513
 
14514
postinstall_cmds=$lt_postinstall_cmds
14515
14516
 
14517
postuninstall_cmds=$lt_postuninstall_cmds
14518
14519
 
14520
finish_cmds=$lt_finish_cmds
14521
14522
 
14523
# not shown.
14524
finish_eval=$lt_finish_eval
14525
14526
 
14527
hardcode_into_libs=$hardcode_into_libs
14528
14529
 
14530
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14531
14532
 
14533
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14534
14535
 
14536
dlopen_support=$enable_dlopen
14537
14538
 
14539
dlopen_self=$enable_dlopen_self
14540
14541
 
14542
dlopen_self_static=$enable_dlopen_self_static
14543
14544
 
14545
old_striplib=$lt_old_striplib
14546
striplib=$lt_striplib
14547
14548
 
14549
 
14550
LD=$lt_LD
14551
14552
 
14553
old_archive_cmds=$lt_old_archive_cmds
14554
14555
 
14556
CC=$lt_compiler
14557
14558
 
14559
with_gcc=$GCC
14560
14561
 
14562
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14563
14564
 
14565
wl=$lt_lt_prog_compiler_wl
14566
14567
 
14568
pic_flag=$lt_lt_prog_compiler_pic
14569
14570
 
14571
link_static_flag=$lt_lt_prog_compiler_static
14572
14573
 
14574
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14575
14576
 
14577
build_libtool_need_lc=$archive_cmds_need_lc
14578
14579
 
14580
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14581
14582
 
14583
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14584
14585
 
14586
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14587
14588
 
14589
compiler_needs_object=$lt_compiler_needs_object
14590
14591
 
14592
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14593
14594
 
14595
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14596
14597
 
14598
archive_cmds=$lt_archive_cmds
14599
archive_expsym_cmds=$lt_archive_expsym_cmds
14600
14601
 
14602
# a shared archive.
14603
module_cmds=$lt_module_cmds
14604
module_expsym_cmds=$lt_module_expsym_cmds
14605
14606
 
14607
with_gnu_ld=$lt_with_gnu_ld
14608
14609
 
14610
allow_undefined_flag=$lt_allow_undefined_flag
14611
14612
 
14613
no_undefined_flag=$lt_no_undefined_flag
14614
14615
 
14616
# This must work even if \$libdir does not exist
14617
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14618
14619
 
14620
# during linking.  This must work even if \$libdir does not exist.
14621
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14622
14623
 
14624
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14625
14626
 
14627
# DIR into the resulting binary.
14628
hardcode_direct=$hardcode_direct
14629
14630
 
14631
# DIR into the resulting binary and the resulting library dependency is
14632
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14633
# library is relocated.
14634
hardcode_direct_absolute=$hardcode_direct_absolute
14635
14636
 
14637
# into the resulting binary.
14638
hardcode_minus_L=$hardcode_minus_L
14639
14640
 
14641
# into the resulting binary.
14642
hardcode_shlibpath_var=$hardcode_shlibpath_var
14643
14644
 
14645
# into the library and all subsequent libraries and executables linked
14646
# against it.
14647
hardcode_automatic=$hardcode_automatic
14648
14649
 
14650
# to runtime path list.
14651
inherit_rpath=$inherit_rpath
14652
14653
 
14654
link_all_deplibs=$link_all_deplibs
14655
14656
 
14657
fix_srcfile_path=$lt_fix_srcfile_path
14658
14659
 
14660
always_export_symbols=$always_export_symbols
14661
14662
 
14663
export_symbols_cmds=$lt_export_symbols_cmds
14664
14665
 
14666
exclude_expsyms=$lt_exclude_expsyms
14667
14668
 
14669
include_expsyms=$lt_include_expsyms
14670
14671
 
14672
prelink_cmds=$lt_prelink_cmds
14673
14674
 
14675
file_list_spec=$lt_file_list_spec
14676
14677
 
14678
hardcode_action=$hardcode_action
14679
14680
 
14681
14682
 
14683
14684
 
14685
  aix3*)
14686
    cat <<\_LT_EOF >> "$cfgfile"
14687
# AIX sometimes has problems with the GCC collect2 program.  For some
14688
# reason, if we set the COLLECT_NAMES environment variable, the problems
14689
# vanish in a puff of smoke.
14690
if test "X${COLLECT_NAMES+set}" != Xset; then
14691
  COLLECT_NAMES=
14692
  export COLLECT_NAMES
14693
fi
14694
_LT_EOF
14695
    ;;
14696
  esac
14697
14698
 
14699
 
14700
14701
 
14702
 
14703
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14704
  # text mode, it properly converts lines to CR/LF.  This bash problem
14705
  # is reportedly fixed, but why not run on old versions too?
14706
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14707
    || (rm -f "$cfgfile"; exit 1)
14708
14709
 
14710
  yes)
14711
    cat << \_LT_EOF >> "$cfgfile"
14712
14713
 
14714
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14715
# otherwise set result to NONDIR_REPLACEMENT.
14716
func_dirname ()
14717
{
14718
  case ${1} in
14719
    */*) func_dirname_result="${1%/*}${2}" ;;
14720
    *  ) func_dirname_result="${3}" ;;
14721
  esac
14722
}
14723
14724
 
14725
func_basename ()
14726
{
14727
  func_basename_result="${1##*/}"
14728
}
14729
14730
 
14731
# perform func_basename and func_dirname in a single function
14732
# call:
14733
#   dirname:  Compute the dirname of FILE.  If nonempty,
14734
#             add APPEND to the result, otherwise set result
14735
#             to NONDIR_REPLACEMENT.
14736
#             value returned in "$func_dirname_result"
14737
#   basename: Compute filename of FILE.
14738
#             value retuned in "$func_basename_result"
14739
# Implementation must be kept synchronized with func_dirname
14740
# and func_basename. For efficiency, we do not delegate to
14741
# those functions but instead duplicate the functionality here.
14742
func_dirname_and_basename ()
14743
{
14744
  case ${1} in
14745
    */*) func_dirname_result="${1%/*}${2}" ;;
14746
    *  ) func_dirname_result="${3}" ;;
14747
  esac
14748
  func_basename_result="${1##*/}"
14749
}
14750
14751
 
14752
# strip PREFIX and SUFFIX off of NAME.
14753
# PREFIX and SUFFIX must not contain globbing or regex special
14754
# characters, hashes, percent signs, but SUFFIX may contain a leading
14755
# dot (in which case that matches only a dot).
14756
func_stripname ()
14757
{
14758
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14759
  # positional parameters, so assign one to ordinary parameter first.
14760
  func_stripname_result=${3}
14761
  func_stripname_result=${func_stripname_result#"${1}"}
14762
  func_stripname_result=${func_stripname_result%"${2}"}
14763
}
14764
14765
 
14766
func_opt_split ()
14767
{
14768
  func_opt_split_opt=${1%%=*}
14769
  func_opt_split_arg=${1#*=}
14770
}
14771
14772
 
14773
func_lo2o ()
14774
{
14775
  case ${1} in
14776
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14777
    *)    func_lo2o_result=${1} ;;
14778
  esac
14779
}
14780
14781
 
14782
func_xform ()
14783
{
14784
  func_xform_result=${1%.*}.lo
14785
}
14786
14787
 
14788
func_arith ()
14789
{
14790
  func_arith_result=$(( $* ))
14791
}
14792
14793
 
14794
# STRING may not start with a hyphen.
14795
func_len ()
14796
{
14797
  func_len_result=${#1}
14798
}
14799
14800
 
14801
    ;;
14802
  *) # Bourne compatible functions.
14803
    cat << \_LT_EOF >> "$cfgfile"
14804
14805
 
14806
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14807
# otherwise set result to NONDIR_REPLACEMENT.
14808
func_dirname ()
14809
{
14810
  # Extract subdirectory from the argument.
14811
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14812
  if test "X$func_dirname_result" = "X${1}"; then
14813
    func_dirname_result="${3}"
14814
  else
14815
    func_dirname_result="$func_dirname_result${2}"
14816
  fi
14817
}
14818
14819
 
14820
func_basename ()
14821
{
14822
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14823
}
14824
14825
 
14826
 
14827
# strip PREFIX and SUFFIX off of NAME.
14828
# PREFIX and SUFFIX must not contain globbing or regex special
14829
# characters, hashes, percent signs, but SUFFIX may contain a leading
14830
# dot (in which case that matches only a dot).
14831
# func_strip_suffix prefix name
14832
func_stripname ()
14833
{
14834
  case ${2} in
14835
    .*) func_stripname_result=`$ECHO "X${3}" \
14836
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14837
    *)  func_stripname_result=`$ECHO "X${3}" \
14838
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14839
  esac
14840
}
14841
14842
 
14843
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14844
my_sed_long_arg='1s/^-[^=]*=//'
14845
14846
 
14847
func_opt_split ()
14848
{
14849
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14850
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14851
}
14852
14853
 
14854
func_lo2o ()
14855
{
14856
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14857
}
14858
14859
 
14860
func_xform ()
14861
{
14862
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14863
}
14864
14865
 
14866
func_arith ()
14867
{
14868
  func_arith_result=`expr "$@"`
14869
}
14870
14871
 
14872
# STRING may not start with a hyphen.
14873
func_len ()
14874
{
14875
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14876
}
14877
14878
 
14879
esac
14880
14881
 
14882
  yes)
14883
    cat << \_LT_EOF >> "$cfgfile"
14884
14885
 
14886
# Append VALUE to the end of shell variable VAR.
14887
func_append ()
14888
{
14889
  eval "$1+=\$2"
14890
}
14891
_LT_EOF
14892
    ;;
14893
  *)
14894
    cat << \_LT_EOF >> "$cfgfile"
14895
14896
 
14897
# Append VALUE to the end of shell variable VAR.
14898
func_append ()
14899
{
14900
  eval "$1=\$$1\$2"
14901
}
14902
14903
 
14904
    ;;
14905
  esac
14906
14907
 
14908
 
14909
    || (rm -f "$cfgfile"; exit 1)
14910
14911
 
14912
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14913
  chmod +x "$ofile"
14914
14915
 
14916
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14917
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14918
  # are listed without --file.  Let's play safe and only enable the eval
14919
  # if we detect the quoting.
14920
  case $CONFIG_FILES in
14921
  *\'*) eval set x "$CONFIG_FILES" ;;
14922
  *)   set x $CONFIG_FILES ;;
14923
  esac
14924
  shift
14925
  for mf
14926
  do
14927
    # Strip MF so we end up with the name of the file.
14928
    mf=`echo "$mf" | sed -e 's/:.*$//'`
14929
    # Check whether this is an Automake generated Makefile or not.
14930
    # We used to match only the files named `Makefile.in', but
14931
    # some people rename them; so instead we look at the file content.
14932
    # Grep'ing the first line is not enough: some people post-process
14933
    # each Makefile.in and add a new line on top of each file to say so.
14934
    # Grep'ing the whole file is not good either: AIX grep has a line
14935
    # limit of 2048, but all sed's we know have understand at least 4000.
14936
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14937
      dirpart=`$as_dirname -- "$mf" ||
14938
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14939
         X"$mf" : 'X\(//\)[^/]' \| \
14940
         X"$mf" : 'X\(//\)$' \| \
14941
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14942
$as_echo X"$mf" |
14943
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14944
            s//\1/
14945
            q
14946
          }
14947
          /^X\(\/\/\)[^/].*/{
14948
            s//\1/
14949
            q
14950
          }
14951
          /^X\(\/\/\)$/{
14952
            s//\1/
14953
            q
14954
          }
14955
          /^X\(\/\).*/{
14956
            s//\1/
14957
            q
14958
          }
14959
          s/.*/./; q'`
14960
    else
14961
      continue
14962
    fi
14963
    # Extract the definition of DEPDIR, am__include, and am__quote
14964
    # from the Makefile without running `make'.
14965
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14966
    test -z "$DEPDIR" && continue
14967
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14968
    test -z "am__include" && continue
14969
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14970
    # When using ansi2knr, U may be empty or an underscore; expand it
14971
    U=`sed -n 's/^U = //p' < "$mf"`
14972
    # Find all dependency output files, they are included files with
14973
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14974
    # simplest approach to changing $(DEPDIR) to its actual value in the
14975
    # expansion.
14976
    for file in `sed -n "
14977
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14978
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14979
      # Make sure the directory exists.
14980
      test -f "$dirpart/$file" && continue
14981
      fdir=`$as_dirname -- "$file" ||
14982
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14983
         X"$file" : 'X\(//\)[^/]' \| \
14984
         X"$file" : 'X\(//\)$' \| \
14985
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14986
$as_echo X"$file" |
14987
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14988
            s//\1/
14989
            q
14990
          }
14991
          /^X\(\/\/\)[^/].*/{
14992
            s//\1/
14993
            q
14994
          }
14995
          /^X\(\/\/\)$/{
14996
            s//\1/
14997
            q
14998
          }
14999
          /^X\(\/\).*/{
15000
            s//\1/
15001
            q
15002
          }
15003
          s/.*/./; q'`
15004
      { as_dir=$dirpart/$fdir
15005 234 jeremybenn
  case $as_dir in #(
15006
  -*) as_dir=./$as_dir;;
15007
  esac
15008
  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15009
    as_dirs=
15010
    while :; do
15011
      case $as_dir in #(
15012
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15013
      *) as_qdir=$as_dir;;
15014
      esac
15015
      as_dirs="'$as_qdir' $as_dirs"
15016
      as_dir=`$as_dirname -- "$as_dir" ||
15017
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15018
         X"$as_dir" : 'X\(//\)[^/]' \| \
15019
         X"$as_dir" : 'X\(//\)$' \| \
15020
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15021
$as_echo X"$as_dir" |
15022
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15023
            s//\1/
15024
            q
15025
          }
15026
          /^X\(\/\/\)[^/].*/{
15027
            s//\1/
15028
            q
15029
          }
15030
          /^X\(\/\/\)$/{
15031
            s//\1/
15032
            q
15033
          }
15034
          /^X\(\/\).*/{
15035
            s//\1/
15036
            q
15037
          }
15038
          s/.*/./; q'`
15039
      test -d "$as_dir" && break
15040
    done
15041
    test -z "$as_dirs" || eval "mkdir $as_dirs"
15042
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15043
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15044
   { (exit 1); exit 1; }; }; }
15045
      # echo "creating $dirpart/$file"
15046 90 jeremybenn
      echo '# dummy' > "$dirpart/$file"
15047
    done
15048
  done
15049
}
15050
 ;;
15051
15052
 
15053
done # for ac_tag
15054
15055
 
15056
 
15057 234 jeremybenn
_ACEOF
15058 90 jeremybenn
chmod +x $CONFIG_STATUS
15059 234 jeremybenn
ac_clean_files=$ac_clean_files_save
15060 90 jeremybenn
15061
 
15062
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15063 234 jeremybenn
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15064
   { (exit 1); exit 1; }; }
15065
15066 90 jeremybenn
 
15067
 
15068
# config.status does its own redirection, appending to config.log.
15069
# Unfortunately, on DOS this fails, as config.log is still kept open
15070
# by configure, so config.status won't be able to write to it; its
15071
# output is simply discarded.  So we exec the FD to /dev/null,
15072
# effectively closing config.log, so it can be properly (re)opened and
15073
# appended to by config.status.  When coming back to configure, we
15074
# need to make the FD available again.
15075
if test "$no_create" != yes; then
15076
  ac_cs_success=:
15077
  ac_config_status_args=
15078
  test "$silent" = yes &&
15079
    ac_config_status_args="$ac_config_status_args --quiet"
15080
  exec 5>/dev/null
15081
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15082
  exec 5>>config.log
15083
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15084
  # would make configure fail if this is the last instruction.
15085
  $ac_cs_success || { (exit 1); exit 1; }
15086 234 jeremybenn
fi
15087 90 jeremybenn
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15088
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15089 234 jeremybenn
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15090 90 jeremybenn
fi
15091
15092
 

powered by: WebSVN 2.1.0

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