~peter-pearse/ubuntu/natty/guile-1.8/prop001

« back to all changes in this revision

Viewing changes to guile-readline/configure

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2009-06-04 19:01:38 UTC
  • mfrom: (8.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090604190138-1ao3t6sj31cqvcfe
Tags: 1.8.6+1-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Build with -Wno-error.
  - Build with thread support. Some guile-using programs like autogen need it.
  - Add debian/guile-1.8-libs.shlibs: Thread support breaks ABI, bump the soname.
* Dropped changes:
  - libltdl3-dev -> libltdl7-dev: current libltdl-dev Provides: both.
  - debian/patches/libtool-ftbfs.diff: integrated upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.61 for guile-readline 1.8.5.
 
3
# Generated by GNU Autoconf 2.63 for guile-readline 1.8.6.
4
4
#
5
5
# Report bugs to <bug-guile@gnu.org>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
 
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
9
# This configure script is free software; the Free Software Foundation
10
10
# gives unlimited permission to copy, distribute and modify it.
11
11
## --------------------- ##
17
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
18
  emulate sh
19
19
  NULLCMD=:
20
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
21
  # is contrary to our usage.  Disable this feature.
22
22
  alias -g '${1+"$@"}'='"$@"'
23
23
  setopt NO_GLOB_SUBST
39
39
as_cr_digits='0123456789'
40
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
41
 
 
42
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
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
50
  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
      case $arg in
 
61
      *"$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
 
42
74
# The user is always right.
43
75
if test "${PATH_SEPARATOR+set}" != set; then
44
 
  echo "#! /bin/sh" >conf$$.sh
45
 
  echo  "exit 0"   >>conf$$.sh
46
 
  chmod +x conf$$.sh
47
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48
 
    PATH_SEPARATOR=';'
49
 
  else
50
 
    PATH_SEPARATOR=:
51
 
  fi
52
 
  rm -f conf$$.sh
 
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
  }
53
81
fi
54
82
 
55
83
# Support unset when possible.
65
93
# there to prevent editors from complaining about space-tab.
66
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
95
# splitting by setting IFS to empty value.)
68
 
as_nl='
69
 
'
70
96
IFS=" ""        $as_nl"
71
97
 
72
98
# Find who we are.  Look in the path if we contain no directory separator.
89
115
  as_myself=$0
90
116
fi
91
117
if test ! -f "$as_myself"; then
92
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
119
  { (exit 1); exit 1; }
94
120
fi
95
121
 
102
128
PS4='+ '
103
129
 
104
130
# NLS nuisances.
105
 
for as_var in \
106
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
 
  LC_TELEPHONE LC_TIME
109
 
do
110
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
 
    eval $as_var=C; export $as_var
112
 
  else
113
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
 
  fi
115
 
done
 
131
LC_ALL=C
 
132
export LC_ALL
 
133
LANGUAGE=C
 
134
export LANGUAGE
116
135
 
117
136
# Required to use basename.
118
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
134
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
154
         X"$0" : 'X\(//\)$' \| \
136
155
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
 
echo X/"$0" |
 
156
$as_echo X/"$0" |
138
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
158
            s//\1/
140
159
            q
160
179
  as_have_required=no
161
180
fi
162
181
 
163
 
  if test $as_have_required = yes &&     (eval ":
 
182
  if test $as_have_required = yes &&     (eval ":
164
183
(as_func_return () {
165
184
  (exit \$1)
166
185
}
242
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
262
  emulate sh
244
263
  NULLCMD=:
245
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
246
265
  # is contrary to our usage.  Disable this feature.
247
266
  alias -g '${1+"$@"}'='"$@"'
248
267
  setopt NO_GLOB_SUBST
263
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
283
  emulate sh
265
284
  NULLCMD=:
266
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267
286
  # is contrary to our usage.  Disable this feature.
268
287
  alias -g '${1+"$@"}'='"$@"'
269
288
  setopt NO_GLOB_SUBST
343
362
 
344
363
      if test "x$CONFIG_SHELL" != x; then
345
364
  for as_var in BASH_ENV ENV
346
 
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
 
        done
348
 
        export CONFIG_SHELL
349
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
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+"$@"}
350
369
fi
351
370
 
352
371
 
415
434
 
416
435
test \$exitcode = 0") || {
417
436
  echo No shell found that supports shell functions.
418
 
  echo Please tell autoconf@gnu.org about your system,
419
 
  echo including any error possibly output before this
420
 
  echo message
 
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.
421
441
}
422
442
 
423
443
 
453
473
      s/-\n.*//
454
474
    ' >$as_me.lineno &&
455
475
  chmod +x "$as_me.lineno" ||
456
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
477
   { (exit 1); exit 1; }; }
458
478
 
459
479
  # Don't try to exec as it changes $[0], causing all sort of problems
481
501
*)
482
502
  ECHO_N='-n';;
483
503
esac
484
 
 
485
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
506
  as_expr=expr
494
513
  rm -f conf$$.dir/conf$$.file
495
514
else
496
515
  rm -f conf$$.dir
497
 
  mkdir conf$$.dir
 
516
  mkdir conf$$.dir 2>/dev/null
498
517
fi
499
 
echo >conf$$.file
500
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
501
 
  as_ln_s='ln -s'
502
 
  # ... but there are two gotchas:
503
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
 
  # In both cases, we have to default to `cp -p'.
506
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
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
507
530
    as_ln_s='cp -p'
508
 
elif ln conf$$.file conf$$ 2>/dev/null; then
509
 
  as_ln_s=ln
 
531
  fi
510
532
else
511
533
  as_ln_s='cp -p'
512
534
fi
531
553
  as_test_x='
532
554
    eval sh -c '\''
533
555
      if test -d "$1"; then
534
 
        test -d "$1/.";
 
556
        test -d "$1/.";
535
557
      else
536
558
        case $1 in
537
 
        -*)set "./$1";;
 
559
        -*)set "./$1";;
538
560
        esac;
539
561
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
562
        ???[sx]*):;;*)false;;esac;fi
555
577
# Check that we are running under the correct shell.
556
578
SHELL=${CONFIG_SHELL-/bin/sh}
557
579
 
558
 
case X$ECHO in
 
580
case X$lt_ECHO in
559
581
X*--fallback-echo)
560
582
  # Remove one level of quotation (which was required for Make).
561
 
  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
 
583
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
562
584
  ;;
563
585
esac
564
586
 
565
 
echo=${ECHO-echo}
 
587
ECHO=${lt_ECHO-echo}
566
588
if test "X$1" = X--no-reexec; then
567
589
  # Discard the --no-reexec flag, and continue.
568
590
  shift
569
591
elif test "X$1" = X--fallback-echo; then
570
592
  # Avoid inline document here, it may be left over
571
593
  :
572
 
elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
573
 
  # Yippee, $echo works!
 
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
 
595
  # Yippee, $ECHO works!
574
596
  :
575
597
else
576
598
  # Restart under the correct shell.
580
602
if test "X$1" = X--fallback-echo; then
581
603
  # used as fallback echo
582
604
  shift
583
 
  cat <<EOF
 
605
  cat <<_LT_EOF
584
606
$*
585
 
EOF
 
607
_LT_EOF
586
608
  exit 0
587
609
fi
588
610
 
590
612
# if CDPATH is set.
591
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
614
 
593
 
if test -z "$ECHO"; then
594
 
if test "X${echo_test_string+set}" != Xset; then
595
 
# find a string as large as possible, as long as the shell can cope with it
596
 
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598
 
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
599
 
       echo_test_string=`eval $cmd` &&
600
 
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
601
 
    then
602
 
      break
603
 
    fi
604
 
  done
605
 
fi
606
 
 
607
 
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
608
 
   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
609
 
   test "X$echo_testing_string" = "X$echo_test_string"; then
610
 
  :
611
 
else
612
 
  # The Solaris, AIX, and Digital Unix default echo programs unquote
613
 
  # backslashes.  This makes it impossible to quote backslashes using
614
 
  #   echo "$something" | sed 's/\\/\\\\/g'
615
 
  #
616
 
  # So, first we look for a working echo in the user's PATH.
617
 
 
618
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
619
 
  for dir in $PATH /usr/ucb; do
 
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
620
650
    IFS="$lt_save_ifs"
621
 
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
622
 
       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
623
 
       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
624
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
625
 
      echo="$dir/echo"
626
 
      break
627
 
    fi
628
 
  done
629
 
  IFS="$lt_save_ifs"
630
651
 
631
 
  if test "X$echo" = Xecho; then
632
 
    # We didn't find a better echo, so look for alternatives.
633
 
    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
634
 
       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
635
 
       test "X$echo_testing_string" = "X$echo_test_string"; then
636
 
      # This shell has a builtin print -r that does the trick.
637
 
      echo='print -r'
638
 
    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
639
 
         test "X$CONFIG_SHELL" != X/bin/ksh; then
640
 
      # If we have ksh, try running configure again with it.
641
 
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
642
 
      export ORIGINAL_CONFIG_SHELL
643
 
      CONFIG_SHELL=/bin/ksh
644
 
      export CONFIG_SHELL
645
 
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
646
 
    else
647
 
      # Try using printf.
648
 
      echo='printf %s\n'
649
 
      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
650
 
         echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
651
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
652
 
        # Cool, printf works
653
 
        :
654
 
      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
655
 
           test "X$echo_testing_string" = 'X\t' &&
656
 
           echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
657
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
658
 
        CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659
 
        export CONFIG_SHELL
660
 
        SHELL="$CONFIG_SHELL"
661
 
        export SHELL
662
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
663
 
      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
664
 
           test "X$echo_testing_string" = 'X\t' &&
665
 
           echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
666
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
667
 
        echo="$CONFIG_SHELL $0 --fallback-echo"
 
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+"$@"}
668
667
      else
669
 
        # maybe with a smaller string...
670
 
        prev=:
671
 
 
672
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
673
 
          if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
674
 
          then
675
 
            break
 
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
676
708
          fi
677
 
          prev="$cmd"
678
 
        done
679
 
 
680
 
        if test "$prev" != 'sed 50q "$0"'; then
681
 
          echo_test_string=`eval $prev`
682
 
          export echo_test_string
683
 
          exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684
 
        else
685
 
          # Oops.  We lost completely, so just stick with echo.
686
 
          echo=echo
687
 
        fi
 
709
        fi
688
710
      fi
689
711
    fi
690
712
  fi
691
713
fi
692
 
fi
693
714
 
694
715
# Copy echo and quote the copy suitably for passing to libtool from
695
716
# the Makefile, instead of quoting the original, which is used later.
696
 
ECHO=$echo
697
 
if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
698
 
   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
 
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"
699
720
fi
700
721
 
701
722
 
702
723
 
703
724
 
704
 
tagnames=${tagnames+${tagnames},}CXX
705
 
 
706
 
tagnames=${tagnames+${tagnames},}F77
707
 
 
708
725
exec 7<&0 </dev/null 6>&1
709
726
 
710
727
# Name of the host.
728
745
# Identity of this package.
729
746
PACKAGE_NAME='guile-readline'
730
747
PACKAGE_TARNAME='guile-readline'
731
 
PACKAGE_VERSION='1.8.5'
732
 
PACKAGE_STRING='guile-readline 1.8.5'
 
748
PACKAGE_VERSION='1.8.6'
 
749
PACKAGE_STRING='guile-readline 1.8.6'
733
750
PACKAGE_BUGREPORT='bug-guile@gnu.org'
734
751
 
735
752
ac_unique_file="readline.c"
769
786
# include <unistd.h>
770
787
#endif"
771
788
 
772
 
ac_subst_vars='SHELL
773
 
PATH_SEPARATOR
774
 
PACKAGE_NAME
775
 
PACKAGE_TARNAME
776
 
PACKAGE_VERSION
777
 
PACKAGE_STRING
778
 
PACKAGE_BUGREPORT
779
 
exec_prefix
780
 
prefix
781
 
program_transform_name
782
 
bindir
783
 
sbindir
784
 
libexecdir
785
 
datarootdir
786
 
datadir
787
 
sysconfdir
788
 
sharedstatedir
789
 
localstatedir
790
 
includedir
791
 
oldincludedir
792
 
docdir
793
 
infodir
794
 
htmldir
795
 
dvidir
796
 
pdfdir
797
 
psdir
798
 
libdir
799
 
localedir
800
 
mandir
801
 
DEFS
802
 
ECHO_C
803
 
ECHO_N
804
 
ECHO_T
805
 
LIBS
806
 
build_alias
807
 
host_alias
808
 
target_alias
809
 
INSTALL_PROGRAM
810
 
INSTALL_SCRIPT
811
 
INSTALL_DATA
812
 
am__isrc
813
 
CYGPATH_W
814
 
PACKAGE
815
 
VERSION
816
 
ACLOCAL
817
 
AUTOCONF
818
 
AUTOMAKE
819
 
AUTOHEADER
820
 
MAKEINFO
821
 
install_sh
822
 
STRIP
823
 
INSTALL_STRIP_PROGRAM
824
 
mkdir_p
825
 
AWK
826
 
SET_MAKE
827
 
am__leading_dot
828
 
AMTAR
829
 
am__tar
830
 
am__untar
831
 
CC
832
 
CFLAGS
833
 
LDFLAGS
834
 
CPPFLAGS
835
 
ac_ct_CC
836
 
EXEEXT
837
 
OBJEXT
838
 
DEPDIR
839
 
am__include
840
 
am__quote
841
 
AMDEP_TRUE
842
 
AMDEP_FALSE
843
 
AMDEPBACKSLASH
844
 
CCDEPMODE
845
 
am__fastdepCC_TRUE
846
 
am__fastdepCC_FALSE
847
 
build
848
 
build_cpu
849
 
build_vendor
850
 
build_os
851
 
host
852
 
host_cpu
853
 
host_vendor
854
 
host_os
 
789
ac_subst_vars='LTLIBOBJS
 
790
LIBOBJS
 
791
GUILE_EFFECTIVE_VERSION
 
792
LIBGUILEREADLINE_INTERFACE
 
793
LIBGUILEREADLINE_INTERFACE_AGE
 
794
LIBGUILEREADLINE_INTERFACE_REVISION
 
795
LIBGUILEREADLINE_INTERFACE_CURRENT
 
796
LIBGUILEREADLINE_MAJOR
 
797
EXTRA_DEFS
 
798
CPP
 
799
OTOOL64
 
800
OTOOL
 
801
LIPO
 
802
NMEDIT
 
803
DSYMUTIL
 
804
lt_ECHO
 
805
RANLIB
 
806
AR
 
807
LN_S
 
808
NM
 
809
ac_ct_DUMPBIN
 
810
DUMPBIN
 
811
LD
 
812
FGREP
 
813
EGREP
 
814
GREP
855
815
SED
856
 
GREP
857
 
EGREP
858
 
LN_S
859
 
ECHO
860
 
AR
861
 
RANLIB
862
 
DSYMUTIL
863
 
NMEDIT
 
816
LIBTOOL
 
817
OBJDUMP
864
818
DLLTOOL
865
819
AS
866
 
OBJDUMP
867
 
CPP
868
 
CXX
869
 
CXXFLAGS
870
 
ac_ct_CXX
871
 
CXXDEPMODE
872
 
am__fastdepCXX_TRUE
873
 
am__fastdepCXX_FALSE
874
 
CXXCPP
875
 
F77
876
 
FFLAGS
877
 
ac_ct_F77
878
 
LIBTOOL
879
 
EXTRA_DEFS
880
 
LIBGUILEREADLINE_MAJOR
881
 
LIBGUILEREADLINE_INTERFACE_CURRENT
882
 
LIBGUILEREADLINE_INTERFACE_REVISION
883
 
LIBGUILEREADLINE_INTERFACE_AGE
884
 
LIBGUILEREADLINE_INTERFACE
885
 
GUILE_EFFECTIVE_VERSION
886
 
LIBOBJS
887
 
LTLIBOBJS'
 
820
host_os
 
821
host_vendor
 
822
host_cpu
 
823
host
 
824
build_os
 
825
build_vendor
 
826
build_cpu
 
827
build
 
828
am__fastdepCC_FALSE
 
829
am__fastdepCC_TRUE
 
830
CCDEPMODE
 
831
AMDEPBACKSLASH
 
832
AMDEP_FALSE
 
833
AMDEP_TRUE
 
834
am__quote
 
835
am__include
 
836
DEPDIR
 
837
OBJEXT
 
838
EXEEXT
 
839
ac_ct_CC
 
840
CPPFLAGS
 
841
LDFLAGS
 
842
CFLAGS
 
843
CC
 
844
am__untar
 
845
am__tar
 
846
AMTAR
 
847
am__leading_dot
 
848
SET_MAKE
 
849
AWK
 
850
mkdir_p
 
851
MKDIR_P
 
852
INSTALL_STRIP_PROGRAM
 
853
STRIP
 
854
install_sh
 
855
MAKEINFO
 
856
AUTOHEADER
 
857
AUTOMAKE
 
858
AUTOCONF
 
859
ACLOCAL
 
860
VERSION
 
861
PACKAGE
 
862
CYGPATH_W
 
863
am__isrc
 
864
INSTALL_DATA
 
865
INSTALL_SCRIPT
 
866
INSTALL_PROGRAM
 
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'
888
904
ac_subst_files=''
 
905
ac_user_opts='
 
906
enable_option_checking
 
907
enable_dependency_tracking
 
908
enable_shared
 
909
enable_static
 
910
with_pic
 
911
enable_fast_install
 
912
with_gnu_ld
 
913
enable_libtool_lock
 
914
'
889
915
      ac_precious_vars='build_alias
890
916
host_alias
891
917
target_alias
894
920
LDFLAGS
895
921
LIBS
896
922
CPPFLAGS
897
 
CPP
898
 
CXX
899
 
CXXFLAGS
900
 
CCC
901
 
CXXCPP
902
 
F77
903
 
FFLAGS'
 
923
CPP'
904
924
 
905
925
 
906
926
# Initialize some variables set by options.
907
927
ac_init_help=
908
928
ac_init_version=false
 
929
ac_unrecognized_opts=
 
930
ac_unrecognized_sep=
909
931
# The variables have the same names as the options, with
910
932
# dashes changed to underlines.
911
933
cache_file=/dev/null
1004
1026
    datarootdir=$ac_optarg ;;
1005
1027
 
1006
1028
  -disable-* | --disable-*)
1007
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1029
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1008
1030
    # Reject names that are not valid shell variable names.
1009
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1010
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1031
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1032
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1011
1033
   { (exit 1); exit 1; }; }
1012
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1013
 
    eval enable_$ac_feature=no ;;
 
1034
    ac_useropt_orig=$ac_useropt
 
1035
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1036
    case $ac_user_opts in
 
1037
      *"
 
1038
"enable_$ac_useropt"
 
1039
"*) ;;
 
1040
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1041
         ac_unrecognized_sep=', ';;
 
1042
    esac
 
1043
    eval enable_$ac_useropt=no ;;
1014
1044
 
1015
1045
  -docdir | --docdir | --docdi | --doc | --do)
1016
1046
    ac_prev=docdir ;;
1023
1053
    dvidir=$ac_optarg ;;
1024
1054
 
1025
1055
  -enable-* | --enable-*)
1026
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1056
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027
1057
    # Reject names that are not valid shell variable names.
1028
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1029
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1058
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1059
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1030
1060
   { (exit 1); exit 1; }; }
1031
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1032
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1061
    ac_useropt_orig=$ac_useropt
 
1062
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1063
    case $ac_user_opts in
 
1064
      *"
 
1065
"enable_$ac_useropt"
 
1066
"*) ;;
 
1067
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1068
         ac_unrecognized_sep=', ';;
 
1069
    esac
 
1070
    eval enable_$ac_useropt=\$ac_optarg ;;
1033
1071
 
1034
1072
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1035
1073
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1220
1258
    ac_init_version=: ;;
1221
1259
 
1222
1260
  -with-* | --with-*)
1223
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1261
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1224
1262
    # Reject names that are not valid shell variable names.
1225
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1226
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1263
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1264
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1227
1265
   { (exit 1); exit 1; }; }
1228
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1229
 
    eval with_$ac_package=\$ac_optarg ;;
 
1266
    ac_useropt_orig=$ac_useropt
 
1267
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1268
    case $ac_user_opts in
 
1269
      *"
 
1270
"with_$ac_useropt"
 
1271
"*) ;;
 
1272
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1273
         ac_unrecognized_sep=', ';;
 
1274
    esac
 
1275
    eval with_$ac_useropt=\$ac_optarg ;;
1230
1276
 
1231
1277
  -without-* | --without-*)
1232
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1278
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1233
1279
    # Reject names that are not valid shell variable names.
1234
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1235
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1280
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1281
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1236
1282
   { (exit 1); exit 1; }; }
1237
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1238
 
    eval with_$ac_package=no ;;
 
1283
    ac_useropt_orig=$ac_useropt
 
1284
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1285
    case $ac_user_opts in
 
1286
      *"
 
1287
"with_$ac_useropt"
 
1288
"*) ;;
 
1289
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1290
         ac_unrecognized_sep=', ';;
 
1291
    esac
 
1292
    eval with_$ac_useropt=no ;;
1239
1293
 
1240
1294
  --x)
1241
1295
    # Obsolete; use --with-x.
1255
1309
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1256
1310
    x_libraries=$ac_optarg ;;
1257
1311
 
1258
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1312
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1259
1313
Try \`$0 --help' for more information." >&2
1260
1314
   { (exit 1); exit 1; }; }
1261
1315
    ;;
1264
1318
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1265
1319
    # Reject names that are not valid shell variable names.
1266
1320
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1267
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1321
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1268
1322
   { (exit 1); exit 1; }; }
1269
1323
    eval $ac_envvar=\$ac_optarg
1270
1324
    export $ac_envvar ;;
1271
1325
 
1272
1326
  *)
1273
1327
    # FIXME: should be removed in autoconf 3.0.
1274
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1328
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1275
1329
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1276
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1330
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1277
1331
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1278
1332
    ;;
1279
1333
 
1282
1336
 
1283
1337
if test -n "$ac_prev"; then
1284
1338
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1285
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1339
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1286
1340
   { (exit 1); exit 1; }; }
1287
1341
fi
1288
1342
 
1289
 
# Be sure to have absolute directory names.
 
1343
if test -n "$ac_unrecognized_opts"; then
 
1344
  case $enable_option_checking in
 
1345
    no) ;;
 
1346
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1347
   { (exit 1); exit 1; }; } ;;
 
1348
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1349
  esac
 
1350
fi
 
1351
 
 
1352
# Check all directory arguments for consistency.
1290
1353
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1291
1354
                datadir sysconfdir sharedstatedir localstatedir includedir \
1292
1355
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1293
1356
                libdir localedir mandir
1294
1357
do
1295
1358
  eval ac_val=\$$ac_var
 
1359
  # Remove trailing slashes.
 
1360
  case $ac_val in
 
1361
    */ )
 
1362
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1363
      eval $ac_var=\$ac_val;;
 
1364
  esac
 
1365
  # Be sure to have absolute directory names.
1296
1366
  case $ac_val in
1297
1367
    [\\/$]* | ?:[\\/]* )  continue;;
1298
1368
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1299
1369
  esac
1300
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1370
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1301
1371
   { (exit 1); exit 1; }; }
1302
1372
done
1303
1373
 
1312
1382
if test "x$host_alias" != x; then
1313
1383
  if test "x$build_alias" = x; then
1314
1384
    cross_compiling=maybe
1315
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1385
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1316
1386
    If a cross compiler is detected then cross compile mode will be used." >&2
1317
1387
  elif test "x$build_alias" != "x$host_alias"; then
1318
1388
    cross_compiling=yes
1328
1398
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1329
1399
ac_ls_di=`ls -di .` &&
1330
1400
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1331
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1401
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1332
1402
   { (exit 1); exit 1; }; }
1333
1403
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1404
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1335
1405
   { (exit 1); exit 1; }; }
1336
1406
 
1337
1407
 
1339
1409
if test -z "$srcdir"; then
1340
1410
  ac_srcdir_defaulted=yes
1341
1411
  # Try the directory containing this script, then the parent directory.
1342
 
  ac_confdir=`$as_dirname -- "$0" ||
1343
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1344
 
         X"$0" : 'X\(//\)[^/]' \| \
1345
 
         X"$0" : 'X\(//\)$' \| \
1346
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1347
 
echo X"$0" |
 
1412
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1413
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1414
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1415
         X"$as_myself" : 'X\(//\)$' \| \
 
1416
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1417
$as_echo X"$as_myself" |
1348
1418
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1349
1419
            s//\1/
1350
1420
            q
1371
1441
fi
1372
1442
if test ! -r "$srcdir/$ac_unique_file"; then
1373
1443
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1374
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1444
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1375
1445
   { (exit 1); exit 1; }; }
1376
1446
fi
1377
1447
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1378
1448
ac_abs_confdir=`(
1379
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1449
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1380
1450
   { (exit 1); exit 1; }; }
1381
1451
        pwd)`
1382
1452
# When building in place, set srcdir=.
1403
1473
  # Omit some internal or obsolete options to make the list less imposing.
1404
1474
  # This message is too long to be a string in the A/UX 3.1 sh.
1405
1475
  cat <<_ACEOF
1406
 
\`configure' configures guile-readline 1.8.5 to adapt to many kinds of systems.
 
1476
\`configure' configures guile-readline 1.8.6 to adapt to many kinds of systems.
1407
1477
 
1408
1478
Usage: $0 [OPTION]... [VAR=VALUE]...
1409
1479
 
1425
1495
 
1426
1496
Installation directories:
1427
1497
  --prefix=PREFIX         install architecture-independent files in PREFIX
1428
 
                          [$ac_default_prefix]
 
1498
                          [$ac_default_prefix]
1429
1499
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1430
 
                          [PREFIX]
 
1500
                          [PREFIX]
1431
1501
 
1432
1502
By default, \`make install' will install all the files in
1433
1503
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1437
1507
For better control, use the options below.
1438
1508
 
1439
1509
Fine tuning of the installation directories:
1440
 
  --bindir=DIR           user executables [EPREFIX/bin]
1441
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1442
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1443
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1444
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1445
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1446
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1447
 
  --includedir=DIR       C header files [PREFIX/include]
1448
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1449
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1450
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1451
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1452
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1453
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1454
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/guile-readline]
1455
 
  --htmldir=DIR          html documentation [DOCDIR]
1456
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1457
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1458
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1510
  --bindir=DIR            user executables [EPREFIX/bin]
 
1511
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1512
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1513
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1514
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1515
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1516
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1517
  --includedir=DIR        C header files [PREFIX/include]
 
1518
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1519
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1520
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1521
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1522
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1523
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1524
  --docdir=DIR            documentation root [DATAROOTDIR/doc/guile-readline]
 
1525
  --htmldir=DIR           html documentation [DOCDIR]
 
1526
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1527
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1528
  --psdir=DIR             ps documentation [DOCDIR]
1459
1529
_ACEOF
1460
1530
 
1461
1531
  cat <<\_ACEOF
1473
1543
 
1474
1544
if test -n "$ac_init_help"; then
1475
1545
  case $ac_init_help in
1476
 
     short | recursive ) echo "Configuration of guile-readline 1.8.5:";;
 
1546
     short | recursive ) echo "Configuration of guile-readline 1.8.6:";;
1477
1547
   esac
1478
1548
  cat <<\_ACEOF
1479
1549
 
1480
1550
Optional Features:
 
1551
  --disable-option-checking  ignore unrecognized --enable/--with options
1481
1552
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1482
1553
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1483
1554
  --disable-dependency-tracking  speeds up one-time build
1491
1562
Optional Packages:
1492
1563
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1493
1564
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1494
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1495
1565
  --with-pic              try to use only PIC/non-PIC objects [default=use
1496
1566
                          both]
1497
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1567
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1498
1568
 
1499
1569
Some influential environment variables:
1500
1570
  CC          C compiler command
1505
1575
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1506
1576
              you have headers in a nonstandard directory <include dir>
1507
1577
  CPP         C preprocessor
1508
 
  CXX         C++ compiler command
1509
 
  CXXFLAGS    C++ compiler flags
1510
 
  CXXCPP      C++ preprocessor
1511
 
  F77         Fortran 77 compiler command
1512
 
  FFLAGS      Fortran 77 compiler flags
1513
1578
 
1514
1579
Use these variables to override the choices made by `configure' or to help
1515
1580
it to find libraries and programs with nonstandard names/locations.
1522
1587
if test "$ac_init_help" = "recursive"; then
1523
1588
  # If there are subdirs, report their specific --help.
1524
1589
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1525
 
    test -d "$ac_dir" || continue
 
1590
    test -d "$ac_dir" ||
 
1591
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1592
      continue
1526
1593
    ac_builddir=.
1527
1594
 
1528
1595
case "$ac_dir" in
1529
1596
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530
1597
*)
1531
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1598
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1532
1599
  # A ".." for each directory in $ac_dir_suffix.
1533
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1600
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1534
1601
  case $ac_top_builddir_sub in
1535
1602
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536
1603
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1566
1633
      echo &&
1567
1634
      $SHELL "$ac_srcdir/configure" --help=recursive
1568
1635
    else
1569
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1636
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570
1637
    fi || ac_status=$?
1571
1638
    cd "$ac_pwd" || { ac_status=$?; break; }
1572
1639
  done
1575
1642
test -n "$ac_init_help" && exit $ac_status
1576
1643
if $ac_init_version; then
1577
1644
  cat <<\_ACEOF
1578
 
guile-readline configure 1.8.5
1579
 
generated by GNU Autoconf 2.61
 
1645
guile-readline configure 1.8.6
 
1646
generated by GNU Autoconf 2.63
1580
1647
 
1581
1648
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1582
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1649
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1583
1650
This configure script is free software; the Free Software Foundation
1584
1651
gives unlimited permission to copy, distribute and modify it.
1585
1652
_ACEOF
1589
1656
This file contains any messages produced by compilers while
1590
1657
running configure, to aid debugging if configure makes a mistake.
1591
1658
 
1592
 
It was created by guile-readline $as_me 1.8.5, which was
1593
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1659
It was created by guile-readline $as_me 1.8.6, which was
 
1660
generated by GNU Autoconf 2.63.  Invocation command line was
1594
1661
 
1595
1662
  $ $0 $@
1596
1663
 
1626
1693
do
1627
1694
  IFS=$as_save_IFS
1628
1695
  test -z "$as_dir" && as_dir=.
1629
 
  echo "PATH: $as_dir"
 
1696
  $as_echo "PATH: $as_dir"
1630
1697
done
1631
1698
IFS=$as_save_IFS
1632
1699
 
1661
1728
    | -silent | --silent | --silen | --sile | --sil)
1662
1729
      continue ;;
1663
1730
    *\'*)
1664
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1731
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1665
1732
    esac
1666
1733
    case $ac_pass in
1667
1734
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1713
1780
    case $ac_val in #(
1714
1781
    *${as_nl}*)
1715
1782
      case $ac_var in #(
1716
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1717
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
1783
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1784
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1718
1785
      esac
1719
1786
      case $ac_var in #(
1720
1787
      _ | IFS | as_nl) ;; #(
 
1788
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1721
1789
      *) $as_unset $ac_var ;;
1722
1790
      esac ;;
1723
1791
    esac
1747
1815
    do
1748
1816
      eval ac_val=\$$ac_var
1749
1817
      case $ac_val in
1750
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1818
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1751
1819
      esac
1752
 
      echo "$ac_var='\''$ac_val'\''"
 
1820
      $as_echo "$ac_var='\''$ac_val'\''"
1753
1821
    done | sort
1754
1822
    echo
1755
1823
 
1764
1832
      do
1765
1833
        eval ac_val=\$$ac_var
1766
1834
        case $ac_val in
1767
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1835
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1768
1836
        esac
1769
 
        echo "$ac_var='\''$ac_val'\''"
 
1837
        $as_echo "$ac_var='\''$ac_val'\''"
1770
1838
      done | sort
1771
1839
      echo
1772
1840
    fi
1782
1850
      echo
1783
1851
    fi
1784
1852
    test "$ac_signal" != 0 &&
1785
 
      echo "$as_me: caught signal $ac_signal"
1786
 
    echo "$as_me: exit $exit_status"
 
1853
      $as_echo "$as_me: caught signal $ac_signal"
 
1854
    $as_echo "$as_me: exit $exit_status"
1787
1855
  } >&5
1788
1856
  rm -f core *.core core.conftest.* &&
1789
1857
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1825
1893
 
1826
1894
 
1827
1895
# Let the site file select an alternate cache file if it wants to.
1828
 
# Prefer explicitly selected file to automatically selected ones.
 
1896
# Prefer an explicitly selected file to automatically selected ones.
 
1897
ac_site_file1=NONE
 
1898
ac_site_file2=NONE
1829
1899
if test -n "$CONFIG_SITE"; then
1830
 
  set x "$CONFIG_SITE"
 
1900
  ac_site_file1=$CONFIG_SITE
1831
1901
elif test "x$prefix" != xNONE; then
1832
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1902
  ac_site_file1=$prefix/share/config.site
 
1903
  ac_site_file2=$prefix/etc/config.site
1833
1904
else
1834
 
  set x "$ac_default_prefix/share/config.site" \
1835
 
        "$ac_default_prefix/etc/config.site"
 
1905
  ac_site_file1=$ac_default_prefix/share/config.site
 
1906
  ac_site_file2=$ac_default_prefix/etc/config.site
1836
1907
fi
1837
 
shift
1838
 
for ac_site_file
 
1908
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1839
1909
do
 
1910
  test "x$ac_site_file" = xNONE && continue
1840
1911
  if test -r "$ac_site_file"; then
1841
 
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1842
 
echo "$as_me: loading site script $ac_site_file" >&6;}
 
1912
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1913
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1843
1914
    sed 's/^/| /' "$ac_site_file" >&5
1844
1915
    . "$ac_site_file"
1845
1916
  fi
1849
1920
  # Some versions of bash will fail to source /dev/null (special
1850
1921
  # files actually), so we avoid doing that.
1851
1922
  if test -f "$cache_file"; then
1852
 
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1853
 
echo "$as_me: loading cache $cache_file" >&6;}
 
1923
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1924
$as_echo "$as_me: loading cache $cache_file" >&6;}
1854
1925
    case $cache_file in
1855
1926
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1856
1927
      *)                      . "./$cache_file";;
1857
1928
    esac
1858
1929
  fi
1859
1930
else
1860
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1861
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1931
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1932
$as_echo "$as_me: creating cache $cache_file" >&6;}
1862
1933
  >$cache_file
1863
1934
fi
1864
1935
 
1872
1943
  eval ac_new_val=\$ac_env_${ac_var}_value
1873
1944
  case $ac_old_set,$ac_new_set in
1874
1945
    set,)
1875
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1876
 
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
1946
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1947
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1877
1948
      ac_cache_corrupted=: ;;
1878
1949
    ,set)
1879
 
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1880
 
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
1950
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1951
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1881
1952
      ac_cache_corrupted=: ;;
1882
1953
    ,);;
1883
1954
    *)
1884
1955
      if test "x$ac_old_val" != "x$ac_new_val"; then
1885
 
        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1886
 
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1887
 
        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1888
 
echo "$as_me:   former value:  $ac_old_val" >&2;}
1889
 
        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1890
 
echo "$as_me:   current value: $ac_new_val" >&2;}
1891
 
        ac_cache_corrupted=:
 
1956
        # differences in whitespace do not lead to failure.
 
1957
        ac_old_val_w=`echo x $ac_old_val`
 
1958
        ac_new_val_w=`echo x $ac_new_val`
 
1959
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1960
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1961
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1962
          ac_cache_corrupted=:
 
1963
        else
 
1964
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1965
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1966
          eval $ac_var=\$ac_old_val
 
1967
        fi
 
1968
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1969
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1970
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1971
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1892
1972
      fi;;
1893
1973
  esac
1894
1974
  # Pass precious variables to config.status.
1895
1975
  if test "$ac_new_set" = set; then
1896
1976
    case $ac_new_val in
1897
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1977
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1898
1978
    *) ac_arg=$ac_var=$ac_new_val ;;
1899
1979
    esac
1900
1980
    case " $ac_configure_args " in
1904
1984
  fi
1905
1985
done
1906
1986
if $ac_cache_corrupted; then
1907
 
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1908
 
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1909
 
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1910
 
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
 
1987
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1988
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1989
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1990
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1991
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
1992
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1911
1993
   { (exit 1); exit 1; }; }
1912
1994
fi
1913
1995
 
1960
2042
  fi
1961
2043
done
1962
2044
if test -z "$ac_aux_dir"; then
1963
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
1964
 
echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
 
2045
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
 
2046
$as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
1965
2047
   { (exit 1); exit 1; }; }
1966
2048
fi
1967
2049
 
1992
2074
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1993
2075
# OS/2's system install, which has a completely different semantic
1994
2076
# ./install, which can be erroneously created by make from ./install.sh.
1995
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1996
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2077
# Reject install programs that cannot install multiple files.
 
2078
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2079
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1997
2080
if test -z "$INSTALL"; then
1998
2081
if test "${ac_cv_path_install+set}" = set; then
1999
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2082
  $as_echo_n "(cached) " >&6
2000
2083
else
2001
2084
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002
2085
for as_dir in $PATH
2025
2108
            # program-specific install script used by HP pwplus--don't use.
2026
2109
            :
2027
2110
          else
2028
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2029
 
            break 3
 
2111
            rm -rf conftest.one conftest.two conftest.dir
 
2112
            echo one > conftest.one
 
2113
            echo two > conftest.two
 
2114
            mkdir conftest.dir
 
2115
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2116
              test -s conftest.one && test -s conftest.two &&
 
2117
              test -s conftest.dir/conftest.one &&
 
2118
              test -s conftest.dir/conftest.two
 
2119
            then
 
2120
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2121
              break 3
 
2122
            fi
2030
2123
          fi
2031
2124
        fi
2032
2125
      done
2033
2126
    done
2034
2127
    ;;
2035
2128
esac
 
2129
 
2036
2130
done
2037
2131
IFS=$as_save_IFS
2038
2132
 
 
2133
rm -rf conftest.one conftest.two conftest.dir
2039
2134
 
2040
2135
fi
2041
2136
  if test "${ac_cv_path_install+set}" = set; then
2048
2143
    INSTALL=$ac_install_sh
2049
2144
  fi
2050
2145
fi
2051
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2052
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2146
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2147
$as_echo "$INSTALL" >&6; }
2053
2148
 
2054
2149
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2055
2150
# It thinks the first close brace ends the variable substitution.
2059
2154
 
2060
2155
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2061
2156
 
2062
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2063
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2157
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2158
$as_echo_n "checking whether build environment is sane... " >&6; }
2064
2159
# Just in case
2065
2160
sleep 1
2066
2161
echo timestamp > conftest.file
2083
2178
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2084
2179
      # broken ls alias from the environment.  This has actually
2085
2180
      # happened.  Such a system could not be considered "sane".
2086
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2181
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2087
2182
alias in your environment" >&5
2088
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2183
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2089
2184
alias in your environment" >&2;}
2090
2185
   { (exit 1); exit 1; }; }
2091
2186
   fi
2096
2191
   # Ok.
2097
2192
   :
2098
2193
else
2099
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2194
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2100
2195
Check your system clock" >&5
2101
 
echo "$as_me: error: newly created file is older than distributed files!
 
2196
$as_echo "$as_me: error: newly created file is older than distributed files!
2102
2197
Check your system clock" >&2;}
2103
2198
   { (exit 1); exit 1; }; }
2104
2199
fi
2105
 
{ echo "$as_me:$LINENO: result: yes" >&5
2106
 
echo "${ECHO_T}yes" >&6; }
 
2200
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2201
$as_echo "yes" >&6; }
2107
2202
test "$program_prefix" != NONE &&
2108
2203
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2109
2204
# Use a double $ so make ignores it.
2110
2205
test "$program_suffix" != NONE &&
2111
2206
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2112
 
# Double any \ or $.  echo might interpret backslashes.
 
2207
# Double any \ or $.
2113
2208
# By default was `s,x,x', remove it if useless.
2114
 
cat <<\_ACEOF >conftest.sed
2115
 
s/[\\$]/&&/g;s/;s,x,x,$//
2116
 
_ACEOF
2117
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2118
 
rm -f conftest.sed
 
2209
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2210
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2119
2211
 
2120
2212
# expand $ac_aux_dir to an absolute path
2121
2213
am_aux_dir=`cd $ac_aux_dir && pwd`
2126
2218
  am_missing_run="$MISSING --run "
2127
2219
else
2128
2220
  am_missing_run=
2129
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2130
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2221
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2222
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2131
2223
fi
2132
2224
 
2133
 
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2134
 
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2225
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2226
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2135
2227
if test -z "$MKDIR_P"; then
2136
2228
  if test "${ac_cv_path_mkdir+set}" = set; then
2137
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2229
  $as_echo_n "(cached) " >&6
2138
2230
else
2139
2231
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140
2232
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2169
2261
    MKDIR_P="$ac_install_sh -d"
2170
2262
  fi
2171
2263
fi
2172
 
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2173
 
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2264
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2265
$as_echo "$MKDIR_P" >&6; }
2174
2266
 
2175
2267
mkdir_p="$MKDIR_P"
2176
2268
case $mkdir_p in
2182
2274
do
2183
2275
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2184
2276
set dummy $ac_prog; ac_word=$2
2185
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2186
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2277
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2278
$as_echo_n "checking for $ac_word... " >&6; }
2187
2279
if test "${ac_cv_prog_AWK+set}" = set; then
2188
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2280
  $as_echo_n "(cached) " >&6
2189
2281
else
2190
2282
  if test -n "$AWK"; then
2191
2283
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2198
2290
  for ac_exec_ext in '' $ac_executable_extensions; do
2199
2291
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200
2292
    ac_cv_prog_AWK="$ac_prog"
2201
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2293
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202
2294
    break 2
2203
2295
  fi
2204
2296
done
2209
2301
fi
2210
2302
AWK=$ac_cv_prog_AWK
2211
2303
if test -n "$AWK"; then
2212
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2213
 
echo "${ECHO_T}$AWK" >&6; }
 
2304
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2305
$as_echo "$AWK" >&6; }
2214
2306
else
2215
 
  { echo "$as_me:$LINENO: result: no" >&5
2216
 
echo "${ECHO_T}no" >&6; }
 
2307
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2308
$as_echo "no" >&6; }
2217
2309
fi
2218
2310
 
2219
2311
 
2220
2312
  test -n "$AWK" && break
2221
2313
done
2222
2314
 
2223
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2224
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2225
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2315
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2316
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2317
set x ${MAKE-make}
 
2318
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2226
2319
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2320
  $as_echo_n "(cached) " >&6
2228
2321
else
2229
2322
  cat >conftest.make <<\_ACEOF
2230
2323
SHELL = /bin/sh
2241
2334
rm -f conftest.make
2242
2335
fi
2243
2336
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2244
 
  { echo "$as_me:$LINENO: result: yes" >&5
2245
 
echo "${ECHO_T}yes" >&6; }
 
2337
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2338
$as_echo "yes" >&6; }
2246
2339
  SET_MAKE=
2247
2340
else
2248
 
  { echo "$as_me:$LINENO: result: no" >&5
2249
 
echo "${ECHO_T}no" >&6; }
 
2341
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2342
$as_echo "no" >&6; }
2250
2343
  SET_MAKE="MAKE=${MAKE-make}"
2251
2344
fi
2252
2345
 
2265
2358
  am__isrc=' -I$(srcdir)'
2266
2359
  # test to see if srcdir already configured
2267
2360
  if test -f $srcdir/config.status; then
2268
 
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2269
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2361
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2362
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2270
2363
   { (exit 1); exit 1; }; }
2271
2364
  fi
2272
2365
fi
2283
2376
 
2284
2377
# Define the identity of the package.
2285
2378
 PACKAGE='guile-readline'
2286
 
 VERSION='1.8.5'
 
2379
 VERSION='1.8.6'
2287
2380
 
2288
2381
 
2289
2382
# Some tools Automake needs.
2312
2405
  if test -n "$ac_tool_prefix"; then
2313
2406
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2314
2407
set dummy ${ac_tool_prefix}strip; ac_word=$2
2315
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2316
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2408
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2409
$as_echo_n "checking for $ac_word... " >&6; }
2317
2410
if test "${ac_cv_prog_STRIP+set}" = set; then
2318
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2411
  $as_echo_n "(cached) " >&6
2319
2412
else
2320
2413
  if test -n "$STRIP"; then
2321
2414
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2328
2421
  for ac_exec_ext in '' $ac_executable_extensions; do
2329
2422
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2330
2423
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2331
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2424
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2332
2425
    break 2
2333
2426
  fi
2334
2427
done
2339
2432
fi
2340
2433
STRIP=$ac_cv_prog_STRIP
2341
2434
if test -n "$STRIP"; then
2342
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2343
 
echo "${ECHO_T}$STRIP" >&6; }
 
2435
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2436
$as_echo "$STRIP" >&6; }
2344
2437
else
2345
 
  { echo "$as_me:$LINENO: result: no" >&5
2346
 
echo "${ECHO_T}no" >&6; }
 
2438
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2439
$as_echo "no" >&6; }
2347
2440
fi
2348
2441
 
2349
2442
 
2352
2445
  ac_ct_STRIP=$STRIP
2353
2446
  # Extract the first word of "strip", so it can be a program name with args.
2354
2447
set dummy strip; ac_word=$2
2355
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2356
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2448
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2449
$as_echo_n "checking for $ac_word... " >&6; }
2357
2450
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2358
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2451
  $as_echo_n "(cached) " >&6
2359
2452
else
2360
2453
  if test -n "$ac_ct_STRIP"; then
2361
2454
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2368
2461
  for ac_exec_ext in '' $ac_executable_extensions; do
2369
2462
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2370
2463
    ac_cv_prog_ac_ct_STRIP="strip"
2371
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2464
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2372
2465
    break 2
2373
2466
  fi
2374
2467
done
2379
2472
fi
2380
2473
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2381
2474
if test -n "$ac_ct_STRIP"; then
2382
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2383
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2475
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2476
$as_echo "$ac_ct_STRIP" >&6; }
2384
2477
else
2385
 
  { echo "$as_me:$LINENO: result: no" >&5
2386
 
echo "${ECHO_T}no" >&6; }
 
2478
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2479
$as_echo "no" >&6; }
2387
2480
fi
2388
2481
 
2389
2482
  if test "x$ac_ct_STRIP" = x; then
2391
2484
  else
2392
2485
    case $cross_compiling:$ac_tool_warned in
2393
2486
yes:)
2394
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2395
 
whose name does not start with the host triplet.  If you think this
2396
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2397
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2398
 
whose name does not start with the host triplet.  If you think this
2399
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2487
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2488
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2400
2489
ac_tool_warned=yes ;;
2401
2490
esac
2402
2491
    STRIP=$ac_ct_STRIP
2436
2525
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2437
2526
# OS/2's system install, which has a completely different semantic
2438
2527
# ./install, which can be erroneously created by make from ./install.sh.
2439
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2440
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2528
# Reject install programs that cannot install multiple files.
 
2529
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2530
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2441
2531
if test -z "$INSTALL"; then
2442
2532
if test "${ac_cv_path_install+set}" = set; then
2443
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2533
  $as_echo_n "(cached) " >&6
2444
2534
else
2445
2535
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446
2536
for as_dir in $PATH
2469
2559
            # program-specific install script used by HP pwplus--don't use.
2470
2560
            :
2471
2561
          else
2472
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2473
 
            break 3
 
2562
            rm -rf conftest.one conftest.two conftest.dir
 
2563
            echo one > conftest.one
 
2564
            echo two > conftest.two
 
2565
            mkdir conftest.dir
 
2566
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2567
              test -s conftest.one && test -s conftest.two &&
 
2568
              test -s conftest.dir/conftest.one &&
 
2569
              test -s conftest.dir/conftest.two
 
2570
            then
 
2571
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2572
              break 3
 
2573
            fi
2474
2574
          fi
2475
2575
        fi
2476
2576
      done
2477
2577
    done
2478
2578
    ;;
2479
2579
esac
 
2580
 
2480
2581
done
2481
2582
IFS=$as_save_IFS
2482
2583
 
 
2584
rm -rf conftest.one conftest.two conftest.dir
2483
2585
 
2484
2586
fi
2485
2587
  if test "${ac_cv_path_install+set}" = set; then
2492
2594
    INSTALL=$ac_install_sh
2493
2595
  fi
2494
2596
fi
2495
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2496
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2597
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2598
$as_echo "$INSTALL" >&6; }
2497
2599
 
2498
2600
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2499
2601
# It thinks the first close brace ends the variable substitution.
2511
2613
if test -n "$ac_tool_prefix"; then
2512
2614
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2513
2615
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2514
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2515
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2616
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2617
$as_echo_n "checking for $ac_word... " >&6; }
2516
2618
if test "${ac_cv_prog_CC+set}" = set; then
2517
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2619
  $as_echo_n "(cached) " >&6
2518
2620
else
2519
2621
  if test -n "$CC"; then
2520
2622
  ac_cv_prog_CC="$CC" # Let the user override the test.
2527
2629
  for ac_exec_ext in '' $ac_executable_extensions; do
2528
2630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2529
2631
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2530
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2632
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2531
2633
    break 2
2532
2634
  fi
2533
2635
done
2538
2640
fi
2539
2641
CC=$ac_cv_prog_CC
2540
2642
if test -n "$CC"; then
2541
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2542
 
echo "${ECHO_T}$CC" >&6; }
 
2643
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2644
$as_echo "$CC" >&6; }
2543
2645
else
2544
 
  { echo "$as_me:$LINENO: result: no" >&5
2545
 
echo "${ECHO_T}no" >&6; }
 
2646
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2647
$as_echo "no" >&6; }
2546
2648
fi
2547
2649
 
2548
2650
 
2551
2653
  ac_ct_CC=$CC
2552
2654
  # Extract the first word of "gcc", so it can be a program name with args.
2553
2655
set dummy gcc; ac_word=$2
2554
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2555
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2656
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2657
$as_echo_n "checking for $ac_word... " >&6; }
2556
2658
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2557
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2659
  $as_echo_n "(cached) " >&6
2558
2660
else
2559
2661
  if test -n "$ac_ct_CC"; then
2560
2662
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2567
2669
  for ac_exec_ext in '' $ac_executable_extensions; do
2568
2670
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2569
2671
    ac_cv_prog_ac_ct_CC="gcc"
2570
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2672
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2571
2673
    break 2
2572
2674
  fi
2573
2675
done
2578
2680
fi
2579
2681
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2580
2682
if test -n "$ac_ct_CC"; then
2581
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2582
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2683
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2684
$as_echo "$ac_ct_CC" >&6; }
2583
2685
else
2584
 
  { echo "$as_me:$LINENO: result: no" >&5
2585
 
echo "${ECHO_T}no" >&6; }
 
2686
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2687
$as_echo "no" >&6; }
2586
2688
fi
2587
2689
 
2588
2690
  if test "x$ac_ct_CC" = x; then
2590
2692
  else
2591
2693
    case $cross_compiling:$ac_tool_warned in
2592
2694
yes:)
2593
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2594
 
whose name does not start with the host triplet.  If you think this
2595
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2596
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2597
 
whose name does not start with the host triplet.  If you think this
2598
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2695
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2696
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2599
2697
ac_tool_warned=yes ;;
2600
2698
esac
2601
2699
    CC=$ac_ct_CC
2608
2706
          if test -n "$ac_tool_prefix"; then
2609
2707
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2610
2708
set dummy ${ac_tool_prefix}cc; ac_word=$2
2611
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2612
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2709
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2710
$as_echo_n "checking for $ac_word... " >&6; }
2613
2711
if test "${ac_cv_prog_CC+set}" = set; then
2614
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2712
  $as_echo_n "(cached) " >&6
2615
2713
else
2616
2714
  if test -n "$CC"; then
2617
2715
  ac_cv_prog_CC="$CC" # Let the user override the test.
2624
2722
  for ac_exec_ext in '' $ac_executable_extensions; do
2625
2723
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2626
2724
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2627
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2725
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628
2726
    break 2
2629
2727
  fi
2630
2728
done
2635
2733
fi
2636
2734
CC=$ac_cv_prog_CC
2637
2735
if test -n "$CC"; then
2638
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2639
 
echo "${ECHO_T}$CC" >&6; }
 
2736
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2737
$as_echo "$CC" >&6; }
2640
2738
else
2641
 
  { echo "$as_me:$LINENO: result: no" >&5
2642
 
echo "${ECHO_T}no" >&6; }
 
2739
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2740
$as_echo "no" >&6; }
2643
2741
fi
2644
2742
 
2645
2743
 
2648
2746
if test -z "$CC"; then
2649
2747
  # Extract the first word of "cc", so it can be a program name with args.
2650
2748
set dummy cc; ac_word=$2
2651
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2652
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2749
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2750
$as_echo_n "checking for $ac_word... " >&6; }
2653
2751
if test "${ac_cv_prog_CC+set}" = set; then
2654
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2752
  $as_echo_n "(cached) " >&6
2655
2753
else
2656
2754
  if test -n "$CC"; then
2657
2755
  ac_cv_prog_CC="$CC" # Let the user override the test.
2669
2767
       continue
2670
2768
     fi
2671
2769
    ac_cv_prog_CC="cc"
2672
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2770
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673
2771
    break 2
2674
2772
  fi
2675
2773
done
2692
2790
fi
2693
2791
CC=$ac_cv_prog_CC
2694
2792
if test -n "$CC"; then
2695
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2696
 
echo "${ECHO_T}$CC" >&6; }
 
2793
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2794
$as_echo "$CC" >&6; }
2697
2795
else
2698
 
  { echo "$as_me:$LINENO: result: no" >&5
2699
 
echo "${ECHO_T}no" >&6; }
 
2796
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2797
$as_echo "no" >&6; }
2700
2798
fi
2701
2799
 
2702
2800
 
2707
2805
  do
2708
2806
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2709
2807
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2710
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2711
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2808
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2809
$as_echo_n "checking for $ac_word... " >&6; }
2712
2810
if test "${ac_cv_prog_CC+set}" = set; then
2713
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2811
  $as_echo_n "(cached) " >&6
2714
2812
else
2715
2813
  if test -n "$CC"; then
2716
2814
  ac_cv_prog_CC="$CC" # Let the user override the test.
2723
2821
  for ac_exec_ext in '' $ac_executable_extensions; do
2724
2822
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2725
2823
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2726
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2824
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727
2825
    break 2
2728
2826
  fi
2729
2827
done
2734
2832
fi
2735
2833
CC=$ac_cv_prog_CC
2736
2834
if test -n "$CC"; then
2737
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2738
 
echo "${ECHO_T}$CC" >&6; }
 
2835
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2836
$as_echo "$CC" >&6; }
2739
2837
else
2740
 
  { echo "$as_me:$LINENO: result: no" >&5
2741
 
echo "${ECHO_T}no" >&6; }
 
2838
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2839
$as_echo "no" >&6; }
2742
2840
fi
2743
2841
 
2744
2842
 
2751
2849
do
2752
2850
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2753
2851
set dummy $ac_prog; ac_word=$2
2754
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2755
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2852
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2853
$as_echo_n "checking for $ac_word... " >&6; }
2756
2854
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2757
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2855
  $as_echo_n "(cached) " >&6
2758
2856
else
2759
2857
  if test -n "$ac_ct_CC"; then
2760
2858
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2767
2865
  for ac_exec_ext in '' $ac_executable_extensions; do
2768
2866
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2769
2867
    ac_cv_prog_ac_ct_CC="$ac_prog"
2770
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2868
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2771
2869
    break 2
2772
2870
  fi
2773
2871
done
2778
2876
fi
2779
2877
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2780
2878
if test -n "$ac_ct_CC"; then
2781
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2782
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2879
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2880
$as_echo "$ac_ct_CC" >&6; }
2783
2881
else
2784
 
  { echo "$as_me:$LINENO: result: no" >&5
2785
 
echo "${ECHO_T}no" >&6; }
 
2882
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2883
$as_echo "no" >&6; }
2786
2884
fi
2787
2885
 
2788
2886
 
2794
2892
  else
2795
2893
    case $cross_compiling:$ac_tool_warned in
2796
2894
yes:)
2797
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2798
 
whose name does not start with the host triplet.  If you think this
2799
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2800
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2801
 
whose name does not start with the host triplet.  If you think this
2802
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2895
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2896
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2803
2897
ac_tool_warned=yes ;;
2804
2898
esac
2805
2899
    CC=$ac_ct_CC
2809
2903
fi
2810
2904
 
2811
2905
 
2812
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2906
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2907
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2908
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2813
2909
See \`config.log' for more details." >&5
2814
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2910
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2815
2911
See \`config.log' for more details." >&2;}
2816
 
   { (exit 1); exit 1; }; }
 
2912
   { (exit 1); exit 1; }; }; }
2817
2913
 
2818
2914
# Provide some information about the compiler.
2819
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2820
 
ac_compiler=`set X $ac_compile; echo $2`
 
2915
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2916
set X $ac_compile
 
2917
ac_compiler=$2
2821
2918
{ (ac_try="$ac_compiler --version >&5"
2822
2919
case "(($ac_try" in
2823
2920
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824
2921
  *) ac_try_echo=$ac_try;;
2825
2922
esac
2826
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2923
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2924
$as_echo "$ac_try_echo") >&5
2827
2925
  (eval "$ac_compiler --version >&5") 2>&5
2828
2926
  ac_status=$?
2829
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2927
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830
2928
  (exit $ac_status); }
2831
2929
{ (ac_try="$ac_compiler -v >&5"
2832
2930
case "(($ac_try" in
2833
2931
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2834
2932
  *) ac_try_echo=$ac_try;;
2835
2933
esac
2836
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2934
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2935
$as_echo "$ac_try_echo") >&5
2837
2936
  (eval "$ac_compiler -v >&5") 2>&5
2838
2937
  ac_status=$?
2839
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2938
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840
2939
  (exit $ac_status); }
2841
2940
{ (ac_try="$ac_compiler -V >&5"
2842
2941
case "(($ac_try" in
2843
2942
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844
2943
  *) ac_try_echo=$ac_try;;
2845
2944
esac
2846
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2945
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2946
$as_echo "$ac_try_echo") >&5
2847
2947
  (eval "$ac_compiler -V >&5") 2>&5
2848
2948
  ac_status=$?
2849
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2949
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850
2950
  (exit $ac_status); }
2851
2951
 
2852
2952
cat >conftest.$ac_ext <<_ACEOF
2865
2965
}
2866
2966
_ACEOF
2867
2967
ac_clean_files_save=$ac_clean_files
2868
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2968
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2869
2969
# Try to create an executable without -o first, disregard a.out.
2870
2970
# It will help us diagnose broken compilers, and finding out an intuition
2871
2971
# of exeext.
2872
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2873
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2874
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2875
 
#
2876
 
# List of possible output files, starting from the most likely.
2877
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2878
 
# only as a last resort.  b.out is created by i960 compilers.
2879
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2880
 
#
2881
 
# The IRIX 6 linker writes into existing files which may not be
2882
 
# executable, retaining their permissions.  Remove them first so a
2883
 
# subsequent execution test works.
 
2972
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2973
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2974
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2975
 
 
2976
# The possible output files:
 
2977
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2978
 
2884
2979
ac_rmfiles=
2885
2980
for ac_file in $ac_files
2886
2981
do
2887
2982
  case $ac_file in
2888
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2983
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2889
2984
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2890
2985
  esac
2891
2986
done
2896
2991
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2897
2992
  *) ac_try_echo=$ac_try;;
2898
2993
esac
2899
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2994
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2995
$as_echo "$ac_try_echo") >&5
2900
2996
  (eval "$ac_link_default") 2>&5
2901
2997
  ac_status=$?
2902
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2998
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903
2999
  (exit $ac_status); }; then
2904
3000
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2905
3001
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2910
3006
do
2911
3007
  test -f "$ac_file" || continue
2912
3008
  case $ac_file in
2913
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
3009
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2914
3010
        ;;
2915
3011
    [ab].out )
2916
3012
        # We found the default executable, but exeext='' is most
2937
3033
  ac_file=''
2938
3034
fi
2939
3035
 
2940
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2941
 
echo "${ECHO_T}$ac_file" >&6; }
 
3036
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
3037
$as_echo "$ac_file" >&6; }
2942
3038
if test -z "$ac_file"; then
2943
 
  echo "$as_me: failed program was:" >&5
 
3039
  $as_echo "$as_me: failed program was:" >&5
2944
3040
sed 's/^/| /' conftest.$ac_ext >&5
2945
3041
 
2946
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
3042
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3043
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3044
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2947
3045
See \`config.log' for more details." >&5
2948
 
echo "$as_me: error: C compiler cannot create executables
 
3046
$as_echo "$as_me: error: C compiler cannot create executables
2949
3047
See \`config.log' for more details." >&2;}
2950
 
   { (exit 77); exit 77; }; }
 
3048
   { (exit 77); exit 77; }; }; }
2951
3049
fi
2952
3050
 
2953
3051
ac_exeext=$ac_cv_exeext
2954
3052
 
2955
3053
# Check that the compiler produces executables we can run.  If not, either
2956
3054
# the compiler is broken, or we cross compile.
2957
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2958
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
3055
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
3056
$as_echo_n "checking whether the C compiler works... " >&6; }
2959
3057
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2960
3058
# If not cross compiling, check that we can run a simple program.
2961
3059
if test "$cross_compiling" != yes; then
2964
3062
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2965
3063
  *) ac_try_echo=$ac_try;;
2966
3064
esac
2967
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3065
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3066
$as_echo "$ac_try_echo") >&5
2968
3067
  (eval "$ac_try") 2>&5
2969
3068
  ac_status=$?
2970
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3069
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971
3070
  (exit $ac_status); }; }; then
2972
3071
    cross_compiling=no
2973
3072
  else
2974
3073
    if test "$cross_compiling" = maybe; then
2975
3074
        cross_compiling=yes
2976
3075
    else
2977
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3076
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3077
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3078
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2978
3079
If you meant to cross compile, use \`--host'.
2979
3080
See \`config.log' for more details." >&5
2980
 
echo "$as_me: error: cannot run C compiled programs.
 
3081
$as_echo "$as_me: error: cannot run C compiled programs.
2981
3082
If you meant to cross compile, use \`--host'.
2982
3083
See \`config.log' for more details." >&2;}
2983
 
   { (exit 1); exit 1; }; }
 
3084
   { (exit 1); exit 1; }; }; }
2984
3085
    fi
2985
3086
  fi
2986
3087
fi
2987
 
{ echo "$as_me:$LINENO: result: yes" >&5
2988
 
echo "${ECHO_T}yes" >&6; }
 
3088
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3089
$as_echo "yes" >&6; }
2989
3090
 
2990
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3091
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2991
3092
ac_clean_files=$ac_clean_files_save
2992
3093
# Check that the compiler produces executables we can run.  If not, either
2993
3094
# the compiler is broken, or we cross compile.
2994
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2995
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2996
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2997
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3095
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3096
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3097
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3098
$as_echo "$cross_compiling" >&6; }
2998
3099
 
2999
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3000
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3100
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3101
$as_echo_n "checking for suffix of executables... " >&6; }
3001
3102
if { (ac_try="$ac_link"
3002
3103
case "(($ac_try" in
3003
3104
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004
3105
  *) ac_try_echo=$ac_try;;
3005
3106
esac
3006
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3107
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3108
$as_echo "$ac_try_echo") >&5
3007
3109
  (eval "$ac_link") 2>&5
3008
3110
  ac_status=$?
3009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3111
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010
3112
  (exit $ac_status); }; then
3011
3113
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3012
3114
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3015
3117
for ac_file in conftest.exe conftest conftest.*; do
3016
3118
  test -f "$ac_file" || continue
3017
3119
  case $ac_file in
3018
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3120
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3019
3121
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3020
3122
          break;;
3021
3123
    * ) break;;
3022
3124
  esac
3023
3125
done
3024
3126
else
3025
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3127
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3128
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3129
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3026
3130
See \`config.log' for more details." >&5
3027
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3131
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3028
3132
See \`config.log' for more details." >&2;}
3029
 
   { (exit 1); exit 1; }; }
 
3133
   { (exit 1); exit 1; }; }; }
3030
3134
fi
3031
3135
 
3032
3136
rm -f conftest$ac_cv_exeext
3033
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3034
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3137
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3138
$as_echo "$ac_cv_exeext" >&6; }
3035
3139
 
3036
3140
rm -f conftest.$ac_ext
3037
3141
EXEEXT=$ac_cv_exeext
3038
3142
ac_exeext=$EXEEXT
3039
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3040
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3143
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3144
$as_echo_n "checking for suffix of object files... " >&6; }
3041
3145
if test "${ac_cv_objext+set}" = set; then
3042
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3146
  $as_echo_n "(cached) " >&6
3043
3147
else
3044
3148
  cat >conftest.$ac_ext <<_ACEOF
3045
3149
/* confdefs.h.  */
3062
3166
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3063
3167
  *) ac_try_echo=$ac_try;;
3064
3168
esac
3065
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3169
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3170
$as_echo "$ac_try_echo") >&5
3066
3171
  (eval "$ac_compile") 2>&5
3067
3172
  ac_status=$?
3068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3173
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069
3174
  (exit $ac_status); }; then
3070
3175
  for ac_file in conftest.o conftest.obj conftest.*; do
3071
3176
  test -f "$ac_file" || continue;
3072
3177
  case $ac_file in
3073
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3178
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3074
3179
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3075
3180
       break;;
3076
3181
  esac
3077
3182
done
3078
3183
else
3079
 
  echo "$as_me: failed program was:" >&5
 
3184
  $as_echo "$as_me: failed program was:" >&5
3080
3185
sed 's/^/| /' conftest.$ac_ext >&5
3081
3186
 
3082
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3187
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3188
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3189
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3083
3190
See \`config.log' for more details." >&5
3084
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3191
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3085
3192
See \`config.log' for more details." >&2;}
3086
 
   { (exit 1); exit 1; }; }
 
3193
   { (exit 1); exit 1; }; }; }
3087
3194
fi
3088
3195
 
3089
3196
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3090
3197
fi
3091
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3092
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3198
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3199
$as_echo "$ac_cv_objext" >&6; }
3093
3200
OBJEXT=$ac_cv_objext
3094
3201
ac_objext=$OBJEXT
3095
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3096
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3202
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3203
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3097
3204
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3098
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3205
  $as_echo_n "(cached) " >&6
3099
3206
else
3100
3207
  cat >conftest.$ac_ext <<_ACEOF
3101
3208
/* confdefs.h.  */
3121
3228
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122
3229
  *) ac_try_echo=$ac_try;;
3123
3230
esac
3124
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3231
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3232
$as_echo "$ac_try_echo") >&5
3125
3233
  (eval "$ac_compile") 2>conftest.er1
3126
3234
  ac_status=$?
3127
3235
  grep -v '^ *+' conftest.er1 >conftest.err
3128
3236
  rm -f conftest.er1
3129
3237
  cat conftest.err >&5
3130
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3238
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131
3239
  (exit $ac_status); } && {
3132
3240
         test -z "$ac_c_werror_flag" ||
3133
3241
         test ! -s conftest.err
3134
3242
       } && test -s conftest.$ac_objext; then
3135
3243
  ac_compiler_gnu=yes
3136
3244
else
3137
 
  echo "$as_me: failed program was:" >&5
 
3245
  $as_echo "$as_me: failed program was:" >&5
3138
3246
sed 's/^/| /' conftest.$ac_ext >&5
3139
3247
 
3140
3248
        ac_compiler_gnu=no
3144
3252
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3145
3253
 
3146
3254
fi
3147
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3148
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3149
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3255
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3256
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3257
if test $ac_compiler_gnu = yes; then
 
3258
  GCC=yes
 
3259
else
 
3260
  GCC=
 
3261
fi
3150
3262
ac_test_CFLAGS=${CFLAGS+set}
3151
3263
ac_save_CFLAGS=$CFLAGS
3152
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3153
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3264
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3265
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3154
3266
if test "${ac_cv_prog_cc_g+set}" = set; then
3155
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3267
  $as_echo_n "(cached) " >&6
3156
3268
else
3157
3269
  ac_save_c_werror_flag=$ac_c_werror_flag
3158
3270
   ac_c_werror_flag=yes
3179
3291
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180
3292
  *) ac_try_echo=$ac_try;;
3181
3293
esac
3182
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3294
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3295
$as_echo "$ac_try_echo") >&5
3183
3296
  (eval "$ac_compile") 2>conftest.er1
3184
3297
  ac_status=$?
3185
3298
  grep -v '^ *+' conftest.er1 >conftest.err
3186
3299
  rm -f conftest.er1
3187
3300
  cat conftest.err >&5
3188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3301
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189
3302
  (exit $ac_status); } && {
3190
3303
         test -z "$ac_c_werror_flag" ||
3191
3304
         test ! -s conftest.err
3192
3305
       } && test -s conftest.$ac_objext; then
3193
3306
  ac_cv_prog_cc_g=yes
3194
3307
else
3195
 
  echo "$as_me: failed program was:" >&5
 
3308
  $as_echo "$as_me: failed program was:" >&5
3196
3309
sed 's/^/| /' conftest.$ac_ext >&5
3197
3310
 
3198
3311
        CFLAGS=""
3217
3330
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218
3331
  *) ac_try_echo=$ac_try;;
3219
3332
esac
3220
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3333
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3334
$as_echo "$ac_try_echo") >&5
3221
3335
  (eval "$ac_compile") 2>conftest.er1
3222
3336
  ac_status=$?
3223
3337
  grep -v '^ *+' conftest.er1 >conftest.err
3224
3338
  rm -f conftest.er1
3225
3339
  cat conftest.err >&5
3226
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3340
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227
3341
  (exit $ac_status); } && {
3228
3342
         test -z "$ac_c_werror_flag" ||
3229
3343
         test ! -s conftest.err
3230
3344
       } && test -s conftest.$ac_objext; then
3231
3345
  :
3232
3346
else
3233
 
  echo "$as_me: failed program was:" >&5
 
3347
  $as_echo "$as_me: failed program was:" >&5
3234
3348
sed 's/^/| /' conftest.$ac_ext >&5
3235
3349
 
3236
3350
        ac_c_werror_flag=$ac_save_c_werror_flag
3256
3370
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3257
3371
  *) ac_try_echo=$ac_try;;
3258
3372
esac
3259
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3373
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3374
$as_echo "$ac_try_echo") >&5
3260
3375
  (eval "$ac_compile") 2>conftest.er1
3261
3376
  ac_status=$?
3262
3377
  grep -v '^ *+' conftest.er1 >conftest.err
3263
3378
  rm -f conftest.er1
3264
3379
  cat conftest.err >&5
3265
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3380
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266
3381
  (exit $ac_status); } && {
3267
3382
         test -z "$ac_c_werror_flag" ||
3268
3383
         test ! -s conftest.err
3269
3384
       } && test -s conftest.$ac_objext; then
3270
3385
  ac_cv_prog_cc_g=yes
3271
3386
else
3272
 
  echo "$as_me: failed program was:" >&5
 
3387
  $as_echo "$as_me: failed program was:" >&5
3273
3388
sed 's/^/| /' conftest.$ac_ext >&5
3274
3389
 
3275
3390
 
3284
3399
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3285
3400
   ac_c_werror_flag=$ac_save_c_werror_flag
3286
3401
fi
3287
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3288
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3402
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3403
$as_echo "$ac_cv_prog_cc_g" >&6; }
3289
3404
if test "$ac_test_CFLAGS" = set; then
3290
3405
  CFLAGS=$ac_save_CFLAGS
3291
3406
elif test $ac_cv_prog_cc_g = yes; then
3301
3416
    CFLAGS=
3302
3417
  fi
3303
3418
fi
3304
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3305
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3419
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3420
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3306
3421
if test "${ac_cv_prog_cc_c89+set}" = set; then
3307
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3422
  $as_echo_n "(cached) " >&6
3308
3423
else
3309
3424
  ac_cv_prog_cc_c89=no
3310
3425
ac_save_CC=$CC
3375
3490
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376
3491
  *) ac_try_echo=$ac_try;;
3377
3492
esac
3378
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3493
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3494
$as_echo "$ac_try_echo") >&5
3379
3495
  (eval "$ac_compile") 2>conftest.er1
3380
3496
  ac_status=$?
3381
3497
  grep -v '^ *+' conftest.er1 >conftest.err
3382
3498
  rm -f conftest.er1
3383
3499
  cat conftest.err >&5
3384
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3500
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385
3501
  (exit $ac_status); } && {
3386
3502
         test -z "$ac_c_werror_flag" ||
3387
3503
         test ! -s conftest.err
3388
3504
       } && test -s conftest.$ac_objext; then
3389
3505
  ac_cv_prog_cc_c89=$ac_arg
3390
3506
else
3391
 
  echo "$as_me: failed program was:" >&5
 
3507
  $as_echo "$as_me: failed program was:" >&5
3392
3508
sed 's/^/| /' conftest.$ac_ext >&5
3393
3509
 
3394
3510
 
3404
3520
# AC_CACHE_VAL
3405
3521
case "x$ac_cv_prog_cc_c89" in
3406
3522
  x)
3407
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3408
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3523
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3524
$as_echo "none needed" >&6; } ;;
3409
3525
  xno)
3410
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3411
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3526
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3527
$as_echo "unsupported" >&6; } ;;
3412
3528
  *)
3413
3529
    CC="$CC $ac_cv_prog_cc_c89"
3414
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3415
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3530
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3531
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3416
3532
esac
3417
3533
 
3418
3534
 
3433
3549
.PHONY: am__doit
3434
3550
END
3435
3551
# If we don't find an include directive, just comment out the code.
3436
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3437
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3552
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3553
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3438
3554
am__include="#"
3439
3555
am__quote=
3440
3556
_am_result=none
3461
3577
fi
3462
3578
 
3463
3579
 
3464
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3465
 
echo "${ECHO_T}$_am_result" >&6; }
 
3580
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3581
$as_echo "$_am_result" >&6; }
3466
3582
rm -f confinc confmf
3467
3583
 
3468
3584
# Check whether --enable-dependency-tracking was given.
3486
3602
 
3487
3603
depcc="$CC"   am_compiler_list=
3488
3604
 
3489
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3490
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3605
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3606
$as_echo_n "checking dependency style of $depcc... " >&6; }
3491
3607
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3492
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3608
  $as_echo_n "(cached) " >&6
3493
3609
else
3494
3610
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3495
3611
  # We make a subdir and do the tests there.  Otherwise we can end up
3577
3693
fi
3578
3694
 
3579
3695
fi
3580
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3581
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3696
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3697
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3582
3698
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3583
3699
 
3584
3700
 if
3600
3716
if test -n "$ac_tool_prefix"; then
3601
3717
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3602
3718
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3603
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3604
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3719
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3720
$as_echo_n "checking for $ac_word... " >&6; }
3605
3721
if test "${ac_cv_prog_CC+set}" = set; then
3606
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3722
  $as_echo_n "(cached) " >&6
3607
3723
else
3608
3724
  if test -n "$CC"; then
3609
3725
  ac_cv_prog_CC="$CC" # Let the user override the test.
3616
3732
  for ac_exec_ext in '' $ac_executable_extensions; do
3617
3733
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3618
3734
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3619
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3735
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3620
3736
    break 2
3621
3737
  fi
3622
3738
done
3627
3743
fi
3628
3744
CC=$ac_cv_prog_CC
3629
3745
if test -n "$CC"; then
3630
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3631
 
echo "${ECHO_T}$CC" >&6; }
 
3746
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3747
$as_echo "$CC" >&6; }
3632
3748
else
3633
 
  { echo "$as_me:$LINENO: result: no" >&5
3634
 
echo "${ECHO_T}no" >&6; }
 
3749
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3750
$as_echo "no" >&6; }
3635
3751
fi
3636
3752
 
3637
3753
 
3640
3756
  ac_ct_CC=$CC
3641
3757
  # Extract the first word of "gcc", so it can be a program name with args.
3642
3758
set dummy gcc; ac_word=$2
3643
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3644
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3759
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3760
$as_echo_n "checking for $ac_word... " >&6; }
3645
3761
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3646
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3762
  $as_echo_n "(cached) " >&6
3647
3763
else
3648
3764
  if test -n "$ac_ct_CC"; then
3649
3765
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3656
3772
  for ac_exec_ext in '' $ac_executable_extensions; do
3657
3773
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658
3774
    ac_cv_prog_ac_ct_CC="gcc"
3659
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3775
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3660
3776
    break 2
3661
3777
  fi
3662
3778
done
3667
3783
fi
3668
3784
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3669
3785
if test -n "$ac_ct_CC"; then
3670
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3671
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3786
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3787
$as_echo "$ac_ct_CC" >&6; }
3672
3788
else
3673
 
  { echo "$as_me:$LINENO: result: no" >&5
3674
 
echo "${ECHO_T}no" >&6; }
 
3789
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3790
$as_echo "no" >&6; }
3675
3791
fi
3676
3792
 
3677
3793
  if test "x$ac_ct_CC" = x; then
3679
3795
  else
3680
3796
    case $cross_compiling:$ac_tool_warned in
3681
3797
yes:)
3682
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3683
 
whose name does not start with the host triplet.  If you think this
3684
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3685
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3686
 
whose name does not start with the host triplet.  If you think this
3687
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3798
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3799
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3688
3800
ac_tool_warned=yes ;;
3689
3801
esac
3690
3802
    CC=$ac_ct_CC
3697
3809
          if test -n "$ac_tool_prefix"; then
3698
3810
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3699
3811
set dummy ${ac_tool_prefix}cc; ac_word=$2
3700
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3701
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3812
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3813
$as_echo_n "checking for $ac_word... " >&6; }
3702
3814
if test "${ac_cv_prog_CC+set}" = set; then
3703
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3815
  $as_echo_n "(cached) " >&6
3704
3816
else
3705
3817
  if test -n "$CC"; then
3706
3818
  ac_cv_prog_CC="$CC" # Let the user override the test.
3713
3825
  for ac_exec_ext in '' $ac_executable_extensions; do
3714
3826
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715
3827
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3716
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3828
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3717
3829
    break 2
3718
3830
  fi
3719
3831
done
3724
3836
fi
3725
3837
CC=$ac_cv_prog_CC
3726
3838
if test -n "$CC"; then
3727
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3728
 
echo "${ECHO_T}$CC" >&6; }
 
3839
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3840
$as_echo "$CC" >&6; }
3729
3841
else
3730
 
  { echo "$as_me:$LINENO: result: no" >&5
3731
 
echo "${ECHO_T}no" >&6; }
 
3842
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3843
$as_echo "no" >&6; }
3732
3844
fi
3733
3845
 
3734
3846
 
3737
3849
if test -z "$CC"; then
3738
3850
  # Extract the first word of "cc", so it can be a program name with args.
3739
3851
set dummy cc; ac_word=$2
3740
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3741
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3852
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3853
$as_echo_n "checking for $ac_word... " >&6; }
3742
3854
if test "${ac_cv_prog_CC+set}" = set; then
3743
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3855
  $as_echo_n "(cached) " >&6
3744
3856
else
3745
3857
  if test -n "$CC"; then
3746
3858
  ac_cv_prog_CC="$CC" # Let the user override the test.
3758
3870
       continue
3759
3871
     fi
3760
3872
    ac_cv_prog_CC="cc"
3761
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3873
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3762
3874
    break 2
3763
3875
  fi
3764
3876
done
3781
3893
fi
3782
3894
CC=$ac_cv_prog_CC
3783
3895
if test -n "$CC"; then
3784
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3785
 
echo "${ECHO_T}$CC" >&6; }
 
3896
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3897
$as_echo "$CC" >&6; }
3786
3898
else
3787
 
  { echo "$as_me:$LINENO: result: no" >&5
3788
 
echo "${ECHO_T}no" >&6; }
 
3899
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3900
$as_echo "no" >&6; }
3789
3901
fi
3790
3902
 
3791
3903
 
3796
3908
  do
3797
3909
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3798
3910
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3799
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3800
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3911
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3912
$as_echo_n "checking for $ac_word... " >&6; }
3801
3913
if test "${ac_cv_prog_CC+set}" = set; then
3802
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3914
  $as_echo_n "(cached) " >&6
3803
3915
else
3804
3916
  if test -n "$CC"; then
3805
3917
  ac_cv_prog_CC="$CC" # Let the user override the test.
3812
3924
  for ac_exec_ext in '' $ac_executable_extensions; do
3813
3925
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3814
3926
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3815
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3927
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3816
3928
    break 2
3817
3929
  fi
3818
3930
done
3823
3935
fi
3824
3936
CC=$ac_cv_prog_CC
3825
3937
if test -n "$CC"; then
3826
 
  { echo "$as_me:$LINENO: result: $CC" >&5
3827
 
echo "${ECHO_T}$CC" >&6; }
 
3938
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
3939
$as_echo "$CC" >&6; }
3828
3940
else
3829
 
  { echo "$as_me:$LINENO: result: no" >&5
3830
 
echo "${ECHO_T}no" >&6; }
 
3941
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3942
$as_echo "no" >&6; }
3831
3943
fi
3832
3944
 
3833
3945
 
3840
3952
do
3841
3953
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3842
3954
set dummy $ac_prog; ac_word=$2
3843
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3844
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
3955
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3956
$as_echo_n "checking for $ac_word... " >&6; }
3845
3957
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3958
  $as_echo_n "(cached) " >&6
3847
3959
else
3848
3960
  if test -n "$ac_ct_CC"; then
3849
3961
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3856
3968
  for ac_exec_ext in '' $ac_executable_extensions; do
3857
3969
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3858
3970
    ac_cv_prog_ac_ct_CC="$ac_prog"
3859
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3971
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3860
3972
    break 2
3861
3973
  fi
3862
3974
done
3867
3979
fi
3868
3980
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3869
3981
if test -n "$ac_ct_CC"; then
3870
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3871
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
3982
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
3983
$as_echo "$ac_ct_CC" >&6; }
3872
3984
else
3873
 
  { echo "$as_me:$LINENO: result: no" >&5
3874
 
echo "${ECHO_T}no" >&6; }
 
3985
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3986
$as_echo "no" >&6; }
3875
3987
fi
3876
3988
 
3877
3989
 
3883
3995
  else
3884
3996
    case $cross_compiling:$ac_tool_warned in
3885
3997
yes:)
3886
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3887
 
whose name does not start with the host triplet.  If you think this
3888
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
3889
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3890
 
whose name does not start with the host triplet.  If you think this
3891
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
3998
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3999
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3892
4000
ac_tool_warned=yes ;;
3893
4001
esac
3894
4002
    CC=$ac_ct_CC
3898
4006
fi
3899
4007
 
3900
4008
 
3901
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
4009
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
4010
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
4011
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3902
4012
See \`config.log' for more details." >&5
3903
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
4013
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3904
4014
See \`config.log' for more details." >&2;}
3905
 
   { (exit 1); exit 1; }; }
 
4015
   { (exit 1); exit 1; }; }; }
3906
4016
 
3907
4017
# Provide some information about the compiler.
3908
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
3909
 
ac_compiler=`set X $ac_compile; echo $2`
 
4018
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
4019
set X $ac_compile
 
4020
ac_compiler=$2
3910
4021
{ (ac_try="$ac_compiler --version >&5"
3911
4022
case "(($ac_try" in
3912
4023
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3913
4024
  *) ac_try_echo=$ac_try;;
3914
4025
esac
3915
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4026
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4027
$as_echo "$ac_try_echo") >&5
3916
4028
  (eval "$ac_compiler --version >&5") 2>&5
3917
4029
  ac_status=$?
3918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4030
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919
4031
  (exit $ac_status); }
3920
4032
{ (ac_try="$ac_compiler -v >&5"
3921
4033
case "(($ac_try" in
3922
4034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923
4035
  *) ac_try_echo=$ac_try;;
3924
4036
esac
3925
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4037
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4038
$as_echo "$ac_try_echo") >&5
3926
4039
  (eval "$ac_compiler -v >&5") 2>&5
3927
4040
  ac_status=$?
3928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4041
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929
4042
  (exit $ac_status); }
3930
4043
{ (ac_try="$ac_compiler -V >&5"
3931
4044
case "(($ac_try" in
3932
4045
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3933
4046
  *) ac_try_echo=$ac_try;;
3934
4047
esac
3935
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4048
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4049
$as_echo "$ac_try_echo") >&5
3936
4050
  (eval "$ac_compiler -V >&5") 2>&5
3937
4051
  ac_status=$?
3938
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4052
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939
4053
  (exit $ac_status); }
3940
4054
 
3941
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3942
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
4055
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
4056
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3943
4057
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3944
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4058
  $as_echo_n "(cached) " >&6
3945
4059
else
3946
4060
  cat >conftest.$ac_ext <<_ACEOF
3947
4061
/* confdefs.h.  */
3967
4081
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968
4082
  *) ac_try_echo=$ac_try;;
3969
4083
esac
3970
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4084
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4085
$as_echo "$ac_try_echo") >&5
3971
4086
  (eval "$ac_compile") 2>conftest.er1
3972
4087
  ac_status=$?
3973
4088
  grep -v '^ *+' conftest.er1 >conftest.err
3974
4089
  rm -f conftest.er1
3975
4090
  cat conftest.err >&5
3976
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4091
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977
4092
  (exit $ac_status); } && {
3978
4093
         test -z "$ac_c_werror_flag" ||
3979
4094
         test ! -s conftest.err
3980
4095
       } && test -s conftest.$ac_objext; then
3981
4096
  ac_compiler_gnu=yes
3982
4097
else
3983
 
  echo "$as_me: failed program was:" >&5
 
4098
  $as_echo "$as_me: failed program was:" >&5
3984
4099
sed 's/^/| /' conftest.$ac_ext >&5
3985
4100
 
3986
4101
        ac_compiler_gnu=no
3990
4105
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3991
4106
 
3992
4107
fi
3993
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3994
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3995
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
4108
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
4109
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
4110
if test $ac_compiler_gnu = yes; then
 
4111
  GCC=yes
 
4112
else
 
4113
  GCC=
 
4114
fi
3996
4115
ac_test_CFLAGS=${CFLAGS+set}
3997
4116
ac_save_CFLAGS=$CFLAGS
3998
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3999
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
4117
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
4118
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4000
4119
if test "${ac_cv_prog_cc_g+set}" = set; then
4001
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4120
  $as_echo_n "(cached) " >&6
4002
4121
else
4003
4122
  ac_save_c_werror_flag=$ac_c_werror_flag
4004
4123
   ac_c_werror_flag=yes
4025
4144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026
4145
  *) ac_try_echo=$ac_try;;
4027
4146
esac
4028
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4147
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4148
$as_echo "$ac_try_echo") >&5
4029
4149
  (eval "$ac_compile") 2>conftest.er1
4030
4150
  ac_status=$?
4031
4151
  grep -v '^ *+' conftest.er1 >conftest.err
4032
4152
  rm -f conftest.er1
4033
4153
  cat conftest.err >&5
4034
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4154
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035
4155
  (exit $ac_status); } && {
4036
4156
         test -z "$ac_c_werror_flag" ||
4037
4157
         test ! -s conftest.err
4038
4158
       } && test -s conftest.$ac_objext; then
4039
4159
  ac_cv_prog_cc_g=yes
4040
4160
else
4041
 
  echo "$as_me: failed program was:" >&5
 
4161
  $as_echo "$as_me: failed program was:" >&5
4042
4162
sed 's/^/| /' conftest.$ac_ext >&5
4043
4163
 
4044
4164
        CFLAGS=""
4063
4183
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4064
4184
  *) ac_try_echo=$ac_try;;
4065
4185
esac
4066
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4186
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4187
$as_echo "$ac_try_echo") >&5
4067
4188
  (eval "$ac_compile") 2>conftest.er1
4068
4189
  ac_status=$?
4069
4190
  grep -v '^ *+' conftest.er1 >conftest.err
4070
4191
  rm -f conftest.er1
4071
4192
  cat conftest.err >&5
4072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4193
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073
4194
  (exit $ac_status); } && {
4074
4195
         test -z "$ac_c_werror_flag" ||
4075
4196
         test ! -s conftest.err
4076
4197
       } && test -s conftest.$ac_objext; then
4077
4198
  :
4078
4199
else
4079
 
  echo "$as_me: failed program was:" >&5
 
4200
  $as_echo "$as_me: failed program was:" >&5
4080
4201
sed 's/^/| /' conftest.$ac_ext >&5
4081
4202
 
4082
4203
        ac_c_werror_flag=$ac_save_c_werror_flag
4102
4223
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103
4224
  *) ac_try_echo=$ac_try;;
4104
4225
esac
4105
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4226
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4227
$as_echo "$ac_try_echo") >&5
4106
4228
  (eval "$ac_compile") 2>conftest.er1
4107
4229
  ac_status=$?
4108
4230
  grep -v '^ *+' conftest.er1 >conftest.err
4109
4231
  rm -f conftest.er1
4110
4232
  cat conftest.err >&5
4111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4233
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112
4234
  (exit $ac_status); } && {
4113
4235
         test -z "$ac_c_werror_flag" ||
4114
4236
         test ! -s conftest.err
4115
4237
       } && test -s conftest.$ac_objext; then
4116
4238
  ac_cv_prog_cc_g=yes
4117
4239
else
4118
 
  echo "$as_me: failed program was:" >&5
 
4240
  $as_echo "$as_me: failed program was:" >&5
4119
4241
sed 's/^/| /' conftest.$ac_ext >&5
4120
4242
 
4121
4243
 
4130
4252
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4131
4253
   ac_c_werror_flag=$ac_save_c_werror_flag
4132
4254
fi
4133
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4134
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
4255
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
4256
$as_echo "$ac_cv_prog_cc_g" >&6; }
4135
4257
if test "$ac_test_CFLAGS" = set; then
4136
4258
  CFLAGS=$ac_save_CFLAGS
4137
4259
elif test $ac_cv_prog_cc_g = yes; then
4147
4269
    CFLAGS=
4148
4270
  fi
4149
4271
fi
4150
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4151
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
4272
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
4273
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4152
4274
if test "${ac_cv_prog_cc_c89+set}" = set; then
4153
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4275
  $as_echo_n "(cached) " >&6
4154
4276
else
4155
4277
  ac_cv_prog_cc_c89=no
4156
4278
ac_save_CC=$CC
4221
4343
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4222
4344
  *) ac_try_echo=$ac_try;;
4223
4345
esac
4224
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4346
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
4347
$as_echo "$ac_try_echo") >&5
4225
4348
  (eval "$ac_compile") 2>conftest.er1
4226
4349
  ac_status=$?
4227
4350
  grep -v '^ *+' conftest.er1 >conftest.err
4228
4351
  rm -f conftest.er1
4229
4352
  cat conftest.err >&5
4230
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4353
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231
4354
  (exit $ac_status); } && {
4232
4355
         test -z "$ac_c_werror_flag" ||
4233
4356
         test ! -s conftest.err
4234
4357
       } && test -s conftest.$ac_objext; then
4235
4358
  ac_cv_prog_cc_c89=$ac_arg
4236
4359
else
4237
 
  echo "$as_me: failed program was:" >&5
 
4360
  $as_echo "$as_me: failed program was:" >&5
4238
4361
sed 's/^/| /' conftest.$ac_ext >&5
4239
4362
 
4240
4363
 
4250
4373
# AC_CACHE_VAL
4251
4374
case "x$ac_cv_prog_cc_c89" in
4252
4375
  x)
4253
 
    { echo "$as_me:$LINENO: result: none needed" >&5
4254
 
echo "${ECHO_T}none needed" >&6; } ;;
 
4376
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
4377
$as_echo "none needed" >&6; } ;;
4255
4378
  xno)
4256
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
4257
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
4379
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
4380
$as_echo "unsupported" >&6; } ;;
4258
4381
  *)
4259
4382
    CC="$CC $ac_cv_prog_cc_c89"
4260
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4261
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
4383
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
4384
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4262
4385
esac
4263
4386
 
4264
4387
 
4270
4393
 
4271
4394
depcc="$CC"   am_compiler_list=
4272
4395
 
4273
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4274
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
4396
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
4397
$as_echo_n "checking dependency style of $depcc... " >&6; }
4275
4398
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4276
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4399
  $as_echo_n "(cached) " >&6
4277
4400
else
4278
4401
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4279
4402
  # We make a subdir and do the tests there.  Otherwise we can end up
4361
4484
fi
4362
4485
 
4363
4486
fi
4364
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4365
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
4487
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
4488
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4366
4489
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4367
4490
 
4368
4491
 if
4379
4502
 
4380
4503
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
4381
4504
 
4382
 
 
4383
 
 
4384
 
# Check whether --enable-shared was given.
4385
 
if test "${enable_shared+set}" = set; then
4386
 
  enableval=$enable_shared; p=${PACKAGE-default}
4387
 
    case $enableval in
4388
 
    yes) enable_shared=yes ;;
4389
 
    no) enable_shared=no ;;
4390
 
    *)
4391
 
      enable_shared=no
4392
 
      # Look at the argument we got.  We use all the common list separators.
4393
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4394
 
      for pkg in $enableval; do
4395
 
        IFS="$lt_save_ifs"
4396
 
        if test "X$pkg" = "X$p"; then
4397
 
          enable_shared=yes
4398
 
        fi
4399
 
      done
4400
 
      IFS="$lt_save_ifs"
4401
 
      ;;
4402
 
    esac
4403
 
else
4404
 
  enable_shared=yes
4405
 
fi
4406
 
 
4407
 
 
4408
 
# Check whether --enable-static was given.
4409
 
if test "${enable_static+set}" = set; then
4410
 
  enableval=$enable_static; p=${PACKAGE-default}
4411
 
    case $enableval in
4412
 
    yes) enable_static=yes ;;
4413
 
    no) enable_static=no ;;
4414
 
    *)
4415
 
     enable_static=no
4416
 
      # Look at the argument we got.  We use all the common list separators.
4417
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4418
 
      for pkg in $enableval; do
4419
 
        IFS="$lt_save_ifs"
4420
 
        if test "X$pkg" = "X$p"; then
4421
 
          enable_static=yes
4422
 
        fi
4423
 
      done
4424
 
      IFS="$lt_save_ifs"
4425
 
      ;;
4426
 
    esac
4427
 
else
4428
 
  enable_static=yes
4429
 
fi
4430
 
 
4431
 
 
4432
 
# Check whether --enable-fast-install was given.
4433
 
if test "${enable_fast_install+set}" = set; then
4434
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
4435
 
    case $enableval in
4436
 
    yes) enable_fast_install=yes ;;
4437
 
    no) enable_fast_install=no ;;
4438
 
    *)
4439
 
      enable_fast_install=no
4440
 
      # Look at the argument we got.  We use all the common list separators.
4441
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4442
 
      for pkg in $enableval; do
4443
 
        IFS="$lt_save_ifs"
4444
 
        if test "X$pkg" = "X$p"; then
4445
 
          enable_fast_install=yes
4446
 
        fi
4447
 
      done
4448
 
      IFS="$lt_save_ifs"
4449
 
      ;;
4450
 
    esac
4451
 
else
4452
 
  enable_fast_install=yes
4453
 
fi
4454
 
 
4455
 
 
4456
4505
# Make sure we can run config.sub.
4457
4506
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4458
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4459
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
4507
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
4508
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4460
4509
   { (exit 1); exit 1; }; }
4461
4510
 
4462
 
{ echo "$as_me:$LINENO: checking build system type" >&5
4463
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
4511
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
4512
$as_echo_n "checking build system type... " >&6; }
4464
4513
if test "${ac_cv_build+set}" = set; then
4465
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4514
  $as_echo_n "(cached) " >&6
4466
4515
else
4467
4516
  ac_build_alias=$build_alias
4468
4517
test "x$ac_build_alias" = x &&
4469
4518
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4470
4519
test "x$ac_build_alias" = x &&
4471
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4472
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
4520
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
4521
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4473
4522
   { (exit 1); exit 1; }; }
4474
4523
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4475
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4476
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
4524
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
4525
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4477
4526
   { (exit 1); exit 1; }; }
4478
4527
 
4479
4528
fi
4480
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4481
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
4529
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
4530
$as_echo "$ac_cv_build" >&6; }
4482
4531
case $ac_cv_build in
4483
4532
*-*-*) ;;
4484
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4485
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
4533
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
4534
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4486
4535
   { (exit 1); exit 1; }; };;
4487
4536
esac
4488
4537
build=$ac_cv_build
4499
4548
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4500
4549
 
4501
4550
 
4502
 
{ echo "$as_me:$LINENO: checking host system type" >&5
4503
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
4551
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
4552
$as_echo_n "checking host system type... " >&6; }
4504
4553
if test "${ac_cv_host+set}" = set; then
4505
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4554
  $as_echo_n "(cached) " >&6
4506
4555
else
4507
4556
  if test "x$host_alias" = x; then
4508
4557
  ac_cv_host=$ac_cv_build
4509
4558
else
4510
4559
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4511
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4512
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
4560
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
4561
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4513
4562
   { (exit 1); exit 1; }; }
4514
4563
fi
4515
4564
 
4516
4565
fi
4517
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4518
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
4566
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
4567
$as_echo "$ac_cv_host" >&6; }
4519
4568
case $ac_cv_host in
4520
4569
*-*-*) ;;
4521
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4522
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
4570
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
4571
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4523
4572
   { (exit 1); exit 1; }; };;
4524
4573
esac
4525
4574
host=$ac_cv_host
4536
4585
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4537
4586
 
4538
4587
 
4539
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4540
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4541
 
if test "${lt_cv_path_SED+set}" = set; then
4542
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4543
 
else
4544
 
  # Loop through the user's path and test for sed and gsed.
4545
 
# Then use that list of sed's as ones to test for truncation.
4546
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547
 
for as_dir in $PATH
4548
 
do
4549
 
  IFS=$as_save_IFS
4550
 
  test -z "$as_dir" && as_dir=.
4551
 
  for lt_ac_prog in sed gsed; do
 
4588
enable_win32_dll=yes
 
4589
 
 
4590
case $host in
 
4591
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
4592
  if test -n "$ac_tool_prefix"; then
 
4593
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 
4594
set dummy ${ac_tool_prefix}as; ac_word=$2
 
4595
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4596
$as_echo_n "checking for $ac_word... " >&6; }
 
4597
if test "${ac_cv_prog_AS+set}" = set; then
 
4598
  $as_echo_n "(cached) " >&6
 
4599
else
 
4600
  if test -n "$AS"; then
 
4601
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
4602
else
 
4603
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4604
for as_dir in $PATH
 
4605
do
 
4606
  IFS=$as_save_IFS
 
4607
  test -z "$as_dir" && as_dir=.
 
4608
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4609
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4610
    ac_cv_prog_AS="${ac_tool_prefix}as"
 
4611
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4612
    break 2
 
4613
  fi
 
4614
done
 
4615
done
 
4616
IFS=$as_save_IFS
 
4617
 
 
4618
fi
 
4619
fi
 
4620
AS=$ac_cv_prog_AS
 
4621
if test -n "$AS"; then
 
4622
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
 
4623
$as_echo "$AS" >&6; }
 
4624
else
 
4625
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4626
$as_echo "no" >&6; }
 
4627
fi
 
4628
 
 
4629
 
 
4630
fi
 
4631
if test -z "$ac_cv_prog_AS"; then
 
4632
  ac_ct_AS=$AS
 
4633
  # Extract the first word of "as", so it can be a program name with args.
 
4634
set dummy as; ac_word=$2
 
4635
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4636
$as_echo_n "checking for $ac_word... " >&6; }
 
4637
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 
4638
  $as_echo_n "(cached) " >&6
 
4639
else
 
4640
  if test -n "$ac_ct_AS"; then
 
4641
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
4642
else
 
4643
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4644
for as_dir in $PATH
 
4645
do
 
4646
  IFS=$as_save_IFS
 
4647
  test -z "$as_dir" && as_dir=.
 
4648
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4649
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4650
    ac_cv_prog_ac_ct_AS="as"
 
4651
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4652
    break 2
 
4653
  fi
 
4654
done
 
4655
done
 
4656
IFS=$as_save_IFS
 
4657
 
 
4658
fi
 
4659
fi
 
4660
ac_ct_AS=$ac_cv_prog_ac_ct_AS
 
4661
if test -n "$ac_ct_AS"; then
 
4662
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
4663
$as_echo "$ac_ct_AS" >&6; }
 
4664
else
 
4665
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4666
$as_echo "no" >&6; }
 
4667
fi
 
4668
 
 
4669
  if test "x$ac_ct_AS" = x; then
 
4670
    AS="false"
 
4671
  else
 
4672
    case $cross_compiling:$ac_tool_warned in
 
4673
yes:)
 
4674
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4675
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4676
ac_tool_warned=yes ;;
 
4677
esac
 
4678
    AS=$ac_ct_AS
 
4679
  fi
 
4680
else
 
4681
  AS="$ac_cv_prog_AS"
 
4682
fi
 
4683
 
 
4684
  if test -n "$ac_tool_prefix"; then
 
4685
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
4686
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
4687
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4688
$as_echo_n "checking for $ac_word... " >&6; }
 
4689
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 
4690
  $as_echo_n "(cached) " >&6
 
4691
else
 
4692
  if test -n "$DLLTOOL"; then
 
4693
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
4694
else
 
4695
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4696
for as_dir in $PATH
 
4697
do
 
4698
  IFS=$as_save_IFS
 
4699
  test -z "$as_dir" && as_dir=.
 
4700
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4701
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4702
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
4703
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4704
    break 2
 
4705
  fi
 
4706
done
 
4707
done
 
4708
IFS=$as_save_IFS
 
4709
 
 
4710
fi
 
4711
fi
 
4712
DLLTOOL=$ac_cv_prog_DLLTOOL
 
4713
if test -n "$DLLTOOL"; then
 
4714
  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
4715
$as_echo "$DLLTOOL" >&6; }
 
4716
else
 
4717
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4718
$as_echo "no" >&6; }
 
4719
fi
 
4720
 
 
4721
 
 
4722
fi
 
4723
if test -z "$ac_cv_prog_DLLTOOL"; then
 
4724
  ac_ct_DLLTOOL=$DLLTOOL
 
4725
  # Extract the first word of "dlltool", so it can be a program name with args.
 
4726
set dummy dlltool; ac_word=$2
 
4727
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4728
$as_echo_n "checking for $ac_word... " >&6; }
 
4729
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 
4730
  $as_echo_n "(cached) " >&6
 
4731
else
 
4732
  if test -n "$ac_ct_DLLTOOL"; then
 
4733
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
4734
else
 
4735
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4736
for as_dir in $PATH
 
4737
do
 
4738
  IFS=$as_save_IFS
 
4739
  test -z "$as_dir" && as_dir=.
 
4740
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4741
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4742
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
4743
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4744
    break 2
 
4745
  fi
 
4746
done
 
4747
done
 
4748
IFS=$as_save_IFS
 
4749
 
 
4750
fi
 
4751
fi
 
4752
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
4753
if test -n "$ac_ct_DLLTOOL"; then
 
4754
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
4755
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
4756
else
 
4757
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4758
$as_echo "no" >&6; }
 
4759
fi
 
4760
 
 
4761
  if test "x$ac_ct_DLLTOOL" = x; then
 
4762
    DLLTOOL="false"
 
4763
  else
 
4764
    case $cross_compiling:$ac_tool_warned in
 
4765
yes:)
 
4766
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4767
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4768
ac_tool_warned=yes ;;
 
4769
esac
 
4770
    DLLTOOL=$ac_ct_DLLTOOL
 
4771
  fi
 
4772
else
 
4773
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
4774
fi
 
4775
 
 
4776
  if test -n "$ac_tool_prefix"; then
 
4777
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
4778
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
4779
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4780
$as_echo_n "checking for $ac_word... " >&6; }
 
4781
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
4782
  $as_echo_n "(cached) " >&6
 
4783
else
 
4784
  if test -n "$OBJDUMP"; then
 
4785
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
4786
else
 
4787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4788
for as_dir in $PATH
 
4789
do
 
4790
  IFS=$as_save_IFS
 
4791
  test -z "$as_dir" && as_dir=.
 
4792
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4793
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4794
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
4795
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4796
    break 2
 
4797
  fi
 
4798
done
 
4799
done
 
4800
IFS=$as_save_IFS
 
4801
 
 
4802
fi
 
4803
fi
 
4804
OBJDUMP=$ac_cv_prog_OBJDUMP
 
4805
if test -n "$OBJDUMP"; then
 
4806
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
4807
$as_echo "$OBJDUMP" >&6; }
 
4808
else
 
4809
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4810
$as_echo "no" >&6; }
 
4811
fi
 
4812
 
 
4813
 
 
4814
fi
 
4815
if test -z "$ac_cv_prog_OBJDUMP"; then
 
4816
  ac_ct_OBJDUMP=$OBJDUMP
 
4817
  # Extract the first word of "objdump", so it can be a program name with args.
 
4818
set dummy objdump; ac_word=$2
 
4819
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4820
$as_echo_n "checking for $ac_word... " >&6; }
 
4821
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
4822
  $as_echo_n "(cached) " >&6
 
4823
else
 
4824
  if test -n "$ac_ct_OBJDUMP"; then
 
4825
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
4826
else
 
4827
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4828
for as_dir in $PATH
 
4829
do
 
4830
  IFS=$as_save_IFS
 
4831
  test -z "$as_dir" && as_dir=.
 
4832
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4833
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4834
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
4835
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4836
    break 2
 
4837
  fi
 
4838
done
 
4839
done
 
4840
IFS=$as_save_IFS
 
4841
 
 
4842
fi
 
4843
fi
 
4844
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
4845
if test -n "$ac_ct_OBJDUMP"; then
 
4846
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
4847
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
4848
else
 
4849
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4850
$as_echo "no" >&6; }
 
4851
fi
 
4852
 
 
4853
  if test "x$ac_ct_OBJDUMP" = x; then
 
4854
    OBJDUMP="false"
 
4855
  else
 
4856
    case $cross_compiling:$ac_tool_warned in
 
4857
yes:)
 
4858
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4859
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4860
ac_tool_warned=yes ;;
 
4861
esac
 
4862
    OBJDUMP=$ac_ct_OBJDUMP
 
4863
  fi
 
4864
else
 
4865
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
4866
fi
 
4867
 
 
4868
  ;;
 
4869
esac
 
4870
 
 
4871
test -z "$AS" && AS=as
 
4872
 
 
4873
 
 
4874
 
 
4875
 
 
4876
 
 
4877
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
4878
 
 
4879
 
 
4880
 
 
4881
 
 
4882
 
 
4883
test -z "$OBJDUMP" && OBJDUMP=objdump
 
4884
 
 
4885
 
 
4886
 
 
4887
 
 
4888
 
 
4889
 
 
4890
 
 
4891
case `pwd` in
 
4892
  *\ * | *\     *)
 
4893
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4894
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4895
esac
 
4896
 
 
4897
 
 
4898
 
 
4899
macro_version='2.2.6'
 
4900
macro_revision='1.3012'
 
4901
 
 
4902
 
 
4903
 
 
4904
 
 
4905
 
 
4906
 
 
4907
 
 
4908
 
 
4909
 
 
4910
 
 
4911
 
 
4912
 
 
4913
 
 
4914
ltmain="$ac_aux_dir/ltmain.sh"
 
4915
 
 
4916
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4917
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4918
if test "${ac_cv_path_SED+set}" = set; then
 
4919
  $as_echo_n "(cached) " >&6
 
4920
else
 
4921
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4922
     for ac_i in 1 2 3 4 5 6 7; do
 
4923
       ac_script="$ac_script$as_nl$ac_script"
 
4924
     done
 
4925
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4926
     $as_unset ac_script || ac_script=
 
4927
     if test -z "$SED"; then
 
4928
  ac_path_SED_found=false
 
4929
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4930
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4931
for as_dir in $PATH
 
4932
do
 
4933
  IFS=$as_save_IFS
 
4934
  test -z "$as_dir" && as_dir=.
 
4935
  for ac_prog in sed gsed; do
4552
4936
    for ac_exec_ext in '' $ac_executable_extensions; do
4553
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4554
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4555
 
      fi
 
4937
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4938
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4939
# Check for GNU ac_path_SED and select it if it is found.
 
4940
  # Check for GNU $ac_path_SED
 
4941
case `"$ac_path_SED" --version 2>&1` in
 
4942
*GNU*)
 
4943
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4944
*)
 
4945
  ac_count=0
 
4946
  $as_echo_n 0123456789 >"conftest.in"
 
4947
  while :
 
4948
  do
 
4949
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4950
    mv "conftest.tmp" "conftest.in"
 
4951
    cp "conftest.in" "conftest.nl"
 
4952
    $as_echo '' >> "conftest.nl"
 
4953
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4954
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4955
    ac_count=`expr $ac_count + 1`
 
4956
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4957
      # Best one so far, save it but keep looking for a better one
 
4958
      ac_cv_path_SED="$ac_path_SED"
 
4959
      ac_path_SED_max=$ac_count
 
4960
    fi
 
4961
    # 10*(2^10) chars as input seems more than enough
 
4962
    test $ac_count -gt 10 && break
 
4963
  done
 
4964
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4965
esac
 
4966
 
 
4967
      $ac_path_SED_found && break 3
4556
4968
    done
4557
4969
  done
4558
4970
done
4559
4971
IFS=$as_save_IFS
4560
 
lt_ac_max=0
4561
 
lt_ac_count=0
4562
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4563
 
# along with /bin/sed that truncates output.
4564
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4565
 
  test ! -f $lt_ac_sed && continue
4566
 
  cat /dev/null > conftest.in
4567
 
  lt_ac_count=0
4568
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4569
 
  # Check for GNU sed and select it if it is found.
4570
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4571
 
    lt_cv_path_SED=$lt_ac_sed
4572
 
    break
 
4972
  if test -z "$ac_cv_path_SED"; then
 
4973
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
4974
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
4975
   { (exit 1); exit 1; }; }
4573
4976
  fi
4574
 
  while true; do
4575
 
    cat conftest.in conftest.in >conftest.tmp
4576
 
    mv conftest.tmp conftest.in
4577
 
    cp conftest.in conftest.nl
4578
 
    echo >>conftest.nl
4579
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4580
 
    cmp -s conftest.out conftest.nl || break
4581
 
    # 10000 chars as input seems more than enough
4582
 
    test $lt_ac_count -gt 10 && break
4583
 
    lt_ac_count=`expr $lt_ac_count + 1`
4584
 
    if test $lt_ac_count -gt $lt_ac_max; then
4585
 
      lt_ac_max=$lt_ac_count
4586
 
      lt_cv_path_SED=$lt_ac_sed
4587
 
    fi
4588
 
  done
4589
 
done
4590
 
 
4591
 
fi
4592
 
 
4593
 
SED=$lt_cv_path_SED
4594
 
 
4595
 
{ echo "$as_me:$LINENO: result: $SED" >&5
4596
 
echo "${ECHO_T}$SED" >&6; }
4597
 
 
4598
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4599
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4600
 
if test "${ac_cv_path_GREP+set}" = set; then
4601
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4602
 
else
4603
 
  # Extract the first word of "grep ggrep" to use in msg output
4604
 
if test -z "$GREP"; then
4605
 
set dummy grep ggrep; ac_prog_name=$2
4606
 
if test "${ac_cv_path_GREP+set}" = set; then
4607
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4608
 
else
 
4977
else
 
4978
  ac_cv_path_SED=$SED
 
4979
fi
 
4980
 
 
4981
fi
 
4982
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4983
$as_echo "$ac_cv_path_SED" >&6; }
 
4984
 SED="$ac_cv_path_SED"
 
4985
  rm -f conftest.sed
 
4986
 
 
4987
test -z "$SED" && SED=sed
 
4988
Xsed="$SED -e 1s/^X//"
 
4989
 
 
4990
 
 
4991
 
 
4992
 
 
4993
 
 
4994
 
 
4995
 
 
4996
 
 
4997
 
 
4998
 
 
4999
 
 
5000
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
5001
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
5002
if test "${ac_cv_path_GREP+set}" = set; then
 
5003
  $as_echo_n "(cached) " >&6
 
5004
else
 
5005
  if test -z "$GREP"; then
4609
5006
  ac_path_GREP_found=false
4610
 
# Loop through the user's path and test for each of PROGNAME-LIST
4611
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5007
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5008
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612
5009
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4613
5010
do
4614
5011
  IFS=$as_save_IFS
4615
5012
  test -z "$as_dir" && as_dir=.
4616
5013
  for ac_prog in grep ggrep; do
4617
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4618
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4619
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4620
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
5014
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5015
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
5016
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
5017
# Check for GNU ac_path_GREP and select it if it is found.
4621
5018
  # Check for GNU $ac_path_GREP
4622
5019
case `"$ac_path_GREP" --version 2>&1` in
4623
5020
*GNU*)
4624
5021
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4625
5022
*)
4626
5023
  ac_count=0
4627
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5024
  $as_echo_n 0123456789 >"conftest.in"
4628
5025
  while :
4629
5026
  do
4630
5027
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4631
5028
    mv "conftest.tmp" "conftest.in"
4632
5029
    cp "conftest.in" "conftest.nl"
4633
 
    echo 'GREP' >> "conftest.nl"
 
5030
    $as_echo 'GREP' >> "conftest.nl"
4634
5031
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4635
5032
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4636
5033
    ac_count=`expr $ac_count + 1`
4645
5042
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4646
5043
esac
4647
5044
 
4648
 
 
4649
 
    $ac_path_GREP_found && break 3
 
5045
      $ac_path_GREP_found && break 3
 
5046
    done
4650
5047
  done
4651
5048
done
4652
 
 
4653
 
done
4654
5049
IFS=$as_save_IFS
4655
 
 
4656
 
 
4657
 
fi
4658
 
 
4659
 
GREP="$ac_cv_path_GREP"
4660
 
if test -z "$GREP"; then
4661
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4662
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5050
  if test -z "$ac_cv_path_GREP"; then
 
5051
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5052
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4663
5053
   { (exit 1); exit 1; }; }
4664
 
fi
4665
 
 
 
5054
  fi
4666
5055
else
4667
5056
  ac_cv_path_GREP=$GREP
4668
5057
fi
4669
5058
 
4670
 
 
4671
5059
fi
4672
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4673
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
5060
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
5061
$as_echo "$ac_cv_path_GREP" >&6; }
4674
5062
 GREP="$ac_cv_path_GREP"
4675
5063
 
4676
5064
 
4677
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
4678
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
5065
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
5066
$as_echo_n "checking for egrep... " >&6; }
4679
5067
if test "${ac_cv_path_EGREP+set}" = set; then
4680
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5068
  $as_echo_n "(cached) " >&6
4681
5069
else
4682
5070
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4683
5071
   then ac_cv_path_EGREP="$GREP -E"
4684
5072
   else
4685
 
     # Extract the first word of "egrep" to use in msg output
4686
 
if test -z "$EGREP"; then
4687
 
set dummy egrep; ac_prog_name=$2
4688
 
if test "${ac_cv_path_EGREP+set}" = set; then
4689
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4690
 
else
 
5073
     if test -z "$EGREP"; then
4691
5074
  ac_path_EGREP_found=false
4692
 
# Loop through the user's path and test for each of PROGNAME-LIST
4693
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5075
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5076
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4694
5077
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4695
5078
do
4696
5079
  IFS=$as_save_IFS
4697
5080
  test -z "$as_dir" && as_dir=.
4698
5081
  for ac_prog in egrep; do
4699
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4700
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4701
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4702
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
5082
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5083
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5084
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
5085
# Check for GNU ac_path_EGREP and select it if it is found.
4703
5086
  # Check for GNU $ac_path_EGREP
4704
5087
case `"$ac_path_EGREP" --version 2>&1` in
4705
5088
*GNU*)
4706
5089
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4707
5090
*)
4708
5091
  ac_count=0
4709
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
5092
  $as_echo_n 0123456789 >"conftest.in"
4710
5093
  while :
4711
5094
  do
4712
5095
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4713
5096
    mv "conftest.tmp" "conftest.in"
4714
5097
    cp "conftest.in" "conftest.nl"
4715
 
    echo 'EGREP' >> "conftest.nl"
 
5098
    $as_echo 'EGREP' >> "conftest.nl"
4716
5099
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4717
5100
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4718
5101
    ac_count=`expr $ac_count + 1`
4727
5110
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4728
5111
esac
4729
5112
 
4730
 
 
4731
 
    $ac_path_EGREP_found && break 3
 
5113
      $ac_path_EGREP_found && break 3
 
5114
    done
4732
5115
  done
4733
5116
done
4734
 
 
4735
 
done
4736
5117
IFS=$as_save_IFS
4737
 
 
4738
 
 
4739
 
fi
4740
 
 
4741
 
EGREP="$ac_cv_path_EGREP"
4742
 
if test -z "$EGREP"; then
4743
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4744
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5118
  if test -z "$ac_cv_path_EGREP"; then
 
5119
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5120
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4745
5121
   { (exit 1); exit 1; }; }
4746
 
fi
4747
 
 
 
5122
  fi
4748
5123
else
4749
5124
  ac_cv_path_EGREP=$EGREP
4750
5125
fi
4751
5126
 
4752
 
 
4753
5127
   fi
4754
5128
fi
4755
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4756
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
5129
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
5130
$as_echo "$ac_cv_path_EGREP" >&6; }
4757
5131
 EGREP="$ac_cv_path_EGREP"
4758
5132
 
4759
5133
 
 
5134
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
5135
$as_echo_n "checking for fgrep... " >&6; }
 
5136
if test "${ac_cv_path_FGREP+set}" = set; then
 
5137
  $as_echo_n "(cached) " >&6
 
5138
else
 
5139
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
5140
   then ac_cv_path_FGREP="$GREP -F"
 
5141
   else
 
5142
     if test -z "$FGREP"; then
 
5143
  ac_path_FGREP_found=false
 
5144
  # Loop through the user's path and test for each of PROGNAME-LIST
 
5145
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5146
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
5147
do
 
5148
  IFS=$as_save_IFS
 
5149
  test -z "$as_dir" && as_dir=.
 
5150
  for ac_prog in fgrep; do
 
5151
    for ac_exec_ext in '' $ac_executable_extensions; do
 
5152
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
5153
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
5154
# Check for GNU ac_path_FGREP and select it if it is found.
 
5155
  # Check for GNU $ac_path_FGREP
 
5156
case `"$ac_path_FGREP" --version 2>&1` in
 
5157
*GNU*)
 
5158
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
5159
*)
 
5160
  ac_count=0
 
5161
  $as_echo_n 0123456789 >"conftest.in"
 
5162
  while :
 
5163
  do
 
5164
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
5165
    mv "conftest.tmp" "conftest.in"
 
5166
    cp "conftest.in" "conftest.nl"
 
5167
    $as_echo 'FGREP' >> "conftest.nl"
 
5168
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
5169
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
5170
    ac_count=`expr $ac_count + 1`
 
5171
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
5172
      # Best one so far, save it but keep looking for a better one
 
5173
      ac_cv_path_FGREP="$ac_path_FGREP"
 
5174
      ac_path_FGREP_max=$ac_count
 
5175
    fi
 
5176
    # 10*(2^10) chars as input seems more than enough
 
5177
    test $ac_count -gt 10 && break
 
5178
  done
 
5179
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
5180
esac
 
5181
 
 
5182
      $ac_path_FGREP_found && break 3
 
5183
    done
 
5184
  done
 
5185
done
 
5186
IFS=$as_save_IFS
 
5187
  if test -z "$ac_cv_path_FGREP"; then
 
5188
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
5189
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
5190
   { (exit 1); exit 1; }; }
 
5191
  fi
 
5192
else
 
5193
  ac_cv_path_FGREP=$FGREP
 
5194
fi
 
5195
 
 
5196
   fi
 
5197
fi
 
5198
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
5199
$as_echo "$ac_cv_path_FGREP" >&6; }
 
5200
 FGREP="$ac_cv_path_FGREP"
 
5201
 
 
5202
 
 
5203
test -z "$GREP" && GREP=grep
 
5204
 
 
5205
 
 
5206
 
 
5207
 
 
5208
 
 
5209
 
 
5210
 
 
5211
 
 
5212
 
 
5213
 
 
5214
 
 
5215
 
 
5216
 
 
5217
 
 
5218
 
 
5219
 
 
5220
 
 
5221
 
4760
5222
 
4761
5223
# Check whether --with-gnu-ld was given.
4762
5224
if test "${with_gnu_ld+set}" = set; then
4768
5230
ac_prog=ld
4769
5231
if test "$GCC" = yes; then
4770
5232
  # Check if gcc -print-prog-name=ld gives a path.
4771
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4772
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
5233
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
5234
$as_echo_n "checking for ld used by $CC... " >&6; }
4773
5235
  case $host in
4774
5236
  *-*-mingw*)
4775
5237
    # gcc leaves a trailing carriage return which upsets mingw
4782
5244
    [\\/]* | ?:[\\/]*)
4783
5245
      re_direlt='/[^/][^/]*/\.\./'
4784
5246
      # Canonicalize the pathname of ld
4785
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4786
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4787
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
5247
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
5248
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
5249
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4788
5250
      done
4789
5251
      test -z "$LD" && LD="$ac_prog"
4790
5252
      ;;
4798
5260
    ;;
4799
5261
  esac
4800
5262
elif test "$with_gnu_ld" = yes; then
4801
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4802
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
5263
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
5264
$as_echo_n "checking for GNU ld... " >&6; }
4803
5265
else
4804
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4805
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
5266
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
5267
$as_echo_n "checking for non-GNU ld... " >&6; }
4806
5268
fi
4807
5269
if test "${lt_cv_path_LD+set}" = set; then
4808
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5270
  $as_echo_n "(cached) " >&6
4809
5271
else
4810
5272
  if test -z "$LD"; then
4811
5273
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4835
5297
 
4836
5298
LD="$lt_cv_path_LD"
4837
5299
if test -n "$LD"; then
4838
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4839
 
echo "${ECHO_T}$LD" >&6; }
 
5300
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
5301
$as_echo "$LD" >&6; }
4840
5302
else
4841
 
  { echo "$as_me:$LINENO: result: no" >&5
4842
 
echo "${ECHO_T}no" >&6; }
 
5303
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5304
$as_echo "no" >&6; }
4843
5305
fi
4844
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4845
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
5306
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
5307
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4846
5308
   { (exit 1); exit 1; }; }
4847
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4848
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
5309
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
5310
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4849
5311
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4850
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5312
  $as_echo_n "(cached) " >&6
4851
5313
else
4852
5314
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4853
5315
case `$LD -v 2>&1 </dev/null` in
4859
5321
  ;;
4860
5322
esac
4861
5323
fi
4862
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4863
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
5324
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
5325
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4864
5326
with_gnu_ld=$lt_cv_prog_gnu_ld
4865
5327
 
4866
5328
 
4867
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4868
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4869
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4870
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4871
 
else
4872
 
  lt_cv_ld_reload_flag='-r'
4873
 
fi
4874
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4875
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4876
 
reload_flag=$lt_cv_ld_reload_flag
4877
 
case $reload_flag in
4878
 
"" | " "*) ;;
4879
 
*) reload_flag=" $reload_flag" ;;
4880
 
esac
4881
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4882
 
case $host_os in
4883
 
  darwin*)
4884
 
    if test "$GCC" = yes; then
4885
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4886
 
    else
4887
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4888
 
    fi
4889
 
    ;;
4890
 
esac
4891
 
 
4892
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4893
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
5329
 
 
5330
 
 
5331
 
 
5332
 
 
5333
 
 
5334
 
 
5335
 
 
5336
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
5337
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4894
5338
if test "${lt_cv_path_NM+set}" = set; then
4895
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5339
  $as_echo_n "(cached) " >&6
4896
5340
else
4897
5341
  if test -n "$NM"; then
4898
5342
  # Let the user override the test.
4935
5379
    done
4936
5380
    IFS="$lt_save_ifs"
4937
5381
  done
4938
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4939
 
fi
4940
 
fi
4941
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4942
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4943
 
NM="$lt_cv_path_NM"
4944
 
 
4945
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4946
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
5382
  : ${lt_cv_path_NM=no}
 
5383
fi
 
5384
fi
 
5385
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
5386
$as_echo "$lt_cv_path_NM" >&6; }
 
5387
if test "$lt_cv_path_NM" != "no"; then
 
5388
  NM="$lt_cv_path_NM"
 
5389
else
 
5390
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
5391
  if test -n "$ac_tool_prefix"; then
 
5392
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5393
  do
 
5394
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
5395
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
5396
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5397
$as_echo_n "checking for $ac_word... " >&6; }
 
5398
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
5399
  $as_echo_n "(cached) " >&6
 
5400
else
 
5401
  if test -n "$DUMPBIN"; then
 
5402
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
5403
else
 
5404
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5405
for as_dir in $PATH
 
5406
do
 
5407
  IFS=$as_save_IFS
 
5408
  test -z "$as_dir" && as_dir=.
 
5409
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5410
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5411
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
5412
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5413
    break 2
 
5414
  fi
 
5415
done
 
5416
done
 
5417
IFS=$as_save_IFS
 
5418
 
 
5419
fi
 
5420
fi
 
5421
DUMPBIN=$ac_cv_prog_DUMPBIN
 
5422
if test -n "$DUMPBIN"; then
 
5423
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
5424
$as_echo "$DUMPBIN" >&6; }
 
5425
else
 
5426
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5427
$as_echo "no" >&6; }
 
5428
fi
 
5429
 
 
5430
 
 
5431
    test -n "$DUMPBIN" && break
 
5432
  done
 
5433
fi
 
5434
if test -z "$DUMPBIN"; then
 
5435
  ac_ct_DUMPBIN=$DUMPBIN
 
5436
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
5437
do
 
5438
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
5439
set dummy $ac_prog; ac_word=$2
 
5440
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5441
$as_echo_n "checking for $ac_word... " >&6; }
 
5442
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
5443
  $as_echo_n "(cached) " >&6
 
5444
else
 
5445
  if test -n "$ac_ct_DUMPBIN"; then
 
5446
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
5447
else
 
5448
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5449
for as_dir in $PATH
 
5450
do
 
5451
  IFS=$as_save_IFS
 
5452
  test -z "$as_dir" && as_dir=.
 
5453
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5454
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5455
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
5456
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5457
    break 2
 
5458
  fi
 
5459
done
 
5460
done
 
5461
IFS=$as_save_IFS
 
5462
 
 
5463
fi
 
5464
fi
 
5465
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
5466
if test -n "$ac_ct_DUMPBIN"; then
 
5467
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
5468
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
5469
else
 
5470
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5471
$as_echo "no" >&6; }
 
5472
fi
 
5473
 
 
5474
 
 
5475
  test -n "$ac_ct_DUMPBIN" && break
 
5476
done
 
5477
 
 
5478
  if test "x$ac_ct_DUMPBIN" = x; then
 
5479
    DUMPBIN=":"
 
5480
  else
 
5481
    case $cross_compiling:$ac_tool_warned in
 
5482
yes:)
 
5483
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5484
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5485
ac_tool_warned=yes ;;
 
5486
esac
 
5487
    DUMPBIN=$ac_ct_DUMPBIN
 
5488
  fi
 
5489
fi
 
5490
 
 
5491
 
 
5492
  if test "$DUMPBIN" != ":"; then
 
5493
    NM="$DUMPBIN"
 
5494
  fi
 
5495
fi
 
5496
test -z "$NM" && NM=nm
 
5497
 
 
5498
 
 
5499
 
 
5500
 
 
5501
 
 
5502
 
 
5503
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
5504
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
5505
if test "${lt_cv_nm_interface+set}" = set; then
 
5506
  $as_echo_n "(cached) " >&6
 
5507
else
 
5508
  lt_cv_nm_interface="BSD nm"
 
5509
  echo "int some_variable = 0;" > conftest.$ac_ext
 
5510
  (eval echo "\"\$as_me:5510: $ac_compile\"" >&5)
 
5511
  (eval "$ac_compile" 2>conftest.err)
 
5512
  cat conftest.err >&5
 
5513
  (eval echo "\"\$as_me:5513: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
5514
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
5515
  cat conftest.err >&5
 
5516
  (eval echo "\"\$as_me:5516: output\"" >&5)
 
5517
  cat conftest.out >&5
 
5518
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
5519
    lt_cv_nm_interface="MS dumpbin"
 
5520
  fi
 
5521
  rm -f conftest*
 
5522
fi
 
5523
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
5524
$as_echo "$lt_cv_nm_interface" >&6; }
 
5525
 
 
5526
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
5527
$as_echo_n "checking whether ln -s works... " >&6; }
4947
5528
LN_S=$as_ln_s
4948
5529
if test "$LN_S" = "ln -s"; then
4949
 
  { echo "$as_me:$LINENO: result: yes" >&5
4950
 
echo "${ECHO_T}yes" >&6; }
4951
 
else
4952
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4953
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4954
 
fi
4955
 
 
4956
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4957
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
5530
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
5531
$as_echo "yes" >&6; }
 
5532
else
 
5533
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
5534
$as_echo "no, using $LN_S" >&6; }
 
5535
fi
 
5536
 
 
5537
# find the maximum length of command line arguments
 
5538
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
5539
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
5540
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
5541
  $as_echo_n "(cached) " >&6
 
5542
else
 
5543
    i=0
 
5544
  teststring="ABCD"
 
5545
 
 
5546
  case $build_os in
 
5547
  msdosdjgpp*)
 
5548
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
5549
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
5550
    # during glob expansion).  Even if it were fixed, the result of this
 
5551
    # check would be larger than it should be.
 
5552
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
5553
    ;;
 
5554
 
 
5555
  gnu*)
 
5556
    # Under GNU Hurd, this test is not required because there is
 
5557
    # no limit to the length of command line arguments.
 
5558
    # Libtool will interpret -1 as no limit whatsoever
 
5559
    lt_cv_sys_max_cmd_len=-1;
 
5560
    ;;
 
5561
 
 
5562
  cygwin* | mingw* | cegcc*)
 
5563
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
5564
    # about 5 minutes as the teststring grows exponentially.
 
5565
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
5566
    # you end up with a "frozen" computer, even though with patience
 
5567
    # the test eventually succeeds (with a max line length of 256k).
 
5568
    # Instead, let's just punt: use the minimum linelength reported by
 
5569
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
5570
    lt_cv_sys_max_cmd_len=8192;
 
5571
    ;;
 
5572
 
 
5573
  amigaos*)
 
5574
    # On AmigaOS with pdksh, this test takes hours, literally.
 
5575
    # So we just punt and use a minimum line length of 8192.
 
5576
    lt_cv_sys_max_cmd_len=8192;
 
5577
    ;;
 
5578
 
 
5579
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5580
    # This has been around since 386BSD, at least.  Likely further.
 
5581
    if test -x /sbin/sysctl; then
 
5582
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5583
    elif test -x /usr/sbin/sysctl; then
 
5584
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5585
    else
 
5586
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5587
    fi
 
5588
    # And add a safety zone
 
5589
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5590
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5591
    ;;
 
5592
 
 
5593
  interix*)
 
5594
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
5595
    lt_cv_sys_max_cmd_len=196608
 
5596
    ;;
 
5597
 
 
5598
  osf*)
 
5599
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5600
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5601
    # nice to cause kernel panics so lets avoid the loop below.
 
5602
    # First set a reasonable default.
 
5603
    lt_cv_sys_max_cmd_len=16384
 
5604
    #
 
5605
    if test -x /sbin/sysconfig; then
 
5606
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5607
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5608
      esac
 
5609
    fi
 
5610
    ;;
 
5611
  sco3.2v5*)
 
5612
    lt_cv_sys_max_cmd_len=102400
 
5613
    ;;
 
5614
  sysv5* | sco5v6* | sysv4.2uw2*)
 
5615
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
5616
    if test -n "$kargmax"; then
 
5617
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
5618
    else
 
5619
      lt_cv_sys_max_cmd_len=32768
 
5620
    fi
 
5621
    ;;
 
5622
  *)
 
5623
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
5624
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
5625
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5626
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5627
    else
 
5628
      # Make teststring a little bigger before we do anything with it.
 
5629
      # a 1K string should be a reasonable start.
 
5630
      for i in 1 2 3 4 5 6 7 8 ; do
 
5631
        teststring=$teststring$teststring
 
5632
      done
 
5633
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5634
      # If test is not a shell built-in, we'll probably end up computing a
 
5635
      # maximum length that is only half of the actual maximum length, but
 
5636
      # we can't tell.
 
5637
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
5638
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
5639
              test $i != 17 # 1/2 MB should be enough
 
5640
      do
 
5641
        i=`expr $i + 1`
 
5642
        teststring=$teststring$teststring
 
5643
      done
 
5644
      # Only check the string length outside the loop.
 
5645
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
5646
      teststring=
 
5647
      # Add a significant safety factor because C++ compilers can tack on
 
5648
      # massive amounts of additional arguments before passing them to the
 
5649
      # linker.  It appears as though 1/2 is a usable value.
 
5650
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
5651
    fi
 
5652
    ;;
 
5653
  esac
 
5654
 
 
5655
fi
 
5656
 
 
5657
if test -n $lt_cv_sys_max_cmd_len ; then
 
5658
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
5659
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
5660
else
 
5661
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
5662
$as_echo "none" >&6; }
 
5663
fi
 
5664
max_cmd_len=$lt_cv_sys_max_cmd_len
 
5665
 
 
5666
 
 
5667
 
 
5668
 
 
5669
 
 
5670
 
 
5671
: ${CP="cp -f"}
 
5672
: ${MV="mv -f"}
 
5673
: ${RM="rm -f"}
 
5674
 
 
5675
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
5676
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
5677
# Try some XSI features
 
5678
xsi_shell=no
 
5679
( _lt_dummy="a/b/c"
 
5680
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
5681
      = c,a/b,, \
 
5682
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
5683
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
5684
  && xsi_shell=yes
 
5685
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
5686
$as_echo "$xsi_shell" >&6; }
 
5687
 
 
5688
 
 
5689
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
5690
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
5691
lt_shell_append=no
 
5692
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
5693
    >/dev/null 2>&1 \
 
5694
  && lt_shell_append=yes
 
5695
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
5696
$as_echo "$lt_shell_append" >&6; }
 
5697
 
 
5698
 
 
5699
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
5700
  lt_unset=unset
 
5701
else
 
5702
  lt_unset=false
 
5703
fi
 
5704
 
 
5705
 
 
5706
 
 
5707
 
 
5708
 
 
5709
# test EBCDIC or ASCII
 
5710
case `echo X|tr X '\101'` in
 
5711
 A) # ASCII based system
 
5712
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
5713
  lt_SP2NL='tr \040 \012'
 
5714
  lt_NL2SP='tr \015\012 \040\040'
 
5715
  ;;
 
5716
 *) # EBCDIC based system
 
5717
  lt_SP2NL='tr \100 \n'
 
5718
  lt_NL2SP='tr \r\n \100\100'
 
5719
  ;;
 
5720
esac
 
5721
 
 
5722
 
 
5723
 
 
5724
 
 
5725
 
 
5726
 
 
5727
 
 
5728
 
 
5729
 
 
5730
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
5731
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
5732
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
5733
  $as_echo_n "(cached) " >&6
 
5734
else
 
5735
  lt_cv_ld_reload_flag='-r'
 
5736
fi
 
5737
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5738
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5739
reload_flag=$lt_cv_ld_reload_flag
 
5740
case $reload_flag in
 
5741
"" | " "*) ;;
 
5742
*) reload_flag=" $reload_flag" ;;
 
5743
esac
 
5744
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5745
case $host_os in
 
5746
  darwin*)
 
5747
    if test "$GCC" = yes; then
 
5748
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5749
    else
 
5750
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5751
    fi
 
5752
    ;;
 
5753
esac
 
5754
 
 
5755
 
 
5756
 
 
5757
 
 
5758
 
 
5759
 
 
5760
 
 
5761
 
 
5762
 
 
5763
if test -n "$ac_tool_prefix"; then
 
5764
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5765
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5766
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5767
$as_echo_n "checking for $ac_word... " >&6; }
 
5768
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5769
  $as_echo_n "(cached) " >&6
 
5770
else
 
5771
  if test -n "$OBJDUMP"; then
 
5772
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5773
else
 
5774
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5775
for as_dir in $PATH
 
5776
do
 
5777
  IFS=$as_save_IFS
 
5778
  test -z "$as_dir" && as_dir=.
 
5779
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5780
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5781
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5782
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5783
    break 2
 
5784
  fi
 
5785
done
 
5786
done
 
5787
IFS=$as_save_IFS
 
5788
 
 
5789
fi
 
5790
fi
 
5791
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5792
if test -n "$OBJDUMP"; then
 
5793
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5794
$as_echo "$OBJDUMP" >&6; }
 
5795
else
 
5796
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5797
$as_echo "no" >&6; }
 
5798
fi
 
5799
 
 
5800
 
 
5801
fi
 
5802
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5803
  ac_ct_OBJDUMP=$OBJDUMP
 
5804
  # Extract the first word of "objdump", so it can be a program name with args.
 
5805
set dummy objdump; ac_word=$2
 
5806
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5807
$as_echo_n "checking for $ac_word... " >&6; }
 
5808
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5809
  $as_echo_n "(cached) " >&6
 
5810
else
 
5811
  if test -n "$ac_ct_OBJDUMP"; then
 
5812
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5813
else
 
5814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5815
for as_dir in $PATH
 
5816
do
 
5817
  IFS=$as_save_IFS
 
5818
  test -z "$as_dir" && as_dir=.
 
5819
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5820
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5821
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5822
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5823
    break 2
 
5824
  fi
 
5825
done
 
5826
done
 
5827
IFS=$as_save_IFS
 
5828
 
 
5829
fi
 
5830
fi
 
5831
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5832
if test -n "$ac_ct_OBJDUMP"; then
 
5833
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5834
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5835
else
 
5836
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5837
$as_echo "no" >&6; }
 
5838
fi
 
5839
 
 
5840
  if test "x$ac_ct_OBJDUMP" = x; then
 
5841
    OBJDUMP="false"
 
5842
  else
 
5843
    case $cross_compiling:$ac_tool_warned in
 
5844
yes:)
 
5845
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5846
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5847
ac_tool_warned=yes ;;
 
5848
esac
 
5849
    OBJDUMP=$ac_ct_OBJDUMP
 
5850
  fi
 
5851
else
 
5852
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5853
fi
 
5854
 
 
5855
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5856
 
 
5857
 
 
5858
 
 
5859
 
 
5860
 
 
5861
 
 
5862
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5863
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4958
5864
if test "${lt_cv_deplibs_check_method+set}" = set; then
4959
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5865
  $as_echo_n "(cached) " >&6
4960
5866
else
4961
5867
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4962
5868
lt_cv_file_magic_test_file=
5006
5912
  fi
5007
5913
  ;;
5008
5914
 
 
5915
cegcc)
 
5916
  # use the weaker test based on 'objdump'. See mingw*.
 
5917
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5918
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5919
  ;;
 
5920
 
5009
5921
darwin* | rhapsody*)
5010
5922
  lt_cv_deplibs_check_method=pass_all
5011
5923
  ;;
5012
5924
 
5013
5925
freebsd* | dragonfly*)
5014
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5926
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5015
5927
    case $host_cpu in
5016
5928
    i*86 )
5017
5929
      # Not sure whether the presence of OpenBSD here was a mistake.
5069
5981
  ;;
5070
5982
 
5071
5983
netbsd*)
5072
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5984
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5073
5985
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5074
5986
  else
5075
5987
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5082
5994
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5083
5995
  ;;
5084
5996
 
5085
 
nto-qnx*)
5086
 
  lt_cv_deplibs_check_method=unknown
 
5997
*nto* | *qnx*)
 
5998
  lt_cv_deplibs_check_method=pass_all
5087
5999
  ;;
5088
6000
 
5089
6001
openbsd*)
5090
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
6002
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5091
6003
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5092
6004
  else
5093
6005
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5106
6018
  lt_cv_deplibs_check_method=pass_all
5107
6019
  ;;
5108
6020
 
 
6021
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6022
  lt_cv_deplibs_check_method=pass_all
 
6023
  ;;
 
6024
 
5109
6025
sysv4 | sysv4.3*)
5110
6026
  case $host_vendor in
5111
6027
  motorola)
5133
6049
  esac
5134
6050
  ;;
5135
6051
 
5136
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
6052
tpf*)
5137
6053
  lt_cv_deplibs_check_method=pass_all
5138
6054
  ;;
5139
6055
esac
5140
6056
 
5141
6057
fi
5142
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5143
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
6058
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
6059
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5144
6060
file_magic_cmd=$lt_cv_file_magic_cmd
5145
6061
deplibs_check_method=$lt_cv_deplibs_check_method
5146
6062
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5148
6064
 
5149
6065
 
5150
6066
 
 
6067
 
 
6068
 
 
6069
 
 
6070
 
 
6071
 
 
6072
 
 
6073
 
 
6074
 
 
6075
if test -n "$ac_tool_prefix"; then
 
6076
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
6077
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
6078
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6079
$as_echo_n "checking for $ac_word... " >&6; }
 
6080
if test "${ac_cv_prog_AR+set}" = set; then
 
6081
  $as_echo_n "(cached) " >&6
 
6082
else
 
6083
  if test -n "$AR"; then
 
6084
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
6085
else
 
6086
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6087
for as_dir in $PATH
 
6088
do
 
6089
  IFS=$as_save_IFS
 
6090
  test -z "$as_dir" && as_dir=.
 
6091
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6092
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6093
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6094
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6095
    break 2
 
6096
  fi
 
6097
done
 
6098
done
 
6099
IFS=$as_save_IFS
 
6100
 
 
6101
fi
 
6102
fi
 
6103
AR=$ac_cv_prog_AR
 
6104
if test -n "$AR"; then
 
6105
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
6106
$as_echo "$AR" >&6; }
 
6107
else
 
6108
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6109
$as_echo "no" >&6; }
 
6110
fi
 
6111
 
 
6112
 
 
6113
fi
 
6114
if test -z "$ac_cv_prog_AR"; then
 
6115
  ac_ct_AR=$AR
 
6116
  # Extract the first word of "ar", so it can be a program name with args.
 
6117
set dummy ar; ac_word=$2
 
6118
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6119
$as_echo_n "checking for $ac_word... " >&6; }
 
6120
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
6121
  $as_echo_n "(cached) " >&6
 
6122
else
 
6123
  if test -n "$ac_ct_AR"; then
 
6124
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
6125
else
 
6126
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6127
for as_dir in $PATH
 
6128
do
 
6129
  IFS=$as_save_IFS
 
6130
  test -z "$as_dir" && as_dir=.
 
6131
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6132
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6133
    ac_cv_prog_ac_ct_AR="ar"
 
6134
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6135
    break 2
 
6136
  fi
 
6137
done
 
6138
done
 
6139
IFS=$as_save_IFS
 
6140
 
 
6141
fi
 
6142
fi
 
6143
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
6144
if test -n "$ac_ct_AR"; then
 
6145
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
6146
$as_echo "$ac_ct_AR" >&6; }
 
6147
else
 
6148
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6149
$as_echo "no" >&6; }
 
6150
fi
 
6151
 
 
6152
  if test "x$ac_ct_AR" = x; then
 
6153
    AR="false"
 
6154
  else
 
6155
    case $cross_compiling:$ac_tool_warned in
 
6156
yes:)
 
6157
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6158
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6159
ac_tool_warned=yes ;;
 
6160
esac
 
6161
    AR=$ac_ct_AR
 
6162
  fi
 
6163
else
 
6164
  AR="$ac_cv_prog_AR"
 
6165
fi
 
6166
 
 
6167
test -z "$AR" && AR=ar
 
6168
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
6169
 
 
6170
 
 
6171
 
 
6172
 
 
6173
 
 
6174
 
 
6175
 
 
6176
 
 
6177
 
 
6178
 
 
6179
 
 
6180
if test -n "$ac_tool_prefix"; then
 
6181
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
6182
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
6183
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6184
$as_echo_n "checking for $ac_word... " >&6; }
 
6185
if test "${ac_cv_prog_STRIP+set}" = set; then
 
6186
  $as_echo_n "(cached) " >&6
 
6187
else
 
6188
  if test -n "$STRIP"; then
 
6189
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
6190
else
 
6191
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6192
for as_dir in $PATH
 
6193
do
 
6194
  IFS=$as_save_IFS
 
6195
  test -z "$as_dir" && as_dir=.
 
6196
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6197
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6198
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
6199
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6200
    break 2
 
6201
  fi
 
6202
done
 
6203
done
 
6204
IFS=$as_save_IFS
 
6205
 
 
6206
fi
 
6207
fi
 
6208
STRIP=$ac_cv_prog_STRIP
 
6209
if test -n "$STRIP"; then
 
6210
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
6211
$as_echo "$STRIP" >&6; }
 
6212
else
 
6213
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6214
$as_echo "no" >&6; }
 
6215
fi
 
6216
 
 
6217
 
 
6218
fi
 
6219
if test -z "$ac_cv_prog_STRIP"; then
 
6220
  ac_ct_STRIP=$STRIP
 
6221
  # Extract the first word of "strip", so it can be a program name with args.
 
6222
set dummy strip; ac_word=$2
 
6223
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6224
$as_echo_n "checking for $ac_word... " >&6; }
 
6225
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
6226
  $as_echo_n "(cached) " >&6
 
6227
else
 
6228
  if test -n "$ac_ct_STRIP"; then
 
6229
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
6230
else
 
6231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6232
for as_dir in $PATH
 
6233
do
 
6234
  IFS=$as_save_IFS
 
6235
  test -z "$as_dir" && as_dir=.
 
6236
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6237
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6238
    ac_cv_prog_ac_ct_STRIP="strip"
 
6239
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6240
    break 2
 
6241
  fi
 
6242
done
 
6243
done
 
6244
IFS=$as_save_IFS
 
6245
 
 
6246
fi
 
6247
fi
 
6248
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
6249
if test -n "$ac_ct_STRIP"; then
 
6250
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
6251
$as_echo "$ac_ct_STRIP" >&6; }
 
6252
else
 
6253
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6254
$as_echo "no" >&6; }
 
6255
fi
 
6256
 
 
6257
  if test "x$ac_ct_STRIP" = x; then
 
6258
    STRIP=":"
 
6259
  else
 
6260
    case $cross_compiling:$ac_tool_warned in
 
6261
yes:)
 
6262
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6263
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6264
ac_tool_warned=yes ;;
 
6265
esac
 
6266
    STRIP=$ac_ct_STRIP
 
6267
  fi
 
6268
else
 
6269
  STRIP="$ac_cv_prog_STRIP"
 
6270
fi
 
6271
 
 
6272
test -z "$STRIP" && STRIP=:
 
6273
 
 
6274
 
 
6275
 
 
6276
 
 
6277
 
 
6278
 
 
6279
if test -n "$ac_tool_prefix"; then
 
6280
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
6281
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
6282
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6283
$as_echo_n "checking for $ac_word... " >&6; }
 
6284
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
6285
  $as_echo_n "(cached) " >&6
 
6286
else
 
6287
  if test -n "$RANLIB"; then
 
6288
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
6289
else
 
6290
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6291
for as_dir in $PATH
 
6292
do
 
6293
  IFS=$as_save_IFS
 
6294
  test -z "$as_dir" && as_dir=.
 
6295
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6296
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6297
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
6298
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6299
    break 2
 
6300
  fi
 
6301
done
 
6302
done
 
6303
IFS=$as_save_IFS
 
6304
 
 
6305
fi
 
6306
fi
 
6307
RANLIB=$ac_cv_prog_RANLIB
 
6308
if test -n "$RANLIB"; then
 
6309
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
6310
$as_echo "$RANLIB" >&6; }
 
6311
else
 
6312
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6313
$as_echo "no" >&6; }
 
6314
fi
 
6315
 
 
6316
 
 
6317
fi
 
6318
if test -z "$ac_cv_prog_RANLIB"; then
 
6319
  ac_ct_RANLIB=$RANLIB
 
6320
  # Extract the first word of "ranlib", so it can be a program name with args.
 
6321
set dummy ranlib; ac_word=$2
 
6322
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6323
$as_echo_n "checking for $ac_word... " >&6; }
 
6324
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
6325
  $as_echo_n "(cached) " >&6
 
6326
else
 
6327
  if test -n "$ac_ct_RANLIB"; then
 
6328
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
6329
else
 
6330
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6331
for as_dir in $PATH
 
6332
do
 
6333
  IFS=$as_save_IFS
 
6334
  test -z "$as_dir" && as_dir=.
 
6335
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6336
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6337
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
6338
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6339
    break 2
 
6340
  fi
 
6341
done
 
6342
done
 
6343
IFS=$as_save_IFS
 
6344
 
 
6345
fi
 
6346
fi
 
6347
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
6348
if test -n "$ac_ct_RANLIB"; then
 
6349
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
6350
$as_echo "$ac_ct_RANLIB" >&6; }
 
6351
else
 
6352
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6353
$as_echo "no" >&6; }
 
6354
fi
 
6355
 
 
6356
  if test "x$ac_ct_RANLIB" = x; then
 
6357
    RANLIB=":"
 
6358
  else
 
6359
    case $cross_compiling:$ac_tool_warned in
 
6360
yes:)
 
6361
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6362
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6363
ac_tool_warned=yes ;;
 
6364
esac
 
6365
    RANLIB=$ac_ct_RANLIB
 
6366
  fi
 
6367
else
 
6368
  RANLIB="$ac_cv_prog_RANLIB"
 
6369
fi
 
6370
 
 
6371
test -z "$RANLIB" && RANLIB=:
 
6372
 
 
6373
 
 
6374
 
 
6375
 
 
6376
 
 
6377
 
 
6378
# Determine commands to create old-style static archives.
 
6379
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
6380
old_postinstall_cmds='chmod 644 $oldlib'
 
6381
old_postuninstall_cmds=
 
6382
 
 
6383
if test -n "$RANLIB"; then
 
6384
  case $host_os in
 
6385
  openbsd*)
 
6386
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
6387
    ;;
 
6388
  *)
 
6389
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
6390
    ;;
 
6391
  esac
 
6392
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
6393
fi
 
6394
 
 
6395
 
 
6396
 
 
6397
 
 
6398
 
 
6399
 
 
6400
 
 
6401
 
 
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
 
5151
6428
# If no C compiler was specified, use CC.
5152
6429
LTCC=${LTCC-"$CC"}
5153
6430
 
5158
6435
compiler=$CC
5159
6436
 
5160
6437
 
5161
 
# Check whether --enable-libtool-lock was given.
5162
 
if test "${enable_libtool_lock+set}" = set; then
5163
 
  enableval=$enable_libtool_lock;
5164
 
fi
5165
 
 
5166
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5167
 
 
5168
 
# Some flags need to be propagated to the compiler or linker for good
5169
 
# libtool support.
5170
 
case $host in
5171
 
ia64-*-hpux*)
5172
 
  # Find out which ABI we are using.
5173
 
  echo 'int i;' > conftest.$ac_ext
5174
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5175
 
  (eval $ac_compile) 2>&5
5176
 
  ac_status=$?
5177
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178
 
  (exit $ac_status); }; then
5179
 
    case `/usr/bin/file conftest.$ac_objext` in
5180
 
    *ELF-32*)
5181
 
      HPUX_IA64_MODE="32"
5182
 
      ;;
5183
 
    *ELF-64*)
5184
 
      HPUX_IA64_MODE="64"
5185
 
      ;;
5186
 
    esac
5187
 
  fi
5188
 
  rm -rf conftest*
5189
 
  ;;
5190
 
*-*-irix6*)
5191
 
  # Find out which ABI we are using.
5192
 
  echo '#line 5192 "configure"' > conftest.$ac_ext
5193
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5194
 
  (eval $ac_compile) 2>&5
5195
 
  ac_status=$?
5196
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197
 
  (exit $ac_status); }; then
5198
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
5199
 
    case `/usr/bin/file conftest.$ac_objext` in
5200
 
    *32-bit*)
5201
 
      LD="${LD-ld} -melf32bsmip"
5202
 
      ;;
5203
 
    *N32*)
5204
 
      LD="${LD-ld} -melf32bmipn32"
5205
 
      ;;
5206
 
    *64-bit*)
5207
 
      LD="${LD-ld} -melf64bmip"
5208
 
      ;;
5209
 
    esac
5210
 
   else
5211
 
    case `/usr/bin/file conftest.$ac_objext` in
5212
 
    *32-bit*)
5213
 
      LD="${LD-ld} -32"
5214
 
      ;;
5215
 
    *N32*)
5216
 
      LD="${LD-ld} -n32"
5217
 
      ;;
5218
 
    *64-bit*)
5219
 
      LD="${LD-ld} -64"
5220
 
      ;;
5221
 
    esac
5222
 
   fi
5223
 
  fi
5224
 
  rm -rf conftest*
5225
 
  ;;
5226
 
 
5227
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5228
 
s390*-*linux*|sparc*-*linux*)
5229
 
  # Find out which ABI we are using.
5230
 
  echo 'int i;' > conftest.$ac_ext
5231
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5232
 
  (eval $ac_compile) 2>&5
5233
 
  ac_status=$?
5234
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235
 
  (exit $ac_status); }; then
5236
 
    case `/usr/bin/file conftest.o` in
5237
 
    *32-bit*)
5238
 
      case $host in
5239
 
        x86_64-*kfreebsd*-gnu)
5240
 
          LD="${LD-ld} -m elf_i386_fbsd"
5241
 
          ;;
5242
 
        x86_64-*linux*)
5243
 
          LD="${LD-ld} -m elf_i386"
5244
 
          ;;
5245
 
        ppc64-*linux*|powerpc64-*linux*)
5246
 
          LD="${LD-ld} -m elf32ppclinux"
5247
 
          ;;
5248
 
        s390x-*linux*)
5249
 
          LD="${LD-ld} -m elf_s390"
5250
 
          ;;
5251
 
        sparc64-*linux*)
5252
 
          LD="${LD-ld} -m elf32_sparc"
5253
 
          ;;
5254
 
      esac
5255
 
      ;;
5256
 
    *64-bit*)
5257
 
      case $host in
5258
 
        x86_64-*kfreebsd*-gnu)
5259
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
5260
 
          ;;
5261
 
        x86_64-*linux*)
5262
 
          LD="${LD-ld} -m elf_x86_64"
5263
 
          ;;
5264
 
        ppc*-*linux*|powerpc*-*linux*)
5265
 
          LD="${LD-ld} -m elf64ppc"
5266
 
          ;;
5267
 
        s390*-*linux*)
5268
 
          LD="${LD-ld} -m elf64_s390"
5269
 
          ;;
5270
 
        sparc*-*linux*)
5271
 
          LD="${LD-ld} -m elf64_sparc"
5272
 
          ;;
5273
 
      esac
5274
 
      ;;
5275
 
    esac
5276
 
  fi
5277
 
  rm -rf conftest*
5278
 
  ;;
5279
 
 
5280
 
*-*-sco3.2v5*)
5281
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5282
 
  SAVE_CFLAGS="$CFLAGS"
5283
 
  CFLAGS="$CFLAGS -belf"
5284
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5285
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
5286
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
5287
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5288
 
else
5289
 
  ac_ext=c
5290
 
ac_cpp='$CPP $CPPFLAGS'
5291
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5292
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5293
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5294
 
 
5295
 
     cat >conftest.$ac_ext <<_ACEOF
5296
 
/* confdefs.h.  */
5297
 
_ACEOF
5298
 
cat confdefs.h >>conftest.$ac_ext
5299
 
cat >>conftest.$ac_ext <<_ACEOF
5300
 
/* end confdefs.h.  */
5301
 
 
5302
 
int
5303
 
main ()
5304
 
{
5305
 
 
5306
 
  ;
5307
 
  return 0;
5308
 
}
5309
 
_ACEOF
5310
 
rm -f conftest.$ac_objext conftest$ac_exeext
5311
 
if { (ac_try="$ac_link"
5312
 
case "(($ac_try" in
5313
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5314
 
  *) ac_try_echo=$ac_try;;
5315
 
esac
5316
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5317
 
  (eval "$ac_link") 2>conftest.er1
5318
 
  ac_status=$?
5319
 
  grep -v '^ *+' conftest.er1 >conftest.err
5320
 
  rm -f conftest.er1
5321
 
  cat conftest.err >&5
5322
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323
 
  (exit $ac_status); } && {
5324
 
         test -z "$ac_c_werror_flag" ||
5325
 
         test ! -s conftest.err
5326
 
       } && test -s conftest$ac_exeext &&
5327
 
       $as_test_x conftest$ac_exeext; then
5328
 
  lt_cv_cc_needs_belf=yes
5329
 
else
5330
 
  echo "$as_me: failed program was:" >&5
5331
 
sed 's/^/| /' conftest.$ac_ext >&5
5332
 
 
5333
 
        lt_cv_cc_needs_belf=no
5334
 
fi
5335
 
 
5336
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5337
 
      conftest$ac_exeext conftest.$ac_ext
5338
 
     ac_ext=c
5339
 
ac_cpp='$CPP $CPPFLAGS'
5340
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5341
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5342
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5343
 
 
5344
 
fi
5345
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5346
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
5347
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5348
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5349
 
    CFLAGS="$SAVE_CFLAGS"
5350
 
  fi
5351
 
  ;;
5352
 
sparc*-*solaris*)
5353
 
  # Find out which ABI we are using.
5354
 
  echo 'int i;' > conftest.$ac_ext
5355
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5356
 
  (eval $ac_compile) 2>&5
5357
 
  ac_status=$?
5358
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359
 
  (exit $ac_status); }; then
5360
 
    case `/usr/bin/file conftest.o` in
5361
 
    *64-bit*)
5362
 
      case $lt_cv_prog_gnu_ld in
5363
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
5364
 
      *)
5365
 
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5366
 
          LD="${LD-ld} -64"
5367
 
        fi
5368
 
        ;;
5369
 
      esac
5370
 
      ;;
5371
 
    esac
5372
 
  fi
5373
 
  rm -rf conftest*
5374
 
  ;;
5375
 
 
5376
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
5377
 
  if test -n "$ac_tool_prefix"; then
5378
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5379
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5380
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5381
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5382
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5383
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5384
 
else
5385
 
  if test -n "$DLLTOOL"; then
5386
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5387
 
else
5388
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389
 
for as_dir in $PATH
5390
 
do
5391
 
  IFS=$as_save_IFS
5392
 
  test -z "$as_dir" && as_dir=.
5393
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5394
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5395
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5396
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5397
 
    break 2
5398
 
  fi
5399
 
done
5400
 
done
5401
 
IFS=$as_save_IFS
5402
 
 
5403
 
fi
5404
 
fi
5405
 
DLLTOOL=$ac_cv_prog_DLLTOOL
5406
 
if test -n "$DLLTOOL"; then
5407
 
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5408
 
echo "${ECHO_T}$DLLTOOL" >&6; }
5409
 
else
5410
 
  { echo "$as_me:$LINENO: result: no" >&5
5411
 
echo "${ECHO_T}no" >&6; }
5412
 
fi
5413
 
 
5414
 
 
5415
 
fi
5416
 
if test -z "$ac_cv_prog_DLLTOOL"; then
5417
 
  ac_ct_DLLTOOL=$DLLTOOL
5418
 
  # Extract the first word of "dlltool", so it can be a program name with args.
5419
 
set dummy dlltool; ac_word=$2
5420
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5421
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5422
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5423
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5424
 
else
5425
 
  if test -n "$ac_ct_DLLTOOL"; then
5426
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5427
 
else
5428
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5429
 
for as_dir in $PATH
5430
 
do
5431
 
  IFS=$as_save_IFS
5432
 
  test -z "$as_dir" && as_dir=.
5433
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5434
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5435
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5436
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5437
 
    break 2
5438
 
  fi
5439
 
done
5440
 
done
5441
 
IFS=$as_save_IFS
5442
 
 
5443
 
fi
5444
 
fi
5445
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5446
 
if test -n "$ac_ct_DLLTOOL"; then
5447
 
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5448
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
5449
 
else
5450
 
  { echo "$as_me:$LINENO: result: no" >&5
5451
 
echo "${ECHO_T}no" >&6; }
5452
 
fi
5453
 
 
5454
 
  if test "x$ac_ct_DLLTOOL" = x; then
5455
 
    DLLTOOL="false"
5456
 
  else
5457
 
    case $cross_compiling:$ac_tool_warned in
5458
 
yes:)
5459
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5460
 
whose name does not start with the host triplet.  If you think this
5461
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5462
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5463
 
whose name does not start with the host triplet.  If you think this
5464
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5465
 
ac_tool_warned=yes ;;
5466
 
esac
5467
 
    DLLTOOL=$ac_ct_DLLTOOL
5468
 
  fi
5469
 
else
5470
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
5471
 
fi
5472
 
 
5473
 
  if test -n "$ac_tool_prefix"; then
5474
 
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5475
 
set dummy ${ac_tool_prefix}as; ac_word=$2
5476
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5477
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5478
 
if test "${ac_cv_prog_AS+set}" = set; then
5479
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5480
 
else
5481
 
  if test -n "$AS"; then
5482
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
5483
 
else
5484
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485
 
for as_dir in $PATH
5486
 
do
5487
 
  IFS=$as_save_IFS
5488
 
  test -z "$as_dir" && as_dir=.
5489
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5490
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491
 
    ac_cv_prog_AS="${ac_tool_prefix}as"
5492
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5493
 
    break 2
5494
 
  fi
5495
 
done
5496
 
done
5497
 
IFS=$as_save_IFS
5498
 
 
5499
 
fi
5500
 
fi
5501
 
AS=$ac_cv_prog_AS
5502
 
if test -n "$AS"; then
5503
 
  { echo "$as_me:$LINENO: result: $AS" >&5
5504
 
echo "${ECHO_T}$AS" >&6; }
5505
 
else
5506
 
  { echo "$as_me:$LINENO: result: no" >&5
5507
 
echo "${ECHO_T}no" >&6; }
5508
 
fi
5509
 
 
5510
 
 
5511
 
fi
5512
 
if test -z "$ac_cv_prog_AS"; then
5513
 
  ac_ct_AS=$AS
5514
 
  # Extract the first word of "as", so it can be a program name with args.
5515
 
set dummy as; ac_word=$2
5516
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5517
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5518
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5519
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5520
 
else
5521
 
  if test -n "$ac_ct_AS"; then
5522
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5523
 
else
5524
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525
 
for as_dir in $PATH
5526
 
do
5527
 
  IFS=$as_save_IFS
5528
 
  test -z "$as_dir" && as_dir=.
5529
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5530
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531
 
    ac_cv_prog_ac_ct_AS="as"
5532
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5533
 
    break 2
5534
 
  fi
5535
 
done
5536
 
done
5537
 
IFS=$as_save_IFS
5538
 
 
5539
 
fi
5540
 
fi
5541
 
ac_ct_AS=$ac_cv_prog_ac_ct_AS
5542
 
if test -n "$ac_ct_AS"; then
5543
 
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5544
 
echo "${ECHO_T}$ac_ct_AS" >&6; }
5545
 
else
5546
 
  { echo "$as_me:$LINENO: result: no" >&5
5547
 
echo "${ECHO_T}no" >&6; }
5548
 
fi
5549
 
 
5550
 
  if test "x$ac_ct_AS" = x; then
5551
 
    AS="false"
5552
 
  else
5553
 
    case $cross_compiling:$ac_tool_warned in
5554
 
yes:)
5555
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5556
 
whose name does not start with the host triplet.  If you think this
5557
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5558
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5559
 
whose name does not start with the host triplet.  If you think this
5560
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5561
 
ac_tool_warned=yes ;;
5562
 
esac
5563
 
    AS=$ac_ct_AS
5564
 
  fi
5565
 
else
5566
 
  AS="$ac_cv_prog_AS"
5567
 
fi
5568
 
 
5569
 
  if test -n "$ac_tool_prefix"; then
5570
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5571
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5572
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5573
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5574
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5575
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5576
 
else
5577
 
  if test -n "$OBJDUMP"; then
5578
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5579
 
else
5580
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581
 
for as_dir in $PATH
5582
 
do
5583
 
  IFS=$as_save_IFS
5584
 
  test -z "$as_dir" && as_dir=.
5585
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5586
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5587
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5588
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5589
 
    break 2
5590
 
  fi
5591
 
done
5592
 
done
5593
 
IFS=$as_save_IFS
5594
 
 
5595
 
fi
5596
 
fi
5597
 
OBJDUMP=$ac_cv_prog_OBJDUMP
5598
 
if test -n "$OBJDUMP"; then
5599
 
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5600
 
echo "${ECHO_T}$OBJDUMP" >&6; }
5601
 
else
5602
 
  { echo "$as_me:$LINENO: result: no" >&5
5603
 
echo "${ECHO_T}no" >&6; }
5604
 
fi
5605
 
 
5606
 
 
5607
 
fi
5608
 
if test -z "$ac_cv_prog_OBJDUMP"; then
5609
 
  ac_ct_OBJDUMP=$OBJDUMP
5610
 
  # Extract the first word of "objdump", so it can be a program name with args.
5611
 
set dummy objdump; ac_word=$2
5612
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5613
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5614
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5615
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5616
 
else
5617
 
  if test -n "$ac_ct_OBJDUMP"; then
5618
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5619
 
else
5620
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621
 
for as_dir in $PATH
5622
 
do
5623
 
  IFS=$as_save_IFS
5624
 
  test -z "$as_dir" && as_dir=.
5625
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5626
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5627
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5628
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5629
 
    break 2
5630
 
  fi
5631
 
done
5632
 
done
5633
 
IFS=$as_save_IFS
5634
 
 
5635
 
fi
5636
 
fi
5637
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5638
 
if test -n "$ac_ct_OBJDUMP"; then
5639
 
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5640
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5641
 
else
5642
 
  { echo "$as_me:$LINENO: result: no" >&5
5643
 
echo "${ECHO_T}no" >&6; }
5644
 
fi
5645
 
 
5646
 
  if test "x$ac_ct_OBJDUMP" = x; then
5647
 
    OBJDUMP="false"
5648
 
  else
5649
 
    case $cross_compiling:$ac_tool_warned in
5650
 
yes:)
5651
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5652
 
whose name does not start with the host triplet.  If you think this
5653
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5654
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5655
 
whose name does not start with the host triplet.  If you think this
5656
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5657
 
ac_tool_warned=yes ;;
5658
 
esac
5659
 
    OBJDUMP=$ac_ct_OBJDUMP
5660
 
  fi
5661
 
else
5662
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5663
 
fi
5664
 
 
5665
 
  ;;
5666
 
 
5667
 
esac
5668
 
 
5669
 
need_locks="$enable_libtool_lock"
5670
 
 
5671
 
 
5672
 
ac_ext=c
5673
 
ac_cpp='$CPP $CPPFLAGS'
5674
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5675
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5676
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5677
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5678
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5679
 
# On Suns, sometimes $CPP names a directory.
5680
 
if test -n "$CPP" && test -d "$CPP"; then
5681
 
  CPP=
5682
 
fi
5683
 
if test -z "$CPP"; then
5684
 
  if test "${ac_cv_prog_CPP+set}" = set; then
5685
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5686
 
else
5687
 
      # Double quotes because CPP needs to be expanded
5688
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5689
 
    do
5690
 
      ac_preproc_ok=false
5691
 
for ac_c_preproc_warn_flag in '' yes
5692
 
do
5693
 
  # Use a header file that comes with gcc, so configuring glibc
5694
 
  # with a fresh cross-compiler works.
5695
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5696
 
  # <limits.h> exists even on freestanding compilers.
5697
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5698
 
  # not just through cpp. "Syntax error" is here to catch this case.
5699
 
  cat >conftest.$ac_ext <<_ACEOF
5700
 
/* confdefs.h.  */
5701
 
_ACEOF
5702
 
cat confdefs.h >>conftest.$ac_ext
5703
 
cat >>conftest.$ac_ext <<_ACEOF
5704
 
/* end confdefs.h.  */
5705
 
#ifdef __STDC__
5706
 
# include <limits.h>
5707
 
#else
5708
 
# include <assert.h>
5709
 
#endif
5710
 
                     Syntax error
5711
 
_ACEOF
5712
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5713
 
case "(($ac_try" in
5714
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5715
 
  *) ac_try_echo=$ac_try;;
5716
 
esac
5717
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5718
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5719
 
  ac_status=$?
5720
 
  grep -v '^ *+' conftest.er1 >conftest.err
5721
 
  rm -f conftest.er1
5722
 
  cat conftest.err >&5
5723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724
 
  (exit $ac_status); } >/dev/null && {
5725
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5726
 
         test ! -s conftest.err
5727
 
       }; then
5728
 
  :
5729
 
else
5730
 
  echo "$as_me: failed program was:" >&5
5731
 
sed 's/^/| /' conftest.$ac_ext >&5
5732
 
 
5733
 
  # Broken: fails on valid input.
5734
 
continue
5735
 
fi
5736
 
 
5737
 
rm -f conftest.err conftest.$ac_ext
5738
 
 
5739
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5740
 
  # can be detected and how.
5741
 
  cat >conftest.$ac_ext <<_ACEOF
5742
 
/* confdefs.h.  */
5743
 
_ACEOF
5744
 
cat confdefs.h >>conftest.$ac_ext
5745
 
cat >>conftest.$ac_ext <<_ACEOF
5746
 
/* end confdefs.h.  */
5747
 
#include <ac_nonexistent.h>
5748
 
_ACEOF
5749
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5750
 
case "(($ac_try" in
5751
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5752
 
  *) ac_try_echo=$ac_try;;
5753
 
esac
5754
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5755
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5756
 
  ac_status=$?
5757
 
  grep -v '^ *+' conftest.er1 >conftest.err
5758
 
  rm -f conftest.er1
5759
 
  cat conftest.err >&5
5760
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761
 
  (exit $ac_status); } >/dev/null && {
5762
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5763
 
         test ! -s conftest.err
5764
 
       }; then
5765
 
  # Broken: success on invalid input.
5766
 
continue
5767
 
else
5768
 
  echo "$as_me: failed program was:" >&5
5769
 
sed 's/^/| /' conftest.$ac_ext >&5
5770
 
 
5771
 
  # Passes both tests.
5772
 
ac_preproc_ok=:
5773
 
break
5774
 
fi
5775
 
 
5776
 
rm -f conftest.err conftest.$ac_ext
5777
 
 
5778
 
done
5779
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5780
 
rm -f conftest.err conftest.$ac_ext
5781
 
if $ac_preproc_ok; then
5782
 
  break
5783
 
fi
5784
 
 
5785
 
    done
5786
 
    ac_cv_prog_CPP=$CPP
5787
 
 
5788
 
fi
5789
 
  CPP=$ac_cv_prog_CPP
5790
 
else
5791
 
  ac_cv_prog_CPP=$CPP
5792
 
fi
5793
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5794
 
echo "${ECHO_T}$CPP" >&6; }
5795
 
ac_preproc_ok=false
5796
 
for ac_c_preproc_warn_flag in '' yes
5797
 
do
5798
 
  # Use a header file that comes with gcc, so configuring glibc
5799
 
  # with a fresh cross-compiler works.
5800
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5801
 
  # <limits.h> exists even on freestanding compilers.
5802
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5803
 
  # not just through cpp. "Syntax error" is here to catch this case.
5804
 
  cat >conftest.$ac_ext <<_ACEOF
5805
 
/* confdefs.h.  */
5806
 
_ACEOF
5807
 
cat confdefs.h >>conftest.$ac_ext
5808
 
cat >>conftest.$ac_ext <<_ACEOF
5809
 
/* end confdefs.h.  */
5810
 
#ifdef __STDC__
5811
 
# include <limits.h>
5812
 
#else
5813
 
# include <assert.h>
5814
 
#endif
5815
 
                     Syntax error
5816
 
_ACEOF
5817
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5818
 
case "(($ac_try" in
5819
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5820
 
  *) ac_try_echo=$ac_try;;
5821
 
esac
5822
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5823
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5824
 
  ac_status=$?
5825
 
  grep -v '^ *+' conftest.er1 >conftest.err
5826
 
  rm -f conftest.er1
5827
 
  cat conftest.err >&5
5828
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829
 
  (exit $ac_status); } >/dev/null && {
5830
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5831
 
         test ! -s conftest.err
5832
 
       }; then
5833
 
  :
5834
 
else
5835
 
  echo "$as_me: failed program was:" >&5
5836
 
sed 's/^/| /' conftest.$ac_ext >&5
5837
 
 
5838
 
  # Broken: fails on valid input.
5839
 
continue
5840
 
fi
5841
 
 
5842
 
rm -f conftest.err conftest.$ac_ext
5843
 
 
5844
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5845
 
  # can be detected and how.
5846
 
  cat >conftest.$ac_ext <<_ACEOF
5847
 
/* confdefs.h.  */
5848
 
_ACEOF
5849
 
cat confdefs.h >>conftest.$ac_ext
5850
 
cat >>conftest.$ac_ext <<_ACEOF
5851
 
/* end confdefs.h.  */
5852
 
#include <ac_nonexistent.h>
5853
 
_ACEOF
5854
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5855
 
case "(($ac_try" in
5856
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5857
 
  *) ac_try_echo=$ac_try;;
5858
 
esac
5859
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5860
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5861
 
  ac_status=$?
5862
 
  grep -v '^ *+' conftest.er1 >conftest.err
5863
 
  rm -f conftest.er1
5864
 
  cat conftest.err >&5
5865
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866
 
  (exit $ac_status); } >/dev/null && {
5867
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5868
 
         test ! -s conftest.err
5869
 
       }; then
5870
 
  # Broken: success on invalid input.
5871
 
continue
5872
 
else
5873
 
  echo "$as_me: failed program was:" >&5
5874
 
sed 's/^/| /' conftest.$ac_ext >&5
5875
 
 
5876
 
  # Passes both tests.
5877
 
ac_preproc_ok=:
5878
 
break
5879
 
fi
5880
 
 
5881
 
rm -f conftest.err conftest.$ac_ext
5882
 
 
5883
 
done
5884
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5885
 
rm -f conftest.err conftest.$ac_ext
5886
 
if $ac_preproc_ok; then
5887
 
  :
5888
 
else
5889
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5890
 
See \`config.log' for more details." >&5
5891
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5892
 
See \`config.log' for more details." >&2;}
5893
 
   { (exit 1); exit 1; }; }
5894
 
fi
5895
 
 
5896
 
ac_ext=c
5897
 
ac_cpp='$CPP $CPPFLAGS'
5898
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5899
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5900
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5901
 
 
5902
 
 
5903
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5904
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5905
 
if test "${ac_cv_header_stdc+set}" = set; then
5906
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5907
 
else
5908
 
  cat >conftest.$ac_ext <<_ACEOF
5909
 
/* confdefs.h.  */
5910
 
_ACEOF
5911
 
cat confdefs.h >>conftest.$ac_ext
5912
 
cat >>conftest.$ac_ext <<_ACEOF
5913
 
/* end confdefs.h.  */
5914
 
#include <stdlib.h>
5915
 
#include <stdarg.h>
5916
 
#include <string.h>
5917
 
#include <float.h>
5918
 
 
5919
 
int
5920
 
main ()
5921
 
{
5922
 
 
5923
 
  ;
5924
 
  return 0;
5925
 
}
5926
 
_ACEOF
5927
 
rm -f conftest.$ac_objext
5928
 
if { (ac_try="$ac_compile"
5929
 
case "(($ac_try" in
5930
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5931
 
  *) ac_try_echo=$ac_try;;
5932
 
esac
5933
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5934
 
  (eval "$ac_compile") 2>conftest.er1
5935
 
  ac_status=$?
5936
 
  grep -v '^ *+' conftest.er1 >conftest.err
5937
 
  rm -f conftest.er1
5938
 
  cat conftest.err >&5
5939
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940
 
  (exit $ac_status); } && {
5941
 
         test -z "$ac_c_werror_flag" ||
5942
 
         test ! -s conftest.err
5943
 
       } && test -s conftest.$ac_objext; then
5944
 
  ac_cv_header_stdc=yes
5945
 
else
5946
 
  echo "$as_me: failed program was:" >&5
5947
 
sed 's/^/| /' conftest.$ac_ext >&5
5948
 
 
5949
 
        ac_cv_header_stdc=no
5950
 
fi
5951
 
 
5952
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5953
 
 
5954
 
if test $ac_cv_header_stdc = yes; then
5955
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5956
 
  cat >conftest.$ac_ext <<_ACEOF
5957
 
/* confdefs.h.  */
5958
 
_ACEOF
5959
 
cat confdefs.h >>conftest.$ac_ext
5960
 
cat >>conftest.$ac_ext <<_ACEOF
5961
 
/* end confdefs.h.  */
5962
 
#include <string.h>
5963
 
 
5964
 
_ACEOF
5965
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5966
 
  $EGREP "memchr" >/dev/null 2>&1; then
5967
 
  :
5968
 
else
5969
 
  ac_cv_header_stdc=no
5970
 
fi
5971
 
rm -f conftest*
5972
 
 
5973
 
fi
5974
 
 
5975
 
if test $ac_cv_header_stdc = yes; then
5976
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5977
 
  cat >conftest.$ac_ext <<_ACEOF
5978
 
/* confdefs.h.  */
5979
 
_ACEOF
5980
 
cat confdefs.h >>conftest.$ac_ext
5981
 
cat >>conftest.$ac_ext <<_ACEOF
5982
 
/* end confdefs.h.  */
5983
 
#include <stdlib.h>
5984
 
 
5985
 
_ACEOF
5986
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5987
 
  $EGREP "free" >/dev/null 2>&1; then
5988
 
  :
5989
 
else
5990
 
  ac_cv_header_stdc=no
5991
 
fi
5992
 
rm -f conftest*
5993
 
 
5994
 
fi
5995
 
 
5996
 
if test $ac_cv_header_stdc = yes; then
5997
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5998
 
  if test "$cross_compiling" = yes; then
5999
 
  :
6000
 
else
6001
 
  cat >conftest.$ac_ext <<_ACEOF
6002
 
/* confdefs.h.  */
6003
 
_ACEOF
6004
 
cat confdefs.h >>conftest.$ac_ext
6005
 
cat >>conftest.$ac_ext <<_ACEOF
6006
 
/* end confdefs.h.  */
6007
 
#include <ctype.h>
6008
 
#include <stdlib.h>
6009
 
#if ((' ' & 0x0FF) == 0x020)
6010
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6011
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6012
 
#else
6013
 
# define ISLOWER(c) \
6014
 
                   (('a' <= (c) && (c) <= 'i') \
6015
 
                     || ('j' <= (c) && (c) <= 'r') \
6016
 
                     || ('s' <= (c) && (c) <= 'z'))
6017
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6018
 
#endif
6019
 
 
6020
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6021
 
int
6022
 
main ()
6023
 
{
6024
 
  int i;
6025
 
  for (i = 0; i < 256; i++)
6026
 
    if (XOR (islower (i), ISLOWER (i))
6027
 
        || toupper (i) != TOUPPER (i))
6028
 
      return 2;
6029
 
  return 0;
6030
 
}
6031
 
_ACEOF
6032
 
rm -f conftest$ac_exeext
6033
 
if { (ac_try="$ac_link"
6034
 
case "(($ac_try" in
6035
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6036
 
  *) ac_try_echo=$ac_try;;
6037
 
esac
6038
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6039
 
  (eval "$ac_link") 2>&5
6040
 
  ac_status=$?
6041
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6042
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6043
 
  { (case "(($ac_try" in
6044
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6045
 
  *) ac_try_echo=$ac_try;;
6046
 
esac
6047
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6048
 
  (eval "$ac_try") 2>&5
6049
 
  ac_status=$?
6050
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051
 
  (exit $ac_status); }; }; then
6052
 
  :
6053
 
else
6054
 
  echo "$as_me: program exited with status $ac_status" >&5
6055
 
echo "$as_me: failed program was:" >&5
6056
 
sed 's/^/| /' conftest.$ac_ext >&5
6057
 
 
6058
 
( exit $ac_status )
6059
 
ac_cv_header_stdc=no
6060
 
fi
6061
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6062
 
fi
6063
 
 
6064
 
 
6065
 
fi
6066
 
fi
6067
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6068
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6069
 
if test $ac_cv_header_stdc = yes; then
6070
 
 
6071
 
cat >>confdefs.h <<\_ACEOF
6072
 
#define STDC_HEADERS 1
6073
 
_ACEOF
6074
 
 
6075
 
fi
6076
 
 
6077
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6078
 
 
6079
 
 
6080
 
 
6081
 
 
6082
 
 
6083
 
 
6084
 
 
6085
 
 
6086
 
 
6087
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6088
 
                  inttypes.h stdint.h unistd.h
6089
 
do
6090
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6091
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6092
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6093
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6094
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6095
 
else
6096
 
  cat >conftest.$ac_ext <<_ACEOF
6097
 
/* confdefs.h.  */
6098
 
_ACEOF
6099
 
cat confdefs.h >>conftest.$ac_ext
6100
 
cat >>conftest.$ac_ext <<_ACEOF
6101
 
/* end confdefs.h.  */
6102
 
$ac_includes_default
6103
 
 
6104
 
#include <$ac_header>
6105
 
_ACEOF
6106
 
rm -f conftest.$ac_objext
6107
 
if { (ac_try="$ac_compile"
6108
 
case "(($ac_try" in
6109
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6110
 
  *) ac_try_echo=$ac_try;;
6111
 
esac
6112
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6113
 
  (eval "$ac_compile") 2>conftest.er1
6114
 
  ac_status=$?
6115
 
  grep -v '^ *+' conftest.er1 >conftest.err
6116
 
  rm -f conftest.er1
6117
 
  cat conftest.err >&5
6118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119
 
  (exit $ac_status); } && {
6120
 
         test -z "$ac_c_werror_flag" ||
6121
 
         test ! -s conftest.err
6122
 
       } && test -s conftest.$ac_objext; then
6123
 
  eval "$as_ac_Header=yes"
6124
 
else
6125
 
  echo "$as_me: failed program was:" >&5
6126
 
sed 's/^/| /' conftest.$ac_ext >&5
6127
 
 
6128
 
        eval "$as_ac_Header=no"
6129
 
fi
6130
 
 
6131
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6132
 
fi
6133
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6134
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6135
 
echo "${ECHO_T}$ac_res" >&6; }
6136
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6137
 
  cat >>confdefs.h <<_ACEOF
6138
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6139
 
_ACEOF
6140
 
 
6141
 
fi
6142
 
 
6143
 
done
6144
 
 
6145
 
 
6146
 
 
6147
 
for ac_header in dlfcn.h
6148
 
do
6149
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6150
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6151
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
6152
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6153
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6154
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6155
 
fi
6156
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6157
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6158
 
echo "${ECHO_T}$ac_res" >&6; }
6159
 
else
6160
 
  # Is the header compilable?
6161
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6162
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6163
 
cat >conftest.$ac_ext <<_ACEOF
6164
 
/* confdefs.h.  */
6165
 
_ACEOF
6166
 
cat confdefs.h >>conftest.$ac_ext
6167
 
cat >>conftest.$ac_ext <<_ACEOF
6168
 
/* end confdefs.h.  */
6169
 
$ac_includes_default
6170
 
#include <$ac_header>
6171
 
_ACEOF
6172
 
rm -f conftest.$ac_objext
6173
 
if { (ac_try="$ac_compile"
6174
 
case "(($ac_try" in
6175
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6176
 
  *) ac_try_echo=$ac_try;;
6177
 
esac
6178
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6179
 
  (eval "$ac_compile") 2>conftest.er1
6180
 
  ac_status=$?
6181
 
  grep -v '^ *+' conftest.er1 >conftest.err
6182
 
  rm -f conftest.er1
6183
 
  cat conftest.err >&5
6184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185
 
  (exit $ac_status); } && {
6186
 
         test -z "$ac_c_werror_flag" ||
6187
 
         test ! -s conftest.err
6188
 
       } && test -s conftest.$ac_objext; then
6189
 
  ac_header_compiler=yes
6190
 
else
6191
 
  echo "$as_me: failed program was:" >&5
6192
 
sed 's/^/| /' conftest.$ac_ext >&5
6193
 
 
6194
 
        ac_header_compiler=no
6195
 
fi
6196
 
 
6197
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6198
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6199
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
6200
 
 
6201
 
# Is the header present?
6202
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6203
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6204
 
cat >conftest.$ac_ext <<_ACEOF
6205
 
/* confdefs.h.  */
6206
 
_ACEOF
6207
 
cat confdefs.h >>conftest.$ac_ext
6208
 
cat >>conftest.$ac_ext <<_ACEOF
6209
 
/* end confdefs.h.  */
6210
 
#include <$ac_header>
6211
 
_ACEOF
6212
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6213
 
case "(($ac_try" in
6214
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6215
 
  *) ac_try_echo=$ac_try;;
6216
 
esac
6217
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6218
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6219
 
  ac_status=$?
6220
 
  grep -v '^ *+' conftest.er1 >conftest.err
6221
 
  rm -f conftest.er1
6222
 
  cat conftest.err >&5
6223
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224
 
  (exit $ac_status); } >/dev/null && {
6225
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6226
 
         test ! -s conftest.err
6227
 
       }; then
6228
 
  ac_header_preproc=yes
6229
 
else
6230
 
  echo "$as_me: failed program was:" >&5
6231
 
sed 's/^/| /' conftest.$ac_ext >&5
6232
 
 
6233
 
  ac_header_preproc=no
6234
 
fi
6235
 
 
6236
 
rm -f conftest.err conftest.$ac_ext
6237
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6238
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
6239
 
 
6240
 
# So?  What about this header?
6241
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6242
 
  yes:no: )
6243
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6244
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6245
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6246
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6247
 
    ac_header_preproc=yes
6248
 
    ;;
6249
 
  no:yes:* )
6250
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6251
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6252
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6253
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6254
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6255
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6256
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6257
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6258
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6259
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6260
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6261
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6262
 
    ( cat <<\_ASBOX
6263
 
## -------------------------------- ##
6264
 
## Report this to bug-guile@gnu.org ##
6265
 
## -------------------------------- ##
6266
 
_ASBOX
6267
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
6268
 
    ;;
6269
 
esac
6270
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6271
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6272
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6273
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6274
 
else
6275
 
  eval "$as_ac_Header=\$ac_header_preproc"
6276
 
fi
6277
 
ac_res=`eval echo '${'$as_ac_Header'}'`
6278
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
6279
 
echo "${ECHO_T}$ac_res" >&6; }
6280
 
 
6281
 
fi
6282
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6283
 
  cat >>confdefs.h <<_ACEOF
6284
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6285
 
_ACEOF
6286
 
 
6287
 
fi
6288
 
 
6289
 
done
6290
 
 
6291
 
ac_ext=cpp
6292
 
ac_cpp='$CXXCPP $CPPFLAGS'
6293
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6294
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6295
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6296
 
if test -z "$CXX"; then
6297
 
  if test -n "$CCC"; then
6298
 
    CXX=$CCC
6299
 
  else
6300
 
    if test -n "$ac_tool_prefix"; then
6301
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6302
 
  do
6303
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6304
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6305
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6306
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6307
 
if test "${ac_cv_prog_CXX+set}" = set; then
6308
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6309
 
else
6310
 
  if test -n "$CXX"; then
6311
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
6312
 
else
6313
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314
 
for as_dir in $PATH
6315
 
do
6316
 
  IFS=$as_save_IFS
6317
 
  test -z "$as_dir" && as_dir=.
6318
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6319
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6320
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6321
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6322
 
    break 2
6323
 
  fi
6324
 
done
6325
 
done
6326
 
IFS=$as_save_IFS
6327
 
 
6328
 
fi
6329
 
fi
6330
 
CXX=$ac_cv_prog_CXX
6331
 
if test -n "$CXX"; then
6332
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
6333
 
echo "${ECHO_T}$CXX" >&6; }
6334
 
else
6335
 
  { echo "$as_me:$LINENO: result: no" >&5
6336
 
echo "${ECHO_T}no" >&6; }
6337
 
fi
6338
 
 
6339
 
 
6340
 
    test -n "$CXX" && break
6341
 
  done
6342
 
fi
6343
 
if test -z "$CXX"; then
6344
 
  ac_ct_CXX=$CXX
6345
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6346
 
do
6347
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6348
 
set dummy $ac_prog; ac_word=$2
6349
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6350
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6351
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6352
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6353
 
else
6354
 
  if test -n "$ac_ct_CXX"; then
6355
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6356
 
else
6357
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358
 
for as_dir in $PATH
6359
 
do
6360
 
  IFS=$as_save_IFS
6361
 
  test -z "$as_dir" && as_dir=.
6362
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6363
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6364
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
6365
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6366
 
    break 2
6367
 
  fi
6368
 
done
6369
 
done
6370
 
IFS=$as_save_IFS
6371
 
 
6372
 
fi
6373
 
fi
6374
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6375
 
if test -n "$ac_ct_CXX"; then
6376
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6377
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
6378
 
else
6379
 
  { echo "$as_me:$LINENO: result: no" >&5
6380
 
echo "${ECHO_T}no" >&6; }
6381
 
fi
6382
 
 
6383
 
 
6384
 
  test -n "$ac_ct_CXX" && break
6385
 
done
6386
 
 
6387
 
  if test "x$ac_ct_CXX" = x; then
6388
 
    CXX="g++"
6389
 
  else
6390
 
    case $cross_compiling:$ac_tool_warned in
6391
 
yes:)
6392
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6393
 
whose name does not start with the host triplet.  If you think this
6394
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6395
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6396
 
whose name does not start with the host triplet.  If you think this
6397
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6398
 
ac_tool_warned=yes ;;
6399
 
esac
6400
 
    CXX=$ac_ct_CXX
6401
 
  fi
6402
 
fi
6403
 
 
6404
 
  fi
6405
 
fi
6406
 
# Provide some information about the compiler.
6407
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
6408
 
ac_compiler=`set X $ac_compile; echo $2`
6409
 
{ (ac_try="$ac_compiler --version >&5"
6410
 
case "(($ac_try" in
6411
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6412
 
  *) ac_try_echo=$ac_try;;
6413
 
esac
6414
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6415
 
  (eval "$ac_compiler --version >&5") 2>&5
6416
 
  ac_status=$?
6417
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418
 
  (exit $ac_status); }
6419
 
{ (ac_try="$ac_compiler -v >&5"
6420
 
case "(($ac_try" in
6421
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6422
 
  *) ac_try_echo=$ac_try;;
6423
 
esac
6424
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425
 
  (eval "$ac_compiler -v >&5") 2>&5
6426
 
  ac_status=$?
6427
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428
 
  (exit $ac_status); }
6429
 
{ (ac_try="$ac_compiler -V >&5"
6430
 
case "(($ac_try" in
6431
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6432
 
  *) ac_try_echo=$ac_try;;
6433
 
esac
6434
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6435
 
  (eval "$ac_compiler -V >&5") 2>&5
6436
 
  ac_status=$?
6437
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438
 
  (exit $ac_status); }
6439
 
 
6440
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6441
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
6442
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6443
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6444
 
else
6445
 
  cat >conftest.$ac_ext <<_ACEOF
6446
 
/* confdefs.h.  */
6447
 
_ACEOF
6448
 
cat confdefs.h >>conftest.$ac_ext
6449
 
cat >>conftest.$ac_ext <<_ACEOF
6450
 
/* end confdefs.h.  */
6451
 
 
6452
 
int
6453
 
main ()
6454
 
{
6455
 
#ifndef __GNUC__
6456
 
       choke me
6457
 
#endif
6458
 
 
6459
 
  ;
6460
 
  return 0;
6461
 
}
6462
 
_ACEOF
6463
 
rm -f conftest.$ac_objext
6464
 
if { (ac_try="$ac_compile"
6465
 
case "(($ac_try" in
6466
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6467
 
  *) ac_try_echo=$ac_try;;
6468
 
esac
6469
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6470
 
  (eval "$ac_compile") 2>conftest.er1
6471
 
  ac_status=$?
6472
 
  grep -v '^ *+' conftest.er1 >conftest.err
6473
 
  rm -f conftest.er1
6474
 
  cat conftest.err >&5
6475
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476
 
  (exit $ac_status); } && {
6477
 
         test -z "$ac_cxx_werror_flag" ||
6478
 
         test ! -s conftest.err
6479
 
       } && test -s conftest.$ac_objext; then
6480
 
  ac_compiler_gnu=yes
6481
 
else
6482
 
  echo "$as_me: failed program was:" >&5
6483
 
sed 's/^/| /' conftest.$ac_ext >&5
6484
 
 
6485
 
        ac_compiler_gnu=no
6486
 
fi
6487
 
 
6488
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6489
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6490
 
 
6491
 
fi
6492
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6493
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
6494
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
6495
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
6496
 
ac_save_CXXFLAGS=$CXXFLAGS
6497
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6498
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
6499
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
6500
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6501
 
else
6502
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6503
 
   ac_cxx_werror_flag=yes
6504
 
   ac_cv_prog_cxx_g=no
6505
 
   CXXFLAGS="-g"
6506
 
   cat >conftest.$ac_ext <<_ACEOF
6507
 
/* confdefs.h.  */
6508
 
_ACEOF
6509
 
cat confdefs.h >>conftest.$ac_ext
6510
 
cat >>conftest.$ac_ext <<_ACEOF
6511
 
/* end confdefs.h.  */
6512
 
 
6513
 
int
6514
 
main ()
6515
 
{
6516
 
 
6517
 
  ;
6518
 
  return 0;
6519
 
}
6520
 
_ACEOF
6521
 
rm -f conftest.$ac_objext
6522
 
if { (ac_try="$ac_compile"
6523
 
case "(($ac_try" in
6524
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6525
 
  *) ac_try_echo=$ac_try;;
6526
 
esac
6527
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6528
 
  (eval "$ac_compile") 2>conftest.er1
6529
 
  ac_status=$?
6530
 
  grep -v '^ *+' conftest.er1 >conftest.err
6531
 
  rm -f conftest.er1
6532
 
  cat conftest.err >&5
6533
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534
 
  (exit $ac_status); } && {
6535
 
         test -z "$ac_cxx_werror_flag" ||
6536
 
         test ! -s conftest.err
6537
 
       } && test -s conftest.$ac_objext; then
6538
 
  ac_cv_prog_cxx_g=yes
6539
 
else
6540
 
  echo "$as_me: failed program was:" >&5
6541
 
sed 's/^/| /' conftest.$ac_ext >&5
6542
 
 
6543
 
        CXXFLAGS=""
6544
 
      cat >conftest.$ac_ext <<_ACEOF
6545
 
/* confdefs.h.  */
6546
 
_ACEOF
6547
 
cat confdefs.h >>conftest.$ac_ext
6548
 
cat >>conftest.$ac_ext <<_ACEOF
6549
 
/* end confdefs.h.  */
6550
 
 
6551
 
int
6552
 
main ()
6553
 
{
6554
 
 
6555
 
  ;
6556
 
  return 0;
6557
 
}
6558
 
_ACEOF
6559
 
rm -f conftest.$ac_objext
6560
 
if { (ac_try="$ac_compile"
6561
 
case "(($ac_try" in
6562
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6563
 
  *) ac_try_echo=$ac_try;;
6564
 
esac
6565
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566
 
  (eval "$ac_compile") 2>conftest.er1
6567
 
  ac_status=$?
6568
 
  grep -v '^ *+' conftest.er1 >conftest.err
6569
 
  rm -f conftest.er1
6570
 
  cat conftest.err >&5
6571
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572
 
  (exit $ac_status); } && {
6573
 
         test -z "$ac_cxx_werror_flag" ||
6574
 
         test ! -s conftest.err
6575
 
       } && test -s conftest.$ac_objext; then
6576
 
  :
6577
 
else
6578
 
  echo "$as_me: failed program was:" >&5
6579
 
sed 's/^/| /' conftest.$ac_ext >&5
6580
 
 
6581
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6582
 
         CXXFLAGS="-g"
6583
 
         cat >conftest.$ac_ext <<_ACEOF
6584
 
/* confdefs.h.  */
6585
 
_ACEOF
6586
 
cat confdefs.h >>conftest.$ac_ext
6587
 
cat >>conftest.$ac_ext <<_ACEOF
6588
 
/* end confdefs.h.  */
6589
 
 
6590
 
int
6591
 
main ()
6592
 
{
6593
 
 
6594
 
  ;
6595
 
  return 0;
6596
 
}
6597
 
_ACEOF
6598
 
rm -f conftest.$ac_objext
6599
 
if { (ac_try="$ac_compile"
6600
 
case "(($ac_try" in
6601
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6602
 
  *) ac_try_echo=$ac_try;;
6603
 
esac
6604
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6605
 
  (eval "$ac_compile") 2>conftest.er1
6606
 
  ac_status=$?
6607
 
  grep -v '^ *+' conftest.er1 >conftest.err
6608
 
  rm -f conftest.er1
6609
 
  cat conftest.err >&5
6610
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611
 
  (exit $ac_status); } && {
6612
 
         test -z "$ac_cxx_werror_flag" ||
6613
 
         test ! -s conftest.err
6614
 
       } && test -s conftest.$ac_objext; then
6615
 
  ac_cv_prog_cxx_g=yes
6616
 
else
6617
 
  echo "$as_me: failed program was:" >&5
6618
 
sed 's/^/| /' conftest.$ac_ext >&5
6619
 
 
6620
 
 
6621
 
fi
6622
 
 
6623
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6624
 
fi
6625
 
 
6626
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6627
 
fi
6628
 
 
6629
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6630
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6631
 
fi
6632
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6633
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
6634
 
if test "$ac_test_CXXFLAGS" = set; then
6635
 
  CXXFLAGS=$ac_save_CXXFLAGS
6636
 
elif test $ac_cv_prog_cxx_g = yes; then
6637
 
  if test "$GXX" = yes; then
6638
 
    CXXFLAGS="-g -O2"
6639
 
  else
6640
 
    CXXFLAGS="-g"
6641
 
  fi
6642
 
else
6643
 
  if test "$GXX" = yes; then
6644
 
    CXXFLAGS="-O2"
6645
 
  else
6646
 
    CXXFLAGS=
6647
 
  fi
6648
 
fi
6649
 
ac_ext=cpp
6650
 
ac_cpp='$CXXCPP $CPPFLAGS'
6651
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6652
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6653
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6654
 
 
6655
 
depcc="$CXX"  am_compiler_list=
6656
 
 
6657
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
6658
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
6659
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6660
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6661
 
else
6662
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6663
 
  # We make a subdir and do the tests there.  Otherwise we can end up
6664
 
  # making bogus files that we don't know about and never remove.  For
6665
 
  # instance it was reported that on HP-UX the gcc test will end up
6666
 
  # making a dummy file named `D' -- because `-MD' means `put the output
6667
 
  # in D'.
6668
 
  mkdir conftest.dir
6669
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
6670
 
  # using a relative directory.
6671
 
  cp "$am_depcomp" conftest.dir
6672
 
  cd conftest.dir
6673
 
  # We will build objects and dependencies in a subdirectory because
6674
 
  # it helps to detect inapplicable dependency modes.  For instance
6675
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
6676
 
  # side effect of compilation, but ICC will put the dependencies in
6677
 
  # the current directory while Tru64 will put them in the object
6678
 
  # directory.
6679
 
  mkdir sub
6680
 
 
6681
 
  am_cv_CXX_dependencies_compiler_type=none
6682
 
  if test "$am_compiler_list" = ""; then
6683
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6684
 
  fi
6685
 
  for depmode in $am_compiler_list; do
6686
 
    # Setup a source with many dependencies, because some compilers
6687
 
    # like to wrap large dependency lists on column 80 (with \), and
6688
 
    # we should not choose a depcomp mode which is confused by this.
6689
 
    #
6690
 
    # We need to recreate these files for each test, as the compiler may
6691
 
    # overwrite some of them when testing with obscure command lines.
6692
 
    # This happens at least with the AIX C compiler.
6693
 
    : > sub/conftest.c
6694
 
    for i in 1 2 3 4 5 6; do
6695
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
6696
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6697
 
      # Solaris 8's {/usr,}/bin/sh.
6698
 
      touch sub/conftst$i.h
6699
 
    done
6700
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6701
 
 
6702
 
    case $depmode in
6703
 
    nosideeffect)
6704
 
      # after this tag, mechanisms are not by side-effect, so they'll
6705
 
      # only be used when explicitly requested
6706
 
      if test "x$enable_dependency_tracking" = xyes; then
6707
 
        continue
6708
 
      else
6709
 
        break
6710
 
      fi
6711
 
      ;;
6712
 
    none) break ;;
6713
 
    esac
6714
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
6715
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
6716
 
    # handle `-M -o', and we need to detect this.
6717
 
    if depmode=$depmode \
6718
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
6719
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6720
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
6721
 
         >/dev/null 2>conftest.err &&
6722
 
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6723
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6724
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
6725
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6726
 
      # icc doesn't choke on unknown options, it will just issue warnings
6727
 
      # or remarks (even with -Werror).  So we grep stderr for any message
6728
 
      # that says an option was ignored or not supported.
6729
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
6730
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
6731
 
      # The diagnosis changed in icc 8.0:
6732
 
      #   icc: Command line remark: option '-MP' not supported
6733
 
      if (grep 'ignoring option' conftest.err ||
6734
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6735
 
        am_cv_CXX_dependencies_compiler_type=$depmode
6736
 
        break
6737
 
      fi
6738
 
    fi
6739
 
  done
6740
 
 
6741
 
  cd ..
6742
 
  rm -rf conftest.dir
6743
 
else
6744
 
  am_cv_CXX_dependencies_compiler_type=none
6745
 
fi
6746
 
 
6747
 
fi
6748
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6749
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
6750
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6751
 
 
6752
 
 if
6753
 
  test "x$enable_dependency_tracking" != xno \
6754
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6755
 
  am__fastdepCXX_TRUE=
6756
 
  am__fastdepCXX_FALSE='#'
6757
 
else
6758
 
  am__fastdepCXX_TRUE='#'
6759
 
  am__fastdepCXX_FALSE=
6760
 
fi
6761
 
 
6762
 
 
6763
 
 
6764
 
 
6765
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6766
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6767
 
    (test "X$CXX" != "Xg++"))) ; then
6768
 
  ac_ext=cpp
6769
 
ac_cpp='$CXXCPP $CPPFLAGS'
6770
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6771
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6772
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6773
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6774
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6775
 
if test -z "$CXXCPP"; then
6776
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6777
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6778
 
else
6779
 
      # Double quotes because CXXCPP needs to be expanded
6780
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6781
 
    do
6782
 
      ac_preproc_ok=false
6783
 
for ac_cxx_preproc_warn_flag in '' yes
6784
 
do
6785
 
  # Use a header file that comes with gcc, so configuring glibc
6786
 
  # with a fresh cross-compiler works.
6787
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6788
 
  # <limits.h> exists even on freestanding compilers.
6789
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6790
 
  # not just through cpp. "Syntax error" is here to catch this case.
6791
 
  cat >conftest.$ac_ext <<_ACEOF
6792
 
/* confdefs.h.  */
6793
 
_ACEOF
6794
 
cat confdefs.h >>conftest.$ac_ext
6795
 
cat >>conftest.$ac_ext <<_ACEOF
6796
 
/* end confdefs.h.  */
6797
 
#ifdef __STDC__
6798
 
# include <limits.h>
6799
 
#else
6800
 
# include <assert.h>
6801
 
#endif
6802
 
                     Syntax error
6803
 
_ACEOF
6804
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6805
 
case "(($ac_try" in
6806
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6807
 
  *) ac_try_echo=$ac_try;;
6808
 
esac
6809
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6810
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6811
 
  ac_status=$?
6812
 
  grep -v '^ *+' conftest.er1 >conftest.err
6813
 
  rm -f conftest.er1
6814
 
  cat conftest.err >&5
6815
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816
 
  (exit $ac_status); } >/dev/null && {
6817
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6818
 
         test ! -s conftest.err
6819
 
       }; then
6820
 
  :
6821
 
else
6822
 
  echo "$as_me: failed program was:" >&5
6823
 
sed 's/^/| /' conftest.$ac_ext >&5
6824
 
 
6825
 
  # Broken: fails on valid input.
6826
 
continue
6827
 
fi
6828
 
 
6829
 
rm -f conftest.err conftest.$ac_ext
6830
 
 
6831
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6832
 
  # can be detected and how.
6833
 
  cat >conftest.$ac_ext <<_ACEOF
6834
 
/* confdefs.h.  */
6835
 
_ACEOF
6836
 
cat confdefs.h >>conftest.$ac_ext
6837
 
cat >>conftest.$ac_ext <<_ACEOF
6838
 
/* end confdefs.h.  */
6839
 
#include <ac_nonexistent.h>
6840
 
_ACEOF
6841
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6842
 
case "(($ac_try" in
6843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6844
 
  *) ac_try_echo=$ac_try;;
6845
 
esac
6846
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6847
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6848
 
  ac_status=$?
6849
 
  grep -v '^ *+' conftest.er1 >conftest.err
6850
 
  rm -f conftest.er1
6851
 
  cat conftest.err >&5
6852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853
 
  (exit $ac_status); } >/dev/null && {
6854
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6855
 
         test ! -s conftest.err
6856
 
       }; then
6857
 
  # Broken: success on invalid input.
6858
 
continue
6859
 
else
6860
 
  echo "$as_me: failed program was:" >&5
6861
 
sed 's/^/| /' conftest.$ac_ext >&5
6862
 
 
6863
 
  # Passes both tests.
6864
 
ac_preproc_ok=:
6865
 
break
6866
 
fi
6867
 
 
6868
 
rm -f conftest.err conftest.$ac_ext
6869
 
 
6870
 
done
6871
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6872
 
rm -f conftest.err conftest.$ac_ext
6873
 
if $ac_preproc_ok; then
6874
 
  break
6875
 
fi
6876
 
 
6877
 
    done
6878
 
    ac_cv_prog_CXXCPP=$CXXCPP
6879
 
 
6880
 
fi
6881
 
  CXXCPP=$ac_cv_prog_CXXCPP
6882
 
else
6883
 
  ac_cv_prog_CXXCPP=$CXXCPP
6884
 
fi
6885
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6886
 
echo "${ECHO_T}$CXXCPP" >&6; }
6887
 
ac_preproc_ok=false
6888
 
for ac_cxx_preproc_warn_flag in '' yes
6889
 
do
6890
 
  # Use a header file that comes with gcc, so configuring glibc
6891
 
  # with a fresh cross-compiler works.
6892
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6893
 
  # <limits.h> exists even on freestanding compilers.
6894
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6895
 
  # not just through cpp. "Syntax error" is here to catch this case.
6896
 
  cat >conftest.$ac_ext <<_ACEOF
6897
 
/* confdefs.h.  */
6898
 
_ACEOF
6899
 
cat confdefs.h >>conftest.$ac_ext
6900
 
cat >>conftest.$ac_ext <<_ACEOF
6901
 
/* end confdefs.h.  */
6902
 
#ifdef __STDC__
6903
 
# include <limits.h>
6904
 
#else
6905
 
# include <assert.h>
6906
 
#endif
6907
 
                     Syntax error
6908
 
_ACEOF
6909
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6910
 
case "(($ac_try" in
6911
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6912
 
  *) ac_try_echo=$ac_try;;
6913
 
esac
6914
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6915
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6916
 
  ac_status=$?
6917
 
  grep -v '^ *+' conftest.er1 >conftest.err
6918
 
  rm -f conftest.er1
6919
 
  cat conftest.err >&5
6920
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921
 
  (exit $ac_status); } >/dev/null && {
6922
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6923
 
         test ! -s conftest.err
6924
 
       }; then
6925
 
  :
6926
 
else
6927
 
  echo "$as_me: failed program was:" >&5
6928
 
sed 's/^/| /' conftest.$ac_ext >&5
6929
 
 
6930
 
  # Broken: fails on valid input.
6931
 
continue
6932
 
fi
6933
 
 
6934
 
rm -f conftest.err conftest.$ac_ext
6935
 
 
6936
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6937
 
  # can be detected and how.
6938
 
  cat >conftest.$ac_ext <<_ACEOF
6939
 
/* confdefs.h.  */
6940
 
_ACEOF
6941
 
cat confdefs.h >>conftest.$ac_ext
6942
 
cat >>conftest.$ac_ext <<_ACEOF
6943
 
/* end confdefs.h.  */
6944
 
#include <ac_nonexistent.h>
6945
 
_ACEOF
6946
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6947
 
case "(($ac_try" in
6948
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6949
 
  *) ac_try_echo=$ac_try;;
6950
 
esac
6951
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6952
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6953
 
  ac_status=$?
6954
 
  grep -v '^ *+' conftest.er1 >conftest.err
6955
 
  rm -f conftest.er1
6956
 
  cat conftest.err >&5
6957
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958
 
  (exit $ac_status); } >/dev/null && {
6959
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6960
 
         test ! -s conftest.err
6961
 
       }; then
6962
 
  # Broken: success on invalid input.
6963
 
continue
6964
 
else
6965
 
  echo "$as_me: failed program was:" >&5
6966
 
sed 's/^/| /' conftest.$ac_ext >&5
6967
 
 
6968
 
  # Passes both tests.
6969
 
ac_preproc_ok=:
6970
 
break
6971
 
fi
6972
 
 
6973
 
rm -f conftest.err conftest.$ac_ext
6974
 
 
6975
 
done
6976
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6977
 
rm -f conftest.err conftest.$ac_ext
6978
 
if $ac_preproc_ok; then
6979
 
  :
6980
 
else
6981
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6982
 
See \`config.log' for more details." >&5
6983
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6984
 
See \`config.log' for more details." >&2;}
6985
 
   { (exit 1); exit 1; }; }
6986
 
fi
6987
 
 
6988
 
ac_ext=cpp
6989
 
ac_cpp='$CXXCPP $CPPFLAGS'
6990
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6991
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6992
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6993
 
 
6994
 
fi
6995
 
 
6996
 
 
6997
 
ac_ext=f
6998
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6999
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7000
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
7001
 
if test -n "$ac_tool_prefix"; then
7002
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7003
 
  do
7004
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7005
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7006
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7007
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7008
 
if test "${ac_cv_prog_F77+set}" = set; then
7009
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7010
 
else
7011
 
  if test -n "$F77"; then
7012
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
7013
 
else
7014
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015
 
for as_dir in $PATH
7016
 
do
7017
 
  IFS=$as_save_IFS
7018
 
  test -z "$as_dir" && as_dir=.
7019
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7020
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7021
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
7022
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7023
 
    break 2
7024
 
  fi
7025
 
done
7026
 
done
7027
 
IFS=$as_save_IFS
7028
 
 
7029
 
fi
7030
 
fi
7031
 
F77=$ac_cv_prog_F77
7032
 
if test -n "$F77"; then
7033
 
  { echo "$as_me:$LINENO: result: $F77" >&5
7034
 
echo "${ECHO_T}$F77" >&6; }
7035
 
else
7036
 
  { echo "$as_me:$LINENO: result: no" >&5
7037
 
echo "${ECHO_T}no" >&6; }
7038
 
fi
7039
 
 
7040
 
 
7041
 
    test -n "$F77" && break
7042
 
  done
7043
 
fi
7044
 
if test -z "$F77"; then
7045
 
  ac_ct_F77=$F77
7046
 
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
7047
 
do
7048
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
7049
 
set dummy $ac_prog; ac_word=$2
7050
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7051
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7052
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
7053
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7054
 
else
7055
 
  if test -n "$ac_ct_F77"; then
7056
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
7057
 
else
7058
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059
 
for as_dir in $PATH
7060
 
do
7061
 
  IFS=$as_save_IFS
7062
 
  test -z "$as_dir" && as_dir=.
7063
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7064
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7065
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
7066
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7067
 
    break 2
7068
 
  fi
7069
 
done
7070
 
done
7071
 
IFS=$as_save_IFS
7072
 
 
7073
 
fi
7074
 
fi
7075
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
7076
 
if test -n "$ac_ct_F77"; then
7077
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
7078
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
7079
 
else
7080
 
  { echo "$as_me:$LINENO: result: no" >&5
7081
 
echo "${ECHO_T}no" >&6; }
7082
 
fi
7083
 
 
7084
 
 
7085
 
  test -n "$ac_ct_F77" && break
7086
 
done
7087
 
 
7088
 
  if test "x$ac_ct_F77" = x; then
7089
 
    F77=""
7090
 
  else
7091
 
    case $cross_compiling:$ac_tool_warned in
7092
 
yes:)
7093
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7094
 
whose name does not start with the host triplet.  If you think this
7095
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7096
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7097
 
whose name does not start with the host triplet.  If you think this
7098
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7099
 
ac_tool_warned=yes ;;
7100
 
esac
7101
 
    F77=$ac_ct_F77
7102
 
  fi
7103
 
fi
7104
 
 
7105
 
 
7106
 
# Provide some information about the compiler.
7107
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
7108
 
ac_compiler=`set X $ac_compile; echo $2`
7109
 
{ (ac_try="$ac_compiler --version >&5"
7110
 
case "(($ac_try" in
7111
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7112
 
  *) ac_try_echo=$ac_try;;
7113
 
esac
7114
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7115
 
  (eval "$ac_compiler --version >&5") 2>&5
7116
 
  ac_status=$?
7117
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118
 
  (exit $ac_status); }
7119
 
{ (ac_try="$ac_compiler -v >&5"
7120
 
case "(($ac_try" in
7121
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7122
 
  *) ac_try_echo=$ac_try;;
7123
 
esac
7124
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7125
 
  (eval "$ac_compiler -v >&5") 2>&5
7126
 
  ac_status=$?
7127
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128
 
  (exit $ac_status); }
7129
 
{ (ac_try="$ac_compiler -V >&5"
7130
 
case "(($ac_try" in
7131
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7132
 
  *) ac_try_echo=$ac_try;;
7133
 
esac
7134
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7135
 
  (eval "$ac_compiler -V >&5") 2>&5
7136
 
  ac_status=$?
7137
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138
 
  (exit $ac_status); }
7139
 
rm -f a.out
7140
 
 
7141
 
# If we don't use `.F' as extension, the preprocessor is not run on the
7142
 
# input file.  (Note that this only needs to work for GNU compilers.)
7143
 
ac_save_ext=$ac_ext
7144
 
ac_ext=F
7145
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
7146
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
7147
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
7148
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7149
 
else
7150
 
  cat >conftest.$ac_ext <<_ACEOF
7151
 
      program main
7152
 
#ifndef __GNUC__
7153
 
       choke me
7154
 
#endif
7155
 
 
7156
 
      end
7157
 
_ACEOF
7158
 
rm -f conftest.$ac_objext
7159
 
if { (ac_try="$ac_compile"
7160
 
case "(($ac_try" in
7161
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7162
 
  *) ac_try_echo=$ac_try;;
7163
 
esac
7164
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7165
 
  (eval "$ac_compile") 2>conftest.er1
7166
 
  ac_status=$?
7167
 
  grep -v '^ *+' conftest.er1 >conftest.err
7168
 
  rm -f conftest.er1
7169
 
  cat conftest.err >&5
7170
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171
 
  (exit $ac_status); } && {
7172
 
         test -z "$ac_f77_werror_flag" ||
7173
 
         test ! -s conftest.err
7174
 
       } && test -s conftest.$ac_objext; then
7175
 
  ac_compiler_gnu=yes
7176
 
else
7177
 
  echo "$as_me: failed program was:" >&5
7178
 
sed 's/^/| /' conftest.$ac_ext >&5
7179
 
 
7180
 
        ac_compiler_gnu=no
7181
 
fi
7182
 
 
7183
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7184
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
7185
 
 
7186
 
fi
7187
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
7188
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
7189
 
ac_ext=$ac_save_ext
7190
 
ac_test_FFLAGS=${FFLAGS+set}
7191
 
ac_save_FFLAGS=$FFLAGS
7192
 
FFLAGS=
7193
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
7194
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
7195
 
if test "${ac_cv_prog_f77_g+set}" = set; then
7196
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7197
 
else
7198
 
  FFLAGS=-g
7199
 
cat >conftest.$ac_ext <<_ACEOF
7200
 
      program main
7201
 
 
7202
 
      end
7203
 
_ACEOF
7204
 
rm -f conftest.$ac_objext
7205
 
if { (ac_try="$ac_compile"
7206
 
case "(($ac_try" in
7207
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7208
 
  *) ac_try_echo=$ac_try;;
7209
 
esac
7210
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7211
 
  (eval "$ac_compile") 2>conftest.er1
7212
 
  ac_status=$?
7213
 
  grep -v '^ *+' conftest.er1 >conftest.err
7214
 
  rm -f conftest.er1
7215
 
  cat conftest.err >&5
7216
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217
 
  (exit $ac_status); } && {
7218
 
         test -z "$ac_f77_werror_flag" ||
7219
 
         test ! -s conftest.err
7220
 
       } && test -s conftest.$ac_objext; then
7221
 
  ac_cv_prog_f77_g=yes
7222
 
else
7223
 
  echo "$as_me: failed program was:" >&5
7224
 
sed 's/^/| /' conftest.$ac_ext >&5
7225
 
 
7226
 
        ac_cv_prog_f77_g=no
7227
 
fi
7228
 
 
7229
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7230
 
 
7231
 
fi
7232
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
7233
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
7234
 
if test "$ac_test_FFLAGS" = set; then
7235
 
  FFLAGS=$ac_save_FFLAGS
7236
 
elif test $ac_cv_prog_f77_g = yes; then
7237
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7238
 
    FFLAGS="-g -O2"
7239
 
  else
7240
 
    FFLAGS="-g"
7241
 
  fi
7242
 
else
7243
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
7244
 
    FFLAGS="-O2"
7245
 
  else
7246
 
    FFLAGS=
7247
 
  fi
7248
 
fi
7249
 
 
7250
 
G77=`test $ac_compiler_gnu = yes && echo yes`
7251
 
ac_ext=c
7252
 
ac_cpp='$CPP $CPPFLAGS'
7253
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7254
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7255
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7256
 
 
7257
 
 
7258
 
 
7259
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
7260
 
# find the maximum length of command line arguments
7261
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
7262
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
7263
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
7264
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7265
 
else
7266
 
    i=0
7267
 
  teststring="ABCD"
7268
 
 
7269
 
  case $build_os in
7270
 
  msdosdjgpp*)
7271
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
7272
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
7273
 
    # during glob expansion).  Even if it were fixed, the result of this
7274
 
    # check would be larger than it should be.
7275
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7276
 
    ;;
7277
 
 
7278
 
  gnu*)
7279
 
    # Under GNU Hurd, this test is not required because there is
7280
 
    # no limit to the length of command line arguments.
7281
 
    # Libtool will interpret -1 as no limit whatsoever
7282
 
    lt_cv_sys_max_cmd_len=-1;
7283
 
    ;;
7284
 
 
7285
 
  cygwin* | mingw*)
7286
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
7287
 
    # about 5 minutes as the teststring grows exponentially.
7288
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
7289
 
    # you end up with a "frozen" computer, even though with patience
7290
 
    # the test eventually succeeds (with a max line length of 256k).
7291
 
    # Instead, let's just punt: use the minimum linelength reported by
7292
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
7293
 
    lt_cv_sys_max_cmd_len=8192;
7294
 
    ;;
7295
 
 
7296
 
  amigaos*)
7297
 
    # On AmigaOS with pdksh, this test takes hours, literally.
7298
 
    # So we just punt and use a minimum line length of 8192.
7299
 
    lt_cv_sys_max_cmd_len=8192;
7300
 
    ;;
7301
 
 
7302
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7303
 
    # This has been around since 386BSD, at least.  Likely further.
7304
 
    if test -x /sbin/sysctl; then
7305
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7306
 
    elif test -x /usr/sbin/sysctl; then
7307
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7308
 
    else
7309
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7310
 
    fi
7311
 
    # And add a safety zone
7312
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7313
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7314
 
    ;;
7315
 
 
7316
 
  interix*)
7317
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7318
 
    lt_cv_sys_max_cmd_len=196608
7319
 
    ;;
7320
 
 
7321
 
  osf*)
7322
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7323
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7324
 
    # nice to cause kernel panics so lets avoid the loop below.
7325
 
    # First set a reasonable default.
7326
 
    lt_cv_sys_max_cmd_len=16384
7327
 
    #
7328
 
    if test -x /sbin/sysconfig; then
7329
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7330
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7331
 
      esac
7332
 
    fi
7333
 
    ;;
7334
 
  sco3.2v5*)
7335
 
    lt_cv_sys_max_cmd_len=102400
7336
 
    ;;
7337
 
  sysv5* | sco5v6* | sysv4.2uw2*)
7338
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7339
 
    if test -n "$kargmax"; then
7340
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
7341
 
    else
7342
 
      lt_cv_sys_max_cmd_len=32768
7343
 
    fi
7344
 
    ;;
7345
 
  *)
7346
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7347
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
7348
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7349
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7350
 
    else
7351
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7352
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
7353
 
               = "XX$teststring") >/dev/null 2>&1 &&
7354
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
7355
 
              lt_cv_sys_max_cmd_len=$new_result &&
7356
 
              test $i != 17 # 1/2 MB should be enough
7357
 
      do
7358
 
        i=`expr $i + 1`
7359
 
        teststring=$teststring$teststring
7360
 
      done
7361
 
      teststring=
7362
 
      # Add a significant safety factor because C++ compilers can tack on massive
7363
 
      # amounts of additional arguments before passing them to the linker.
7364
 
      # It appears as though 1/2 is a usable value.
7365
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7366
 
    fi
7367
 
    ;;
7368
 
  esac
7369
 
 
7370
 
fi
7371
 
 
7372
 
if test -n $lt_cv_sys_max_cmd_len ; then
7373
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
7374
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
7375
 
else
7376
 
  { echo "$as_me:$LINENO: result: none" >&5
7377
 
echo "${ECHO_T}none" >&6; }
7378
 
fi
7379
 
 
7380
 
 
7381
 
 
7382
 
 
7383
 
 
7384
6438
# Check for command to grab the raw symbol name followed by C symbol from nm.
7385
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7386
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
6439
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
6440
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7387
6441
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7388
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6442
  $as_echo_n "(cached) " >&6
7389
6443
else
7390
6444
 
7391
6445
# These are sane defaults that work on at least a few old systems.
7397
6451
# Regexp to match symbols that can be accessed directly from C.
7398
6452
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7399
6453
 
7400
 
# Transform an extracted symbol line into a proper C declaration
7401
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
7402
 
 
7403
 
# Transform an extracted symbol line into symbol name and symbol address
7404
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
7405
 
 
7406
6454
# Define system-specific variables.
7407
6455
case $host_os in
7408
6456
aix*)
7409
6457
  symcode='[BCDT]'
7410
6458
  ;;
7411
 
cygwin* | mingw* | pw32*)
 
6459
cygwin* | mingw* | pw32* | cegcc*)
7412
6460
  symcode='[ABCDGISTW]'
7413
6461
  ;;
7414
 
hpux*) # Its linker distinguishes data from code symbols
 
6462
hpux*)
7415
6463
  if test "$host_cpu" = ia64; then
7416
6464
    symcode='[ABCDEGRST]'
7417
6465
  fi
7418
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7419
 
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
7420
 
  ;;
7421
 
linux* | k*bsd*-gnu)
7422
 
  if test "$host_cpu" = ia64; then
7423
 
    symcode='[ABCDGIRSTW]'
7424
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7425
 
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
7426
 
  fi
7427
6466
  ;;
7428
6467
irix* | nonstopux*)
7429
6468
  symcode='[BCDEGRST]'
7448
6487
  ;;
7449
6488
esac
7450
6489
 
 
6490
# If we're using GNU nm, then use its standard symbol codes.
 
6491
case `$NM -V 2>&1` in
 
6492
*GNU* | *'with BFD'*)
 
6493
  symcode='[ABCDGIRSTW]' ;;
 
6494
esac
 
6495
 
 
6496
# Transform an extracted symbol line into a proper C declaration.
 
6497
# Some systems (esp. on ia64) link data and code symbols differently,
 
6498
# so use this general approach.
 
6499
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
6500
 
 
6501
# Transform an extracted symbol line into symbol name and symbol address
 
6502
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6503
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'"
 
6504
 
7451
6505
# Handle CRLF in mingw tool chain
7452
6506
opt_cr=
7453
6507
case $build_os in
7454
6508
mingw*)
7455
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
6509
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7456
6510
  ;;
7457
6511
esac
7458
6512
 
7459
 
# If we're using GNU nm, then use its standard symbol codes.
7460
 
case `$NM -V 2>&1` in
7461
 
*GNU* | *'with BFD'*)
7462
 
  symcode='[ABCDGIRSTW]' ;;
7463
 
esac
7464
 
 
7465
 
# Try without a prefix undercore, then with it.
 
6513
# Try without a prefix underscore, then with it.
7466
6514
for ac_symprfx in "" "_"; do
7467
6515
 
7468
6516
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7469
6517
  symxfrm="\\1 $ac_symprfx\\2 \\2"
7470
6518
 
7471
6519
  # Write the raw and C identifiers.
7472
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6520
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
6521
    # Fake it for dumpbin and say T for any non-static function
 
6522
    # and D for any global variable.
 
6523
    # Also find C++ and __fastcall symbols from MSVC++,
 
6524
    # which start with @ or ?.
 
6525
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
6526
"     {last_section=section; section=\$ 3};"\
 
6527
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
6528
"     \$ 0!~/External *\|/{next};"\
 
6529
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
6530
"     {if(hide[section]) next};"\
 
6531
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
6532
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
6533
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
6534
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
6535
"     ' prfx=^$ac_symprfx"
 
6536
  else
 
6537
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
6538
  fi
7473
6539
 
7474
6540
  # Check to see that the pipe works correctly.
7475
6541
  pipe_works=no
7476
6542
 
7477
6543
  rm -f conftest*
7478
 
  cat > conftest.$ac_ext <<EOF
 
6544
  cat > conftest.$ac_ext <<_LT_EOF
7479
6545
#ifdef __cplusplus
7480
6546
extern "C" {
7481
6547
#endif
7482
6548
char nm_test_var;
7483
 
void nm_test_func(){}
 
6549
void nm_test_func(void);
 
6550
void nm_test_func(void){}
7484
6551
#ifdef __cplusplus
7485
6552
}
7486
6553
#endif
7487
6554
int main(){nm_test_var='a';nm_test_func();return(0);}
7488
 
EOF
 
6555
_LT_EOF
7489
6556
 
7490
6557
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7491
6558
  (eval $ac_compile) 2>&5
7492
6559
  ac_status=$?
7493
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6560
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7494
6561
  (exit $ac_status); }; then
7495
6562
    # Now try to grab the symbols.
7496
6563
    nlist=conftest.nm
7497
6564
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7498
6565
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7499
6566
  ac_status=$?
7500
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6567
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501
6568
  (exit $ac_status); } && test -s "$nlist"; then
7502
6569
      # Try sorting and uniquifying the output.
7503
6570
      if sort "$nlist" | uniq > "$nlist"T; then
7507
6574
      fi
7508
6575
 
7509
6576
      # Make sure that we snagged all the symbols we need.
7510
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
7511
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
7512
 
          cat <<EOF > conftest.$ac_ext
 
6577
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
6578
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
6579
          cat <<_LT_EOF > conftest.$ac_ext
7513
6580
#ifdef __cplusplus
7514
6581
extern "C" {
7515
6582
#endif
7516
6583
 
7517
 
EOF
 
6584
_LT_EOF
7518
6585
          # Now generate the symbol file.
7519
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
7520
 
 
7521
 
          cat <<EOF >> conftest.$ac_ext
7522
 
#if defined (__STDC__) && __STDC__
7523
 
# define lt_ptr_t void *
7524
 
#else
7525
 
# define lt_ptr_t char *
7526
 
# define const
7527
 
#endif
7528
 
 
7529
 
/* The mapping between symbol names and symbols. */
 
6586
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
6587
 
 
6588
          cat <<_LT_EOF >> conftest.$ac_ext
 
6589
 
 
6590
/* The mapping between symbol names and symbols.  */
7530
6591
const struct {
7531
6592
  const char *name;
7532
 
  lt_ptr_t address;
 
6593
  void       *address;
7533
6594
}
7534
 
lt_preloaded_symbols[] =
 
6595
lt__PROGRAM__LTX_preloaded_symbols[] =
7535
6596
{
7536
 
EOF
7537
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
7538
 
          cat <<\EOF >> conftest.$ac_ext
7539
 
  {0, (lt_ptr_t) 0}
 
6597
  { "@PROGRAM@", (void *) 0 },
 
6598
_LT_EOF
 
6599
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
6600
          cat <<\_LT_EOF >> conftest.$ac_ext
 
6601
  {0, (void *) 0}
7540
6602
};
7541
6603
 
 
6604
/* This works around a problem in FreeBSD linker */
 
6605
#ifdef FREEBSD_WORKAROUND
 
6606
static const void *lt_preloaded_setup() {
 
6607
  return lt__PROGRAM__LTX_preloaded_symbols;
 
6608
}
 
6609
#endif
 
6610
 
7542
6611
#ifdef __cplusplus
7543
6612
}
7544
6613
#endif
7545
 
EOF
 
6614
_LT_EOF
7546
6615
          # Now try linking the two files.
7547
6616
          mv conftest.$ac_objext conftstm.$ac_objext
7548
6617
          lt_save_LIBS="$LIBS"
7552
6621
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7553
6622
  (eval $ac_link) 2>&5
7554
6623
  ac_status=$?
7555
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6624
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556
6625
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
7557
6626
            pipe_works=yes
7558
6627
          fi
7587
6656
  lt_cv_sys_global_symbol_to_cdecl=
7588
6657
fi
7589
6658
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7590
 
  { echo "$as_me:$LINENO: result: failed" >&5
7591
 
echo "${ECHO_T}failed" >&6; }
7592
 
else
7593
 
  { echo "$as_me:$LINENO: result: ok" >&5
7594
 
echo "${ECHO_T}ok" >&6; }
7595
 
fi
7596
 
 
7597
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
7598
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7599
 
if test "${lt_cv_objdir+set}" = set; then
7600
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7601
 
else
7602
 
  rm -f .libs 2>/dev/null
7603
 
mkdir .libs 2>/dev/null
7604
 
if test -d .libs; then
7605
 
  lt_cv_objdir=.libs
7606
 
else
7607
 
  # MS-DOS does not allow filenames that begin with a dot.
7608
 
  lt_cv_objdir=_libs
7609
 
fi
7610
 
rmdir .libs 2>/dev/null
7611
 
fi
7612
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7613
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
7614
 
objdir=$lt_cv_objdir
7615
 
 
7616
 
 
7617
 
 
7618
 
 
7619
 
 
7620
 
case $host_os in
7621
 
aix3*)
7622
 
  # AIX sometimes has problems with the GCC collect2 program.  For some
7623
 
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7624
 
  # vanish in a puff of smoke.
7625
 
  if test "X${COLLECT_NAMES+set}" != Xset; then
7626
 
    COLLECT_NAMES=
7627
 
    export COLLECT_NAMES
7628
 
  fi
7629
 
  ;;
7630
 
esac
7631
 
 
7632
 
# Sed substitution that helps us do robust quoting.  It backslashifies
7633
 
# metacharacters that are still active within double-quoted strings.
7634
 
Xsed='sed -e 1s/^X//'
7635
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
7636
 
 
7637
 
# Same as above, but do not quote variable references.
7638
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
7639
 
 
7640
 
# Sed substitution to delay expansion of an escaped shell variable in a
7641
 
# double_quote_subst'ed string.
7642
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7643
 
 
7644
 
# Sed substitution to avoid accidental globbing in evaled expressions
7645
 
no_glob_subst='s/\*/\\\*/g'
7646
 
 
7647
 
# Constants:
7648
 
rm="rm -f"
7649
 
 
7650
 
# Global variables:
7651
 
default_ofile=libtool
7652
 
can_build_shared=yes
7653
 
 
7654
 
# All known linkers require a `.a' archive for static linking (except MSVC,
7655
 
# which needs '.lib').
7656
 
libext=a
7657
 
ltmain="$ac_aux_dir/ltmain.sh"
7658
 
ofile="$default_ofile"
7659
 
with_gnu_ld="$lt_cv_prog_gnu_ld"
7660
 
 
7661
 
if test -n "$ac_tool_prefix"; then
7662
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7663
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
7664
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7665
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7666
 
if test "${ac_cv_prog_AR+set}" = set; then
7667
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7668
 
else
7669
 
  if test -n "$AR"; then
7670
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
7671
 
else
7672
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7673
 
for as_dir in $PATH
7674
 
do
7675
 
  IFS=$as_save_IFS
7676
 
  test -z "$as_dir" && as_dir=.
7677
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7678
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7679
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
7680
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7681
 
    break 2
7682
 
  fi
7683
 
done
7684
 
done
7685
 
IFS=$as_save_IFS
7686
 
 
7687
 
fi
7688
 
fi
7689
 
AR=$ac_cv_prog_AR
7690
 
if test -n "$AR"; then
7691
 
  { echo "$as_me:$LINENO: result: $AR" >&5
7692
 
echo "${ECHO_T}$AR" >&6; }
7693
 
else
7694
 
  { echo "$as_me:$LINENO: result: no" >&5
7695
 
echo "${ECHO_T}no" >&6; }
7696
 
fi
7697
 
 
7698
 
 
7699
 
fi
7700
 
if test -z "$ac_cv_prog_AR"; then
7701
 
  ac_ct_AR=$AR
7702
 
  # Extract the first word of "ar", so it can be a program name with args.
7703
 
set dummy ar; ac_word=$2
7704
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7705
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7706
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7707
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7708
 
else
7709
 
  if test -n "$ac_ct_AR"; then
7710
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7711
 
else
7712
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7713
 
for as_dir in $PATH
7714
 
do
7715
 
  IFS=$as_save_IFS
7716
 
  test -z "$as_dir" && as_dir=.
7717
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7718
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7719
 
    ac_cv_prog_ac_ct_AR="ar"
7720
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7721
 
    break 2
7722
 
  fi
7723
 
done
7724
 
done
7725
 
IFS=$as_save_IFS
7726
 
 
7727
 
fi
7728
 
fi
7729
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
7730
 
if test -n "$ac_ct_AR"; then
7731
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7732
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
7733
 
else
7734
 
  { echo "$as_me:$LINENO: result: no" >&5
7735
 
echo "${ECHO_T}no" >&6; }
7736
 
fi
7737
 
 
7738
 
  if test "x$ac_ct_AR" = x; then
7739
 
    AR="false"
7740
 
  else
7741
 
    case $cross_compiling:$ac_tool_warned in
7742
 
yes:)
7743
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7744
 
whose name does not start with the host triplet.  If you think this
7745
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7746
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7747
 
whose name does not start with the host triplet.  If you think this
7748
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7749
 
ac_tool_warned=yes ;;
7750
 
esac
7751
 
    AR=$ac_ct_AR
7752
 
  fi
7753
 
else
7754
 
  AR="$ac_cv_prog_AR"
7755
 
fi
7756
 
 
7757
 
if test -n "$ac_tool_prefix"; then
7758
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7759
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7760
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7761
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7762
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7763
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7764
 
else
7765
 
  if test -n "$RANLIB"; then
7766
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7767
 
else
7768
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769
 
for as_dir in $PATH
7770
 
do
7771
 
  IFS=$as_save_IFS
7772
 
  test -z "$as_dir" && as_dir=.
7773
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7774
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7775
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7776
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7777
 
    break 2
7778
 
  fi
7779
 
done
7780
 
done
7781
 
IFS=$as_save_IFS
7782
 
 
7783
 
fi
7784
 
fi
7785
 
RANLIB=$ac_cv_prog_RANLIB
7786
 
if test -n "$RANLIB"; then
7787
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
7788
 
echo "${ECHO_T}$RANLIB" >&6; }
7789
 
else
7790
 
  { echo "$as_me:$LINENO: result: no" >&5
7791
 
echo "${ECHO_T}no" >&6; }
7792
 
fi
7793
 
 
7794
 
 
7795
 
fi
7796
 
if test -z "$ac_cv_prog_RANLIB"; then
7797
 
  ac_ct_RANLIB=$RANLIB
7798
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7799
 
set dummy ranlib; ac_word=$2
7800
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7801
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7802
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7803
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7804
 
else
7805
 
  if test -n "$ac_ct_RANLIB"; then
7806
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7807
 
else
7808
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809
 
for as_dir in $PATH
7810
 
do
7811
 
  IFS=$as_save_IFS
7812
 
  test -z "$as_dir" && as_dir=.
7813
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7814
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7815
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7816
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7817
 
    break 2
7818
 
  fi
7819
 
done
7820
 
done
7821
 
IFS=$as_save_IFS
7822
 
 
7823
 
fi
7824
 
fi
7825
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7826
 
if test -n "$ac_ct_RANLIB"; then
7827
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7828
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7829
 
else
7830
 
  { echo "$as_me:$LINENO: result: no" >&5
7831
 
echo "${ECHO_T}no" >&6; }
7832
 
fi
7833
 
 
7834
 
  if test "x$ac_ct_RANLIB" = x; then
7835
 
    RANLIB=":"
7836
 
  else
7837
 
    case $cross_compiling:$ac_tool_warned in
7838
 
yes:)
7839
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7840
 
whose name does not start with the host triplet.  If you think this
7841
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7842
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7843
 
whose name does not start with the host triplet.  If you think this
7844
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7845
 
ac_tool_warned=yes ;;
7846
 
esac
7847
 
    RANLIB=$ac_ct_RANLIB
7848
 
  fi
7849
 
else
7850
 
  RANLIB="$ac_cv_prog_RANLIB"
7851
 
fi
7852
 
 
7853
 
if test -n "$ac_tool_prefix"; then
7854
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7855
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7856
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7857
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7858
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7859
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7860
 
else
7861
 
  if test -n "$STRIP"; then
7862
 
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7863
 
else
7864
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7865
 
for as_dir in $PATH
7866
 
do
7867
 
  IFS=$as_save_IFS
7868
 
  test -z "$as_dir" && as_dir=.
7869
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7870
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7871
 
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7872
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7873
 
    break 2
7874
 
  fi
7875
 
done
7876
 
done
7877
 
IFS=$as_save_IFS
7878
 
 
7879
 
fi
7880
 
fi
7881
 
STRIP=$ac_cv_prog_STRIP
7882
 
if test -n "$STRIP"; then
7883
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
7884
 
echo "${ECHO_T}$STRIP" >&6; }
7885
 
else
7886
 
  { echo "$as_me:$LINENO: result: no" >&5
7887
 
echo "${ECHO_T}no" >&6; }
7888
 
fi
7889
 
 
7890
 
 
7891
 
fi
7892
 
if test -z "$ac_cv_prog_STRIP"; then
7893
 
  ac_ct_STRIP=$STRIP
7894
 
  # Extract the first word of "strip", so it can be a program name with args.
7895
 
set dummy strip; ac_word=$2
7896
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7897
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7898
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7899
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7900
 
else
7901
 
  if test -n "$ac_ct_STRIP"; then
7902
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7903
 
else
7904
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905
 
for as_dir in $PATH
7906
 
do
7907
 
  IFS=$as_save_IFS
7908
 
  test -z "$as_dir" && as_dir=.
7909
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7910
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7911
 
    ac_cv_prog_ac_ct_STRIP="strip"
7912
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7913
 
    break 2
7914
 
  fi
7915
 
done
7916
 
done
7917
 
IFS=$as_save_IFS
7918
 
 
7919
 
fi
7920
 
fi
7921
 
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7922
 
if test -n "$ac_ct_STRIP"; then
7923
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7924
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7925
 
else
7926
 
  { echo "$as_me:$LINENO: result: no" >&5
7927
 
echo "${ECHO_T}no" >&6; }
7928
 
fi
7929
 
 
7930
 
  if test "x$ac_ct_STRIP" = x; then
7931
 
    STRIP=":"
7932
 
  else
7933
 
    case $cross_compiling:$ac_tool_warned in
7934
 
yes:)
7935
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7936
 
whose name does not start with the host triplet.  If you think this
7937
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7938
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7939
 
whose name does not start with the host triplet.  If you think this
7940
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7941
 
ac_tool_warned=yes ;;
7942
 
esac
7943
 
    STRIP=$ac_ct_STRIP
7944
 
  fi
7945
 
else
7946
 
  STRIP="$ac_cv_prog_STRIP"
7947
 
fi
7948
 
 
7949
 
 
7950
 
old_CC="$CC"
7951
 
old_CFLAGS="$CFLAGS"
7952
 
 
7953
 
# Set sane defaults for various variables
7954
 
test -z "$AR" && AR=ar
7955
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7956
 
test -z "$AS" && AS=as
7957
 
test -z "$CC" && CC=cc
7958
 
test -z "$LTCC" && LTCC=$CC
7959
 
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7960
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7961
 
test -z "$LD" && LD=ld
7962
 
test -z "$LN_S" && LN_S="ln -s"
7963
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7964
 
test -z "$NM" && NM=nm
7965
 
test -z "$SED" && SED=sed
7966
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7967
 
test -z "$RANLIB" && RANLIB=:
7968
 
test -z "$STRIP" && STRIP=:
7969
 
test -z "$ac_objext" && ac_objext=o
7970
 
 
7971
 
# Determine commands to create old-style static archives.
7972
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7973
 
old_postinstall_cmds='chmod 644 $oldlib'
7974
 
old_postuninstall_cmds=
7975
 
 
7976
 
if test -n "$RANLIB"; then
7977
 
  case $host_os in
7978
 
  openbsd*)
7979
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7980
 
    ;;
7981
 
  *)
7982
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7983
 
    ;;
7984
 
  esac
7985
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7986
 
fi
7987
 
 
7988
 
for cc_temp in $compiler""; do
7989
 
  case $cc_temp in
7990
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7991
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7992
 
    \-*) ;;
7993
 
    *) break;;
7994
 
  esac
7995
 
done
7996
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7997
 
 
7998
 
 
7999
 
# Only perform the check for file, if the check method requires it
8000
 
case $deplibs_check_method in
8001
 
file_magic*)
8002
 
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8003
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8004
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
8005
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8006
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8007
 
else
8008
 
  case $MAGIC_CMD in
8009
 
[\\/*] |  ?:[\\/]*)
8010
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8011
 
  ;;
8012
 
*)
8013
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8014
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8015
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8016
 
  for ac_dir in $ac_dummy; do
8017
 
    IFS="$lt_save_ifs"
8018
 
    test -z "$ac_dir" && ac_dir=.
8019
 
    if test -f $ac_dir/${ac_tool_prefix}file; then
8020
 
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8021
 
      if test -n "$file_magic_test_file"; then
8022
 
        case $deplibs_check_method in
8023
 
        "file_magic "*)
8024
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8025
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8026
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8027
 
            $EGREP "$file_magic_regex" > /dev/null; then
8028
 
            :
8029
 
          else
8030
 
            cat <<EOF 1>&2
8031
 
 
8032
 
*** Warning: the command libtool uses to detect shared libraries,
8033
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8034
 
*** The result is that libtool may fail to recognize shared libraries
8035
 
*** as such.  This will affect the creation of libtool libraries that
8036
 
*** depend on shared libraries, but programs linked with such libtool
8037
 
*** libraries will work regardless of this problem.  Nevertheless, you
8038
 
*** may want to report the problem to your system manager and/or to
8039
 
*** bug-libtool@gnu.org
8040
 
 
8041
 
EOF
8042
 
          fi ;;
8043
 
        esac
8044
 
      fi
8045
 
      break
8046
 
    fi
8047
 
  done
8048
 
  IFS="$lt_save_ifs"
8049
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8050
 
  ;;
8051
 
esac
8052
 
fi
8053
 
 
8054
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8055
 
if test -n "$MAGIC_CMD"; then
8056
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8057
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8058
 
else
8059
 
  { echo "$as_me:$LINENO: result: no" >&5
8060
 
echo "${ECHO_T}no" >&6; }
8061
 
fi
8062
 
 
8063
 
if test -z "$lt_cv_path_MAGIC_CMD"; then
8064
 
  if test -n "$ac_tool_prefix"; then
8065
 
    { echo "$as_me:$LINENO: checking for file" >&5
8066
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
8067
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8068
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8069
 
else
8070
 
  case $MAGIC_CMD in
8071
 
[\\/*] |  ?:[\\/]*)
8072
 
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8073
 
  ;;
8074
 
*)
8075
 
  lt_save_MAGIC_CMD="$MAGIC_CMD"
8076
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8077
 
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8078
 
  for ac_dir in $ac_dummy; do
8079
 
    IFS="$lt_save_ifs"
8080
 
    test -z "$ac_dir" && ac_dir=.
8081
 
    if test -f $ac_dir/file; then
8082
 
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8083
 
      if test -n "$file_magic_test_file"; then
8084
 
        case $deplibs_check_method in
8085
 
        "file_magic "*)
8086
 
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8087
 
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8088
 
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8089
 
            $EGREP "$file_magic_regex" > /dev/null; then
8090
 
            :
8091
 
          else
8092
 
            cat <<EOF 1>&2
8093
 
 
8094
 
*** Warning: the command libtool uses to detect shared libraries,
8095
 
*** $file_magic_cmd, produces output that libtool cannot recognize.
8096
 
*** The result is that libtool may fail to recognize shared libraries
8097
 
*** as such.  This will affect the creation of libtool libraries that
8098
 
*** depend on shared libraries, but programs linked with such libtool
8099
 
*** libraries will work regardless of this problem.  Nevertheless, you
8100
 
*** may want to report the problem to your system manager and/or to
8101
 
*** bug-libtool@gnu.org
8102
 
 
8103
 
EOF
8104
 
          fi ;;
8105
 
        esac
8106
 
      fi
8107
 
      break
8108
 
    fi
8109
 
  done
8110
 
  IFS="$lt_save_ifs"
8111
 
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8112
 
  ;;
8113
 
esac
8114
 
fi
8115
 
 
8116
 
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8117
 
if test -n "$MAGIC_CMD"; then
8118
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8119
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
8120
 
else
8121
 
  { echo "$as_me:$LINENO: result: no" >&5
8122
 
echo "${ECHO_T}no" >&6; }
8123
 
fi
8124
 
 
8125
 
  else
8126
 
    MAGIC_CMD=:
8127
 
  fi
8128
 
fi
8129
 
 
8130
 
  fi
8131
 
  ;;
8132
 
esac
 
6659
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
6660
$as_echo "failed" >&6; }
 
6661
else
 
6662
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
6663
$as_echo "ok" >&6; }
 
6664
fi
 
6665
 
 
6666
 
 
6667
 
 
6668
 
 
6669
 
 
6670
 
 
6671
 
 
6672
 
 
6673
 
 
6674
 
 
6675
 
 
6676
 
 
6677
 
 
6678
 
 
6679
 
 
6680
 
 
6681
 
 
6682
 
 
6683
 
 
6684
 
 
6685
 
 
6686
 
 
6687
 
 
6688
# Check whether --enable-libtool-lock was given.
 
6689
if test "${enable_libtool_lock+set}" = set; then
 
6690
  enableval=$enable_libtool_lock;
 
6691
fi
 
6692
 
 
6693
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
6694
 
 
6695
# Some flags need to be propagated to the compiler or linker for good
 
6696
# libtool support.
 
6697
case $host in
 
6698
ia64-*-hpux*)
 
6699
  # Find out which ABI we are using.
 
6700
  echo 'int i;' > conftest.$ac_ext
 
6701
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6702
  (eval $ac_compile) 2>&5
 
6703
  ac_status=$?
 
6704
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6705
  (exit $ac_status); }; then
 
6706
    case `/usr/bin/file conftest.$ac_objext` in
 
6707
      *ELF-32*)
 
6708
        HPUX_IA64_MODE="32"
 
6709
        ;;
 
6710
      *ELF-64*)
 
6711
        HPUX_IA64_MODE="64"
 
6712
        ;;
 
6713
    esac
 
6714
  fi
 
6715
  rm -rf conftest*
 
6716
  ;;
 
6717
*-*-irix6*)
 
6718
  # Find out which ABI we are using.
 
6719
  echo '#line 6719 "configure"' > conftest.$ac_ext
 
6720
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6721
  (eval $ac_compile) 2>&5
 
6722
  ac_status=$?
 
6723
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6724
  (exit $ac_status); }; then
 
6725
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
6726
      case `/usr/bin/file conftest.$ac_objext` in
 
6727
        *32-bit*)
 
6728
          LD="${LD-ld} -melf32bsmip"
 
6729
          ;;
 
6730
        *N32*)
 
6731
          LD="${LD-ld} -melf32bmipn32"
 
6732
          ;;
 
6733
        *64-bit*)
 
6734
          LD="${LD-ld} -melf64bmip"
 
6735
        ;;
 
6736
      esac
 
6737
    else
 
6738
      case `/usr/bin/file conftest.$ac_objext` in
 
6739
        *32-bit*)
 
6740
          LD="${LD-ld} -32"
 
6741
          ;;
 
6742
        *N32*)
 
6743
          LD="${LD-ld} -n32"
 
6744
          ;;
 
6745
        *64-bit*)
 
6746
          LD="${LD-ld} -64"
 
6747
          ;;
 
6748
      esac
 
6749
    fi
 
6750
  fi
 
6751
  rm -rf conftest*
 
6752
  ;;
 
6753
 
 
6754
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6755
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6756
  # Find out which ABI we are using.
 
6757
  echo 'int i;' > conftest.$ac_ext
 
6758
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6759
  (eval $ac_compile) 2>&5
 
6760
  ac_status=$?
 
6761
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6762
  (exit $ac_status); }; then
 
6763
    case `/usr/bin/file conftest.o` in
 
6764
      *32-bit*)
 
6765
        case $host in
 
6766
          x86_64-*kfreebsd*-gnu)
 
6767
            LD="${LD-ld} -m elf_i386_fbsd"
 
6768
            ;;
 
6769
          x86_64-*linux*)
 
6770
            LD="${LD-ld} -m elf_i386"
 
6771
            ;;
 
6772
          ppc64-*linux*|powerpc64-*linux*)
 
6773
            LD="${LD-ld} -m elf32ppclinux"
 
6774
            ;;
 
6775
          s390x-*linux*)
 
6776
            LD="${LD-ld} -m elf_s390"
 
6777
            ;;
 
6778
          sparc64-*linux*)
 
6779
            LD="${LD-ld} -m elf32_sparc"
 
6780
            ;;
 
6781
        esac
 
6782
        ;;
 
6783
      *64-bit*)
 
6784
        case $host in
 
6785
          x86_64-*kfreebsd*-gnu)
 
6786
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6787
            ;;
 
6788
          x86_64-*linux*)
 
6789
            LD="${LD-ld} -m elf_x86_64"
 
6790
            ;;
 
6791
          ppc*-*linux*|powerpc*-*linux*)
 
6792
            LD="${LD-ld} -m elf64ppc"
 
6793
            ;;
 
6794
          s390*-*linux*|s390*-*tpf*)
 
6795
            LD="${LD-ld} -m elf64_s390"
 
6796
            ;;
 
6797
          sparc*-*linux*)
 
6798
            LD="${LD-ld} -m elf64_sparc"
 
6799
            ;;
 
6800
        esac
 
6801
        ;;
 
6802
    esac
 
6803
  fi
 
6804
  rm -rf conftest*
 
6805
  ;;
 
6806
 
 
6807
*-*-sco3.2v5*)
 
6808
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6809
  SAVE_CFLAGS="$CFLAGS"
 
6810
  CFLAGS="$CFLAGS -belf"
 
6811
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6812
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6813
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6814
  $as_echo_n "(cached) " >&6
 
6815
else
 
6816
  ac_ext=c
 
6817
ac_cpp='$CPP $CPPFLAGS'
 
6818
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6819
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6820
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6821
 
 
6822
     cat >conftest.$ac_ext <<_ACEOF
 
6823
/* confdefs.h.  */
 
6824
_ACEOF
 
6825
cat confdefs.h >>conftest.$ac_ext
 
6826
cat >>conftest.$ac_ext <<_ACEOF
 
6827
/* end confdefs.h.  */
 
6828
 
 
6829
int
 
6830
main ()
 
6831
{
 
6832
 
 
6833
  ;
 
6834
  return 0;
 
6835
}
 
6836
_ACEOF
 
6837
rm -f conftest.$ac_objext conftest$ac_exeext
 
6838
if { (ac_try="$ac_link"
 
6839
case "(($ac_try" in
 
6840
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6841
  *) ac_try_echo=$ac_try;;
 
6842
esac
 
6843
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6844
$as_echo "$ac_try_echo") >&5
 
6845
  (eval "$ac_link") 2>conftest.er1
 
6846
  ac_status=$?
 
6847
  grep -v '^ *+' conftest.er1 >conftest.err
 
6848
  rm -f conftest.er1
 
6849
  cat conftest.err >&5
 
6850
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6851
  (exit $ac_status); } && {
 
6852
         test -z "$ac_c_werror_flag" ||
 
6853
         test ! -s conftest.err
 
6854
       } && test -s conftest$ac_exeext && {
 
6855
         test "$cross_compiling" = yes ||
 
6856
         $as_test_x conftest$ac_exeext
 
6857
       }; then
 
6858
  lt_cv_cc_needs_belf=yes
 
6859
else
 
6860
  $as_echo "$as_me: failed program was:" >&5
 
6861
sed 's/^/| /' conftest.$ac_ext >&5
 
6862
 
 
6863
        lt_cv_cc_needs_belf=no
 
6864
fi
 
6865
 
 
6866
rm -rf conftest.dSYM
 
6867
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6868
      conftest$ac_exeext conftest.$ac_ext
 
6869
     ac_ext=c
 
6870
ac_cpp='$CPP $CPPFLAGS'
 
6871
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6872
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6873
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6874
 
 
6875
fi
 
6876
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6877
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6878
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6879
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6880
    CFLAGS="$SAVE_CFLAGS"
 
6881
  fi
 
6882
  ;;
 
6883
sparc*-*solaris*)
 
6884
  # Find out which ABI we are using.
 
6885
  echo 'int i;' > conftest.$ac_ext
 
6886
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6887
  (eval $ac_compile) 2>&5
 
6888
  ac_status=$?
 
6889
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6890
  (exit $ac_status); }; then
 
6891
    case `/usr/bin/file conftest.o` in
 
6892
    *64-bit*)
 
6893
      case $lt_cv_prog_gnu_ld in
 
6894
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6895
      *)
 
6896
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6897
          LD="${LD-ld} -64"
 
6898
        fi
 
6899
        ;;
 
6900
      esac
 
6901
      ;;
 
6902
    esac
 
6903
  fi
 
6904
  rm -rf conftest*
 
6905
  ;;
 
6906
esac
 
6907
 
 
6908
need_locks="$enable_libtool_lock"
8133
6909
 
8134
6910
 
8135
6911
  case $host_os in
8137
6913
    if test -n "$ac_tool_prefix"; then
8138
6914
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8139
6915
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8140
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8141
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6916
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6917
$as_echo_n "checking for $ac_word... " >&6; }
8142
6918
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6919
  $as_echo_n "(cached) " >&6
8144
6920
else
8145
6921
  if test -n "$DSYMUTIL"; then
8146
6922
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8153
6929
  for ac_exec_ext in '' $ac_executable_extensions; do
8154
6930
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8155
6931
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8156
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6932
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8157
6933
    break 2
8158
6934
  fi
8159
6935
done
8164
6940
fi
8165
6941
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8166
6942
if test -n "$DSYMUTIL"; then
8167
 
  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8168
 
echo "${ECHO_T}$DSYMUTIL" >&6; }
 
6943
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6944
$as_echo "$DSYMUTIL" >&6; }
8169
6945
else
8170
 
  { echo "$as_me:$LINENO: result: no" >&5
8171
 
echo "${ECHO_T}no" >&6; }
 
6946
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6947
$as_echo "no" >&6; }
8172
6948
fi
8173
6949
 
8174
6950
 
8177
6953
  ac_ct_DSYMUTIL=$DSYMUTIL
8178
6954
  # Extract the first word of "dsymutil", so it can be a program name with args.
8179
6955
set dummy dsymutil; ac_word=$2
8180
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8181
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
6956
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6957
$as_echo_n "checking for $ac_word... " >&6; }
8182
6958
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8183
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
6959
  $as_echo_n "(cached) " >&6
8184
6960
else
8185
6961
  if test -n "$ac_ct_DSYMUTIL"; then
8186
6962
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8193
6969
  for ac_exec_ext in '' $ac_executable_extensions; do
8194
6970
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8195
6971
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8196
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6972
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8197
6973
    break 2
8198
6974
  fi
8199
6975
done
8204
6980
fi
8205
6981
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8206
6982
if test -n "$ac_ct_DSYMUTIL"; then
8207
 
  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8208
 
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
 
6983
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6984
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8209
6985
else
8210
 
  { echo "$as_me:$LINENO: result: no" >&5
8211
 
echo "${ECHO_T}no" >&6; }
 
6986
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6987
$as_echo "no" >&6; }
8212
6988
fi
8213
6989
 
8214
6990
  if test "x$ac_ct_DSYMUTIL" = x; then
8216
6992
  else
8217
6993
    case $cross_compiling:$ac_tool_warned in
8218
6994
yes:)
8219
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8220
 
whose name does not start with the host triplet.  If you think this
8221
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8222
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8223
 
whose name does not start with the host triplet.  If you think this
8224
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
6995
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6996
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8225
6997
ac_tool_warned=yes ;;
8226
6998
esac
8227
6999
    DSYMUTIL=$ac_ct_DSYMUTIL
8233
7005
    if test -n "$ac_tool_prefix"; then
8234
7006
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8235
7007
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8236
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8237
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7008
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7009
$as_echo_n "checking for $ac_word... " >&6; }
8238
7010
if test "${ac_cv_prog_NMEDIT+set}" = set; then
8239
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7011
  $as_echo_n "(cached) " >&6
8240
7012
else
8241
7013
  if test -n "$NMEDIT"; then
8242
7014
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8249
7021
  for ac_exec_ext in '' $ac_executable_extensions; do
8250
7022
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8251
7023
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8252
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7024
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8253
7025
    break 2
8254
7026
  fi
8255
7027
done
8260
7032
fi
8261
7033
NMEDIT=$ac_cv_prog_NMEDIT
8262
7034
if test -n "$NMEDIT"; then
8263
 
  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
8264
 
echo "${ECHO_T}$NMEDIT" >&6; }
 
7035
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
7036
$as_echo "$NMEDIT" >&6; }
8265
7037
else
8266
 
  { echo "$as_me:$LINENO: result: no" >&5
8267
 
echo "${ECHO_T}no" >&6; }
 
7038
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7039
$as_echo "no" >&6; }
8268
7040
fi
8269
7041
 
8270
7042
 
8273
7045
  ac_ct_NMEDIT=$NMEDIT
8274
7046
  # Extract the first word of "nmedit", so it can be a program name with args.
8275
7047
set dummy nmedit; ac_word=$2
8276
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8277
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
7048
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7049
$as_echo_n "checking for $ac_word... " >&6; }
8278
7050
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8279
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7051
  $as_echo_n "(cached) " >&6
8280
7052
else
8281
7053
  if test -n "$ac_ct_NMEDIT"; then
8282
7054
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8289
7061
  for ac_exec_ext in '' $ac_executable_extensions; do
8290
7062
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8291
7063
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8292
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7064
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8293
7065
    break 2
8294
7066
  fi
8295
7067
done
8300
7072
fi
8301
7073
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8302
7074
if test -n "$ac_ct_NMEDIT"; then
8303
 
  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8304
 
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
 
7075
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
7076
$as_echo "$ac_ct_NMEDIT" >&6; }
8305
7077
else
8306
 
  { echo "$as_me:$LINENO: result: no" >&5
8307
 
echo "${ECHO_T}no" >&6; }
 
7078
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7079
$as_echo "no" >&6; }
8308
7080
fi
8309
7081
 
8310
7082
  if test "x$ac_ct_NMEDIT" = x; then
8312
7084
  else
8313
7085
    case $cross_compiling:$ac_tool_warned in
8314
7086
yes:)
8315
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8316
 
whose name does not start with the host triplet.  If you think this
8317
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
8318
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8319
 
whose name does not start with the host triplet.  If you think this
8320
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
7087
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7088
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8321
7089
ac_tool_warned=yes ;;
8322
7090
esac
8323
7091
    NMEDIT=$ac_ct_NMEDIT
8326
7094
  NMEDIT="$ac_cv_prog_NMEDIT"
8327
7095
fi
8328
7096
 
8329
 
 
8330
 
    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8331
 
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
 
7097
    if test -n "$ac_tool_prefix"; then
 
7098
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
7099
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
7100
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7101
$as_echo_n "checking for $ac_word... " >&6; }
 
7102
if test "${ac_cv_prog_LIPO+set}" = set; then
 
7103
  $as_echo_n "(cached) " >&6
 
7104
else
 
7105
  if test -n "$LIPO"; then
 
7106
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
7107
else
 
7108
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7109
for as_dir in $PATH
 
7110
do
 
7111
  IFS=$as_save_IFS
 
7112
  test -z "$as_dir" && as_dir=.
 
7113
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7114
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7115
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
7116
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7117
    break 2
 
7118
  fi
 
7119
done
 
7120
done
 
7121
IFS=$as_save_IFS
 
7122
 
 
7123
fi
 
7124
fi
 
7125
LIPO=$ac_cv_prog_LIPO
 
7126
if test -n "$LIPO"; then
 
7127
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
7128
$as_echo "$LIPO" >&6; }
 
7129
else
 
7130
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7131
$as_echo "no" >&6; }
 
7132
fi
 
7133
 
 
7134
 
 
7135
fi
 
7136
if test -z "$ac_cv_prog_LIPO"; then
 
7137
  ac_ct_LIPO=$LIPO
 
7138
  # Extract the first word of "lipo", so it can be a program name with args.
 
7139
set dummy lipo; ac_word=$2
 
7140
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7141
$as_echo_n "checking for $ac_word... " >&6; }
 
7142
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
7143
  $as_echo_n "(cached) " >&6
 
7144
else
 
7145
  if test -n "$ac_ct_LIPO"; then
 
7146
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
7147
else
 
7148
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7149
for as_dir in $PATH
 
7150
do
 
7151
  IFS=$as_save_IFS
 
7152
  test -z "$as_dir" && as_dir=.
 
7153
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7154
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7155
    ac_cv_prog_ac_ct_LIPO="lipo"
 
7156
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7157
    break 2
 
7158
  fi
 
7159
done
 
7160
done
 
7161
IFS=$as_save_IFS
 
7162
 
 
7163
fi
 
7164
fi
 
7165
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
7166
if test -n "$ac_ct_LIPO"; then
 
7167
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
7168
$as_echo "$ac_ct_LIPO" >&6; }
 
7169
else
 
7170
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7171
$as_echo "no" >&6; }
 
7172
fi
 
7173
 
 
7174
  if test "x$ac_ct_LIPO" = x; then
 
7175
    LIPO=":"
 
7176
  else
 
7177
    case $cross_compiling:$ac_tool_warned in
 
7178
yes:)
 
7179
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7180
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7181
ac_tool_warned=yes ;;
 
7182
esac
 
7183
    LIPO=$ac_ct_LIPO
 
7184
  fi
 
7185
else
 
7186
  LIPO="$ac_cv_prog_LIPO"
 
7187
fi
 
7188
 
 
7189
    if test -n "$ac_tool_prefix"; then
 
7190
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
7191
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
7192
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7193
$as_echo_n "checking for $ac_word... " >&6; }
 
7194
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
7195
  $as_echo_n "(cached) " >&6
 
7196
else
 
7197
  if test -n "$OTOOL"; then
 
7198
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
7199
else
 
7200
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7201
for as_dir in $PATH
 
7202
do
 
7203
  IFS=$as_save_IFS
 
7204
  test -z "$as_dir" && as_dir=.
 
7205
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7206
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7207
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
7208
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7209
    break 2
 
7210
  fi
 
7211
done
 
7212
done
 
7213
IFS=$as_save_IFS
 
7214
 
 
7215
fi
 
7216
fi
 
7217
OTOOL=$ac_cv_prog_OTOOL
 
7218
if test -n "$OTOOL"; then
 
7219
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
7220
$as_echo "$OTOOL" >&6; }
 
7221
else
 
7222
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7223
$as_echo "no" >&6; }
 
7224
fi
 
7225
 
 
7226
 
 
7227
fi
 
7228
if test -z "$ac_cv_prog_OTOOL"; then
 
7229
  ac_ct_OTOOL=$OTOOL
 
7230
  # Extract the first word of "otool", so it can be a program name with args.
 
7231
set dummy otool; ac_word=$2
 
7232
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7233
$as_echo_n "checking for $ac_word... " >&6; }
 
7234
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
7235
  $as_echo_n "(cached) " >&6
 
7236
else
 
7237
  if test -n "$ac_ct_OTOOL"; then
 
7238
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
7239
else
 
7240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7241
for as_dir in $PATH
 
7242
do
 
7243
  IFS=$as_save_IFS
 
7244
  test -z "$as_dir" && as_dir=.
 
7245
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7246
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7247
    ac_cv_prog_ac_ct_OTOOL="otool"
 
7248
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7249
    break 2
 
7250
  fi
 
7251
done
 
7252
done
 
7253
IFS=$as_save_IFS
 
7254
 
 
7255
fi
 
7256
fi
 
7257
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
7258
if test -n "$ac_ct_OTOOL"; then
 
7259
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
7260
$as_echo "$ac_ct_OTOOL" >&6; }
 
7261
else
 
7262
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7263
$as_echo "no" >&6; }
 
7264
fi
 
7265
 
 
7266
  if test "x$ac_ct_OTOOL" = x; then
 
7267
    OTOOL=":"
 
7268
  else
 
7269
    case $cross_compiling:$ac_tool_warned in
 
7270
yes:)
 
7271
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7272
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7273
ac_tool_warned=yes ;;
 
7274
esac
 
7275
    OTOOL=$ac_ct_OTOOL
 
7276
  fi
 
7277
else
 
7278
  OTOOL="$ac_cv_prog_OTOOL"
 
7279
fi
 
7280
 
 
7281
    if test -n "$ac_tool_prefix"; then
 
7282
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
7283
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
7284
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7285
$as_echo_n "checking for $ac_word... " >&6; }
 
7286
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
7287
  $as_echo_n "(cached) " >&6
 
7288
else
 
7289
  if test -n "$OTOOL64"; then
 
7290
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
7291
else
 
7292
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7293
for as_dir in $PATH
 
7294
do
 
7295
  IFS=$as_save_IFS
 
7296
  test -z "$as_dir" && as_dir=.
 
7297
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7298
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7299
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
7300
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7301
    break 2
 
7302
  fi
 
7303
done
 
7304
done
 
7305
IFS=$as_save_IFS
 
7306
 
 
7307
fi
 
7308
fi
 
7309
OTOOL64=$ac_cv_prog_OTOOL64
 
7310
if test -n "$OTOOL64"; then
 
7311
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
7312
$as_echo "$OTOOL64" >&6; }
 
7313
else
 
7314
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7315
$as_echo "no" >&6; }
 
7316
fi
 
7317
 
 
7318
 
 
7319
fi
 
7320
if test -z "$ac_cv_prog_OTOOL64"; then
 
7321
  ac_ct_OTOOL64=$OTOOL64
 
7322
  # Extract the first word of "otool64", so it can be a program name with args.
 
7323
set dummy otool64; ac_word=$2
 
7324
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
7325
$as_echo_n "checking for $ac_word... " >&6; }
 
7326
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
7327
  $as_echo_n "(cached) " >&6
 
7328
else
 
7329
  if test -n "$ac_ct_OTOOL64"; then
 
7330
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
7331
else
 
7332
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7333
for as_dir in $PATH
 
7334
do
 
7335
  IFS=$as_save_IFS
 
7336
  test -z "$as_dir" && as_dir=.
 
7337
  for ac_exec_ext in '' $ac_executable_extensions; do
 
7338
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7339
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
7340
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7341
    break 2
 
7342
  fi
 
7343
done
 
7344
done
 
7345
IFS=$as_save_IFS
 
7346
 
 
7347
fi
 
7348
fi
 
7349
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
7350
if test -n "$ac_ct_OTOOL64"; then
 
7351
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
7352
$as_echo "$ac_ct_OTOOL64" >&6; }
 
7353
else
 
7354
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7355
$as_echo "no" >&6; }
 
7356
fi
 
7357
 
 
7358
  if test "x$ac_ct_OTOOL64" = x; then
 
7359
    OTOOL64=":"
 
7360
  else
 
7361
    case $cross_compiling:$ac_tool_warned in
 
7362
yes:)
 
7363
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
7364
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7365
ac_tool_warned=yes ;;
 
7366
esac
 
7367
    OTOOL64=$ac_ct_OTOOL64
 
7368
  fi
 
7369
else
 
7370
  OTOOL64="$ac_cv_prog_OTOOL64"
 
7371
fi
 
7372
 
 
7373
 
 
7374
 
 
7375
 
 
7376
 
 
7377
 
 
7378
 
 
7379
 
 
7380
 
 
7381
 
 
7382
 
 
7383
 
 
7384
 
 
7385
 
 
7386
 
 
7387
 
 
7388
 
 
7389
 
 
7390
 
 
7391
 
 
7392
 
 
7393
 
 
7394
 
 
7395
 
 
7396
 
 
7397
 
 
7398
 
 
7399
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
7400
$as_echo_n "checking for -single_module linker flag... " >&6; }
8332
7401
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8333
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7402
  $as_echo_n "(cached) " >&6
8334
7403
else
8335
7404
  lt_cv_apple_cc_single_mod=no
8336
7405
      if test -z "${LT_MULTI_MODULE}"; then
8337
 
   # By default we will add the -single_module flag. You can override
8338
 
   # by either setting the environment variable LT_MULTI_MODULE
8339
 
   # non-empty at configure time, or by adding -multi_module to the
8340
 
   # link flags.
8341
 
   echo "int foo(void){return 1;}" > conftest.c
8342
 
   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8343
 
     -dynamiclib ${wl}-single_module conftest.c
8344
 
   if test -f libconftest.dylib; then
8345
 
     lt_cv_apple_cc_single_mod=yes
8346
 
     rm -rf libconftest.dylib*
8347
 
   fi
8348
 
   rm conftest.c
 
7406
        # By default we will add the -single_module flag. You can override
 
7407
        # by either setting the environment variable LT_MULTI_MODULE
 
7408
        # non-empty at configure time, or by adding -multi_module to the
 
7409
        # link flags.
 
7410
        rm -rf libconftest.dylib*
 
7411
        echo "int foo(void){return 1;}" > conftest.c
 
7412
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7413
-dynamiclib -Wl,-single_module conftest.c" >&5
 
7414
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
7415
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
7416
        _lt_result=$?
 
7417
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7418
          lt_cv_apple_cc_single_mod=yes
 
7419
        else
 
7420
          cat conftest.err >&5
 
7421
        fi
 
7422
        rm -rf libconftest.dylib*
 
7423
        rm -f conftest.*
8349
7424
      fi
8350
7425
fi
8351
 
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8352
 
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8353
 
    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8354
 
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
 
7426
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
7427
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7428
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
7429
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8355
7430
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8356
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7431
  $as_echo_n "(cached) " >&6
8357
7432
else
8358
7433
  lt_cv_ld_exported_symbols_list=no
8359
7434
      save_LDFLAGS=$LDFLAGS
8380
7455
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8381
7456
  *) ac_try_echo=$ac_try;;
8382
7457
esac
8383
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
7458
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7459
$as_echo "$ac_try_echo") >&5
8384
7460
  (eval "$ac_link") 2>conftest.er1
8385
7461
  ac_status=$?
8386
7462
  grep -v '^ *+' conftest.er1 >conftest.err
8387
7463
  rm -f conftest.er1
8388
7464
  cat conftest.err >&5
8389
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7465
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390
7466
  (exit $ac_status); } && {
8391
7467
         test -z "$ac_c_werror_flag" ||
8392
7468
         test ! -s conftest.err
8393
 
       } && test -s conftest$ac_exeext &&
8394
 
       $as_test_x conftest$ac_exeext; then
 
7469
       } && test -s conftest$ac_exeext && {
 
7470
         test "$cross_compiling" = yes ||
 
7471
         $as_test_x conftest$ac_exeext
 
7472
       }; then
8395
7473
  lt_cv_ld_exported_symbols_list=yes
8396
7474
else
8397
 
  echo "$as_me: failed program was:" >&5
 
7475
  $as_echo "$as_me: failed program was:" >&5
8398
7476
sed 's/^/| /' conftest.$ac_ext >&5
8399
7477
 
8400
7478
        lt_cv_ld_exported_symbols_list=no
8401
7479
fi
8402
7480
 
 
7481
rm -rf conftest.dSYM
8403
7482
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8404
7483
      conftest$ac_exeext conftest.$ac_ext
8405
 
   LDFLAGS="$save_LDFLAGS"
 
7484
        LDFLAGS="$save_LDFLAGS"
8406
7485
 
8407
7486
fi
8408
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8409
 
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
 
7487
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
7488
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8410
7489
    case $host_os in
8411
 
    rhapsody* | darwin1.[0123])
 
7490
    rhapsody* | darwin1.[012])
8412
7491
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8413
7492
    darwin1.*)
8414
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8415
 
    darwin*)
 
7493
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7494
    darwin*) # darwin 5.x on
8416
7495
      # if running on 10.5 or later, the deployment target defaults
8417
7496
      # to the OS version, if on x86, and 10.4, the deployment
8418
7497
      # target defaults to 10.4. Don't you love it?
8419
7498
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8420
 
   10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8421
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8422
 
   10.[012]*)
8423
 
     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8424
 
   10.*)
8425
 
     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7499
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
7500
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
7501
        10.[012]*)
 
7502
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
7503
        10.*)
 
7504
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8426
7505
      esac
8427
7506
    ;;
8428
7507
  esac
8432
7511
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8433
7512
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8434
7513
    else
8435
 
      _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
 
7514
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8436
7515
    fi
8437
7516
    if test "$DSYMUTIL" != ":"; then
8438
 
      _lt_dsymutil="~$DSYMUTIL \$lib || :"
 
7517
      _lt_dsymutil='~$DSYMUTIL $lib || :'
8439
7518
    else
8440
7519
      _lt_dsymutil=
8441
7520
    fi
8442
7521
    ;;
8443
7522
  esac
8444
7523
 
8445
 
 
8446
 
enable_dlopen=no
8447
 
enable_win32_dll=yes
8448
 
 
8449
 
# Check whether --enable-libtool-lock was given.
8450
 
if test "${enable_libtool_lock+set}" = set; then
8451
 
  enableval=$enable_libtool_lock;
8452
 
fi
8453
 
 
8454
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
7524
ac_ext=c
 
7525
ac_cpp='$CPP $CPPFLAGS'
 
7526
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7527
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7528
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7529
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
7530
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
7531
# On Suns, sometimes $CPP names a directory.
 
7532
if test -n "$CPP" && test -d "$CPP"; then
 
7533
  CPP=
 
7534
fi
 
7535
if test -z "$CPP"; then
 
7536
  if test "${ac_cv_prog_CPP+set}" = set; then
 
7537
  $as_echo_n "(cached) " >&6
 
7538
else
 
7539
      # Double quotes because CPP needs to be expanded
 
7540
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
7541
    do
 
7542
      ac_preproc_ok=false
 
7543
for ac_c_preproc_warn_flag in '' yes
 
7544
do
 
7545
  # Use a header file that comes with gcc, so configuring glibc
 
7546
  # with a fresh cross-compiler works.
 
7547
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7548
  # <limits.h> exists even on freestanding compilers.
 
7549
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7550
  # not just through cpp. "Syntax error" is here to catch this case.
 
7551
  cat >conftest.$ac_ext <<_ACEOF
 
7552
/* confdefs.h.  */
 
7553
_ACEOF
 
7554
cat confdefs.h >>conftest.$ac_ext
 
7555
cat >>conftest.$ac_ext <<_ACEOF
 
7556
/* end confdefs.h.  */
 
7557
#ifdef __STDC__
 
7558
# include <limits.h>
 
7559
#else
 
7560
# include <assert.h>
 
7561
#endif
 
7562
                     Syntax error
 
7563
_ACEOF
 
7564
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7565
case "(($ac_try" in
 
7566
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7567
  *) ac_try_echo=$ac_try;;
 
7568
esac
 
7569
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7570
$as_echo "$ac_try_echo") >&5
 
7571
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7572
  ac_status=$?
 
7573
  grep -v '^ *+' conftest.er1 >conftest.err
 
7574
  rm -f conftest.er1
 
7575
  cat conftest.err >&5
 
7576
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7577
  (exit $ac_status); } >/dev/null && {
 
7578
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7579
         test ! -s conftest.err
 
7580
       }; then
 
7581
  :
 
7582
else
 
7583
  $as_echo "$as_me: failed program was:" >&5
 
7584
sed 's/^/| /' conftest.$ac_ext >&5
 
7585
 
 
7586
  # Broken: fails on valid input.
 
7587
continue
 
7588
fi
 
7589
 
 
7590
rm -f conftest.err conftest.$ac_ext
 
7591
 
 
7592
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7593
  # can be detected and how.
 
7594
  cat >conftest.$ac_ext <<_ACEOF
 
7595
/* confdefs.h.  */
 
7596
_ACEOF
 
7597
cat confdefs.h >>conftest.$ac_ext
 
7598
cat >>conftest.$ac_ext <<_ACEOF
 
7599
/* end confdefs.h.  */
 
7600
#include <ac_nonexistent.h>
 
7601
_ACEOF
 
7602
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7603
case "(($ac_try" in
 
7604
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7605
  *) ac_try_echo=$ac_try;;
 
7606
esac
 
7607
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7608
$as_echo "$ac_try_echo") >&5
 
7609
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7610
  ac_status=$?
 
7611
  grep -v '^ *+' conftest.er1 >conftest.err
 
7612
  rm -f conftest.er1
 
7613
  cat conftest.err >&5
 
7614
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7615
  (exit $ac_status); } >/dev/null && {
 
7616
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7617
         test ! -s conftest.err
 
7618
       }; then
 
7619
  # Broken: success on invalid input.
 
7620
continue
 
7621
else
 
7622
  $as_echo "$as_me: failed program was:" >&5
 
7623
sed 's/^/| /' conftest.$ac_ext >&5
 
7624
 
 
7625
  # Passes both tests.
 
7626
ac_preproc_ok=:
 
7627
break
 
7628
fi
 
7629
 
 
7630
rm -f conftest.err conftest.$ac_ext
 
7631
 
 
7632
done
 
7633
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7634
rm -f conftest.err conftest.$ac_ext
 
7635
if $ac_preproc_ok; then
 
7636
  break
 
7637
fi
 
7638
 
 
7639
    done
 
7640
    ac_cv_prog_CPP=$CPP
 
7641
 
 
7642
fi
 
7643
  CPP=$ac_cv_prog_CPP
 
7644
else
 
7645
  ac_cv_prog_CPP=$CPP
 
7646
fi
 
7647
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
7648
$as_echo "$CPP" >&6; }
 
7649
ac_preproc_ok=false
 
7650
for ac_c_preproc_warn_flag in '' yes
 
7651
do
 
7652
  # Use a header file that comes with gcc, so configuring glibc
 
7653
  # with a fresh cross-compiler works.
 
7654
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
7655
  # <limits.h> exists even on freestanding compilers.
 
7656
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
7657
  # not just through cpp. "Syntax error" is here to catch this case.
 
7658
  cat >conftest.$ac_ext <<_ACEOF
 
7659
/* confdefs.h.  */
 
7660
_ACEOF
 
7661
cat confdefs.h >>conftest.$ac_ext
 
7662
cat >>conftest.$ac_ext <<_ACEOF
 
7663
/* end confdefs.h.  */
 
7664
#ifdef __STDC__
 
7665
# include <limits.h>
 
7666
#else
 
7667
# include <assert.h>
 
7668
#endif
 
7669
                     Syntax error
 
7670
_ACEOF
 
7671
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7672
case "(($ac_try" in
 
7673
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7674
  *) ac_try_echo=$ac_try;;
 
7675
esac
 
7676
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7677
$as_echo "$ac_try_echo") >&5
 
7678
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7679
  ac_status=$?
 
7680
  grep -v '^ *+' conftest.er1 >conftest.err
 
7681
  rm -f conftest.er1
 
7682
  cat conftest.err >&5
 
7683
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7684
  (exit $ac_status); } >/dev/null && {
 
7685
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7686
         test ! -s conftest.err
 
7687
       }; then
 
7688
  :
 
7689
else
 
7690
  $as_echo "$as_me: failed program was:" >&5
 
7691
sed 's/^/| /' conftest.$ac_ext >&5
 
7692
 
 
7693
  # Broken: fails on valid input.
 
7694
continue
 
7695
fi
 
7696
 
 
7697
rm -f conftest.err conftest.$ac_ext
 
7698
 
 
7699
  # OK, works on sane cases.  Now check whether nonexistent headers
 
7700
  # can be detected and how.
 
7701
  cat >conftest.$ac_ext <<_ACEOF
 
7702
/* confdefs.h.  */
 
7703
_ACEOF
 
7704
cat confdefs.h >>conftest.$ac_ext
 
7705
cat >>conftest.$ac_ext <<_ACEOF
 
7706
/* end confdefs.h.  */
 
7707
#include <ac_nonexistent.h>
 
7708
_ACEOF
 
7709
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
7710
case "(($ac_try" in
 
7711
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7712
  *) ac_try_echo=$ac_try;;
 
7713
esac
 
7714
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7715
$as_echo "$ac_try_echo") >&5
 
7716
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
7717
  ac_status=$?
 
7718
  grep -v '^ *+' conftest.er1 >conftest.err
 
7719
  rm -f conftest.er1
 
7720
  cat conftest.err >&5
 
7721
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7722
  (exit $ac_status); } >/dev/null && {
 
7723
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
7724
         test ! -s conftest.err
 
7725
       }; then
 
7726
  # Broken: success on invalid input.
 
7727
continue
 
7728
else
 
7729
  $as_echo "$as_me: failed program was:" >&5
 
7730
sed 's/^/| /' conftest.$ac_ext >&5
 
7731
 
 
7732
  # Passes both tests.
 
7733
ac_preproc_ok=:
 
7734
break
 
7735
fi
 
7736
 
 
7737
rm -f conftest.err conftest.$ac_ext
 
7738
 
 
7739
done
 
7740
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7741
rm -f conftest.err conftest.$ac_ext
 
7742
if $ac_preproc_ok; then
 
7743
  :
 
7744
else
 
7745
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7746
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7747
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
7748
See \`config.log' for more details." >&5
 
7749
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
7750
See \`config.log' for more details." >&2;}
 
7751
   { (exit 1); exit 1; }; }; }
 
7752
fi
 
7753
 
 
7754
ac_ext=c
 
7755
ac_cpp='$CPP $CPPFLAGS'
 
7756
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7757
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7758
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7759
 
 
7760
 
 
7761
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7762
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7763
if test "${ac_cv_header_stdc+set}" = set; then
 
7764
  $as_echo_n "(cached) " >&6
 
7765
else
 
7766
  cat >conftest.$ac_ext <<_ACEOF
 
7767
/* confdefs.h.  */
 
7768
_ACEOF
 
7769
cat confdefs.h >>conftest.$ac_ext
 
7770
cat >>conftest.$ac_ext <<_ACEOF
 
7771
/* end confdefs.h.  */
 
7772
#include <stdlib.h>
 
7773
#include <stdarg.h>
 
7774
#include <string.h>
 
7775
#include <float.h>
 
7776
 
 
7777
int
 
7778
main ()
 
7779
{
 
7780
 
 
7781
  ;
 
7782
  return 0;
 
7783
}
 
7784
_ACEOF
 
7785
rm -f conftest.$ac_objext
 
7786
if { (ac_try="$ac_compile"
 
7787
case "(($ac_try" in
 
7788
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7789
  *) ac_try_echo=$ac_try;;
 
7790
esac
 
7791
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7792
$as_echo "$ac_try_echo") >&5
 
7793
  (eval "$ac_compile") 2>conftest.er1
 
7794
  ac_status=$?
 
7795
  grep -v '^ *+' conftest.er1 >conftest.err
 
7796
  rm -f conftest.er1
 
7797
  cat conftest.err >&5
 
7798
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7799
  (exit $ac_status); } && {
 
7800
         test -z "$ac_c_werror_flag" ||
 
7801
         test ! -s conftest.err
 
7802
       } && test -s conftest.$ac_objext; then
 
7803
  ac_cv_header_stdc=yes
 
7804
else
 
7805
  $as_echo "$as_me: failed program was:" >&5
 
7806
sed 's/^/| /' conftest.$ac_ext >&5
 
7807
 
 
7808
        ac_cv_header_stdc=no
 
7809
fi
 
7810
 
 
7811
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7812
 
 
7813
if test $ac_cv_header_stdc = yes; then
 
7814
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7815
  cat >conftest.$ac_ext <<_ACEOF
 
7816
/* confdefs.h.  */
 
7817
_ACEOF
 
7818
cat confdefs.h >>conftest.$ac_ext
 
7819
cat >>conftest.$ac_ext <<_ACEOF
 
7820
/* end confdefs.h.  */
 
7821
#include <string.h>
 
7822
 
 
7823
_ACEOF
 
7824
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7825
  $EGREP "memchr" >/dev/null 2>&1; then
 
7826
  :
 
7827
else
 
7828
  ac_cv_header_stdc=no
 
7829
fi
 
7830
rm -f conftest*
 
7831
 
 
7832
fi
 
7833
 
 
7834
if test $ac_cv_header_stdc = yes; then
 
7835
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7836
  cat >conftest.$ac_ext <<_ACEOF
 
7837
/* confdefs.h.  */
 
7838
_ACEOF
 
7839
cat confdefs.h >>conftest.$ac_ext
 
7840
cat >>conftest.$ac_ext <<_ACEOF
 
7841
/* end confdefs.h.  */
 
7842
#include <stdlib.h>
 
7843
 
 
7844
_ACEOF
 
7845
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7846
  $EGREP "free" >/dev/null 2>&1; then
 
7847
  :
 
7848
else
 
7849
  ac_cv_header_stdc=no
 
7850
fi
 
7851
rm -f conftest*
 
7852
 
 
7853
fi
 
7854
 
 
7855
if test $ac_cv_header_stdc = yes; then
 
7856
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7857
  if test "$cross_compiling" = yes; then
 
7858
  :
 
7859
else
 
7860
  cat >conftest.$ac_ext <<_ACEOF
 
7861
/* confdefs.h.  */
 
7862
_ACEOF
 
7863
cat confdefs.h >>conftest.$ac_ext
 
7864
cat >>conftest.$ac_ext <<_ACEOF
 
7865
/* end confdefs.h.  */
 
7866
#include <ctype.h>
 
7867
#include <stdlib.h>
 
7868
#if ((' ' & 0x0FF) == 0x020)
 
7869
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7870
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7871
#else
 
7872
# define ISLOWER(c) \
 
7873
                   (('a' <= (c) && (c) <= 'i') \
 
7874
                     || ('j' <= (c) && (c) <= 'r') \
 
7875
                     || ('s' <= (c) && (c) <= 'z'))
 
7876
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7877
#endif
 
7878
 
 
7879
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7880
int
 
7881
main ()
 
7882
{
 
7883
  int i;
 
7884
  for (i = 0; i < 256; i++)
 
7885
    if (XOR (islower (i), ISLOWER (i))
 
7886
        || toupper (i) != TOUPPER (i))
 
7887
      return 2;
 
7888
  return 0;
 
7889
}
 
7890
_ACEOF
 
7891
rm -f conftest$ac_exeext
 
7892
if { (ac_try="$ac_link"
 
7893
case "(($ac_try" in
 
7894
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7895
  *) ac_try_echo=$ac_try;;
 
7896
esac
 
7897
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7898
$as_echo "$ac_try_echo") >&5
 
7899
  (eval "$ac_link") 2>&5
 
7900
  ac_status=$?
 
7901
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7902
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
7903
  { (case "(($ac_try" in
 
7904
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7905
  *) ac_try_echo=$ac_try;;
 
7906
esac
 
7907
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7908
$as_echo "$ac_try_echo") >&5
 
7909
  (eval "$ac_try") 2>&5
 
7910
  ac_status=$?
 
7911
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7912
  (exit $ac_status); }; }; then
 
7913
  :
 
7914
else
 
7915
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
7916
$as_echo "$as_me: failed program was:" >&5
 
7917
sed 's/^/| /' conftest.$ac_ext >&5
 
7918
 
 
7919
( exit $ac_status )
 
7920
ac_cv_header_stdc=no
 
7921
fi
 
7922
rm -rf conftest.dSYM
 
7923
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7924
fi
 
7925
 
 
7926
 
 
7927
fi
 
7928
fi
 
7929
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7930
$as_echo "$ac_cv_header_stdc" >&6; }
 
7931
if test $ac_cv_header_stdc = yes; then
 
7932
 
 
7933
cat >>confdefs.h <<\_ACEOF
 
7934
#define STDC_HEADERS 1
 
7935
_ACEOF
 
7936
 
 
7937
fi
 
7938
 
 
7939
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7940
 
 
7941
 
 
7942
 
 
7943
 
 
7944
 
 
7945
 
 
7946
 
 
7947
 
 
7948
 
 
7949
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7950
                  inttypes.h stdint.h unistd.h
 
7951
do
 
7952
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7953
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7954
$as_echo_n "checking for $ac_header... " >&6; }
 
7955
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7956
  $as_echo_n "(cached) " >&6
 
7957
else
 
7958
  cat >conftest.$ac_ext <<_ACEOF
 
7959
/* confdefs.h.  */
 
7960
_ACEOF
 
7961
cat confdefs.h >>conftest.$ac_ext
 
7962
cat >>conftest.$ac_ext <<_ACEOF
 
7963
/* end confdefs.h.  */
 
7964
$ac_includes_default
 
7965
 
 
7966
#include <$ac_header>
 
7967
_ACEOF
 
7968
rm -f conftest.$ac_objext
 
7969
if { (ac_try="$ac_compile"
 
7970
case "(($ac_try" in
 
7971
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7972
  *) ac_try_echo=$ac_try;;
 
7973
esac
 
7974
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7975
$as_echo "$ac_try_echo") >&5
 
7976
  (eval "$ac_compile") 2>conftest.er1
 
7977
  ac_status=$?
 
7978
  grep -v '^ *+' conftest.er1 >conftest.err
 
7979
  rm -f conftest.er1
 
7980
  cat conftest.err >&5
 
7981
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7982
  (exit $ac_status); } && {
 
7983
         test -z "$ac_c_werror_flag" ||
 
7984
         test ! -s conftest.err
 
7985
       } && test -s conftest.$ac_objext; then
 
7986
  eval "$as_ac_Header=yes"
 
7987
else
 
7988
  $as_echo "$as_me: failed program was:" >&5
 
7989
sed 's/^/| /' conftest.$ac_ext >&5
 
7990
 
 
7991
        eval "$as_ac_Header=no"
 
7992
fi
 
7993
 
 
7994
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7995
fi
 
7996
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7997
                 $as_echo "$as_val"'`
 
7998
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7999
$as_echo "$ac_res" >&6; }
 
8000
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8001
                 $as_echo "$as_val"'`
 
8002
   if test "x$as_val" = x""yes; then
 
8003
  cat >>confdefs.h <<_ACEOF
 
8004
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8005
_ACEOF
 
8006
 
 
8007
fi
 
8008
 
 
8009
done
 
8010
 
 
8011
 
 
8012
 
 
8013
for ac_header in dlfcn.h
 
8014
do
 
8015
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
8016
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
8017
$as_echo_n "checking for $ac_header... " >&6; }
 
8018
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
8019
  $as_echo_n "(cached) " >&6
 
8020
else
 
8021
  cat >conftest.$ac_ext <<_ACEOF
 
8022
/* confdefs.h.  */
 
8023
_ACEOF
 
8024
cat confdefs.h >>conftest.$ac_ext
 
8025
cat >>conftest.$ac_ext <<_ACEOF
 
8026
/* end confdefs.h.  */
 
8027
$ac_includes_default
 
8028
 
 
8029
#include <$ac_header>
 
8030
_ACEOF
 
8031
rm -f conftest.$ac_objext
 
8032
if { (ac_try="$ac_compile"
 
8033
case "(($ac_try" in
 
8034
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
8035
  *) ac_try_echo=$ac_try;;
 
8036
esac
 
8037
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8038
$as_echo "$ac_try_echo") >&5
 
8039
  (eval "$ac_compile") 2>conftest.er1
 
8040
  ac_status=$?
 
8041
  grep -v '^ *+' conftest.er1 >conftest.err
 
8042
  rm -f conftest.er1
 
8043
  cat conftest.err >&5
 
8044
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8045
  (exit $ac_status); } && {
 
8046
         test -z "$ac_c_werror_flag" ||
 
8047
         test ! -s conftest.err
 
8048
       } && test -s conftest.$ac_objext; then
 
8049
  eval "$as_ac_Header=yes"
 
8050
else
 
8051
  $as_echo "$as_me: failed program was:" >&5
 
8052
sed 's/^/| /' conftest.$ac_ext >&5
 
8053
 
 
8054
        eval "$as_ac_Header=no"
 
8055
fi
 
8056
 
 
8057
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
8058
fi
 
8059
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
8060
                 $as_echo "$as_val"'`
 
8061
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
8062
$as_echo "$ac_res" >&6; }
 
8063
as_val=`eval 'as_val=${'$as_ac_Header'}
 
8064
                 $as_echo "$as_val"'`
 
8065
   if test "x$as_val" = x""yes; then
 
8066
  cat >>confdefs.h <<_ACEOF
 
8067
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
8068
_ACEOF
 
8069
 
 
8070
fi
 
8071
 
 
8072
done
 
8073
 
 
8074
 
 
8075
 
 
8076
# Set options
 
8077
 
 
8078
 
 
8079
 
 
8080
        enable_dlopen=no
 
8081
 
 
8082
 
 
8083
 
 
8084
            # Check whether --enable-shared was given.
 
8085
if test "${enable_shared+set}" = set; then
 
8086
  enableval=$enable_shared; p=${PACKAGE-default}
 
8087
    case $enableval in
 
8088
    yes) enable_shared=yes ;;
 
8089
    no) enable_shared=no ;;
 
8090
    *)
 
8091
      enable_shared=no
 
8092
      # Look at the argument we got.  We use all the common list separators.
 
8093
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8094
      for pkg in $enableval; do
 
8095
        IFS="$lt_save_ifs"
 
8096
        if test "X$pkg" = "X$p"; then
 
8097
          enable_shared=yes
 
8098
        fi
 
8099
      done
 
8100
      IFS="$lt_save_ifs"
 
8101
      ;;
 
8102
    esac
 
8103
else
 
8104
  enable_shared=yes
 
8105
fi
 
8106
 
 
8107
 
 
8108
 
 
8109
 
 
8110
 
 
8111
 
 
8112
 
 
8113
 
 
8114
 
 
8115
  # Check whether --enable-static was given.
 
8116
if test "${enable_static+set}" = set; then
 
8117
  enableval=$enable_static; p=${PACKAGE-default}
 
8118
    case $enableval in
 
8119
    yes) enable_static=yes ;;
 
8120
    no) enable_static=no ;;
 
8121
    *)
 
8122
     enable_static=no
 
8123
      # Look at the argument we got.  We use all the common list separators.
 
8124
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8125
      for pkg in $enableval; do
 
8126
        IFS="$lt_save_ifs"
 
8127
        if test "X$pkg" = "X$p"; then
 
8128
          enable_static=yes
 
8129
        fi
 
8130
      done
 
8131
      IFS="$lt_save_ifs"
 
8132
      ;;
 
8133
    esac
 
8134
else
 
8135
  enable_static=yes
 
8136
fi
 
8137
 
 
8138
 
 
8139
 
 
8140
 
 
8141
 
 
8142
 
 
8143
 
 
8144
 
8455
8145
 
8456
8146
 
8457
8147
# Check whether --with-pic was given.
8461
8151
  pic_mode=default
8462
8152
fi
8463
8153
 
 
8154
 
8464
8155
test -z "$pic_mode" && pic_mode=default
8465
8156
 
 
8157
 
 
8158
 
 
8159
 
 
8160
 
 
8161
 
 
8162
 
 
8163
  # Check whether --enable-fast-install was given.
 
8164
if test "${enable_fast_install+set}" = set; then
 
8165
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
8166
    case $enableval in
 
8167
    yes) enable_fast_install=yes ;;
 
8168
    no) enable_fast_install=no ;;
 
8169
    *)
 
8170
      enable_fast_install=no
 
8171
      # Look at the argument we got.  We use all the common list separators.
 
8172
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
8173
      for pkg in $enableval; do
 
8174
        IFS="$lt_save_ifs"
 
8175
        if test "X$pkg" = "X$p"; then
 
8176
          enable_fast_install=yes
 
8177
        fi
 
8178
      done
 
8179
      IFS="$lt_save_ifs"
 
8180
      ;;
 
8181
    esac
 
8182
else
 
8183
  enable_fast_install=yes
 
8184
fi
 
8185
 
 
8186
 
 
8187
 
 
8188
 
 
8189
 
 
8190
 
 
8191
 
 
8192
 
 
8193
 
 
8194
 
 
8195
 
 
8196
# This can be used to rebuild libtool when needed
 
8197
LIBTOOL_DEPS="$ltmain"
 
8198
 
 
8199
# Always use our own libtool.
 
8200
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
8201
 
 
8202
 
 
8203
 
 
8204
 
 
8205
 
 
8206
 
 
8207
 
 
8208
 
 
8209
 
 
8210
 
 
8211
 
 
8212
 
 
8213
 
 
8214
 
 
8215
 
 
8216
 
 
8217
 
 
8218
 
 
8219
 
 
8220
 
 
8221
 
 
8222
 
 
8223
 
 
8224
 
 
8225
 
 
8226
test -z "$LN_S" && LN_S="ln -s"
 
8227
 
 
8228
 
 
8229
 
 
8230
 
 
8231
 
 
8232
 
 
8233
 
 
8234
 
 
8235
 
 
8236
 
 
8237
 
 
8238
 
 
8239
 
 
8240
 
 
8241
if test -n "${ZSH_VERSION+set}" ; then
 
8242
   setopt NO_GLOB_SUBST
 
8243
fi
 
8244
 
 
8245
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
8246
$as_echo_n "checking for objdir... " >&6; }
 
8247
if test "${lt_cv_objdir+set}" = set; then
 
8248
  $as_echo_n "(cached) " >&6
 
8249
else
 
8250
  rm -f .libs 2>/dev/null
 
8251
mkdir .libs 2>/dev/null
 
8252
if test -d .libs; then
 
8253
  lt_cv_objdir=.libs
 
8254
else
 
8255
  # MS-DOS does not allow filenames that begin with a dot.
 
8256
  lt_cv_objdir=_libs
 
8257
fi
 
8258
rmdir .libs 2>/dev/null
 
8259
fi
 
8260
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
8261
$as_echo "$lt_cv_objdir" >&6; }
 
8262
objdir=$lt_cv_objdir
 
8263
 
 
8264
 
 
8265
 
 
8266
 
 
8267
 
 
8268
cat >>confdefs.h <<_ACEOF
 
8269
#define LT_OBJDIR "$lt_cv_objdir/"
 
8270
_ACEOF
 
8271
 
 
8272
 
 
8273
 
 
8274
 
 
8275
 
 
8276
 
 
8277
 
 
8278
 
 
8279
 
 
8280
 
 
8281
 
 
8282
 
 
8283
 
 
8284
 
 
8285
 
 
8286
 
 
8287
 
 
8288
case $host_os in
 
8289
aix3*)
 
8290
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
8291
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
8292
  # vanish in a puff of smoke.
 
8293
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
8294
    COLLECT_NAMES=
 
8295
    export COLLECT_NAMES
 
8296
  fi
 
8297
  ;;
 
8298
esac
 
8299
 
 
8300
# Sed substitution that helps us do robust quoting.  It backslashifies
 
8301
# metacharacters that are still active within double-quoted strings.
 
8302
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
8303
 
 
8304
# Same as above, but do not quote variable references.
 
8305
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
8306
 
 
8307
# Sed substitution to delay expansion of an escaped shell variable in a
 
8308
# double_quote_subst'ed string.
 
8309
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
8310
 
 
8311
# Sed substitution to delay expansion of an escaped single quote.
 
8312
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
8313
 
 
8314
# Sed substitution to avoid accidental globbing in evaled expressions
 
8315
no_glob_subst='s/\*/\\\*/g'
 
8316
 
 
8317
# Global variables:
 
8318
ofile=libtool
 
8319
can_build_shared=yes
 
8320
 
 
8321
# All known linkers require a `.a' archive for static linking (except MSVC,
 
8322
# which needs '.lib').
 
8323
libext=a
 
8324
 
 
8325
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
8326
 
 
8327
old_CC="$CC"
 
8328
old_CFLAGS="$CFLAGS"
 
8329
 
 
8330
# Set sane defaults for various variables
 
8331
test -z "$CC" && CC=cc
 
8332
test -z "$LTCC" && LTCC=$CC
 
8333
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
8334
test -z "$LD" && LD=ld
 
8335
test -z "$ac_objext" && ac_objext=o
 
8336
 
 
8337
for cc_temp in $compiler""; do
 
8338
  case $cc_temp in
 
8339
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
8340
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
8341
    \-*) ;;
 
8342
    *) break;;
 
8343
  esac
 
8344
done
 
8345
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
8346
 
 
8347
 
 
8348
# Only perform the check for file, if the check method requires it
 
8349
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
8350
case $deplibs_check_method in
 
8351
file_magic*)
 
8352
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
8353
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
8354
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
8355
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8356
  $as_echo_n "(cached) " >&6
 
8357
else
 
8358
  case $MAGIC_CMD in
 
8359
[\\/*] |  ?:[\\/]*)
 
8360
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8361
  ;;
 
8362
*)
 
8363
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8364
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8365
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8366
  for ac_dir in $ac_dummy; do
 
8367
    IFS="$lt_save_ifs"
 
8368
    test -z "$ac_dir" && ac_dir=.
 
8369
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
8370
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
8371
      if test -n "$file_magic_test_file"; then
 
8372
        case $deplibs_check_method in
 
8373
        "file_magic "*)
 
8374
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8375
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8376
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8377
            $EGREP "$file_magic_regex" > /dev/null; then
 
8378
            :
 
8379
          else
 
8380
            cat <<_LT_EOF 1>&2
 
8381
 
 
8382
*** Warning: the command libtool uses to detect shared libraries,
 
8383
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8384
*** The result is that libtool may fail to recognize shared libraries
 
8385
*** as such.  This will affect the creation of libtool libraries that
 
8386
*** depend on shared libraries, but programs linked with such libtool
 
8387
*** libraries will work regardless of this problem.  Nevertheless, you
 
8388
*** may want to report the problem to your system manager and/or to
 
8389
*** bug-libtool@gnu.org
 
8390
 
 
8391
_LT_EOF
 
8392
          fi ;;
 
8393
        esac
 
8394
      fi
 
8395
      break
 
8396
    fi
 
8397
  done
 
8398
  IFS="$lt_save_ifs"
 
8399
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8400
  ;;
 
8401
esac
 
8402
fi
 
8403
 
 
8404
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8405
if test -n "$MAGIC_CMD"; then
 
8406
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8407
$as_echo "$MAGIC_CMD" >&6; }
 
8408
else
 
8409
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8410
$as_echo "no" >&6; }
 
8411
fi
 
8412
 
 
8413
 
 
8414
 
 
8415
 
 
8416
 
 
8417
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
8418
  if test -n "$ac_tool_prefix"; then
 
8419
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
8420
$as_echo_n "checking for file... " >&6; }
 
8421
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
 
8422
  $as_echo_n "(cached) " >&6
 
8423
else
 
8424
  case $MAGIC_CMD in
 
8425
[\\/*] |  ?:[\\/]*)
 
8426
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
8427
  ;;
 
8428
*)
 
8429
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
8430
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
8431
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
8432
  for ac_dir in $ac_dummy; do
 
8433
    IFS="$lt_save_ifs"
 
8434
    test -z "$ac_dir" && ac_dir=.
 
8435
    if test -f $ac_dir/file; then
 
8436
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
8437
      if test -n "$file_magic_test_file"; then
 
8438
        case $deplibs_check_method in
 
8439
        "file_magic "*)
 
8440
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
8441
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8442
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
8443
            $EGREP "$file_magic_regex" > /dev/null; then
 
8444
            :
 
8445
          else
 
8446
            cat <<_LT_EOF 1>&2
 
8447
 
 
8448
*** Warning: the command libtool uses to detect shared libraries,
 
8449
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
8450
*** The result is that libtool may fail to recognize shared libraries
 
8451
*** as such.  This will affect the creation of libtool libraries that
 
8452
*** depend on shared libraries, but programs linked with such libtool
 
8453
*** libraries will work regardless of this problem.  Nevertheless, you
 
8454
*** may want to report the problem to your system manager and/or to
 
8455
*** bug-libtool@gnu.org
 
8456
 
 
8457
_LT_EOF
 
8458
          fi ;;
 
8459
        esac
 
8460
      fi
 
8461
      break
 
8462
    fi
 
8463
  done
 
8464
  IFS="$lt_save_ifs"
 
8465
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
8466
  ;;
 
8467
esac
 
8468
fi
 
8469
 
 
8470
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
8471
if test -n "$MAGIC_CMD"; then
 
8472
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
8473
$as_echo "$MAGIC_CMD" >&6; }
 
8474
else
 
8475
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
8476
$as_echo "no" >&6; }
 
8477
fi
 
8478
 
 
8479
 
 
8480
  else
 
8481
    MAGIC_CMD=:
 
8482
  fi
 
8483
fi
 
8484
 
 
8485
  fi
 
8486
  ;;
 
8487
esac
 
8488
 
8466
8489
# Use C for the default configuration in the libtool script
8467
 
tagname=
 
8490
 
8468
8491
lt_save_CC="$CC"
8469
8492
ac_ext=c
8470
8493
ac_cpp='$CPP $CPPFLAGS'
8487
8510
lt_simple_link_test_code='int main(){return(0);}'
8488
8511
 
8489
8512
 
 
8513
 
 
8514
 
 
8515
 
 
8516
 
 
8517
 
8490
8518
# If no C compiler was specified, use CC.
8491
8519
LTCC=${LTCC-"$CC"}
8492
8520
 
8496
8524
# Allow CC to be a program name with arguments.
8497
8525
compiler=$CC
8498
8526
 
 
8527
# Save the default compiler, since it gets overwritten when the other
 
8528
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
8529
compiler_DEFAULT=$CC
8499
8530
 
8500
8531
# save warnings/boilerplate of simple test code
8501
8532
ac_outfile=conftest.$ac_objext
8502
8533
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8503
8534
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8504
8535
_lt_compiler_boilerplate=`cat conftest.err`
8505
 
$rm conftest*
 
8536
$RM conftest*
8506
8537
 
8507
8538
ac_outfile=conftest.$ac_objext
8508
8539
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8509
8540
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8510
8541
_lt_linker_boilerplate=`cat conftest.err`
8511
 
$rm -r conftest*
8512
 
 
8513
 
 
 
8542
$RM -r conftest*
 
8543
 
 
8544
 
 
8545
if test -n "$compiler"; then
8514
8546
 
8515
8547
lt_prog_compiler_no_builtin_flag=
8516
8548
 
8517
8549
if test "$GCC" = yes; then
8518
8550
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8519
8551
 
8520
 
 
8521
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8522
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
8552
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
8553
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8523
8554
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8524
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8555
  $as_echo_n "(cached) " >&6
8525
8556
else
8526
8557
  lt_cv_prog_compiler_rtti_exceptions=no
8527
 
  ac_outfile=conftest.$ac_objext
 
8558
   ac_outfile=conftest.$ac_objext
8528
8559
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8529
8560
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8530
8561
   # Insert the option either (1) after the last *FLAGS variable, or
8536
8567
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8537
8568
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8538
8569
   -e 's:$: $lt_compiler_flag:'`
8539
 
   (eval echo "\"\$as_me:8539: $lt_compile\"" >&5)
 
8570
   (eval echo "\"\$as_me:8570: $lt_compile\"" >&5)
8540
8571
   (eval "$lt_compile" 2>conftest.err)
8541
8572
   ac_status=$?
8542
8573
   cat conftest.err >&5
8543
 
   echo "$as_me:8543: \$? = $ac_status" >&5
 
8574
   echo "$as_me:8574: \$? = $ac_status" >&5
8544
8575
   if (exit $ac_status) && test -s "$ac_outfile"; then
8545
8576
     # The compiler can only warn and ignore the option if not recognized
8546
8577
     # So say no if there are warnings other than the usual output.
8547
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8578
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8548
8579
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8549
8580
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8550
8581
       lt_cv_prog_compiler_rtti_exceptions=yes
8551
8582
     fi
8552
8583
   fi
8553
 
   $rm conftest*
 
8584
   $RM conftest*
8554
8585
 
8555
8586
fi
8556
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8557
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
8587
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
8588
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8558
8589
 
8559
8590
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8560
8591
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8564
8595
 
8565
8596
fi
8566
8597
 
8567
 
lt_prog_compiler_wl=
 
8598
 
 
8599
 
 
8600
 
 
8601
 
 
8602
 
 
8603
  lt_prog_compiler_wl=
8568
8604
lt_prog_compiler_pic=
8569
8605
lt_prog_compiler_static=
8570
8606
 
8571
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8572
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
8607
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
8608
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8573
8609
 
8574
8610
  if test "$GCC" = yes; then
8575
8611
    lt_prog_compiler_wl='-Wl,'
8585
8621
      ;;
8586
8622
 
8587
8623
    amigaos*)
8588
 
      # FIXME: we need at least 68020 code to build shared libraries, but
8589
 
      # adding the `-m68020' flag to GCC prevents building anything better,
8590
 
      # like `-m68040'.
8591
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8624
      case $host_cpu in
 
8625
      powerpc)
 
8626
            # see comment about AmigaOS4 .so support
 
8627
            lt_prog_compiler_pic='-fPIC'
 
8628
        ;;
 
8629
      m68k)
 
8630
            # FIXME: we need at least 68020 code to build shared libraries, but
 
8631
            # adding the `-m68020' flag to GCC prevents building anything better,
 
8632
            # like `-m68040'.
 
8633
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
8634
        ;;
 
8635
      esac
8592
8636
      ;;
8593
8637
 
8594
8638
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8595
8639
      # PIC is the default for these OSes.
8596
8640
      ;;
8597
8641
 
8598
 
    mingw* | cygwin* | pw32* | os2*)
 
8642
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8599
8643
      # This hack is so that the source file can tell whether it is being
8600
8644
      # built for inclusion in a dll (and should export symbols for example).
8601
8645
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8609
8653
      lt_prog_compiler_pic='-fno-common'
8610
8654
      ;;
8611
8655
 
 
8656
    hpux*)
 
8657
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
8658
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
8659
      # sets the default TLS model and affects inlining.
 
8660
      case $host_cpu in
 
8661
      hppa*64*)
 
8662
        # +Z the default
 
8663
        ;;
 
8664
      *)
 
8665
        lt_prog_compiler_pic='-fPIC'
 
8666
        ;;
 
8667
      esac
 
8668
      ;;
 
8669
 
8612
8670
    interix[3-9]*)
8613
8671
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8614
8672
      # Instead, we relocate shared libraries at runtime.
8621
8679
      enable_shared=no
8622
8680
      ;;
8623
8681
 
 
8682
    *nto* | *qnx*)
 
8683
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8684
      # it will coredump.
 
8685
      lt_prog_compiler_pic='-fPIC -shared'
 
8686
      ;;
 
8687
 
8624
8688
    sysv4*MP*)
8625
8689
      if test -d /usr/nec; then
8626
8690
        lt_prog_compiler_pic=-Kconform_pic
8627
8691
      fi
8628
8692
      ;;
8629
8693
 
8630
 
    hpux*)
8631
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8632
 
      # not for PA HP-UX.
8633
 
      case $host_cpu in
8634
 
      hppa*64*|ia64*)
8635
 
        # +Z the default
8636
 
        ;;
8637
 
      *)
8638
 
        lt_prog_compiler_pic='-fPIC'
8639
 
        ;;
8640
 
      esac
8641
 
      ;;
8642
 
 
8643
8694
    *)
8644
8695
      lt_prog_compiler_pic='-fPIC'
8645
8696
      ;;
8656
8707
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8657
8708
      fi
8658
8709
      ;;
8659
 
      darwin*)
8660
 
        # PIC is the default on this platform
8661
 
        # Common symbols not allowed in MH_DYLIB files
8662
 
       case $cc_basename in
8663
 
         xlc*)
8664
 
         lt_prog_compiler_pic='-qnocommon'
8665
 
         lt_prog_compiler_wl='-Wl,'
8666
 
         ;;
8667
 
       esac
8668
 
       ;;
8669
8710
 
8670
 
    mingw* | cygwin* | pw32* | os2*)
 
8711
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8671
8712
      # This hack is so that the source file can tell whether it is being
8672
8713
      # built for inclusion in a dll (and should export symbols for example).
8673
8714
      lt_prog_compiler_pic='-DDLL_EXPORT'
8695
8736
      lt_prog_compiler_static='-non_shared'
8696
8737
      ;;
8697
8738
 
8698
 
    newsos6)
8699
 
      lt_prog_compiler_pic='-KPIC'
8700
 
      lt_prog_compiler_static='-Bstatic'
8701
 
      ;;
8702
 
 
8703
8739
    linux* | k*bsd*-gnu)
8704
8740
      case $cc_basename in
8705
 
      icc* | ecc*)
 
8741
      # old Intel for x86_64 which still supported -KPIC.
 
8742
      ecc*)
8706
8743
        lt_prog_compiler_wl='-Wl,'
8707
8744
        lt_prog_compiler_pic='-KPIC'
8708
8745
        lt_prog_compiler_static='-static'
8709
8746
        ;;
 
8747
      # icc used to be incompatible with GCC.
 
8748
      # ICC 10 doesn't accept -KPIC any more.
 
8749
      icc* | ifort*)
 
8750
        lt_prog_compiler_wl='-Wl,'
 
8751
        lt_prog_compiler_pic='-fPIC'
 
8752
        lt_prog_compiler_static='-static'
 
8753
        ;;
 
8754
      # Lahey Fortran 8.1.
 
8755
      lf95*)
 
8756
        lt_prog_compiler_wl='-Wl,'
 
8757
        lt_prog_compiler_pic='--shared'
 
8758
        lt_prog_compiler_static='--static'
 
8759
        ;;
8710
8760
      pgcc* | pgf77* | pgf90* | pgf95*)
8711
8761
        # Portland Group compilers (*not* the Pentium gcc compiler,
8712
8762
        # which looks to be a dead project)
8719
8769
        # All Alpha code is PIC.
8720
8770
        lt_prog_compiler_static='-non_shared'
8721
8771
        ;;
 
8772
      xl*)
 
8773
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8774
        lt_prog_compiler_wl='-Wl,'
 
8775
        lt_prog_compiler_pic='-qpic'
 
8776
        lt_prog_compiler_static='-qstaticlink'
 
8777
        ;;
8722
8778
      *)
8723
 
        case `$CC -V 2>&1 | sed 5q` in
 
8779
        case `$CC -V 2>&1 | sed 5q` in
8724
8780
        *Sun\ C*)
8725
8781
          # Sun C 5.9
8726
8782
          lt_prog_compiler_pic='-KPIC'
8738
8794
      esac
8739
8795
      ;;
8740
8796
 
 
8797
    newsos6)
 
8798
      lt_prog_compiler_pic='-KPIC'
 
8799
      lt_prog_compiler_static='-Bstatic'
 
8800
      ;;
 
8801
 
 
8802
    *nto* | *qnx*)
 
8803
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8804
      # it will coredump.
 
8805
      lt_prog_compiler_pic='-fPIC -shared'
 
8806
      ;;
 
8807
 
8741
8808
    osf3* | osf4* | osf5*)
8742
8809
      lt_prog_compiler_wl='-Wl,'
8743
8810
      # All OSF/1 code is PIC.
8800
8867
    esac
8801
8868
  fi
8802
8869
 
8803
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8804
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
8870
case $host_os in
 
8871
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8872
  *djgpp*)
 
8873
    lt_prog_compiler_pic=
 
8874
    ;;
 
8875
  *)
 
8876
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8877
    ;;
 
8878
esac
 
8879
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8880
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8881
 
 
8882
 
 
8883
 
 
8884
 
 
8885
 
8805
8886
 
8806
8887
#
8807
8888
# Check to make sure the PIC flag actually works.
8808
8889
#
8809
8890
if test -n "$lt_prog_compiler_pic"; then
8810
 
 
8811
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8812
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
 
8891
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8892
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8813
8893
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8814
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8894
  $as_echo_n "(cached) " >&6
8815
8895
else
8816
8896
  lt_cv_prog_compiler_pic_works=no
8817
 
  ac_outfile=conftest.$ac_objext
 
8897
   ac_outfile=conftest.$ac_objext
8818
8898
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8819
8899
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8820
8900
   # Insert the option either (1) after the last *FLAGS variable, or
8826
8906
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8827
8907
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8828
8908
   -e 's:$: $lt_compiler_flag:'`
8829
 
   (eval echo "\"\$as_me:8829: $lt_compile\"" >&5)
 
8909
   (eval echo "\"\$as_me:8909: $lt_compile\"" >&5)
8830
8910
   (eval "$lt_compile" 2>conftest.err)
8831
8911
   ac_status=$?
8832
8912
   cat conftest.err >&5
8833
 
   echo "$as_me:8833: \$? = $ac_status" >&5
 
8913
   echo "$as_me:8913: \$? = $ac_status" >&5
8834
8914
   if (exit $ac_status) && test -s "$ac_outfile"; then
8835
8915
     # The compiler can only warn and ignore the option if not recognized
8836
8916
     # So say no if there are warnings other than the usual output.
8837
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8917
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8838
8918
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8839
8919
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8840
8920
       lt_cv_prog_compiler_pic_works=yes
8841
8921
     fi
8842
8922
   fi
8843
 
   $rm conftest*
 
8923
   $RM conftest*
8844
8924
 
8845
8925
fi
8846
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8847
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
 
8926
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8927
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8848
8928
 
8849
8929
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8850
8930
    case $lt_prog_compiler_pic in
8857
8937
fi
8858
8938
 
8859
8939
fi
8860
 
case $host_os in
8861
 
  # For platforms which do not support PIC, -DPIC is meaningless:
8862
 
  *djgpp*)
8863
 
    lt_prog_compiler_pic=
8864
 
    ;;
8865
 
  *)
8866
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8867
 
    ;;
8868
 
esac
 
8940
 
 
8941
 
 
8942
 
 
8943
 
 
8944
 
8869
8945
 
8870
8946
#
8871
8947
# Check to make sure the static flag actually works.
8872
8948
#
8873
8949
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8874
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8875
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
 
8950
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8951
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8876
8952
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8877
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8953
  $as_echo_n "(cached) " >&6
8878
8954
else
8879
8955
  lt_cv_prog_compiler_static_works=no
8880
8956
   save_LDFLAGS="$LDFLAGS"
8886
8962
     if test -s conftest.err; then
8887
8963
       # Append any errors to the config.log.
8888
8964
       cat conftest.err 1>&5
8889
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8965
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8890
8966
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8891
8967
       if diff conftest.exp conftest.er2 >/dev/null; then
8892
8968
         lt_cv_prog_compiler_static_works=yes
8895
8971
       lt_cv_prog_compiler_static_works=yes
8896
8972
     fi
8897
8973
   fi
8898
 
   $rm -r conftest*
 
8974
   $RM -r conftest*
8899
8975
   LDFLAGS="$save_LDFLAGS"
8900
8976
 
8901
8977
fi
8902
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8903
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
 
8978
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8979
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8904
8980
 
8905
8981
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8906
8982
    :
8909
8985
fi
8910
8986
 
8911
8987
 
8912
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8913
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8914
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8915
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
8916
 
else
8917
 
  lt_cv_prog_compiler_c_o=no
8918
 
   $rm -r conftest 2>/dev/null
8919
 
   mkdir conftest
8920
 
   cd conftest
8921
 
   mkdir out
8922
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8923
 
 
8924
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8925
 
   # Insert the option either (1) after the last *FLAGS variable, or
8926
 
   # (2) before a word containing "conftest.", or (3) at the end.
8927
 
   # Note that $ac_compile itself does not contain backslashes and begins
8928
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8929
 
   lt_compile=`echo "$ac_compile" | $SED \
8930
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8931
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8932
 
   -e 's:$: $lt_compiler_flag:'`
8933
 
   (eval echo "\"\$as_me:8933: $lt_compile\"" >&5)
8934
 
   (eval "$lt_compile" 2>out/conftest.err)
8935
 
   ac_status=$?
8936
 
   cat out/conftest.err >&5
8937
 
   echo "$as_me:8937: \$? = $ac_status" >&5
8938
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8939
 
   then
8940
 
     # The compiler can only warn and ignore the option if not recognized
8941
 
     # So say no if there are warnings
8942
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8943
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8944
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8945
 
       lt_cv_prog_compiler_c_o=yes
8946
 
     fi
8947
 
   fi
8948
 
   chmod u+w . 2>&5
8949
 
   $rm conftest*
8950
 
   # SGI C++ compiler will create directory out/ii_files/ for
8951
 
   # template instantiation
8952
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
8953
 
   $rm out/* && rmdir out
8954
 
   cd ..
8955
 
   rmdir conftest
8956
 
   $rm conftest*
8957
 
 
8958
 
fi
8959
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8960
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
8988
 
 
8989
 
 
8990
 
 
8991
 
 
8992
 
 
8993
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8994
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8995
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8996
  $as_echo_n "(cached) " >&6
 
8997
else
 
8998
  lt_cv_prog_compiler_c_o=no
 
8999
   $RM -r conftest 2>/dev/null
 
9000
   mkdir conftest
 
9001
   cd conftest
 
9002
   mkdir out
 
9003
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9004
 
 
9005
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9006
   # Insert the option either (1) after the last *FLAGS variable, or
 
9007
   # (2) before a word containing "conftest.", or (3) at the end.
 
9008
   # Note that $ac_compile itself does not contain backslashes and begins
 
9009
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9010
   lt_compile=`echo "$ac_compile" | $SED \
 
9011
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9012
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9013
   -e 's:$: $lt_compiler_flag:'`
 
9014
   (eval echo "\"\$as_me:9014: $lt_compile\"" >&5)
 
9015
   (eval "$lt_compile" 2>out/conftest.err)
 
9016
   ac_status=$?
 
9017
   cat out/conftest.err >&5
 
9018
   echo "$as_me:9018: \$? = $ac_status" >&5
 
9019
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9020
   then
 
9021
     # The compiler can only warn and ignore the option if not recognized
 
9022
     # So say no if there are warnings
 
9023
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9024
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9025
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9026
       lt_cv_prog_compiler_c_o=yes
 
9027
     fi
 
9028
   fi
 
9029
   chmod u+w . 2>&5
 
9030
   $RM conftest*
 
9031
   # SGI C++ compiler will create directory out/ii_files/ for
 
9032
   # template instantiation
 
9033
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9034
   $RM out/* && rmdir out
 
9035
   cd ..
 
9036
   $RM -r conftest
 
9037
   $RM conftest*
 
9038
 
 
9039
fi
 
9040
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9041
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9042
 
 
9043
 
 
9044
 
 
9045
 
 
9046
 
 
9047
 
 
9048
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
9049
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
9050
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
9051
  $as_echo_n "(cached) " >&6
 
9052
else
 
9053
  lt_cv_prog_compiler_c_o=no
 
9054
   $RM -r conftest 2>/dev/null
 
9055
   mkdir conftest
 
9056
   cd conftest
 
9057
   mkdir out
 
9058
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
9059
 
 
9060
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
9061
   # Insert the option either (1) after the last *FLAGS variable, or
 
9062
   # (2) before a word containing "conftest.", or (3) at the end.
 
9063
   # Note that $ac_compile itself does not contain backslashes and begins
 
9064
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
9065
   lt_compile=`echo "$ac_compile" | $SED \
 
9066
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
9067
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
9068
   -e 's:$: $lt_compiler_flag:'`
 
9069
   (eval echo "\"\$as_me:9069: $lt_compile\"" >&5)
 
9070
   (eval "$lt_compile" 2>out/conftest.err)
 
9071
   ac_status=$?
 
9072
   cat out/conftest.err >&5
 
9073
   echo "$as_me:9073: \$? = $ac_status" >&5
 
9074
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
9075
   then
 
9076
     # The compiler can only warn and ignore the option if not recognized
 
9077
     # So say no if there are warnings
 
9078
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
9079
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
9080
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
9081
       lt_cv_prog_compiler_c_o=yes
 
9082
     fi
 
9083
   fi
 
9084
   chmod u+w . 2>&5
 
9085
   $RM conftest*
 
9086
   # SGI C++ compiler will create directory out/ii_files/ for
 
9087
   # template instantiation
 
9088
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
9089
   $RM out/* && rmdir out
 
9090
   cd ..
 
9091
   $RM -r conftest
 
9092
   $RM conftest*
 
9093
 
 
9094
fi
 
9095
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
9096
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
9097
 
 
9098
 
8961
9099
 
8962
9100
 
8963
9101
hard_links="nottested"
8964
9102
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8965
9103
  # do not overwrite the value of need_locks provided by the user
8966
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8967
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
9104
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
9105
$as_echo_n "checking if we can lock with hard links... " >&6; }
8968
9106
  hard_links=yes
8969
 
  $rm conftest*
 
9107
  $RM conftest*
8970
9108
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8971
9109
  touch conftest.a
8972
9110
  ln conftest.a conftest.b 2>&5 || hard_links=no
8973
9111
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8974
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
8975
 
echo "${ECHO_T}$hard_links" >&6; }
 
9112
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
9113
$as_echo "$hard_links" >&6; }
8976
9114
  if test "$hard_links" = no; then
8977
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8978
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
9115
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
9116
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8979
9117
    need_locks=warn
8980
9118
  fi
8981
9119
else
8982
9120
  need_locks=no
8983
9121
fi
8984
9122
 
8985
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8986
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
9123
 
 
9124
 
 
9125
 
 
9126
 
 
9127
 
 
9128
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
9129
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8987
9130
 
8988
9131
  runpath_var=
8989
9132
  allow_undefined_flag=
8990
 
  enable_shared_with_static_runtimes=no
 
9133
  always_export_symbols=no
8991
9134
  archive_cmds=
8992
9135
  archive_expsym_cmds=
8993
 
  old_archive_From_new_cmds=
8994
 
  old_archive_from_expsyms_cmds=
 
9136
  compiler_needs_object=no
 
9137
  enable_shared_with_static_runtimes=no
8995
9138
  export_dynamic_flag_spec=
8996
 
  whole_archive_flag_spec=
8997
 
  thread_safe_flag_spec=
 
9139
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9140
  hardcode_automatic=no
 
9141
  hardcode_direct=no
 
9142
  hardcode_direct_absolute=no
8998
9143
  hardcode_libdir_flag_spec=
8999
9144
  hardcode_libdir_flag_spec_ld=
9000
9145
  hardcode_libdir_separator=
9001
 
  hardcode_direct=no
9002
9146
  hardcode_minus_L=no
9003
9147
  hardcode_shlibpath_var=unsupported
 
9148
  inherit_rpath=no
9004
9149
  link_all_deplibs=unknown
9005
 
  hardcode_automatic=no
9006
9150
  module_cmds=
9007
9151
  module_expsym_cmds=
9008
 
  always_export_symbols=no
9009
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
9152
  old_archive_from_new_cmds=
 
9153
  old_archive_from_expsyms_cmds=
 
9154
  thread_safe_flag_spec=
 
9155
  whole_archive_flag_spec=
9010
9156
  # include_expsyms should be a list of space-separated symbols to be *always*
9011
9157
  # included in the symbol list
9012
9158
  include_expsyms=
9022
9168
  # preloaded symbol tables.
9023
9169
  # Exclude shared library initialization/finalization symbols.
9024
9170
  extract_expsyms_cmds=
9025
 
  # Just being paranoid about ensuring that cc_basename is set.
9026
 
  for cc_temp in $compiler""; do
9027
 
  case $cc_temp in
9028
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9029
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9030
 
    \-*) ;;
9031
 
    *) break;;
9032
 
  esac
9033
 
done
9034
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9035
9171
 
9036
9172
  case $host_os in
9037
 
  cygwin* | mingw* | pw32*)
 
9173
  cygwin* | mingw* | pw32* | cegcc*)
9038
9174
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9039
9175
    # When not using gcc, we currently assume that we are using
9040
9176
    # Microsoft Visual C++.
9060
9196
    # are reset later if shared libraries are not supported. Putting them
9061
9197
    # here allows them to be overridden if necessary.
9062
9198
    runpath_var=LD_RUN_PATH
9063
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
9199
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9064
9200
    export_dynamic_flag_spec='${wl}--export-dynamic'
9065
9201
    # ancient GNU ld didn't support --whole-archive et. al.
9066
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
9067
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9068
 
      else
9069
 
        whole_archive_flag_spec=
 
9202
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
9203
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
9204
    else
 
9205
      whole_archive_flag_spec=
9070
9206
    fi
9071
9207
    supports_anon_versioning=no
9072
 
    case `$LD -v 2>/dev/null` in
 
9208
    case `$LD -v 2>&1` in
9073
9209
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9074
9210
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9075
9211
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9083
9219
      # On AIX/PPC, the GNU linker is very broken
9084
9220
      if test "$host_cpu" != ia64; then
9085
9221
        ld_shlibs=no
9086
 
        cat <<EOF 1>&2
 
9222
        cat <<_LT_EOF 1>&2
9087
9223
 
9088
9224
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9089
9225
*** to be unable to reliably create shared libraries on AIX.
9091
9227
*** really care for shared libraries, you may want to modify your PATH
9092
9228
*** so that a non-GNU linker is found, and then restart.
9093
9229
 
9094
 
EOF
 
9230
_LT_EOF
9095
9231
      fi
9096
9232
      ;;
9097
9233
 
9098
9234
    amigaos*)
9099
 
      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)'
9100
 
      hardcode_libdir_flag_spec='-L$libdir'
9101
 
      hardcode_minus_L=yes
9102
 
 
9103
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9104
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
9105
 
      # to version 4, is to share data among multiple programs linked
9106
 
      # with the same dynamic library.  Since this doesn't match the
9107
 
      # behavior of shared libraries on other platforms, we can't use
9108
 
      # them.
9109
 
      ld_shlibs=no
 
9235
      case $host_cpu in
 
9236
      powerpc)
 
9237
            # see comment about AmigaOS4 .so support
 
9238
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9239
            archive_expsym_cmds=''
 
9240
        ;;
 
9241
      m68k)
 
9242
            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)'
 
9243
            hardcode_libdir_flag_spec='-L$libdir'
 
9244
            hardcode_minus_L=yes
 
9245
        ;;
 
9246
      esac
9110
9247
      ;;
9111
9248
 
9112
9249
    beos*)
9113
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9250
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9114
9251
        allow_undefined_flag=unsupported
9115
9252
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9116
9253
        # support --undefined.  This deserves some investigation.  FIXME
9120
9257
      fi
9121
9258
      ;;
9122
9259
 
9123
 
    cygwin* | mingw* | pw32*)
9124
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
9260
    cygwin* | mingw* | pw32* | cegcc*)
 
9261
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9125
9262
      # as there is no search path for DLLs.
9126
9263
      hardcode_libdir_flag_spec='-L$libdir'
9127
9264
      allow_undefined_flag=unsupported
9128
9265
      always_export_symbols=no
9129
9266
      enable_shared_with_static_runtimes=yes
9130
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9267
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9131
9268
 
9132
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
9269
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9133
9270
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9134
9271
        # If the export-symbols file already is a .def file (1st line
9135
9272
        # is EXPORTS), use it as is; otherwise, prepend...
9160
9297
      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'
9161
9298
      ;;
9162
9299
 
9163
 
    gnu* | linux* | k*bsd*-gnu)
9164
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9300
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
9301
      tmp_diet=no
 
9302
      if test "$host_os" = linux-dietlibc; then
 
9303
        case $cc_basename in
 
9304
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
9305
        esac
 
9306
      fi
 
9307
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
9308
         && test "$tmp_diet" = no
 
9309
      then
9165
9310
        tmp_addflag=
 
9311
        tmp_sharedflag='-shared'
9166
9312
        case $cc_basename,$host_cpu in
9167
 
        pgcc*)                          # Portland Group C compiler
9168
 
          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'
 
9313
        pgcc*)                          # Portland Group C compiler
 
9314
          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'
9169
9315
          tmp_addflag=' $pic_flag'
9170
9316
          ;;
9171
9317
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
9172
 
          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'
 
9318
          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'
9173
9319
          tmp_addflag=' $pic_flag -Mnomain' ;;
9174
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
9320
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9175
9321
          tmp_addflag=' -i_dynamic' ;;
9176
9322
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9177
9323
          tmp_addflag=' -i_dynamic -nofor_main' ;;
9178
9324
        ifc* | ifort*)                  # Intel Fortran compiler
9179
9325
          tmp_addflag=' -nofor_main' ;;
 
9326
        lf95*)                          # Lahey Fortran 8.1
 
9327
          whole_archive_flag_spec=
 
9328
          tmp_sharedflag='--shared' ;;
 
9329
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
9330
          tmp_sharedflag='-qmkshrobj'
 
9331
          tmp_addflag= ;;
9180
9332
        esac
9181
9333
        case `$CC -V 2>&1 | sed 5q` in
9182
9334
        *Sun\ C*)                       # Sun C 5.9
9183
 
          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'
 
9335
          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'
 
9336
          compiler_needs_object=yes
9184
9337
          tmp_sharedflag='-G' ;;
9185
9338
        *Sun\ F*)                       # Sun Fortran 8.3
9186
9339
          tmp_sharedflag='-G' ;;
9187
 
        *)
9188
 
          tmp_sharedflag='-shared' ;;
9189
9340
        esac
9190
9341
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9191
9342
 
9192
 
        if test $supports_anon_versioning = yes; then
9193
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
9194
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9195
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
9196
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9197
 
        fi
 
9343
        if test "x$supports_anon_versioning" = xyes; then
 
9344
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9345
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9346
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
9347
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
9348
        fi
 
9349
 
 
9350
        case $cc_basename in
 
9351
        xlf*)
 
9352
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
9353
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
9354
          hardcode_libdir_flag_spec=
 
9355
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9356
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
9357
          if test "x$supports_anon_versioning" = xyes; then
 
9358
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
9359
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
9360
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
9361
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
9362
          fi
 
9363
          ;;
 
9364
        esac
9198
9365
      else
9199
 
        ld_shlibs=no
 
9366
        ld_shlibs=no
9200
9367
      fi
9201
9368
      ;;
9202
9369
 
9203
9370
    netbsd*)
9204
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9371
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9205
9372
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9206
9373
        wlarc=
9207
9374
      else
9211
9378
      ;;
9212
9379
 
9213
9380
    solaris*)
9214
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
9381
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9215
9382
        ld_shlibs=no
9216
 
        cat <<EOF 1>&2
 
9383
        cat <<_LT_EOF 1>&2
9217
9384
 
9218
9385
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9219
9386
*** create shared libraries on Solaris systems.  Therefore, libtool
9222
9389
*** your PATH or compiler configuration so that the native linker is
9223
9390
*** used, and then restart.
9224
9391
 
9225
 
EOF
9226
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9392
_LT_EOF
 
9393
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227
9394
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9228
9395
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9229
9396
      else
9247
9414
_LT_EOF
9248
9415
        ;;
9249
9416
        *)
9250
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9251
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
9252
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
9253
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
9417
          # For security reasons, it is highly recommended that you always
 
9418
          # use absolute paths for naming shared libraries, and exclude the
 
9419
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
9420
          # requires that you compile everything twice, which is a pain.
 
9421
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
9422
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
9423
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9424
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9254
9425
          else
9255
9426
            ld_shlibs=no
9256
9427
          fi
9266
9437
      ;;
9267
9438
 
9268
9439
    *)
9269
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
9440
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9270
9441
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9271
9442
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9272
9443
      else
9308
9479
      else
9309
9480
        # If we're using GNU nm, then we don't want the "-C" option.
9310
9481
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9311
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9312
 
          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'
 
9482
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
9483
          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'
9313
9484
        else
9314
 
          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'
 
9485
          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'
9315
9486
        fi
9316
9487
        aix_use_runtimelinking=no
9317
9488
 
9320
9491
        # need to do runtime linking.
9321
9492
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9322
9493
          for ld_flag in $LDFLAGS; do
9323
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9324
 
            aix_use_runtimelinking=yes
9325
 
            break
9326
 
          fi
 
9494
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
9495
            aix_use_runtimelinking=yes
 
9496
            break
 
9497
          fi
9327
9498
          done
9328
9499
          ;;
9329
9500
        esac
9340
9511
 
9341
9512
      archive_cmds=''
9342
9513
      hardcode_direct=yes
 
9514
      hardcode_direct_absolute=yes
9343
9515
      hardcode_libdir_separator=':'
9344
9516
      link_all_deplibs=yes
 
9517
      file_list_spec='${wl}-f,'
9345
9518
 
9346
9519
      if test "$GCC" = yes; then
9347
9520
        case $host_os in aix4.[012]|aix4.[012].*)
9348
9521
        # We only want to do this on AIX 4.2 and lower, the check
9349
9522
        # below for broken collect2 doesn't work under 4.3+
9350
9523
          collect2name=`${CC} -print-prog-name=collect2`
9351
 
          if test -f "$collect2name" && \
9352
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
9524
          if test -f "$collect2name" &&
 
9525
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9353
9526
          then
9354
 
          # We have reworked collect2
9355
 
          :
 
9527
          # We have reworked collect2
 
9528
          :
9356
9529
          else
9357
 
          # We have old collect2
9358
 
          hardcode_direct=unsupported
9359
 
          # It fails to find uninstalled libraries when the uninstalled
9360
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
9361
 
          # to unsupported forces relinking
9362
 
          hardcode_minus_L=yes
9363
 
          hardcode_libdir_flag_spec='-L$libdir'
9364
 
          hardcode_libdir_separator=
 
9530
          # We have old collect2
 
9531
          hardcode_direct=unsupported
 
9532
          # It fails to find uninstalled libraries when the uninstalled
 
9533
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
9534
          # to unsupported forces relinking
 
9535
          hardcode_minus_L=yes
 
9536
          hardcode_libdir_flag_spec='-L$libdir'
 
9537
          hardcode_libdir_separator=
9365
9538
          fi
9366
9539
          ;;
9367
9540
        esac
9372
9545
      else
9373
9546
        # not using gcc
9374
9547
        if test "$host_cpu" = ia64; then
9375
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9376
 
        # chokes on -Wl,-G. The following line is correct:
 
9548
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
9549
        # chokes on -Wl,-G. The following line is correct:
9377
9550
          shared_flag='-G'
9378
9551
        else
9379
9552
          if test "$aix_use_runtimelinking" = yes; then
9384
9557
        fi
9385
9558
      fi
9386
9559
 
 
9560
      export_dynamic_flag_spec='${wl}-bexpall'
9387
9561
      # It seems that -bexpall does not export symbols beginning with
9388
9562
      # underscore (_), so it is better to generate a list of symbols to export.
9389
9563
      always_export_symbols=yes
9391
9565
        # Warning - without using the other runtime loading flags (-brtl),
9392
9566
        # -berok will link without error, but may produce a broken library.
9393
9567
        allow_undefined_flag='-berok'
9394
 
       # Determine the default libpath from the value encoded in an empty executable.
9395
 
       cat >conftest.$ac_ext <<_ACEOF
 
9568
        # Determine the default libpath from the value encoded in an
 
9569
        # empty executable.
 
9570
        cat >conftest.$ac_ext <<_ACEOF
9396
9571
/* confdefs.h.  */
9397
9572
_ACEOF
9398
9573
cat confdefs.h >>conftest.$ac_ext
9413
9588
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9414
9589
  *) ac_try_echo=$ac_try;;
9415
9590
esac
9416
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9591
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9592
$as_echo "$ac_try_echo") >&5
9417
9593
  (eval "$ac_link") 2>conftest.er1
9418
9594
  ac_status=$?
9419
9595
  grep -v '^ *+' conftest.er1 >conftest.err
9420
9596
  rm -f conftest.er1
9421
9597
  cat conftest.err >&5
9422
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9598
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423
9599
  (exit $ac_status); } && {
9424
9600
         test -z "$ac_c_werror_flag" ||
9425
9601
         test ! -s conftest.err
9426
 
       } && test -s conftest$ac_exeext &&
9427
 
       $as_test_x conftest$ac_exeext; then
 
9602
       } && test -s conftest$ac_exeext && {
 
9603
         test "$cross_compiling" = yes ||
 
9604
         $as_test_x conftest$ac_exeext
 
9605
       }; then
9428
9606
 
9429
9607
lt_aix_libpath_sed='
9430
9608
    /Import File Strings/,/^$/ {
9439
9617
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9440
9618
fi
9441
9619
else
9442
 
  echo "$as_me: failed program was:" >&5
 
9620
  $as_echo "$as_me: failed program was:" >&5
9443
9621
sed 's/^/| /' conftest.$ac_ext >&5
9444
9622
 
9445
9623
 
9446
9624
fi
9447
9625
 
 
9626
rm -rf conftest.dSYM
9448
9627
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9449
9628
      conftest$ac_exeext conftest.$ac_ext
9450
9629
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9451
9630
 
9452
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9453
 
        archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9454
 
       else
 
9631
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
9632
        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"
 
9633
      else
9455
9634
        if test "$host_cpu" = ia64; then
9456
9635
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9457
9636
          allow_undefined_flag="-z nodefs"
9458
9637
          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"
9459
9638
        else
9460
 
         # Determine the default libpath from the value encoded in an empty executable.
 
9639
         # Determine the default libpath from the value encoded in an
 
9640
         # empty executable.
9461
9641
         cat >conftest.$ac_ext <<_ACEOF
9462
9642
/* confdefs.h.  */
9463
9643
_ACEOF
9479
9659
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9480
9660
  *) ac_try_echo=$ac_try;;
9481
9661
esac
9482
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
9662
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9663
$as_echo "$ac_try_echo") >&5
9483
9664
  (eval "$ac_link") 2>conftest.er1
9484
9665
  ac_status=$?
9485
9666
  grep -v '^ *+' conftest.er1 >conftest.err
9486
9667
  rm -f conftest.er1
9487
9668
  cat conftest.err >&5
9488
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9669
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9489
9670
  (exit $ac_status); } && {
9490
9671
         test -z "$ac_c_werror_flag" ||
9491
9672
         test ! -s conftest.err
9492
 
       } && test -s conftest$ac_exeext &&
9493
 
       $as_test_x conftest$ac_exeext; then
 
9673
       } && test -s conftest$ac_exeext && {
 
9674
         test "$cross_compiling" = yes ||
 
9675
         $as_test_x conftest$ac_exeext
 
9676
       }; then
9494
9677
 
9495
9678
lt_aix_libpath_sed='
9496
9679
    /Import File Strings/,/^$/ {
9505
9688
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9506
9689
fi
9507
9690
else
9508
 
  echo "$as_me: failed program was:" >&5
 
9691
  $as_echo "$as_me: failed program was:" >&5
9509
9692
sed 's/^/| /' conftest.$ac_ext >&5
9510
9693
 
9511
9694
 
9512
9695
fi
9513
9696
 
 
9697
rm -rf conftest.dSYM
9514
9698
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9515
9699
      conftest$ac_exeext conftest.$ac_ext
9516
9700
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9530
9714
      ;;
9531
9715
 
9532
9716
    amigaos*)
9533
 
      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)'
9534
 
      hardcode_libdir_flag_spec='-L$libdir'
9535
 
      hardcode_minus_L=yes
9536
 
      # see comment about different semantics on the GNU ld section
9537
 
      ld_shlibs=no
 
9717
      case $host_cpu in
 
9718
      powerpc)
 
9719
            # see comment about AmigaOS4 .so support
 
9720
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9721
            archive_expsym_cmds=''
 
9722
        ;;
 
9723
      m68k)
 
9724
            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)'
 
9725
            hardcode_libdir_flag_spec='-L$libdir'
 
9726
            hardcode_minus_L=yes
 
9727
        ;;
 
9728
      esac
9538
9729
      ;;
9539
9730
 
9540
9731
    bsdi[45]*)
9541
9732
      export_dynamic_flag_spec=-rdynamic
9542
9733
      ;;
9543
9734
 
9544
 
    cygwin* | mingw* | pw32*)
 
9735
    cygwin* | mingw* | pw32* | cegcc*)
9545
9736
      # When not using gcc, we currently assume that we are using
9546
9737
      # Microsoft Visual C++.
9547
9738
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9553
9744
      # Tell ltmain to make .dll files, not .so files.
9554
9745
      shrext_cmds=".dll"
9555
9746
      # FIXME: Setting linknames here is a bad hack.
9556
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9747
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9557
9748
      # The linker will automatically build a .lib file if we build a DLL.
9558
 
      old_archive_From_new_cmds='true'
 
9749
      old_archive_from_new_cmds='true'
9559
9750
      # FIXME: Should let the user specify the lib program.
9560
9751
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9561
9752
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9563
9754
      ;;
9564
9755
 
9565
9756
    darwin* | rhapsody*)
9566
 
      case $host_os in
9567
 
        rhapsody* | darwin1.[012])
9568
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
9569
 
         ;;
9570
 
       *) # Darwin 1.3 on
9571
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9572
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9573
 
         else
9574
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
9575
 
             10.[012])
9576
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9577
 
               ;;
9578
 
             10.*)
9579
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
9580
 
               ;;
9581
 
           esac
9582
 
         fi
9583
 
         ;;
9584
 
      esac
9585
 
      archive_cmds_need_lc=no
9586
 
      hardcode_direct=no
9587
 
      hardcode_automatic=yes
9588
 
      hardcode_shlibpath_var=unsupported
9589
 
      whole_archive_flag_spec=''
9590
 
      link_all_deplibs=yes
9591
 
    if test "$GCC" = yes ; then
9592
 
        output_verbose_link_cmd='echo'
9593
 
        archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9594
 
        module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9595
 
        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}"
9596
 
        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}"
9597
 
    else
9598
 
      case $cc_basename in
9599
 
        xlc*)
9600
 
         output_verbose_link_cmd='echo'
9601
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
9602
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9603
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9604
 
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9605
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9606
 
          ;;
9607
 
       *)
9608
 
         ld_shlibs=no
9609
 
          ;;
9610
 
      esac
9611
 
    fi
 
9757
 
 
9758
 
 
9759
  archive_cmds_need_lc=no
 
9760
  hardcode_direct=no
 
9761
  hardcode_automatic=yes
 
9762
  hardcode_shlibpath_var=unsupported
 
9763
  whole_archive_flag_spec=''
 
9764
  link_all_deplibs=yes
 
9765
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9766
  case $cc_basename in
 
9767
     ifort*) _lt_dar_can_shared=yes ;;
 
9768
     *) _lt_dar_can_shared=$GCC ;;
 
9769
  esac
 
9770
  if test "$_lt_dar_can_shared" = "yes"; then
 
9771
    output_verbose_link_cmd=echo
 
9772
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9773
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9774
    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}"
 
9775
    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}"
 
9776
 
 
9777
  else
 
9778
  ld_shlibs=no
 
9779
  fi
 
9780
 
9612
9781
      ;;
9613
9782
 
9614
9783
    dgux*)
9650
9819
 
9651
9820
    hpux9*)
9652
9821
      if test "$GCC" = yes; then
9653
 
        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'
 
9822
        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'
9654
9823
      else
9655
 
        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'
 
9824
        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'
9656
9825
      fi
9657
9826
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9658
9827
      hardcode_libdir_separator=:
9672
9841
      fi
9673
9842
      if test "$with_gnu_ld" = no; then
9674
9843
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9844
        hardcode_libdir_flag_spec_ld='+b $libdir'
9675
9845
        hardcode_libdir_separator=:
9676
 
 
9677
9846
        hardcode_direct=yes
 
9847
        hardcode_direct_absolute=yes
9678
9848
        export_dynamic_flag_spec='${wl}-E'
9679
 
 
9680
9849
        # hardcode_minus_L: Not really in the search PATH,
9681
9850
        # but as the default location of the library.
9682
9851
        hardcode_minus_L=yes
9690
9859
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9691
9860
          ;;
9692
9861
        ia64*)
9693
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9862
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9694
9863
          ;;
9695
9864
        *)
9696
9865
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9715
9884
 
9716
9885
        case $host_cpu in
9717
9886
        hppa*64*|ia64*)
9718
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
9719
9887
          hardcode_direct=no
9720
9888
          hardcode_shlibpath_var=no
9721
9889
          ;;
9722
9890
        *)
9723
9891
          hardcode_direct=yes
 
9892
          hardcode_direct_absolute=yes
9724
9893
          export_dynamic_flag_spec='${wl}-E'
9725
9894
 
9726
9895
          # hardcode_minus_L: Not really in the search PATH,
9733
9902
 
9734
9903
    irix5* | irix6* | nonstopux*)
9735
9904
      if test "$GCC" = yes; then
9736
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
9905
        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'
 
9906
        # Try to use the -exported_symbol ld option, if it does not
 
9907
        # work, assume that -exports_file does not work either and
 
9908
        # implicitly export all symbols.
 
9909
        save_LDFLAGS="$LDFLAGS"
 
9910
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9911
        cat >conftest.$ac_ext <<_ACEOF
 
9912
int foo(void) {}
 
9913
_ACEOF
 
9914
rm -f conftest.$ac_objext conftest$ac_exeext
 
9915
if { (ac_try="$ac_link"
 
9916
case "(($ac_try" in
 
9917
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9918
  *) ac_try_echo=$ac_try;;
 
9919
esac
 
9920
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9921
$as_echo "$ac_try_echo") >&5
 
9922
  (eval "$ac_link") 2>conftest.er1
 
9923
  ac_status=$?
 
9924
  grep -v '^ *+' conftest.er1 >conftest.err
 
9925
  rm -f conftest.er1
 
9926
  cat conftest.err >&5
 
9927
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9928
  (exit $ac_status); } && {
 
9929
         test -z "$ac_c_werror_flag" ||
 
9930
         test ! -s conftest.err
 
9931
       } && test -s conftest$ac_exeext && {
 
9932
         test "$cross_compiling" = yes ||
 
9933
         $as_test_x conftest$ac_exeext
 
9934
       }; then
 
9935
  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'
 
9936
 
 
9937
else
 
9938
  $as_echo "$as_me: failed program was:" >&5
 
9939
sed 's/^/| /' conftest.$ac_ext >&5
 
9940
 
 
9941
 
 
9942
fi
 
9943
 
 
9944
rm -rf conftest.dSYM
 
9945
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9946
      conftest$ac_exeext conftest.$ac_ext
 
9947
        LDFLAGS="$save_LDFLAGS"
9737
9948
      else
9738
 
        archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9739
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9949
        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'
 
9950
        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'
9740
9951
      fi
 
9952
      archive_cmds_need_lc='no'
9741
9953
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9742
9954
      hardcode_libdir_separator=:
 
9955
      inherit_rpath=yes
9743
9956
      link_all_deplibs=yes
9744
9957
      ;;
9745
9958
 
9746
9959
    netbsd*)
9747
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9960
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9748
9961
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9749
9962
      else
9750
9963
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9762
9975
      hardcode_shlibpath_var=no
9763
9976
      ;;
9764
9977
 
 
9978
    *nto* | *qnx*)
 
9979
      ;;
 
9980
 
9765
9981
    openbsd*)
9766
9982
      if test -f /usr/libexec/ld.so; then
9767
9983
        hardcode_direct=yes
9768
9984
        hardcode_shlibpath_var=no
9769
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9985
        hardcode_direct_absolute=yes
 
9986
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9770
9987
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9771
9988
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9772
9989
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9782
9999
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9783
10000
             ;;
9784
10001
          esac
9785
 
        fi
 
10002
        fi
9786
10003
      else
9787
10004
        ld_shlibs=no
9788
10005
      fi
9792
10009
      hardcode_libdir_flag_spec='-L$libdir'
9793
10010
      hardcode_minus_L=yes
9794
10011
      allow_undefined_flag=unsupported
9795
 
      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'
9796
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
10012
      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'
 
10013
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9797
10014
      ;;
9798
10015
 
9799
10016
    osf3*)
9800
10017
      if test "$GCC" = yes; then
9801
10018
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9802
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10019
        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'
9803
10020
      else
9804
10021
        allow_undefined_flag=' -expect_unresolved \*'
9805
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
 
10022
        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'
9806
10023
      fi
 
10024
      archive_cmds_need_lc='no'
9807
10025
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9808
10026
      hardcode_libdir_separator=:
9809
10027
      ;;
9811
10029
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9812
10030
      if test "$GCC" = yes; then
9813
10031
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9814
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10032
        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'
9815
10033
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9816
10034
      else
9817
10035
        allow_undefined_flag=' -expect_unresolved \*'
9818
 
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
9819
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
9820
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
 
10036
        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'
 
10037
        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~
 
10038
        $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'
9821
10039
 
9822
10040
        # Both c and cxx compiler support -rpath directly
9823
10041
        hardcode_libdir_flag_spec='-rpath $libdir'
9824
10042
      fi
 
10043
      archive_cmds_need_lc='no'
9825
10044
      hardcode_libdir_separator=:
9826
10045
      ;;
9827
10046
 
9828
10047
    solaris*)
9829
 
      no_undefined_flag=' -z text'
 
10048
      no_undefined_flag=' -z defs'
9830
10049
      if test "$GCC" = yes; then
9831
10050
        wlarc='${wl}'
9832
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9833
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9834
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
10051
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10052
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10053
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9835
10054
      else
9836
 
        wlarc=''
9837
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9838
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
9839
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
10055
        case `$CC -V 2>&1` in
 
10056
        *"Compilers 5.0"*)
 
10057
          wlarc=''
 
10058
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
10059
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10060
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
10061
          ;;
 
10062
        *)
 
10063
          wlarc='${wl}'
 
10064
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
10065
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
10066
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10067
          ;;
 
10068
        esac
9840
10069
      fi
9841
10070
      hardcode_libdir_flag_spec='-R$libdir'
9842
10071
      hardcode_shlibpath_var=no
9846
10075
        # The compiler driver will combine and reorder linker options,
9847
10076
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9848
10077
        # but is careful enough not to reorder.
9849
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
10078
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9850
10079
        if test "$GCC" = yes; then
9851
10080
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9852
10081
        else
9935
10164
      allow_undefined_flag='${wl}-z,nodefs'
9936
10165
      archive_cmds_need_lc=no
9937
10166
      hardcode_shlibpath_var=no
9938
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
10167
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9939
10168
      hardcode_libdir_separator=':'
9940
10169
      link_all_deplibs=yes
9941
10170
      export_dynamic_flag_spec='${wl}-Bexport'
9942
10171
      runpath_var='LD_RUN_PATH'
9943
10172
 
9944
10173
      if test "$GCC" = yes; then
9945
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9946
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10174
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10175
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9947
10176
      else
9948
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9949
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10177
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10178
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9950
10179
      fi
9951
10180
      ;;
9952
10181
 
9960
10189
      ld_shlibs=no
9961
10190
      ;;
9962
10191
    esac
 
10192
 
 
10193
    if test x$host_vendor = xsni; then
 
10194
      case $host in
 
10195
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
10196
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
10197
        ;;
 
10198
      esac
 
10199
    fi
9963
10200
  fi
9964
10201
 
9965
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9966
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
10202
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
10203
$as_echo "$ld_shlibs" >&6; }
9967
10204
test "$ld_shlibs" = no && can_build_shared=no
9968
10205
 
 
10206
with_gnu_ld=$with_gnu_ld
 
10207
 
 
10208
 
 
10209
 
 
10210
 
 
10211
 
 
10212
 
 
10213
 
 
10214
 
 
10215
 
 
10216
 
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
 
9969
10222
#
9970
10223
# Do we need to explicitly link libc?
9971
10224
#
9983
10236
      # Test whether the compiler implicitly links with -lc since on some
9984
10237
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9985
10238
      # to ld, don't add -lc before -lgcc.
9986
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9987
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9988
 
      $rm conftest*
 
10239
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
10240
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
10241
      $RM conftest*
9989
10242
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9990
10243
 
9991
10244
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9992
10245
  (eval $ac_compile) 2>&5
9993
10246
  ac_status=$?
9994
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10247
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995
10248
  (exit $ac_status); } 2>conftest.err; then
9996
10249
        soname=conftest
9997
10250
        lib=conftest
10006
10259
        libname=conftest
10007
10260
        lt_save_allow_undefined_flag=$allow_undefined_flag
10008
10261
        allow_undefined_flag=
10009
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10010
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
10262
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
10263
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10011
10264
  ac_status=$?
10012
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10265
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013
10266
  (exit $ac_status); }
10014
10267
        then
10015
10268
          archive_cmds_need_lc=no
10020
10273
      else
10021
10274
        cat conftest.err 1>&5
10022
10275
      fi
10023
 
      $rm conftest*
10024
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10025
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
10276
      $RM conftest*
 
10277
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
10278
$as_echo "$archive_cmds_need_lc" >&6; }
10026
10279
      ;;
10027
10280
    esac
10028
10281
  fi
10029
10282
  ;;
10030
10283
esac
10031
10284
 
10032
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10033
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10034
 
library_names_spec=
10035
 
libname_spec='lib$name'
10036
 
soname_spec=
10037
 
shrext_cmds=".so"
10038
 
postinstall_cmds=
10039
 
postuninstall_cmds=
10040
 
finish_cmds=
10041
 
finish_eval=
10042
 
shlibpath_var=
10043
 
shlibpath_overrides_runpath=unknown
10044
 
version_type=none
10045
 
dynamic_linker="$host_os ld.so"
10046
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
10285
 
 
10286
 
 
10287
 
 
10288
 
 
10289
 
 
10290
 
 
10291
 
 
10292
 
 
10293
 
 
10294
 
 
10295
 
 
10296
 
 
10297
 
 
10298
 
 
10299
 
 
10300
 
 
10301
 
 
10302
 
 
10303
 
 
10304
 
 
10305
 
 
10306
 
 
10307
 
 
10308
 
 
10309
 
 
10310
 
 
10311
 
 
10312
 
 
10313
 
 
10314
 
 
10315
 
 
10316
 
 
10317
 
 
10318
 
 
10319
 
 
10320
 
 
10321
 
 
10322
 
 
10323
 
 
10324
 
 
10325
 
 
10326
 
 
10327
 
 
10328
 
 
10329
 
 
10330
 
 
10331
 
 
10332
 
 
10333
 
 
10334
 
 
10335
 
 
10336
 
 
10337
 
 
10338
 
 
10339
 
 
10340
 
 
10341
 
 
10342
 
 
10343
 
 
10344
 
 
10345
 
 
10346
 
 
10347
 
 
10348
 
 
10349
 
 
10350
 
 
10351
 
 
10352
 
 
10353
 
 
10354
 
 
10355
 
 
10356
 
 
10357
 
 
10358
 
 
10359
 
 
10360
 
 
10361
 
 
10362
 
 
10363
 
 
10364
 
 
10365
 
 
10366
 
 
10367
 
 
10368
 
 
10369
 
 
10370
 
 
10371
 
 
10372
 
 
10373
 
 
10374
 
 
10375
 
 
10376
 
 
10377
 
 
10378
 
 
10379
 
 
10380
 
 
10381
 
 
10382
 
 
10383
 
 
10384
 
 
10385
 
 
10386
 
 
10387
 
 
10388
 
 
10389
 
 
10390
 
 
10391
 
 
10392
 
 
10393
 
 
10394
 
 
10395
 
 
10396
 
 
10397
 
 
10398
 
 
10399
 
 
10400
 
 
10401
 
 
10402
 
 
10403
 
 
10404
 
 
10405
 
 
10406
 
 
10407
 
 
10408
 
 
10409
 
 
10410
 
 
10411
 
 
10412
 
 
10413
 
 
10414
 
 
10415
 
 
10416
 
 
10417
 
 
10418
 
 
10419
 
 
10420
 
 
10421
 
 
10422
 
 
10423
 
 
10424
 
 
10425
 
 
10426
 
 
10427
 
 
10428
 
 
10429
 
 
10430
 
 
10431
 
 
10432
 
 
10433
 
 
10434
 
 
10435
 
 
10436
 
 
10437
 
 
10438
 
 
10439
 
 
10440
 
 
10441
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
10442
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10047
10443
 
10048
10444
if test "$GCC" = yes; then
10049
10445
  case $host_os in
10051
10447
    *) lt_awk_arg="/^libraries:/" ;;
10052
10448
  esac
10053
10449
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10054
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
10450
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10055
10451
    # if the path contains ";" then we assume it to be the separator
10056
10452
    # otherwise default to the standard path separator (i.e. ":") - it is
10057
10453
    # assumed that no part of a normal pathname contains ";" but that should
10058
10454
    # okay in the real world where ";" in dirpaths is itself problematic.
10059
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
10455
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10060
10456
  else
10061
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10457
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10062
10458
  fi
10063
10459
  # Ok, now we have the path, separated by spaces, we can step through it
10064
10460
  # and add multilib dir if necessary.
10072
10468
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10073
10469
    fi
10074
10470
  done
10075
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
10471
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10076
10472
BEGIN {RS=" "; FS="/|\n";} {
10077
10473
  lt_foo="";
10078
10474
  lt_count=0;
10092
10488
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10093
10489
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10094
10490
}'`
10095
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
10491
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10096
10492
else
10097
10493
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10098
10494
fi
 
10495
library_names_spec=
 
10496
libname_spec='lib$name'
 
10497
soname_spec=
 
10498
shrext_cmds=".so"
 
10499
postinstall_cmds=
 
10500
postuninstall_cmds=
 
10501
finish_cmds=
 
10502
finish_eval=
 
10503
shlibpath_var=
 
10504
shlibpath_overrides_runpath=unknown
 
10505
version_type=none
 
10506
dynamic_linker="$host_os ld.so"
 
10507
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10099
10508
need_lib_prefix=unknown
10100
10509
hardcode_into_libs=no
10101
10510
 
10132
10541
      aix4 | aix4.[01] | aix4.[01].*)
10133
10542
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10134
10543
           echo ' yes '
10135
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
10544
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10136
10545
        :
10137
10546
      else
10138
10547
        can_build_shared=no
10158
10567
  ;;
10159
10568
 
10160
10569
amigaos*)
10161
 
  library_names_spec='$libname.ixlibrary $libname.a'
10162
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
10163
 
  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'
 
10570
  case $host_cpu in
 
10571
  powerpc)
 
10572
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
10573
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
10574
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10575
    ;;
 
10576
  m68k)
 
10577
    library_names_spec='$libname.ixlibrary $libname.a'
 
10578
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
10579
    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'
 
10580
    ;;
 
10581
  esac
10164
10582
  ;;
10165
10583
 
10166
10584
beos*)
10183
10601
  # libtool to hard-code these into programs
10184
10602
  ;;
10185
10603
 
10186
 
cygwin* | mingw* | pw32*)
 
10604
cygwin* | mingw* | pw32* | cegcc*)
10187
10605
  version_type=windows
10188
10606
  shrext_cmds=".dll"
10189
10607
  need_version=no
10190
10608
  need_lib_prefix=no
10191
10609
 
10192
10610
  case $GCC,$host_os in
10193
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
10611
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10194
10612
    library_names_spec='$libname.dll.a'
10195
10613
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10196
10614
    postinstall_cmds='base_file=`basename \${file}`~
10197
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
10615
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10198
10616
      dldir=$destdir/`dirname \$dlpath`~
10199
10617
      test -d \$dldir || mkdir -p \$dldir~
10200
10618
      $install_prog $dir/$dlname \$dldir/$dlname~
10201
 
      chmod a+x \$dldir/$dlname'
 
10619
      chmod a+x \$dldir/$dlname~
 
10620
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
10621
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
10622
      fi'
10202
10623
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10203
10624
      dlpath=$dir/\$dldll~
10204
 
       $rm \$dlpath'
 
10625
       $RM \$dlpath'
10205
10626
    shlibpath_overrides_runpath=yes
10206
10627
 
10207
10628
    case $host_os in
10210
10631
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10211
10632
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10212
10633
      ;;
10213
 
    mingw*)
 
10634
    mingw* | cegcc*)
10214
10635
      # MinGW DLLs use traditional 'lib' prefix
10215
10636
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10216
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10217
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
10637
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
10638
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10218
10639
        # It is most probably a Windows format PATH printed by
10219
10640
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
10220
10641
        # path with ; separators, and with drive letters. We can handle the
10221
10642
        # drive letters (cygwin fileutils understands them), so leave them,
10222
10643
        # especially as we might pass files found there to a mingw objdump,
10223
10644
        # which wouldn't understand a cygwinified path. Ahh.
10224
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10645
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10225
10646
      else
10226
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
10647
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
10227
10648
      fi
10228
10649
      ;;
10229
10650
    pw32*)
10247
10668
  version_type=darwin
10248
10669
  need_lib_prefix=no
10249
10670
  need_version=no
10250
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
10671
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10251
10672
  soname_spec='${libname}${release}${major}$shared_ext'
10252
10673
  shlibpath_overrides_runpath=yes
10253
10674
  shlibpath_var=DYLD_LIBRARY_PATH
10346
10767
    fi
10347
10768
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10348
10769
    ;;
10349
 
   hppa*64*)
10350
 
     shrext_cmds='.sl'
10351
 
     hardcode_into_libs=yes
10352
 
     dynamic_linker="$host_os dld.sl"
10353
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10354
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10355
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10356
 
     soname_spec='${libname}${release}${shared_ext}$major'
10357
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10358
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10359
 
     ;;
10360
 
   *)
 
10770
  hppa*64*)
 
10771
    shrext_cmds='.sl'
 
10772
    hardcode_into_libs=yes
 
10773
    dynamic_linker="$host_os dld.sl"
 
10774
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10775
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10776
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10777
    soname_spec='${libname}${release}${shared_ext}$major'
 
10778
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10779
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10780
    ;;
 
10781
  *)
10361
10782
    shrext_cmds='.sl'
10362
10783
    dynamic_linker="$host_os dld.sl"
10363
10784
    shlibpath_var=SHLIB_PATH
10434
10855
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10435
10856
  shlibpath_var=LD_LIBRARY_PATH
10436
10857
  shlibpath_overrides_runpath=no
 
10858
  # Some binutils ld are patched to set DT_RUNPATH
 
10859
  save_LDFLAGS=$LDFLAGS
 
10860
  save_libdir=$libdir
 
10861
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10862
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10863
  cat >conftest.$ac_ext <<_ACEOF
 
10864
/* confdefs.h.  */
 
10865
_ACEOF
 
10866
cat confdefs.h >>conftest.$ac_ext
 
10867
cat >>conftest.$ac_ext <<_ACEOF
 
10868
/* end confdefs.h.  */
 
10869
 
 
10870
int
 
10871
main ()
 
10872
{
 
10873
 
 
10874
  ;
 
10875
  return 0;
 
10876
}
 
10877
_ACEOF
 
10878
rm -f conftest.$ac_objext conftest$ac_exeext
 
10879
if { (ac_try="$ac_link"
 
10880
case "(($ac_try" in
 
10881
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10882
  *) ac_try_echo=$ac_try;;
 
10883
esac
 
10884
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10885
$as_echo "$ac_try_echo") >&5
 
10886
  (eval "$ac_link") 2>conftest.er1
 
10887
  ac_status=$?
 
10888
  grep -v '^ *+' conftest.er1 >conftest.err
 
10889
  rm -f conftest.er1
 
10890
  cat conftest.err >&5
 
10891
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10892
  (exit $ac_status); } && {
 
10893
         test -z "$ac_c_werror_flag" ||
 
10894
         test ! -s conftest.err
 
10895
       } && test -s conftest$ac_exeext && {
 
10896
         test "$cross_compiling" = yes ||
 
10897
         $as_test_x conftest$ac_exeext
 
10898
       }; then
 
10899
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10900
  shlibpath_overrides_runpath=yes
 
10901
fi
 
10902
 
 
10903
else
 
10904
  $as_echo "$as_me: failed program was:" >&5
 
10905
sed 's/^/| /' conftest.$ac_ext >&5
 
10906
 
 
10907
 
 
10908
fi
 
10909
 
 
10910
rm -rf conftest.dSYM
 
10911
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10912
      conftest$ac_exeext conftest.$ac_ext
 
10913
  LDFLAGS=$save_LDFLAGS
 
10914
  libdir=$save_libdir
 
10915
 
10437
10916
  # This implies no fast_install, which is unacceptable.
10438
10917
  # Some rework will be needed to allow for fast_install
10439
10918
  # before this can be enabled.
10441
10920
 
10442
10921
  # Append ld.so.conf contents to the search path
10443
10922
  if test -f /etc/ld.so.conf; then
10444
 
    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' ' '`
 
10923
    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' ' '`
10445
10924
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10446
10925
  fi
10447
10926
 
10458
10937
  version_type=sunos
10459
10938
  need_lib_prefix=no
10460
10939
  need_version=no
10461
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10940
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10462
10941
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10463
10942
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10464
10943
    dynamic_linker='NetBSD (a.out) ld.so'
10479
10958
  shlibpath_overrides_runpath=yes
10480
10959
  ;;
10481
10960
 
10482
 
nto-qnx*)
10483
 
  version_type=linux
 
10961
*nto* | *qnx*)
 
10962
  version_type=qnx
10484
10963
  need_lib_prefix=no
10485
10964
  need_version=no
10486
10965
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10487
10966
  soname_spec='${libname}${release}${shared_ext}$major'
10488
10967
  shlibpath_var=LD_LIBRARY_PATH
10489
 
  shlibpath_overrides_runpath=yes
 
10968
  shlibpath_overrides_runpath=no
 
10969
  hardcode_into_libs=yes
 
10970
  dynamic_linker='ldqnx.so'
10490
10971
  ;;
10491
10972
 
10492
10973
openbsd*)
10495
10976
  need_lib_prefix=no
10496
10977
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10497
10978
  case $host_os in
10498
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10499
 
    *)                         need_version=no  ;;
 
10979
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10980
    *)                          need_version=no  ;;
10500
10981
  esac
10501
10982
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10502
10983
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10503
10984
  shlibpath_var=LD_LIBRARY_PATH
10504
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10985
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10505
10986
    case $host_os in
10506
10987
      openbsd2.[89] | openbsd2.[89].*)
10507
10988
        shlibpath_overrides_runpath=no
10573
11054
    sni)
10574
11055
      shlibpath_overrides_runpath=no
10575
11056
      need_lib_prefix=no
10576
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
10577
11057
      runpath_var=LD_RUN_PATH
10578
11058
      ;;
10579
11059
    siemens)
10604
11084
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10605
11085
  soname_spec='${libname}${release}${shared_ext}$major'
10606
11086
  shlibpath_var=LD_LIBRARY_PATH
 
11087
  shlibpath_overrides_runpath=yes
10607
11088
  hardcode_into_libs=yes
10608
11089
  if test "$with_gnu_ld" = yes; then
10609
11090
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10610
 
    shlibpath_overrides_runpath=no
10611
11091
  else
10612
11092
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10613
 
    shlibpath_overrides_runpath=yes
10614
11093
    case $host_os in
10615
11094
      sco3.2v5*)
10616
11095
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10620
11099
  sys_lib_dlsearch_path_spec='/usr/lib'
10621
11100
  ;;
10622
11101
 
 
11102
tpf*)
 
11103
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
11104
  version_type=linux
 
11105
  need_lib_prefix=no
 
11106
  need_version=no
 
11107
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
11108
  shlibpath_var=LD_LIBRARY_PATH
 
11109
  shlibpath_overrides_runpath=no
 
11110
  hardcode_into_libs=yes
 
11111
  ;;
 
11112
 
10623
11113
uts4*)
10624
11114
  version_type=linux
10625
11115
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10631
11121
  dynamic_linker=no
10632
11122
  ;;
10633
11123
esac
10634
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10635
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
11124
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
11125
$as_echo "$dynamic_linker" >&6; }
10636
11126
test "$dynamic_linker" = no && can_build_shared=no
10637
11127
 
10638
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10639
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10640
 
else
10641
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
10642
 
fi
10643
 
 
10644
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10645
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10646
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
10647
 
else
10648
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
10649
 
fi
10650
 
 
10651
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10652
 
 
10653
11128
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10654
11129
if test "$GCC" = yes; then
10655
11130
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10656
11131
fi
10657
11132
 
10658
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10659
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
11133
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
11134
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
11135
fi
 
11136
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
11137
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
11138
fi
 
11139
 
 
11140
 
 
11141
 
 
11142
 
 
11143
 
 
11144
 
 
11145
 
 
11146
 
 
11147
 
 
11148
 
 
11149
 
 
11150
 
 
11151
 
 
11152
 
 
11153
 
 
11154
 
 
11155
 
 
11156
 
 
11157
 
 
11158
 
 
11159
 
 
11160
 
 
11161
 
 
11162
 
 
11163
 
 
11164
 
 
11165
 
 
11166
 
 
11167
 
 
11168
 
 
11169
 
 
11170
 
 
11171
 
 
11172
 
 
11173
 
 
11174
 
 
11175
 
 
11176
 
 
11177
 
 
11178
 
 
11179
 
 
11180
 
 
11181
 
 
11182
 
 
11183
 
 
11184
 
 
11185
 
 
11186
 
 
11187
 
 
11188
 
 
11189
 
 
11190
 
 
11191
 
 
11192
 
 
11193
 
 
11194
 
 
11195
 
 
11196
 
 
11197
 
 
11198
 
 
11199
 
 
11200
 
 
11201
 
 
11202
 
 
11203
 
 
11204
 
 
11205
 
 
11206
 
 
11207
 
 
11208
 
 
11209
 
 
11210
 
 
11211
 
 
11212
 
 
11213
 
 
11214
 
 
11215
 
 
11216
 
 
11217
 
 
11218
 
 
11219
 
 
11220
 
 
11221
 
 
11222
 
 
11223
 
 
11224
 
 
11225
 
 
11226
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
11227
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10660
11228
hardcode_action=
10661
 
if test -n "$hardcode_libdir_flag_spec" || \
10662
 
   test -n "$runpath_var" || \
 
11229
if test -n "$hardcode_libdir_flag_spec" ||
 
11230
   test -n "$runpath_var" ||
10663
11231
   test "X$hardcode_automatic" = "Xyes" ; then
10664
11232
 
10665
 
  # We can hardcode non-existant directories.
 
11233
  # We can hardcode non-existent directories.
10666
11234
  if test "$hardcode_direct" != no &&
10667
11235
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10668
11236
     # have to relink, otherwise we might link with an installed library
10669
11237
     # when we should be linking with a yet-to-be-installed one
10670
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
11238
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10671
11239
     test "$hardcode_minus_L" != no; then
10672
11240
    # Linking always hardcodes the temporary library directory.
10673
11241
    hardcode_action=relink
10680
11248
  # directories.
10681
11249
  hardcode_action=unsupported
10682
11250
fi
10683
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10684
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
11251
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
11252
$as_echo "$hardcode_action" >&6; }
10685
11253
 
10686
 
if test "$hardcode_action" = relink; then
 
11254
if test "$hardcode_action" = relink ||
 
11255
   test "$inherit_rpath" = yes; then
10687
11256
  # Fast installation is not supported
10688
11257
  enable_fast_install=no
10689
11258
elif test "$shlibpath_overrides_runpath" = yes ||
10692
11261
  enable_fast_install=needless
10693
11262
fi
10694
11263
 
10695
 
striplib=
10696
 
old_striplib=
10697
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10698
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
10699
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
10700
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10701
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10702
 
  { echo "$as_me:$LINENO: result: yes" >&5
10703
 
echo "${ECHO_T}yes" >&6; }
10704
 
else
10705
 
# FIXME - insert some real tests, host_os isn't really good enough
10706
 
  case $host_os in
10707
 
   darwin*)
10708
 
       if test -n "$STRIP" ; then
10709
 
         striplib="$STRIP -x"
10710
 
         old_striplib="$STRIP -S"
10711
 
         { echo "$as_me:$LINENO: result: yes" >&5
10712
 
echo "${ECHO_T}yes" >&6; }
10713
 
       else
10714
 
  { echo "$as_me:$LINENO: result: no" >&5
10715
 
echo "${ECHO_T}no" >&6; }
10716
 
fi
10717
 
       ;;
10718
 
   *)
10719
 
  { echo "$as_me:$LINENO: result: no" >&5
10720
 
echo "${ECHO_T}no" >&6; }
10721
 
    ;;
10722
 
  esac
10723
 
fi
10724
 
 
10725
 
if test "x$enable_dlopen" != xyes; then
 
11264
 
 
11265
 
 
11266
 
 
11267
 
 
11268
 
 
11269
  if test "x$enable_dlopen" != xyes; then
10726
11270
  enable_dlopen=unknown
10727
11271
  enable_dlopen_self=unknown
10728
11272
  enable_dlopen_self_static=unknown
10737
11281
    lt_cv_dlopen_self=yes
10738
11282
    ;;
10739
11283
 
10740
 
  mingw* | pw32*)
 
11284
  mingw* | pw32* | cegcc*)
10741
11285
    lt_cv_dlopen="LoadLibrary"
10742
11286
    lt_cv_dlopen_libs=
10743
 
   ;;
 
11287
    ;;
10744
11288
 
10745
11289
  cygwin*)
10746
11290
    lt_cv_dlopen="dlopen"
10747
11291
    lt_cv_dlopen_libs=
10748
 
   ;;
 
11292
    ;;
10749
11293
 
10750
11294
  darwin*)
10751
11295
  # if libdl is installed we need to link against it
10752
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10753
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11296
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11297
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10754
11298
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10755
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11299
  $as_echo_n "(cached) " >&6
10756
11300
else
10757
11301
  ac_check_lib_save_LIBS=$LIBS
10758
11302
LIBS="-ldl  $LIBS"
10784
11328
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10785
11329
  *) ac_try_echo=$ac_try;;
10786
11330
esac
10787
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11331
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11332
$as_echo "$ac_try_echo") >&5
10788
11333
  (eval "$ac_link") 2>conftest.er1
10789
11334
  ac_status=$?
10790
11335
  grep -v '^ *+' conftest.er1 >conftest.err
10791
11336
  rm -f conftest.er1
10792
11337
  cat conftest.err >&5
10793
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11338
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10794
11339
  (exit $ac_status); } && {
10795
11340
         test -z "$ac_c_werror_flag" ||
10796
11341
         test ! -s conftest.err
10797
 
       } && test -s conftest$ac_exeext &&
10798
 
       $as_test_x conftest$ac_exeext; then
 
11342
       } && test -s conftest$ac_exeext && {
 
11343
         test "$cross_compiling" = yes ||
 
11344
         $as_test_x conftest$ac_exeext
 
11345
       }; then
10799
11346
  ac_cv_lib_dl_dlopen=yes
10800
11347
else
10801
 
  echo "$as_me: failed program was:" >&5
 
11348
  $as_echo "$as_me: failed program was:" >&5
10802
11349
sed 's/^/| /' conftest.$ac_ext >&5
10803
11350
 
10804
11351
        ac_cv_lib_dl_dlopen=no
10805
11352
fi
10806
11353
 
 
11354
rm -rf conftest.dSYM
10807
11355
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10808
11356
      conftest$ac_exeext conftest.$ac_ext
10809
11357
LIBS=$ac_check_lib_save_LIBS
10810
11358
fi
10811
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10812
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10813
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11359
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11360
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11361
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10814
11362
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10815
11363
else
10816
11364
 
10820
11368
 
10821
11369
fi
10822
11370
 
10823
 
   ;;
 
11371
    ;;
10824
11372
 
10825
11373
  *)
10826
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
10827
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
11374
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
11375
$as_echo_n "checking for shl_load... " >&6; }
10828
11376
if test "${ac_cv_func_shl_load+set}" = set; then
10829
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11377
  $as_echo_n "(cached) " >&6
10830
11378
else
10831
11379
  cat >conftest.$ac_ext <<_ACEOF
10832
11380
/* confdefs.h.  */
10879
11427
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10880
11428
  *) ac_try_echo=$ac_try;;
10881
11429
esac
10882
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11430
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11431
$as_echo "$ac_try_echo") >&5
10883
11432
  (eval "$ac_link") 2>conftest.er1
10884
11433
  ac_status=$?
10885
11434
  grep -v '^ *+' conftest.er1 >conftest.err
10886
11435
  rm -f conftest.er1
10887
11436
  cat conftest.err >&5
10888
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11437
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889
11438
  (exit $ac_status); } && {
10890
11439
         test -z "$ac_c_werror_flag" ||
10891
11440
         test ! -s conftest.err
10892
 
       } && test -s conftest$ac_exeext &&
10893
 
       $as_test_x conftest$ac_exeext; then
 
11441
       } && test -s conftest$ac_exeext && {
 
11442
         test "$cross_compiling" = yes ||
 
11443
         $as_test_x conftest$ac_exeext
 
11444
       }; then
10894
11445
  ac_cv_func_shl_load=yes
10895
11446
else
10896
 
  echo "$as_me: failed program was:" >&5
 
11447
  $as_echo "$as_me: failed program was:" >&5
10897
11448
sed 's/^/| /' conftest.$ac_ext >&5
10898
11449
 
10899
11450
        ac_cv_func_shl_load=no
10900
11451
fi
10901
11452
 
 
11453
rm -rf conftest.dSYM
10902
11454
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10903
11455
      conftest$ac_exeext conftest.$ac_ext
10904
11456
fi
10905
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10906
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10907
 
if test $ac_cv_func_shl_load = yes; then
 
11457
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
11458
$as_echo "$ac_cv_func_shl_load" >&6; }
 
11459
if test "x$ac_cv_func_shl_load" = x""yes; then
10908
11460
  lt_cv_dlopen="shl_load"
10909
11461
else
10910
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10911
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
11462
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
11463
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10912
11464
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10913
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11465
  $as_echo_n "(cached) " >&6
10914
11466
else
10915
11467
  ac_check_lib_save_LIBS=$LIBS
10916
11468
LIBS="-ldld  $LIBS"
10942
11494
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10943
11495
  *) ac_try_echo=$ac_try;;
10944
11496
esac
10945
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11497
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11498
$as_echo "$ac_try_echo") >&5
10946
11499
  (eval "$ac_link") 2>conftest.er1
10947
11500
  ac_status=$?
10948
11501
  grep -v '^ *+' conftest.er1 >conftest.err
10949
11502
  rm -f conftest.er1
10950
11503
  cat conftest.err >&5
10951
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11504
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952
11505
  (exit $ac_status); } && {
10953
11506
         test -z "$ac_c_werror_flag" ||
10954
11507
         test ! -s conftest.err
10955
 
       } && test -s conftest$ac_exeext &&
10956
 
       $as_test_x conftest$ac_exeext; then
 
11508
       } && test -s conftest$ac_exeext && {
 
11509
         test "$cross_compiling" = yes ||
 
11510
         $as_test_x conftest$ac_exeext
 
11511
       }; then
10957
11512
  ac_cv_lib_dld_shl_load=yes
10958
11513
else
10959
 
  echo "$as_me: failed program was:" >&5
 
11514
  $as_echo "$as_me: failed program was:" >&5
10960
11515
sed 's/^/| /' conftest.$ac_ext >&5
10961
11516
 
10962
11517
        ac_cv_lib_dld_shl_load=no
10963
11518
fi
10964
11519
 
 
11520
rm -rf conftest.dSYM
10965
11521
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10966
11522
      conftest$ac_exeext conftest.$ac_ext
10967
11523
LIBS=$ac_check_lib_save_LIBS
10968
11524
fi
10969
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10970
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10971
 
if test $ac_cv_lib_dld_shl_load = yes; then
 
11525
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
11526
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
11527
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10972
11528
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10973
11529
else
10974
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
10975
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
11530
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
11531
$as_echo_n "checking for dlopen... " >&6; }
10976
11532
if test "${ac_cv_func_dlopen+set}" = set; then
10977
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11533
  $as_echo_n "(cached) " >&6
10978
11534
else
10979
11535
  cat >conftest.$ac_ext <<_ACEOF
10980
11536
/* confdefs.h.  */
11027
11583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11028
11584
  *) ac_try_echo=$ac_try;;
11029
11585
esac
11030
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11586
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11587
$as_echo "$ac_try_echo") >&5
11031
11588
  (eval "$ac_link") 2>conftest.er1
11032
11589
  ac_status=$?
11033
11590
  grep -v '^ *+' conftest.er1 >conftest.err
11034
11591
  rm -f conftest.er1
11035
11592
  cat conftest.err >&5
11036
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11593
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037
11594
  (exit $ac_status); } && {
11038
11595
         test -z "$ac_c_werror_flag" ||
11039
11596
         test ! -s conftest.err
11040
 
       } && test -s conftest$ac_exeext &&
11041
 
       $as_test_x conftest$ac_exeext; then
 
11597
       } && test -s conftest$ac_exeext && {
 
11598
         test "$cross_compiling" = yes ||
 
11599
         $as_test_x conftest$ac_exeext
 
11600
       }; then
11042
11601
  ac_cv_func_dlopen=yes
11043
11602
else
11044
 
  echo "$as_me: failed program was:" >&5
 
11603
  $as_echo "$as_me: failed program was:" >&5
11045
11604
sed 's/^/| /' conftest.$ac_ext >&5
11046
11605
 
11047
11606
        ac_cv_func_dlopen=no
11048
11607
fi
11049
11608
 
 
11609
rm -rf conftest.dSYM
11050
11610
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11051
11611
      conftest$ac_exeext conftest.$ac_ext
11052
11612
fi
11053
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11054
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11055
 
if test $ac_cv_func_dlopen = yes; then
 
11613
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
11614
$as_echo "$ac_cv_func_dlopen" >&6; }
 
11615
if test "x$ac_cv_func_dlopen" = x""yes; then
11056
11616
  lt_cv_dlopen="dlopen"
11057
11617
else
11058
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11059
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
11618
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
11619
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11060
11620
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11061
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11621
  $as_echo_n "(cached) " >&6
11062
11622
else
11063
11623
  ac_check_lib_save_LIBS=$LIBS
11064
11624
LIBS="-ldl  $LIBS"
11090
11650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11091
11651
  *) ac_try_echo=$ac_try;;
11092
11652
esac
11093
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11653
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11654
$as_echo "$ac_try_echo") >&5
11094
11655
  (eval "$ac_link") 2>conftest.er1
11095
11656
  ac_status=$?
11096
11657
  grep -v '^ *+' conftest.er1 >conftest.err
11097
11658
  rm -f conftest.er1
11098
11659
  cat conftest.err >&5
11099
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11660
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100
11661
  (exit $ac_status); } && {
11101
11662
         test -z "$ac_c_werror_flag" ||
11102
11663
         test ! -s conftest.err
11103
 
       } && test -s conftest$ac_exeext &&
11104
 
       $as_test_x conftest$ac_exeext; then
 
11664
       } && test -s conftest$ac_exeext && {
 
11665
         test "$cross_compiling" = yes ||
 
11666
         $as_test_x conftest$ac_exeext
 
11667
       }; then
11105
11668
  ac_cv_lib_dl_dlopen=yes
11106
11669
else
11107
 
  echo "$as_me: failed program was:" >&5
 
11670
  $as_echo "$as_me: failed program was:" >&5
11108
11671
sed 's/^/| /' conftest.$ac_ext >&5
11109
11672
 
11110
11673
        ac_cv_lib_dl_dlopen=no
11111
11674
fi
11112
11675
 
 
11676
rm -rf conftest.dSYM
11113
11677
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11114
11678
      conftest$ac_exeext conftest.$ac_ext
11115
11679
LIBS=$ac_check_lib_save_LIBS
11116
11680
fi
11117
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11118
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11119
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
11681
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
11682
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
11683
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11120
11684
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11121
11685
else
11122
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11123
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
11686
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
11687
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11124
11688
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11125
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11689
  $as_echo_n "(cached) " >&6
11126
11690
else
11127
11691
  ac_check_lib_save_LIBS=$LIBS
11128
11692
LIBS="-lsvld  $LIBS"
11154
11718
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11155
11719
  *) ac_try_echo=$ac_try;;
11156
11720
esac
11157
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11721
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11722
$as_echo "$ac_try_echo") >&5
11158
11723
  (eval "$ac_link") 2>conftest.er1
11159
11724
  ac_status=$?
11160
11725
  grep -v '^ *+' conftest.er1 >conftest.err
11161
11726
  rm -f conftest.er1
11162
11727
  cat conftest.err >&5
11163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11728
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164
11729
  (exit $ac_status); } && {
11165
11730
         test -z "$ac_c_werror_flag" ||
11166
11731
         test ! -s conftest.err
11167
 
       } && test -s conftest$ac_exeext &&
11168
 
       $as_test_x conftest$ac_exeext; then
 
11732
       } && test -s conftest$ac_exeext && {
 
11733
         test "$cross_compiling" = yes ||
 
11734
         $as_test_x conftest$ac_exeext
 
11735
       }; then
11169
11736
  ac_cv_lib_svld_dlopen=yes
11170
11737
else
11171
 
  echo "$as_me: failed program was:" >&5
 
11738
  $as_echo "$as_me: failed program was:" >&5
11172
11739
sed 's/^/| /' conftest.$ac_ext >&5
11173
11740
 
11174
11741
        ac_cv_lib_svld_dlopen=no
11175
11742
fi
11176
11743
 
 
11744
rm -rf conftest.dSYM
11177
11745
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11178
11746
      conftest$ac_exeext conftest.$ac_ext
11179
11747
LIBS=$ac_check_lib_save_LIBS
11180
11748
fi
11181
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11182
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11183
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11749
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11750
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11751
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11184
11752
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11185
11753
else
11186
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11187
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
11754
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11755
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11188
11756
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11189
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11757
  $as_echo_n "(cached) " >&6
11190
11758
else
11191
11759
  ac_check_lib_save_LIBS=$LIBS
11192
11760
LIBS="-ldld  $LIBS"
11218
11786
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11219
11787
  *) ac_try_echo=$ac_try;;
11220
11788
esac
11221
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11789
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11790
$as_echo "$ac_try_echo") >&5
11222
11791
  (eval "$ac_link") 2>conftest.er1
11223
11792
  ac_status=$?
11224
11793
  grep -v '^ *+' conftest.er1 >conftest.err
11225
11794
  rm -f conftest.er1
11226
11795
  cat conftest.err >&5
11227
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11796
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228
11797
  (exit $ac_status); } && {
11229
11798
         test -z "$ac_c_werror_flag" ||
11230
11799
         test ! -s conftest.err
11231
 
       } && test -s conftest$ac_exeext &&
11232
 
       $as_test_x conftest$ac_exeext; then
 
11800
       } && test -s conftest$ac_exeext && {
 
11801
         test "$cross_compiling" = yes ||
 
11802
         $as_test_x conftest$ac_exeext
 
11803
       }; then
11233
11804
  ac_cv_lib_dld_dld_link=yes
11234
11805
else
11235
 
  echo "$as_me: failed program was:" >&5
 
11806
  $as_echo "$as_me: failed program was:" >&5
11236
11807
sed 's/^/| /' conftest.$ac_ext >&5
11237
11808
 
11238
11809
        ac_cv_lib_dld_dld_link=no
11239
11810
fi
11240
11811
 
 
11812
rm -rf conftest.dSYM
11241
11813
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11242
11814
      conftest$ac_exeext conftest.$ac_ext
11243
11815
LIBS=$ac_check_lib_save_LIBS
11244
11816
fi
11245
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11246
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11247
 
if test $ac_cv_lib_dld_dld_link = yes; then
 
11817
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11818
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11819
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11248
11820
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11249
11821
fi
11250
11822
 
11283
11855
    save_LIBS="$LIBS"
11284
11856
    LIBS="$lt_cv_dlopen_libs $LIBS"
11285
11857
 
11286
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11287
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
11858
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11859
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11288
11860
if test "${lt_cv_dlopen_self+set}" = set; then
11289
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11861
  $as_echo_n "(cached) " >&6
11290
11862
else
11291
11863
          if test "$cross_compiling" = yes; then :
11292
11864
  lt_cv_dlopen_self=cross
11293
11865
else
11294
11866
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11295
11867
  lt_status=$lt_dlunknown
11296
 
  cat > conftest.$ac_ext <<EOF
11297
 
#line 11297 "configure"
 
11868
  cat > conftest.$ac_ext <<_LT_EOF
 
11869
#line 11869 "configure"
11298
11870
#include "confdefs.h"
11299
11871
 
11300
11872
#if HAVE_DLFCN_H
11335
11907
#  endif
11336
11908
#endif
11337
11909
 
11338
 
#ifdef __cplusplus
11339
 
extern "C" void exit (int);
11340
 
#endif
11341
 
 
11342
11910
void fnord() { int i=42;}
11343
11911
int main ()
11344
11912
{
11354
11922
  else
11355
11923
    puts (dlerror ());
11356
11924
 
11357
 
    exit (status);
 
11925
  return status;
11358
11926
}
11359
 
EOF
 
11927
_LT_EOF
11360
11928
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11361
11929
  (eval $ac_link) 2>&5
11362
11930
  ac_status=$?
11363
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11931
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364
11932
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11365
11933
    (./conftest; exit; ) >&5 2>/dev/null
11366
11934
    lt_status=$?
11378
11946
 
11379
11947
 
11380
11948
fi
11381
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11382
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
11949
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11950
$as_echo "$lt_cv_dlopen_self" >&6; }
11383
11951
 
11384
11952
    if test "x$lt_cv_dlopen_self" = xyes; then
11385
11953
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11386
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11387
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
11954
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11955
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11388
11956
if test "${lt_cv_dlopen_self_static+set}" = set; then
11389
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11957
  $as_echo_n "(cached) " >&6
11390
11958
else
11391
11959
          if test "$cross_compiling" = yes; then :
11392
11960
  lt_cv_dlopen_self_static=cross
11393
11961
else
11394
11962
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11395
11963
  lt_status=$lt_dlunknown
11396
 
  cat > conftest.$ac_ext <<EOF
11397
 
#line 11397 "configure"
 
11964
  cat > conftest.$ac_ext <<_LT_EOF
 
11965
#line 11965 "configure"
11398
11966
#include "confdefs.h"
11399
11967
 
11400
11968
#if HAVE_DLFCN_H
11435
12003
#  endif
11436
12004
#endif
11437
12005
 
11438
 
#ifdef __cplusplus
11439
 
extern "C" void exit (int);
11440
 
#endif
11441
 
 
11442
12006
void fnord() { int i=42;}
11443
12007
int main ()
11444
12008
{
11454
12018
  else
11455
12019
    puts (dlerror ());
11456
12020
 
11457
 
    exit (status);
 
12021
  return status;
11458
12022
}
11459
 
EOF
 
12023
_LT_EOF
11460
12024
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11461
12025
  (eval $ac_link) 2>&5
11462
12026
  ac_status=$?
11463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12027
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464
12028
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11465
12029
    (./conftest; exit; ) >&5 2>/dev/null
11466
12030
    lt_status=$?
11478
12042
 
11479
12043
 
11480
12044
fi
11481
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11482
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
12045
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
12046
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11483
12047
    fi
11484
12048
 
11485
12049
    CPPFLAGS="$save_CPPFLAGS"
11500
12064
fi
11501
12065
 
11502
12066
 
11503
 
# Report which library types will actually be built
11504
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11505
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11506
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
11507
 
echo "${ECHO_T}$can_build_shared" >&6; }
11508
 
 
11509
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11510
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11511
 
test "$can_build_shared" = "no" && enable_shared=no
11512
 
 
11513
 
# On AIX, shared libraries and static libraries use the same namespace, and
11514
 
# are all built from PIC.
11515
 
case $host_os in
11516
 
aix3*)
11517
 
  test "$enable_shared" = yes && enable_static=no
11518
 
  if test -n "$RANLIB"; then
11519
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
11520
 
    postinstall_cmds='$RANLIB $lib'
11521
 
  fi
11522
 
  ;;
11523
 
 
11524
 
aix[4-9]*)
11525
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11526
 
    test "$enable_shared" = yes && enable_static=no
11527
 
  fi
11528
 
    ;;
11529
 
esac
11530
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
11531
 
echo "${ECHO_T}$enable_shared" >&6; }
11532
 
 
11533
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11534
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11535
 
# Make sure either enable_shared or enable_static is yes.
11536
 
test "$enable_shared" = yes || enable_static=yes
11537
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
11538
 
echo "${ECHO_T}$enable_static" >&6; }
11539
 
 
11540
 
# The else clause should only fire when bootstrapping the
11541
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
11542
 
# with your package, and you will get complaints that there are
11543
 
# no rules to generate ltmain.sh.
11544
 
if test -f "$ltmain"; then
11545
 
  # See if we are running on zsh, and set the options which allow our commands through
11546
 
  # without removal of \ escapes.
11547
 
  if test -n "${ZSH_VERSION+set}" ; then
11548
 
    setopt NO_GLOB_SUBST
11549
 
  fi
11550
 
  # Now quote all the things that may contain metacharacters while being
11551
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
11552
 
  # variables and quote the copies for generation of the libtool script.
11553
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
11554
 
    SED SHELL STRIP \
11555
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
11556
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
11557
 
    deplibs_check_method reload_flag reload_cmds need_locks \
11558
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
11559
 
    lt_cv_sys_global_symbol_to_c_name_address \
11560
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
11561
 
    old_postinstall_cmds old_postuninstall_cmds \
11562
 
    compiler \
11563
 
    CC \
11564
 
    LD \
11565
 
    lt_prog_compiler_wl \
11566
 
    lt_prog_compiler_pic \
11567
 
    lt_prog_compiler_static \
11568
 
    lt_prog_compiler_no_builtin_flag \
11569
 
    export_dynamic_flag_spec \
11570
 
    thread_safe_flag_spec \
11571
 
    whole_archive_flag_spec \
11572
 
    enable_shared_with_static_runtimes \
11573
 
    old_archive_cmds \
11574
 
    old_archive_from_new_cmds \
11575
 
    predep_objects \
11576
 
    postdep_objects \
11577
 
    predeps \
11578
 
    postdeps \
11579
 
    compiler_lib_search_path \
11580
 
    compiler_lib_search_dirs \
11581
 
    archive_cmds \
11582
 
    archive_expsym_cmds \
11583
 
    postinstall_cmds \
11584
 
    postuninstall_cmds \
11585
 
    old_archive_from_expsyms_cmds \
11586
 
    allow_undefined_flag \
11587
 
    no_undefined_flag \
11588
 
    export_symbols_cmds \
11589
 
    hardcode_libdir_flag_spec \
11590
 
    hardcode_libdir_flag_spec_ld \
11591
 
    hardcode_libdir_separator \
11592
 
    hardcode_automatic \
11593
 
    module_cmds \
11594
 
    module_expsym_cmds \
11595
 
    lt_cv_prog_compiler_c_o \
11596
 
    fix_srcfile_path \
11597
 
    exclude_expsyms \
11598
 
    include_expsyms; do
11599
 
 
11600
 
    case $var in
11601
 
    old_archive_cmds | \
11602
 
    old_archive_from_new_cmds | \
11603
 
    archive_cmds | \
11604
 
    archive_expsym_cmds | \
11605
 
    module_cmds | \
11606
 
    module_expsym_cmds | \
11607
 
    old_archive_from_expsyms_cmds | \
11608
 
    export_symbols_cmds | \
11609
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
11610
 
    postinstall_cmds | postuninstall_cmds | \
11611
 
    old_postinstall_cmds | old_postuninstall_cmds | \
11612
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
11613
 
      # Double-quote double-evaled strings.
11614
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
11615
 
      ;;
11616
 
    *)
11617
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
11618
 
      ;;
11619
 
    esac
11620
 
  done
11621
 
 
11622
 
  case $lt_echo in
11623
 
  *'\$0 --fallback-echo"')
11624
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
11625
 
    ;;
11626
 
  esac
11627
 
 
11628
 
cfgfile="${ofile}T"
11629
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
11630
 
  $rm -f "$cfgfile"
11631
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
11632
 
echo "$as_me: creating $ofile" >&6;}
11633
 
 
11634
 
  cat <<__EOF__ >> "$cfgfile"
11635
 
#! $SHELL
11636
 
 
11637
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
11638
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
11639
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
11640
 
#
11641
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
11642
 
# Free Software Foundation, Inc.
11643
 
#
11644
 
# This file is part of GNU Libtool:
11645
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
11646
 
#
11647
 
# This program is free software; you can redistribute it and/or modify
11648
 
# it under the terms of the GNU General Public License as published by
11649
 
# the Free Software Foundation; either version 2 of the License, or
11650
 
# (at your option) any later version.
11651
 
#
11652
 
# This program is distributed in the hope that it will be useful, but
11653
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
11654
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11655
 
# General Public License for more details.
11656
 
#
11657
 
# You should have received a copy of the GNU General Public License
11658
 
# along with this program; if not, write to the Free Software
11659
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
11660
 
#
11661
 
# As a special exception to the GNU General Public License, if you
11662
 
# distribute this file as part of a program that contains a
11663
 
# configuration script generated by Autoconf, you may include it under
11664
 
# the same distribution terms that you use for the rest of that program.
11665
 
 
11666
 
# A sed program that does not truncate output.
11667
 
SED=$lt_SED
11668
 
 
11669
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
11670
 
Xsed="$SED -e 1s/^X//"
11671
 
 
11672
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
11673
 
# if CDPATH is set.
11674
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11675
 
 
11676
 
# The names of the tagged configurations supported by this script.
11677
 
available_tags=
11678
 
 
11679
 
# ### BEGIN LIBTOOL CONFIG
11680
 
 
11681
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11682
 
 
11683
 
# Shell to use when invoking shell scripts.
11684
 
SHELL=$lt_SHELL
11685
 
 
11686
 
# Whether or not to build shared libraries.
11687
 
build_libtool_libs=$enable_shared
11688
 
 
11689
 
# Whether or not to build static libraries.
11690
 
build_old_libs=$enable_static
11691
 
 
11692
 
# Whether or not to add -lc for building shared libraries.
11693
 
build_libtool_need_lc=$archive_cmds_need_lc
11694
 
 
11695
 
# Whether or not to disallow shared libs when runtime libs are static
11696
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
11697
 
 
11698
 
# Whether or not to optimize for fast installation.
11699
 
fast_install=$enable_fast_install
11700
 
 
11701
 
# The host system.
11702
 
host_alias=$host_alias
11703
 
host=$host
11704
 
host_os=$host_os
11705
 
 
11706
 
# The build system.
11707
 
build_alias=$build_alias
11708
 
build=$build
11709
 
build_os=$build_os
11710
 
 
11711
 
# An echo program that does not interpret backslashes.
11712
 
echo=$lt_echo
11713
 
 
11714
 
# The archiver.
11715
 
AR=$lt_AR
11716
 
AR_FLAGS=$lt_AR_FLAGS
11717
 
 
11718
 
# A C compiler.
11719
 
LTCC=$lt_LTCC
11720
 
 
11721
 
# LTCC compiler flags.
11722
 
LTCFLAGS=$lt_LTCFLAGS
11723
 
 
11724
 
# A language-specific compiler.
11725
 
CC=$lt_compiler
11726
 
 
11727
 
# Is the compiler the GNU C compiler?
11728
 
with_gcc=$GCC
11729
 
 
11730
 
# An ERE matcher.
11731
 
EGREP=$lt_EGREP
11732
 
 
11733
 
# The linker used to build libraries.
11734
 
LD=$lt_LD
11735
 
 
11736
 
# Whether we need hard or soft links.
11737
 
LN_S=$lt_LN_S
11738
 
 
11739
 
# A BSD-compatible nm program.
11740
 
NM=$lt_NM
11741
 
 
11742
 
# A symbol stripping program
11743
 
STRIP=$lt_STRIP
11744
 
 
11745
 
# Used to examine libraries when file_magic_cmd begins "file"
11746
 
MAGIC_CMD=$MAGIC_CMD
11747
 
 
11748
 
# Used on cygwin: DLL creation program.
11749
 
DLLTOOL="$DLLTOOL"
11750
 
 
11751
 
# Used on cygwin: object dumper.
11752
 
OBJDUMP="$OBJDUMP"
11753
 
 
11754
 
# Used on cygwin: assembler.
11755
 
AS="$AS"
11756
 
 
11757
 
# The name of the directory that contains temporary libtool files.
11758
 
objdir=$objdir
11759
 
 
11760
 
# How to create reloadable object files.
11761
 
reload_flag=$lt_reload_flag
11762
 
reload_cmds=$lt_reload_cmds
11763
 
 
11764
 
# How to pass a linker flag through the compiler.
11765
 
wl=$lt_lt_prog_compiler_wl
11766
 
 
11767
 
# Object file suffix (normally "o").
11768
 
objext="$ac_objext"
11769
 
 
11770
 
# Old archive suffix (normally "a").
11771
 
libext="$libext"
11772
 
 
11773
 
# Shared library suffix (normally ".so").
11774
 
shrext_cmds='$shrext_cmds'
11775
 
 
11776
 
# Executable file suffix (normally "").
11777
 
exeext="$exeext"
11778
 
 
11779
 
# Additional compiler flags for building library objects.
11780
 
pic_flag=$lt_lt_prog_compiler_pic
11781
 
pic_mode=$pic_mode
11782
 
 
11783
 
# What is the maximum length of a command?
11784
 
max_cmd_len=$lt_cv_sys_max_cmd_len
11785
 
 
11786
 
# Does compiler simultaneously support -c and -o options?
11787
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
11788
 
 
11789
 
# Must we lock files when doing compilation?
11790
 
need_locks=$lt_need_locks
11791
 
 
11792
 
# Do we need the lib prefix for modules?
11793
 
need_lib_prefix=$need_lib_prefix
11794
 
 
11795
 
# Do we need a version for libraries?
11796
 
need_version=$need_version
11797
 
 
11798
 
# Whether dlopen is supported.
11799
 
dlopen_support=$enable_dlopen
11800
 
 
11801
 
# Whether dlopen of programs is supported.
11802
 
dlopen_self=$enable_dlopen_self
11803
 
 
11804
 
# Whether dlopen of statically linked programs is supported.
11805
 
dlopen_self_static=$enable_dlopen_self_static
11806
 
 
11807
 
# Compiler flag to prevent dynamic linking.
11808
 
link_static_flag=$lt_lt_prog_compiler_static
11809
 
 
11810
 
# Compiler flag to turn off builtin functions.
11811
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
11812
 
 
11813
 
# Compiler flag to allow reflexive dlopens.
11814
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
11815
 
 
11816
 
# Compiler flag to generate shared objects directly from archives.
11817
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
11818
 
 
11819
 
# Compiler flag to generate thread-safe objects.
11820
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
11821
 
 
11822
 
# Library versioning type.
11823
 
version_type=$version_type
11824
 
 
11825
 
# Format of library name prefix.
11826
 
libname_spec=$lt_libname_spec
11827
 
 
11828
 
# List of archive names.  First name is the real one, the rest are links.
11829
 
# The last name is the one that the linker finds with -lNAME.
11830
 
library_names_spec=$lt_library_names_spec
11831
 
 
11832
 
# The coded name of the library, if different from the real name.
11833
 
soname_spec=$lt_soname_spec
11834
 
 
11835
 
# Commands used to build and install an old-style archive.
11836
 
RANLIB=$lt_RANLIB
11837
 
old_archive_cmds=$lt_old_archive_cmds
11838
 
old_postinstall_cmds=$lt_old_postinstall_cmds
11839
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
11840
 
 
11841
 
# Create an old-style archive from a shared archive.
11842
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
11843
 
 
11844
 
# Create a temporary old-style archive to link instead of a shared archive.
11845
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
11846
 
 
11847
 
# Commands used to build and install a shared archive.
11848
 
archive_cmds=$lt_archive_cmds
11849
 
archive_expsym_cmds=$lt_archive_expsym_cmds
11850
 
postinstall_cmds=$lt_postinstall_cmds
11851
 
postuninstall_cmds=$lt_postuninstall_cmds
11852
 
 
11853
 
# Commands used to build a loadable module (assumed same as above if empty)
11854
 
module_cmds=$lt_module_cmds
11855
 
module_expsym_cmds=$lt_module_expsym_cmds
11856
 
 
11857
 
# Commands to strip libraries.
11858
 
old_striplib=$lt_old_striplib
11859
 
striplib=$lt_striplib
11860
 
 
11861
 
# Dependencies to place before the objects being linked to create a
11862
 
# shared library.
11863
 
predep_objects=$lt_predep_objects
11864
 
 
11865
 
# Dependencies to place after the objects being linked to create a
11866
 
# shared library.
11867
 
postdep_objects=$lt_postdep_objects
11868
 
 
11869
 
# Dependencies to place before the objects being linked to create a
11870
 
# shared library.
11871
 
predeps=$lt_predeps
11872
 
 
11873
 
# Dependencies to place after the objects being linked to create a
11874
 
# shared library.
11875
 
postdeps=$lt_postdeps
11876
 
 
11877
 
# The directories searched by this compiler when creating a shared
11878
 
# library
11879
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11880
 
 
11881
 
# The library search path used internally by the compiler when linking
11882
 
# a shared library.
11883
 
compiler_lib_search_path=$lt_compiler_lib_search_path
11884
 
 
11885
 
# Method to check whether dependent libraries are shared objects.
11886
 
deplibs_check_method=$lt_deplibs_check_method
11887
 
 
11888
 
# Command to use when deplibs_check_method == file_magic.
11889
 
file_magic_cmd=$lt_file_magic_cmd
11890
 
 
11891
 
# Flag that allows shared libraries with undefined symbols to be built.
11892
 
allow_undefined_flag=$lt_allow_undefined_flag
11893
 
 
11894
 
# Flag that forces no undefined symbols.
11895
 
no_undefined_flag=$lt_no_undefined_flag
11896
 
 
11897
 
# Commands used to finish a libtool library installation in a directory.
11898
 
finish_cmds=$lt_finish_cmds
11899
 
 
11900
 
# Same as above, but a single script fragment to be evaled but not shown.
11901
 
finish_eval=$lt_finish_eval
11902
 
 
11903
 
# Take the output of nm and produce a listing of raw symbols and C names.
11904
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11905
 
 
11906
 
# Transform the output of nm in a proper C declaration
11907
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11908
 
 
11909
 
# Transform the output of nm in a C name address pair
11910
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11911
 
 
11912
 
# This is the shared library runtime path variable.
11913
 
runpath_var=$runpath_var
11914
 
 
11915
 
# This is the shared library path variable.
11916
 
shlibpath_var=$shlibpath_var
11917
 
 
11918
 
# Is shlibpath searched before the hard-coded library search path?
11919
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11920
 
 
11921
 
# How to hardcode a shared library path into an executable.
11922
 
hardcode_action=$hardcode_action
11923
 
 
11924
 
# Whether we should hardcode library paths into libraries.
11925
 
hardcode_into_libs=$hardcode_into_libs
11926
 
 
11927
 
# Flag to hardcode \$libdir into a binary during linking.
11928
 
# This must work even if \$libdir does not exist.
11929
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11930
 
 
11931
 
# If ld is used when linking, flag to hardcode \$libdir into
11932
 
# a binary during linking. This must work even if \$libdir does
11933
 
# not exist.
11934
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11935
 
 
11936
 
# Whether we need a single -rpath flag with a separated argument.
11937
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
11938
 
 
11939
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11940
 
# resulting binary.
11941
 
hardcode_direct=$hardcode_direct
11942
 
 
11943
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11944
 
# resulting binary.
11945
 
hardcode_minus_L=$hardcode_minus_L
11946
 
 
11947
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11948
 
# the resulting binary.
11949
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
11950
 
 
11951
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
11952
 
# and all subsequent libraries and executables linked against it.
11953
 
hardcode_automatic=$hardcode_automatic
11954
 
 
11955
 
# Variables whose values should be saved in libtool wrapper scripts and
11956
 
# restored at relink time.
11957
 
variables_saved_for_relink="$variables_saved_for_relink"
11958
 
 
11959
 
# Whether libtool must link a program against all its dependency libraries.
11960
 
link_all_deplibs=$link_all_deplibs
11961
 
 
11962
 
# Compile-time system search path for libraries
11963
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11964
 
 
11965
 
# Run-time system search path for libraries
11966
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11967
 
 
11968
 
# Fix the shell variable \$srcfile for the compiler.
11969
 
fix_srcfile_path=$lt_fix_srcfile_path
11970
 
 
11971
 
# Set to yes if exported symbols are required.
11972
 
always_export_symbols=$always_export_symbols
11973
 
 
11974
 
# The commands to list exported symbols.
11975
 
export_symbols_cmds=$lt_export_symbols_cmds
11976
 
 
11977
 
# The commands to extract the exported symbol list from a shared archive.
11978
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
11979
 
 
11980
 
# Symbols that should not be listed in the preloaded symbols.
11981
 
exclude_expsyms=$lt_exclude_expsyms
11982
 
 
11983
 
# Symbols that must always be exported.
11984
 
include_expsyms=$lt_include_expsyms
11985
 
 
11986
 
# ### END LIBTOOL CONFIG
11987
 
 
11988
 
__EOF__
11989
 
 
11990
 
 
11991
 
  case $host_os in
11992
 
  aix3*)
11993
 
    cat <<\EOF >> "$cfgfile"
11994
 
 
11995
 
# AIX sometimes has problems with the GCC collect2 program.  For some
11996
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
11997
 
# vanish in a puff of smoke.
11998
 
if test "X${COLLECT_NAMES+set}" != Xset; then
11999
 
  COLLECT_NAMES=
12000
 
  export COLLECT_NAMES
12001
 
fi
12002
 
EOF
12003
 
    ;;
12004
 
  esac
12005
 
 
12006
 
  # We use sed instead of cat because bash on DJGPP gets confused if
12007
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12008
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
12009
 
  # is reportedly fixed, but why not run on old versions too?
12010
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
12011
 
 
12012
 
  mv -f "$cfgfile" "$ofile" || \
12013
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12014
 
  chmod +x "$ofile"
12015
 
 
12016
 
else
12017
 
  # If there is no Makefile yet, we rely on a make rule to execute
12018
 
  # `config.status --recheck' to rerun these tests and create the
12019
 
  # libtool script then.
12020
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
12021
 
  if test -f "$ltmain_in"; then
12022
 
    test -f Makefile && make "$ltmain"
12023
 
  fi
12024
 
fi
12025
 
 
12026
 
 
12027
 
ac_ext=c
12028
 
ac_cpp='$CPP $CPPFLAGS'
12029
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12030
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12031
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12032
 
 
12033
 
CC="$lt_save_CC"
12034
 
 
12035
 
 
12036
 
# Check whether --with-tags was given.
12037
 
if test "${with_tags+set}" = set; then
12038
 
  withval=$with_tags; tagnames="$withval"
12039
 
fi
12040
 
 
12041
 
 
12042
 
if test -f "$ltmain" && test -n "$tagnames"; then
12043
 
  if test ! -f "${ofile}"; then
12044
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
12045
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
12046
 
  fi
12047
 
 
12048
 
  if test -z "$LTCC"; then
12049
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
12050
 
    if test -z "$LTCC"; then
12051
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
12052
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
12053
 
    else
12054
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
12055
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
12056
 
    fi
12057
 
  fi
12058
 
  if test -z "$LTCFLAGS"; then
12059
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
12060
 
  fi
12061
 
 
12062
 
  # Extract list of available tagged configurations in $ofile.
12063
 
  # Note that this assumes the entire list is on one line.
12064
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
12065
 
 
12066
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
12067
 
  for tagname in $tagnames; do
12068
 
    IFS="$lt_save_ifs"
12069
 
    # Check whether tagname contains only valid characters
12070
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
12071
 
    "") ;;
12072
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
12073
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
12074
 
   { (exit 1); exit 1; }; }
12075
 
        ;;
12076
 
    esac
12077
 
 
12078
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
12079
 
    then
12080
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
12081
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
12082
 
   { (exit 1); exit 1; }; }
12083
 
    fi
12084
 
 
12085
 
    # Update the list of available tags.
12086
 
    if test -n "$tagname"; then
12087
 
      echo appending configuration tag \"$tagname\" to $ofile
12088
 
 
12089
 
      case $tagname in
12090
 
      CXX)
12091
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12092
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12093
 
            (test "X$CXX" != "Xg++"))) ; then
12094
 
          ac_ext=cpp
12095
 
ac_cpp='$CXXCPP $CPPFLAGS'
12096
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12097
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12098
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12099
 
 
12100
 
 
12101
 
 
12102
 
 
12103
 
archive_cmds_need_lc_CXX=no
12104
 
allow_undefined_flag_CXX=
12105
 
always_export_symbols_CXX=no
12106
 
archive_expsym_cmds_CXX=
12107
 
export_dynamic_flag_spec_CXX=
12108
 
hardcode_direct_CXX=no
12109
 
hardcode_libdir_flag_spec_CXX=
12110
 
hardcode_libdir_flag_spec_ld_CXX=
12111
 
hardcode_libdir_separator_CXX=
12112
 
hardcode_minus_L_CXX=no
12113
 
hardcode_shlibpath_var_CXX=unsupported
12114
 
hardcode_automatic_CXX=no
12115
 
module_cmds_CXX=
12116
 
module_expsym_cmds_CXX=
12117
 
link_all_deplibs_CXX=unknown
12118
 
old_archive_cmds_CXX=$old_archive_cmds
12119
 
no_undefined_flag_CXX=
12120
 
whole_archive_flag_spec_CXX=
12121
 
enable_shared_with_static_runtimes_CXX=no
12122
 
 
12123
 
# Dependencies to place before and after the object being linked:
12124
 
predep_objects_CXX=
12125
 
postdep_objects_CXX=
12126
 
predeps_CXX=
12127
 
postdeps_CXX=
12128
 
compiler_lib_search_path_CXX=
12129
 
compiler_lib_search_dirs_CXX=
12130
 
 
12131
 
# Source file extension for C++ test sources.
12132
 
ac_ext=cpp
12133
 
 
12134
 
# Object file extension for compiled C++ test sources.
12135
 
objext=o
12136
 
objext_CXX=$objext
12137
 
 
12138
 
# Code to be used in simple compile tests
12139
 
lt_simple_compile_test_code="int some_variable = 0;"
12140
 
 
12141
 
# Code to be used in simple link tests
12142
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12143
 
 
12144
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12145
 
 
12146
 
# If no C compiler was specified, use CC.
12147
 
LTCC=${LTCC-"$CC"}
12148
 
 
12149
 
# If no C compiler flags were specified, use CFLAGS.
12150
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12151
 
 
12152
 
# Allow CC to be a program name with arguments.
12153
 
compiler=$CC
12154
 
 
12155
 
 
12156
 
# save warnings/boilerplate of simple test code
12157
 
ac_outfile=conftest.$ac_objext
12158
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12159
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12160
 
_lt_compiler_boilerplate=`cat conftest.err`
12161
 
$rm conftest*
12162
 
 
12163
 
ac_outfile=conftest.$ac_objext
12164
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12165
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12166
 
_lt_linker_boilerplate=`cat conftest.err`
12167
 
$rm -r conftest*
12168
 
 
12169
 
 
12170
 
# Allow CC to be a program name with arguments.
12171
 
lt_save_CC=$CC
12172
 
lt_save_LD=$LD
12173
 
lt_save_GCC=$GCC
12174
 
GCC=$GXX
12175
 
lt_save_with_gnu_ld=$with_gnu_ld
12176
 
lt_save_path_LD=$lt_cv_path_LD
12177
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12178
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12179
 
else
12180
 
  $as_unset lt_cv_prog_gnu_ld
12181
 
fi
12182
 
if test -n "${lt_cv_path_LDCXX+set}"; then
12183
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
12184
 
else
12185
 
  $as_unset lt_cv_path_LD
12186
 
fi
12187
 
test -z "${LDCXX+set}" || LD=$LDCXX
12188
 
CC=${CXX-"c++"}
12189
 
compiler=$CC
12190
 
compiler_CXX=$CC
12191
 
for cc_temp in $compiler""; do
12192
 
  case $cc_temp in
12193
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12194
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12195
 
    \-*) ;;
12196
 
    *) break;;
12197
 
  esac
12198
 
done
12199
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12200
 
 
12201
 
 
12202
 
# We don't want -fno-exception wen compiling C++ code, so set the
12203
 
# no_builtin_flag separately
12204
 
if test "$GXX" = yes; then
12205
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12206
 
else
12207
 
  lt_prog_compiler_no_builtin_flag_CXX=
12208
 
fi
12209
 
 
12210
 
if test "$GXX" = yes; then
12211
 
  # Set up default GNU C++ configuration
12212
 
 
12213
 
 
12214
 
# Check whether --with-gnu-ld was given.
12215
 
if test "${with_gnu_ld+set}" = set; then
12216
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12217
 
else
12218
 
  with_gnu_ld=no
12219
 
fi
12220
 
 
12221
 
ac_prog=ld
12222
 
if test "$GCC" = yes; then
12223
 
  # Check if gcc -print-prog-name=ld gives a path.
12224
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12225
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
12226
 
  case $host in
12227
 
  *-*-mingw*)
12228
 
    # gcc leaves a trailing carriage return which upsets mingw
12229
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12230
 
  *)
12231
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12232
 
  esac
12233
 
  case $ac_prog in
12234
 
    # Accept absolute paths.
12235
 
    [\\/]* | ?:[\\/]*)
12236
 
      re_direlt='/[^/][^/]*/\.\./'
12237
 
      # Canonicalize the pathname of ld
12238
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
12239
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12240
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
12241
 
      done
12242
 
      test -z "$LD" && LD="$ac_prog"
12243
 
      ;;
12244
 
  "")
12245
 
    # If it fails, then pretend we aren't using GCC.
12246
 
    ac_prog=ld
12247
 
    ;;
12248
 
  *)
12249
 
    # If it is relative, then search for the first ld in PATH.
12250
 
    with_gnu_ld=unknown
12251
 
    ;;
12252
 
  esac
12253
 
elif test "$with_gnu_ld" = yes; then
12254
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
12255
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
12256
 
else
12257
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12258
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
12259
 
fi
12260
 
if test "${lt_cv_path_LD+set}" = set; then
12261
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12262
 
else
12263
 
  if test -z "$LD"; then
12264
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12265
 
  for ac_dir in $PATH; do
12266
 
    IFS="$lt_save_ifs"
12267
 
    test -z "$ac_dir" && ac_dir=.
12268
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12269
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
12270
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
12271
 
      # but apparently some variants of GNU ld only accept -v.
12272
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
12273
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12274
 
      *GNU* | *'with BFD'*)
12275
 
        test "$with_gnu_ld" != no && break
12276
 
        ;;
12277
 
      *)
12278
 
        test "$with_gnu_ld" != yes && break
12279
 
        ;;
12280
 
      esac
12281
 
    fi
12282
 
  done
12283
 
  IFS="$lt_save_ifs"
12284
 
else
12285
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12286
 
fi
12287
 
fi
12288
 
 
12289
 
LD="$lt_cv_path_LD"
12290
 
if test -n "$LD"; then
12291
 
  { echo "$as_me:$LINENO: result: $LD" >&5
12292
 
echo "${ECHO_T}$LD" >&6; }
12293
 
else
12294
 
  { echo "$as_me:$LINENO: result: no" >&5
12295
 
echo "${ECHO_T}no" >&6; }
12296
 
fi
12297
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12298
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12299
 
   { (exit 1); exit 1; }; }
12300
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12301
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
12302
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
12303
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12304
 
else
12305
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12306
 
case `$LD -v 2>&1 </dev/null` in
12307
 
*GNU* | *'with BFD'*)
12308
 
  lt_cv_prog_gnu_ld=yes
12309
 
  ;;
12310
 
*)
12311
 
  lt_cv_prog_gnu_ld=no
12312
 
  ;;
12313
 
esac
12314
 
fi
12315
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12316
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
12317
 
with_gnu_ld=$lt_cv_prog_gnu_ld
12318
 
 
12319
 
 
12320
 
 
12321
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
12322
 
  # archiving commands below assume that GNU ld is being used.
12323
 
  if test "$with_gnu_ld" = yes; then
12324
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12325
 
    archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12326
 
 
12327
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12328
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12329
 
 
12330
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
12331
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12332
 
    #     investigate it a little bit more. (MM)
12333
 
    wlarc='${wl}'
12334
 
 
12335
 
    # ancient GNU ld didn't support --whole-archive et. al.
12336
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
12337
 
        grep 'no-whole-archive' > /dev/null; then
12338
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12339
 
    else
12340
 
      whole_archive_flag_spec_CXX=
12341
 
    fi
12342
 
  else
12343
 
    with_gnu_ld=no
12344
 
    wlarc=
12345
 
 
12346
 
    # A generic and very simple default shared library creation
12347
 
    # command for GNU C++ for the case where it uses the native
12348
 
    # linker, instead of GNU ld.  If possible, this setting should
12349
 
    # overridden to take advantage of the native linker features on
12350
 
    # the platform it is being used on.
12351
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12352
 
  fi
12353
 
 
12354
 
  # Commands to make compiler produce verbose output that lists
12355
 
  # what "hidden" libraries, object files and flags are used when
12356
 
  # linking a shared library.
12357
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12358
 
 
12359
 
else
12360
 
  GXX=no
12361
 
  with_gnu_ld=no
12362
 
  wlarc=
12363
 
fi
12364
 
 
12365
 
# PORTME: fill in a description of your system's C++ link characteristics
12366
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12367
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12368
 
ld_shlibs_CXX=yes
12369
 
case $host_os in
12370
 
  aix3*)
12371
 
    # FIXME: insert proper C++ library support
12372
 
    ld_shlibs_CXX=no
12373
 
    ;;
12374
 
  aix[4-9]*)
12375
 
    if test "$host_cpu" = ia64; then
12376
 
      # On IA64, the linker does run time linking by default, so we don't
12377
 
      # have to do anything special.
12378
 
      aix_use_runtimelinking=no
12379
 
      exp_sym_flag='-Bexport'
12380
 
      no_entry_flag=""
12381
 
    else
12382
 
      aix_use_runtimelinking=no
12383
 
 
12384
 
      # Test if we are trying to use run time linking or normal
12385
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12386
 
      # need to do runtime linking.
12387
 
      case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12388
 
        for ld_flag in $LDFLAGS; do
12389
 
          case $ld_flag in
12390
 
          *-brtl*)
12391
 
            aix_use_runtimelinking=yes
12392
 
            break
12393
 
            ;;
12394
 
          esac
12395
 
        done
12396
 
        ;;
12397
 
      esac
12398
 
 
12399
 
      exp_sym_flag='-bexport'
12400
 
      no_entry_flag='-bnoentry'
12401
 
    fi
12402
 
 
12403
 
    # When large executables or shared objects are built, AIX ld can
12404
 
    # have problems creating the table of contents.  If linking a library
12405
 
    # or program results in "error TOC overflow" add -mminimal-toc to
12406
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12407
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12408
 
 
12409
 
    archive_cmds_CXX=''
12410
 
    hardcode_direct_CXX=yes
12411
 
    hardcode_libdir_separator_CXX=':'
12412
 
    link_all_deplibs_CXX=yes
12413
 
 
12414
 
    if test "$GXX" = yes; then
12415
 
      case $host_os in aix4.[012]|aix4.[012].*)
12416
 
      # We only want to do this on AIX 4.2 and lower, the check
12417
 
      # below for broken collect2 doesn't work under 4.3+
12418
 
        collect2name=`${CC} -print-prog-name=collect2`
12419
 
        if test -f "$collect2name" && \
12420
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
12421
 
        then
12422
 
          # We have reworked collect2
12423
 
          :
12424
 
        else
12425
 
          # We have old collect2
12426
 
          hardcode_direct_CXX=unsupported
12427
 
          # It fails to find uninstalled libraries when the uninstalled
12428
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
12429
 
          # to unsupported forces relinking
12430
 
          hardcode_minus_L_CXX=yes
12431
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
12432
 
          hardcode_libdir_separator_CXX=
12433
 
        fi
12434
 
        ;;
12435
 
      esac
12436
 
      shared_flag='-shared'
12437
 
      if test "$aix_use_runtimelinking" = yes; then
12438
 
        shared_flag="$shared_flag "'${wl}-G'
12439
 
      fi
12440
 
    else
12441
 
      # not using gcc
12442
 
      if test "$host_cpu" = ia64; then
12443
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12444
 
        # chokes on -Wl,-G. The following line is correct:
12445
 
        shared_flag='-G'
12446
 
      else
12447
 
        if test "$aix_use_runtimelinking" = yes; then
12448
 
          shared_flag='${wl}-G'
12449
 
        else
12450
 
          shared_flag='${wl}-bM:SRE'
12451
 
        fi
12452
 
      fi
12453
 
    fi
12454
 
 
12455
 
    # It seems that -bexpall does not export symbols beginning with
12456
 
    # underscore (_), so it is better to generate a list of symbols to export.
12457
 
    always_export_symbols_CXX=yes
12458
 
    if test "$aix_use_runtimelinking" = yes; then
12459
 
      # Warning - without using the other runtime loading flags (-brtl),
12460
 
      # -berok will link without error, but may produce a broken library.
12461
 
      allow_undefined_flag_CXX='-berok'
12462
 
      # Determine the default libpath from the value encoded in an empty executable.
12463
 
      cat >conftest.$ac_ext <<_ACEOF
12464
 
/* confdefs.h.  */
12465
 
_ACEOF
12466
 
cat confdefs.h >>conftest.$ac_ext
12467
 
cat >>conftest.$ac_ext <<_ACEOF
12468
 
/* end confdefs.h.  */
12469
 
 
12470
 
int
12471
 
main ()
12472
 
{
12473
 
 
12474
 
  ;
12475
 
  return 0;
12476
 
}
12477
 
_ACEOF
12478
 
rm -f conftest.$ac_objext conftest$ac_exeext
12479
 
if { (ac_try="$ac_link"
12480
 
case "(($ac_try" in
12481
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12482
 
  *) ac_try_echo=$ac_try;;
12483
 
esac
12484
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12485
 
  (eval "$ac_link") 2>conftest.er1
12486
 
  ac_status=$?
12487
 
  grep -v '^ *+' conftest.er1 >conftest.err
12488
 
  rm -f conftest.er1
12489
 
  cat conftest.err >&5
12490
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491
 
  (exit $ac_status); } && {
12492
 
         test -z "$ac_cxx_werror_flag" ||
12493
 
         test ! -s conftest.err
12494
 
       } && test -s conftest$ac_exeext &&
12495
 
       $as_test_x conftest$ac_exeext; then
12496
 
 
12497
 
lt_aix_libpath_sed='
12498
 
    /Import File Strings/,/^$/ {
12499
 
        /^0/ {
12500
 
            s/^0  *\(.*\)$/\1/
12501
 
            p
12502
 
        }
12503
 
    }'
12504
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12505
 
# Check for a 64-bit object if we didn't find anything.
12506
 
if test -z "$aix_libpath"; then
12507
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12508
 
fi
12509
 
else
12510
 
  echo "$as_me: failed program was:" >&5
12511
 
sed 's/^/| /' conftest.$ac_ext >&5
12512
 
 
12513
 
 
12514
 
fi
12515
 
 
12516
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12517
 
      conftest$ac_exeext conftest.$ac_ext
12518
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12519
 
 
12520
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12521
 
 
12522
 
      archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12523
 
     else
12524
 
      if test "$host_cpu" = ia64; then
12525
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12526
 
        allow_undefined_flag_CXX="-z nodefs"
12527
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12528
 
      else
12529
 
        # Determine the default libpath from the value encoded in an empty executable.
12530
 
        cat >conftest.$ac_ext <<_ACEOF
12531
 
/* confdefs.h.  */
12532
 
_ACEOF
12533
 
cat confdefs.h >>conftest.$ac_ext
12534
 
cat >>conftest.$ac_ext <<_ACEOF
12535
 
/* end confdefs.h.  */
12536
 
 
12537
 
int
12538
 
main ()
12539
 
{
12540
 
 
12541
 
  ;
12542
 
  return 0;
12543
 
}
12544
 
_ACEOF
12545
 
rm -f conftest.$ac_objext conftest$ac_exeext
12546
 
if { (ac_try="$ac_link"
12547
 
case "(($ac_try" in
12548
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12549
 
  *) ac_try_echo=$ac_try;;
12550
 
esac
12551
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12552
 
  (eval "$ac_link") 2>conftest.er1
12553
 
  ac_status=$?
12554
 
  grep -v '^ *+' conftest.er1 >conftest.err
12555
 
  rm -f conftest.er1
12556
 
  cat conftest.err >&5
12557
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558
 
  (exit $ac_status); } && {
12559
 
         test -z "$ac_cxx_werror_flag" ||
12560
 
         test ! -s conftest.err
12561
 
       } && test -s conftest$ac_exeext &&
12562
 
       $as_test_x conftest$ac_exeext; then
12563
 
 
12564
 
lt_aix_libpath_sed='
12565
 
    /Import File Strings/,/^$/ {
12566
 
        /^0/ {
12567
 
            s/^0  *\(.*\)$/\1/
12568
 
            p
12569
 
        }
12570
 
    }'
12571
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12572
 
# Check for a 64-bit object if we didn't find anything.
12573
 
if test -z "$aix_libpath"; then
12574
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12575
 
fi
12576
 
else
12577
 
  echo "$as_me: failed program was:" >&5
12578
 
sed 's/^/| /' conftest.$ac_ext >&5
12579
 
 
12580
 
 
12581
 
fi
12582
 
 
12583
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12584
 
      conftest$ac_exeext conftest.$ac_ext
12585
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12586
 
 
12587
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12588
 
        # Warning - without using the other run time loading flags,
12589
 
        # -berok will link without error, but may produce a broken library.
12590
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
12591
 
        allow_undefined_flag_CXX=' ${wl}-berok'
12592
 
        # Exported symbols can be pulled into shared objects from archives
12593
 
        whole_archive_flag_spec_CXX='$convenience'
12594
 
        archive_cmds_need_lc_CXX=yes
12595
 
        # This is similar to how AIX traditionally builds its shared libraries.
12596
 
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12597
 
      fi
12598
 
    fi
12599
 
    ;;
12600
 
 
12601
 
  beos*)
12602
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
12603
 
      allow_undefined_flag_CXX=unsupported
12604
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12605
 
      # support --undefined.  This deserves some investigation.  FIXME
12606
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12607
 
    else
12608
 
      ld_shlibs_CXX=no
12609
 
    fi
12610
 
    ;;
12611
 
 
12612
 
  chorus*)
12613
 
    case $cc_basename in
12614
 
      *)
12615
 
        # FIXME: insert proper C++ library support
12616
 
        ld_shlibs_CXX=no
12617
 
        ;;
12618
 
    esac
12619
 
    ;;
12620
 
 
12621
 
  cygwin* | mingw* | pw32*)
12622
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12623
 
    # as there is no search path for DLLs.
12624
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
12625
 
    allow_undefined_flag_CXX=unsupported
12626
 
    always_export_symbols_CXX=no
12627
 
    enable_shared_with_static_runtimes_CXX=yes
12628
 
 
12629
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
12630
 
      archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12631
 
      # If the export-symbols file already is a .def file (1st line
12632
 
      # is EXPORTS), use it as is; otherwise, prepend...
12633
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12634
 
        cp $export_symbols $output_objdir/$soname.def;
12635
 
      else
12636
 
        echo EXPORTS > $output_objdir/$soname.def;
12637
 
        cat $export_symbols >> $output_objdir/$soname.def;
12638
 
      fi~
12639
 
      $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12640
 
    else
12641
 
      ld_shlibs_CXX=no
12642
 
    fi
12643
 
  ;;
12644
 
      darwin* | rhapsody*)
12645
 
      archive_cmds_need_lc_CXX=no
12646
 
      hardcode_direct_CXX=no
12647
 
      hardcode_automatic_CXX=yes
12648
 
      hardcode_shlibpath_var_CXX=unsupported
12649
 
      whole_archive_flag_spec_CXX=''
12650
 
      link_all_deplibs_CXX=yes
12651
 
      allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12652
 
      if test "$GXX" = yes ; then
12653
 
      output_verbose_link_cmd='echo'
12654
 
      archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12655
 
      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12656
 
      archive_expsym_cmds_CXX="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}"
12657
 
      module_expsym_cmds_CXX="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}"
12658
 
      if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12659
 
        archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12660
 
        archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12661
 
      fi
12662
 
      else
12663
 
      case $cc_basename in
12664
 
        xlc*)
12665
 
         output_verbose_link_cmd='echo'
12666
 
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
12667
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12668
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12669
 
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12670
 
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12671
 
          ;;
12672
 
       *)
12673
 
         ld_shlibs_CXX=no
12674
 
          ;;
12675
 
      esac
12676
 
      fi
12677
 
        ;;
12678
 
 
12679
 
  dgux*)
12680
 
    case $cc_basename in
12681
 
      ec++*)
12682
 
        # FIXME: insert proper C++ library support
12683
 
        ld_shlibs_CXX=no
12684
 
        ;;
12685
 
      ghcx*)
12686
 
        # Green Hills C++ Compiler
12687
 
        # FIXME: insert proper C++ library support
12688
 
        ld_shlibs_CXX=no
12689
 
        ;;
12690
 
      *)
12691
 
        # FIXME: insert proper C++ library support
12692
 
        ld_shlibs_CXX=no
12693
 
        ;;
12694
 
    esac
12695
 
    ;;
12696
 
  freebsd[12]*)
12697
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
12698
 
    ld_shlibs_CXX=no
12699
 
    ;;
12700
 
  freebsd-elf*)
12701
 
    archive_cmds_need_lc_CXX=no
12702
 
    ;;
12703
 
  freebsd* | dragonfly*)
12704
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12705
 
    # conventions
12706
 
    ld_shlibs_CXX=yes
12707
 
    ;;
12708
 
  gnu*)
12709
 
    ;;
12710
 
  hpux9*)
12711
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12712
 
    hardcode_libdir_separator_CXX=:
12713
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12714
 
    hardcode_direct_CXX=yes
12715
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
12716
 
                                # but as the default
12717
 
                                # location of the library.
12718
 
 
12719
 
    case $cc_basename in
12720
 
    CC*)
12721
 
      # FIXME: insert proper C++ library support
12722
 
      ld_shlibs_CXX=no
12723
 
      ;;
12724
 
    aCC*)
12725
 
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12726
 
      # Commands to make compiler produce verbose output that lists
12727
 
      # what "hidden" libraries, object files and flags are used when
12728
 
      # linking a shared library.
12729
 
      #
12730
 
      # There doesn't appear to be a way to prevent this compiler from
12731
 
      # explicitly linking system object files so we need to strip them
12732
 
      # from the output so that they don't get included in the library
12733
 
      # dependencies.
12734
 
      output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12735
 
      ;;
12736
 
    *)
12737
 
      if test "$GXX" = yes; then
12738
 
        archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12739
 
      else
12740
 
        # FIXME: insert proper C++ library support
12741
 
        ld_shlibs_CXX=no
12742
 
      fi
12743
 
      ;;
12744
 
    esac
12745
 
    ;;
12746
 
  hpux10*|hpux11*)
12747
 
    if test $with_gnu_ld = no; then
12748
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12749
 
      hardcode_libdir_separator_CXX=:
12750
 
 
12751
 
      case $host_cpu in
12752
 
      hppa*64*|ia64*) ;;
12753
 
      *)
12754
 
        export_dynamic_flag_spec_CXX='${wl}-E'
12755
 
        ;;
12756
 
      esac
12757
 
    fi
12758
 
    case $host_cpu in
12759
 
    hppa*64*|ia64*)
12760
 
      hardcode_direct_CXX=no
12761
 
      hardcode_shlibpath_var_CXX=no
12762
 
      ;;
12763
 
    *)
12764
 
      hardcode_direct_CXX=yes
12765
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
12766
 
                                              # but as the default
12767
 
                                              # location of the library.
12768
 
      ;;
12769
 
    esac
12770
 
 
12771
 
    case $cc_basename in
12772
 
      CC*)
12773
 
        # FIXME: insert proper C++ library support
12774
 
        ld_shlibs_CXX=no
12775
 
        ;;
12776
 
      aCC*)
12777
 
        case $host_cpu in
12778
 
        hppa*64*)
12779
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12780
 
          ;;
12781
 
        ia64*)
12782
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12783
 
          ;;
12784
 
        *)
12785
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12786
 
          ;;
12787
 
        esac
12788
 
        # Commands to make compiler produce verbose output that lists
12789
 
        # what "hidden" libraries, object files and flags are used when
12790
 
        # linking a shared library.
12791
 
        #
12792
 
        # There doesn't appear to be a way to prevent this compiler from
12793
 
        # explicitly linking system object files so we need to strip them
12794
 
        # from the output so that they don't get included in the library
12795
 
        # dependencies.
12796
 
        output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12797
 
        ;;
12798
 
      *)
12799
 
        if test "$GXX" = yes; then
12800
 
          if test $with_gnu_ld = no; then
12801
 
            case $host_cpu in
12802
 
            hppa*64*)
12803
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12804
 
              ;;
12805
 
            ia64*)
12806
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12807
 
              ;;
12808
 
            *)
12809
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12810
 
              ;;
12811
 
            esac
12812
 
          fi
12813
 
        else
12814
 
          # FIXME: insert proper C++ library support
12815
 
          ld_shlibs_CXX=no
12816
 
        fi
12817
 
        ;;
12818
 
    esac
12819
 
    ;;
12820
 
  interix[3-9]*)
12821
 
    hardcode_direct_CXX=no
12822
 
    hardcode_shlibpath_var_CXX=no
12823
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12824
 
    export_dynamic_flag_spec_CXX='${wl}-E'
12825
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12826
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
12827
 
    # default) and relocated if they conflict, which is a slow very memory
12828
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
12829
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12830
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12831
 
    archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12832
 
    archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12833
 
    ;;
12834
 
  irix5* | irix6*)
12835
 
    case $cc_basename in
12836
 
      CC*)
12837
 
        # SGI C++
12838
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12839
 
 
12840
 
        # Archives containing C++ object files must be created using
12841
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12842
 
        # necessary to make sure instantiated templates are included
12843
 
        # in the archive.
12844
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12845
 
        ;;
12846
 
      *)
12847
 
        if test "$GXX" = yes; then
12848
 
          if test "$with_gnu_ld" = no; then
12849
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12850
 
          else
12851
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
12852
 
          fi
12853
 
        fi
12854
 
        link_all_deplibs_CXX=yes
12855
 
        ;;
12856
 
    esac
12857
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12858
 
    hardcode_libdir_separator_CXX=:
12859
 
    ;;
12860
 
  linux* | k*bsd*-gnu)
12861
 
    case $cc_basename in
12862
 
      KCC*)
12863
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12864
 
 
12865
 
        # KCC will only create a shared library if the output file
12866
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12867
 
        # to its proper name (with version) after linking.
12868
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12869
 
        archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12870
 
        # Commands to make compiler produce verbose output that lists
12871
 
        # what "hidden" libraries, object files and flags are used when
12872
 
        # linking a shared library.
12873
 
        #
12874
 
        # There doesn't appear to be a way to prevent this compiler from
12875
 
        # explicitly linking system object files so we need to strip them
12876
 
        # from the output so that they don't get included in the library
12877
 
        # dependencies.
12878
 
        output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12879
 
 
12880
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
12881
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12882
 
 
12883
 
        # Archives containing C++ object files must be created using
12884
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12885
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12886
 
        ;;
12887
 
      icpc*)
12888
 
        # Intel C++
12889
 
        with_gnu_ld=yes
12890
 
        # version 8.0 and above of icpc choke on multiply defined symbols
12891
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
12892
 
        # earlier do not add the objects themselves.
12893
 
        case `$CC -V 2>&1` in
12894
 
        *"Version 7."*)
12895
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12896
 
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12897
 
          ;;
12898
 
        *)  # Version 8.0 or newer
12899
 
          tmp_idyn=
12900
 
          case $host_cpu in
12901
 
            ia64*) tmp_idyn=' -i_dynamic';;
12902
 
          esac
12903
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12904
 
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12905
 
          ;;
12906
 
        esac
12907
 
        archive_cmds_need_lc_CXX=no
12908
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12909
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12910
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12911
 
        ;;
12912
 
      pgCC* | pgcpp*)
12913
 
        # Portland Group C++ compiler
12914
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12915
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12916
 
 
12917
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12918
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12919
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
12920
 
        ;;
12921
 
      cxx*)
12922
 
        # Compaq C++
12923
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12924
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12925
 
 
12926
 
        runpath_var=LD_RUN_PATH
12927
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12928
 
        hardcode_libdir_separator_CXX=:
12929
 
 
12930
 
        # Commands to make compiler produce verbose output that lists
12931
 
        # what "hidden" libraries, object files and flags are used when
12932
 
        # linking a shared library.
12933
 
        #
12934
 
        # There doesn't appear to be a way to prevent this compiler from
12935
 
        # explicitly linking system object files so we need to strip them
12936
 
        # from the output so that they don't get included in the library
12937
 
        # dependencies.
12938
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12939
 
        ;;
12940
 
      *)
12941
 
        case `$CC -V 2>&1 | sed 5q` in
12942
 
        *Sun\ C*)
12943
 
          # Sun C++ 5.9
12944
 
          no_undefined_flag_CXX=' -zdefs'
12945
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12946
 
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12947
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
12948
 
          whole_archive_flag_spec_CXX='${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'
12949
 
 
12950
 
          # Not sure whether something based on
12951
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12952
 
          # would be better.
12953
 
          output_verbose_link_cmd='echo'
12954
 
 
12955
 
          # Archives containing C++ object files must be created using
12956
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12957
 
          # necessary to make sure instantiated templates are included
12958
 
          # in the archive.
12959
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12960
 
          ;;
12961
 
        esac
12962
 
        ;;
12963
 
    esac
12964
 
    ;;
12965
 
  lynxos*)
12966
 
    # FIXME: insert proper C++ library support
12967
 
    ld_shlibs_CXX=no
12968
 
    ;;
12969
 
  m88k*)
12970
 
    # FIXME: insert proper C++ library support
12971
 
    ld_shlibs_CXX=no
12972
 
    ;;
12973
 
  mvs*)
12974
 
    case $cc_basename in
12975
 
      cxx*)
12976
 
        # FIXME: insert proper C++ library support
12977
 
        ld_shlibs_CXX=no
12978
 
        ;;
12979
 
      *)
12980
 
        # FIXME: insert proper C++ library support
12981
 
        ld_shlibs_CXX=no
12982
 
        ;;
12983
 
    esac
12984
 
    ;;
12985
 
  netbsd*)
12986
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
12987
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12988
 
      wlarc=
12989
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
12990
 
      hardcode_direct_CXX=yes
12991
 
      hardcode_shlibpath_var_CXX=no
12992
 
    fi
12993
 
    # Workaround some broken pre-1.5 toolchains
12994
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12995
 
    ;;
12996
 
  openbsd2*)
12997
 
    # C++ shared libraries are fairly broken
12998
 
    ld_shlibs_CXX=no
12999
 
    ;;
13000
 
  openbsd*)
13001
 
    if test -f /usr/libexec/ld.so; then
13002
 
      hardcode_direct_CXX=yes
13003
 
      hardcode_shlibpath_var_CXX=no
13004
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13005
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13006
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13007
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13008
 
        export_dynamic_flag_spec_CXX='${wl}-E'
13009
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13010
 
      fi
13011
 
      output_verbose_link_cmd='echo'
13012
 
    else
13013
 
      ld_shlibs_CXX=no
13014
 
    fi
13015
 
    ;;
13016
 
  osf3*)
13017
 
    case $cc_basename in
13018
 
      KCC*)
13019
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13020
 
 
13021
 
        # KCC will only create a shared library if the output file
13022
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13023
 
        # to its proper name (with version) after linking.
13024
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13025
 
 
13026
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13027
 
        hardcode_libdir_separator_CXX=:
13028
 
 
13029
 
        # Archives containing C++ object files must be created using
13030
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13031
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13032
 
 
13033
 
        ;;
13034
 
      RCC*)
13035
 
        # Rational C++ 2.4.1
13036
 
        # FIXME: insert proper C++ library support
13037
 
        ld_shlibs_CXX=no
13038
 
        ;;
13039
 
      cxx*)
13040
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13041
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13042
 
 
13043
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13044
 
        hardcode_libdir_separator_CXX=:
13045
 
 
13046
 
        # Commands to make compiler produce verbose output that lists
13047
 
        # what "hidden" libraries, object files and flags are used when
13048
 
        # linking a shared library.
13049
 
        #
13050
 
        # There doesn't appear to be a way to prevent this compiler from
13051
 
        # explicitly linking system object files so we need to strip them
13052
 
        # from the output so that they don't get included in the library
13053
 
        # dependencies.
13054
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13055
 
        ;;
13056
 
      *)
13057
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13058
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13059
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13060
 
 
13061
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13062
 
          hardcode_libdir_separator_CXX=:
13063
 
 
13064
 
          # Commands to make compiler produce verbose output that lists
13065
 
          # what "hidden" libraries, object files and flags are used when
13066
 
          # linking a shared library.
13067
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13068
 
 
13069
 
        else
13070
 
          # FIXME: insert proper C++ library support
13071
 
          ld_shlibs_CXX=no
13072
 
        fi
13073
 
        ;;
13074
 
    esac
13075
 
    ;;
13076
 
  osf4* | osf5*)
13077
 
    case $cc_basename in
13078
 
      KCC*)
13079
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
13080
 
 
13081
 
        # KCC will only create a shared library if the output file
13082
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
13083
 
        # to its proper name (with version) after linking.
13084
 
        archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13085
 
 
13086
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13087
 
        hardcode_libdir_separator_CXX=:
13088
 
 
13089
 
        # Archives containing C++ object files must be created using
13090
 
        # the KAI C++ compiler.
13091
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
13092
 
        ;;
13093
 
      RCC*)
13094
 
        # Rational C++ 2.4.1
13095
 
        # FIXME: insert proper C++ library support
13096
 
        ld_shlibs_CXX=no
13097
 
        ;;
13098
 
      cxx*)
13099
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
13100
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
13101
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13102
 
          echo "-hidden">> $lib.exp~
13103
 
          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
13104
 
          $rm $lib.exp'
13105
 
 
13106
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13107
 
        hardcode_libdir_separator_CXX=:
13108
 
 
13109
 
        # Commands to make compiler produce verbose output that lists
13110
 
        # what "hidden" libraries, object files and flags are used when
13111
 
        # linking a shared library.
13112
 
        #
13113
 
        # There doesn't appear to be a way to prevent this compiler from
13114
 
        # explicitly linking system object files so we need to strip them
13115
 
        # from the output so that they don't get included in the library
13116
 
        # dependencies.
13117
 
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
13118
 
        ;;
13119
 
      *)
13120
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13121
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13122
 
         archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13123
 
 
13124
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13125
 
          hardcode_libdir_separator_CXX=:
13126
 
 
13127
 
          # Commands to make compiler produce verbose output that lists
13128
 
          # what "hidden" libraries, object files and flags are used when
13129
 
          # linking a shared library.
13130
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
13131
 
 
13132
 
        else
13133
 
          # FIXME: insert proper C++ library support
13134
 
          ld_shlibs_CXX=no
13135
 
        fi
13136
 
        ;;
13137
 
    esac
13138
 
    ;;
13139
 
  psos*)
13140
 
    # FIXME: insert proper C++ library support
13141
 
    ld_shlibs_CXX=no
13142
 
    ;;
13143
 
  sunos4*)
13144
 
    case $cc_basename in
13145
 
      CC*)
13146
 
        # Sun C++ 4.x
13147
 
        # FIXME: insert proper C++ library support
13148
 
        ld_shlibs_CXX=no
13149
 
        ;;
13150
 
      lcc*)
13151
 
        # Lucid
13152
 
        # FIXME: insert proper C++ library support
13153
 
        ld_shlibs_CXX=no
13154
 
        ;;
13155
 
      *)
13156
 
        # FIXME: insert proper C++ library support
13157
 
        ld_shlibs_CXX=no
13158
 
        ;;
13159
 
    esac
13160
 
    ;;
13161
 
  solaris*)
13162
 
    case $cc_basename in
13163
 
      CC*)
13164
 
        # Sun C++ 4.2, 5.x and Centerline C++
13165
 
        archive_cmds_need_lc_CXX=yes
13166
 
        no_undefined_flag_CXX=' -zdefs'
13167
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13168
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13169
 
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13170
 
 
13171
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
13172
 
        hardcode_shlibpath_var_CXX=no
13173
 
        case $host_os in
13174
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13175
 
          *)
13176
 
            # The compiler driver will combine and reorder linker options,
13177
 
            # but understands `-z linker_flag'.
13178
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
13179
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13180
 
            ;;
13181
 
        esac
13182
 
        link_all_deplibs_CXX=yes
13183
 
 
13184
 
        output_verbose_link_cmd='echo'
13185
 
 
13186
 
        # Archives containing C++ object files must be created using
13187
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13188
 
        # necessary to make sure instantiated templates are included
13189
 
        # in the archive.
13190
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13191
 
        ;;
13192
 
      gcx*)
13193
 
        # Green Hills C++ Compiler
13194
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13195
 
 
13196
 
        # The C++ compiler must be used to create the archive.
13197
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13198
 
        ;;
13199
 
      *)
13200
 
        # GNU C++ compiler with Solaris linker
13201
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13202
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13203
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
13204
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13205
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13206
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13207
 
 
13208
 
            # Commands to make compiler produce verbose output that lists
13209
 
            # what "hidden" libraries, object files and flags are used when
13210
 
            # linking a shared library.
13211
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13212
 
          else
13213
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
13214
 
            # platform.
13215
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13216
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13217
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
13218
 
 
13219
 
            # Commands to make compiler produce verbose output that lists
13220
 
            # what "hidden" libraries, object files and flags are used when
13221
 
            # linking a shared library.
13222
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
13223
 
          fi
13224
 
 
13225
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13226
 
          case $host_os in
13227
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
13228
 
          *)
13229
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13230
 
            ;;
13231
 
          esac
13232
 
        fi
13233
 
        ;;
13234
 
    esac
13235
 
    ;;
13236
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13237
 
    no_undefined_flag_CXX='${wl}-z,text'
13238
 
    archive_cmds_need_lc_CXX=no
13239
 
    hardcode_shlibpath_var_CXX=no
13240
 
    runpath_var='LD_RUN_PATH'
13241
 
 
13242
 
    case $cc_basename in
13243
 
      CC*)
13244
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13245
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13246
 
        ;;
13247
 
      *)
13248
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250
 
        ;;
13251
 
    esac
13252
 
    ;;
13253
 
  sysv5* | sco3.2v5* | sco5v6*)
13254
 
    # Note: We can NOT use -z defs as we might desire, because we do not
13255
 
    # link with -lc, and that would cause any symbols used from libc to
13256
 
    # always be unresolved, which means just about no library would
13257
 
    # ever link correctly.  If we're not using GNU ld we use -z text
13258
 
    # though, which does catch some bad symbols but isn't as heavy-handed
13259
 
    # as -z defs.
13260
 
    # For security reasons, it is highly recommended that you always
13261
 
    # use absolute paths for naming shared libraries, and exclude the
13262
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
13263
 
    # requires that you compile everything twice, which is a pain.
13264
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
13265
 
    # non-empty value in the environment.  Most likely only useful for
13266
 
    # creating official distributions of packages.
13267
 
    # This is a hack until libtool officially supports absolute path
13268
 
    # names for shared libraries.
13269
 
    no_undefined_flag_CXX='${wl}-z,text'
13270
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
13271
 
    archive_cmds_need_lc_CXX=no
13272
 
    hardcode_shlibpath_var_CXX=no
13273
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
13274
 
    hardcode_libdir_separator_CXX=':'
13275
 
    link_all_deplibs_CXX=yes
13276
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
13277
 
    runpath_var='LD_RUN_PATH'
13278
 
 
13279
 
    case $cc_basename in
13280
 
      CC*)
13281
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13282
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13283
 
        ;;
13284
 
      *)
13285
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13286
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
13287
 
        ;;
13288
 
    esac
13289
 
    ;;
13290
 
  tandem*)
13291
 
    case $cc_basename in
13292
 
      NCC*)
13293
 
        # NonStop-UX NCC 3.20
13294
 
        # FIXME: insert proper C++ library support
13295
 
        ld_shlibs_CXX=no
13296
 
        ;;
13297
 
      *)
13298
 
        # FIXME: insert proper C++ library support
13299
 
        ld_shlibs_CXX=no
13300
 
        ;;
13301
 
    esac
13302
 
    ;;
13303
 
  vxworks*)
13304
 
    # FIXME: insert proper C++ library support
13305
 
    ld_shlibs_CXX=no
13306
 
    ;;
13307
 
  *)
13308
 
    # FIXME: insert proper C++ library support
13309
 
    ld_shlibs_CXX=no
13310
 
    ;;
13311
 
esac
13312
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13313
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13314
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13315
 
 
13316
 
GCC_CXX="$GXX"
13317
 
LD_CXX="$LD"
13318
 
 
13319
 
cat > conftest.$ac_ext <<EOF
13320
 
class Foo
13321
 
{
13322
 
public:
13323
 
  Foo (void) { a = 0; }
13324
 
private:
13325
 
  int a;
13326
 
};
13327
 
EOF
13328
 
 
13329
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13330
 
  (eval $ac_compile) 2>&5
13331
 
  ac_status=$?
13332
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333
 
  (exit $ac_status); }; then
13334
 
  # Parse the compiler output and extract the necessary
13335
 
  # objects, libraries and library flags.
13336
 
 
13337
 
  # Sentinel used to keep track of whether or not we are before
13338
 
  # the conftest object file.
13339
 
  pre_test_object_deps_done=no
13340
 
 
13341
 
  # The `*' in the case matches for architectures that use `case' in
13342
 
  # $output_verbose_cmd can trigger glob expansion during the loop
13343
 
  # eval without this substitution.
13344
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13345
 
 
13346
 
  for p in `eval $output_verbose_link_cmd`; do
13347
 
    case $p in
13348
 
 
13349
 
    -L* | -R* | -l*)
13350
 
       # Some compilers place space between "-{L,R}" and the path.
13351
 
       # Remove the space.
13352
 
       if test $p = "-L" \
13353
 
          || test $p = "-R"; then
13354
 
         prev=$p
13355
 
         continue
13356
 
       else
13357
 
         prev=
13358
 
       fi
13359
 
 
13360
 
       if test "$pre_test_object_deps_done" = no; then
13361
 
         case $p in
13362
 
         -L* | -R*)
13363
 
           # Internal compiler library paths should come after those
13364
 
           # provided the user.  The postdeps already come after the
13365
 
           # user supplied libs so there is no need to process them.
13366
 
           if test -z "$compiler_lib_search_path_CXX"; then
13367
 
             compiler_lib_search_path_CXX="${prev}${p}"
13368
 
           else
13369
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13370
 
           fi
13371
 
           ;;
13372
 
         # The "-l" case would never come before the object being
13373
 
         # linked, so don't bother handling this case.
13374
 
         esac
13375
 
       else
13376
 
         if test -z "$postdeps_CXX"; then
13377
 
           postdeps_CXX="${prev}${p}"
13378
 
         else
13379
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13380
 
         fi
13381
 
       fi
13382
 
       ;;
13383
 
 
13384
 
    *.$objext)
13385
 
       # This assumes that the test object file only shows up
13386
 
       # once in the compiler output.
13387
 
       if test "$p" = "conftest.$objext"; then
13388
 
         pre_test_object_deps_done=yes
13389
 
         continue
13390
 
       fi
13391
 
 
13392
 
       if test "$pre_test_object_deps_done" = no; then
13393
 
         if test -z "$predep_objects_CXX"; then
13394
 
           predep_objects_CXX="$p"
13395
 
         else
13396
 
           predep_objects_CXX="$predep_objects_CXX $p"
13397
 
         fi
13398
 
       else
13399
 
         if test -z "$postdep_objects_CXX"; then
13400
 
           postdep_objects_CXX="$p"
13401
 
         else
13402
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
13403
 
         fi
13404
 
       fi
13405
 
       ;;
13406
 
 
13407
 
    *) ;; # Ignore the rest.
13408
 
 
13409
 
    esac
13410
 
  done
13411
 
 
13412
 
  # Clean up.
13413
 
  rm -f a.out a.exe
13414
 
else
13415
 
  echo "libtool.m4: error: problem compiling CXX test program"
13416
 
fi
13417
 
 
13418
 
$rm -f confest.$objext
13419
 
 
13420
 
compiler_lib_search_dirs_CXX=
13421
 
if test -n "$compiler_lib_search_path_CXX"; then
13422
 
  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13423
 
fi
13424
 
 
13425
 
# PORTME: override above test on systems where it is broken
13426
 
case $host_os in
13427
 
interix[3-9]*)
13428
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13429
 
  # hack all around it, let's just trust "g++" to DTRT.
13430
 
  predep_objects_CXX=
13431
 
  postdep_objects_CXX=
13432
 
  postdeps_CXX=
13433
 
  ;;
13434
 
 
13435
 
linux*)
13436
 
  case `$CC -V 2>&1 | sed 5q` in
13437
 
  *Sun\ C*)
13438
 
    # Sun C++ 5.9
13439
 
    #
13440
 
    # The more standards-conforming stlport4 library is
13441
 
    # incompatible with the Cstd library. Avoid specifying
13442
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13443
 
    # -library=stlport4 depends on it.
13444
 
    case " $CXX $CXXFLAGS " in
13445
 
    *" -library=stlport4 "*)
13446
 
      solaris_use_stlport4=yes
13447
 
      ;;
13448
 
    esac
13449
 
    if test "$solaris_use_stlport4" != yes; then
13450
 
      postdeps_CXX='-library=Cstd -library=Crun'
13451
 
    fi
13452
 
    ;;
13453
 
  esac
13454
 
  ;;
13455
 
 
13456
 
solaris*)
13457
 
  case $cc_basename in
13458
 
  CC*)
13459
 
    # The more standards-conforming stlport4 library is
13460
 
    # incompatible with the Cstd library. Avoid specifying
13461
 
    # it if it's in CXXFLAGS. Ignore libCrun as
13462
 
    # -library=stlport4 depends on it.
13463
 
    case " $CXX $CXXFLAGS " in
13464
 
    *" -library=stlport4 "*)
13465
 
      solaris_use_stlport4=yes
13466
 
      ;;
13467
 
    esac
13468
 
 
13469
 
    # Adding this requires a known-good setup of shared libraries for
13470
 
    # Sun compiler versions before 5.6, else PIC objects from an old
13471
 
    # archive will be linked into the output, leading to subtle bugs.
13472
 
    if test "$solaris_use_stlport4" != yes; then
13473
 
      postdeps_CXX='-library=Cstd -library=Crun'
13474
 
    fi
13475
 
    ;;
13476
 
  esac
13477
 
  ;;
13478
 
esac
13479
 
 
13480
 
case " $postdeps_CXX " in
13481
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13482
 
esac
13483
 
 
13484
 
lt_prog_compiler_wl_CXX=
13485
 
lt_prog_compiler_pic_CXX=
13486
 
lt_prog_compiler_static_CXX=
13487
 
 
13488
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13489
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
13490
 
 
13491
 
  # C++ specific cases for pic, static, wl, etc.
13492
 
  if test "$GXX" = yes; then
13493
 
    lt_prog_compiler_wl_CXX='-Wl,'
13494
 
    lt_prog_compiler_static_CXX='-static'
13495
 
 
13496
 
    case $host_os in
13497
 
    aix*)
13498
 
      # All AIX code is PIC.
13499
 
      if test "$host_cpu" = ia64; then
13500
 
        # AIX 5 now supports IA64 processor
13501
 
        lt_prog_compiler_static_CXX='-Bstatic'
13502
 
      fi
13503
 
      ;;
13504
 
    amigaos*)
13505
 
      # FIXME: we need at least 68020 code to build shared libraries, but
13506
 
      # adding the `-m68020' flag to GCC prevents building anything better,
13507
 
      # like `-m68040'.
13508
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13509
 
      ;;
13510
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13511
 
      # PIC is the default for these OSes.
13512
 
      ;;
13513
 
    mingw* | cygwin* | os2* | pw32*)
13514
 
      # This hack is so that the source file can tell whether it is being
13515
 
      # built for inclusion in a dll (and should export symbols for example).
13516
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13517
 
      # (--disable-auto-import) libraries
13518
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13519
 
      ;;
13520
 
    darwin* | rhapsody*)
13521
 
      # PIC is the default on this platform
13522
 
      # Common symbols not allowed in MH_DYLIB files
13523
 
      lt_prog_compiler_pic_CXX='-fno-common'
13524
 
      ;;
13525
 
    *djgpp*)
13526
 
      # DJGPP does not support shared libraries at all
13527
 
      lt_prog_compiler_pic_CXX=
13528
 
      ;;
13529
 
    interix[3-9]*)
13530
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13531
 
      # Instead, we relocate shared libraries at runtime.
13532
 
      ;;
13533
 
    sysv4*MP*)
13534
 
      if test -d /usr/nec; then
13535
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
13536
 
      fi
13537
 
      ;;
13538
 
    hpux*)
13539
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13540
 
      # not for PA HP-UX.
13541
 
      case $host_cpu in
13542
 
      hppa*64*|ia64*)
13543
 
        ;;
13544
 
      *)
13545
 
        lt_prog_compiler_pic_CXX='-fPIC'
13546
 
        ;;
13547
 
      esac
13548
 
      ;;
13549
 
    *)
13550
 
      lt_prog_compiler_pic_CXX='-fPIC'
13551
 
      ;;
13552
 
    esac
13553
 
  else
13554
 
    case $host_os in
13555
 
      aix[4-9]*)
13556
 
        # All AIX code is PIC.
13557
 
        if test "$host_cpu" = ia64; then
13558
 
          # AIX 5 now supports IA64 processor
13559
 
          lt_prog_compiler_static_CXX='-Bstatic'
13560
 
        else
13561
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13562
 
        fi
13563
 
        ;;
13564
 
      chorus*)
13565
 
        case $cc_basename in
13566
 
        cxch68*)
13567
 
          # Green Hills C++ Compiler
13568
 
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13569
 
          ;;
13570
 
        esac
13571
 
        ;;
13572
 
       darwin*)
13573
 
         # PIC is the default on this platform
13574
 
         # Common symbols not allowed in MH_DYLIB files
13575
 
         case $cc_basename in
13576
 
           xlc*)
13577
 
           lt_prog_compiler_pic_CXX='-qnocommon'
13578
 
           lt_prog_compiler_wl_CXX='-Wl,'
13579
 
           ;;
13580
 
         esac
13581
 
       ;;
13582
 
      dgux*)
13583
 
        case $cc_basename in
13584
 
          ec++*)
13585
 
            lt_prog_compiler_pic_CXX='-KPIC'
13586
 
            ;;
13587
 
          ghcx*)
13588
 
            # Green Hills C++ Compiler
13589
 
            lt_prog_compiler_pic_CXX='-pic'
13590
 
            ;;
13591
 
          *)
13592
 
            ;;
13593
 
        esac
13594
 
        ;;
13595
 
      freebsd* | dragonfly*)
13596
 
        # FreeBSD uses GNU C++
13597
 
        ;;
13598
 
      hpux9* | hpux10* | hpux11*)
13599
 
        case $cc_basename in
13600
 
          CC*)
13601
 
            lt_prog_compiler_wl_CXX='-Wl,'
13602
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13603
 
            if test "$host_cpu" != ia64; then
13604
 
              lt_prog_compiler_pic_CXX='+Z'
13605
 
            fi
13606
 
            ;;
13607
 
          aCC*)
13608
 
            lt_prog_compiler_wl_CXX='-Wl,'
13609
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13610
 
            case $host_cpu in
13611
 
            hppa*64*|ia64*)
13612
 
              # +Z the default
13613
 
              ;;
13614
 
            *)
13615
 
              lt_prog_compiler_pic_CXX='+Z'
13616
 
              ;;
13617
 
            esac
13618
 
            ;;
13619
 
          *)
13620
 
            ;;
13621
 
        esac
13622
 
        ;;
13623
 
      interix*)
13624
 
        # This is c89, which is MS Visual C++ (no shared libs)
13625
 
        # Anyone wants to do a port?
13626
 
        ;;
13627
 
      irix5* | irix6* | nonstopux*)
13628
 
        case $cc_basename in
13629
 
          CC*)
13630
 
            lt_prog_compiler_wl_CXX='-Wl,'
13631
 
            lt_prog_compiler_static_CXX='-non_shared'
13632
 
            # CC pic flag -KPIC is the default.
13633
 
            ;;
13634
 
          *)
13635
 
            ;;
13636
 
        esac
13637
 
        ;;
13638
 
      linux* | k*bsd*-gnu)
13639
 
        case $cc_basename in
13640
 
          KCC*)
13641
 
            # KAI C++ Compiler
13642
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13643
 
            lt_prog_compiler_pic_CXX='-fPIC'
13644
 
            ;;
13645
 
          icpc* | ecpc*)
13646
 
            # Intel C++
13647
 
            lt_prog_compiler_wl_CXX='-Wl,'
13648
 
            lt_prog_compiler_pic_CXX='-KPIC'
13649
 
            lt_prog_compiler_static_CXX='-static'
13650
 
            ;;
13651
 
          pgCC* | pgcpp*)
13652
 
            # Portland Group C++ compiler.
13653
 
            lt_prog_compiler_wl_CXX='-Wl,'
13654
 
            lt_prog_compiler_pic_CXX='-fpic'
13655
 
            lt_prog_compiler_static_CXX='-Bstatic'
13656
 
            ;;
13657
 
          cxx*)
13658
 
            # Compaq C++
13659
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13660
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13661
 
            lt_prog_compiler_pic_CXX=
13662
 
            lt_prog_compiler_static_CXX='-non_shared'
13663
 
            ;;
13664
 
          *)
13665
 
            case `$CC -V 2>&1 | sed 5q` in
13666
 
            *Sun\ C*)
13667
 
              # Sun C++ 5.9
13668
 
              lt_prog_compiler_pic_CXX='-KPIC'
13669
 
              lt_prog_compiler_static_CXX='-Bstatic'
13670
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
13671
 
              ;;
13672
 
            esac
13673
 
            ;;
13674
 
        esac
13675
 
        ;;
13676
 
      lynxos*)
13677
 
        ;;
13678
 
      m88k*)
13679
 
        ;;
13680
 
      mvs*)
13681
 
        case $cc_basename in
13682
 
          cxx*)
13683
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
13684
 
            ;;
13685
 
          *)
13686
 
            ;;
13687
 
        esac
13688
 
        ;;
13689
 
      netbsd*)
13690
 
        ;;
13691
 
      osf3* | osf4* | osf5*)
13692
 
        case $cc_basename in
13693
 
          KCC*)
13694
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
13695
 
            ;;
13696
 
          RCC*)
13697
 
            # Rational C++ 2.4.1
13698
 
            lt_prog_compiler_pic_CXX='-pic'
13699
 
            ;;
13700
 
          cxx*)
13701
 
            # Digital/Compaq C++
13702
 
            lt_prog_compiler_wl_CXX='-Wl,'
13703
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
13704
 
            # Linux and Compaq Tru64 Unix objects are PIC.
13705
 
            lt_prog_compiler_pic_CXX=
13706
 
            lt_prog_compiler_static_CXX='-non_shared'
13707
 
            ;;
13708
 
          *)
13709
 
            ;;
13710
 
        esac
13711
 
        ;;
13712
 
      psos*)
13713
 
        ;;
13714
 
      solaris*)
13715
 
        case $cc_basename in
13716
 
          CC*)
13717
 
            # Sun C++ 4.2, 5.x and Centerline C++
13718
 
            lt_prog_compiler_pic_CXX='-KPIC'
13719
 
            lt_prog_compiler_static_CXX='-Bstatic'
13720
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
13721
 
            ;;
13722
 
          gcx*)
13723
 
            # Green Hills C++ Compiler
13724
 
            lt_prog_compiler_pic_CXX='-PIC'
13725
 
            ;;
13726
 
          *)
13727
 
            ;;
13728
 
        esac
13729
 
        ;;
13730
 
      sunos4*)
13731
 
        case $cc_basename in
13732
 
          CC*)
13733
 
            # Sun C++ 4.x
13734
 
            lt_prog_compiler_pic_CXX='-pic'
13735
 
            lt_prog_compiler_static_CXX='-Bstatic'
13736
 
            ;;
13737
 
          lcc*)
13738
 
            # Lucid
13739
 
            lt_prog_compiler_pic_CXX='-pic'
13740
 
            ;;
13741
 
          *)
13742
 
            ;;
13743
 
        esac
13744
 
        ;;
13745
 
      tandem*)
13746
 
        case $cc_basename in
13747
 
          NCC*)
13748
 
            # NonStop-UX NCC 3.20
13749
 
            lt_prog_compiler_pic_CXX='-KPIC'
13750
 
            ;;
13751
 
          *)
13752
 
            ;;
13753
 
        esac
13754
 
        ;;
13755
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13756
 
        case $cc_basename in
13757
 
          CC*)
13758
 
            lt_prog_compiler_wl_CXX='-Wl,'
13759
 
            lt_prog_compiler_pic_CXX='-KPIC'
13760
 
            lt_prog_compiler_static_CXX='-Bstatic'
13761
 
            ;;
13762
 
        esac
13763
 
        ;;
13764
 
      vxworks*)
13765
 
        ;;
13766
 
      *)
13767
 
        lt_prog_compiler_can_build_shared_CXX=no
13768
 
        ;;
13769
 
    esac
13770
 
  fi
13771
 
 
13772
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13773
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
13774
 
 
13775
 
#
13776
 
# Check to make sure the PIC flag actually works.
13777
 
#
13778
 
if test -n "$lt_prog_compiler_pic_CXX"; then
13779
 
 
13780
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13781
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
13782
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13783
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13784
 
else
13785
 
  lt_cv_prog_compiler_pic_works_CXX=no
13786
 
  ac_outfile=conftest.$ac_objext
13787
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13788
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13789
 
   # Insert the option either (1) after the last *FLAGS variable, or
13790
 
   # (2) before a word containing "conftest.", or (3) at the end.
13791
 
   # Note that $ac_compile itself does not contain backslashes and begins
13792
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13793
 
   # The option is referenced via a variable to avoid confusing sed.
13794
 
   lt_compile=`echo "$ac_compile" | $SED \
13795
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13796
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13797
 
   -e 's:$: $lt_compiler_flag:'`
13798
 
   (eval echo "\"\$as_me:13798: $lt_compile\"" >&5)
13799
 
   (eval "$lt_compile" 2>conftest.err)
13800
 
   ac_status=$?
13801
 
   cat conftest.err >&5
13802
 
   echo "$as_me:13802: \$? = $ac_status" >&5
13803
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
13804
 
     # The compiler can only warn and ignore the option if not recognized
13805
 
     # So say no if there are warnings other than the usual output.
13806
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13807
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13808
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13809
 
       lt_cv_prog_compiler_pic_works_CXX=yes
13810
 
     fi
13811
 
   fi
13812
 
   $rm conftest*
13813
 
 
13814
 
fi
13815
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13816
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13817
 
 
13818
 
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13819
 
    case $lt_prog_compiler_pic_CXX in
13820
 
     "" | " "*) ;;
13821
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13822
 
     esac
13823
 
else
13824
 
    lt_prog_compiler_pic_CXX=
13825
 
     lt_prog_compiler_can_build_shared_CXX=no
13826
 
fi
13827
 
 
13828
 
fi
13829
 
case $host_os in
13830
 
  # For platforms which do not support PIC, -DPIC is meaningless:
13831
 
  *djgpp*)
13832
 
    lt_prog_compiler_pic_CXX=
13833
 
    ;;
13834
 
  *)
13835
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13836
 
    ;;
13837
 
esac
13838
 
 
13839
 
#
13840
 
# Check to make sure the static flag actually works.
13841
 
#
13842
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13843
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13844
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
13845
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13846
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13847
 
else
13848
 
  lt_cv_prog_compiler_static_works_CXX=no
13849
 
   save_LDFLAGS="$LDFLAGS"
13850
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13851
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
13852
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13853
 
     # The linker can only warn and ignore the option if not recognized
13854
 
     # So say no if there are warnings
13855
 
     if test -s conftest.err; then
13856
 
       # Append any errors to the config.log.
13857
 
       cat conftest.err 1>&5
13858
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13859
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13860
 
       if diff conftest.exp conftest.er2 >/dev/null; then
13861
 
         lt_cv_prog_compiler_static_works_CXX=yes
13862
 
       fi
13863
 
     else
13864
 
       lt_cv_prog_compiler_static_works_CXX=yes
13865
 
     fi
13866
 
   fi
13867
 
   $rm -r conftest*
13868
 
   LDFLAGS="$save_LDFLAGS"
13869
 
 
13870
 
fi
13871
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13872
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
13873
 
 
13874
 
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13875
 
    :
13876
 
else
13877
 
    lt_prog_compiler_static_CXX=
13878
 
fi
13879
 
 
13880
 
 
13881
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13882
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
13883
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13884
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
13885
 
else
13886
 
  lt_cv_prog_compiler_c_o_CXX=no
13887
 
   $rm -r conftest 2>/dev/null
13888
 
   mkdir conftest
13889
 
   cd conftest
13890
 
   mkdir out
13891
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13892
 
 
13893
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
13894
 
   # Insert the option either (1) after the last *FLAGS variable, or
13895
 
   # (2) before a word containing "conftest.", or (3) at the end.
13896
 
   # Note that $ac_compile itself does not contain backslashes and begins
13897
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13898
 
   lt_compile=`echo "$ac_compile" | $SED \
13899
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13900
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13901
 
   -e 's:$: $lt_compiler_flag:'`
13902
 
   (eval echo "\"\$as_me:13902: $lt_compile\"" >&5)
13903
 
   (eval "$lt_compile" 2>out/conftest.err)
13904
 
   ac_status=$?
13905
 
   cat out/conftest.err >&5
13906
 
   echo "$as_me:13906: \$? = $ac_status" >&5
13907
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13908
 
   then
13909
 
     # The compiler can only warn and ignore the option if not recognized
13910
 
     # So say no if there are warnings
13911
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13912
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13913
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13914
 
       lt_cv_prog_compiler_c_o_CXX=yes
13915
 
     fi
13916
 
   fi
13917
 
   chmod u+w . 2>&5
13918
 
   $rm conftest*
13919
 
   # SGI C++ compiler will create directory out/ii_files/ for
13920
 
   # template instantiation
13921
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
13922
 
   $rm out/* && rmdir out
13923
 
   cd ..
13924
 
   rmdir conftest
13925
 
   $rm conftest*
13926
 
 
13927
 
fi
13928
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13929
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13930
 
 
13931
 
 
13932
 
hard_links="nottested"
13933
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13934
 
  # do not overwrite the value of need_locks provided by the user
13935
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13936
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
13937
 
  hard_links=yes
13938
 
  $rm conftest*
13939
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13940
 
  touch conftest.a
13941
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
13942
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
13943
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
13944
 
echo "${ECHO_T}$hard_links" >&6; }
13945
 
  if test "$hard_links" = no; then
13946
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13947
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13948
 
    need_locks=warn
13949
 
  fi
13950
 
else
13951
 
  need_locks=no
13952
 
fi
13953
 
 
13954
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13955
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13956
 
 
13957
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13958
 
  case $host_os in
13959
 
  aix[4-9]*)
13960
 
    # If we're using GNU nm, then we don't want the "-C" option.
13961
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
13962
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13963
 
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13964
 
    else
13965
 
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
13966
 
    fi
13967
 
    ;;
13968
 
  pw32*)
13969
 
    export_symbols_cmds_CXX="$ltdll_cmds"
13970
 
  ;;
13971
 
  cygwin* | mingw*)
13972
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13973
 
  ;;
13974
 
  *)
13975
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13976
 
  ;;
13977
 
  esac
13978
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13979
 
 
13980
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13981
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
13982
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
13983
 
 
13984
 
#
13985
 
# Do we need to explicitly link libc?
13986
 
#
13987
 
case "x$archive_cmds_need_lc_CXX" in
13988
 
x|xyes)
13989
 
  # Assume -lc should be added
13990
 
  archive_cmds_need_lc_CXX=yes
13991
 
 
13992
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
13993
 
    case $archive_cmds_CXX in
13994
 
    *'~'*)
13995
 
      # FIXME: we may have to deal with multi-command sequences.
13996
 
      ;;
13997
 
    '$CC '*)
13998
 
      # Test whether the compiler implicitly links with -lc since on some
13999
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14000
 
      # to ld, don't add -lc before -lgcc.
14001
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14002
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
14003
 
      $rm conftest*
14004
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14005
 
 
14006
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14007
 
  (eval $ac_compile) 2>&5
14008
 
  ac_status=$?
14009
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14010
 
  (exit $ac_status); } 2>conftest.err; then
14011
 
        soname=conftest
14012
 
        lib=conftest
14013
 
        libobjs=conftest.$ac_objext
14014
 
        deplibs=
14015
 
        wl=$lt_prog_compiler_wl_CXX
14016
 
        pic_flag=$lt_prog_compiler_pic_CXX
14017
 
        compiler_flags=-v
14018
 
        linker_flags=-v
14019
 
        verstring=
14020
 
        output_objdir=.
14021
 
        libname=conftest
14022
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14023
 
        allow_undefined_flag_CXX=
14024
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14025
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14026
 
  ac_status=$?
14027
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028
 
  (exit $ac_status); }
14029
 
        then
14030
 
          archive_cmds_need_lc_CXX=no
14031
 
        else
14032
 
          archive_cmds_need_lc_CXX=yes
14033
 
        fi
14034
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14035
 
      else
14036
 
        cat conftest.err 1>&5
14037
 
      fi
14038
 
      $rm conftest*
14039
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14040
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
14041
 
      ;;
14042
 
    esac
14043
 
  fi
14044
 
  ;;
14045
 
esac
14046
 
 
14047
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14048
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
14049
 
library_names_spec=
14050
 
libname_spec='lib$name'
14051
 
soname_spec=
14052
 
shrext_cmds=".so"
14053
 
postinstall_cmds=
14054
 
postuninstall_cmds=
14055
 
finish_cmds=
14056
 
finish_eval=
14057
 
shlibpath_var=
14058
 
shlibpath_overrides_runpath=unknown
14059
 
version_type=none
14060
 
dynamic_linker="$host_os ld.so"
14061
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14062
 
 
14063
 
need_lib_prefix=unknown
14064
 
hardcode_into_libs=no
14065
 
 
14066
 
# when you set need_version to no, make sure it does not cause -set_version
14067
 
# flags to be left without arguments
14068
 
need_version=unknown
14069
 
 
14070
 
case $host_os in
14071
 
aix3*)
14072
 
  version_type=linux
14073
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14074
 
  shlibpath_var=LIBPATH
14075
 
 
14076
 
  # AIX 3 has no versioning support, so we append a major version to the name.
14077
 
  soname_spec='${libname}${release}${shared_ext}$major'
14078
 
  ;;
14079
 
 
14080
 
aix[4-9]*)
14081
 
  version_type=linux
14082
 
  need_lib_prefix=no
14083
 
  need_version=no
14084
 
  hardcode_into_libs=yes
14085
 
  if test "$host_cpu" = ia64; then
14086
 
    # AIX 5 supports IA64
14087
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14088
 
    shlibpath_var=LD_LIBRARY_PATH
14089
 
  else
14090
 
    # With GCC up to 2.95.x, collect2 would create an import file
14091
 
    # for dependence libraries.  The import file would start with
14092
 
    # the line `#! .'.  This would cause the generated library to
14093
 
    # depend on `.', always an invalid library.  This was fixed in
14094
 
    # development snapshots of GCC prior to 3.0.
14095
 
    case $host_os in
14096
 
      aix4 | aix4.[01] | aix4.[01].*)
14097
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14098
 
           echo ' yes '
14099
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14100
 
        :
14101
 
      else
14102
 
        can_build_shared=no
14103
 
      fi
14104
 
      ;;
14105
 
    esac
14106
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14107
 
    # soname into executable. Probably we can add versioning support to
14108
 
    # collect2, so additional links can be useful in future.
14109
 
    if test "$aix_use_runtimelinking" = yes; then
14110
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14111
 
      # instead of lib<name>.a to let people know that these are not
14112
 
      # typical AIX shared libraries.
14113
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14114
 
    else
14115
 
      # We preserve .a as extension for shared libraries through AIX4.2
14116
 
      # and later when we are not doing run time linking.
14117
 
      library_names_spec='${libname}${release}.a $libname.a'
14118
 
      soname_spec='${libname}${release}${shared_ext}$major'
14119
 
    fi
14120
 
    shlibpath_var=LIBPATH
14121
 
  fi
14122
 
  ;;
14123
 
 
14124
 
amigaos*)
14125
 
  library_names_spec='$libname.ixlibrary $libname.a'
14126
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
14127
 
  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'
14128
 
  ;;
14129
 
 
14130
 
beos*)
14131
 
  library_names_spec='${libname}${shared_ext}'
14132
 
  dynamic_linker="$host_os ld.so"
14133
 
  shlibpath_var=LIBRARY_PATH
14134
 
  ;;
14135
 
 
14136
 
bsdi[45]*)
14137
 
  version_type=linux
14138
 
  need_version=no
14139
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14140
 
  soname_spec='${libname}${release}${shared_ext}$major'
14141
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14142
 
  shlibpath_var=LD_LIBRARY_PATH
14143
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14144
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14145
 
  # the default ld.so.conf also contains /usr/contrib/lib and
14146
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14147
 
  # libtool to hard-code these into programs
14148
 
  ;;
14149
 
 
14150
 
cygwin* | mingw* | pw32*)
14151
 
  version_type=windows
14152
 
  shrext_cmds=".dll"
14153
 
  need_version=no
14154
 
  need_lib_prefix=no
14155
 
 
14156
 
  case $GCC,$host_os in
14157
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
14158
 
    library_names_spec='$libname.dll.a'
14159
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14160
 
    postinstall_cmds='base_file=`basename \${file}`~
14161
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14162
 
      dldir=$destdir/`dirname \$dlpath`~
14163
 
      test -d \$dldir || mkdir -p \$dldir~
14164
 
      $install_prog $dir/$dlname \$dldir/$dlname~
14165
 
      chmod a+x \$dldir/$dlname'
14166
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14167
 
      dlpath=$dir/\$dldll~
14168
 
       $rm \$dlpath'
14169
 
    shlibpath_overrides_runpath=yes
14170
 
 
14171
 
    case $host_os in
14172
 
    cygwin*)
14173
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14174
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14175
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14176
 
      ;;
14177
 
    mingw*)
14178
 
      # MinGW DLLs use traditional 'lib' prefix
14179
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14180
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14181
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14182
 
        # It is most probably a Windows format PATH printed by
14183
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
14184
 
        # path with ; separators, and with drive letters. We can handle the
14185
 
        # drive letters (cygwin fileutils understands them), so leave them,
14186
 
        # especially as we might pass files found there to a mingw objdump,
14187
 
        # which wouldn't understand a cygwinified path. Ahh.
14188
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14189
 
      else
14190
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
14191
 
      fi
14192
 
      ;;
14193
 
    pw32*)
14194
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14195
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14196
 
      ;;
14197
 
    esac
14198
 
    ;;
14199
 
 
14200
 
  *)
14201
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14202
 
    ;;
14203
 
  esac
14204
 
  dynamic_linker='Win32 ld.exe'
14205
 
  # FIXME: first we should search . and the directory the executable is in
14206
 
  shlibpath_var=PATH
14207
 
  ;;
14208
 
 
14209
 
darwin* | rhapsody*)
14210
 
  dynamic_linker="$host_os dyld"
14211
 
  version_type=darwin
14212
 
  need_lib_prefix=no
14213
 
  need_version=no
14214
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14215
 
  soname_spec='${libname}${release}${major}$shared_ext'
14216
 
  shlibpath_overrides_runpath=yes
14217
 
  shlibpath_var=DYLD_LIBRARY_PATH
14218
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14219
 
 
14220
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14221
 
  ;;
14222
 
 
14223
 
dgux*)
14224
 
  version_type=linux
14225
 
  need_lib_prefix=no
14226
 
  need_version=no
14227
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14228
 
  soname_spec='${libname}${release}${shared_ext}$major'
14229
 
  shlibpath_var=LD_LIBRARY_PATH
14230
 
  ;;
14231
 
 
14232
 
freebsd1*)
14233
 
  dynamic_linker=no
14234
 
  ;;
14235
 
 
14236
 
freebsd* | dragonfly*)
14237
 
  # DragonFly does not have aout.  When/if they implement a new
14238
 
  # versioning mechanism, adjust this.
14239
 
  if test -x /usr/bin/objformat; then
14240
 
    objformat=`/usr/bin/objformat`
14241
 
  else
14242
 
    case $host_os in
14243
 
    freebsd[123]*) objformat=aout ;;
14244
 
    *) objformat=elf ;;
14245
 
    esac
14246
 
  fi
14247
 
  version_type=freebsd-$objformat
14248
 
  case $version_type in
14249
 
    freebsd-elf*)
14250
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14251
 
      need_version=no
14252
 
      need_lib_prefix=no
14253
 
      ;;
14254
 
    freebsd-*)
14255
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14256
 
      need_version=yes
14257
 
      ;;
14258
 
  esac
14259
 
  shlibpath_var=LD_LIBRARY_PATH
14260
 
  case $host_os in
14261
 
  freebsd2*)
14262
 
    shlibpath_overrides_runpath=yes
14263
 
    ;;
14264
 
  freebsd3.[01]* | freebsdelf3.[01]*)
14265
 
    shlibpath_overrides_runpath=yes
14266
 
    hardcode_into_libs=yes
14267
 
    ;;
14268
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14269
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14270
 
    shlibpath_overrides_runpath=no
14271
 
    hardcode_into_libs=yes
14272
 
    ;;
14273
 
  *) # from 4.6 on, and DragonFly
14274
 
    shlibpath_overrides_runpath=yes
14275
 
    hardcode_into_libs=yes
14276
 
    ;;
14277
 
  esac
14278
 
  ;;
14279
 
 
14280
 
gnu*)
14281
 
  version_type=linux
14282
 
  need_lib_prefix=no
14283
 
  need_version=no
14284
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14285
 
  soname_spec='${libname}${release}${shared_ext}$major'
14286
 
  shlibpath_var=LD_LIBRARY_PATH
14287
 
  hardcode_into_libs=yes
14288
 
  ;;
14289
 
 
14290
 
hpux9* | hpux10* | hpux11*)
14291
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
14292
 
  # link against other versions.
14293
 
  version_type=sunos
14294
 
  need_lib_prefix=no
14295
 
  need_version=no
14296
 
  case $host_cpu in
14297
 
  ia64*)
14298
 
    shrext_cmds='.so'
14299
 
    hardcode_into_libs=yes
14300
 
    dynamic_linker="$host_os dld.so"
14301
 
    shlibpath_var=LD_LIBRARY_PATH
14302
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14303
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14304
 
    soname_spec='${libname}${release}${shared_ext}$major'
14305
 
    if test "X$HPUX_IA64_MODE" = X32; then
14306
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14307
 
    else
14308
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14309
 
    fi
14310
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14311
 
    ;;
14312
 
   hppa*64*)
14313
 
     shrext_cmds='.sl'
14314
 
     hardcode_into_libs=yes
14315
 
     dynamic_linker="$host_os dld.sl"
14316
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14317
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14318
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14319
 
     soname_spec='${libname}${release}${shared_ext}$major'
14320
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14321
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14322
 
     ;;
14323
 
   *)
14324
 
    shrext_cmds='.sl'
14325
 
    dynamic_linker="$host_os dld.sl"
14326
 
    shlibpath_var=SHLIB_PATH
14327
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14328
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14329
 
    soname_spec='${libname}${release}${shared_ext}$major'
14330
 
    ;;
14331
 
  esac
14332
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
14333
 
  postinstall_cmds='chmod 555 $lib'
14334
 
  ;;
14335
 
 
14336
 
interix[3-9]*)
14337
 
  version_type=linux
14338
 
  need_lib_prefix=no
14339
 
  need_version=no
14340
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14341
 
  soname_spec='${libname}${release}${shared_ext}$major'
14342
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14343
 
  shlibpath_var=LD_LIBRARY_PATH
14344
 
  shlibpath_overrides_runpath=no
14345
 
  hardcode_into_libs=yes
14346
 
  ;;
14347
 
 
14348
 
irix5* | irix6* | nonstopux*)
14349
 
  case $host_os in
14350
 
    nonstopux*) version_type=nonstopux ;;
14351
 
    *)
14352
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
14353
 
                version_type=linux
14354
 
        else
14355
 
                version_type=irix
14356
 
        fi ;;
14357
 
  esac
14358
 
  need_lib_prefix=no
14359
 
  need_version=no
14360
 
  soname_spec='${libname}${release}${shared_ext}$major'
14361
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14362
 
  case $host_os in
14363
 
  irix5* | nonstopux*)
14364
 
    libsuff= shlibsuff=
14365
 
    ;;
14366
 
  *)
14367
 
    case $LD in # libtool.m4 will add one of these switches to LD
14368
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14369
 
      libsuff= shlibsuff= libmagic=32-bit;;
14370
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14371
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
14372
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14373
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
14374
 
    *) libsuff= shlibsuff= libmagic=never-match;;
14375
 
    esac
14376
 
    ;;
14377
 
  esac
14378
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14379
 
  shlibpath_overrides_runpath=no
14380
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14381
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14382
 
  hardcode_into_libs=yes
14383
 
  ;;
14384
 
 
14385
 
# No shared lib support for Linux oldld, aout, or coff.
14386
 
linux*oldld* | linux*aout* | linux*coff*)
14387
 
  dynamic_linker=no
14388
 
  ;;
14389
 
 
14390
 
# This must be Linux ELF.
14391
 
linux* | k*bsd*-gnu)
14392
 
  version_type=linux
14393
 
  need_lib_prefix=no
14394
 
  need_version=no
14395
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14396
 
  soname_spec='${libname}${release}${shared_ext}$major'
14397
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14398
 
  shlibpath_var=LD_LIBRARY_PATH
14399
 
  shlibpath_overrides_runpath=no
14400
 
  # This implies no fast_install, which is unacceptable.
14401
 
  # Some rework will be needed to allow for fast_install
14402
 
  # before this can be enabled.
14403
 
  hardcode_into_libs=yes
14404
 
 
14405
 
  # Append ld.so.conf contents to the search path
14406
 
  if test -f /etc/ld.so.conf; then
14407
 
    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' ' '`
14408
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14409
 
  fi
14410
 
 
14411
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14412
 
  # powerpc, because MkLinux only supported shared libraries with the
14413
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
14414
 
  # most powerpc-linux boxes support dynamic linking these days and
14415
 
  # people can always --disable-shared, the test was removed, and we
14416
 
  # assume the GNU/Linux dynamic linker is in use.
14417
 
  dynamic_linker='GNU/Linux ld.so'
14418
 
  ;;
14419
 
 
14420
 
netbsd*)
14421
 
  version_type=sunos
14422
 
  need_lib_prefix=no
14423
 
  need_version=no
14424
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14425
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14426
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14427
 
    dynamic_linker='NetBSD (a.out) ld.so'
14428
 
  else
14429
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14430
 
    soname_spec='${libname}${release}${shared_ext}$major'
14431
 
    dynamic_linker='NetBSD ld.elf_so'
14432
 
  fi
14433
 
  shlibpath_var=LD_LIBRARY_PATH
14434
 
  shlibpath_overrides_runpath=yes
14435
 
  hardcode_into_libs=yes
14436
 
  ;;
14437
 
 
14438
 
newsos6)
14439
 
  version_type=linux
14440
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14441
 
  shlibpath_var=LD_LIBRARY_PATH
14442
 
  shlibpath_overrides_runpath=yes
14443
 
  ;;
14444
 
 
14445
 
nto-qnx*)
14446
 
  version_type=linux
14447
 
  need_lib_prefix=no
14448
 
  need_version=no
14449
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14450
 
  soname_spec='${libname}${release}${shared_ext}$major'
14451
 
  shlibpath_var=LD_LIBRARY_PATH
14452
 
  shlibpath_overrides_runpath=yes
14453
 
  ;;
14454
 
 
14455
 
openbsd*)
14456
 
  version_type=sunos
14457
 
  sys_lib_dlsearch_path_spec="/usr/lib"
14458
 
  need_lib_prefix=no
14459
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14460
 
  case $host_os in
14461
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14462
 
    *)                         need_version=no  ;;
14463
 
  esac
14464
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14465
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14466
 
  shlibpath_var=LD_LIBRARY_PATH
14467
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14468
 
    case $host_os in
14469
 
      openbsd2.[89] | openbsd2.[89].*)
14470
 
        shlibpath_overrides_runpath=no
14471
 
        ;;
14472
 
      *)
14473
 
        shlibpath_overrides_runpath=yes
14474
 
        ;;
14475
 
      esac
14476
 
  else
14477
 
    shlibpath_overrides_runpath=yes
14478
 
  fi
14479
 
  ;;
14480
 
 
14481
 
os2*)
14482
 
  libname_spec='$name'
14483
 
  shrext_cmds=".dll"
14484
 
  need_lib_prefix=no
14485
 
  library_names_spec='$libname${shared_ext} $libname.a'
14486
 
  dynamic_linker='OS/2 ld.exe'
14487
 
  shlibpath_var=LIBPATH
14488
 
  ;;
14489
 
 
14490
 
osf3* | osf4* | osf5*)
14491
 
  version_type=osf
14492
 
  need_lib_prefix=no
14493
 
  need_version=no
14494
 
  soname_spec='${libname}${release}${shared_ext}$major'
14495
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14496
 
  shlibpath_var=LD_LIBRARY_PATH
14497
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14498
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14499
 
  ;;
14500
 
 
14501
 
rdos*)
14502
 
  dynamic_linker=no
14503
 
  ;;
14504
 
 
14505
 
solaris*)
14506
 
  version_type=linux
14507
 
  need_lib_prefix=no
14508
 
  need_version=no
14509
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510
 
  soname_spec='${libname}${release}${shared_ext}$major'
14511
 
  shlibpath_var=LD_LIBRARY_PATH
14512
 
  shlibpath_overrides_runpath=yes
14513
 
  hardcode_into_libs=yes
14514
 
  # ldd complains unless libraries are executable
14515
 
  postinstall_cmds='chmod +x $lib'
14516
 
  ;;
14517
 
 
14518
 
sunos4*)
14519
 
  version_type=sunos
14520
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14521
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14522
 
  shlibpath_var=LD_LIBRARY_PATH
14523
 
  shlibpath_overrides_runpath=yes
14524
 
  if test "$with_gnu_ld" = yes; then
14525
 
    need_lib_prefix=no
14526
 
  fi
14527
 
  need_version=yes
14528
 
  ;;
14529
 
 
14530
 
sysv4 | sysv4.3*)
14531
 
  version_type=linux
14532
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14533
 
  soname_spec='${libname}${release}${shared_ext}$major'
14534
 
  shlibpath_var=LD_LIBRARY_PATH
14535
 
  case $host_vendor in
14536
 
    sni)
14537
 
      shlibpath_overrides_runpath=no
14538
 
      need_lib_prefix=no
14539
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
14540
 
      runpath_var=LD_RUN_PATH
14541
 
      ;;
14542
 
    siemens)
14543
 
      need_lib_prefix=no
14544
 
      ;;
14545
 
    motorola)
14546
 
      need_lib_prefix=no
14547
 
      need_version=no
14548
 
      shlibpath_overrides_runpath=no
14549
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14550
 
      ;;
14551
 
  esac
14552
 
  ;;
14553
 
 
14554
 
sysv4*MP*)
14555
 
  if test -d /usr/nec ;then
14556
 
    version_type=linux
14557
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14558
 
    soname_spec='$libname${shared_ext}.$major'
14559
 
    shlibpath_var=LD_LIBRARY_PATH
14560
 
  fi
14561
 
  ;;
14562
 
 
14563
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14564
 
  version_type=freebsd-elf
14565
 
  need_lib_prefix=no
14566
 
  need_version=no
14567
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14568
 
  soname_spec='${libname}${release}${shared_ext}$major'
14569
 
  shlibpath_var=LD_LIBRARY_PATH
14570
 
  hardcode_into_libs=yes
14571
 
  if test "$with_gnu_ld" = yes; then
14572
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14573
 
    shlibpath_overrides_runpath=no
14574
 
  else
14575
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14576
 
    shlibpath_overrides_runpath=yes
14577
 
    case $host_os in
14578
 
      sco3.2v5*)
14579
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14580
 
        ;;
14581
 
    esac
14582
 
  fi
14583
 
  sys_lib_dlsearch_path_spec='/usr/lib'
14584
 
  ;;
14585
 
 
14586
 
uts4*)
14587
 
  version_type=linux
14588
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14589
 
  soname_spec='${libname}${release}${shared_ext}$major'
14590
 
  shlibpath_var=LD_LIBRARY_PATH
14591
 
  ;;
14592
 
 
14593
 
*)
14594
 
  dynamic_linker=no
14595
 
  ;;
14596
 
esac
14597
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14598
 
echo "${ECHO_T}$dynamic_linker" >&6; }
14599
 
test "$dynamic_linker" = no && can_build_shared=no
14600
 
 
14601
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14602
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14603
 
else
14604
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
14605
 
fi
14606
 
 
14607
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14608
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14609
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14610
 
else
14611
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
14612
 
fi
14613
 
 
14614
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14615
 
 
14616
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14617
 
if test "$GCC" = yes; then
14618
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14619
 
fi
14620
 
 
14621
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14622
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
14623
 
hardcode_action_CXX=
14624
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
14625
 
   test -n "$runpath_var_CXX" || \
14626
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
14627
 
 
14628
 
  # We can hardcode non-existant directories.
14629
 
  if test "$hardcode_direct_CXX" != no &&
14630
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
14631
 
     # have to relink, otherwise we might link with an installed library
14632
 
     # when we should be linking with a yet-to-be-installed one
14633
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14634
 
     test "$hardcode_minus_L_CXX" != no; then
14635
 
    # Linking always hardcodes the temporary library directory.
14636
 
    hardcode_action_CXX=relink
14637
 
  else
14638
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
14639
 
    hardcode_action_CXX=immediate
14640
 
  fi
14641
 
else
14642
 
  # We cannot hardcode anything, or else we can only hardcode existing
14643
 
  # directories.
14644
 
  hardcode_action_CXX=unsupported
14645
 
fi
14646
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14647
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
14648
 
 
14649
 
if test "$hardcode_action_CXX" = relink; then
14650
 
  # Fast installation is not supported
14651
 
  enable_fast_install=no
14652
 
elif test "$shlibpath_overrides_runpath" = yes ||
14653
 
     test "$enable_shared" = no; then
14654
 
  # Fast installation is not necessary
14655
 
  enable_fast_install=needless
14656
 
fi
14657
 
 
14658
 
 
14659
 
# The else clause should only fire when bootstrapping the
14660
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
14661
 
# with your package, and you will get complaints that there are
14662
 
# no rules to generate ltmain.sh.
14663
 
if test -f "$ltmain"; then
14664
 
  # See if we are running on zsh, and set the options which allow our commands through
14665
 
  # without removal of \ escapes.
14666
 
  if test -n "${ZSH_VERSION+set}" ; then
14667
 
    setopt NO_GLOB_SUBST
14668
 
  fi
14669
 
  # Now quote all the things that may contain metacharacters while being
14670
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
14671
 
  # variables and quote the copies for generation of the libtool script.
14672
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
14673
 
    SED SHELL STRIP \
14674
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14675
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14676
 
    deplibs_check_method reload_flag reload_cmds need_locks \
14677
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14678
 
    lt_cv_sys_global_symbol_to_c_name_address \
14679
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14680
 
    old_postinstall_cmds old_postuninstall_cmds \
14681
 
    compiler_CXX \
14682
 
    CC_CXX \
14683
 
    LD_CXX \
14684
 
    lt_prog_compiler_wl_CXX \
14685
 
    lt_prog_compiler_pic_CXX \
14686
 
    lt_prog_compiler_static_CXX \
14687
 
    lt_prog_compiler_no_builtin_flag_CXX \
14688
 
    export_dynamic_flag_spec_CXX \
14689
 
    thread_safe_flag_spec_CXX \
14690
 
    whole_archive_flag_spec_CXX \
14691
 
    enable_shared_with_static_runtimes_CXX \
14692
 
    old_archive_cmds_CXX \
14693
 
    old_archive_from_new_cmds_CXX \
14694
 
    predep_objects_CXX \
14695
 
    postdep_objects_CXX \
14696
 
    predeps_CXX \
14697
 
    postdeps_CXX \
14698
 
    compiler_lib_search_path_CXX \
14699
 
    compiler_lib_search_dirs_CXX \
14700
 
    archive_cmds_CXX \
14701
 
    archive_expsym_cmds_CXX \
14702
 
    postinstall_cmds_CXX \
14703
 
    postuninstall_cmds_CXX \
14704
 
    old_archive_from_expsyms_cmds_CXX \
14705
 
    allow_undefined_flag_CXX \
14706
 
    no_undefined_flag_CXX \
14707
 
    export_symbols_cmds_CXX \
14708
 
    hardcode_libdir_flag_spec_CXX \
14709
 
    hardcode_libdir_flag_spec_ld_CXX \
14710
 
    hardcode_libdir_separator_CXX \
14711
 
    hardcode_automatic_CXX \
14712
 
    module_cmds_CXX \
14713
 
    module_expsym_cmds_CXX \
14714
 
    lt_cv_prog_compiler_c_o_CXX \
14715
 
    fix_srcfile_path_CXX \
14716
 
    exclude_expsyms_CXX \
14717
 
    include_expsyms_CXX; do
14718
 
 
14719
 
    case $var in
14720
 
    old_archive_cmds_CXX | \
14721
 
    old_archive_from_new_cmds_CXX | \
14722
 
    archive_cmds_CXX | \
14723
 
    archive_expsym_cmds_CXX | \
14724
 
    module_cmds_CXX | \
14725
 
    module_expsym_cmds_CXX | \
14726
 
    old_archive_from_expsyms_cmds_CXX | \
14727
 
    export_symbols_cmds_CXX | \
14728
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
14729
 
    postinstall_cmds | postuninstall_cmds | \
14730
 
    old_postinstall_cmds | old_postuninstall_cmds | \
14731
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14732
 
      # Double-quote double-evaled strings.
14733
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14734
 
      ;;
14735
 
    *)
14736
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14737
 
      ;;
14738
 
    esac
14739
 
  done
14740
 
 
14741
 
  case $lt_echo in
14742
 
  *'\$0 --fallback-echo"')
14743
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14744
 
    ;;
14745
 
  esac
14746
 
 
14747
 
cfgfile="$ofile"
14748
 
 
14749
 
  cat <<__EOF__ >> "$cfgfile"
14750
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
14751
 
 
14752
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14753
 
 
14754
 
# Shell to use when invoking shell scripts.
14755
 
SHELL=$lt_SHELL
14756
 
 
14757
 
# Whether or not to build shared libraries.
14758
 
build_libtool_libs=$enable_shared
14759
 
 
14760
 
# Whether or not to build static libraries.
14761
 
build_old_libs=$enable_static
14762
 
 
14763
 
# Whether or not to add -lc for building shared libraries.
14764
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
14765
 
 
14766
 
# Whether or not to disallow shared libs when runtime libs are static
14767
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
14768
 
 
14769
 
# Whether or not to optimize for fast installation.
14770
 
fast_install=$enable_fast_install
14771
 
 
14772
 
# The host system.
14773
 
host_alias=$host_alias
14774
 
host=$host
14775
 
host_os=$host_os
14776
 
 
14777
 
# The build system.
14778
 
build_alias=$build_alias
14779
 
build=$build
14780
 
build_os=$build_os
14781
 
 
14782
 
# An echo program that does not interpret backslashes.
14783
 
echo=$lt_echo
14784
 
 
14785
 
# The archiver.
14786
 
AR=$lt_AR
14787
 
AR_FLAGS=$lt_AR_FLAGS
14788
 
 
14789
 
# A C compiler.
14790
 
LTCC=$lt_LTCC
14791
 
 
14792
 
# LTCC compiler flags.
14793
 
LTCFLAGS=$lt_LTCFLAGS
14794
 
 
14795
 
# A language-specific compiler.
14796
 
CC=$lt_compiler_CXX
14797
 
 
14798
 
# Is the compiler the GNU C compiler?
14799
 
with_gcc=$GCC_CXX
14800
 
 
14801
 
# An ERE matcher.
14802
 
EGREP=$lt_EGREP
14803
 
 
14804
 
# The linker used to build libraries.
14805
 
LD=$lt_LD_CXX
14806
 
 
14807
 
# Whether we need hard or soft links.
14808
 
LN_S=$lt_LN_S
14809
 
 
14810
 
# A BSD-compatible nm program.
14811
 
NM=$lt_NM
14812
 
 
14813
 
# A symbol stripping program
14814
 
STRIP=$lt_STRIP
14815
 
 
14816
 
# Used to examine libraries when file_magic_cmd begins "file"
14817
 
MAGIC_CMD=$MAGIC_CMD
14818
 
 
14819
 
# Used on cygwin: DLL creation program.
14820
 
DLLTOOL="$DLLTOOL"
14821
 
 
14822
 
# Used on cygwin: object dumper.
14823
 
OBJDUMP="$OBJDUMP"
14824
 
 
14825
 
# Used on cygwin: assembler.
14826
 
AS="$AS"
14827
 
 
14828
 
# The name of the directory that contains temporary libtool files.
14829
 
objdir=$objdir
14830
 
 
14831
 
# How to create reloadable object files.
14832
 
reload_flag=$lt_reload_flag
14833
 
reload_cmds=$lt_reload_cmds
14834
 
 
14835
 
# How to pass a linker flag through the compiler.
14836
 
wl=$lt_lt_prog_compiler_wl_CXX
14837
 
 
14838
 
# Object file suffix (normally "o").
14839
 
objext="$ac_objext"
14840
 
 
14841
 
# Old archive suffix (normally "a").
14842
 
libext="$libext"
14843
 
 
14844
 
# Shared library suffix (normally ".so").
14845
 
shrext_cmds='$shrext_cmds'
14846
 
 
14847
 
# Executable file suffix (normally "").
14848
 
exeext="$exeext"
14849
 
 
14850
 
# Additional compiler flags for building library objects.
14851
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
14852
 
pic_mode=$pic_mode
14853
 
 
14854
 
# What is the maximum length of a command?
14855
 
max_cmd_len=$lt_cv_sys_max_cmd_len
14856
 
 
14857
 
# Does compiler simultaneously support -c and -o options?
14858
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
14859
 
 
14860
 
# Must we lock files when doing compilation?
14861
 
need_locks=$lt_need_locks
14862
 
 
14863
 
# Do we need the lib prefix for modules?
14864
 
need_lib_prefix=$need_lib_prefix
14865
 
 
14866
 
# Do we need a version for libraries?
14867
 
need_version=$need_version
14868
 
 
14869
 
# Whether dlopen is supported.
14870
 
dlopen_support=$enable_dlopen
14871
 
 
14872
 
# Whether dlopen of programs is supported.
14873
 
dlopen_self=$enable_dlopen_self
14874
 
 
14875
 
# Whether dlopen of statically linked programs is supported.
14876
 
dlopen_self_static=$enable_dlopen_self_static
14877
 
 
14878
 
# Compiler flag to prevent dynamic linking.
14879
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
14880
 
 
14881
 
# Compiler flag to turn off builtin functions.
14882
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14883
 
 
14884
 
# Compiler flag to allow reflexive dlopens.
14885
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14886
 
 
14887
 
# Compiler flag to generate shared objects directly from archives.
14888
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14889
 
 
14890
 
# Compiler flag to generate thread-safe objects.
14891
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14892
 
 
14893
 
# Library versioning type.
14894
 
version_type=$version_type
14895
 
 
14896
 
# Format of library name prefix.
14897
 
libname_spec=$lt_libname_spec
14898
 
 
14899
 
# List of archive names.  First name is the real one, the rest are links.
14900
 
# The last name is the one that the linker finds with -lNAME.
14901
 
library_names_spec=$lt_library_names_spec
14902
 
 
14903
 
# The coded name of the library, if different from the real name.
14904
 
soname_spec=$lt_soname_spec
14905
 
 
14906
 
# Commands used to build and install an old-style archive.
14907
 
RANLIB=$lt_RANLIB
14908
 
old_archive_cmds=$lt_old_archive_cmds_CXX
14909
 
old_postinstall_cmds=$lt_old_postinstall_cmds
14910
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14911
 
 
14912
 
# Create an old-style archive from a shared archive.
14913
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14914
 
 
14915
 
# Create a temporary old-style archive to link instead of a shared archive.
14916
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14917
 
 
14918
 
# Commands used to build and install a shared archive.
14919
 
archive_cmds=$lt_archive_cmds_CXX
14920
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14921
 
postinstall_cmds=$lt_postinstall_cmds
14922
 
postuninstall_cmds=$lt_postuninstall_cmds
14923
 
 
14924
 
# Commands used to build a loadable module (assumed same as above if empty)
14925
 
module_cmds=$lt_module_cmds_CXX
14926
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
14927
 
 
14928
 
# Commands to strip libraries.
14929
 
old_striplib=$lt_old_striplib
14930
 
striplib=$lt_striplib
14931
 
 
14932
 
# Dependencies to place before the objects being linked to create a
14933
 
# shared library.
14934
 
predep_objects=$lt_predep_objects_CXX
14935
 
 
14936
 
# Dependencies to place after the objects being linked to create a
14937
 
# shared library.
14938
 
postdep_objects=$lt_postdep_objects_CXX
14939
 
 
14940
 
# Dependencies to place before the objects being linked to create a
14941
 
# shared library.
14942
 
predeps=$lt_predeps_CXX
14943
 
 
14944
 
# Dependencies to place after the objects being linked to create a
14945
 
# shared library.
14946
 
postdeps=$lt_postdeps_CXX
14947
 
 
14948
 
# The directories searched by this compiler when creating a shared
14949
 
# library
14950
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14951
 
 
14952
 
# The library search path used internally by the compiler when linking
14953
 
# a shared library.
14954
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14955
 
 
14956
 
# Method to check whether dependent libraries are shared objects.
14957
 
deplibs_check_method=$lt_deplibs_check_method
14958
 
 
14959
 
# Command to use when deplibs_check_method == file_magic.
14960
 
file_magic_cmd=$lt_file_magic_cmd
14961
 
 
14962
 
# Flag that allows shared libraries with undefined symbols to be built.
14963
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
14964
 
 
14965
 
# Flag that forces no undefined symbols.
14966
 
no_undefined_flag=$lt_no_undefined_flag_CXX
14967
 
 
14968
 
# Commands used to finish a libtool library installation in a directory.
14969
 
finish_cmds=$lt_finish_cmds
14970
 
 
14971
 
# Same as above, but a single script fragment to be evaled but not shown.
14972
 
finish_eval=$lt_finish_eval
14973
 
 
14974
 
# Take the output of nm and produce a listing of raw symbols and C names.
14975
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14976
 
 
14977
 
# Transform the output of nm in a proper C declaration
14978
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14979
 
 
14980
 
# Transform the output of nm in a C name address pair
14981
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14982
 
 
14983
 
# This is the shared library runtime path variable.
14984
 
runpath_var=$runpath_var
14985
 
 
14986
 
# This is the shared library path variable.
14987
 
shlibpath_var=$shlibpath_var
14988
 
 
14989
 
# Is shlibpath searched before the hard-coded library search path?
14990
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14991
 
 
14992
 
# How to hardcode a shared library path into an executable.
14993
 
hardcode_action=$hardcode_action_CXX
14994
 
 
14995
 
# Whether we should hardcode library paths into libraries.
14996
 
hardcode_into_libs=$hardcode_into_libs
14997
 
 
14998
 
# Flag to hardcode \$libdir into a binary during linking.
14999
 
# This must work even if \$libdir does not exist.
15000
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
15001
 
 
15002
 
# If ld is used when linking, flag to hardcode \$libdir into
15003
 
# a binary during linking. This must work even if \$libdir does
15004
 
# not exist.
15005
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
15006
 
 
15007
 
# Whether we need a single -rpath flag with a separated argument.
15008
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
15009
 
 
15010
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
15011
 
# resulting binary.
15012
 
hardcode_direct=$hardcode_direct_CXX
15013
 
 
15014
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15015
 
# resulting binary.
15016
 
hardcode_minus_L=$hardcode_minus_L_CXX
15017
 
 
15018
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15019
 
# the resulting binary.
15020
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
15021
 
 
15022
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
15023
 
# and all subsequent libraries and executables linked against it.
15024
 
hardcode_automatic=$hardcode_automatic_CXX
15025
 
 
15026
 
# Variables whose values should be saved in libtool wrapper scripts and
15027
 
# restored at relink time.
15028
 
variables_saved_for_relink="$variables_saved_for_relink"
15029
 
 
15030
 
# Whether libtool must link a program against all its dependency libraries.
15031
 
link_all_deplibs=$link_all_deplibs_CXX
15032
 
 
15033
 
# Compile-time system search path for libraries
15034
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15035
 
 
15036
 
# Run-time system search path for libraries
15037
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15038
 
 
15039
 
# Fix the shell variable \$srcfile for the compiler.
15040
 
fix_srcfile_path=$lt_fix_srcfile_path
15041
 
 
15042
 
# Set to yes if exported symbols are required.
15043
 
always_export_symbols=$always_export_symbols_CXX
15044
 
 
15045
 
# The commands to list exported symbols.
15046
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
15047
 
 
15048
 
# The commands to extract the exported symbol list from a shared archive.
15049
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15050
 
 
15051
 
# Symbols that should not be listed in the preloaded symbols.
15052
 
exclude_expsyms=$lt_exclude_expsyms_CXX
15053
 
 
15054
 
# Symbols that must always be exported.
15055
 
include_expsyms=$lt_include_expsyms_CXX
15056
 
 
15057
 
# ### END LIBTOOL TAG CONFIG: $tagname
15058
 
 
15059
 
__EOF__
15060
 
 
15061
 
 
15062
 
else
15063
 
  # If there is no Makefile yet, we rely on a make rule to execute
15064
 
  # `config.status --recheck' to rerun these tests and create the
15065
 
  # libtool script then.
15066
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
15067
 
  if test -f "$ltmain_in"; then
15068
 
    test -f Makefile && make "$ltmain"
15069
 
  fi
15070
 
fi
15071
 
 
15072
 
 
15073
 
ac_ext=c
15074
 
ac_cpp='$CPP $CPPFLAGS'
15075
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15076
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15077
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15078
 
 
15079
 
CC=$lt_save_CC
15080
 
LDCXX=$LD
15081
 
LD=$lt_save_LD
15082
 
GCC=$lt_save_GCC
15083
 
with_gnu_ldcxx=$with_gnu_ld
15084
 
with_gnu_ld=$lt_save_with_gnu_ld
15085
 
lt_cv_path_LDCXX=$lt_cv_path_LD
15086
 
lt_cv_path_LD=$lt_save_path_LD
15087
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15088
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15089
 
 
15090
 
        else
15091
 
          tagname=""
15092
 
        fi
15093
 
        ;;
15094
 
 
15095
 
      F77)
15096
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
15097
 
 
15098
 
ac_ext=f
15099
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15100
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15101
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15102
 
 
15103
 
 
15104
 
archive_cmds_need_lc_F77=no
15105
 
allow_undefined_flag_F77=
15106
 
always_export_symbols_F77=no
15107
 
archive_expsym_cmds_F77=
15108
 
export_dynamic_flag_spec_F77=
15109
 
hardcode_direct_F77=no
15110
 
hardcode_libdir_flag_spec_F77=
15111
 
hardcode_libdir_flag_spec_ld_F77=
15112
 
hardcode_libdir_separator_F77=
15113
 
hardcode_minus_L_F77=no
15114
 
hardcode_automatic_F77=no
15115
 
module_cmds_F77=
15116
 
module_expsym_cmds_F77=
15117
 
link_all_deplibs_F77=unknown
15118
 
old_archive_cmds_F77=$old_archive_cmds
15119
 
no_undefined_flag_F77=
15120
 
whole_archive_flag_spec_F77=
15121
 
enable_shared_with_static_runtimes_F77=no
15122
 
 
15123
 
# Source file extension for f77 test sources.
15124
 
ac_ext=f
15125
 
 
15126
 
# Object file extension for compiled f77 test sources.
15127
 
objext=o
15128
 
objext_F77=$objext
15129
 
 
15130
 
# Code to be used in simple compile tests
15131
 
lt_simple_compile_test_code="\
15132
 
      subroutine t
15133
 
      return
15134
 
      end
15135
 
"
15136
 
 
15137
 
# Code to be used in simple link tests
15138
 
lt_simple_link_test_code="\
15139
 
      program t
15140
 
      end
15141
 
"
15142
 
 
15143
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15144
 
 
15145
 
# If no C compiler was specified, use CC.
15146
 
LTCC=${LTCC-"$CC"}
15147
 
 
15148
 
# If no C compiler flags were specified, use CFLAGS.
15149
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15150
 
 
15151
 
# Allow CC to be a program name with arguments.
15152
 
compiler=$CC
15153
 
 
15154
 
 
15155
 
# save warnings/boilerplate of simple test code
15156
 
ac_outfile=conftest.$ac_objext
15157
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15158
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15159
 
_lt_compiler_boilerplate=`cat conftest.err`
15160
 
$rm conftest*
15161
 
 
15162
 
ac_outfile=conftest.$ac_objext
15163
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
15164
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15165
 
_lt_linker_boilerplate=`cat conftest.err`
15166
 
$rm -r conftest*
15167
 
 
15168
 
 
15169
 
# Allow CC to be a program name with arguments.
15170
 
lt_save_CC="$CC"
15171
 
CC=${F77-"f77"}
15172
 
compiler=$CC
15173
 
compiler_F77=$CC
15174
 
for cc_temp in $compiler""; do
15175
 
  case $cc_temp in
15176
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15177
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15178
 
    \-*) ;;
15179
 
    *) break;;
15180
 
  esac
15181
 
done
15182
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15183
 
 
15184
 
 
15185
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
15186
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
15187
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
15188
 
echo "${ECHO_T}$can_build_shared" >&6; }
15189
 
 
15190
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
15191
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
15192
 
test "$can_build_shared" = "no" && enable_shared=no
15193
 
 
15194
 
# On AIX, shared libraries and static libraries use the same namespace, and
15195
 
# are all built from PIC.
15196
 
case $host_os in
15197
 
aix3*)
15198
 
  test "$enable_shared" = yes && enable_static=no
15199
 
  if test -n "$RANLIB"; then
15200
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
15201
 
    postinstall_cmds='$RANLIB $lib'
15202
 
  fi
15203
 
  ;;
15204
 
aix[4-9]*)
15205
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
15206
 
    test "$enable_shared" = yes && enable_static=no
15207
 
  fi
15208
 
  ;;
15209
 
esac
15210
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
15211
 
echo "${ECHO_T}$enable_shared" >&6; }
15212
 
 
15213
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
15214
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
15215
 
# Make sure either enable_shared or enable_static is yes.
15216
 
test "$enable_shared" = yes || enable_static=yes
15217
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
15218
 
echo "${ECHO_T}$enable_static" >&6; }
15219
 
 
15220
 
GCC_F77="$G77"
15221
 
LD_F77="$LD"
15222
 
 
15223
 
lt_prog_compiler_wl_F77=
15224
 
lt_prog_compiler_pic_F77=
15225
 
lt_prog_compiler_static_F77=
15226
 
 
15227
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15228
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
15229
 
 
15230
 
  if test "$GCC" = yes; then
15231
 
    lt_prog_compiler_wl_F77='-Wl,'
15232
 
    lt_prog_compiler_static_F77='-static'
15233
 
 
15234
 
    case $host_os in
15235
 
      aix*)
15236
 
      # All AIX code is PIC.
15237
 
      if test "$host_cpu" = ia64; then
15238
 
        # AIX 5 now supports IA64 processor
15239
 
        lt_prog_compiler_static_F77='-Bstatic'
15240
 
      fi
15241
 
      ;;
15242
 
 
15243
 
    amigaos*)
15244
 
      # FIXME: we need at least 68020 code to build shared libraries, but
15245
 
      # adding the `-m68020' flag to GCC prevents building anything better,
15246
 
      # like `-m68040'.
15247
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
15248
 
      ;;
15249
 
 
15250
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15251
 
      # PIC is the default for these OSes.
15252
 
      ;;
15253
 
 
15254
 
    mingw* | cygwin* | pw32* | os2*)
15255
 
      # This hack is so that the source file can tell whether it is being
15256
 
      # built for inclusion in a dll (and should export symbols for example).
15257
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15258
 
      # (--disable-auto-import) libraries
15259
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15260
 
      ;;
15261
 
 
15262
 
    darwin* | rhapsody*)
15263
 
      # PIC is the default on this platform
15264
 
      # Common symbols not allowed in MH_DYLIB files
15265
 
      lt_prog_compiler_pic_F77='-fno-common'
15266
 
      ;;
15267
 
 
15268
 
    interix[3-9]*)
15269
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15270
 
      # Instead, we relocate shared libraries at runtime.
15271
 
      ;;
15272
 
 
15273
 
    msdosdjgpp*)
15274
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
15275
 
      # on systems that don't support them.
15276
 
      lt_prog_compiler_can_build_shared_F77=no
15277
 
      enable_shared=no
15278
 
      ;;
15279
 
 
15280
 
    sysv4*MP*)
15281
 
      if test -d /usr/nec; then
15282
 
        lt_prog_compiler_pic_F77=-Kconform_pic
15283
 
      fi
15284
 
      ;;
15285
 
 
15286
 
    hpux*)
15287
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15288
 
      # not for PA HP-UX.
15289
 
      case $host_cpu in
15290
 
      hppa*64*|ia64*)
15291
 
        # +Z the default
15292
 
        ;;
15293
 
      *)
15294
 
        lt_prog_compiler_pic_F77='-fPIC'
15295
 
        ;;
15296
 
      esac
15297
 
      ;;
15298
 
 
15299
 
    *)
15300
 
      lt_prog_compiler_pic_F77='-fPIC'
15301
 
      ;;
15302
 
    esac
15303
 
  else
15304
 
    # PORTME Check for flag to pass linker flags through the system compiler.
15305
 
    case $host_os in
15306
 
    aix*)
15307
 
      lt_prog_compiler_wl_F77='-Wl,'
15308
 
      if test "$host_cpu" = ia64; then
15309
 
        # AIX 5 now supports IA64 processor
15310
 
        lt_prog_compiler_static_F77='-Bstatic'
15311
 
      else
15312
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
15313
 
      fi
15314
 
      ;;
15315
 
      darwin*)
15316
 
        # PIC is the default on this platform
15317
 
        # Common symbols not allowed in MH_DYLIB files
15318
 
       case $cc_basename in
15319
 
         xlc*)
15320
 
         lt_prog_compiler_pic_F77='-qnocommon'
15321
 
         lt_prog_compiler_wl_F77='-Wl,'
15322
 
         ;;
15323
 
       esac
15324
 
       ;;
15325
 
 
15326
 
    mingw* | cygwin* | pw32* | os2*)
15327
 
      # This hack is so that the source file can tell whether it is being
15328
 
      # built for inclusion in a dll (and should export symbols for example).
15329
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
15330
 
      ;;
15331
 
 
15332
 
    hpux9* | hpux10* | hpux11*)
15333
 
      lt_prog_compiler_wl_F77='-Wl,'
15334
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15335
 
      # not for PA HP-UX.
15336
 
      case $host_cpu in
15337
 
      hppa*64*|ia64*)
15338
 
        # +Z the default
15339
 
        ;;
15340
 
      *)
15341
 
        lt_prog_compiler_pic_F77='+Z'
15342
 
        ;;
15343
 
      esac
15344
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
15345
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
15346
 
      ;;
15347
 
 
15348
 
    irix5* | irix6* | nonstopux*)
15349
 
      lt_prog_compiler_wl_F77='-Wl,'
15350
 
      # PIC (with -KPIC) is the default.
15351
 
      lt_prog_compiler_static_F77='-non_shared'
15352
 
      ;;
15353
 
 
15354
 
    newsos6)
15355
 
      lt_prog_compiler_pic_F77='-KPIC'
15356
 
      lt_prog_compiler_static_F77='-Bstatic'
15357
 
      ;;
15358
 
 
15359
 
    linux* | k*bsd*-gnu)
15360
 
      case $cc_basename in
15361
 
      icc* | ecc*)
15362
 
        lt_prog_compiler_wl_F77='-Wl,'
15363
 
        lt_prog_compiler_pic_F77='-KPIC'
15364
 
        lt_prog_compiler_static_F77='-static'
15365
 
        ;;
15366
 
      pgcc* | pgf77* | pgf90* | pgf95*)
15367
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
15368
 
        # which looks to be a dead project)
15369
 
        lt_prog_compiler_wl_F77='-Wl,'
15370
 
        lt_prog_compiler_pic_F77='-fpic'
15371
 
        lt_prog_compiler_static_F77='-Bstatic'
15372
 
        ;;
15373
 
      ccc*)
15374
 
        lt_prog_compiler_wl_F77='-Wl,'
15375
 
        # All Alpha code is PIC.
15376
 
        lt_prog_compiler_static_F77='-non_shared'
15377
 
        ;;
15378
 
      *)
15379
 
        case `$CC -V 2>&1 | sed 5q` in
15380
 
        *Sun\ C*)
15381
 
          # Sun C 5.9
15382
 
          lt_prog_compiler_pic_F77='-KPIC'
15383
 
          lt_prog_compiler_static_F77='-Bstatic'
15384
 
          lt_prog_compiler_wl_F77='-Wl,'
15385
 
          ;;
15386
 
        *Sun\ F*)
15387
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
15388
 
          lt_prog_compiler_pic_F77='-KPIC'
15389
 
          lt_prog_compiler_static_F77='-Bstatic'
15390
 
          lt_prog_compiler_wl_F77=''
15391
 
          ;;
15392
 
        esac
15393
 
        ;;
15394
 
      esac
15395
 
      ;;
15396
 
 
15397
 
    osf3* | osf4* | osf5*)
15398
 
      lt_prog_compiler_wl_F77='-Wl,'
15399
 
      # All OSF/1 code is PIC.
15400
 
      lt_prog_compiler_static_F77='-non_shared'
15401
 
      ;;
15402
 
 
15403
 
    rdos*)
15404
 
      lt_prog_compiler_static_F77='-non_shared'
15405
 
      ;;
15406
 
 
15407
 
    solaris*)
15408
 
      lt_prog_compiler_pic_F77='-KPIC'
15409
 
      lt_prog_compiler_static_F77='-Bstatic'
15410
 
      case $cc_basename in
15411
 
      f77* | f90* | f95*)
15412
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
15413
 
      *)
15414
 
        lt_prog_compiler_wl_F77='-Wl,';;
15415
 
      esac
15416
 
      ;;
15417
 
 
15418
 
    sunos4*)
15419
 
      lt_prog_compiler_wl_F77='-Qoption ld '
15420
 
      lt_prog_compiler_pic_F77='-PIC'
15421
 
      lt_prog_compiler_static_F77='-Bstatic'
15422
 
      ;;
15423
 
 
15424
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
15425
 
      lt_prog_compiler_wl_F77='-Wl,'
15426
 
      lt_prog_compiler_pic_F77='-KPIC'
15427
 
      lt_prog_compiler_static_F77='-Bstatic'
15428
 
      ;;
15429
 
 
15430
 
    sysv4*MP*)
15431
 
      if test -d /usr/nec ;then
15432
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
15433
 
        lt_prog_compiler_static_F77='-Bstatic'
15434
 
      fi
15435
 
      ;;
15436
 
 
15437
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15438
 
      lt_prog_compiler_wl_F77='-Wl,'
15439
 
      lt_prog_compiler_pic_F77='-KPIC'
15440
 
      lt_prog_compiler_static_F77='-Bstatic'
15441
 
      ;;
15442
 
 
15443
 
    unicos*)
15444
 
      lt_prog_compiler_wl_F77='-Wl,'
15445
 
      lt_prog_compiler_can_build_shared_F77=no
15446
 
      ;;
15447
 
 
15448
 
    uts4*)
15449
 
      lt_prog_compiler_pic_F77='-pic'
15450
 
      lt_prog_compiler_static_F77='-Bstatic'
15451
 
      ;;
15452
 
 
15453
 
    *)
15454
 
      lt_prog_compiler_can_build_shared_F77=no
15455
 
      ;;
15456
 
    esac
15457
 
  fi
15458
 
 
15459
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
15460
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
15461
 
 
15462
 
#
15463
 
# Check to make sure the PIC flag actually works.
15464
 
#
15465
 
if test -n "$lt_prog_compiler_pic_F77"; then
15466
 
 
15467
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
15468
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
15469
 
if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
15470
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15471
 
else
15472
 
  lt_cv_prog_compiler_pic_works_F77=no
15473
 
  ac_outfile=conftest.$ac_objext
15474
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15475
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
15476
 
   # Insert the option either (1) after the last *FLAGS variable, or
15477
 
   # (2) before a word containing "conftest.", or (3) at the end.
15478
 
   # Note that $ac_compile itself does not contain backslashes and begins
15479
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15480
 
   # The option is referenced via a variable to avoid confusing sed.
15481
 
   lt_compile=`echo "$ac_compile" | $SED \
15482
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15483
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15484
 
   -e 's:$: $lt_compiler_flag:'`
15485
 
   (eval echo "\"\$as_me:15485: $lt_compile\"" >&5)
15486
 
   (eval "$lt_compile" 2>conftest.err)
15487
 
   ac_status=$?
15488
 
   cat conftest.err >&5
15489
 
   echo "$as_me:15489: \$? = $ac_status" >&5
15490
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
15491
 
     # The compiler can only warn and ignore the option if not recognized
15492
 
     # So say no if there are warnings other than the usual output.
15493
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15494
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15495
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15496
 
       lt_cv_prog_compiler_pic_works_F77=yes
15497
 
     fi
15498
 
   fi
15499
 
   $rm conftest*
15500
 
 
15501
 
fi
15502
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
15503
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
15504
 
 
15505
 
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
15506
 
    case $lt_prog_compiler_pic_F77 in
15507
 
     "" | " "*) ;;
15508
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
15509
 
     esac
15510
 
else
15511
 
    lt_prog_compiler_pic_F77=
15512
 
     lt_prog_compiler_can_build_shared_F77=no
15513
 
fi
15514
 
 
15515
 
fi
15516
 
case $host_os in
15517
 
  # For platforms which do not support PIC, -DPIC is meaningless:
15518
 
  *djgpp*)
15519
 
    lt_prog_compiler_pic_F77=
15520
 
    ;;
15521
 
  *)
15522
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
15523
 
    ;;
15524
 
esac
15525
 
 
15526
 
#
15527
 
# Check to make sure the static flag actually works.
15528
 
#
15529
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
15530
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15531
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
15532
 
if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
15533
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15534
 
else
15535
 
  lt_cv_prog_compiler_static_works_F77=no
15536
 
   save_LDFLAGS="$LDFLAGS"
15537
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15538
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
15539
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15540
 
     # The linker can only warn and ignore the option if not recognized
15541
 
     # So say no if there are warnings
15542
 
     if test -s conftest.err; then
15543
 
       # Append any errors to the config.log.
15544
 
       cat conftest.err 1>&5
15545
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15546
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15547
 
       if diff conftest.exp conftest.er2 >/dev/null; then
15548
 
         lt_cv_prog_compiler_static_works_F77=yes
15549
 
       fi
15550
 
     else
15551
 
       lt_cv_prog_compiler_static_works_F77=yes
15552
 
     fi
15553
 
   fi
15554
 
   $rm -r conftest*
15555
 
   LDFLAGS="$save_LDFLAGS"
15556
 
 
15557
 
fi
15558
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
15559
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
15560
 
 
15561
 
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
15562
 
    :
15563
 
else
15564
 
    lt_prog_compiler_static_F77=
15565
 
fi
15566
 
 
15567
 
 
15568
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15569
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
15570
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
15571
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
15572
 
else
15573
 
  lt_cv_prog_compiler_c_o_F77=no
15574
 
   $rm -r conftest 2>/dev/null
15575
 
   mkdir conftest
15576
 
   cd conftest
15577
 
   mkdir out
15578
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15579
 
 
15580
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
15581
 
   # Insert the option either (1) after the last *FLAGS variable, or
15582
 
   # (2) before a word containing "conftest.", or (3) at the end.
15583
 
   # Note that $ac_compile itself does not contain backslashes and begins
15584
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15585
 
   lt_compile=`echo "$ac_compile" | $SED \
15586
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15587
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15588
 
   -e 's:$: $lt_compiler_flag:'`
15589
 
   (eval echo "\"\$as_me:15589: $lt_compile\"" >&5)
15590
 
   (eval "$lt_compile" 2>out/conftest.err)
15591
 
   ac_status=$?
15592
 
   cat out/conftest.err >&5
15593
 
   echo "$as_me:15593: \$? = $ac_status" >&5
15594
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15595
 
   then
15596
 
     # The compiler can only warn and ignore the option if not recognized
15597
 
     # So say no if there are warnings
15598
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15599
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15600
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15601
 
       lt_cv_prog_compiler_c_o_F77=yes
15602
 
     fi
15603
 
   fi
15604
 
   chmod u+w . 2>&5
15605
 
   $rm conftest*
15606
 
   # SGI C++ compiler will create directory out/ii_files/ for
15607
 
   # template instantiation
15608
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
15609
 
   $rm out/* && rmdir out
15610
 
   cd ..
15611
 
   rmdir conftest
15612
 
   $rm conftest*
15613
 
 
15614
 
fi
15615
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
15616
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
15617
 
 
15618
 
 
15619
 
hard_links="nottested"
15620
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
15621
 
  # do not overwrite the value of need_locks provided by the user
15622
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15623
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
15624
 
  hard_links=yes
15625
 
  $rm conftest*
15626
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15627
 
  touch conftest.a
15628
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
15629
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
15630
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
15631
 
echo "${ECHO_T}$hard_links" >&6; }
15632
 
  if test "$hard_links" = no; then
15633
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15634
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15635
 
    need_locks=warn
15636
 
  fi
15637
 
else
15638
 
  need_locks=no
15639
 
fi
15640
 
 
15641
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15642
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15643
 
 
15644
 
  runpath_var=
15645
 
  allow_undefined_flag_F77=
15646
 
  enable_shared_with_static_runtimes_F77=no
15647
 
  archive_cmds_F77=
15648
 
  archive_expsym_cmds_F77=
15649
 
  old_archive_From_new_cmds_F77=
15650
 
  old_archive_from_expsyms_cmds_F77=
15651
 
  export_dynamic_flag_spec_F77=
15652
 
  whole_archive_flag_spec_F77=
15653
 
  thread_safe_flag_spec_F77=
15654
 
  hardcode_libdir_flag_spec_F77=
15655
 
  hardcode_libdir_flag_spec_ld_F77=
15656
 
  hardcode_libdir_separator_F77=
15657
 
  hardcode_direct_F77=no
15658
 
  hardcode_minus_L_F77=no
15659
 
  hardcode_shlibpath_var_F77=unsupported
15660
 
  link_all_deplibs_F77=unknown
15661
 
  hardcode_automatic_F77=no
15662
 
  module_cmds_F77=
15663
 
  module_expsym_cmds_F77=
15664
 
  always_export_symbols_F77=no
15665
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15666
 
  # include_expsyms should be a list of space-separated symbols to be *always*
15667
 
  # included in the symbol list
15668
 
  include_expsyms_F77=
15669
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
15670
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
15671
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15672
 
  # as well as any symbol that contains `d'.
15673
 
  exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15674
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15675
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
15676
 
  # the symbol is explicitly referenced.  Since portable code cannot
15677
 
  # rely on this symbol name, it's probably fine to never include it in
15678
 
  # preloaded symbol tables.
15679
 
  # Exclude shared library initialization/finalization symbols.
15680
 
  extract_expsyms_cmds=
15681
 
  # Just being paranoid about ensuring that cc_basename is set.
15682
 
  for cc_temp in $compiler""; do
15683
 
  case $cc_temp in
15684
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15685
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15686
 
    \-*) ;;
15687
 
    *) break;;
15688
 
  esac
15689
 
done
15690
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15691
 
 
15692
 
  case $host_os in
15693
 
  cygwin* | mingw* | pw32*)
15694
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
15695
 
    # When not using gcc, we currently assume that we are using
15696
 
    # Microsoft Visual C++.
15697
 
    if test "$GCC" != yes; then
15698
 
      with_gnu_ld=no
15699
 
    fi
15700
 
    ;;
15701
 
  interix*)
15702
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
15703
 
    with_gnu_ld=yes
15704
 
    ;;
15705
 
  openbsd*)
15706
 
    with_gnu_ld=no
15707
 
    ;;
15708
 
  esac
15709
 
 
15710
 
  ld_shlibs_F77=yes
15711
 
  if test "$with_gnu_ld" = yes; then
15712
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
15713
 
    wlarc='${wl}'
15714
 
 
15715
 
    # Set some defaults for GNU ld with shared library support. These
15716
 
    # are reset later if shared libraries are not supported. Putting them
15717
 
    # here allows them to be overridden if necessary.
15718
 
    runpath_var=LD_RUN_PATH
15719
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
15720
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
15721
 
    # ancient GNU ld didn't support --whole-archive et. al.
15722
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15723
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15724
 
      else
15725
 
        whole_archive_flag_spec_F77=
15726
 
    fi
15727
 
    supports_anon_versioning=no
15728
 
    case `$LD -v 2>/dev/null` in
15729
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15730
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15731
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15732
 
      *\ 2.11.*) ;; # other 2.11 versions
15733
 
      *) supports_anon_versioning=yes ;;
15734
 
    esac
15735
 
 
15736
 
    # See if GNU ld supports shared libraries.
15737
 
    case $host_os in
15738
 
    aix[3-9]*)
15739
 
      # On AIX/PPC, the GNU linker is very broken
15740
 
      if test "$host_cpu" != ia64; then
15741
 
        ld_shlibs_F77=no
15742
 
        cat <<EOF 1>&2
15743
 
 
15744
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
15745
 
*** to be unable to reliably create shared libraries on AIX.
15746
 
*** Therefore, libtool is disabling shared libraries support.  If you
15747
 
*** really care for shared libraries, you may want to modify your PATH
15748
 
*** so that a non-GNU linker is found, and then restart.
15749
 
 
15750
 
EOF
15751
 
      fi
15752
 
      ;;
15753
 
 
15754
 
    amigaos*)
15755
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15756
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15757
 
      hardcode_minus_L_F77=yes
15758
 
 
15759
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15760
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
15761
 
      # to version 4, is to share data among multiple programs linked
15762
 
      # with the same dynamic library.  Since this doesn't match the
15763
 
      # behavior of shared libraries on other platforms, we can't use
15764
 
      # them.
15765
 
      ld_shlibs_F77=no
15766
 
      ;;
15767
 
 
15768
 
    beos*)
15769
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15770
 
        allow_undefined_flag_F77=unsupported
15771
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15772
 
        # support --undefined.  This deserves some investigation.  FIXME
15773
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15774
 
      else
15775
 
        ld_shlibs_F77=no
15776
 
      fi
15777
 
      ;;
15778
 
 
15779
 
    cygwin* | mingw* | pw32*)
15780
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
15781
 
      # as there is no search path for DLLs.
15782
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15783
 
      allow_undefined_flag_F77=unsupported
15784
 
      always_export_symbols_F77=no
15785
 
      enable_shared_with_static_runtimes_F77=yes
15786
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15787
 
 
15788
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15789
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15790
 
        # If the export-symbols file already is a .def file (1st line
15791
 
        # is EXPORTS), use it as is; otherwise, prepend...
15792
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15793
 
          cp $export_symbols $output_objdir/$soname.def;
15794
 
        else
15795
 
          echo EXPORTS > $output_objdir/$soname.def;
15796
 
          cat $export_symbols >> $output_objdir/$soname.def;
15797
 
        fi~
15798
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15799
 
      else
15800
 
        ld_shlibs_F77=no
15801
 
      fi
15802
 
      ;;
15803
 
 
15804
 
    interix[3-9]*)
15805
 
      hardcode_direct_F77=no
15806
 
      hardcode_shlibpath_var_F77=no
15807
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15808
 
      export_dynamic_flag_spec_F77='${wl}-E'
15809
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15810
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
15811
 
      # default) and relocated if they conflict, which is a slow very memory
15812
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
15813
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15814
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
15815
 
      archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15816
 
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
15817
 
      ;;
15818
 
 
15819
 
    gnu* | linux* | k*bsd*-gnu)
15820
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15821
 
        tmp_addflag=
15822
 
        case $cc_basename,$host_cpu in
15823
 
        pgcc*)                          # Portland Group C compiler
15824
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15825
 
          tmp_addflag=' $pic_flag'
15826
 
          ;;
15827
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
15828
 
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
15829
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
15830
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
15831
 
          tmp_addflag=' -i_dynamic' ;;
15832
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
15833
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
15834
 
        ifc* | ifort*)                  # Intel Fortran compiler
15835
 
          tmp_addflag=' -nofor_main' ;;
15836
 
        esac
15837
 
        case `$CC -V 2>&1 | sed 5q` in
15838
 
        *Sun\ C*)                       # Sun C 5.9
15839
 
          whole_archive_flag_spec_F77='${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'
15840
 
          tmp_sharedflag='-G' ;;
15841
 
        *Sun\ F*)                       # Sun Fortran 8.3
15842
 
          tmp_sharedflag='-G' ;;
15843
 
        *)
15844
 
          tmp_sharedflag='-shared' ;;
15845
 
        esac
15846
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15847
 
 
15848
 
        if test $supports_anon_versioning = yes; then
15849
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
15850
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15851
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
15852
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15853
 
        fi
15854
 
      else
15855
 
        ld_shlibs_F77=no
15856
 
      fi
15857
 
      ;;
15858
 
 
15859
 
    netbsd*)
15860
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15861
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15862
 
        wlarc=
15863
 
      else
15864
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15865
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15866
 
      fi
15867
 
      ;;
15868
 
 
15869
 
    solaris*)
15870
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15871
 
        ld_shlibs_F77=no
15872
 
        cat <<EOF 1>&2
15873
 
 
15874
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
15875
 
*** create shared libraries on Solaris systems.  Therefore, libtool
15876
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15877
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
15878
 
*** your PATH or compiler configuration so that the native linker is
15879
 
*** used, and then restart.
15880
 
 
15881
 
EOF
15882
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15883
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15884
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15885
 
      else
15886
 
        ld_shlibs_F77=no
15887
 
      fi
15888
 
      ;;
15889
 
 
15890
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
15891
 
      case `$LD -v 2>&1` in
15892
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
15893
 
        ld_shlibs_F77=no
15894
 
        cat <<_LT_EOF 1>&2
15895
 
 
15896
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15897
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
15898
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
15899
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
15900
 
*** your PATH or compiler configuration so that the native linker is
15901
 
*** used, and then restart.
15902
 
 
15903
 
_LT_EOF
15904
 
        ;;
15905
 
        *)
15906
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15907
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15908
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15909
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15910
 
          else
15911
 
            ld_shlibs_F77=no
15912
 
          fi
15913
 
        ;;
15914
 
      esac
15915
 
      ;;
15916
 
 
15917
 
    sunos4*)
15918
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15919
 
      wlarc=
15920
 
      hardcode_direct_F77=yes
15921
 
      hardcode_shlibpath_var_F77=no
15922
 
      ;;
15923
 
 
15924
 
    *)
15925
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15926
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15927
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15928
 
      else
15929
 
        ld_shlibs_F77=no
15930
 
      fi
15931
 
      ;;
15932
 
    esac
15933
 
 
15934
 
    if test "$ld_shlibs_F77" = no; then
15935
 
      runpath_var=
15936
 
      hardcode_libdir_flag_spec_F77=
15937
 
      export_dynamic_flag_spec_F77=
15938
 
      whole_archive_flag_spec_F77=
15939
 
    fi
15940
 
  else
15941
 
    # PORTME fill in a description of your system's linker (not GNU ld)
15942
 
    case $host_os in
15943
 
    aix3*)
15944
 
      allow_undefined_flag_F77=unsupported
15945
 
      always_export_symbols_F77=yes
15946
 
      archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15947
 
      # Note: this linker hardcodes the directories in LIBPATH if there
15948
 
      # are no directories specified by -L.
15949
 
      hardcode_minus_L_F77=yes
15950
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15951
 
        # Neither direct hardcoding nor static linking is supported with a
15952
 
        # broken collect2.
15953
 
        hardcode_direct_F77=unsupported
15954
 
      fi
15955
 
      ;;
15956
 
 
15957
 
    aix[4-9]*)
15958
 
      if test "$host_cpu" = ia64; then
15959
 
        # On IA64, the linker does run time linking by default, so we don't
15960
 
        # have to do anything special.
15961
 
        aix_use_runtimelinking=no
15962
 
        exp_sym_flag='-Bexport'
15963
 
        no_entry_flag=""
15964
 
      else
15965
 
        # If we're using GNU nm, then we don't want the "-C" option.
15966
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
15967
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15968
 
          export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15969
 
        else
15970
 
          export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15971
 
        fi
15972
 
        aix_use_runtimelinking=no
15973
 
 
15974
 
        # Test if we are trying to use run time linking or normal
15975
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15976
 
        # need to do runtime linking.
15977
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15978
 
          for ld_flag in $LDFLAGS; do
15979
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15980
 
            aix_use_runtimelinking=yes
15981
 
            break
15982
 
          fi
15983
 
          done
15984
 
          ;;
15985
 
        esac
15986
 
 
15987
 
        exp_sym_flag='-bexport'
15988
 
        no_entry_flag='-bnoentry'
15989
 
      fi
15990
 
 
15991
 
      # When large executables or shared objects are built, AIX ld can
15992
 
      # have problems creating the table of contents.  If linking a library
15993
 
      # or program results in "error TOC overflow" add -mminimal-toc to
15994
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
15995
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15996
 
 
15997
 
      archive_cmds_F77=''
15998
 
      hardcode_direct_F77=yes
15999
 
      hardcode_libdir_separator_F77=':'
16000
 
      link_all_deplibs_F77=yes
16001
 
 
16002
 
      if test "$GCC" = yes; then
16003
 
        case $host_os in aix4.[012]|aix4.[012].*)
16004
 
        # We only want to do this on AIX 4.2 and lower, the check
16005
 
        # below for broken collect2 doesn't work under 4.3+
16006
 
          collect2name=`${CC} -print-prog-name=collect2`
16007
 
          if test -f "$collect2name" && \
16008
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
16009
 
          then
16010
 
          # We have reworked collect2
16011
 
          :
16012
 
          else
16013
 
          # We have old collect2
16014
 
          hardcode_direct_F77=unsupported
16015
 
          # It fails to find uninstalled libraries when the uninstalled
16016
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
16017
 
          # to unsupported forces relinking
16018
 
          hardcode_minus_L_F77=yes
16019
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
16020
 
          hardcode_libdir_separator_F77=
16021
 
          fi
16022
 
          ;;
16023
 
        esac
16024
 
        shared_flag='-shared'
16025
 
        if test "$aix_use_runtimelinking" = yes; then
16026
 
          shared_flag="$shared_flag "'${wl}-G'
16027
 
        fi
16028
 
      else
16029
 
        # not using gcc
16030
 
        if test "$host_cpu" = ia64; then
16031
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16032
 
        # chokes on -Wl,-G. The following line is correct:
16033
 
          shared_flag='-G'
16034
 
        else
16035
 
          if test "$aix_use_runtimelinking" = yes; then
16036
 
            shared_flag='${wl}-G'
16037
 
          else
16038
 
            shared_flag='${wl}-bM:SRE'
16039
 
          fi
16040
 
        fi
16041
 
      fi
16042
 
 
16043
 
      # It seems that -bexpall does not export symbols beginning with
16044
 
      # underscore (_), so it is better to generate a list of symbols to export.
16045
 
      always_export_symbols_F77=yes
16046
 
      if test "$aix_use_runtimelinking" = yes; then
16047
 
        # Warning - without using the other runtime loading flags (-brtl),
16048
 
        # -berok will link without error, but may produce a broken library.
16049
 
        allow_undefined_flag_F77='-berok'
16050
 
       # Determine the default libpath from the value encoded in an empty executable.
16051
 
       cat >conftest.$ac_ext <<_ACEOF
16052
 
      program main
16053
 
 
16054
 
      end
16055
 
_ACEOF
16056
 
rm -f conftest.$ac_objext conftest$ac_exeext
16057
 
if { (ac_try="$ac_link"
16058
 
case "(($ac_try" in
16059
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16060
 
  *) ac_try_echo=$ac_try;;
16061
 
esac
16062
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16063
 
  (eval "$ac_link") 2>conftest.er1
16064
 
  ac_status=$?
16065
 
  grep -v '^ *+' conftest.er1 >conftest.err
16066
 
  rm -f conftest.er1
16067
 
  cat conftest.err >&5
16068
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069
 
  (exit $ac_status); } && {
16070
 
         test -z "$ac_f77_werror_flag" ||
16071
 
         test ! -s conftest.err
16072
 
       } && test -s conftest$ac_exeext &&
16073
 
       $as_test_x conftest$ac_exeext; then
16074
 
 
16075
 
lt_aix_libpath_sed='
16076
 
    /Import File Strings/,/^$/ {
16077
 
        /^0/ {
16078
 
            s/^0  *\(.*\)$/\1/
16079
 
            p
16080
 
        }
16081
 
    }'
16082
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16083
 
# Check for a 64-bit object if we didn't find anything.
16084
 
if test -z "$aix_libpath"; then
16085
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16086
 
fi
16087
 
else
16088
 
  echo "$as_me: failed program was:" >&5
16089
 
sed 's/^/| /' conftest.$ac_ext >&5
16090
 
 
16091
 
 
16092
 
fi
16093
 
 
16094
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16095
 
      conftest$ac_exeext conftest.$ac_ext
16096
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16097
 
 
16098
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16099
 
        archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
16100
 
       else
16101
 
        if test "$host_cpu" = ia64; then
16102
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
16103
 
          allow_undefined_flag_F77="-z nodefs"
16104
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
16105
 
        else
16106
 
         # Determine the default libpath from the value encoded in an empty executable.
16107
 
         cat >conftest.$ac_ext <<_ACEOF
16108
 
      program main
16109
 
 
16110
 
      end
16111
 
_ACEOF
16112
 
rm -f conftest.$ac_objext conftest$ac_exeext
16113
 
if { (ac_try="$ac_link"
16114
 
case "(($ac_try" in
16115
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16116
 
  *) ac_try_echo=$ac_try;;
16117
 
esac
16118
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16119
 
  (eval "$ac_link") 2>conftest.er1
16120
 
  ac_status=$?
16121
 
  grep -v '^ *+' conftest.er1 >conftest.err
16122
 
  rm -f conftest.er1
16123
 
  cat conftest.err >&5
16124
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125
 
  (exit $ac_status); } && {
16126
 
         test -z "$ac_f77_werror_flag" ||
16127
 
         test ! -s conftest.err
16128
 
       } && test -s conftest$ac_exeext &&
16129
 
       $as_test_x conftest$ac_exeext; then
16130
 
 
16131
 
lt_aix_libpath_sed='
16132
 
    /Import File Strings/,/^$/ {
16133
 
        /^0/ {
16134
 
            s/^0  *\(.*\)$/\1/
16135
 
            p
16136
 
        }
16137
 
    }'
16138
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16139
 
# Check for a 64-bit object if we didn't find anything.
16140
 
if test -z "$aix_libpath"; then
16141
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16142
 
fi
16143
 
else
16144
 
  echo "$as_me: failed program was:" >&5
16145
 
sed 's/^/| /' conftest.$ac_ext >&5
16146
 
 
16147
 
 
16148
 
fi
16149
 
 
16150
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16151
 
      conftest$ac_exeext conftest.$ac_ext
16152
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16153
 
 
16154
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
16155
 
          # Warning - without using the other run time loading flags,
16156
 
          # -berok will link without error, but may produce a broken library.
16157
 
          no_undefined_flag_F77=' ${wl}-bernotok'
16158
 
          allow_undefined_flag_F77=' ${wl}-berok'
16159
 
          # Exported symbols can be pulled into shared objects from archives
16160
 
          whole_archive_flag_spec_F77='$convenience'
16161
 
          archive_cmds_need_lc_F77=yes
16162
 
          # This is similar to how AIX traditionally builds its shared libraries.
16163
 
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16164
 
        fi
16165
 
      fi
16166
 
      ;;
16167
 
 
16168
 
    amigaos*)
16169
 
      archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
16170
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16171
 
      hardcode_minus_L_F77=yes
16172
 
      # see comment about different semantics on the GNU ld section
16173
 
      ld_shlibs_F77=no
16174
 
      ;;
16175
 
 
16176
 
    bsdi[45]*)
16177
 
      export_dynamic_flag_spec_F77=-rdynamic
16178
 
      ;;
16179
 
 
16180
 
    cygwin* | mingw* | pw32*)
16181
 
      # When not using gcc, we currently assume that we are using
16182
 
      # Microsoft Visual C++.
16183
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
16184
 
      # no search path for DLLs.
16185
 
      hardcode_libdir_flag_spec_F77=' '
16186
 
      allow_undefined_flag_F77=unsupported
16187
 
      # Tell ltmain to make .lib files, not .a files.
16188
 
      libext=lib
16189
 
      # Tell ltmain to make .dll files, not .so files.
16190
 
      shrext_cmds=".dll"
16191
 
      # FIXME: Setting linknames here is a bad hack.
16192
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
16193
 
      # The linker will automatically build a .lib file if we build a DLL.
16194
 
      old_archive_From_new_cmds_F77='true'
16195
 
      # FIXME: Should let the user specify the lib program.
16196
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
16197
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
16198
 
      enable_shared_with_static_runtimes_F77=yes
16199
 
      ;;
16200
 
 
16201
 
    darwin* | rhapsody*)
16202
 
      case $host_os in
16203
 
        rhapsody* | darwin1.[012])
16204
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
16205
 
         ;;
16206
 
       *) # Darwin 1.3 on
16207
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16208
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16209
 
         else
16210
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
16211
 
             10.[012])
16212
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16213
 
               ;;
16214
 
             10.*)
16215
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
16216
 
               ;;
16217
 
           esac
16218
 
         fi
16219
 
         ;;
16220
 
      esac
16221
 
      archive_cmds_need_lc_F77=no
16222
 
      hardcode_direct_F77=no
16223
 
      hardcode_automatic_F77=yes
16224
 
      hardcode_shlibpath_var_F77=unsupported
16225
 
      whole_archive_flag_spec_F77=''
16226
 
      link_all_deplibs_F77=yes
16227
 
    if test "$GCC" = yes ; then
16228
 
        output_verbose_link_cmd='echo'
16229
 
        archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16230
 
        module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16231
 
        archive_expsym_cmds_F77="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}"
16232
 
        module_expsym_cmds_F77="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}"
16233
 
    else
16234
 
      case $cc_basename in
16235
 
        xlc*)
16236
 
         output_verbose_link_cmd='echo'
16237
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
16238
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16239
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16240
 
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16241
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16242
 
          ;;
16243
 
       *)
16244
 
         ld_shlibs_F77=no
16245
 
          ;;
16246
 
      esac
16247
 
    fi
16248
 
      ;;
16249
 
 
16250
 
    dgux*)
16251
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16252
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16253
 
      hardcode_shlibpath_var_F77=no
16254
 
      ;;
16255
 
 
16256
 
    freebsd1*)
16257
 
      ld_shlibs_F77=no
16258
 
      ;;
16259
 
 
16260
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16261
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
16262
 
    # does not break anything, and helps significantly (at the cost of a little
16263
 
    # extra space).
16264
 
    freebsd2.2*)
16265
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16266
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16267
 
      hardcode_direct_F77=yes
16268
 
      hardcode_shlibpath_var_F77=no
16269
 
      ;;
16270
 
 
16271
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16272
 
    freebsd2*)
16273
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16274
 
      hardcode_direct_F77=yes
16275
 
      hardcode_minus_L_F77=yes
16276
 
      hardcode_shlibpath_var_F77=no
16277
 
      ;;
16278
 
 
16279
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16280
 
    freebsd* | dragonfly*)
16281
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16282
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16283
 
      hardcode_direct_F77=yes
16284
 
      hardcode_shlibpath_var_F77=no
16285
 
      ;;
16286
 
 
16287
 
    hpux9*)
16288
 
      if test "$GCC" = yes; then
16289
 
        archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16290
 
      else
16291
 
        archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16292
 
      fi
16293
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16294
 
      hardcode_libdir_separator_F77=:
16295
 
      hardcode_direct_F77=yes
16296
 
 
16297
 
      # hardcode_minus_L: Not really in the search PATH,
16298
 
      # but as the default location of the library.
16299
 
      hardcode_minus_L_F77=yes
16300
 
      export_dynamic_flag_spec_F77='${wl}-E'
16301
 
      ;;
16302
 
 
16303
 
    hpux10*)
16304
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16305
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16306
 
      else
16307
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16308
 
      fi
16309
 
      if test "$with_gnu_ld" = no; then
16310
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16311
 
        hardcode_libdir_separator_F77=:
16312
 
 
16313
 
        hardcode_direct_F77=yes
16314
 
        export_dynamic_flag_spec_F77='${wl}-E'
16315
 
 
16316
 
        # hardcode_minus_L: Not really in the search PATH,
16317
 
        # but as the default location of the library.
16318
 
        hardcode_minus_L_F77=yes
16319
 
      fi
16320
 
      ;;
16321
 
 
16322
 
    hpux11*)
16323
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16324
 
        case $host_cpu in
16325
 
        hppa*64*)
16326
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16327
 
          ;;
16328
 
        ia64*)
16329
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16330
 
          ;;
16331
 
        *)
16332
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16333
 
          ;;
16334
 
        esac
16335
 
      else
16336
 
        case $host_cpu in
16337
 
        hppa*64*)
16338
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16339
 
          ;;
16340
 
        ia64*)
16341
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16342
 
          ;;
16343
 
        *)
16344
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16345
 
          ;;
16346
 
        esac
16347
 
      fi
16348
 
      if test "$with_gnu_ld" = no; then
16349
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
16350
 
        hardcode_libdir_separator_F77=:
16351
 
 
16352
 
        case $host_cpu in
16353
 
        hppa*64*|ia64*)
16354
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
16355
 
          hardcode_direct_F77=no
16356
 
          hardcode_shlibpath_var_F77=no
16357
 
          ;;
16358
 
        *)
16359
 
          hardcode_direct_F77=yes
16360
 
          export_dynamic_flag_spec_F77='${wl}-E'
16361
 
 
16362
 
          # hardcode_minus_L: Not really in the search PATH,
16363
 
          # but as the default location of the library.
16364
 
          hardcode_minus_L_F77=yes
16365
 
          ;;
16366
 
        esac
16367
 
      fi
16368
 
      ;;
16369
 
 
16370
 
    irix5* | irix6* | nonstopux*)
16371
 
      if test "$GCC" = yes; then
16372
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16373
 
      else
16374
 
        archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16375
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
16376
 
      fi
16377
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16378
 
      hardcode_libdir_separator_F77=:
16379
 
      link_all_deplibs_F77=yes
16380
 
      ;;
16381
 
 
16382
 
    netbsd*)
16383
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16384
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16385
 
      else
16386
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
16387
 
      fi
16388
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16389
 
      hardcode_direct_F77=yes
16390
 
      hardcode_shlibpath_var_F77=no
16391
 
      ;;
16392
 
 
16393
 
    newsos6)
16394
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16395
 
      hardcode_direct_F77=yes
16396
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16397
 
      hardcode_libdir_separator_F77=:
16398
 
      hardcode_shlibpath_var_F77=no
16399
 
      ;;
16400
 
 
16401
 
    openbsd*)
16402
 
      if test -f /usr/libexec/ld.so; then
16403
 
        hardcode_direct_F77=yes
16404
 
        hardcode_shlibpath_var_F77=no
16405
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16406
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16407
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16408
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16409
 
          export_dynamic_flag_spec_F77='${wl}-E'
16410
 
        else
16411
 
          case $host_os in
16412
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16413
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16414
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
16415
 
             ;;
16416
 
           *)
16417
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16418
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16419
 
             ;;
16420
 
          esac
16421
 
        fi
16422
 
      else
16423
 
        ld_shlibs_F77=no
16424
 
      fi
16425
 
      ;;
16426
 
 
16427
 
    os2*)
16428
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16429
 
      hardcode_minus_L_F77=yes
16430
 
      allow_undefined_flag_F77=unsupported
16431
 
      archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
16432
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16433
 
      ;;
16434
 
 
16435
 
    osf3*)
16436
 
      if test "$GCC" = yes; then
16437
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16438
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16439
 
      else
16440
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16441
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16442
 
      fi
16443
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16444
 
      hardcode_libdir_separator_F77=:
16445
 
      ;;
16446
 
 
16447
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
16448
 
      if test "$GCC" = yes; then
16449
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
16450
 
        archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16451
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16452
 
      else
16453
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
16454
 
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16455
 
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16456
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16457
 
 
16458
 
        # Both c and cxx compiler support -rpath directly
16459
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
16460
 
      fi
16461
 
      hardcode_libdir_separator_F77=:
16462
 
      ;;
16463
 
 
16464
 
    solaris*)
16465
 
      no_undefined_flag_F77=' -z text'
16466
 
      if test "$GCC" = yes; then
16467
 
        wlarc='${wl}'
16468
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16469
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16470
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16471
 
      else
16472
 
        wlarc=''
16473
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16474
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16475
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16476
 
      fi
16477
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
16478
 
      hardcode_shlibpath_var_F77=no
16479
 
      case $host_os in
16480
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16481
 
      *)
16482
 
        # The compiler driver will combine and reorder linker options,
16483
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
16484
 
        # but is careful enough not to reorder.
16485
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
16486
 
        if test "$GCC" = yes; then
16487
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16488
 
        else
16489
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
16490
 
        fi
16491
 
        ;;
16492
 
      esac
16493
 
      link_all_deplibs_F77=yes
16494
 
      ;;
16495
 
 
16496
 
    sunos4*)
16497
 
      if test "x$host_vendor" = xsequent; then
16498
 
        # Use $CC to link under sequent, because it throws in some extra .o
16499
 
        # files that make .init and .fini sections work.
16500
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16501
 
      else
16502
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16503
 
      fi
16504
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16505
 
      hardcode_direct_F77=yes
16506
 
      hardcode_minus_L_F77=yes
16507
 
      hardcode_shlibpath_var_F77=no
16508
 
      ;;
16509
 
 
16510
 
    sysv4)
16511
 
      case $host_vendor in
16512
 
        sni)
16513
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16514
 
          hardcode_direct_F77=yes # is this really true???
16515
 
        ;;
16516
 
        siemens)
16517
 
          ## LD is ld it makes a PLAMLIB
16518
 
          ## CC just makes a GrossModule.
16519
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16520
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
16521
 
          hardcode_direct_F77=no
16522
 
        ;;
16523
 
        motorola)
16524
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16525
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
16526
 
        ;;
16527
 
      esac
16528
 
      runpath_var='LD_RUN_PATH'
16529
 
      hardcode_shlibpath_var_F77=no
16530
 
      ;;
16531
 
 
16532
 
    sysv4.3*)
16533
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16534
 
      hardcode_shlibpath_var_F77=no
16535
 
      export_dynamic_flag_spec_F77='-Bexport'
16536
 
      ;;
16537
 
 
16538
 
    sysv4*MP*)
16539
 
      if test -d /usr/nec; then
16540
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16541
 
        hardcode_shlibpath_var_F77=no
16542
 
        runpath_var=LD_RUN_PATH
16543
 
        hardcode_runpath_var=yes
16544
 
        ld_shlibs_F77=yes
16545
 
      fi
16546
 
      ;;
16547
 
 
16548
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16549
 
      no_undefined_flag_F77='${wl}-z,text'
16550
 
      archive_cmds_need_lc_F77=no
16551
 
      hardcode_shlibpath_var_F77=no
16552
 
      runpath_var='LD_RUN_PATH'
16553
 
 
16554
 
      if test "$GCC" = yes; then
16555
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16556
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16557
 
      else
16558
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16559
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16560
 
      fi
16561
 
      ;;
16562
 
 
16563
 
    sysv5* | sco3.2v5* | sco5v6*)
16564
 
      # Note: We can NOT use -z defs as we might desire, because we do not
16565
 
      # link with -lc, and that would cause any symbols used from libc to
16566
 
      # always be unresolved, which means just about no library would
16567
 
      # ever link correctly.  If we're not using GNU ld we use -z text
16568
 
      # though, which does catch some bad symbols but isn't as heavy-handed
16569
 
      # as -z defs.
16570
 
      no_undefined_flag_F77='${wl}-z,text'
16571
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
16572
 
      archive_cmds_need_lc_F77=no
16573
 
      hardcode_shlibpath_var_F77=no
16574
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
16575
 
      hardcode_libdir_separator_F77=':'
16576
 
      link_all_deplibs_F77=yes
16577
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
16578
 
      runpath_var='LD_RUN_PATH'
16579
 
 
16580
 
      if test "$GCC" = yes; then
16581
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16582
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16583
 
      else
16584
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16585
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
16586
 
      fi
16587
 
      ;;
16588
 
 
16589
 
    uts4*)
16590
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16591
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
16592
 
      hardcode_shlibpath_var_F77=no
16593
 
      ;;
16594
 
 
16595
 
    *)
16596
 
      ld_shlibs_F77=no
16597
 
      ;;
16598
 
    esac
16599
 
  fi
16600
 
 
16601
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
16602
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
16603
 
test "$ld_shlibs_F77" = no && can_build_shared=no
16604
 
 
16605
 
#
16606
 
# Do we need to explicitly link libc?
16607
 
#
16608
 
case "x$archive_cmds_need_lc_F77" in
16609
 
x|xyes)
16610
 
  # Assume -lc should be added
16611
 
  archive_cmds_need_lc_F77=yes
16612
 
 
16613
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
16614
 
    case $archive_cmds_F77 in
16615
 
    *'~'*)
16616
 
      # FIXME: we may have to deal with multi-command sequences.
16617
 
      ;;
16618
 
    '$CC '*)
16619
 
      # Test whether the compiler implicitly links with -lc since on some
16620
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16621
 
      # to ld, don't add -lc before -lgcc.
16622
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16623
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
16624
 
      $rm conftest*
16625
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16626
 
 
16627
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16628
 
  (eval $ac_compile) 2>&5
16629
 
  ac_status=$?
16630
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631
 
  (exit $ac_status); } 2>conftest.err; then
16632
 
        soname=conftest
16633
 
        lib=conftest
16634
 
        libobjs=conftest.$ac_objext
16635
 
        deplibs=
16636
 
        wl=$lt_prog_compiler_wl_F77
16637
 
        pic_flag=$lt_prog_compiler_pic_F77
16638
 
        compiler_flags=-v
16639
 
        linker_flags=-v
16640
 
        verstring=
16641
 
        output_objdir=.
16642
 
        libname=conftest
16643
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
16644
 
        allow_undefined_flag_F77=
16645
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16646
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16647
 
  ac_status=$?
16648
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649
 
  (exit $ac_status); }
16650
 
        then
16651
 
          archive_cmds_need_lc_F77=no
16652
 
        else
16653
 
          archive_cmds_need_lc_F77=yes
16654
 
        fi
16655
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
16656
 
      else
16657
 
        cat conftest.err 1>&5
16658
 
      fi
16659
 
      $rm conftest*
16660
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
16661
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
16662
 
      ;;
16663
 
    esac
16664
 
  fi
16665
 
  ;;
16666
 
esac
16667
 
 
16668
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16669
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
16670
 
library_names_spec=
16671
 
libname_spec='lib$name'
16672
 
soname_spec=
16673
 
shrext_cmds=".so"
16674
 
postinstall_cmds=
16675
 
postuninstall_cmds=
16676
 
finish_cmds=
16677
 
finish_eval=
16678
 
shlibpath_var=
16679
 
shlibpath_overrides_runpath=unknown
16680
 
version_type=none
16681
 
dynamic_linker="$host_os ld.so"
16682
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16683
 
 
16684
 
need_lib_prefix=unknown
16685
 
hardcode_into_libs=no
16686
 
 
16687
 
# when you set need_version to no, make sure it does not cause -set_version
16688
 
# flags to be left without arguments
16689
 
need_version=unknown
16690
 
 
16691
 
case $host_os in
16692
 
aix3*)
16693
 
  version_type=linux
16694
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16695
 
  shlibpath_var=LIBPATH
16696
 
 
16697
 
  # AIX 3 has no versioning support, so we append a major version to the name.
16698
 
  soname_spec='${libname}${release}${shared_ext}$major'
16699
 
  ;;
16700
 
 
16701
 
aix[4-9]*)
16702
 
  version_type=linux
16703
 
  need_lib_prefix=no
16704
 
  need_version=no
16705
 
  hardcode_into_libs=yes
16706
 
  if test "$host_cpu" = ia64; then
16707
 
    # AIX 5 supports IA64
16708
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16709
 
    shlibpath_var=LD_LIBRARY_PATH
16710
 
  else
16711
 
    # With GCC up to 2.95.x, collect2 would create an import file
16712
 
    # for dependence libraries.  The import file would start with
16713
 
    # the line `#! .'.  This would cause the generated library to
16714
 
    # depend on `.', always an invalid library.  This was fixed in
16715
 
    # development snapshots of GCC prior to 3.0.
16716
 
    case $host_os in
16717
 
      aix4 | aix4.[01] | aix4.[01].*)
16718
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16719
 
           echo ' yes '
16720
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16721
 
        :
16722
 
      else
16723
 
        can_build_shared=no
16724
 
      fi
16725
 
      ;;
16726
 
    esac
16727
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16728
 
    # soname into executable. Probably we can add versioning support to
16729
 
    # collect2, so additional links can be useful in future.
16730
 
    if test "$aix_use_runtimelinking" = yes; then
16731
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16732
 
      # instead of lib<name>.a to let people know that these are not
16733
 
      # typical AIX shared libraries.
16734
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16735
 
    else
16736
 
      # We preserve .a as extension for shared libraries through AIX4.2
16737
 
      # and later when we are not doing run time linking.
16738
 
      library_names_spec='${libname}${release}.a $libname.a'
16739
 
      soname_spec='${libname}${release}${shared_ext}$major'
16740
 
    fi
16741
 
    shlibpath_var=LIBPATH
16742
 
  fi
16743
 
  ;;
16744
 
 
16745
 
amigaos*)
16746
 
  library_names_spec='$libname.ixlibrary $libname.a'
16747
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
16748
 
  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'
16749
 
  ;;
16750
 
 
16751
 
beos*)
16752
 
  library_names_spec='${libname}${shared_ext}'
16753
 
  dynamic_linker="$host_os ld.so"
16754
 
  shlibpath_var=LIBRARY_PATH
16755
 
  ;;
16756
 
 
16757
 
bsdi[45]*)
16758
 
  version_type=linux
16759
 
  need_version=no
16760
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16761
 
  soname_spec='${libname}${release}${shared_ext}$major'
16762
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16763
 
  shlibpath_var=LD_LIBRARY_PATH
16764
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16765
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16766
 
  # the default ld.so.conf also contains /usr/contrib/lib and
16767
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16768
 
  # libtool to hard-code these into programs
16769
 
  ;;
16770
 
 
16771
 
cygwin* | mingw* | pw32*)
16772
 
  version_type=windows
16773
 
  shrext_cmds=".dll"
16774
 
  need_version=no
16775
 
  need_lib_prefix=no
16776
 
 
16777
 
  case $GCC,$host_os in
16778
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
16779
 
    library_names_spec='$libname.dll.a'
16780
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16781
 
    postinstall_cmds='base_file=`basename \${file}`~
16782
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16783
 
      dldir=$destdir/`dirname \$dlpath`~
16784
 
      test -d \$dldir || mkdir -p \$dldir~
16785
 
      $install_prog $dir/$dlname \$dldir/$dlname~
16786
 
      chmod a+x \$dldir/$dlname'
16787
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16788
 
      dlpath=$dir/\$dldll~
16789
 
       $rm \$dlpath'
16790
 
    shlibpath_overrides_runpath=yes
16791
 
 
16792
 
    case $host_os in
16793
 
    cygwin*)
16794
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16795
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16796
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16797
 
      ;;
16798
 
    mingw*)
16799
 
      # MinGW DLLs use traditional 'lib' prefix
16800
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16801
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16802
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16803
 
        # It is most probably a Windows format PATH printed by
16804
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
16805
 
        # path with ; separators, and with drive letters. We can handle the
16806
 
        # drive letters (cygwin fileutils understands them), so leave them,
16807
 
        # especially as we might pass files found there to a mingw objdump,
16808
 
        # which wouldn't understand a cygwinified path. Ahh.
16809
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16810
 
      else
16811
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
16812
 
      fi
16813
 
      ;;
16814
 
    pw32*)
16815
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16816
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16817
 
      ;;
16818
 
    esac
16819
 
    ;;
16820
 
 
16821
 
  *)
16822
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16823
 
    ;;
16824
 
  esac
16825
 
  dynamic_linker='Win32 ld.exe'
16826
 
  # FIXME: first we should search . and the directory the executable is in
16827
 
  shlibpath_var=PATH
16828
 
  ;;
16829
 
 
16830
 
darwin* | rhapsody*)
16831
 
  dynamic_linker="$host_os dyld"
16832
 
  version_type=darwin
16833
 
  need_lib_prefix=no
16834
 
  need_version=no
16835
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16836
 
  soname_spec='${libname}${release}${major}$shared_ext'
16837
 
  shlibpath_overrides_runpath=yes
16838
 
  shlibpath_var=DYLD_LIBRARY_PATH
16839
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16840
 
 
16841
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16842
 
  ;;
16843
 
 
16844
 
dgux*)
16845
 
  version_type=linux
16846
 
  need_lib_prefix=no
16847
 
  need_version=no
16848
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16849
 
  soname_spec='${libname}${release}${shared_ext}$major'
16850
 
  shlibpath_var=LD_LIBRARY_PATH
16851
 
  ;;
16852
 
 
16853
 
freebsd1*)
16854
 
  dynamic_linker=no
16855
 
  ;;
16856
 
 
16857
 
freebsd* | dragonfly*)
16858
 
  # DragonFly does not have aout.  When/if they implement a new
16859
 
  # versioning mechanism, adjust this.
16860
 
  if test -x /usr/bin/objformat; then
16861
 
    objformat=`/usr/bin/objformat`
16862
 
  else
16863
 
    case $host_os in
16864
 
    freebsd[123]*) objformat=aout ;;
16865
 
    *) objformat=elf ;;
16866
 
    esac
16867
 
  fi
16868
 
  version_type=freebsd-$objformat
16869
 
  case $version_type in
16870
 
    freebsd-elf*)
16871
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16872
 
      need_version=no
16873
 
      need_lib_prefix=no
16874
 
      ;;
16875
 
    freebsd-*)
16876
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16877
 
      need_version=yes
16878
 
      ;;
16879
 
  esac
16880
 
  shlibpath_var=LD_LIBRARY_PATH
16881
 
  case $host_os in
16882
 
  freebsd2*)
16883
 
    shlibpath_overrides_runpath=yes
16884
 
    ;;
16885
 
  freebsd3.[01]* | freebsdelf3.[01]*)
16886
 
    shlibpath_overrides_runpath=yes
16887
 
    hardcode_into_libs=yes
16888
 
    ;;
16889
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16890
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16891
 
    shlibpath_overrides_runpath=no
16892
 
    hardcode_into_libs=yes
16893
 
    ;;
16894
 
  *) # from 4.6 on, and DragonFly
16895
 
    shlibpath_overrides_runpath=yes
16896
 
    hardcode_into_libs=yes
16897
 
    ;;
16898
 
  esac
16899
 
  ;;
16900
 
 
16901
 
gnu*)
16902
 
  version_type=linux
16903
 
  need_lib_prefix=no
16904
 
  need_version=no
16905
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16906
 
  soname_spec='${libname}${release}${shared_ext}$major'
16907
 
  shlibpath_var=LD_LIBRARY_PATH
16908
 
  hardcode_into_libs=yes
16909
 
  ;;
16910
 
 
16911
 
hpux9* | hpux10* | hpux11*)
16912
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
16913
 
  # link against other versions.
16914
 
  version_type=sunos
16915
 
  need_lib_prefix=no
16916
 
  need_version=no
16917
 
  case $host_cpu in
16918
 
  ia64*)
16919
 
    shrext_cmds='.so'
16920
 
    hardcode_into_libs=yes
16921
 
    dynamic_linker="$host_os dld.so"
16922
 
    shlibpath_var=LD_LIBRARY_PATH
16923
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16924
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16925
 
    soname_spec='${libname}${release}${shared_ext}$major'
16926
 
    if test "X$HPUX_IA64_MODE" = X32; then
16927
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16928
 
    else
16929
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16930
 
    fi
16931
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16932
 
    ;;
16933
 
   hppa*64*)
16934
 
     shrext_cmds='.sl'
16935
 
     hardcode_into_libs=yes
16936
 
     dynamic_linker="$host_os dld.sl"
16937
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16938
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16939
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16940
 
     soname_spec='${libname}${release}${shared_ext}$major'
16941
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16942
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16943
 
     ;;
16944
 
   *)
16945
 
    shrext_cmds='.sl'
16946
 
    dynamic_linker="$host_os dld.sl"
16947
 
    shlibpath_var=SHLIB_PATH
16948
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16949
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16950
 
    soname_spec='${libname}${release}${shared_ext}$major'
16951
 
    ;;
16952
 
  esac
16953
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
16954
 
  postinstall_cmds='chmod 555 $lib'
16955
 
  ;;
16956
 
 
16957
 
interix[3-9]*)
16958
 
  version_type=linux
16959
 
  need_lib_prefix=no
16960
 
  need_version=no
16961
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16962
 
  soname_spec='${libname}${release}${shared_ext}$major'
16963
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16964
 
  shlibpath_var=LD_LIBRARY_PATH
16965
 
  shlibpath_overrides_runpath=no
16966
 
  hardcode_into_libs=yes
16967
 
  ;;
16968
 
 
16969
 
irix5* | irix6* | nonstopux*)
16970
 
  case $host_os in
16971
 
    nonstopux*) version_type=nonstopux ;;
16972
 
    *)
16973
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
16974
 
                version_type=linux
16975
 
        else
16976
 
                version_type=irix
16977
 
        fi ;;
16978
 
  esac
16979
 
  need_lib_prefix=no
16980
 
  need_version=no
16981
 
  soname_spec='${libname}${release}${shared_ext}$major'
16982
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16983
 
  case $host_os in
16984
 
  irix5* | nonstopux*)
16985
 
    libsuff= shlibsuff=
16986
 
    ;;
16987
 
  *)
16988
 
    case $LD in # libtool.m4 will add one of these switches to LD
16989
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16990
 
      libsuff= shlibsuff= libmagic=32-bit;;
16991
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16992
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
16993
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16994
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16995
 
    *) libsuff= shlibsuff= libmagic=never-match;;
16996
 
    esac
16997
 
    ;;
16998
 
  esac
16999
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17000
 
  shlibpath_overrides_runpath=no
17001
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17002
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17003
 
  hardcode_into_libs=yes
17004
 
  ;;
17005
 
 
17006
 
# No shared lib support for Linux oldld, aout, or coff.
17007
 
linux*oldld* | linux*aout* | linux*coff*)
17008
 
  dynamic_linker=no
17009
 
  ;;
17010
 
 
17011
 
# This must be Linux ELF.
17012
 
linux* | k*bsd*-gnu)
17013
 
  version_type=linux
17014
 
  need_lib_prefix=no
17015
 
  need_version=no
17016
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17017
 
  soname_spec='${libname}${release}${shared_ext}$major'
17018
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17019
 
  shlibpath_var=LD_LIBRARY_PATH
17020
 
  shlibpath_overrides_runpath=no
17021
 
  # This implies no fast_install, which is unacceptable.
17022
 
  # Some rework will be needed to allow for fast_install
17023
 
  # before this can be enabled.
17024
 
  hardcode_into_libs=yes
17025
 
 
17026
 
  # Append ld.so.conf contents to the search path
17027
 
  if test -f /etc/ld.so.conf; then
17028
 
    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' ' '`
17029
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17030
 
  fi
17031
 
 
17032
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17033
 
  # powerpc, because MkLinux only supported shared libraries with the
17034
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
17035
 
  # most powerpc-linux boxes support dynamic linking these days and
17036
 
  # people can always --disable-shared, the test was removed, and we
17037
 
  # assume the GNU/Linux dynamic linker is in use.
17038
 
  dynamic_linker='GNU/Linux ld.so'
17039
 
  ;;
17040
 
 
17041
 
netbsd*)
17042
 
  version_type=sunos
17043
 
  need_lib_prefix=no
17044
 
  need_version=no
17045
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17046
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17047
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17048
 
    dynamic_linker='NetBSD (a.out) ld.so'
17049
 
  else
17050
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17051
 
    soname_spec='${libname}${release}${shared_ext}$major'
17052
 
    dynamic_linker='NetBSD ld.elf_so'
17053
 
  fi
17054
 
  shlibpath_var=LD_LIBRARY_PATH
17055
 
  shlibpath_overrides_runpath=yes
17056
 
  hardcode_into_libs=yes
17057
 
  ;;
17058
 
 
17059
 
newsos6)
17060
 
  version_type=linux
17061
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17062
 
  shlibpath_var=LD_LIBRARY_PATH
17063
 
  shlibpath_overrides_runpath=yes
17064
 
  ;;
17065
 
 
17066
 
nto-qnx*)
17067
 
  version_type=linux
17068
 
  need_lib_prefix=no
17069
 
  need_version=no
17070
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17071
 
  soname_spec='${libname}${release}${shared_ext}$major'
17072
 
  shlibpath_var=LD_LIBRARY_PATH
17073
 
  shlibpath_overrides_runpath=yes
17074
 
  ;;
17075
 
 
17076
 
openbsd*)
17077
 
  version_type=sunos
17078
 
  sys_lib_dlsearch_path_spec="/usr/lib"
17079
 
  need_lib_prefix=no
17080
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17081
 
  case $host_os in
17082
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17083
 
    *)                         need_version=no  ;;
17084
 
  esac
17085
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17086
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17087
 
  shlibpath_var=LD_LIBRARY_PATH
17088
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17089
 
    case $host_os in
17090
 
      openbsd2.[89] | openbsd2.[89].*)
17091
 
        shlibpath_overrides_runpath=no
17092
 
        ;;
17093
 
      *)
17094
 
        shlibpath_overrides_runpath=yes
17095
 
        ;;
17096
 
      esac
17097
 
  else
17098
 
    shlibpath_overrides_runpath=yes
17099
 
  fi
17100
 
  ;;
17101
 
 
17102
 
os2*)
17103
 
  libname_spec='$name'
17104
 
  shrext_cmds=".dll"
17105
 
  need_lib_prefix=no
17106
 
  library_names_spec='$libname${shared_ext} $libname.a'
17107
 
  dynamic_linker='OS/2 ld.exe'
17108
 
  shlibpath_var=LIBPATH
17109
 
  ;;
17110
 
 
17111
 
osf3* | osf4* | osf5*)
17112
 
  version_type=osf
17113
 
  need_lib_prefix=no
17114
 
  need_version=no
17115
 
  soname_spec='${libname}${release}${shared_ext}$major'
17116
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17117
 
  shlibpath_var=LD_LIBRARY_PATH
17118
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17119
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17120
 
  ;;
17121
 
 
17122
 
rdos*)
17123
 
  dynamic_linker=no
17124
 
  ;;
17125
 
 
17126
 
solaris*)
17127
 
  version_type=linux
17128
 
  need_lib_prefix=no
17129
 
  need_version=no
17130
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17131
 
  soname_spec='${libname}${release}${shared_ext}$major'
17132
 
  shlibpath_var=LD_LIBRARY_PATH
17133
 
  shlibpath_overrides_runpath=yes
17134
 
  hardcode_into_libs=yes
17135
 
  # ldd complains unless libraries are executable
17136
 
  postinstall_cmds='chmod +x $lib'
17137
 
  ;;
17138
 
 
17139
 
sunos4*)
17140
 
  version_type=sunos
17141
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17142
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17143
 
  shlibpath_var=LD_LIBRARY_PATH
17144
 
  shlibpath_overrides_runpath=yes
17145
 
  if test "$with_gnu_ld" = yes; then
17146
 
    need_lib_prefix=no
17147
 
  fi
17148
 
  need_version=yes
17149
 
  ;;
17150
 
 
17151
 
sysv4 | sysv4.3*)
17152
 
  version_type=linux
17153
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17154
 
  soname_spec='${libname}${release}${shared_ext}$major'
17155
 
  shlibpath_var=LD_LIBRARY_PATH
17156
 
  case $host_vendor in
17157
 
    sni)
17158
 
      shlibpath_overrides_runpath=no
17159
 
      need_lib_prefix=no
17160
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
17161
 
      runpath_var=LD_RUN_PATH
17162
 
      ;;
17163
 
    siemens)
17164
 
      need_lib_prefix=no
17165
 
      ;;
17166
 
    motorola)
17167
 
      need_lib_prefix=no
17168
 
      need_version=no
17169
 
      shlibpath_overrides_runpath=no
17170
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17171
 
      ;;
17172
 
  esac
17173
 
  ;;
17174
 
 
17175
 
sysv4*MP*)
17176
 
  if test -d /usr/nec ;then
17177
 
    version_type=linux
17178
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17179
 
    soname_spec='$libname${shared_ext}.$major'
17180
 
    shlibpath_var=LD_LIBRARY_PATH
17181
 
  fi
17182
 
  ;;
17183
 
 
17184
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17185
 
  version_type=freebsd-elf
17186
 
  need_lib_prefix=no
17187
 
  need_version=no
17188
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17189
 
  soname_spec='${libname}${release}${shared_ext}$major'
17190
 
  shlibpath_var=LD_LIBRARY_PATH
17191
 
  hardcode_into_libs=yes
17192
 
  if test "$with_gnu_ld" = yes; then
17193
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17194
 
    shlibpath_overrides_runpath=no
17195
 
  else
17196
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17197
 
    shlibpath_overrides_runpath=yes
17198
 
    case $host_os in
17199
 
      sco3.2v5*)
17200
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17201
 
        ;;
17202
 
    esac
17203
 
  fi
17204
 
  sys_lib_dlsearch_path_spec='/usr/lib'
17205
 
  ;;
17206
 
 
17207
 
uts4*)
17208
 
  version_type=linux
17209
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17210
 
  soname_spec='${libname}${release}${shared_ext}$major'
17211
 
  shlibpath_var=LD_LIBRARY_PATH
17212
 
  ;;
17213
 
 
17214
 
*)
17215
 
  dynamic_linker=no
17216
 
  ;;
17217
 
esac
17218
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
17219
 
echo "${ECHO_T}$dynamic_linker" >&6; }
17220
 
test "$dynamic_linker" = no && can_build_shared=no
17221
 
 
17222
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17223
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17224
 
else
17225
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
17226
 
fi
17227
 
 
17228
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17229
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17230
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17231
 
else
17232
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
17233
 
fi
17234
 
 
17235
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17236
 
 
17237
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17238
 
if test "$GCC" = yes; then
17239
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17240
 
fi
17241
 
 
17242
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
17243
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
17244
 
hardcode_action_F77=
17245
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
17246
 
   test -n "$runpath_var_F77" || \
17247
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
17248
 
 
17249
 
  # We can hardcode non-existant directories.
17250
 
  if test "$hardcode_direct_F77" != no &&
17251
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17252
 
     # have to relink, otherwise we might link with an installed library
17253
 
     # when we should be linking with a yet-to-be-installed one
17254
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
17255
 
     test "$hardcode_minus_L_F77" != no; then
17256
 
    # Linking always hardcodes the temporary library directory.
17257
 
    hardcode_action_F77=relink
17258
 
  else
17259
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17260
 
    hardcode_action_F77=immediate
17261
 
  fi
17262
 
else
17263
 
  # We cannot hardcode anything, or else we can only hardcode existing
17264
 
  # directories.
17265
 
  hardcode_action_F77=unsupported
17266
 
fi
17267
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
17268
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
17269
 
 
17270
 
if test "$hardcode_action_F77" = relink; then
17271
 
  # Fast installation is not supported
17272
 
  enable_fast_install=no
17273
 
elif test "$shlibpath_overrides_runpath" = yes ||
17274
 
     test "$enable_shared" = no; then
17275
 
  # Fast installation is not necessary
17276
 
  enable_fast_install=needless
17277
 
fi
17278
 
 
17279
 
 
17280
 
# The else clause should only fire when bootstrapping the
17281
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
17282
 
# with your package, and you will get complaints that there are
17283
 
# no rules to generate ltmain.sh.
17284
 
if test -f "$ltmain"; then
17285
 
  # See if we are running on zsh, and set the options which allow our commands through
17286
 
  # without removal of \ escapes.
17287
 
  if test -n "${ZSH_VERSION+set}" ; then
17288
 
    setopt NO_GLOB_SUBST
17289
 
  fi
17290
 
  # Now quote all the things that may contain metacharacters while being
17291
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
17292
 
  # variables and quote the copies for generation of the libtool script.
17293
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
17294
 
    SED SHELL STRIP \
17295
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17296
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17297
 
    deplibs_check_method reload_flag reload_cmds need_locks \
17298
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17299
 
    lt_cv_sys_global_symbol_to_c_name_address \
17300
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17301
 
    old_postinstall_cmds old_postuninstall_cmds \
17302
 
    compiler_F77 \
17303
 
    CC_F77 \
17304
 
    LD_F77 \
17305
 
    lt_prog_compiler_wl_F77 \
17306
 
    lt_prog_compiler_pic_F77 \
17307
 
    lt_prog_compiler_static_F77 \
17308
 
    lt_prog_compiler_no_builtin_flag_F77 \
17309
 
    export_dynamic_flag_spec_F77 \
17310
 
    thread_safe_flag_spec_F77 \
17311
 
    whole_archive_flag_spec_F77 \
17312
 
    enable_shared_with_static_runtimes_F77 \
17313
 
    old_archive_cmds_F77 \
17314
 
    old_archive_from_new_cmds_F77 \
17315
 
    predep_objects_F77 \
17316
 
    postdep_objects_F77 \
17317
 
    predeps_F77 \
17318
 
    postdeps_F77 \
17319
 
    compiler_lib_search_path_F77 \
17320
 
    compiler_lib_search_dirs_F77 \
17321
 
    archive_cmds_F77 \
17322
 
    archive_expsym_cmds_F77 \
17323
 
    postinstall_cmds_F77 \
17324
 
    postuninstall_cmds_F77 \
17325
 
    old_archive_from_expsyms_cmds_F77 \
17326
 
    allow_undefined_flag_F77 \
17327
 
    no_undefined_flag_F77 \
17328
 
    export_symbols_cmds_F77 \
17329
 
    hardcode_libdir_flag_spec_F77 \
17330
 
    hardcode_libdir_flag_spec_ld_F77 \
17331
 
    hardcode_libdir_separator_F77 \
17332
 
    hardcode_automatic_F77 \
17333
 
    module_cmds_F77 \
17334
 
    module_expsym_cmds_F77 \
17335
 
    lt_cv_prog_compiler_c_o_F77 \
17336
 
    fix_srcfile_path_F77 \
17337
 
    exclude_expsyms_F77 \
17338
 
    include_expsyms_F77; do
17339
 
 
17340
 
    case $var in
17341
 
    old_archive_cmds_F77 | \
17342
 
    old_archive_from_new_cmds_F77 | \
17343
 
    archive_cmds_F77 | \
17344
 
    archive_expsym_cmds_F77 | \
17345
 
    module_cmds_F77 | \
17346
 
    module_expsym_cmds_F77 | \
17347
 
    old_archive_from_expsyms_cmds_F77 | \
17348
 
    export_symbols_cmds_F77 | \
17349
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
17350
 
    postinstall_cmds | postuninstall_cmds | \
17351
 
    old_postinstall_cmds | old_postuninstall_cmds | \
17352
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17353
 
      # Double-quote double-evaled strings.
17354
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17355
 
      ;;
17356
 
    *)
17357
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17358
 
      ;;
17359
 
    esac
17360
 
  done
17361
 
 
17362
 
  case $lt_echo in
17363
 
  *'\$0 --fallback-echo"')
17364
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17365
 
    ;;
17366
 
  esac
17367
 
 
17368
 
cfgfile="$ofile"
17369
 
 
17370
 
  cat <<__EOF__ >> "$cfgfile"
17371
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
17372
 
 
17373
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17374
 
 
17375
 
# Shell to use when invoking shell scripts.
17376
 
SHELL=$lt_SHELL
17377
 
 
17378
 
# Whether or not to build shared libraries.
17379
 
build_libtool_libs=$enable_shared
17380
 
 
17381
 
# Whether or not to build static libraries.
17382
 
build_old_libs=$enable_static
17383
 
 
17384
 
# Whether or not to add -lc for building shared libraries.
17385
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
17386
 
 
17387
 
# Whether or not to disallow shared libs when runtime libs are static
17388
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
17389
 
 
17390
 
# Whether or not to optimize for fast installation.
17391
 
fast_install=$enable_fast_install
17392
 
 
17393
 
# The host system.
17394
 
host_alias=$host_alias
17395
 
host=$host
17396
 
host_os=$host_os
17397
 
 
17398
 
# The build system.
17399
 
build_alias=$build_alias
17400
 
build=$build
17401
 
build_os=$build_os
17402
 
 
17403
 
# An echo program that does not interpret backslashes.
17404
 
echo=$lt_echo
17405
 
 
17406
 
# The archiver.
17407
 
AR=$lt_AR
17408
 
AR_FLAGS=$lt_AR_FLAGS
17409
 
 
17410
 
# A C compiler.
17411
 
LTCC=$lt_LTCC
17412
 
 
17413
 
# LTCC compiler flags.
17414
 
LTCFLAGS=$lt_LTCFLAGS
17415
 
 
17416
 
# A language-specific compiler.
17417
 
CC=$lt_compiler_F77
17418
 
 
17419
 
# Is the compiler the GNU C compiler?
17420
 
with_gcc=$GCC_F77
17421
 
 
17422
 
# An ERE matcher.
17423
 
EGREP=$lt_EGREP
17424
 
 
17425
 
# The linker used to build libraries.
17426
 
LD=$lt_LD_F77
17427
 
 
17428
 
# Whether we need hard or soft links.
17429
 
LN_S=$lt_LN_S
17430
 
 
17431
 
# A BSD-compatible nm program.
17432
 
NM=$lt_NM
17433
 
 
17434
 
# A symbol stripping program
17435
 
STRIP=$lt_STRIP
17436
 
 
17437
 
# Used to examine libraries when file_magic_cmd begins "file"
17438
 
MAGIC_CMD=$MAGIC_CMD
17439
 
 
17440
 
# Used on cygwin: DLL creation program.
17441
 
DLLTOOL="$DLLTOOL"
17442
 
 
17443
 
# Used on cygwin: object dumper.
17444
 
OBJDUMP="$OBJDUMP"
17445
 
 
17446
 
# Used on cygwin: assembler.
17447
 
AS="$AS"
17448
 
 
17449
 
# The name of the directory that contains temporary libtool files.
17450
 
objdir=$objdir
17451
 
 
17452
 
# How to create reloadable object files.
17453
 
reload_flag=$lt_reload_flag
17454
 
reload_cmds=$lt_reload_cmds
17455
 
 
17456
 
# How to pass a linker flag through the compiler.
17457
 
wl=$lt_lt_prog_compiler_wl_F77
17458
 
 
17459
 
# Object file suffix (normally "o").
17460
 
objext="$ac_objext"
17461
 
 
17462
 
# Old archive suffix (normally "a").
17463
 
libext="$libext"
17464
 
 
17465
 
# Shared library suffix (normally ".so").
17466
 
shrext_cmds='$shrext_cmds'
17467
 
 
17468
 
# Executable file suffix (normally "").
17469
 
exeext="$exeext"
17470
 
 
17471
 
# Additional compiler flags for building library objects.
17472
 
pic_flag=$lt_lt_prog_compiler_pic_F77
17473
 
pic_mode=$pic_mode
17474
 
 
17475
 
# What is the maximum length of a command?
17476
 
max_cmd_len=$lt_cv_sys_max_cmd_len
17477
 
 
17478
 
# Does compiler simultaneously support -c and -o options?
17479
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
17480
 
 
17481
 
# Must we lock files when doing compilation?
17482
 
need_locks=$lt_need_locks
17483
 
 
17484
 
# Do we need the lib prefix for modules?
17485
 
need_lib_prefix=$need_lib_prefix
17486
 
 
17487
 
# Do we need a version for libraries?
17488
 
need_version=$need_version
17489
 
 
17490
 
# Whether dlopen is supported.
17491
 
dlopen_support=$enable_dlopen
17492
 
 
17493
 
# Whether dlopen of programs is supported.
17494
 
dlopen_self=$enable_dlopen_self
17495
 
 
17496
 
# Whether dlopen of statically linked programs is supported.
17497
 
dlopen_self_static=$enable_dlopen_self_static
17498
 
 
17499
 
# Compiler flag to prevent dynamic linking.
17500
 
link_static_flag=$lt_lt_prog_compiler_static_F77
17501
 
 
17502
 
# Compiler flag to turn off builtin functions.
17503
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
17504
 
 
17505
 
# Compiler flag to allow reflexive dlopens.
17506
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
17507
 
 
17508
 
# Compiler flag to generate shared objects directly from archives.
17509
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
17510
 
 
17511
 
# Compiler flag to generate thread-safe objects.
17512
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
17513
 
 
17514
 
# Library versioning type.
17515
 
version_type=$version_type
17516
 
 
17517
 
# Format of library name prefix.
17518
 
libname_spec=$lt_libname_spec
17519
 
 
17520
 
# List of archive names.  First name is the real one, the rest are links.
17521
 
# The last name is the one that the linker finds with -lNAME.
17522
 
library_names_spec=$lt_library_names_spec
17523
 
 
17524
 
# The coded name of the library, if different from the real name.
17525
 
soname_spec=$lt_soname_spec
17526
 
 
17527
 
# Commands used to build and install an old-style archive.
17528
 
RANLIB=$lt_RANLIB
17529
 
old_archive_cmds=$lt_old_archive_cmds_F77
17530
 
old_postinstall_cmds=$lt_old_postinstall_cmds
17531
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17532
 
 
17533
 
# Create an old-style archive from a shared archive.
17534
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
17535
 
 
17536
 
# Create a temporary old-style archive to link instead of a shared archive.
17537
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
17538
 
 
17539
 
# Commands used to build and install a shared archive.
17540
 
archive_cmds=$lt_archive_cmds_F77
17541
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
17542
 
postinstall_cmds=$lt_postinstall_cmds
17543
 
postuninstall_cmds=$lt_postuninstall_cmds
17544
 
 
17545
 
# Commands used to build a loadable module (assumed same as above if empty)
17546
 
module_cmds=$lt_module_cmds_F77
17547
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
17548
 
 
17549
 
# Commands to strip libraries.
17550
 
old_striplib=$lt_old_striplib
17551
 
striplib=$lt_striplib
17552
 
 
17553
 
# Dependencies to place before the objects being linked to create a
17554
 
# shared library.
17555
 
predep_objects=$lt_predep_objects_F77
17556
 
 
17557
 
# Dependencies to place after the objects being linked to create a
17558
 
# shared library.
17559
 
postdep_objects=$lt_postdep_objects_F77
17560
 
 
17561
 
# Dependencies to place before the objects being linked to create a
17562
 
# shared library.
17563
 
predeps=$lt_predeps_F77
17564
 
 
17565
 
# Dependencies to place after the objects being linked to create a
17566
 
# shared library.
17567
 
postdeps=$lt_postdeps_F77
17568
 
 
17569
 
# The directories searched by this compiler when creating a shared
17570
 
# library
17571
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
17572
 
 
17573
 
# The library search path used internally by the compiler when linking
17574
 
# a shared library.
17575
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
17576
 
 
17577
 
# Method to check whether dependent libraries are shared objects.
17578
 
deplibs_check_method=$lt_deplibs_check_method
17579
 
 
17580
 
# Command to use when deplibs_check_method == file_magic.
17581
 
file_magic_cmd=$lt_file_magic_cmd
17582
 
 
17583
 
# Flag that allows shared libraries with undefined symbols to be built.
17584
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
17585
 
 
17586
 
# Flag that forces no undefined symbols.
17587
 
no_undefined_flag=$lt_no_undefined_flag_F77
17588
 
 
17589
 
# Commands used to finish a libtool library installation in a directory.
17590
 
finish_cmds=$lt_finish_cmds
17591
 
 
17592
 
# Same as above, but a single script fragment to be evaled but not shown.
17593
 
finish_eval=$lt_finish_eval
17594
 
 
17595
 
# Take the output of nm and produce a listing of raw symbols and C names.
17596
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17597
 
 
17598
 
# Transform the output of nm in a proper C declaration
17599
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17600
 
 
17601
 
# Transform the output of nm in a C name address pair
17602
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17603
 
 
17604
 
# This is the shared library runtime path variable.
17605
 
runpath_var=$runpath_var
17606
 
 
17607
 
# This is the shared library path variable.
17608
 
shlibpath_var=$shlibpath_var
17609
 
 
17610
 
# Is shlibpath searched before the hard-coded library search path?
17611
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17612
 
 
17613
 
# How to hardcode a shared library path into an executable.
17614
 
hardcode_action=$hardcode_action_F77
17615
 
 
17616
 
# Whether we should hardcode library paths into libraries.
17617
 
hardcode_into_libs=$hardcode_into_libs
17618
 
 
17619
 
# Flag to hardcode \$libdir into a binary during linking.
17620
 
# This must work even if \$libdir does not exist.
17621
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
17622
 
 
17623
 
# If ld is used when linking, flag to hardcode \$libdir into
17624
 
# a binary during linking. This must work even if \$libdir does
17625
 
# not exist.
17626
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
17627
 
 
17628
 
# Whether we need a single -rpath flag with a separated argument.
17629
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
17630
 
 
17631
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17632
 
# resulting binary.
17633
 
hardcode_direct=$hardcode_direct_F77
17634
 
 
17635
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17636
 
# resulting binary.
17637
 
hardcode_minus_L=$hardcode_minus_L_F77
17638
 
 
17639
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17640
 
# the resulting binary.
17641
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
17642
 
 
17643
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
17644
 
# and all subsequent libraries and executables linked against it.
17645
 
hardcode_automatic=$hardcode_automatic_F77
17646
 
 
17647
 
# Variables whose values should be saved in libtool wrapper scripts and
17648
 
# restored at relink time.
17649
 
variables_saved_for_relink="$variables_saved_for_relink"
17650
 
 
17651
 
# Whether libtool must link a program against all its dependency libraries.
17652
 
link_all_deplibs=$link_all_deplibs_F77
17653
 
 
17654
 
# Compile-time system search path for libraries
17655
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17656
 
 
17657
 
# Run-time system search path for libraries
17658
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17659
 
 
17660
 
# Fix the shell variable \$srcfile for the compiler.
17661
 
fix_srcfile_path=$lt_fix_srcfile_path
17662
 
 
17663
 
# Set to yes if exported symbols are required.
17664
 
always_export_symbols=$always_export_symbols_F77
17665
 
 
17666
 
# The commands to list exported symbols.
17667
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
17668
 
 
17669
 
# The commands to extract the exported symbol list from a shared archive.
17670
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17671
 
 
17672
 
# Symbols that should not be listed in the preloaded symbols.
17673
 
exclude_expsyms=$lt_exclude_expsyms_F77
17674
 
 
17675
 
# Symbols that must always be exported.
17676
 
include_expsyms=$lt_include_expsyms_F77
17677
 
 
17678
 
# ### END LIBTOOL TAG CONFIG: $tagname
17679
 
 
17680
 
__EOF__
17681
 
 
17682
 
 
17683
 
else
17684
 
  # If there is no Makefile yet, we rely on a make rule to execute
17685
 
  # `config.status --recheck' to rerun these tests and create the
17686
 
  # libtool script then.
17687
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
17688
 
  if test -f "$ltmain_in"; then
17689
 
    test -f Makefile && make "$ltmain"
17690
 
  fi
17691
 
fi
17692
 
 
17693
 
 
17694
 
ac_ext=c
17695
 
ac_cpp='$CPP $CPPFLAGS'
17696
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17697
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17698
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17699
 
 
17700
 
CC="$lt_save_CC"
17701
 
 
17702
 
        else
17703
 
          tagname=""
17704
 
        fi
17705
 
        ;;
17706
 
 
17707
 
      GCJ)
17708
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
17709
 
 
17710
 
 
17711
 
# Source file extension for Java test sources.
17712
 
ac_ext=java
17713
 
 
17714
 
# Object file extension for compiled Java test sources.
17715
 
objext=o
17716
 
objext_GCJ=$objext
17717
 
 
17718
 
# Code to be used in simple compile tests
17719
 
lt_simple_compile_test_code="class foo {}"
17720
 
 
17721
 
# Code to be used in simple link tests
17722
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
17723
 
 
17724
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
17725
 
 
17726
 
# If no C compiler was specified, use CC.
17727
 
LTCC=${LTCC-"$CC"}
17728
 
 
17729
 
# If no C compiler flags were specified, use CFLAGS.
17730
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17731
 
 
17732
 
# Allow CC to be a program name with arguments.
17733
 
compiler=$CC
17734
 
 
17735
 
 
17736
 
# save warnings/boilerplate of simple test code
17737
 
ac_outfile=conftest.$ac_objext
17738
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17739
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17740
 
_lt_compiler_boilerplate=`cat conftest.err`
17741
 
$rm conftest*
17742
 
 
17743
 
ac_outfile=conftest.$ac_objext
17744
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
17745
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17746
 
_lt_linker_boilerplate=`cat conftest.err`
17747
 
$rm -r conftest*
17748
 
 
17749
 
 
17750
 
# Allow CC to be a program name with arguments.
17751
 
lt_save_CC="$CC"
17752
 
CC=${GCJ-"gcj"}
17753
 
compiler=$CC
17754
 
compiler_GCJ=$CC
17755
 
for cc_temp in $compiler""; do
17756
 
  case $cc_temp in
17757
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17758
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17759
 
    \-*) ;;
17760
 
    *) break;;
17761
 
  esac
17762
 
done
17763
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17764
 
 
17765
 
 
17766
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
17767
 
archive_cmds_need_lc_GCJ=no
17768
 
 
17769
 
old_archive_cmds_GCJ=$old_archive_cmds
17770
 
 
17771
 
 
17772
 
lt_prog_compiler_no_builtin_flag_GCJ=
17773
 
 
17774
 
if test "$GCC" = yes; then
17775
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
17776
 
 
17777
 
 
17778
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17779
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
17780
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
17781
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17782
 
else
17783
 
  lt_cv_prog_compiler_rtti_exceptions=no
17784
 
  ac_outfile=conftest.$ac_objext
17785
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17786
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
17787
 
   # Insert the option either (1) after the last *FLAGS variable, or
17788
 
   # (2) before a word containing "conftest.", or (3) at the end.
17789
 
   # Note that $ac_compile itself does not contain backslashes and begins
17790
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17791
 
   # The option is referenced via a variable to avoid confusing sed.
17792
 
   lt_compile=`echo "$ac_compile" | $SED \
17793
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17794
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17795
 
   -e 's:$: $lt_compiler_flag:'`
17796
 
   (eval echo "\"\$as_me:17796: $lt_compile\"" >&5)
17797
 
   (eval "$lt_compile" 2>conftest.err)
17798
 
   ac_status=$?
17799
 
   cat conftest.err >&5
17800
 
   echo "$as_me:17800: \$? = $ac_status" >&5
17801
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17802
 
     # The compiler can only warn and ignore the option if not recognized
17803
 
     # So say no if there are warnings other than the usual output.
17804
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17805
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17806
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17807
 
       lt_cv_prog_compiler_rtti_exceptions=yes
17808
 
     fi
17809
 
   fi
17810
 
   $rm conftest*
17811
 
 
17812
 
fi
17813
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17814
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17815
 
 
17816
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
17817
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17818
 
else
17819
 
    :
17820
 
fi
17821
 
 
17822
 
fi
17823
 
 
17824
 
lt_prog_compiler_wl_GCJ=
17825
 
lt_prog_compiler_pic_GCJ=
17826
 
lt_prog_compiler_static_GCJ=
17827
 
 
17828
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
17829
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
17830
 
 
17831
 
  if test "$GCC" = yes; then
17832
 
    lt_prog_compiler_wl_GCJ='-Wl,'
17833
 
    lt_prog_compiler_static_GCJ='-static'
17834
 
 
17835
 
    case $host_os in
17836
 
      aix*)
17837
 
      # All AIX code is PIC.
17838
 
      if test "$host_cpu" = ia64; then
17839
 
        # AIX 5 now supports IA64 processor
17840
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17841
 
      fi
17842
 
      ;;
17843
 
 
17844
 
    amigaos*)
17845
 
      # FIXME: we need at least 68020 code to build shared libraries, but
17846
 
      # adding the `-m68020' flag to GCC prevents building anything better,
17847
 
      # like `-m68040'.
17848
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
17849
 
      ;;
17850
 
 
17851
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17852
 
      # PIC is the default for these OSes.
17853
 
      ;;
17854
 
 
17855
 
    mingw* | cygwin* | pw32* | os2*)
17856
 
      # This hack is so that the source file can tell whether it is being
17857
 
      # built for inclusion in a dll (and should export symbols for example).
17858
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
17859
 
      # (--disable-auto-import) libraries
17860
 
 
17861
 
      ;;
17862
 
 
17863
 
    darwin* | rhapsody*)
17864
 
      # PIC is the default on this platform
17865
 
      # Common symbols not allowed in MH_DYLIB files
17866
 
      lt_prog_compiler_pic_GCJ='-fno-common'
17867
 
      ;;
17868
 
 
17869
 
    interix[3-9]*)
17870
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17871
 
      # Instead, we relocate shared libraries at runtime.
17872
 
      ;;
17873
 
 
17874
 
    msdosdjgpp*)
17875
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
17876
 
      # on systems that don't support them.
17877
 
      lt_prog_compiler_can_build_shared_GCJ=no
17878
 
      enable_shared=no
17879
 
      ;;
17880
 
 
17881
 
    sysv4*MP*)
17882
 
      if test -d /usr/nec; then
17883
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
17884
 
      fi
17885
 
      ;;
17886
 
 
17887
 
    hpux*)
17888
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17889
 
      # not for PA HP-UX.
17890
 
      case $host_cpu in
17891
 
      hppa*64*|ia64*)
17892
 
        # +Z the default
17893
 
        ;;
17894
 
      *)
17895
 
        lt_prog_compiler_pic_GCJ='-fPIC'
17896
 
        ;;
17897
 
      esac
17898
 
      ;;
17899
 
 
17900
 
    *)
17901
 
      lt_prog_compiler_pic_GCJ='-fPIC'
17902
 
      ;;
17903
 
    esac
17904
 
  else
17905
 
    # PORTME Check for flag to pass linker flags through the system compiler.
17906
 
    case $host_os in
17907
 
    aix*)
17908
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17909
 
      if test "$host_cpu" = ia64; then
17910
 
        # AIX 5 now supports IA64 processor
17911
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17912
 
      else
17913
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
17914
 
      fi
17915
 
      ;;
17916
 
      darwin*)
17917
 
        # PIC is the default on this platform
17918
 
        # Common symbols not allowed in MH_DYLIB files
17919
 
       case $cc_basename in
17920
 
         xlc*)
17921
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
17922
 
         lt_prog_compiler_wl_GCJ='-Wl,'
17923
 
         ;;
17924
 
       esac
17925
 
       ;;
17926
 
 
17927
 
    mingw* | cygwin* | pw32* | os2*)
17928
 
      # This hack is so that the source file can tell whether it is being
17929
 
      # built for inclusion in a dll (and should export symbols for example).
17930
 
 
17931
 
      ;;
17932
 
 
17933
 
    hpux9* | hpux10* | hpux11*)
17934
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17935
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17936
 
      # not for PA HP-UX.
17937
 
      case $host_cpu in
17938
 
      hppa*64*|ia64*)
17939
 
        # +Z the default
17940
 
        ;;
17941
 
      *)
17942
 
        lt_prog_compiler_pic_GCJ='+Z'
17943
 
        ;;
17944
 
      esac
17945
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
17946
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
17947
 
      ;;
17948
 
 
17949
 
    irix5* | irix6* | nonstopux*)
17950
 
      lt_prog_compiler_wl_GCJ='-Wl,'
17951
 
      # PIC (with -KPIC) is the default.
17952
 
      lt_prog_compiler_static_GCJ='-non_shared'
17953
 
      ;;
17954
 
 
17955
 
    newsos6)
17956
 
      lt_prog_compiler_pic_GCJ='-KPIC'
17957
 
      lt_prog_compiler_static_GCJ='-Bstatic'
17958
 
      ;;
17959
 
 
17960
 
    linux* | k*bsd*-gnu)
17961
 
      case $cc_basename in
17962
 
      icc* | ecc*)
17963
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17964
 
        lt_prog_compiler_pic_GCJ='-KPIC'
17965
 
        lt_prog_compiler_static_GCJ='-static'
17966
 
        ;;
17967
 
      pgcc* | pgf77* | pgf90* | pgf95*)
17968
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
17969
 
        # which looks to be a dead project)
17970
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17971
 
        lt_prog_compiler_pic_GCJ='-fpic'
17972
 
        lt_prog_compiler_static_GCJ='-Bstatic'
17973
 
        ;;
17974
 
      ccc*)
17975
 
        lt_prog_compiler_wl_GCJ='-Wl,'
17976
 
        # All Alpha code is PIC.
17977
 
        lt_prog_compiler_static_GCJ='-non_shared'
17978
 
        ;;
17979
 
      *)
17980
 
        case `$CC -V 2>&1 | sed 5q` in
17981
 
        *Sun\ C*)
17982
 
          # Sun C 5.9
17983
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17984
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17985
 
          lt_prog_compiler_wl_GCJ='-Wl,'
17986
 
          ;;
17987
 
        *Sun\ F*)
17988
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
17989
 
          lt_prog_compiler_pic_GCJ='-KPIC'
17990
 
          lt_prog_compiler_static_GCJ='-Bstatic'
17991
 
          lt_prog_compiler_wl_GCJ=''
17992
 
          ;;
17993
 
        esac
17994
 
        ;;
17995
 
      esac
17996
 
      ;;
17997
 
 
17998
 
    osf3* | osf4* | osf5*)
17999
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18000
 
      # All OSF/1 code is PIC.
18001
 
      lt_prog_compiler_static_GCJ='-non_shared'
18002
 
      ;;
18003
 
 
18004
 
    rdos*)
18005
 
      lt_prog_compiler_static_GCJ='-non_shared'
18006
 
      ;;
18007
 
 
18008
 
    solaris*)
18009
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18010
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18011
 
      case $cc_basename in
18012
 
      f77* | f90* | f95*)
18013
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
18014
 
      *)
18015
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
18016
 
      esac
18017
 
      ;;
18018
 
 
18019
 
    sunos4*)
18020
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
18021
 
      lt_prog_compiler_pic_GCJ='-PIC'
18022
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18023
 
      ;;
18024
 
 
18025
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
18026
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18027
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18028
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18029
 
      ;;
18030
 
 
18031
 
    sysv4*MP*)
18032
 
      if test -d /usr/nec ;then
18033
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
18034
 
        lt_prog_compiler_static_GCJ='-Bstatic'
18035
 
      fi
18036
 
      ;;
18037
 
 
18038
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18039
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18040
 
      lt_prog_compiler_pic_GCJ='-KPIC'
18041
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18042
 
      ;;
18043
 
 
18044
 
    unicos*)
18045
 
      lt_prog_compiler_wl_GCJ='-Wl,'
18046
 
      lt_prog_compiler_can_build_shared_GCJ=no
18047
 
      ;;
18048
 
 
18049
 
    uts4*)
18050
 
      lt_prog_compiler_pic_GCJ='-pic'
18051
 
      lt_prog_compiler_static_GCJ='-Bstatic'
18052
 
      ;;
18053
 
 
18054
 
    *)
18055
 
      lt_prog_compiler_can_build_shared_GCJ=no
18056
 
      ;;
18057
 
    esac
18058
 
  fi
18059
 
 
18060
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
18061
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
18062
 
 
18063
 
#
18064
 
# Check to make sure the PIC flag actually works.
18065
 
#
18066
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
18067
 
 
18068
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
18069
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
18070
 
if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
18071
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18072
 
else
18073
 
  lt_cv_prog_compiler_pic_works_GCJ=no
18074
 
  ac_outfile=conftest.$ac_objext
18075
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18076
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
18077
 
   # Insert the option either (1) after the last *FLAGS variable, or
18078
 
   # (2) before a word containing "conftest.", or (3) at the end.
18079
 
   # Note that $ac_compile itself does not contain backslashes and begins
18080
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18081
 
   # The option is referenced via a variable to avoid confusing sed.
18082
 
   lt_compile=`echo "$ac_compile" | $SED \
18083
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18084
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18085
 
   -e 's:$: $lt_compiler_flag:'`
18086
 
   (eval echo "\"\$as_me:18086: $lt_compile\"" >&5)
18087
 
   (eval "$lt_compile" 2>conftest.err)
18088
 
   ac_status=$?
18089
 
   cat conftest.err >&5
18090
 
   echo "$as_me:18090: \$? = $ac_status" >&5
18091
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
18092
 
     # The compiler can only warn and ignore the option if not recognized
18093
 
     # So say no if there are warnings other than the usual output.
18094
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
18095
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18096
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
18097
 
       lt_cv_prog_compiler_pic_works_GCJ=yes
18098
 
     fi
18099
 
   fi
18100
 
   $rm conftest*
18101
 
 
18102
 
fi
18103
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
18104
 
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
18105
 
 
18106
 
if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
18107
 
    case $lt_prog_compiler_pic_GCJ in
18108
 
     "" | " "*) ;;
18109
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
18110
 
     esac
18111
 
else
18112
 
    lt_prog_compiler_pic_GCJ=
18113
 
     lt_prog_compiler_can_build_shared_GCJ=no
18114
 
fi
18115
 
 
18116
 
fi
18117
 
case $host_os in
18118
 
  # For platforms which do not support PIC, -DPIC is meaningless:
18119
 
  *djgpp*)
18120
 
    lt_prog_compiler_pic_GCJ=
18121
 
    ;;
18122
 
  *)
18123
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
18124
 
    ;;
18125
 
esac
18126
 
 
18127
 
#
18128
 
# Check to make sure the static flag actually works.
18129
 
#
18130
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
18131
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18132
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
18133
 
if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
18134
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18135
 
else
18136
 
  lt_cv_prog_compiler_static_works_GCJ=no
18137
 
   save_LDFLAGS="$LDFLAGS"
18138
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
18139
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
18140
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
18141
 
     # The linker can only warn and ignore the option if not recognized
18142
 
     # So say no if there are warnings
18143
 
     if test -s conftest.err; then
18144
 
       # Append any errors to the config.log.
18145
 
       cat conftest.err 1>&5
18146
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
18147
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
18148
 
       if diff conftest.exp conftest.er2 >/dev/null; then
18149
 
         lt_cv_prog_compiler_static_works_GCJ=yes
18150
 
       fi
18151
 
     else
18152
 
       lt_cv_prog_compiler_static_works_GCJ=yes
18153
 
     fi
18154
 
   fi
18155
 
   $rm -r conftest*
18156
 
   LDFLAGS="$save_LDFLAGS"
18157
 
 
18158
 
fi
18159
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
18160
 
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
18161
 
 
18162
 
if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
18163
 
    :
18164
 
else
18165
 
    lt_prog_compiler_static_GCJ=
18166
 
fi
18167
 
 
18168
 
 
18169
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
18170
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
18171
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
18172
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
18173
 
else
18174
 
  lt_cv_prog_compiler_c_o_GCJ=no
18175
 
   $rm -r conftest 2>/dev/null
18176
 
   mkdir conftest
18177
 
   cd conftest
18178
 
   mkdir out
18179
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18180
 
 
18181
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
18182
 
   # Insert the option either (1) after the last *FLAGS variable, or
18183
 
   # (2) before a word containing "conftest.", or (3) at the end.
18184
 
   # Note that $ac_compile itself does not contain backslashes and begins
18185
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
18186
 
   lt_compile=`echo "$ac_compile" | $SED \
18187
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18188
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18189
 
   -e 's:$: $lt_compiler_flag:'`
18190
 
   (eval echo "\"\$as_me:18190: $lt_compile\"" >&5)
18191
 
   (eval "$lt_compile" 2>out/conftest.err)
18192
 
   ac_status=$?
18193
 
   cat out/conftest.err >&5
18194
 
   echo "$as_me:18194: \$? = $ac_status" >&5
18195
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18196
 
   then
18197
 
     # The compiler can only warn and ignore the option if not recognized
18198
 
     # So say no if there are warnings
18199
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
18200
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
18201
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
18202
 
       lt_cv_prog_compiler_c_o_GCJ=yes
18203
 
     fi
18204
 
   fi
18205
 
   chmod u+w . 2>&5
18206
 
   $rm conftest*
18207
 
   # SGI C++ compiler will create directory out/ii_files/ for
18208
 
   # template instantiation
18209
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
18210
 
   $rm out/* && rmdir out
18211
 
   cd ..
18212
 
   rmdir conftest
18213
 
   $rm conftest*
18214
 
 
18215
 
fi
18216
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
18217
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
18218
 
 
18219
 
 
18220
 
hard_links="nottested"
18221
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
18222
 
  # do not overwrite the value of need_locks provided by the user
18223
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
18224
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
18225
 
  hard_links=yes
18226
 
  $rm conftest*
18227
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18228
 
  touch conftest.a
18229
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
18230
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
18231
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
18232
 
echo "${ECHO_T}$hard_links" >&6; }
18233
 
  if test "$hard_links" = no; then
18234
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
18235
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
18236
 
    need_locks=warn
18237
 
  fi
18238
 
else
18239
 
  need_locks=no
18240
 
fi
18241
 
 
18242
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18243
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
18244
 
 
18245
 
  runpath_var=
18246
 
  allow_undefined_flag_GCJ=
18247
 
  enable_shared_with_static_runtimes_GCJ=no
18248
 
  archive_cmds_GCJ=
18249
 
  archive_expsym_cmds_GCJ=
18250
 
  old_archive_From_new_cmds_GCJ=
18251
 
  old_archive_from_expsyms_cmds_GCJ=
18252
 
  export_dynamic_flag_spec_GCJ=
18253
 
  whole_archive_flag_spec_GCJ=
18254
 
  thread_safe_flag_spec_GCJ=
18255
 
  hardcode_libdir_flag_spec_GCJ=
18256
 
  hardcode_libdir_flag_spec_ld_GCJ=
18257
 
  hardcode_libdir_separator_GCJ=
18258
 
  hardcode_direct_GCJ=no
18259
 
  hardcode_minus_L_GCJ=no
18260
 
  hardcode_shlibpath_var_GCJ=unsupported
18261
 
  link_all_deplibs_GCJ=unknown
18262
 
  hardcode_automatic_GCJ=no
18263
 
  module_cmds_GCJ=
18264
 
  module_expsym_cmds_GCJ=
18265
 
  always_export_symbols_GCJ=no
18266
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18267
 
  # include_expsyms should be a list of space-separated symbols to be *always*
18268
 
  # included in the symbol list
18269
 
  include_expsyms_GCJ=
18270
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
18271
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
18272
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
18273
 
  # as well as any symbol that contains `d'.
18274
 
  exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18275
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
18276
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
18277
 
  # the symbol is explicitly referenced.  Since portable code cannot
18278
 
  # rely on this symbol name, it's probably fine to never include it in
18279
 
  # preloaded symbol tables.
18280
 
  # Exclude shared library initialization/finalization symbols.
18281
 
  extract_expsyms_cmds=
18282
 
  # Just being paranoid about ensuring that cc_basename is set.
18283
 
  for cc_temp in $compiler""; do
18284
 
  case $cc_temp in
18285
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18286
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18287
 
    \-*) ;;
18288
 
    *) break;;
18289
 
  esac
18290
 
done
18291
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
18292
 
 
18293
 
  case $host_os in
18294
 
  cygwin* | mingw* | pw32*)
18295
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
18296
 
    # When not using gcc, we currently assume that we are using
18297
 
    # Microsoft Visual C++.
18298
 
    if test "$GCC" != yes; then
18299
 
      with_gnu_ld=no
18300
 
    fi
18301
 
    ;;
18302
 
  interix*)
18303
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
18304
 
    with_gnu_ld=yes
18305
 
    ;;
18306
 
  openbsd*)
18307
 
    with_gnu_ld=no
18308
 
    ;;
18309
 
  esac
18310
 
 
18311
 
  ld_shlibs_GCJ=yes
18312
 
  if test "$with_gnu_ld" = yes; then
18313
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
18314
 
    wlarc='${wl}'
18315
 
 
18316
 
    # Set some defaults for GNU ld with shared library support. These
18317
 
    # are reset later if shared libraries are not supported. Putting them
18318
 
    # here allows them to be overridden if necessary.
18319
 
    runpath_var=LD_RUN_PATH
18320
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
18321
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
18322
 
    # ancient GNU ld didn't support --whole-archive et. al.
18323
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
18324
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18325
 
      else
18326
 
        whole_archive_flag_spec_GCJ=
18327
 
    fi
18328
 
    supports_anon_versioning=no
18329
 
    case `$LD -v 2>/dev/null` in
18330
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
18331
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
18332
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
18333
 
      *\ 2.11.*) ;; # other 2.11 versions
18334
 
      *) supports_anon_versioning=yes ;;
18335
 
    esac
18336
 
 
18337
 
    # See if GNU ld supports shared libraries.
18338
 
    case $host_os in
18339
 
    aix[3-9]*)
18340
 
      # On AIX/PPC, the GNU linker is very broken
18341
 
      if test "$host_cpu" != ia64; then
18342
 
        ld_shlibs_GCJ=no
18343
 
        cat <<EOF 1>&2
18344
 
 
18345
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
18346
 
*** to be unable to reliably create shared libraries on AIX.
18347
 
*** Therefore, libtool is disabling shared libraries support.  If you
18348
 
*** really care for shared libraries, you may want to modify your PATH
18349
 
*** so that a non-GNU linker is found, and then restart.
18350
 
 
18351
 
EOF
18352
 
      fi
18353
 
      ;;
18354
 
 
18355
 
    amigaos*)
18356
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18357
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18358
 
      hardcode_minus_L_GCJ=yes
18359
 
 
18360
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
18361
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
18362
 
      # to version 4, is to share data among multiple programs linked
18363
 
      # with the same dynamic library.  Since this doesn't match the
18364
 
      # behavior of shared libraries on other platforms, we can't use
18365
 
      # them.
18366
 
      ld_shlibs_GCJ=no
18367
 
      ;;
18368
 
 
18369
 
    beos*)
18370
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18371
 
        allow_undefined_flag_GCJ=unsupported
18372
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18373
 
        # support --undefined.  This deserves some investigation.  FIXME
18374
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18375
 
      else
18376
 
        ld_shlibs_GCJ=no
18377
 
      fi
18378
 
      ;;
18379
 
 
18380
 
    cygwin* | mingw* | pw32*)
18381
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18382
 
      # as there is no search path for DLLs.
18383
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18384
 
      allow_undefined_flag_GCJ=unsupported
18385
 
      always_export_symbols_GCJ=no
18386
 
      enable_shared_with_static_runtimes_GCJ=yes
18387
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18388
 
 
18389
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
18390
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18391
 
        # If the export-symbols file already is a .def file (1st line
18392
 
        # is EXPORTS), use it as is; otherwise, prepend...
18393
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18394
 
          cp $export_symbols $output_objdir/$soname.def;
18395
 
        else
18396
 
          echo EXPORTS > $output_objdir/$soname.def;
18397
 
          cat $export_symbols >> $output_objdir/$soname.def;
18398
 
        fi~
18399
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18400
 
      else
18401
 
        ld_shlibs_GCJ=no
18402
 
      fi
18403
 
      ;;
18404
 
 
18405
 
    interix[3-9]*)
18406
 
      hardcode_direct_GCJ=no
18407
 
      hardcode_shlibpath_var_GCJ=no
18408
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
18409
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18410
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18411
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
18412
 
      # default) and relocated if they conflict, which is a slow very memory
18413
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
18414
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18415
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
18416
 
      archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18417
 
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18418
 
      ;;
18419
 
 
18420
 
    gnu* | linux* | k*bsd*-gnu)
18421
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18422
 
        tmp_addflag=
18423
 
        case $cc_basename,$host_cpu in
18424
 
        pgcc*)                          # Portland Group C compiler
18425
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18426
 
          tmp_addflag=' $pic_flag'
18427
 
          ;;
18428
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
18429
 
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
18430
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
18431
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
18432
 
          tmp_addflag=' -i_dynamic' ;;
18433
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
18434
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
18435
 
        ifc* | ifort*)                  # Intel Fortran compiler
18436
 
          tmp_addflag=' -nofor_main' ;;
18437
 
        esac
18438
 
        case `$CC -V 2>&1 | sed 5q` in
18439
 
        *Sun\ C*)                       # Sun C 5.9
18440
 
          whole_archive_flag_spec_GCJ='${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'
18441
 
          tmp_sharedflag='-G' ;;
18442
 
        *Sun\ F*)                       # Sun Fortran 8.3
18443
 
          tmp_sharedflag='-G' ;;
18444
 
        *)
18445
 
          tmp_sharedflag='-shared' ;;
18446
 
        esac
18447
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18448
 
 
18449
 
        if test $supports_anon_versioning = yes; then
18450
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
18451
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18452
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
18453
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18454
 
        fi
18455
 
      else
18456
 
        ld_shlibs_GCJ=no
18457
 
      fi
18458
 
      ;;
18459
 
 
18460
 
    netbsd*)
18461
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18462
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18463
 
        wlarc=
18464
 
      else
18465
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18466
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18467
 
      fi
18468
 
      ;;
18469
 
 
18470
 
    solaris*)
18471
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
18472
 
        ld_shlibs_GCJ=no
18473
 
        cat <<EOF 1>&2
18474
 
 
18475
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
18476
 
*** create shared libraries on Solaris systems.  Therefore, libtool
18477
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18478
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
18479
 
*** your PATH or compiler configuration so that the native linker is
18480
 
*** used, and then restart.
18481
 
 
18482
 
EOF
18483
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18484
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18485
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18486
 
      else
18487
 
        ld_shlibs_GCJ=no
18488
 
      fi
18489
 
      ;;
18490
 
 
18491
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
18492
 
      case `$LD -v 2>&1` in
18493
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
18494
 
        ld_shlibs_GCJ=no
18495
 
        cat <<_LT_EOF 1>&2
18496
 
 
18497
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18498
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
18499
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
18500
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
18501
 
*** your PATH or compiler configuration so that the native linker is
18502
 
*** used, and then restart.
18503
 
 
18504
 
_LT_EOF
18505
 
        ;;
18506
 
        *)
18507
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18508
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
18509
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
18510
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
18511
 
          else
18512
 
            ld_shlibs_GCJ=no
18513
 
          fi
18514
 
        ;;
18515
 
      esac
18516
 
      ;;
18517
 
 
18518
 
    sunos4*)
18519
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18520
 
      wlarc=
18521
 
      hardcode_direct_GCJ=yes
18522
 
      hardcode_shlibpath_var_GCJ=no
18523
 
      ;;
18524
 
 
18525
 
    *)
18526
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
18527
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18528
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18529
 
      else
18530
 
        ld_shlibs_GCJ=no
18531
 
      fi
18532
 
      ;;
18533
 
    esac
18534
 
 
18535
 
    if test "$ld_shlibs_GCJ" = no; then
18536
 
      runpath_var=
18537
 
      hardcode_libdir_flag_spec_GCJ=
18538
 
      export_dynamic_flag_spec_GCJ=
18539
 
      whole_archive_flag_spec_GCJ=
18540
 
    fi
18541
 
  else
18542
 
    # PORTME fill in a description of your system's linker (not GNU ld)
18543
 
    case $host_os in
18544
 
    aix3*)
18545
 
      allow_undefined_flag_GCJ=unsupported
18546
 
      always_export_symbols_GCJ=yes
18547
 
      archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
18548
 
      # Note: this linker hardcodes the directories in LIBPATH if there
18549
 
      # are no directories specified by -L.
18550
 
      hardcode_minus_L_GCJ=yes
18551
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18552
 
        # Neither direct hardcoding nor static linking is supported with a
18553
 
        # broken collect2.
18554
 
        hardcode_direct_GCJ=unsupported
18555
 
      fi
18556
 
      ;;
18557
 
 
18558
 
    aix[4-9]*)
18559
 
      if test "$host_cpu" = ia64; then
18560
 
        # On IA64, the linker does run time linking by default, so we don't
18561
 
        # have to do anything special.
18562
 
        aix_use_runtimelinking=no
18563
 
        exp_sym_flag='-Bexport'
18564
 
        no_entry_flag=""
18565
 
      else
18566
 
        # If we're using GNU nm, then we don't want the "-C" option.
18567
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
18568
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
18569
 
          export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18570
 
        else
18571
 
          export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
18572
 
        fi
18573
 
        aix_use_runtimelinking=no
18574
 
 
18575
 
        # Test if we are trying to use run time linking or normal
18576
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18577
 
        # need to do runtime linking.
18578
 
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18579
 
          for ld_flag in $LDFLAGS; do
18580
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
18581
 
            aix_use_runtimelinking=yes
18582
 
            break
18583
 
          fi
18584
 
          done
18585
 
          ;;
18586
 
        esac
18587
 
 
18588
 
        exp_sym_flag='-bexport'
18589
 
        no_entry_flag='-bnoentry'
18590
 
      fi
18591
 
 
18592
 
      # When large executables or shared objects are built, AIX ld can
18593
 
      # have problems creating the table of contents.  If linking a library
18594
 
      # or program results in "error TOC overflow" add -mminimal-toc to
18595
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
18596
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18597
 
 
18598
 
      archive_cmds_GCJ=''
18599
 
      hardcode_direct_GCJ=yes
18600
 
      hardcode_libdir_separator_GCJ=':'
18601
 
      link_all_deplibs_GCJ=yes
18602
 
 
18603
 
      if test "$GCC" = yes; then
18604
 
        case $host_os in aix4.[012]|aix4.[012].*)
18605
 
        # We only want to do this on AIX 4.2 and lower, the check
18606
 
        # below for broken collect2 doesn't work under 4.3+
18607
 
          collect2name=`${CC} -print-prog-name=collect2`
18608
 
          if test -f "$collect2name" && \
18609
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
18610
 
          then
18611
 
          # We have reworked collect2
18612
 
          :
18613
 
          else
18614
 
          # We have old collect2
18615
 
          hardcode_direct_GCJ=unsupported
18616
 
          # It fails to find uninstalled libraries when the uninstalled
18617
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
18618
 
          # to unsupported forces relinking
18619
 
          hardcode_minus_L_GCJ=yes
18620
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
18621
 
          hardcode_libdir_separator_GCJ=
18622
 
          fi
18623
 
          ;;
18624
 
        esac
18625
 
        shared_flag='-shared'
18626
 
        if test "$aix_use_runtimelinking" = yes; then
18627
 
          shared_flag="$shared_flag "'${wl}-G'
18628
 
        fi
18629
 
      else
18630
 
        # not using gcc
18631
 
        if test "$host_cpu" = ia64; then
18632
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18633
 
        # chokes on -Wl,-G. The following line is correct:
18634
 
          shared_flag='-G'
18635
 
        else
18636
 
          if test "$aix_use_runtimelinking" = yes; then
18637
 
            shared_flag='${wl}-G'
18638
 
          else
18639
 
            shared_flag='${wl}-bM:SRE'
18640
 
          fi
18641
 
        fi
18642
 
      fi
18643
 
 
18644
 
      # It seems that -bexpall does not export symbols beginning with
18645
 
      # underscore (_), so it is better to generate a list of symbols to export.
18646
 
      always_export_symbols_GCJ=yes
18647
 
      if test "$aix_use_runtimelinking" = yes; then
18648
 
        # Warning - without using the other runtime loading flags (-brtl),
18649
 
        # -berok will link without error, but may produce a broken library.
18650
 
        allow_undefined_flag_GCJ='-berok'
18651
 
       # Determine the default libpath from the value encoded in an empty executable.
18652
 
       cat >conftest.$ac_ext <<_ACEOF
18653
 
/* confdefs.h.  */
18654
 
_ACEOF
18655
 
cat confdefs.h >>conftest.$ac_ext
18656
 
cat >>conftest.$ac_ext <<_ACEOF
18657
 
/* end confdefs.h.  */
18658
 
 
18659
 
int
18660
 
main ()
18661
 
{
18662
 
 
18663
 
  ;
18664
 
  return 0;
18665
 
}
18666
 
_ACEOF
18667
 
rm -f conftest.$ac_objext conftest$ac_exeext
18668
 
if { (ac_try="$ac_link"
18669
 
case "(($ac_try" in
18670
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18671
 
  *) ac_try_echo=$ac_try;;
18672
 
esac
18673
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18674
 
  (eval "$ac_link") 2>conftest.er1
18675
 
  ac_status=$?
18676
 
  grep -v '^ *+' conftest.er1 >conftest.err
18677
 
  rm -f conftest.er1
18678
 
  cat conftest.err >&5
18679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680
 
  (exit $ac_status); } && {
18681
 
         test -z "$ac_c_werror_flag" ||
18682
 
         test ! -s conftest.err
18683
 
       } && test -s conftest$ac_exeext &&
18684
 
       $as_test_x conftest$ac_exeext; then
18685
 
 
18686
 
lt_aix_libpath_sed='
18687
 
    /Import File Strings/,/^$/ {
18688
 
        /^0/ {
18689
 
            s/^0  *\(.*\)$/\1/
18690
 
            p
18691
 
        }
18692
 
    }'
18693
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18694
 
# Check for a 64-bit object if we didn't find anything.
18695
 
if test -z "$aix_libpath"; then
18696
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18697
 
fi
18698
 
else
18699
 
  echo "$as_me: failed program was:" >&5
18700
 
sed 's/^/| /' conftest.$ac_ext >&5
18701
 
 
18702
 
 
18703
 
fi
18704
 
 
18705
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18706
 
      conftest$ac_exeext conftest.$ac_ext
18707
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18708
 
 
18709
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18710
 
        archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18711
 
       else
18712
 
        if test "$host_cpu" = ia64; then
18713
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
18714
 
          allow_undefined_flag_GCJ="-z nodefs"
18715
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
18716
 
        else
18717
 
         # Determine the default libpath from the value encoded in an empty executable.
18718
 
         cat >conftest.$ac_ext <<_ACEOF
18719
 
/* confdefs.h.  */
18720
 
_ACEOF
18721
 
cat confdefs.h >>conftest.$ac_ext
18722
 
cat >>conftest.$ac_ext <<_ACEOF
18723
 
/* end confdefs.h.  */
18724
 
 
18725
 
int
18726
 
main ()
18727
 
{
18728
 
 
18729
 
  ;
18730
 
  return 0;
18731
 
}
18732
 
_ACEOF
18733
 
rm -f conftest.$ac_objext conftest$ac_exeext
18734
 
if { (ac_try="$ac_link"
18735
 
case "(($ac_try" in
18736
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18737
 
  *) ac_try_echo=$ac_try;;
18738
 
esac
18739
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18740
 
  (eval "$ac_link") 2>conftest.er1
18741
 
  ac_status=$?
18742
 
  grep -v '^ *+' conftest.er1 >conftest.err
18743
 
  rm -f conftest.er1
18744
 
  cat conftest.err >&5
18745
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746
 
  (exit $ac_status); } && {
18747
 
         test -z "$ac_c_werror_flag" ||
18748
 
         test ! -s conftest.err
18749
 
       } && test -s conftest$ac_exeext &&
18750
 
       $as_test_x conftest$ac_exeext; then
18751
 
 
18752
 
lt_aix_libpath_sed='
18753
 
    /Import File Strings/,/^$/ {
18754
 
        /^0/ {
18755
 
            s/^0  *\(.*\)$/\1/
18756
 
            p
18757
 
        }
18758
 
    }'
18759
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18760
 
# Check for a 64-bit object if we didn't find anything.
18761
 
if test -z "$aix_libpath"; then
18762
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18763
 
fi
18764
 
else
18765
 
  echo "$as_me: failed program was:" >&5
18766
 
sed 's/^/| /' conftest.$ac_ext >&5
18767
 
 
18768
 
 
18769
 
fi
18770
 
 
18771
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18772
 
      conftest$ac_exeext conftest.$ac_ext
18773
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
18774
 
 
18775
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
18776
 
          # Warning - without using the other run time loading flags,
18777
 
          # -berok will link without error, but may produce a broken library.
18778
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
18779
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
18780
 
          # Exported symbols can be pulled into shared objects from archives
18781
 
          whole_archive_flag_spec_GCJ='$convenience'
18782
 
          archive_cmds_need_lc_GCJ=yes
18783
 
          # This is similar to how AIX traditionally builds its shared libraries.
18784
 
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
18785
 
        fi
18786
 
      fi
18787
 
      ;;
18788
 
 
18789
 
    amigaos*)
18790
 
      archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
18791
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18792
 
      hardcode_minus_L_GCJ=yes
18793
 
      # see comment about different semantics on the GNU ld section
18794
 
      ld_shlibs_GCJ=no
18795
 
      ;;
18796
 
 
18797
 
    bsdi[45]*)
18798
 
      export_dynamic_flag_spec_GCJ=-rdynamic
18799
 
      ;;
18800
 
 
18801
 
    cygwin* | mingw* | pw32*)
18802
 
      # When not using gcc, we currently assume that we are using
18803
 
      # Microsoft Visual C++.
18804
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
18805
 
      # no search path for DLLs.
18806
 
      hardcode_libdir_flag_spec_GCJ=' '
18807
 
      allow_undefined_flag_GCJ=unsupported
18808
 
      # Tell ltmain to make .lib files, not .a files.
18809
 
      libext=lib
18810
 
      # Tell ltmain to make .dll files, not .so files.
18811
 
      shrext_cmds=".dll"
18812
 
      # FIXME: Setting linknames here is a bad hack.
18813
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
18814
 
      # The linker will automatically build a .lib file if we build a DLL.
18815
 
      old_archive_From_new_cmds_GCJ='true'
18816
 
      # FIXME: Should let the user specify the lib program.
18817
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
18818
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
18819
 
      enable_shared_with_static_runtimes_GCJ=yes
18820
 
      ;;
18821
 
 
18822
 
    darwin* | rhapsody*)
18823
 
      case $host_os in
18824
 
        rhapsody* | darwin1.[012])
18825
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
18826
 
         ;;
18827
 
       *) # Darwin 1.3 on
18828
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
18829
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18830
 
         else
18831
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
18832
 
             10.[012])
18833
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
18834
 
               ;;
18835
 
             10.*)
18836
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
18837
 
               ;;
18838
 
           esac
18839
 
         fi
18840
 
         ;;
18841
 
      esac
18842
 
      archive_cmds_need_lc_GCJ=no
18843
 
      hardcode_direct_GCJ=no
18844
 
      hardcode_automatic_GCJ=yes
18845
 
      hardcode_shlibpath_var_GCJ=unsupported
18846
 
      whole_archive_flag_spec_GCJ=''
18847
 
      link_all_deplibs_GCJ=yes
18848
 
    if test "$GCC" = yes ; then
18849
 
        output_verbose_link_cmd='echo'
18850
 
        archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18851
 
        module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18852
 
        archive_expsym_cmds_GCJ="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}"
18853
 
        module_expsym_cmds_GCJ="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}"
18854
 
    else
18855
 
      case $cc_basename in
18856
 
        xlc*)
18857
 
         output_verbose_link_cmd='echo'
18858
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
18859
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
18860
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
18861
 
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18862
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
18863
 
          ;;
18864
 
       *)
18865
 
         ld_shlibs_GCJ=no
18866
 
          ;;
18867
 
      esac
18868
 
    fi
18869
 
      ;;
18870
 
 
18871
 
    dgux*)
18872
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18873
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18874
 
      hardcode_shlibpath_var_GCJ=no
18875
 
      ;;
18876
 
 
18877
 
    freebsd1*)
18878
 
      ld_shlibs_GCJ=no
18879
 
      ;;
18880
 
 
18881
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18882
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
18883
 
    # does not break anything, and helps significantly (at the cost of a little
18884
 
    # extra space).
18885
 
    freebsd2.2*)
18886
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18887
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18888
 
      hardcode_direct_GCJ=yes
18889
 
      hardcode_shlibpath_var_GCJ=no
18890
 
      ;;
18891
 
 
18892
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18893
 
    freebsd2*)
18894
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18895
 
      hardcode_direct_GCJ=yes
18896
 
      hardcode_minus_L_GCJ=yes
18897
 
      hardcode_shlibpath_var_GCJ=no
18898
 
      ;;
18899
 
 
18900
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18901
 
    freebsd* | dragonfly*)
18902
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18903
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18904
 
      hardcode_direct_GCJ=yes
18905
 
      hardcode_shlibpath_var_GCJ=no
18906
 
      ;;
18907
 
 
18908
 
    hpux9*)
18909
 
      if test "$GCC" = yes; then
18910
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18911
 
      else
18912
 
        archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18913
 
      fi
18914
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18915
 
      hardcode_libdir_separator_GCJ=:
18916
 
      hardcode_direct_GCJ=yes
18917
 
 
18918
 
      # hardcode_minus_L: Not really in the search PATH,
18919
 
      # but as the default location of the library.
18920
 
      hardcode_minus_L_GCJ=yes
18921
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
18922
 
      ;;
18923
 
 
18924
 
    hpux10*)
18925
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18926
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18927
 
      else
18928
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18929
 
      fi
18930
 
      if test "$with_gnu_ld" = no; then
18931
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18932
 
        hardcode_libdir_separator_GCJ=:
18933
 
 
18934
 
        hardcode_direct_GCJ=yes
18935
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
18936
 
 
18937
 
        # hardcode_minus_L: Not really in the search PATH,
18938
 
        # but as the default location of the library.
18939
 
        hardcode_minus_L_GCJ=yes
18940
 
      fi
18941
 
      ;;
18942
 
 
18943
 
    hpux11*)
18944
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
18945
 
        case $host_cpu in
18946
 
        hppa*64*)
18947
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18948
 
          ;;
18949
 
        ia64*)
18950
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18951
 
          ;;
18952
 
        *)
18953
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18954
 
          ;;
18955
 
        esac
18956
 
      else
18957
 
        case $host_cpu in
18958
 
        hppa*64*)
18959
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18960
 
          ;;
18961
 
        ia64*)
18962
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18963
 
          ;;
18964
 
        *)
18965
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18966
 
          ;;
18967
 
        esac
18968
 
      fi
18969
 
      if test "$with_gnu_ld" = no; then
18970
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
18971
 
        hardcode_libdir_separator_GCJ=:
18972
 
 
18973
 
        case $host_cpu in
18974
 
        hppa*64*|ia64*)
18975
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
18976
 
          hardcode_direct_GCJ=no
18977
 
          hardcode_shlibpath_var_GCJ=no
18978
 
          ;;
18979
 
        *)
18980
 
          hardcode_direct_GCJ=yes
18981
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
18982
 
 
18983
 
          # hardcode_minus_L: Not really in the search PATH,
18984
 
          # but as the default location of the library.
18985
 
          hardcode_minus_L_GCJ=yes
18986
 
          ;;
18987
 
        esac
18988
 
      fi
18989
 
      ;;
18990
 
 
18991
 
    irix5* | irix6* | nonstopux*)
18992
 
      if test "$GCC" = yes; then
18993
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18994
 
      else
18995
 
        archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18996
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
18997
 
      fi
18998
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18999
 
      hardcode_libdir_separator_GCJ=:
19000
 
      link_all_deplibs_GCJ=yes
19001
 
      ;;
19002
 
 
19003
 
    netbsd*)
19004
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19005
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
19006
 
      else
19007
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
19008
 
      fi
19009
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19010
 
      hardcode_direct_GCJ=yes
19011
 
      hardcode_shlibpath_var_GCJ=no
19012
 
      ;;
19013
 
 
19014
 
    newsos6)
19015
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19016
 
      hardcode_direct_GCJ=yes
19017
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19018
 
      hardcode_libdir_separator_GCJ=:
19019
 
      hardcode_shlibpath_var_GCJ=no
19020
 
      ;;
19021
 
 
19022
 
    openbsd*)
19023
 
      if test -f /usr/libexec/ld.so; then
19024
 
        hardcode_direct_GCJ=yes
19025
 
        hardcode_shlibpath_var_GCJ=no
19026
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19027
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19028
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
19029
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19030
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
19031
 
        else
19032
 
          case $host_os in
19033
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
19034
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
19035
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
19036
 
             ;;
19037
 
           *)
19038
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
19039
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
19040
 
             ;;
19041
 
          esac
19042
 
        fi
19043
 
      else
19044
 
        ld_shlibs_GCJ=no
19045
 
      fi
19046
 
      ;;
19047
 
 
19048
 
    os2*)
19049
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19050
 
      hardcode_minus_L_GCJ=yes
19051
 
      allow_undefined_flag_GCJ=unsupported
19052
 
      archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
19053
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
19054
 
      ;;
19055
 
 
19056
 
    osf3*)
19057
 
      if test "$GCC" = yes; then
19058
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19059
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19060
 
      else
19061
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19062
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19063
 
      fi
19064
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19065
 
      hardcode_libdir_separator_GCJ=:
19066
 
      ;;
19067
 
 
19068
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
19069
 
      if test "$GCC" = yes; then
19070
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
19071
 
        archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19072
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
19073
 
      else
19074
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
19075
 
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
19076
 
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
19077
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
19078
 
 
19079
 
        # Both c and cxx compiler support -rpath directly
19080
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
19081
 
      fi
19082
 
      hardcode_libdir_separator_GCJ=:
19083
 
      ;;
19084
 
 
19085
 
    solaris*)
19086
 
      no_undefined_flag_GCJ=' -z text'
19087
 
      if test "$GCC" = yes; then
19088
 
        wlarc='${wl}'
19089
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
19090
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19091
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
19092
 
      else
19093
 
        wlarc=''
19094
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
19095
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
19096
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
19097
 
      fi
19098
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
19099
 
      hardcode_shlibpath_var_GCJ=no
19100
 
      case $host_os in
19101
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
19102
 
      *)
19103
 
        # The compiler driver will combine and reorder linker options,
19104
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
19105
 
        # but is careful enough not to reorder.
19106
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
19107
 
        if test "$GCC" = yes; then
19108
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19109
 
        else
19110
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
19111
 
        fi
19112
 
        ;;
19113
 
      esac
19114
 
      link_all_deplibs_GCJ=yes
19115
 
      ;;
19116
 
 
19117
 
    sunos4*)
19118
 
      if test "x$host_vendor" = xsequent; then
19119
 
        # Use $CC to link under sequent, because it throws in some extra .o
19120
 
        # files that make .init and .fini sections work.
19121
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
19122
 
      else
19123
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
19124
 
      fi
19125
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19126
 
      hardcode_direct_GCJ=yes
19127
 
      hardcode_minus_L_GCJ=yes
19128
 
      hardcode_shlibpath_var_GCJ=no
19129
 
      ;;
19130
 
 
19131
 
    sysv4)
19132
 
      case $host_vendor in
19133
 
        sni)
19134
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19135
 
          hardcode_direct_GCJ=yes # is this really true???
19136
 
        ;;
19137
 
        siemens)
19138
 
          ## LD is ld it makes a PLAMLIB
19139
 
          ## CC just makes a GrossModule.
19140
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
19141
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
19142
 
          hardcode_direct_GCJ=no
19143
 
        ;;
19144
 
        motorola)
19145
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19146
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
19147
 
        ;;
19148
 
      esac
19149
 
      runpath_var='LD_RUN_PATH'
19150
 
      hardcode_shlibpath_var_GCJ=no
19151
 
      ;;
19152
 
 
19153
 
    sysv4.3*)
19154
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19155
 
      hardcode_shlibpath_var_GCJ=no
19156
 
      export_dynamic_flag_spec_GCJ='-Bexport'
19157
 
      ;;
19158
 
 
19159
 
    sysv4*MP*)
19160
 
      if test -d /usr/nec; then
19161
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19162
 
        hardcode_shlibpath_var_GCJ=no
19163
 
        runpath_var=LD_RUN_PATH
19164
 
        hardcode_runpath_var=yes
19165
 
        ld_shlibs_GCJ=yes
19166
 
      fi
19167
 
      ;;
19168
 
 
19169
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19170
 
      no_undefined_flag_GCJ='${wl}-z,text'
19171
 
      archive_cmds_need_lc_GCJ=no
19172
 
      hardcode_shlibpath_var_GCJ=no
19173
 
      runpath_var='LD_RUN_PATH'
19174
 
 
19175
 
      if test "$GCC" = yes; then
19176
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19177
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19178
 
      else
19179
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19180
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19181
 
      fi
19182
 
      ;;
19183
 
 
19184
 
    sysv5* | sco3.2v5* | sco5v6*)
19185
 
      # Note: We can NOT use -z defs as we might desire, because we do not
19186
 
      # link with -lc, and that would cause any symbols used from libc to
19187
 
      # always be unresolved, which means just about no library would
19188
 
      # ever link correctly.  If we're not using GNU ld we use -z text
19189
 
      # though, which does catch some bad symbols but isn't as heavy-handed
19190
 
      # as -z defs.
19191
 
      no_undefined_flag_GCJ='${wl}-z,text'
19192
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
19193
 
      archive_cmds_need_lc_GCJ=no
19194
 
      hardcode_shlibpath_var_GCJ=no
19195
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
19196
 
      hardcode_libdir_separator_GCJ=':'
19197
 
      link_all_deplibs_GCJ=yes
19198
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
19199
 
      runpath_var='LD_RUN_PATH'
19200
 
 
19201
 
      if test "$GCC" = yes; then
19202
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19203
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19204
 
      else
19205
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19206
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
19207
 
      fi
19208
 
      ;;
19209
 
 
19210
 
    uts4*)
19211
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
19212
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
19213
 
      hardcode_shlibpath_var_GCJ=no
19214
 
      ;;
19215
 
 
19216
 
    *)
19217
 
      ld_shlibs_GCJ=no
19218
 
      ;;
19219
 
    esac
19220
 
  fi
19221
 
 
19222
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
19223
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
19224
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
19225
 
 
19226
 
#
19227
 
# Do we need to explicitly link libc?
19228
 
#
19229
 
case "x$archive_cmds_need_lc_GCJ" in
19230
 
x|xyes)
19231
 
  # Assume -lc should be added
19232
 
  archive_cmds_need_lc_GCJ=yes
19233
 
 
19234
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
19235
 
    case $archive_cmds_GCJ in
19236
 
    *'~'*)
19237
 
      # FIXME: we may have to deal with multi-command sequences.
19238
 
      ;;
19239
 
    '$CC '*)
19240
 
      # Test whether the compiler implicitly links with -lc since on some
19241
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
19242
 
      # to ld, don't add -lc before -lgcc.
19243
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
19244
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
19245
 
      $rm conftest*
19246
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19247
 
 
19248
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19249
 
  (eval $ac_compile) 2>&5
19250
 
  ac_status=$?
19251
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19252
 
  (exit $ac_status); } 2>conftest.err; then
19253
 
        soname=conftest
19254
 
        lib=conftest
19255
 
        libobjs=conftest.$ac_objext
19256
 
        deplibs=
19257
 
        wl=$lt_prog_compiler_wl_GCJ
19258
 
        pic_flag=$lt_prog_compiler_pic_GCJ
19259
 
        compiler_flags=-v
19260
 
        linker_flags=-v
19261
 
        verstring=
19262
 
        output_objdir=.
19263
 
        libname=conftest
19264
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
19265
 
        allow_undefined_flag_GCJ=
19266
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
19267
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
19268
 
  ac_status=$?
19269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270
 
  (exit $ac_status); }
19271
 
        then
19272
 
          archive_cmds_need_lc_GCJ=no
19273
 
        else
19274
 
          archive_cmds_need_lc_GCJ=yes
19275
 
        fi
19276
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
19277
 
      else
19278
 
        cat conftest.err 1>&5
19279
 
      fi
19280
 
      $rm conftest*
19281
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
19282
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
19283
 
      ;;
19284
 
    esac
19285
 
  fi
19286
 
  ;;
19287
 
esac
19288
 
 
19289
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
19290
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
19291
 
library_names_spec=
19292
 
libname_spec='lib$name'
19293
 
soname_spec=
19294
 
shrext_cmds=".so"
19295
 
postinstall_cmds=
19296
 
postuninstall_cmds=
19297
 
finish_cmds=
19298
 
finish_eval=
19299
 
shlibpath_var=
19300
 
shlibpath_overrides_runpath=unknown
19301
 
version_type=none
19302
 
dynamic_linker="$host_os ld.so"
19303
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
19304
 
 
19305
 
need_lib_prefix=unknown
19306
 
hardcode_into_libs=no
19307
 
 
19308
 
# when you set need_version to no, make sure it does not cause -set_version
19309
 
# flags to be left without arguments
19310
 
need_version=unknown
19311
 
 
19312
 
case $host_os in
19313
 
aix3*)
19314
 
  version_type=linux
19315
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19316
 
  shlibpath_var=LIBPATH
19317
 
 
19318
 
  # AIX 3 has no versioning support, so we append a major version to the name.
19319
 
  soname_spec='${libname}${release}${shared_ext}$major'
19320
 
  ;;
19321
 
 
19322
 
aix[4-9]*)
19323
 
  version_type=linux
19324
 
  need_lib_prefix=no
19325
 
  need_version=no
19326
 
  hardcode_into_libs=yes
19327
 
  if test "$host_cpu" = ia64; then
19328
 
    # AIX 5 supports IA64
19329
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19330
 
    shlibpath_var=LD_LIBRARY_PATH
19331
 
  else
19332
 
    # With GCC up to 2.95.x, collect2 would create an import file
19333
 
    # for dependence libraries.  The import file would start with
19334
 
    # the line `#! .'.  This would cause the generated library to
19335
 
    # depend on `.', always an invalid library.  This was fixed in
19336
 
    # development snapshots of GCC prior to 3.0.
19337
 
    case $host_os in
19338
 
      aix4 | aix4.[01] | aix4.[01].*)
19339
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19340
 
           echo ' yes '
19341
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
19342
 
        :
19343
 
      else
19344
 
        can_build_shared=no
19345
 
      fi
19346
 
      ;;
19347
 
    esac
19348
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19349
 
    # soname into executable. Probably we can add versioning support to
19350
 
    # collect2, so additional links can be useful in future.
19351
 
    if test "$aix_use_runtimelinking" = yes; then
19352
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19353
 
      # instead of lib<name>.a to let people know that these are not
19354
 
      # typical AIX shared libraries.
19355
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19356
 
    else
19357
 
      # We preserve .a as extension for shared libraries through AIX4.2
19358
 
      # and later when we are not doing run time linking.
19359
 
      library_names_spec='${libname}${release}.a $libname.a'
19360
 
      soname_spec='${libname}${release}${shared_ext}$major'
19361
 
    fi
19362
 
    shlibpath_var=LIBPATH
19363
 
  fi
19364
 
  ;;
19365
 
 
19366
 
amigaos*)
19367
 
  library_names_spec='$libname.ixlibrary $libname.a'
19368
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
19369
 
  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'
19370
 
  ;;
19371
 
 
19372
 
beos*)
19373
 
  library_names_spec='${libname}${shared_ext}'
19374
 
  dynamic_linker="$host_os ld.so"
19375
 
  shlibpath_var=LIBRARY_PATH
19376
 
  ;;
19377
 
 
19378
 
bsdi[45]*)
19379
 
  version_type=linux
19380
 
  need_version=no
19381
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19382
 
  soname_spec='${libname}${release}${shared_ext}$major'
19383
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19384
 
  shlibpath_var=LD_LIBRARY_PATH
19385
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19386
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19387
 
  # the default ld.so.conf also contains /usr/contrib/lib and
19388
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19389
 
  # libtool to hard-code these into programs
19390
 
  ;;
19391
 
 
19392
 
cygwin* | mingw* | pw32*)
19393
 
  version_type=windows
19394
 
  shrext_cmds=".dll"
19395
 
  need_version=no
19396
 
  need_lib_prefix=no
19397
 
 
19398
 
  case $GCC,$host_os in
19399
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
19400
 
    library_names_spec='$libname.dll.a'
19401
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
19402
 
    postinstall_cmds='base_file=`basename \${file}`~
19403
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
19404
 
      dldir=$destdir/`dirname \$dlpath`~
19405
 
      test -d \$dldir || mkdir -p \$dldir~
19406
 
      $install_prog $dir/$dlname \$dldir/$dlname~
19407
 
      chmod a+x \$dldir/$dlname'
19408
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19409
 
      dlpath=$dir/\$dldll~
19410
 
       $rm \$dlpath'
19411
 
    shlibpath_overrides_runpath=yes
19412
 
 
19413
 
    case $host_os in
19414
 
    cygwin*)
19415
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19416
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19417
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19418
 
      ;;
19419
 
    mingw*)
19420
 
      # MinGW DLLs use traditional 'lib' prefix
19421
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19422
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19423
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
19424
 
        # It is most probably a Windows format PATH printed by
19425
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
19426
 
        # path with ; separators, and with drive letters. We can handle the
19427
 
        # drive letters (cygwin fileutils understands them), so leave them,
19428
 
        # especially as we might pass files found there to a mingw objdump,
19429
 
        # which wouldn't understand a cygwinified path. Ahh.
19430
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19431
 
      else
19432
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
19433
 
      fi
19434
 
      ;;
19435
 
    pw32*)
19436
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
19437
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19438
 
      ;;
19439
 
    esac
19440
 
    ;;
19441
 
 
19442
 
  *)
19443
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19444
 
    ;;
19445
 
  esac
19446
 
  dynamic_linker='Win32 ld.exe'
19447
 
  # FIXME: first we should search . and the directory the executable is in
19448
 
  shlibpath_var=PATH
19449
 
  ;;
19450
 
 
19451
 
darwin* | rhapsody*)
19452
 
  dynamic_linker="$host_os dyld"
19453
 
  version_type=darwin
19454
 
  need_lib_prefix=no
19455
 
  need_version=no
19456
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19457
 
  soname_spec='${libname}${release}${major}$shared_ext'
19458
 
  shlibpath_overrides_runpath=yes
19459
 
  shlibpath_var=DYLD_LIBRARY_PATH
19460
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19461
 
 
19462
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19463
 
  ;;
19464
 
 
19465
 
dgux*)
19466
 
  version_type=linux
19467
 
  need_lib_prefix=no
19468
 
  need_version=no
19469
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19470
 
  soname_spec='${libname}${release}${shared_ext}$major'
19471
 
  shlibpath_var=LD_LIBRARY_PATH
19472
 
  ;;
19473
 
 
19474
 
freebsd1*)
19475
 
  dynamic_linker=no
19476
 
  ;;
19477
 
 
19478
 
freebsd* | dragonfly*)
19479
 
  # DragonFly does not have aout.  When/if they implement a new
19480
 
  # versioning mechanism, adjust this.
19481
 
  if test -x /usr/bin/objformat; then
19482
 
    objformat=`/usr/bin/objformat`
19483
 
  else
19484
 
    case $host_os in
19485
 
    freebsd[123]*) objformat=aout ;;
19486
 
    *) objformat=elf ;;
19487
 
    esac
19488
 
  fi
19489
 
  version_type=freebsd-$objformat
19490
 
  case $version_type in
19491
 
    freebsd-elf*)
19492
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19493
 
      need_version=no
19494
 
      need_lib_prefix=no
19495
 
      ;;
19496
 
    freebsd-*)
19497
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19498
 
      need_version=yes
19499
 
      ;;
19500
 
  esac
19501
 
  shlibpath_var=LD_LIBRARY_PATH
19502
 
  case $host_os in
19503
 
  freebsd2*)
19504
 
    shlibpath_overrides_runpath=yes
19505
 
    ;;
19506
 
  freebsd3.[01]* | freebsdelf3.[01]*)
19507
 
    shlibpath_overrides_runpath=yes
19508
 
    hardcode_into_libs=yes
19509
 
    ;;
19510
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19511
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19512
 
    shlibpath_overrides_runpath=no
19513
 
    hardcode_into_libs=yes
19514
 
    ;;
19515
 
  *) # from 4.6 on, and DragonFly
19516
 
    shlibpath_overrides_runpath=yes
19517
 
    hardcode_into_libs=yes
19518
 
    ;;
19519
 
  esac
19520
 
  ;;
19521
 
 
19522
 
gnu*)
19523
 
  version_type=linux
19524
 
  need_lib_prefix=no
19525
 
  need_version=no
19526
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19527
 
  soname_spec='${libname}${release}${shared_ext}$major'
19528
 
  shlibpath_var=LD_LIBRARY_PATH
19529
 
  hardcode_into_libs=yes
19530
 
  ;;
19531
 
 
19532
 
hpux9* | hpux10* | hpux11*)
19533
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
19534
 
  # link against other versions.
19535
 
  version_type=sunos
19536
 
  need_lib_prefix=no
19537
 
  need_version=no
19538
 
  case $host_cpu in
19539
 
  ia64*)
19540
 
    shrext_cmds='.so'
19541
 
    hardcode_into_libs=yes
19542
 
    dynamic_linker="$host_os dld.so"
19543
 
    shlibpath_var=LD_LIBRARY_PATH
19544
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19545
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19546
 
    soname_spec='${libname}${release}${shared_ext}$major'
19547
 
    if test "X$HPUX_IA64_MODE" = X32; then
19548
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19549
 
    else
19550
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19551
 
    fi
19552
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19553
 
    ;;
19554
 
   hppa*64*)
19555
 
     shrext_cmds='.sl'
19556
 
     hardcode_into_libs=yes
19557
 
     dynamic_linker="$host_os dld.sl"
19558
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19559
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19560
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19561
 
     soname_spec='${libname}${release}${shared_ext}$major'
19562
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19563
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19564
 
     ;;
19565
 
   *)
19566
 
    shrext_cmds='.sl'
19567
 
    dynamic_linker="$host_os dld.sl"
19568
 
    shlibpath_var=SHLIB_PATH
19569
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19570
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19571
 
    soname_spec='${libname}${release}${shared_ext}$major'
19572
 
    ;;
19573
 
  esac
19574
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
19575
 
  postinstall_cmds='chmod 555 $lib'
19576
 
  ;;
19577
 
 
19578
 
interix[3-9]*)
19579
 
  version_type=linux
19580
 
  need_lib_prefix=no
19581
 
  need_version=no
19582
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19583
 
  soname_spec='${libname}${release}${shared_ext}$major'
19584
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19585
 
  shlibpath_var=LD_LIBRARY_PATH
19586
 
  shlibpath_overrides_runpath=no
19587
 
  hardcode_into_libs=yes
19588
 
  ;;
19589
 
 
19590
 
irix5* | irix6* | nonstopux*)
19591
 
  case $host_os in
19592
 
    nonstopux*) version_type=nonstopux ;;
19593
 
    *)
19594
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
19595
 
                version_type=linux
19596
 
        else
19597
 
                version_type=irix
19598
 
        fi ;;
19599
 
  esac
19600
 
  need_lib_prefix=no
19601
 
  need_version=no
19602
 
  soname_spec='${libname}${release}${shared_ext}$major'
19603
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19604
 
  case $host_os in
19605
 
  irix5* | nonstopux*)
19606
 
    libsuff= shlibsuff=
19607
 
    ;;
19608
 
  *)
19609
 
    case $LD in # libtool.m4 will add one of these switches to LD
19610
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19611
 
      libsuff= shlibsuff= libmagic=32-bit;;
19612
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19613
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
19614
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19615
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
19616
 
    *) libsuff= shlibsuff= libmagic=never-match;;
19617
 
    esac
19618
 
    ;;
19619
 
  esac
19620
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19621
 
  shlibpath_overrides_runpath=no
19622
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19623
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19624
 
  hardcode_into_libs=yes
19625
 
  ;;
19626
 
 
19627
 
# No shared lib support for Linux oldld, aout, or coff.
19628
 
linux*oldld* | linux*aout* | linux*coff*)
19629
 
  dynamic_linker=no
19630
 
  ;;
19631
 
 
19632
 
# This must be Linux ELF.
19633
 
linux* | k*bsd*-gnu)
19634
 
  version_type=linux
19635
 
  need_lib_prefix=no
19636
 
  need_version=no
19637
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19638
 
  soname_spec='${libname}${release}${shared_ext}$major'
19639
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19640
 
  shlibpath_var=LD_LIBRARY_PATH
19641
 
  shlibpath_overrides_runpath=no
19642
 
  # This implies no fast_install, which is unacceptable.
19643
 
  # Some rework will be needed to allow for fast_install
19644
 
  # before this can be enabled.
19645
 
  hardcode_into_libs=yes
19646
 
 
19647
 
  # Append ld.so.conf contents to the search path
19648
 
  if test -f /etc/ld.so.conf; then
19649
 
    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' ' '`
19650
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19651
 
  fi
19652
 
 
19653
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
19654
 
  # powerpc, because MkLinux only supported shared libraries with the
19655
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
19656
 
  # most powerpc-linux boxes support dynamic linking these days and
19657
 
  # people can always --disable-shared, the test was removed, and we
19658
 
  # assume the GNU/Linux dynamic linker is in use.
19659
 
  dynamic_linker='GNU/Linux ld.so'
19660
 
  ;;
19661
 
 
19662
 
netbsd*)
19663
 
  version_type=sunos
19664
 
  need_lib_prefix=no
19665
 
  need_version=no
19666
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
19667
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19668
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19669
 
    dynamic_linker='NetBSD (a.out) ld.so'
19670
 
  else
19671
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19672
 
    soname_spec='${libname}${release}${shared_ext}$major'
19673
 
    dynamic_linker='NetBSD ld.elf_so'
19674
 
  fi
19675
 
  shlibpath_var=LD_LIBRARY_PATH
19676
 
  shlibpath_overrides_runpath=yes
19677
 
  hardcode_into_libs=yes
19678
 
  ;;
19679
 
 
19680
 
newsos6)
19681
 
  version_type=linux
19682
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19683
 
  shlibpath_var=LD_LIBRARY_PATH
19684
 
  shlibpath_overrides_runpath=yes
19685
 
  ;;
19686
 
 
19687
 
nto-qnx*)
19688
 
  version_type=linux
19689
 
  need_lib_prefix=no
19690
 
  need_version=no
19691
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19692
 
  soname_spec='${libname}${release}${shared_ext}$major'
19693
 
  shlibpath_var=LD_LIBRARY_PATH
19694
 
  shlibpath_overrides_runpath=yes
19695
 
  ;;
19696
 
 
19697
 
openbsd*)
19698
 
  version_type=sunos
19699
 
  sys_lib_dlsearch_path_spec="/usr/lib"
19700
 
  need_lib_prefix=no
19701
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19702
 
  case $host_os in
19703
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19704
 
    *)                         need_version=no  ;;
19705
 
  esac
19706
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19707
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19708
 
  shlibpath_var=LD_LIBRARY_PATH
19709
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19710
 
    case $host_os in
19711
 
      openbsd2.[89] | openbsd2.[89].*)
19712
 
        shlibpath_overrides_runpath=no
19713
 
        ;;
19714
 
      *)
19715
 
        shlibpath_overrides_runpath=yes
19716
 
        ;;
19717
 
      esac
19718
 
  else
19719
 
    shlibpath_overrides_runpath=yes
19720
 
  fi
19721
 
  ;;
19722
 
 
19723
 
os2*)
19724
 
  libname_spec='$name'
19725
 
  shrext_cmds=".dll"
19726
 
  need_lib_prefix=no
19727
 
  library_names_spec='$libname${shared_ext} $libname.a'
19728
 
  dynamic_linker='OS/2 ld.exe'
19729
 
  shlibpath_var=LIBPATH
19730
 
  ;;
19731
 
 
19732
 
osf3* | osf4* | osf5*)
19733
 
  version_type=osf
19734
 
  need_lib_prefix=no
19735
 
  need_version=no
19736
 
  soname_spec='${libname}${release}${shared_ext}$major'
19737
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19738
 
  shlibpath_var=LD_LIBRARY_PATH
19739
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19740
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19741
 
  ;;
19742
 
 
19743
 
rdos*)
19744
 
  dynamic_linker=no
19745
 
  ;;
19746
 
 
19747
 
solaris*)
19748
 
  version_type=linux
19749
 
  need_lib_prefix=no
19750
 
  need_version=no
19751
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19752
 
  soname_spec='${libname}${release}${shared_ext}$major'
19753
 
  shlibpath_var=LD_LIBRARY_PATH
19754
 
  shlibpath_overrides_runpath=yes
19755
 
  hardcode_into_libs=yes
19756
 
  # ldd complains unless libraries are executable
19757
 
  postinstall_cmds='chmod +x $lib'
19758
 
  ;;
19759
 
 
19760
 
sunos4*)
19761
 
  version_type=sunos
19762
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19763
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19764
 
  shlibpath_var=LD_LIBRARY_PATH
19765
 
  shlibpath_overrides_runpath=yes
19766
 
  if test "$with_gnu_ld" = yes; then
19767
 
    need_lib_prefix=no
19768
 
  fi
19769
 
  need_version=yes
19770
 
  ;;
19771
 
 
19772
 
sysv4 | sysv4.3*)
19773
 
  version_type=linux
19774
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19775
 
  soname_spec='${libname}${release}${shared_ext}$major'
19776
 
  shlibpath_var=LD_LIBRARY_PATH
19777
 
  case $host_vendor in
19778
 
    sni)
19779
 
      shlibpath_overrides_runpath=no
19780
 
      need_lib_prefix=no
19781
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
19782
 
      runpath_var=LD_RUN_PATH
19783
 
      ;;
19784
 
    siemens)
19785
 
      need_lib_prefix=no
19786
 
      ;;
19787
 
    motorola)
19788
 
      need_lib_prefix=no
19789
 
      need_version=no
19790
 
      shlibpath_overrides_runpath=no
19791
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19792
 
      ;;
19793
 
  esac
19794
 
  ;;
19795
 
 
19796
 
sysv4*MP*)
19797
 
  if test -d /usr/nec ;then
19798
 
    version_type=linux
19799
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19800
 
    soname_spec='$libname${shared_ext}.$major'
19801
 
    shlibpath_var=LD_LIBRARY_PATH
19802
 
  fi
19803
 
  ;;
19804
 
 
19805
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19806
 
  version_type=freebsd-elf
19807
 
  need_lib_prefix=no
19808
 
  need_version=no
19809
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19810
 
  soname_spec='${libname}${release}${shared_ext}$major'
19811
 
  shlibpath_var=LD_LIBRARY_PATH
19812
 
  hardcode_into_libs=yes
19813
 
  if test "$with_gnu_ld" = yes; then
19814
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
19815
 
    shlibpath_overrides_runpath=no
19816
 
  else
19817
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
19818
 
    shlibpath_overrides_runpath=yes
19819
 
    case $host_os in
19820
 
      sco3.2v5*)
19821
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
19822
 
        ;;
19823
 
    esac
19824
 
  fi
19825
 
  sys_lib_dlsearch_path_spec='/usr/lib'
19826
 
  ;;
19827
 
 
19828
 
uts4*)
19829
 
  version_type=linux
19830
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19831
 
  soname_spec='${libname}${release}${shared_ext}$major'
19832
 
  shlibpath_var=LD_LIBRARY_PATH
19833
 
  ;;
19834
 
 
19835
 
*)
19836
 
  dynamic_linker=no
19837
 
  ;;
19838
 
esac
19839
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
19840
 
echo "${ECHO_T}$dynamic_linker" >&6; }
19841
 
test "$dynamic_linker" = no && can_build_shared=no
19842
 
 
19843
 
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
19844
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19845
 
else
19846
 
  lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
19847
 
fi
19848
 
 
19849
 
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
19850
 
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
19851
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19852
 
else
19853
 
  lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
19854
 
fi
19855
 
 
19856
 
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
19857
 
 
19858
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
19859
 
if test "$GCC" = yes; then
19860
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
19861
 
fi
19862
 
 
19863
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
19864
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
19865
 
hardcode_action_GCJ=
19866
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
19867
 
   test -n "$runpath_var_GCJ" || \
19868
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19869
 
 
19870
 
  # We can hardcode non-existant directories.
19871
 
  if test "$hardcode_direct_GCJ" != no &&
19872
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
19873
 
     # have to relink, otherwise we might link with an installed library
19874
 
     # when we should be linking with a yet-to-be-installed one
19875
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19876
 
     test "$hardcode_minus_L_GCJ" != no; then
19877
 
    # Linking always hardcodes the temporary library directory.
19878
 
    hardcode_action_GCJ=relink
19879
 
  else
19880
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
19881
 
    hardcode_action_GCJ=immediate
19882
 
  fi
19883
 
else
19884
 
  # We cannot hardcode anything, or else we can only hardcode existing
19885
 
  # directories.
19886
 
  hardcode_action_GCJ=unsupported
19887
 
fi
19888
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19889
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
19890
 
 
19891
 
if test "$hardcode_action_GCJ" = relink; then
19892
 
  # Fast installation is not supported
19893
 
  enable_fast_install=no
19894
 
elif test "$shlibpath_overrides_runpath" = yes ||
19895
 
     test "$enable_shared" = no; then
19896
 
  # Fast installation is not necessary
19897
 
  enable_fast_install=needless
19898
 
fi
19899
 
 
19900
 
 
19901
 
# The else clause should only fire when bootstrapping the
19902
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19903
 
# with your package, and you will get complaints that there are
19904
 
# no rules to generate ltmain.sh.
19905
 
if test -f "$ltmain"; then
19906
 
  # See if we are running on zsh, and set the options which allow our commands through
19907
 
  # without removal of \ escapes.
19908
 
  if test -n "${ZSH_VERSION+set}" ; then
19909
 
    setopt NO_GLOB_SUBST
19910
 
  fi
19911
 
  # Now quote all the things that may contain metacharacters while being
19912
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19913
 
  # variables and quote the copies for generation of the libtool script.
19914
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19915
 
    SED SHELL STRIP \
19916
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19917
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19918
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19919
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19920
 
    lt_cv_sys_global_symbol_to_c_name_address \
19921
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19922
 
    old_postinstall_cmds old_postuninstall_cmds \
19923
 
    compiler_GCJ \
19924
 
    CC_GCJ \
19925
 
    LD_GCJ \
19926
 
    lt_prog_compiler_wl_GCJ \
19927
 
    lt_prog_compiler_pic_GCJ \
19928
 
    lt_prog_compiler_static_GCJ \
19929
 
    lt_prog_compiler_no_builtin_flag_GCJ \
19930
 
    export_dynamic_flag_spec_GCJ \
19931
 
    thread_safe_flag_spec_GCJ \
19932
 
    whole_archive_flag_spec_GCJ \
19933
 
    enable_shared_with_static_runtimes_GCJ \
19934
 
    old_archive_cmds_GCJ \
19935
 
    old_archive_from_new_cmds_GCJ \
19936
 
    predep_objects_GCJ \
19937
 
    postdep_objects_GCJ \
19938
 
    predeps_GCJ \
19939
 
    postdeps_GCJ \
19940
 
    compiler_lib_search_path_GCJ \
19941
 
    compiler_lib_search_dirs_GCJ \
19942
 
    archive_cmds_GCJ \
19943
 
    archive_expsym_cmds_GCJ \
19944
 
    postinstall_cmds_GCJ \
19945
 
    postuninstall_cmds_GCJ \
19946
 
    old_archive_from_expsyms_cmds_GCJ \
19947
 
    allow_undefined_flag_GCJ \
19948
 
    no_undefined_flag_GCJ \
19949
 
    export_symbols_cmds_GCJ \
19950
 
    hardcode_libdir_flag_spec_GCJ \
19951
 
    hardcode_libdir_flag_spec_ld_GCJ \
19952
 
    hardcode_libdir_separator_GCJ \
19953
 
    hardcode_automatic_GCJ \
19954
 
    module_cmds_GCJ \
19955
 
    module_expsym_cmds_GCJ \
19956
 
    lt_cv_prog_compiler_c_o_GCJ \
19957
 
    fix_srcfile_path_GCJ \
19958
 
    exclude_expsyms_GCJ \
19959
 
    include_expsyms_GCJ; do
19960
 
 
19961
 
    case $var in
19962
 
    old_archive_cmds_GCJ | \
19963
 
    old_archive_from_new_cmds_GCJ | \
19964
 
    archive_cmds_GCJ | \
19965
 
    archive_expsym_cmds_GCJ | \
19966
 
    module_cmds_GCJ | \
19967
 
    module_expsym_cmds_GCJ | \
19968
 
    old_archive_from_expsyms_cmds_GCJ | \
19969
 
    export_symbols_cmds_GCJ | \
19970
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19971
 
    postinstall_cmds | postuninstall_cmds | \
19972
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19973
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19974
 
      # Double-quote double-evaled strings.
19975
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19976
 
      ;;
19977
 
    *)
19978
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19979
 
      ;;
19980
 
    esac
19981
 
  done
19982
 
 
19983
 
  case $lt_echo in
19984
 
  *'\$0 --fallback-echo"')
19985
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19986
 
    ;;
19987
 
  esac
19988
 
 
19989
 
cfgfile="$ofile"
19990
 
 
19991
 
  cat <<__EOF__ >> "$cfgfile"
19992
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19993
 
 
19994
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19995
 
 
19996
 
# Shell to use when invoking shell scripts.
19997
 
SHELL=$lt_SHELL
19998
 
 
19999
 
# Whether or not to build shared libraries.
20000
 
build_libtool_libs=$enable_shared
20001
 
 
20002
 
# Whether or not to build static libraries.
20003
 
build_old_libs=$enable_static
20004
 
 
20005
 
# Whether or not to add -lc for building shared libraries.
20006
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
20007
 
 
20008
 
# Whether or not to disallow shared libs when runtime libs are static
20009
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
20010
 
 
20011
 
# Whether or not to optimize for fast installation.
20012
 
fast_install=$enable_fast_install
20013
 
 
20014
 
# The host system.
20015
 
host_alias=$host_alias
20016
 
host=$host
20017
 
host_os=$host_os
20018
 
 
20019
 
# The build system.
20020
 
build_alias=$build_alias
20021
 
build=$build
20022
 
build_os=$build_os
20023
 
 
20024
 
# An echo program that does not interpret backslashes.
20025
 
echo=$lt_echo
20026
 
 
20027
 
# The archiver.
20028
 
AR=$lt_AR
20029
 
AR_FLAGS=$lt_AR_FLAGS
20030
 
 
20031
 
# A C compiler.
20032
 
LTCC=$lt_LTCC
20033
 
 
20034
 
# LTCC compiler flags.
20035
 
LTCFLAGS=$lt_LTCFLAGS
20036
 
 
20037
 
# A language-specific compiler.
20038
 
CC=$lt_compiler_GCJ
20039
 
 
20040
 
# Is the compiler the GNU C compiler?
20041
 
with_gcc=$GCC_GCJ
20042
 
 
20043
 
# An ERE matcher.
20044
 
EGREP=$lt_EGREP
20045
 
 
20046
 
# The linker used to build libraries.
20047
 
LD=$lt_LD_GCJ
20048
 
 
20049
 
# Whether we need hard or soft links.
20050
 
LN_S=$lt_LN_S
20051
 
 
20052
 
# A BSD-compatible nm program.
20053
 
NM=$lt_NM
20054
 
 
20055
 
# A symbol stripping program
20056
 
STRIP=$lt_STRIP
20057
 
 
20058
 
# Used to examine libraries when file_magic_cmd begins "file"
20059
 
MAGIC_CMD=$MAGIC_CMD
20060
 
 
20061
 
# Used on cygwin: DLL creation program.
20062
 
DLLTOOL="$DLLTOOL"
20063
 
 
20064
 
# Used on cygwin: object dumper.
20065
 
OBJDUMP="$OBJDUMP"
20066
 
 
20067
 
# Used on cygwin: assembler.
20068
 
AS="$AS"
20069
 
 
20070
 
# The name of the directory that contains temporary libtool files.
20071
 
objdir=$objdir
20072
 
 
20073
 
# How to create reloadable object files.
20074
 
reload_flag=$lt_reload_flag
20075
 
reload_cmds=$lt_reload_cmds
20076
 
 
20077
 
# How to pass a linker flag through the compiler.
20078
 
wl=$lt_lt_prog_compiler_wl_GCJ
20079
 
 
20080
 
# Object file suffix (normally "o").
20081
 
objext="$ac_objext"
20082
 
 
20083
 
# Old archive suffix (normally "a").
20084
 
libext="$libext"
20085
 
 
20086
 
# Shared library suffix (normally ".so").
20087
 
shrext_cmds='$shrext_cmds'
20088
 
 
20089
 
# Executable file suffix (normally "").
20090
 
exeext="$exeext"
20091
 
 
20092
 
# Additional compiler flags for building library objects.
20093
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
20094
 
pic_mode=$pic_mode
20095
 
 
20096
 
# What is the maximum length of a command?
20097
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20098
 
 
20099
 
# Does compiler simultaneously support -c and -o options?
20100
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
20101
 
 
20102
 
# Must we lock files when doing compilation?
20103
 
need_locks=$lt_need_locks
20104
 
 
20105
 
# Do we need the lib prefix for modules?
20106
 
need_lib_prefix=$need_lib_prefix
20107
 
 
20108
 
# Do we need a version for libraries?
20109
 
need_version=$need_version
20110
 
 
20111
 
# Whether dlopen is supported.
20112
 
dlopen_support=$enable_dlopen
20113
 
 
20114
 
# Whether dlopen of programs is supported.
20115
 
dlopen_self=$enable_dlopen_self
20116
 
 
20117
 
# Whether dlopen of statically linked programs is supported.
20118
 
dlopen_self_static=$enable_dlopen_self_static
20119
 
 
20120
 
# Compiler flag to prevent dynamic linking.
20121
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
20122
 
 
20123
 
# Compiler flag to turn off builtin functions.
20124
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
20125
 
 
20126
 
# Compiler flag to allow reflexive dlopens.
20127
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
20128
 
 
20129
 
# Compiler flag to generate shared objects directly from archives.
20130
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
20131
 
 
20132
 
# Compiler flag to generate thread-safe objects.
20133
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
20134
 
 
20135
 
# Library versioning type.
20136
 
version_type=$version_type
20137
 
 
20138
 
# Format of library name prefix.
20139
 
libname_spec=$lt_libname_spec
20140
 
 
20141
 
# List of archive names.  First name is the real one, the rest are links.
20142
 
# The last name is the one that the linker finds with -lNAME.
20143
 
library_names_spec=$lt_library_names_spec
20144
 
 
20145
 
# The coded name of the library, if different from the real name.
20146
 
soname_spec=$lt_soname_spec
20147
 
 
20148
 
# Commands used to build and install an old-style archive.
20149
 
RANLIB=$lt_RANLIB
20150
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
20151
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20152
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20153
 
 
20154
 
# Create an old-style archive from a shared archive.
20155
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
20156
 
 
20157
 
# Create a temporary old-style archive to link instead of a shared archive.
20158
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
20159
 
 
20160
 
# Commands used to build and install a shared archive.
20161
 
archive_cmds=$lt_archive_cmds_GCJ
20162
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
20163
 
postinstall_cmds=$lt_postinstall_cmds
20164
 
postuninstall_cmds=$lt_postuninstall_cmds
20165
 
 
20166
 
# Commands used to build a loadable module (assumed same as above if empty)
20167
 
module_cmds=$lt_module_cmds_GCJ
20168
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
20169
 
 
20170
 
# Commands to strip libraries.
20171
 
old_striplib=$lt_old_striplib
20172
 
striplib=$lt_striplib
20173
 
 
20174
 
# Dependencies to place before the objects being linked to create a
20175
 
# shared library.
20176
 
predep_objects=$lt_predep_objects_GCJ
20177
 
 
20178
 
# Dependencies to place after the objects being linked to create a
20179
 
# shared library.
20180
 
postdep_objects=$lt_postdep_objects_GCJ
20181
 
 
20182
 
# Dependencies to place before the objects being linked to create a
20183
 
# shared library.
20184
 
predeps=$lt_predeps_GCJ
20185
 
 
20186
 
# Dependencies to place after the objects being linked to create a
20187
 
# shared library.
20188
 
postdeps=$lt_postdeps_GCJ
20189
 
 
20190
 
# The directories searched by this compiler when creating a shared
20191
 
# library
20192
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
20193
 
 
20194
 
# The library search path used internally by the compiler when linking
20195
 
# a shared library.
20196
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
20197
 
 
20198
 
# Method to check whether dependent libraries are shared objects.
20199
 
deplibs_check_method=$lt_deplibs_check_method
20200
 
 
20201
 
# Command to use when deplibs_check_method == file_magic.
20202
 
file_magic_cmd=$lt_file_magic_cmd
20203
 
 
20204
 
# Flag that allows shared libraries with undefined symbols to be built.
20205
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
20206
 
 
20207
 
# Flag that forces no undefined symbols.
20208
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
20209
 
 
20210
 
# Commands used to finish a libtool library installation in a directory.
20211
 
finish_cmds=$lt_finish_cmds
20212
 
 
20213
 
# Same as above, but a single script fragment to be evaled but not shown.
20214
 
finish_eval=$lt_finish_eval
20215
 
 
20216
 
# Take the output of nm and produce a listing of raw symbols and C names.
20217
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20218
 
 
20219
 
# Transform the output of nm in a proper C declaration
20220
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20221
 
 
20222
 
# Transform the output of nm in a C name address pair
20223
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20224
 
 
20225
 
# This is the shared library runtime path variable.
20226
 
runpath_var=$runpath_var
20227
 
 
20228
 
# This is the shared library path variable.
20229
 
shlibpath_var=$shlibpath_var
20230
 
 
20231
 
# Is shlibpath searched before the hard-coded library search path?
20232
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20233
 
 
20234
 
# How to hardcode a shared library path into an executable.
20235
 
hardcode_action=$hardcode_action_GCJ
20236
 
 
20237
 
# Whether we should hardcode library paths into libraries.
20238
 
hardcode_into_libs=$hardcode_into_libs
20239
 
 
20240
 
# Flag to hardcode \$libdir into a binary during linking.
20241
 
# This must work even if \$libdir does not exist.
20242
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
20243
 
 
20244
 
# If ld is used when linking, flag to hardcode \$libdir into
20245
 
# a binary during linking. This must work even if \$libdir does
20246
 
# not exist.
20247
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
20248
 
 
20249
 
# Whether we need a single -rpath flag with a separated argument.
20250
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
20251
 
 
20252
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20253
 
# resulting binary.
20254
 
hardcode_direct=$hardcode_direct_GCJ
20255
 
 
20256
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20257
 
# resulting binary.
20258
 
hardcode_minus_L=$hardcode_minus_L_GCJ
20259
 
 
20260
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20261
 
# the resulting binary.
20262
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
20263
 
 
20264
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20265
 
# and all subsequent libraries and executables linked against it.
20266
 
hardcode_automatic=$hardcode_automatic_GCJ
20267
 
 
20268
 
# Variables whose values should be saved in libtool wrapper scripts and
20269
 
# restored at relink time.
20270
 
variables_saved_for_relink="$variables_saved_for_relink"
20271
 
 
20272
 
# Whether libtool must link a program against all its dependency libraries.
20273
 
link_all_deplibs=$link_all_deplibs_GCJ
20274
 
 
20275
 
# Compile-time system search path for libraries
20276
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20277
 
 
20278
 
# Run-time system search path for libraries
20279
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20280
 
 
20281
 
# Fix the shell variable \$srcfile for the compiler.
20282
 
fix_srcfile_path=$lt_fix_srcfile_path
20283
 
 
20284
 
# Set to yes if exported symbols are required.
20285
 
always_export_symbols=$always_export_symbols_GCJ
20286
 
 
20287
 
# The commands to list exported symbols.
20288
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
20289
 
 
20290
 
# The commands to extract the exported symbol list from a shared archive.
20291
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20292
 
 
20293
 
# Symbols that should not be listed in the preloaded symbols.
20294
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
20295
 
 
20296
 
# Symbols that must always be exported.
20297
 
include_expsyms=$lt_include_expsyms_GCJ
20298
 
 
20299
 
# ### END LIBTOOL TAG CONFIG: $tagname
20300
 
 
20301
 
__EOF__
20302
 
 
20303
 
 
20304
 
else
20305
 
  # If there is no Makefile yet, we rely on a make rule to execute
20306
 
  # `config.status --recheck' to rerun these tests and create the
20307
 
  # libtool script then.
20308
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20309
 
  if test -f "$ltmain_in"; then
20310
 
    test -f Makefile && make "$ltmain"
20311
 
  fi
20312
 
fi
20313
 
 
20314
 
 
20315
 
ac_ext=c
20316
 
ac_cpp='$CPP $CPPFLAGS'
20317
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20318
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20319
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20320
 
 
20321
 
CC="$lt_save_CC"
20322
 
 
20323
 
        else
20324
 
          tagname=""
20325
 
        fi
20326
 
        ;;
20327
 
 
20328
 
      RC)
20329
 
 
20330
 
 
20331
 
# Source file extension for RC test sources.
20332
 
ac_ext=rc
20333
 
 
20334
 
# Object file extension for compiled RC test sources.
20335
 
objext=o
20336
 
objext_RC=$objext
20337
 
 
20338
 
# Code to be used in simple compile tests
20339
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
20340
 
 
20341
 
# Code to be used in simple link tests
20342
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
20343
 
 
20344
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
20345
 
 
20346
 
# If no C compiler was specified, use CC.
20347
 
LTCC=${LTCC-"$CC"}
20348
 
 
20349
 
# If no C compiler flags were specified, use CFLAGS.
20350
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
20351
 
 
20352
 
# Allow CC to be a program name with arguments.
20353
 
compiler=$CC
20354
 
 
20355
 
 
20356
 
# save warnings/boilerplate of simple test code
20357
 
ac_outfile=conftest.$ac_objext
20358
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
20359
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20360
 
_lt_compiler_boilerplate=`cat conftest.err`
20361
 
$rm conftest*
20362
 
 
20363
 
ac_outfile=conftest.$ac_objext
20364
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
20365
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
20366
 
_lt_linker_boilerplate=`cat conftest.err`
20367
 
$rm -r conftest*
20368
 
 
20369
 
 
20370
 
# Allow CC to be a program name with arguments.
20371
 
lt_save_CC="$CC"
20372
 
CC=${RC-"windres"}
20373
 
compiler=$CC
20374
 
compiler_RC=$CC
20375
 
for cc_temp in $compiler""; do
20376
 
  case $cc_temp in
20377
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
20378
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
20379
 
    \-*) ;;
20380
 
    *) break;;
20381
 
  esac
20382
 
done
20383
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
20384
 
 
20385
 
lt_cv_prog_compiler_c_o_RC=yes
20386
 
 
20387
 
# The else clause should only fire when bootstrapping the
20388
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
20389
 
# with your package, and you will get complaints that there are
20390
 
# no rules to generate ltmain.sh.
20391
 
if test -f "$ltmain"; then
20392
 
  # See if we are running on zsh, and set the options which allow our commands through
20393
 
  # without removal of \ escapes.
20394
 
  if test -n "${ZSH_VERSION+set}" ; then
20395
 
    setopt NO_GLOB_SUBST
20396
 
  fi
20397
 
  # Now quote all the things that may contain metacharacters while being
20398
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
20399
 
  # variables and quote the copies for generation of the libtool script.
20400
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
20401
 
    SED SHELL STRIP \
20402
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
20403
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
20404
 
    deplibs_check_method reload_flag reload_cmds need_locks \
20405
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
20406
 
    lt_cv_sys_global_symbol_to_c_name_address \
20407
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
20408
 
    old_postinstall_cmds old_postuninstall_cmds \
20409
 
    compiler_RC \
20410
 
    CC_RC \
20411
 
    LD_RC \
20412
 
    lt_prog_compiler_wl_RC \
20413
 
    lt_prog_compiler_pic_RC \
20414
 
    lt_prog_compiler_static_RC \
20415
 
    lt_prog_compiler_no_builtin_flag_RC \
20416
 
    export_dynamic_flag_spec_RC \
20417
 
    thread_safe_flag_spec_RC \
20418
 
    whole_archive_flag_spec_RC \
20419
 
    enable_shared_with_static_runtimes_RC \
20420
 
    old_archive_cmds_RC \
20421
 
    old_archive_from_new_cmds_RC \
20422
 
    predep_objects_RC \
20423
 
    postdep_objects_RC \
20424
 
    predeps_RC \
20425
 
    postdeps_RC \
20426
 
    compiler_lib_search_path_RC \
20427
 
    compiler_lib_search_dirs_RC \
20428
 
    archive_cmds_RC \
20429
 
    archive_expsym_cmds_RC \
20430
 
    postinstall_cmds_RC \
20431
 
    postuninstall_cmds_RC \
20432
 
    old_archive_from_expsyms_cmds_RC \
20433
 
    allow_undefined_flag_RC \
20434
 
    no_undefined_flag_RC \
20435
 
    export_symbols_cmds_RC \
20436
 
    hardcode_libdir_flag_spec_RC \
20437
 
    hardcode_libdir_flag_spec_ld_RC \
20438
 
    hardcode_libdir_separator_RC \
20439
 
    hardcode_automatic_RC \
20440
 
    module_cmds_RC \
20441
 
    module_expsym_cmds_RC \
20442
 
    lt_cv_prog_compiler_c_o_RC \
20443
 
    fix_srcfile_path_RC \
20444
 
    exclude_expsyms_RC \
20445
 
    include_expsyms_RC; do
20446
 
 
20447
 
    case $var in
20448
 
    old_archive_cmds_RC | \
20449
 
    old_archive_from_new_cmds_RC | \
20450
 
    archive_cmds_RC | \
20451
 
    archive_expsym_cmds_RC | \
20452
 
    module_cmds_RC | \
20453
 
    module_expsym_cmds_RC | \
20454
 
    old_archive_from_expsyms_cmds_RC | \
20455
 
    export_symbols_cmds_RC | \
20456
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
20457
 
    postinstall_cmds | postuninstall_cmds | \
20458
 
    old_postinstall_cmds | old_postuninstall_cmds | \
20459
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
20460
 
      # Double-quote double-evaled strings.
20461
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
20462
 
      ;;
20463
 
    *)
20464
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
20465
 
      ;;
20466
 
    esac
20467
 
  done
20468
 
 
20469
 
  case $lt_echo in
20470
 
  *'\$0 --fallback-echo"')
20471
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
20472
 
    ;;
20473
 
  esac
20474
 
 
20475
 
cfgfile="$ofile"
20476
 
 
20477
 
  cat <<__EOF__ >> "$cfgfile"
20478
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
20479
 
 
20480
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20481
 
 
20482
 
# Shell to use when invoking shell scripts.
20483
 
SHELL=$lt_SHELL
20484
 
 
20485
 
# Whether or not to build shared libraries.
20486
 
build_libtool_libs=$enable_shared
20487
 
 
20488
 
# Whether or not to build static libraries.
20489
 
build_old_libs=$enable_static
20490
 
 
20491
 
# Whether or not to add -lc for building shared libraries.
20492
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
20493
 
 
20494
 
# Whether or not to disallow shared libs when runtime libs are static
20495
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
20496
 
 
20497
 
# Whether or not to optimize for fast installation.
20498
 
fast_install=$enable_fast_install
20499
 
 
20500
 
# The host system.
20501
 
host_alias=$host_alias
20502
 
host=$host
20503
 
host_os=$host_os
20504
 
 
20505
 
# The build system.
20506
 
build_alias=$build_alias
20507
 
build=$build
20508
 
build_os=$build_os
20509
 
 
20510
 
# An echo program that does not interpret backslashes.
20511
 
echo=$lt_echo
20512
 
 
20513
 
# The archiver.
20514
 
AR=$lt_AR
20515
 
AR_FLAGS=$lt_AR_FLAGS
20516
 
 
20517
 
# A C compiler.
20518
 
LTCC=$lt_LTCC
20519
 
 
20520
 
# LTCC compiler flags.
20521
 
LTCFLAGS=$lt_LTCFLAGS
20522
 
 
20523
 
# A language-specific compiler.
20524
 
CC=$lt_compiler_RC
20525
 
 
20526
 
# Is the compiler the GNU C compiler?
20527
 
with_gcc=$GCC_RC
20528
 
 
20529
 
# An ERE matcher.
20530
 
EGREP=$lt_EGREP
20531
 
 
20532
 
# The linker used to build libraries.
20533
 
LD=$lt_LD_RC
20534
 
 
20535
 
# Whether we need hard or soft links.
20536
 
LN_S=$lt_LN_S
20537
 
 
20538
 
# A BSD-compatible nm program.
20539
 
NM=$lt_NM
20540
 
 
20541
 
# A symbol stripping program
20542
 
STRIP=$lt_STRIP
20543
 
 
20544
 
# Used to examine libraries when file_magic_cmd begins "file"
20545
 
MAGIC_CMD=$MAGIC_CMD
20546
 
 
20547
 
# Used on cygwin: DLL creation program.
20548
 
DLLTOOL="$DLLTOOL"
20549
 
 
20550
 
# Used on cygwin: object dumper.
20551
 
OBJDUMP="$OBJDUMP"
20552
 
 
20553
 
# Used on cygwin: assembler.
20554
 
AS="$AS"
20555
 
 
20556
 
# The name of the directory that contains temporary libtool files.
20557
 
objdir=$objdir
20558
 
 
20559
 
# How to create reloadable object files.
20560
 
reload_flag=$lt_reload_flag
20561
 
reload_cmds=$lt_reload_cmds
20562
 
 
20563
 
# How to pass a linker flag through the compiler.
20564
 
wl=$lt_lt_prog_compiler_wl_RC
20565
 
 
20566
 
# Object file suffix (normally "o").
20567
 
objext="$ac_objext"
20568
 
 
20569
 
# Old archive suffix (normally "a").
20570
 
libext="$libext"
20571
 
 
20572
 
# Shared library suffix (normally ".so").
20573
 
shrext_cmds='$shrext_cmds'
20574
 
 
20575
 
# Executable file suffix (normally "").
20576
 
exeext="$exeext"
20577
 
 
20578
 
# Additional compiler flags for building library objects.
20579
 
pic_flag=$lt_lt_prog_compiler_pic_RC
20580
 
pic_mode=$pic_mode
20581
 
 
20582
 
# What is the maximum length of a command?
20583
 
max_cmd_len=$lt_cv_sys_max_cmd_len
20584
 
 
20585
 
# Does compiler simultaneously support -c and -o options?
20586
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
20587
 
 
20588
 
# Must we lock files when doing compilation?
20589
 
need_locks=$lt_need_locks
20590
 
 
20591
 
# Do we need the lib prefix for modules?
20592
 
need_lib_prefix=$need_lib_prefix
20593
 
 
20594
 
# Do we need a version for libraries?
20595
 
need_version=$need_version
20596
 
 
20597
 
# Whether dlopen is supported.
20598
 
dlopen_support=$enable_dlopen
20599
 
 
20600
 
# Whether dlopen of programs is supported.
20601
 
dlopen_self=$enable_dlopen_self
20602
 
 
20603
 
# Whether dlopen of statically linked programs is supported.
20604
 
dlopen_self_static=$enable_dlopen_self_static
20605
 
 
20606
 
# Compiler flag to prevent dynamic linking.
20607
 
link_static_flag=$lt_lt_prog_compiler_static_RC
20608
 
 
20609
 
# Compiler flag to turn off builtin functions.
20610
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
20611
 
 
20612
 
# Compiler flag to allow reflexive dlopens.
20613
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
20614
 
 
20615
 
# Compiler flag to generate shared objects directly from archives.
20616
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
20617
 
 
20618
 
# Compiler flag to generate thread-safe objects.
20619
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
20620
 
 
20621
 
# Library versioning type.
20622
 
version_type=$version_type
20623
 
 
20624
 
# Format of library name prefix.
20625
 
libname_spec=$lt_libname_spec
20626
 
 
20627
 
# List of archive names.  First name is the real one, the rest are links.
20628
 
# The last name is the one that the linker finds with -lNAME.
20629
 
library_names_spec=$lt_library_names_spec
20630
 
 
20631
 
# The coded name of the library, if different from the real name.
20632
 
soname_spec=$lt_soname_spec
20633
 
 
20634
 
# Commands used to build and install an old-style archive.
20635
 
RANLIB=$lt_RANLIB
20636
 
old_archive_cmds=$lt_old_archive_cmds_RC
20637
 
old_postinstall_cmds=$lt_old_postinstall_cmds
20638
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20639
 
 
20640
 
# Create an old-style archive from a shared archive.
20641
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
20642
 
 
20643
 
# Create a temporary old-style archive to link instead of a shared archive.
20644
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
20645
 
 
20646
 
# Commands used to build and install a shared archive.
20647
 
archive_cmds=$lt_archive_cmds_RC
20648
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
20649
 
postinstall_cmds=$lt_postinstall_cmds
20650
 
postuninstall_cmds=$lt_postuninstall_cmds
20651
 
 
20652
 
# Commands used to build a loadable module (assumed same as above if empty)
20653
 
module_cmds=$lt_module_cmds_RC
20654
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
20655
 
 
20656
 
# Commands to strip libraries.
20657
 
old_striplib=$lt_old_striplib
20658
 
striplib=$lt_striplib
20659
 
 
20660
 
# Dependencies to place before the objects being linked to create a
20661
 
# shared library.
20662
 
predep_objects=$lt_predep_objects_RC
20663
 
 
20664
 
# Dependencies to place after the objects being linked to create a
20665
 
# shared library.
20666
 
postdep_objects=$lt_postdep_objects_RC
20667
 
 
20668
 
# Dependencies to place before the objects being linked to create a
20669
 
# shared library.
20670
 
predeps=$lt_predeps_RC
20671
 
 
20672
 
# Dependencies to place after the objects being linked to create a
20673
 
# shared library.
20674
 
postdeps=$lt_postdeps_RC
20675
 
 
20676
 
# The directories searched by this compiler when creating a shared
20677
 
# library
20678
 
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
20679
 
 
20680
 
# The library search path used internally by the compiler when linking
20681
 
# a shared library.
20682
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
20683
 
 
20684
 
# Method to check whether dependent libraries are shared objects.
20685
 
deplibs_check_method=$lt_deplibs_check_method
20686
 
 
20687
 
# Command to use when deplibs_check_method == file_magic.
20688
 
file_magic_cmd=$lt_file_magic_cmd
20689
 
 
20690
 
# Flag that allows shared libraries with undefined symbols to be built.
20691
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
20692
 
 
20693
 
# Flag that forces no undefined symbols.
20694
 
no_undefined_flag=$lt_no_undefined_flag_RC
20695
 
 
20696
 
# Commands used to finish a libtool library installation in a directory.
20697
 
finish_cmds=$lt_finish_cmds
20698
 
 
20699
 
# Same as above, but a single script fragment to be evaled but not shown.
20700
 
finish_eval=$lt_finish_eval
20701
 
 
20702
 
# Take the output of nm and produce a listing of raw symbols and C names.
20703
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20704
 
 
20705
 
# Transform the output of nm in a proper C declaration
20706
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20707
 
 
20708
 
# Transform the output of nm in a C name address pair
20709
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20710
 
 
20711
 
# This is the shared library runtime path variable.
20712
 
runpath_var=$runpath_var
20713
 
 
20714
 
# This is the shared library path variable.
20715
 
shlibpath_var=$shlibpath_var
20716
 
 
20717
 
# Is shlibpath searched before the hard-coded library search path?
20718
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20719
 
 
20720
 
# How to hardcode a shared library path into an executable.
20721
 
hardcode_action=$hardcode_action_RC
20722
 
 
20723
 
# Whether we should hardcode library paths into libraries.
20724
 
hardcode_into_libs=$hardcode_into_libs
20725
 
 
20726
 
# Flag to hardcode \$libdir into a binary during linking.
20727
 
# This must work even if \$libdir does not exist.
20728
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
20729
 
 
20730
 
# If ld is used when linking, flag to hardcode \$libdir into
20731
 
# a binary during linking. This must work even if \$libdir does
20732
 
# not exist.
20733
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
20734
 
 
20735
 
# Whether we need a single -rpath flag with a separated argument.
20736
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
20737
 
 
20738
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
20739
 
# resulting binary.
20740
 
hardcode_direct=$hardcode_direct_RC
20741
 
 
20742
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
20743
 
# resulting binary.
20744
 
hardcode_minus_L=$hardcode_minus_L_RC
20745
 
 
20746
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
20747
 
# the resulting binary.
20748
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
20749
 
 
20750
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
20751
 
# and all subsequent libraries and executables linked against it.
20752
 
hardcode_automatic=$hardcode_automatic_RC
20753
 
 
20754
 
# Variables whose values should be saved in libtool wrapper scripts and
20755
 
# restored at relink time.
20756
 
variables_saved_for_relink="$variables_saved_for_relink"
20757
 
 
20758
 
# Whether libtool must link a program against all its dependency libraries.
20759
 
link_all_deplibs=$link_all_deplibs_RC
20760
 
 
20761
 
# Compile-time system search path for libraries
20762
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20763
 
 
20764
 
# Run-time system search path for libraries
20765
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20766
 
 
20767
 
# Fix the shell variable \$srcfile for the compiler.
20768
 
fix_srcfile_path=$lt_fix_srcfile_path
20769
 
 
20770
 
# Set to yes if exported symbols are required.
20771
 
always_export_symbols=$always_export_symbols_RC
20772
 
 
20773
 
# The commands to list exported symbols.
20774
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
20775
 
 
20776
 
# The commands to extract the exported symbol list from a shared archive.
20777
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20778
 
 
20779
 
# Symbols that should not be listed in the preloaded symbols.
20780
 
exclude_expsyms=$lt_exclude_expsyms_RC
20781
 
 
20782
 
# Symbols that must always be exported.
20783
 
include_expsyms=$lt_include_expsyms_RC
20784
 
 
20785
 
# ### END LIBTOOL TAG CONFIG: $tagname
20786
 
 
20787
 
__EOF__
20788
 
 
20789
 
 
20790
 
else
20791
 
  # If there is no Makefile yet, we rely on a make rule to execute
20792
 
  # `config.status --recheck' to rerun these tests and create the
20793
 
  # libtool script then.
20794
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
20795
 
  if test -f "$ltmain_in"; then
20796
 
    test -f Makefile && make "$ltmain"
20797
 
  fi
20798
 
fi
20799
 
 
20800
 
 
20801
 
ac_ext=c
20802
 
ac_cpp='$CPP $CPPFLAGS'
20803
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20804
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20805
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
20806
 
 
20807
 
CC="$lt_save_CC"
20808
 
 
20809
 
        ;;
20810
 
 
20811
 
      *)
20812
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
20813
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
20814
 
   { (exit 1); exit 1; }; }
20815
 
        ;;
20816
 
      esac
20817
 
 
20818
 
      # Append the new tag name to the list of available tags.
20819
 
      if test -n "$tagname" ; then
20820
 
      available_tags="$available_tags $tagname"
20821
 
    fi
20822
 
    fi
20823
 
  done
20824
 
  IFS="$lt_save_ifs"
20825
 
 
20826
 
  # Now substitute the updated list of available tags.
20827
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
20828
 
    mv "${ofile}T" "$ofile"
20829
 
    chmod +x "$ofile"
20830
 
  else
20831
 
    rm -f "${ofile}T"
20832
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
20833
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
20834
 
   { (exit 1); exit 1; }; }
20835
 
  fi
20836
 
fi
20837
 
 
20838
 
 
20839
 
 
20840
 
# This can be used to rebuild libtool when needed
20841
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
20842
 
 
20843
 
# Always use our own libtool.
20844
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
20845
 
 
20846
 
# Prevent multiple expansion
20847
 
 
20848
 
 
20849
 
 
20850
 
 
20851
 
 
20852
 
 
20853
 
 
20854
 
 
20855
 
 
20856
 
 
20857
 
 
20858
 
 
20859
 
 
20860
 
 
20861
 
 
20862
 
 
20863
 
 
20864
 
 
20865
 
 
20866
 
 
20867
 
 
20868
 
{ echo "$as_me:$LINENO: checking host system type" >&5
20869
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
12067
 
 
12068
 
 
12069
 
 
12070
 
 
12071
 
 
12072
 
 
12073
 
 
12074
 
 
12075
 
 
12076
 
 
12077
 
 
12078
 
 
12079
 
 
12080
 
 
12081
 
 
12082
striplib=
 
12083
old_striplib=
 
12084
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
12085
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
12086
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
12087
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
12088
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
12089
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12090
$as_echo "yes" >&6; }
 
12091
else
 
12092
# FIXME - insert some real tests, host_os isn't really good enough
 
12093
  case $host_os in
 
12094
  darwin*)
 
12095
    if test -n "$STRIP" ; then
 
12096
      striplib="$STRIP -x"
 
12097
      old_striplib="$STRIP -S"
 
12098
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
12099
$as_echo "yes" >&6; }
 
12100
    else
 
12101
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
12102
$as_echo "no" >&6; }
 
12103
    fi
 
12104
    ;;
 
12105
  *)
 
12106
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
12107
$as_echo "no" >&6; }
 
12108
    ;;
 
12109
  esac
 
12110
fi
 
12111
 
 
12112
 
 
12113
 
 
12114
 
 
12115
 
 
12116
 
 
12117
 
 
12118
 
 
12119
 
 
12120
 
 
12121
 
 
12122
 
 
12123
  # Report which library types will actually be built
 
12124
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
12125
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
12126
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
12127
$as_echo "$can_build_shared" >&6; }
 
12128
 
 
12129
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
12130
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
12131
  test "$can_build_shared" = "no" && enable_shared=no
 
12132
 
 
12133
  # On AIX, shared libraries and static libraries use the same namespace, and
 
12134
  # are all built from PIC.
 
12135
  case $host_os in
 
12136
  aix3*)
 
12137
    test "$enable_shared" = yes && enable_static=no
 
12138
    if test -n "$RANLIB"; then
 
12139
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
12140
      postinstall_cmds='$RANLIB $lib'
 
12141
    fi
 
12142
    ;;
 
12143
 
 
12144
  aix[4-9]*)
 
12145
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
12146
      test "$enable_shared" = yes && enable_static=no
 
12147
    fi
 
12148
    ;;
 
12149
  esac
 
12150
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
12151
$as_echo "$enable_shared" >&6; }
 
12152
 
 
12153
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
12154
$as_echo_n "checking whether to build static libraries... " >&6; }
 
12155
  # Make sure either enable_shared or enable_static is yes.
 
12156
  test "$enable_shared" = yes || enable_static=yes
 
12157
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
12158
$as_echo "$enable_static" >&6; }
 
12159
 
 
12160
 
 
12161
 
 
12162
 
 
12163
fi
 
12164
ac_ext=c
 
12165
ac_cpp='$CPP $CPPFLAGS'
 
12166
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12167
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12168
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12169
 
 
12170
CC="$lt_save_CC"
 
12171
 
 
12172
 
 
12173
 
 
12174
 
 
12175
 
 
12176
 
 
12177
 
 
12178
 
 
12179
 
 
12180
 
 
12181
 
 
12182
 
 
12183
 
 
12184
        ac_config_commands="$ac_config_commands libtool"
 
12185
 
 
12186
 
 
12187
 
 
12188
 
 
12189
# Only expand once:
 
12190
 
 
12191
 
 
12192
 
 
12193
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
12194
$as_echo_n "checking host system type... " >&6; }
20870
12195
if test "${ac_cv_host+set}" = set; then
20871
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12196
  $as_echo_n "(cached) " >&6
20872
12197
else
20873
12198
  if test "x$host_alias" = x; then
20874
12199
  ac_cv_host=$ac_cv_build
20875
12200
else
20876
12201
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
20877
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
20878
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
12202
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
12203
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
20879
12204
   { (exit 1); exit 1; }; }
20880
12205
fi
20881
12206
 
20882
12207
fi
20883
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
20884
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
12208
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
12209
$as_echo "$ac_cv_host" >&6; }
20885
12210
case $ac_cv_host in
20886
12211
*-*-*) ;;
20887
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
20888
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
12212
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
12213
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
20889
12214
   { (exit 1); exit 1; }; };;
20890
12215
esac
20891
12216
host=$ac_cv_host
20907
12232
         * ) CYGWIN=no;;
20908
12233
esac
20909
12234
 
20910
 
{ echo "$as_me:$LINENO: checking host system type" >&5
20911
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
12235
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
12236
$as_echo_n "checking host system type... " >&6; }
20912
12237
if test "${ac_cv_host+set}" = set; then
20913
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12238
  $as_echo_n "(cached) " >&6
20914
12239
else
20915
12240
  if test "x$host_alias" = x; then
20916
12241
  ac_cv_host=$ac_cv_build
20917
12242
else
20918
12243
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
20919
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
20920
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
12244
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
12245
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
20921
12246
   { (exit 1); exit 1; }; }
20922
12247
fi
20923
12248
 
20924
12249
fi
20925
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
20926
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
12250
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
12251
$as_echo "$ac_cv_host" >&6; }
20927
12252
case $ac_cv_host in
20928
12253
*-*-*) ;;
20929
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
20930
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
12254
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
12255
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
20931
12256
   { (exit 1); exit 1; }; };;
20932
12257
esac
20933
12258
host=$ac_cv_host
20958
12283
 
20959
12284
 
20960
12285
for termlib in ncurses curses termcap terminfo termlib ; do
20961
 
   as_ac_Lib=`echo "ac_cv_lib_${termlib}''_tgoto" | $as_tr_sh`
20962
 
{ echo "$as_me:$LINENO: checking for tgoto in -l${termlib}" >&5
20963
 
echo $ECHO_N "checking for tgoto in -l${termlib}... $ECHO_C" >&6; }
 
12286
   as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tgoto" | $as_tr_sh`
 
12287
{ $as_echo "$as_me:$LINENO: checking for tgoto in -l${termlib}" >&5
 
12288
$as_echo_n "checking for tgoto in -l${termlib}... " >&6; }
20964
12289
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
20965
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12290
  $as_echo_n "(cached) " >&6
20966
12291
else
20967
12292
  ac_check_lib_save_LIBS=$LIBS
20968
12293
LIBS="-l${termlib}  $LIBS"
20994
12319
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20995
12320
  *) ac_try_echo=$ac_try;;
20996
12321
esac
20997
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12322
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12323
$as_echo "$ac_try_echo") >&5
20998
12324
  (eval "$ac_link") 2>conftest.er1
20999
12325
  ac_status=$?
21000
12326
  grep -v '^ *+' conftest.er1 >conftest.err
21001
12327
  rm -f conftest.er1
21002
12328
  cat conftest.err >&5
21003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12329
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004
12330
  (exit $ac_status); } && {
21005
12331
         test -z "$ac_c_werror_flag" ||
21006
12332
         test ! -s conftest.err
21007
 
       } && test -s conftest$ac_exeext &&
21008
 
       $as_test_x conftest$ac_exeext; then
 
12333
       } && test -s conftest$ac_exeext && {
 
12334
         test "$cross_compiling" = yes ||
 
12335
         $as_test_x conftest$ac_exeext
 
12336
       }; then
21009
12337
  eval "$as_ac_Lib=yes"
21010
12338
else
21011
 
  echo "$as_me: failed program was:" >&5
 
12339
  $as_echo "$as_me: failed program was:" >&5
21012
12340
sed 's/^/| /' conftest.$ac_ext >&5
21013
12341
 
21014
12342
        eval "$as_ac_Lib=no"
21015
12343
fi
21016
12344
 
 
12345
rm -rf conftest.dSYM
21017
12346
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21018
12347
      conftest$ac_exeext conftest.$ac_ext
21019
12348
LIBS=$ac_check_lib_save_LIBS
21020
12349
fi
21021
 
ac_res=`eval echo '${'$as_ac_Lib'}'`
21022
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21023
 
echo "${ECHO_T}$ac_res" >&6; }
21024
 
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
 
12350
ac_res=`eval 'as_val=${'$as_ac_Lib'}
 
12351
                 $as_echo "$as_val"'`
 
12352
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12353
$as_echo "$ac_res" >&6; }
 
12354
as_val=`eval 'as_val=${'$as_ac_Lib'}
 
12355
                 $as_echo "$as_val"'`
 
12356
   if test "x$as_val" = x""yes; then
21025
12357
  LIBS="-l${termlib} $LIBS"; break
21026
12358
fi
21027
12359
 
21028
12360
done
21029
12361
 
21030
12362
 
21031
 
{ echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
21032
 
echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6; }
 
12363
{ $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
 
12364
$as_echo_n "checking for readline in -lreadline... " >&6; }
21033
12365
if test "${ac_cv_lib_readline_readline+set}" = set; then
21034
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12366
  $as_echo_n "(cached) " >&6
21035
12367
else
21036
12368
  ac_check_lib_save_LIBS=$LIBS
21037
12369
LIBS="-lreadline  $LIBS"
21063
12395
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21064
12396
  *) ac_try_echo=$ac_try;;
21065
12397
esac
21066
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12398
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12399
$as_echo "$ac_try_echo") >&5
21067
12400
  (eval "$ac_link") 2>conftest.er1
21068
12401
  ac_status=$?
21069
12402
  grep -v '^ *+' conftest.er1 >conftest.err
21070
12403
  rm -f conftest.er1
21071
12404
  cat conftest.err >&5
21072
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12405
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073
12406
  (exit $ac_status); } && {
21074
12407
         test -z "$ac_c_werror_flag" ||
21075
12408
         test ! -s conftest.err
21076
 
       } && test -s conftest$ac_exeext &&
21077
 
       $as_test_x conftest$ac_exeext; then
 
12409
       } && test -s conftest$ac_exeext && {
 
12410
         test "$cross_compiling" = yes ||
 
12411
         $as_test_x conftest$ac_exeext
 
12412
       }; then
21078
12413
  ac_cv_lib_readline_readline=yes
21079
12414
else
21080
 
  echo "$as_me: failed program was:" >&5
 
12415
  $as_echo "$as_me: failed program was:" >&5
21081
12416
sed 's/^/| /' conftest.$ac_ext >&5
21082
12417
 
21083
12418
        ac_cv_lib_readline_readline=no
21084
12419
fi
21085
12420
 
 
12421
rm -rf conftest.dSYM
21086
12422
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21087
12423
      conftest$ac_exeext conftest.$ac_ext
21088
12424
LIBS=$ac_check_lib_save_LIBS
21089
12425
fi
21090
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
21091
 
echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6; }
21092
 
if test $ac_cv_lib_readline_readline = yes; then
 
12426
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
 
12427
$as_echo "$ac_cv_lib_readline_readline" >&6; }
 
12428
if test "x$ac_cv_lib_readline_readline" = x""yes; then
21093
12429
  cat >>confdefs.h <<_ACEOF
21094
12430
#define HAVE_LIBREADLINE 1
21095
12431
_ACEOF
21099
12435
fi
21100
12436
 
21101
12437
if test $ac_cv_lib_readline_readline = no; then
21102
 
  { echo "$as_me:$LINENO: WARNING: libreadline was not found on your system." >&5
21103
 
echo "$as_me: WARNING: libreadline was not found on your system." >&2;}
 
12438
  { $as_echo "$as_me:$LINENO: WARNING: libreadline was not found on your system." >&5
 
12439
$as_echo "$as_me: WARNING: libreadline was not found on your system." >&2;}
21104
12440
fi
21105
12441
 
21106
12442
 
21108
12444
 
21109
12445
for ac_func in siginterrupt rl_clear_signals rl_cleanup_after_signal
21110
12446
do
21111
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21112
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21113
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
12447
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
12448
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
12449
$as_echo_n "checking for $ac_func... " >&6; }
21114
12450
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21115
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12451
  $as_echo_n "(cached) " >&6
21116
12452
else
21117
12453
  cat >conftest.$ac_ext <<_ACEOF
21118
12454
/* confdefs.h.  */
21165
12501
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21166
12502
  *) ac_try_echo=$ac_try;;
21167
12503
esac
21168
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12504
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12505
$as_echo "$ac_try_echo") >&5
21169
12506
  (eval "$ac_link") 2>conftest.er1
21170
12507
  ac_status=$?
21171
12508
  grep -v '^ *+' conftest.er1 >conftest.err
21172
12509
  rm -f conftest.er1
21173
12510
  cat conftest.err >&5
21174
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12511
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175
12512
  (exit $ac_status); } && {
21176
12513
         test -z "$ac_c_werror_flag" ||
21177
12514
         test ! -s conftest.err
21178
 
       } && test -s conftest$ac_exeext &&
21179
 
       $as_test_x conftest$ac_exeext; then
 
12515
       } && test -s conftest$ac_exeext && {
 
12516
         test "$cross_compiling" = yes ||
 
12517
         $as_test_x conftest$ac_exeext
 
12518
       }; then
21180
12519
  eval "$as_ac_var=yes"
21181
12520
else
21182
 
  echo "$as_me: failed program was:" >&5
 
12521
  $as_echo "$as_me: failed program was:" >&5
21183
12522
sed 's/^/| /' conftest.$ac_ext >&5
21184
12523
 
21185
12524
        eval "$as_ac_var=no"
21186
12525
fi
21187
12526
 
 
12527
rm -rf conftest.dSYM
21188
12528
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21189
12529
      conftest$ac_exeext conftest.$ac_ext
21190
12530
fi
21191
 
ac_res=`eval echo '${'$as_ac_var'}'`
21192
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21193
 
echo "${ECHO_T}$ac_res" >&6; }
21194
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
12531
ac_res=`eval 'as_val=${'$as_ac_var'}
 
12532
                 $as_echo "$as_val"'`
 
12533
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12534
$as_echo "$ac_res" >&6; }
 
12535
as_val=`eval 'as_val=${'$as_ac_var'}
 
12536
                 $as_echo "$as_val"'`
 
12537
   if test "x$as_val" = x""yes; then
21195
12538
  cat >>confdefs.h <<_ACEOF
21196
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12539
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21197
12540
_ACEOF
21198
12541
 
21199
12542
fi
21203
12546
 
21204
12547
for ac_func in rl_filename_completion_function
21205
12548
do
21206
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21207
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21208
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
12549
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
12550
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
12551
$as_echo_n "checking for $ac_func... " >&6; }
21209
12552
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21210
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12553
  $as_echo_n "(cached) " >&6
21211
12554
else
21212
12555
  cat >conftest.$ac_ext <<_ACEOF
21213
12556
/* confdefs.h.  */
21260
12603
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21261
12604
  *) ac_try_echo=$ac_try;;
21262
12605
esac
21263
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12606
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12607
$as_echo "$ac_try_echo") >&5
21264
12608
  (eval "$ac_link") 2>conftest.er1
21265
12609
  ac_status=$?
21266
12610
  grep -v '^ *+' conftest.er1 >conftest.err
21267
12611
  rm -f conftest.er1
21268
12612
  cat conftest.err >&5
21269
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12613
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270
12614
  (exit $ac_status); } && {
21271
12615
         test -z "$ac_c_werror_flag" ||
21272
12616
         test ! -s conftest.err
21273
 
       } && test -s conftest$ac_exeext &&
21274
 
       $as_test_x conftest$ac_exeext; then
 
12617
       } && test -s conftest$ac_exeext && {
 
12618
         test "$cross_compiling" = yes ||
 
12619
         $as_test_x conftest$ac_exeext
 
12620
       }; then
21275
12621
  eval "$as_ac_var=yes"
21276
12622
else
21277
 
  echo "$as_me: failed program was:" >&5
 
12623
  $as_echo "$as_me: failed program was:" >&5
21278
12624
sed 's/^/| /' conftest.$ac_ext >&5
21279
12625
 
21280
12626
        eval "$as_ac_var=no"
21281
12627
fi
21282
12628
 
 
12629
rm -rf conftest.dSYM
21283
12630
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21284
12631
      conftest$ac_exeext conftest.$ac_ext
21285
12632
fi
21286
 
ac_res=`eval echo '${'$as_ac_var'}'`
21287
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21288
 
echo "${ECHO_T}$ac_res" >&6; }
21289
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
12633
ac_res=`eval 'as_val=${'$as_ac_var'}
 
12634
                 $as_echo "$as_val"'`
 
12635
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12636
$as_echo "$ac_res" >&6; }
 
12637
as_val=`eval 'as_val=${'$as_ac_var'}
 
12638
                 $as_echo "$as_val"'`
 
12639
   if test "x$as_val" = x""yes; then
21290
12640
  cat >>confdefs.h <<_ACEOF
21291
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12641
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21292
12642
_ACEOF
21293
12643
 
21294
12644
fi
21298
12648
 
21299
12649
for ac_func in rl_get_keymap
21300
12650
do
21301
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21302
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21303
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
12651
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
12652
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
12653
$as_echo_n "checking for $ac_func... " >&6; }
21304
12654
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21305
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12655
  $as_echo_n "(cached) " >&6
21306
12656
else
21307
12657
  cat >conftest.$ac_ext <<_ACEOF
21308
12658
/* confdefs.h.  */
21355
12705
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21356
12706
  *) ac_try_echo=$ac_try;;
21357
12707
esac
21358
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12708
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12709
$as_echo "$ac_try_echo") >&5
21359
12710
  (eval "$ac_link") 2>conftest.er1
21360
12711
  ac_status=$?
21361
12712
  grep -v '^ *+' conftest.er1 >conftest.err
21362
12713
  rm -f conftest.er1
21363
12714
  cat conftest.err >&5
21364
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12715
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365
12716
  (exit $ac_status); } && {
21366
12717
         test -z "$ac_c_werror_flag" ||
21367
12718
         test ! -s conftest.err
21368
 
       } && test -s conftest$ac_exeext &&
21369
 
       $as_test_x conftest$ac_exeext; then
 
12719
       } && test -s conftest$ac_exeext && {
 
12720
         test "$cross_compiling" = yes ||
 
12721
         $as_test_x conftest$ac_exeext
 
12722
       }; then
21370
12723
  eval "$as_ac_var=yes"
21371
12724
else
21372
 
  echo "$as_me: failed program was:" >&5
 
12725
  $as_echo "$as_me: failed program was:" >&5
21373
12726
sed 's/^/| /' conftest.$ac_ext >&5
21374
12727
 
21375
12728
        eval "$as_ac_var=no"
21376
12729
fi
21377
12730
 
 
12731
rm -rf conftest.dSYM
21378
12732
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21379
12733
      conftest$ac_exeext conftest.$ac_ext
21380
12734
fi
21381
 
ac_res=`eval echo '${'$as_ac_var'}'`
21382
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21383
 
echo "${ECHO_T}$ac_res" >&6; }
21384
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
12735
ac_res=`eval 'as_val=${'$as_ac_var'}
 
12736
                 $as_echo "$as_val"'`
 
12737
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12738
$as_echo "$ac_res" >&6; }
 
12739
as_val=`eval 'as_val=${'$as_ac_var'}
 
12740
                 $as_echo "$as_val"'`
 
12741
   if test "x$as_val" = x""yes; then
21385
12742
  cat >>confdefs.h <<_ACEOF
21386
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
12743
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21387
12744
_ACEOF
21388
12745
 
21389
12746
fi
21391
12748
 
21392
12749
 
21393
12750
 
21394
 
{ echo "$as_me:$LINENO: checking for rl_pre_input_hook" >&5
21395
 
echo $ECHO_N "checking for rl_pre_input_hook... $ECHO_C" >&6; }
 
12751
{ $as_echo "$as_me:$LINENO: checking for rl_pre_input_hook" >&5
 
12752
$as_echo_n "checking for rl_pre_input_hook... " >&6; }
21396
12753
if test "${ac_cv_var_rl_pre_input_hook+set}" = set; then
21397
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12754
  $as_echo_n "(cached) " >&6
21398
12755
else
21399
12756
  cat >conftest.$ac_ext <<_ACEOF
21400
12757
/* confdefs.h.  */
21422
12779
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21423
12780
  *) ac_try_echo=$ac_try;;
21424
12781
esac
21425
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12782
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12783
$as_echo "$ac_try_echo") >&5
21426
12784
  (eval "$ac_link") 2>conftest.er1
21427
12785
  ac_status=$?
21428
12786
  grep -v '^ *+' conftest.er1 >conftest.err
21429
12787
  rm -f conftest.er1
21430
12788
  cat conftest.err >&5
21431
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12789
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21432
12790
  (exit $ac_status); } && {
21433
12791
         test -z "$ac_c_werror_flag" ||
21434
12792
         test ! -s conftest.err
21435
 
       } && test -s conftest$ac_exeext &&
21436
 
       $as_test_x conftest$ac_exeext; then
 
12793
       } && test -s conftest$ac_exeext && {
 
12794
         test "$cross_compiling" = yes ||
 
12795
         $as_test_x conftest$ac_exeext
 
12796
       }; then
21437
12797
  ac_cv_var_rl_pre_input_hook=yes
21438
12798
else
21439
 
  echo "$as_me: failed program was:" >&5
 
12799
  $as_echo "$as_me: failed program was:" >&5
21440
12800
sed 's/^/| /' conftest.$ac_ext >&5
21441
12801
 
21442
12802
        ac_cv_var_rl_pre_input_hook=no
21443
12803
fi
21444
12804
 
 
12805
rm -rf conftest.dSYM
21445
12806
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21446
12807
      conftest$ac_exeext conftest.$ac_ext
21447
12808
fi
21448
12809
 
21449
 
{ echo "$as_me:$LINENO: result: $ac_cv_var_rl_pre_input_hook" >&5
21450
 
echo "${ECHO_T}$ac_cv_var_rl_pre_input_hook" >&6; }
 
12810
{ $as_echo "$as_me:$LINENO: result: $ac_cv_var_rl_pre_input_hook" >&5
 
12811
$as_echo "$ac_cv_var_rl_pre_input_hook" >&6; }
21451
12812
if test $ac_cv_var_rl_pre_input_hook = yes; then
21452
12813
 
21453
12814
cat >>confdefs.h <<\_ACEOF
21457
12818
fi
21458
12819
 
21459
12820
 
21460
 
{ echo "$as_me:$LINENO: checking if readline clears SA_RESTART flag for SIGWINCH" >&5
21461
 
echo $ECHO_N "checking if readline clears SA_RESTART flag for SIGWINCH... $ECHO_C" >&6; }
 
12821
{ $as_echo "$as_me:$LINENO: checking if readline clears SA_RESTART flag for SIGWINCH" >&5
 
12822
$as_echo_n "checking if readline clears SA_RESTART flag for SIGWINCH... " >&6; }
21462
12823
if test "${guile_cv_sigwinch_sa_restart_cleared+set}" = set; then
21463
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12824
  $as_echo_n "(cached) " >&6
21464
12825
else
21465
12826
  if test "$cross_compiling" = yes; then
21466
12827
  guile_cv_sigwinch_sa_restart_cleared=yes
21516
12877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21517
12878
  *) ac_try_echo=$ac_try;;
21518
12879
esac
21519
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12880
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12881
$as_echo "$ac_try_echo") >&5
21520
12882
  (eval "$ac_link") 2>&5
21521
12883
  ac_status=$?
21522
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12884
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523
12885
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21524
12886
  { (case "(($ac_try" in
21525
12887
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21526
12888
  *) ac_try_echo=$ac_try;;
21527
12889
esac
21528
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12890
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12891
$as_echo "$ac_try_echo") >&5
21529
12892
  (eval "$ac_try") 2>&5
21530
12893
  ac_status=$?
21531
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12894
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532
12895
  (exit $ac_status); }; }; then
21533
12896
  guile_cv_sigwinch_sa_restart_cleared=yes
21534
12897
else
21535
 
  echo "$as_me: program exited with status $ac_status" >&5
21536
 
echo "$as_me: failed program was:" >&5
 
12898
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
12899
$as_echo "$as_me: failed program was:" >&5
21537
12900
sed 's/^/| /' conftest.$ac_ext >&5
21538
12901
 
21539
12902
( exit $ac_status )
21540
12903
guile_cv_sigwinch_sa_restart_cleared=no
21541
12904
fi
 
12905
rm -rf conftest.dSYM
21542
12906
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21543
12907
fi
21544
12908
 
21545
12909
 
21546
12910
fi
21547
12911
 
21548
 
{ echo "$as_me:$LINENO: result: $guile_cv_sigwinch_sa_restart_cleared" >&5
21549
 
echo "${ECHO_T}$guile_cv_sigwinch_sa_restart_cleared" >&6; }
 
12912
{ $as_echo "$as_me:$LINENO: result: $guile_cv_sigwinch_sa_restart_cleared" >&5
 
12913
$as_echo "$guile_cv_sigwinch_sa_restart_cleared" >&6; }
21550
12914
if test $guile_cv_sigwinch_sa_restart_cleared = yes; then
21551
12915
 
21552
12916
cat >>confdefs.h <<\_ACEOF
21555
12919
 
21556
12920
fi
21557
12921
 
21558
 
{ echo "$as_me:$LINENO: checking for rl_getc_function pointer in readline" >&5
21559
 
echo $ECHO_N "checking for rl_getc_function pointer in readline... $ECHO_C" >&6; }
 
12922
{ $as_echo "$as_me:$LINENO: checking for rl_getc_function pointer in readline" >&5
 
12923
$as_echo_n "checking for rl_getc_function pointer in readline... " >&6; }
21560
12924
if test "${ac_cv_var_rl_getc_function+set}" = set; then
21561
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12925
  $as_echo_n "(cached) " >&6
21562
12926
else
21563
12927
  cat >conftest.$ac_ext <<_ACEOF
21564
12928
/* confdefs.h.  */
21583
12947
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21584
12948
  *) ac_try_echo=$ac_try;;
21585
12949
esac
21586
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12950
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12951
$as_echo "$ac_try_echo") >&5
21587
12952
  (eval "$ac_link") 2>conftest.er1
21588
12953
  ac_status=$?
21589
12954
  grep -v '^ *+' conftest.er1 >conftest.err
21590
12955
  rm -f conftest.er1
21591
12956
  cat conftest.err >&5
21592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12957
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593
12958
  (exit $ac_status); } && {
21594
12959
         test -z "$ac_c_werror_flag" ||
21595
12960
         test ! -s conftest.err
21596
 
       } && test -s conftest$ac_exeext &&
21597
 
       $as_test_x conftest$ac_exeext; then
 
12961
       } && test -s conftest$ac_exeext && {
 
12962
         test "$cross_compiling" = yes ||
 
12963
         $as_test_x conftest$ac_exeext
 
12964
       }; then
21598
12965
  ac_cv_var_rl_getc_function=yes
21599
12966
else
21600
 
  echo "$as_me: failed program was:" >&5
 
12967
  $as_echo "$as_me: failed program was:" >&5
21601
12968
sed 's/^/| /' conftest.$ac_ext >&5
21602
12969
 
21603
12970
        ac_cv_var_rl_getc_function=no
21604
12971
fi
21605
12972
 
 
12973
rm -rf conftest.dSYM
21606
12974
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21607
12975
      conftest$ac_exeext conftest.$ac_ext
21608
12976
fi
21609
 
{ echo "$as_me:$LINENO: result: $ac_cv_var_rl_getc_function" >&5
21610
 
echo "${ECHO_T}$ac_cv_var_rl_getc_function" >&6; }
 
12977
{ $as_echo "$as_me:$LINENO: result: $ac_cv_var_rl_getc_function" >&5
 
12978
$as_echo "$ac_cv_var_rl_getc_function" >&6; }
21611
12979
if test "${ac_cv_var_rl_getc_function}" = "yes"; then
21612
12980
 
21613
12981
cat >>confdefs.h <<\_ACEOF
21618
12986
 
21619
12987
if test $ac_cv_lib_readline_readline = yes \
21620
12988
        -a $ac_cv_var_rl_getc_function = no; then
21621
 
  { echo "$as_me:$LINENO: WARNING: *** libreadline is too old on your system." >&5
21622
 
echo "$as_me: WARNING: *** libreadline is too old on your system." >&2;}
21623
 
  { echo "$as_me:$LINENO: WARNING: *** You need readline version 2.1 or later." >&5
21624
 
echo "$as_me: WARNING: *** You need readline version 2.1 or later." >&2;}
 
12989
  { $as_echo "$as_me:$LINENO: WARNING: *** libreadline is too old on your system." >&5
 
12990
$as_echo "$as_me: WARNING: *** libreadline is too old on your system." >&2;}
 
12991
  { $as_echo "$as_me:$LINENO: WARNING: *** You need readline version 2.1 or later." >&5
 
12992
$as_echo "$as_me: WARNING: *** You need readline version 2.1 or later." >&2;}
21625
12993
fi
21626
12994
 
21627
12995
 
21628
12996
for ac_func in strdup
21629
12997
do
21630
 
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21631
 
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21632
 
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
12998
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
12999
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
13000
$as_echo_n "checking for $ac_func... " >&6; }
21633
13001
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21634
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
13002
  $as_echo_n "(cached) " >&6
21635
13003
else
21636
13004
  cat >conftest.$ac_ext <<_ACEOF
21637
13005
/* confdefs.h.  */
21684
13052
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21685
13053
  *) ac_try_echo=$ac_try;;
21686
13054
esac
21687
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
13055
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
13056
$as_echo "$ac_try_echo") >&5
21688
13057
  (eval "$ac_link") 2>conftest.er1
21689
13058
  ac_status=$?
21690
13059
  grep -v '^ *+' conftest.er1 >conftest.err
21691
13060
  rm -f conftest.er1
21692
13061
  cat conftest.err >&5
21693
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
13062
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694
13063
  (exit $ac_status); } && {
21695
13064
         test -z "$ac_c_werror_flag" ||
21696
13065
         test ! -s conftest.err
21697
 
       } && test -s conftest$ac_exeext &&
21698
 
       $as_test_x conftest$ac_exeext; then
 
13066
       } && test -s conftest$ac_exeext && {
 
13067
         test "$cross_compiling" = yes ||
 
13068
         $as_test_x conftest$ac_exeext
 
13069
       }; then
21699
13070
  eval "$as_ac_var=yes"
21700
13071
else
21701
 
  echo "$as_me: failed program was:" >&5
 
13072
  $as_echo "$as_me: failed program was:" >&5
21702
13073
sed 's/^/| /' conftest.$ac_ext >&5
21703
13074
 
21704
13075
        eval "$as_ac_var=no"
21705
13076
fi
21706
13077
 
 
13078
rm -rf conftest.dSYM
21707
13079
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21708
13080
      conftest$ac_exeext conftest.$ac_ext
21709
13081
fi
21710
 
ac_res=`eval echo '${'$as_ac_var'}'`
21711
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
21712
 
echo "${ECHO_T}$ac_res" >&6; }
21713
 
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
13082
ac_res=`eval 'as_val=${'$as_ac_var'}
 
13083
                 $as_echo "$as_val"'`
 
13084
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
13085
$as_echo "$ac_res" >&6; }
 
13086
as_val=`eval 'as_val=${'$as_ac_var'}
 
13087
                 $as_echo "$as_val"'`
 
13088
   if test "x$as_val" = x""yes; then
21714
13089
  cat >>confdefs.h <<_ACEOF
21715
 
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
13090
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21716
13091
_ACEOF
21717
13092
 
21718
13093
fi
21757
13132
    case $ac_val in #(
21758
13133
    *${as_nl}*)
21759
13134
      case $ac_var in #(
21760
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21761
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
13135
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
13136
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21762
13137
      esac
21763
13138
      case $ac_var in #(
21764
13139
      _ | IFS | as_nl) ;; #(
 
13140
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21765
13141
      *) $as_unset $ac_var ;;
21766
13142
      esac ;;
21767
13143
    esac
21794
13170
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21795
13171
  if test -w "$cache_file"; then
21796
13172
    test "x$cache_file" != "x/dev/null" &&
21797
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21798
 
echo "$as_me: updating cache $cache_file" >&6;}
 
13173
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
13174
$as_echo "$as_me: updating cache $cache_file" >&6;}
21799
13175
    cat confcache >$cache_file
21800
13176
  else
21801
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21802
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
13177
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
13178
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21803
13179
  fi
21804
13180
fi
21805
13181
rm -f confcache
21815
13191
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21816
13192
  # 1. Remove the extension, and $U if already installed.
21817
13193
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21818
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
13194
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21819
13195
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
21820
13196
  #    will be set to the directory where LIBOBJS objects are built.
21821
13197
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21827
13203
 
21828
13204
 
21829
13205
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21830
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
21831
 
Usually this means the macro was only invoked conditionally." >&5
21832
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
21833
 
Usually this means the macro was only invoked conditionally." >&2;}
21834
 
   { (exit 1); exit 1; }; }
21835
 
fi
21836
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21837
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21838
 
Usually this means the macro was only invoked conditionally." >&5
21839
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21840
 
Usually this means the macro was only invoked conditionally." >&2;}
21841
 
   { (exit 1); exit 1; }; }
21842
 
fi
21843
 
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21844
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
21845
 
Usually this means the macro was only invoked conditionally." >&5
21846
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21847
 
Usually this means the macro was only invoked conditionally." >&2;}
21848
 
   { (exit 1); exit 1; }; }
21849
 
fi
21850
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21851
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
21852
 
Usually this means the macro was only invoked conditionally." >&5
21853
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
13206
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
13207
Usually this means the macro was only invoked conditionally." >&5
 
13208
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
13209
Usually this means the macro was only invoked conditionally." >&2;}
 
13210
   { (exit 1); exit 1; }; }
 
13211
fi
 
13212
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13213
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
13214
Usually this means the macro was only invoked conditionally." >&5
 
13215
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
13216
Usually this means the macro was only invoked conditionally." >&2;}
 
13217
   { (exit 1); exit 1; }; }
 
13218
fi
 
13219
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
13220
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
13221
Usually this means the macro was only invoked conditionally." >&5
 
13222
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
21854
13223
Usually this means the macro was only invoked conditionally." >&2;}
21855
13224
   { (exit 1); exit 1; }; }
21856
13225
fi
21857
13226
 
21858
13227
: ${CONFIG_STATUS=./config.status}
 
13228
ac_write_fail=0
21859
13229
ac_clean_files_save=$ac_clean_files
21860
13230
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21861
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21862
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
21863
 
cat >$CONFIG_STATUS <<_ACEOF
 
13231
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
13232
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
13233
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21864
13234
#! $SHELL
21865
13235
# Generated by $as_me.
21866
13236
# Run this file to recreate the current configuration.
21873
13243
SHELL=\${CONFIG_SHELL-$SHELL}
21874
13244
_ACEOF
21875
13245
 
21876
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13246
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21877
13247
## --------------------- ##
21878
13248
## M4sh Initialization.  ##
21879
13249
## --------------------- ##
21883
13253
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21884
13254
  emulate sh
21885
13255
  NULLCMD=:
21886
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
13256
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21887
13257
  # is contrary to our usage.  Disable this feature.
21888
13258
  alias -g '${1+"$@"}'='"$@"'
21889
13259
  setopt NO_GLOB_SUBST
21905
13275
as_cr_digits='0123456789'
21906
13276
as_cr_alnum=$as_cr_Letters$as_cr_digits
21907
13277
 
 
13278
as_nl='
 
13279
'
 
13280
export as_nl
 
13281
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
13282
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
13283
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
13284
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
13285
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
13286
  as_echo='printf %s\n'
 
13287
  as_echo_n='printf %s'
 
13288
else
 
13289
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
13290
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
13291
    as_echo_n='/usr/ucb/echo -n'
 
13292
  else
 
13293
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
13294
    as_echo_n_body='eval
 
13295
      arg=$1;
 
13296
      case $arg in
 
13297
      *"$as_nl"*)
 
13298
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
13299
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
13300
      esac;
 
13301
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
13302
    '
 
13303
    export as_echo_n_body
 
13304
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
13305
  fi
 
13306
  export as_echo_body
 
13307
  as_echo='sh -c $as_echo_body as_echo'
 
13308
fi
 
13309
 
21908
13310
# The user is always right.
21909
13311
if test "${PATH_SEPARATOR+set}" != set; then
21910
 
  echo "#! /bin/sh" >conf$$.sh
21911
 
  echo  "exit 0"   >>conf$$.sh
21912
 
  chmod +x conf$$.sh
21913
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21914
 
    PATH_SEPARATOR=';'
21915
 
  else
21916
 
    PATH_SEPARATOR=:
21917
 
  fi
21918
 
  rm -f conf$$.sh
 
13312
  PATH_SEPARATOR=:
 
13313
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
13314
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
13315
      PATH_SEPARATOR=';'
 
13316
  }
21919
13317
fi
21920
13318
 
21921
13319
# Support unset when possible.
21931
13329
# there to prevent editors from complaining about space-tab.
21932
13330
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21933
13331
# splitting by setting IFS to empty value.)
21934
 
as_nl='
21935
 
'
21936
13332
IFS=" ""        $as_nl"
21937
13333
 
21938
13334
# Find who we are.  Look in the path if we contain no directory separator.
21955
13351
  as_myself=$0
21956
13352
fi
21957
13353
if test ! -f "$as_myself"; then
21958
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
13354
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21959
13355
  { (exit 1); exit 1; }
21960
13356
fi
21961
13357
 
21968
13364
PS4='+ '
21969
13365
 
21970
13366
# NLS nuisances.
21971
 
for as_var in \
21972
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21973
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21974
 
  LC_TELEPHONE LC_TIME
21975
 
do
21976
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21977
 
    eval $as_var=C; export $as_var
21978
 
  else
21979
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21980
 
  fi
21981
 
done
 
13367
LC_ALL=C
 
13368
export LC_ALL
 
13369
LANGUAGE=C
 
13370
export LANGUAGE
21982
13371
 
21983
13372
# Required to use basename.
21984
13373
if expr a : '\(a\)' >/dev/null 2>&1 &&
22000
13389
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22001
13390
         X"$0" : 'X\(//\)$' \| \
22002
13391
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22003
 
echo X/"$0" |
 
13392
$as_echo X/"$0" |
22004
13393
    sed '/^.*\/\([^/][^/]*\)\/*$/{
22005
13394
            s//\1/
22006
13395
            q
22051
13440
      s/-\n.*//
22052
13441
    ' >$as_me.lineno &&
22053
13442
  chmod +x "$as_me.lineno" ||
22054
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
13443
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22055
13444
   { (exit 1); exit 1; }; }
22056
13445
 
22057
13446
  # Don't try to exec as it changes $[0], causing all sort of problems
22079
13468
*)
22080
13469
  ECHO_N='-n';;
22081
13470
esac
22082
 
 
22083
13471
if expr a : '\(a\)' >/dev/null 2>&1 &&
22084
13472
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
22085
13473
  as_expr=expr
22092
13480
  rm -f conf$$.dir/conf$$.file
22093
13481
else
22094
13482
  rm -f conf$$.dir
22095
 
  mkdir conf$$.dir
 
13483
  mkdir conf$$.dir 2>/dev/null
22096
13484
fi
22097
 
echo >conf$$.file
22098
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
22099
 
  as_ln_s='ln -s'
22100
 
  # ... but there are two gotchas:
22101
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22102
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22103
 
  # In both cases, we have to default to `cp -p'.
22104
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
13485
if (echo >conf$$.file) 2>/dev/null; then
 
13486
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
13487
    as_ln_s='ln -s'
 
13488
    # ... but there are two gotchas:
 
13489
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
13490
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
13491
    # In both cases, we have to default to `cp -p'.
 
13492
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
13493
      as_ln_s='cp -p'
 
13494
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
13495
    as_ln_s=ln
 
13496
  else
22105
13497
    as_ln_s='cp -p'
22106
 
elif ln conf$$.file conf$$ 2>/dev/null; then
22107
 
  as_ln_s=ln
 
13498
  fi
22108
13499
else
22109
13500
  as_ln_s='cp -p'
22110
13501
fi
22129
13520
  as_test_x='
22130
13521
    eval sh -c '\''
22131
13522
      if test -d "$1"; then
22132
 
        test -d "$1/.";
 
13523
        test -d "$1/.";
22133
13524
      else
22134
13525
        case $1 in
22135
 
        -*)set "./$1";;
 
13526
        -*)set "./$1";;
22136
13527
        esac;
22137
13528
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22138
13529
        ???[sx]*):;;*)false;;esac;fi
22154
13545
# report actual input values of CONFIG_FILES etc. instead of their
22155
13546
# values after options handling.
22156
13547
ac_log="
22157
 
This file was extended by guile-readline $as_me 1.8.5, which was
22158
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
13548
This file was extended by guile-readline $as_me 1.8.6, which was
 
13549
generated by GNU Autoconf 2.63.  Invocation command line was
22159
13550
 
22160
13551
  CONFIG_FILES    = $CONFIG_FILES
22161
13552
  CONFIG_HEADERS  = $CONFIG_HEADERS
22168
13559
 
22169
13560
_ACEOF
22170
13561
 
22171
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13562
case $ac_config_files in *"
 
13563
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
13564
esac
 
13565
 
 
13566
case $ac_config_headers in *"
 
13567
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
13568
esac
 
13569
 
 
13570
 
 
13571
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22172
13572
# Files that config.status was made for.
22173
13573
config_files="$ac_config_files"
22174
13574
config_headers="$ac_config_headers"
22176
13576
 
22177
13577
_ACEOF
22178
13578
 
22179
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13579
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22180
13580
ac_cs_usage="\
22181
13581
\`$as_me' instantiates files from templates according to the
22182
13582
current configuration.
22183
13583
 
22184
 
Usage: $0 [OPTIONS] [FILE]...
 
13584
Usage: $0 [OPTION]... [FILE]...
22185
13585
 
22186
13586
  -h, --help       print this help, then exit
22187
13587
  -V, --version    print version number and configuration settings, then exit
22188
 
  -q, --quiet      do not print progress messages
 
13588
  -q, --quiet, --silent
 
13589
                   do not print progress messages
22189
13590
  -d, --debug      don't remove temporary files
22190
13591
      --recheck    update $as_me by reconfiguring in the same conditions
22191
 
  --file=FILE[:TEMPLATE]
22192
 
                   instantiate the configuration file FILE
22193
 
  --header=FILE[:TEMPLATE]
22194
 
                   instantiate the configuration header FILE
 
13592
      --file=FILE[:TEMPLATE]
 
13593
                   instantiate the configuration file FILE
 
13594
      --header=FILE[:TEMPLATE]
 
13595
                   instantiate the configuration header FILE
22195
13596
 
22196
13597
Configuration files:
22197
13598
$config_files
22205
13606
Report bugs to <bug-autoconf@gnu.org>."
22206
13607
 
22207
13608
_ACEOF
22208
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13609
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22209
13610
ac_cs_version="\\
22210
 
guile-readline config.status 1.8.5
22211
 
configured by $0, generated by GNU Autoconf 2.61,
22212
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
13611
guile-readline config.status 1.8.6
 
13612
configured by $0, generated by GNU Autoconf 2.63,
 
13613
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22213
13614
 
22214
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
13615
Copyright (C) 2008 Free Software Foundation, Inc.
22215
13616
This config.status script is free software; the Free Software Foundation
22216
13617
gives unlimited permission to copy, distribute and modify it."
22217
13618
 
22219
13620
srcdir='$srcdir'
22220
13621
INSTALL='$INSTALL'
22221
13622
MKDIR_P='$MKDIR_P'
 
13623
AWK='$AWK'
 
13624
test -n "\$AWK" || AWK=awk
22222
13625
_ACEOF
22223
13626
 
22224
 
cat >>$CONFIG_STATUS <<\_ACEOF
22225
 
# If no file are specified by the user, then we need to provide default
22226
 
# value.  By we need to know if files were specified by the user.
 
13627
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13628
# The default lists apply if the user does not specify any file.
22227
13629
ac_need_defaults=:
22228
13630
while test $# != 0
22229
13631
do
22245
13647
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22246
13648
    ac_cs_recheck=: ;;
22247
13649
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22248
 
    echo "$ac_cs_version"; exit ;;
 
13650
    $as_echo "$ac_cs_version"; exit ;;
22249
13651
  --debug | --debu | --deb | --de | --d | -d )
22250
13652
    debug=: ;;
22251
13653
  --file | --fil | --fi | --f )
22252
13654
    $ac_shift
22253
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
13655
    case $ac_optarg in
 
13656
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13657
    esac
 
13658
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
22254
13659
    ac_need_defaults=false;;
22255
13660
  --header | --heade | --head | --hea )
22256
13661
    $ac_shift
22257
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
13662
    case $ac_optarg in
 
13663
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13664
    esac
 
13665
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
22258
13666
    ac_need_defaults=false;;
22259
13667
  --he | --h)
22260
13668
    # Conflict between --help and --header
22261
 
    { echo "$as_me: error: ambiguous option: $1
 
13669
    { $as_echo "$as_me: error: ambiguous option: $1
22262
13670
Try \`$0 --help' for more information." >&2
22263
13671
   { (exit 1); exit 1; }; };;
22264
13672
  --help | --hel | -h )
22265
 
    echo "$ac_cs_usage"; exit ;;
 
13673
    $as_echo "$ac_cs_usage"; exit ;;
22266
13674
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22267
13675
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
22268
13676
    ac_cs_silent=: ;;
22269
13677
 
22270
13678
  # This is an error.
22271
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
13679
  -*) { $as_echo "$as_me: error: unrecognized option: $1
22272
13680
Try \`$0 --help' for more information." >&2
22273
13681
   { (exit 1); exit 1; }; } ;;
22274
13682
 
22287
13695
fi
22288
13696
 
22289
13697
_ACEOF
22290
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13698
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22291
13699
if \$ac_cs_recheck; then
22292
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22293
 
  CONFIG_SHELL=$SHELL
 
13700
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13701
  shift
 
13702
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
13703
  CONFIG_SHELL='$SHELL'
22294
13704
  export CONFIG_SHELL
22295
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13705
  exec "\$@"
22296
13706
fi
22297
13707
 
22298
13708
_ACEOF
22299
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13709
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22300
13710
exec 5>>config.log
22301
13711
{
22302
13712
  echo
22303
13713
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22304
13714
## Running $as_me. ##
22305
13715
_ASBOX
22306
 
  echo "$ac_log"
 
13716
  $as_echo "$ac_log"
22307
13717
} >&5
22308
13718
 
22309
13719
_ACEOF
22310
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13720
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22311
13721
#
22312
13722
# INIT-COMMANDS
22313
13723
#
22314
13724
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22315
13725
 
 
13726
 
 
13727
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
13728
# if CDPATH is set.
 
13729
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13730
 
 
13731
sed_quote_subst='$sed_quote_subst'
 
13732
double_quote_subst='$double_quote_subst'
 
13733
delay_variable_subst='$delay_variable_subst'
 
13734
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
 
13735
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
13736
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
13737
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
13738
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
13739
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
13740
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13741
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
13742
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
13743
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
13744
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
13745
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
13746
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
13747
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
13748
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
13749
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
13750
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
13751
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13752
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13753
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13754
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
13755
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
13756
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
13757
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
13758
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
13759
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
13760
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
13761
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
13762
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
13763
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13764
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13765
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
13766
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
13767
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
13768
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
13769
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
13770
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
13771
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13772
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13773
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13774
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
13775
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
13776
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
13777
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
13778
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
13779
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
13780
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"`'
 
13781
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"`'
 
13782
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
13783
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
13784
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
13785
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
13786
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13787
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
13788
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
13789
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13790
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
13791
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
13792
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
13793
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
13794
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
13795
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
13796
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
13797
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
13798
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13799
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13800
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
13801
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
13802
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13803
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13804
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
13805
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13806
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13807
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13808
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13809
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13810
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13811
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
13812
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13813
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13814
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13815
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
13816
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
13817
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
13818
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
13819
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
13820
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13821
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
13822
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
13823
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
13824
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
13825
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
13826
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13827
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
13828
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
13829
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13830
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13831
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
13832
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
13833
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
13834
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
13835
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13836
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13837
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
13838
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13839
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13840
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13841
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13842
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13843
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13844
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
13845
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
13846
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13847
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13848
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
13849
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
13850
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
13851
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13852
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13853
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13854
 
 
13855
LTCC='$LTCC'
 
13856
LTCFLAGS='$LTCFLAGS'
 
13857
compiler='$compiler_DEFAULT'
 
13858
 
 
13859
# Quote evaled strings.
 
13860
for var in SED \
 
13861
GREP \
 
13862
EGREP \
 
13863
FGREP \
 
13864
LD \
 
13865
NM \
 
13866
LN_S \
 
13867
lt_SP2NL \
 
13868
lt_NL2SP \
 
13869
reload_flag \
 
13870
deplibs_check_method \
 
13871
file_magic_cmd \
 
13872
AR \
 
13873
AR_FLAGS \
 
13874
STRIP \
 
13875
RANLIB \
 
13876
CC \
 
13877
CFLAGS \
 
13878
compiler \
 
13879
lt_cv_sys_global_symbol_pipe \
 
13880
lt_cv_sys_global_symbol_to_cdecl \
 
13881
lt_cv_sys_global_symbol_to_c_name_address \
 
13882
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
13883
SHELL \
 
13884
ECHO \
 
13885
lt_prog_compiler_no_builtin_flag \
 
13886
lt_prog_compiler_wl \
 
13887
lt_prog_compiler_pic \
 
13888
lt_prog_compiler_static \
 
13889
lt_cv_prog_compiler_c_o \
 
13890
need_locks \
 
13891
DSYMUTIL \
 
13892
NMEDIT \
 
13893
LIPO \
 
13894
OTOOL \
 
13895
OTOOL64 \
 
13896
shrext_cmds \
 
13897
export_dynamic_flag_spec \
 
13898
whole_archive_flag_spec \
 
13899
compiler_needs_object \
 
13900
with_gnu_ld \
 
13901
allow_undefined_flag \
 
13902
no_undefined_flag \
 
13903
hardcode_libdir_flag_spec \
 
13904
hardcode_libdir_flag_spec_ld \
 
13905
hardcode_libdir_separator \
 
13906
fix_srcfile_path \
 
13907
exclude_expsyms \
 
13908
include_expsyms \
 
13909
file_list_spec \
 
13910
variables_saved_for_relink \
 
13911
libname_spec \
 
13912
library_names_spec \
 
13913
soname_spec \
 
13914
finish_eval \
 
13915
old_striplib \
 
13916
striplib; do
 
13917
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13918
    *[\\\\\\\`\\"\\\$]*)
 
13919
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13920
      ;;
 
13921
    *)
 
13922
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13923
      ;;
 
13924
    esac
 
13925
done
 
13926
 
 
13927
# Double-quote double-evaled strings.
 
13928
for var in reload_cmds \
 
13929
old_postinstall_cmds \
 
13930
old_postuninstall_cmds \
 
13931
old_archive_cmds \
 
13932
extract_expsyms_cmds \
 
13933
old_archive_from_new_cmds \
 
13934
old_archive_from_expsyms_cmds \
 
13935
archive_cmds \
 
13936
archive_expsym_cmds \
 
13937
module_cmds \
 
13938
module_expsym_cmds \
 
13939
export_symbols_cmds \
 
13940
prelink_cmds \
 
13941
postinstall_cmds \
 
13942
postuninstall_cmds \
 
13943
finish_cmds \
 
13944
sys_lib_search_path_spec \
 
13945
sys_lib_dlsearch_path_spec; do
 
13946
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13947
    *[\\\\\\\`\\"\\\$]*)
 
13948
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13949
      ;;
 
13950
    *)
 
13951
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13952
      ;;
 
13953
    esac
 
13954
done
 
13955
 
 
13956
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
13957
case \$lt_ECHO in
 
13958
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
13959
  ;;
 
13960
esac
 
13961
 
 
13962
ac_aux_dir='$ac_aux_dir'
 
13963
xsi_shell='$xsi_shell'
 
13964
lt_shell_append='$lt_shell_append'
 
13965
 
 
13966
# See if we are running on zsh, and set the options which allow our
 
13967
# commands through without removal of \ escapes INIT.
 
13968
if test -n "\${ZSH_VERSION+set}" ; then
 
13969
   setopt NO_GLOB_SUBST
 
13970
fi
 
13971
 
 
13972
 
 
13973
    PACKAGE='$PACKAGE'
 
13974
    VERSION='$VERSION'
 
13975
    TIMESTAMP='$TIMESTAMP'
 
13976
    RM='$RM'
 
13977
    ofile='$ofile'
 
13978
 
 
13979
 
 
13980
 
 
13981
 
22316
13982
_ACEOF
22317
13983
 
22318
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13984
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22319
13985
 
22320
13986
# Handling of arguments.
22321
13987
for ac_config_target in $ac_config_targets
22323
13989
  case $ac_config_target in
22324
13990
    "guile-readline-config.h") CONFIG_HEADERS="$CONFIG_HEADERS guile-readline-config.h" ;;
22325
13991
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
13992
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22326
13993
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22327
13994
    "ice-9/Makefile") CONFIG_FILES="$CONFIG_FILES ice-9/Makefile" ;;
22328
13995
 
22329
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22330
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
13996
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
13997
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22331
13998
   { (exit 1); exit 1; }; };;
22332
13999
  esac
22333
14000
done
22368
14035
  (umask 077 && mkdir "$tmp")
22369
14036
} ||
22370
14037
{
22371
 
   echo "$me: cannot create a temporary directory in ." >&2
 
14038
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
22372
14039
   { (exit 1); exit 1; }
22373
14040
}
22374
14041
 
22375
 
#
22376
 
# Set up the sed scripts for CONFIG_FILES section.
22377
 
#
22378
 
 
22379
 
# No need to generate the scripts if there are no CONFIG_FILES.
22380
 
# This happens for instance when ./config.status config.h
 
14042
# Set up the scripts for CONFIG_FILES section.
 
14043
# No need to generate them if there are no CONFIG_FILES.
 
14044
# This happens for instance with `./config.status config.h'.
22381
14045
if test -n "$CONFIG_FILES"; then
22382
14046
 
22383
 
_ACEOF
22384
 
 
22385
 
 
22386
 
 
22387
 
ac_delim='%!_!# '
22388
 
for ac_last_try in false false false false false :; do
22389
 
  cat >conf$$subs.sed <<_ACEOF
22390
 
SHELL!$SHELL$ac_delim
22391
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22392
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22393
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22394
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22395
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22396
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22397
 
exec_prefix!$exec_prefix$ac_delim
22398
 
prefix!$prefix$ac_delim
22399
 
program_transform_name!$program_transform_name$ac_delim
22400
 
bindir!$bindir$ac_delim
22401
 
sbindir!$sbindir$ac_delim
22402
 
libexecdir!$libexecdir$ac_delim
22403
 
datarootdir!$datarootdir$ac_delim
22404
 
datadir!$datadir$ac_delim
22405
 
sysconfdir!$sysconfdir$ac_delim
22406
 
sharedstatedir!$sharedstatedir$ac_delim
22407
 
localstatedir!$localstatedir$ac_delim
22408
 
includedir!$includedir$ac_delim
22409
 
oldincludedir!$oldincludedir$ac_delim
22410
 
docdir!$docdir$ac_delim
22411
 
infodir!$infodir$ac_delim
22412
 
htmldir!$htmldir$ac_delim
22413
 
dvidir!$dvidir$ac_delim
22414
 
pdfdir!$pdfdir$ac_delim
22415
 
psdir!$psdir$ac_delim
22416
 
libdir!$libdir$ac_delim
22417
 
localedir!$localedir$ac_delim
22418
 
mandir!$mandir$ac_delim
22419
 
DEFS!$DEFS$ac_delim
22420
 
ECHO_C!$ECHO_C$ac_delim
22421
 
ECHO_N!$ECHO_N$ac_delim
22422
 
ECHO_T!$ECHO_T$ac_delim
22423
 
LIBS!$LIBS$ac_delim
22424
 
build_alias!$build_alias$ac_delim
22425
 
host_alias!$host_alias$ac_delim
22426
 
target_alias!$target_alias$ac_delim
22427
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22428
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22429
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
22430
 
am__isrc!$am__isrc$ac_delim
22431
 
CYGPATH_W!$CYGPATH_W$ac_delim
22432
 
PACKAGE!$PACKAGE$ac_delim
22433
 
VERSION!$VERSION$ac_delim
22434
 
ACLOCAL!$ACLOCAL$ac_delim
22435
 
AUTOCONF!$AUTOCONF$ac_delim
22436
 
AUTOMAKE!$AUTOMAKE$ac_delim
22437
 
AUTOHEADER!$AUTOHEADER$ac_delim
22438
 
MAKEINFO!$MAKEINFO$ac_delim
22439
 
install_sh!$install_sh$ac_delim
22440
 
STRIP!$STRIP$ac_delim
22441
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22442
 
mkdir_p!$mkdir_p$ac_delim
22443
 
AWK!$AWK$ac_delim
22444
 
SET_MAKE!$SET_MAKE$ac_delim
22445
 
am__leading_dot!$am__leading_dot$ac_delim
22446
 
AMTAR!$AMTAR$ac_delim
22447
 
am__tar!$am__tar$ac_delim
22448
 
am__untar!$am__untar$ac_delim
22449
 
CC!$CC$ac_delim
22450
 
CFLAGS!$CFLAGS$ac_delim
22451
 
LDFLAGS!$LDFLAGS$ac_delim
22452
 
CPPFLAGS!$CPPFLAGS$ac_delim
22453
 
ac_ct_CC!$ac_ct_CC$ac_delim
22454
 
EXEEXT!$EXEEXT$ac_delim
22455
 
OBJEXT!$OBJEXT$ac_delim
22456
 
DEPDIR!$DEPDIR$ac_delim
22457
 
am__include!$am__include$ac_delim
22458
 
am__quote!$am__quote$ac_delim
22459
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22460
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22461
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22462
 
CCDEPMODE!$CCDEPMODE$ac_delim
22463
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22464
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22465
 
build!$build$ac_delim
22466
 
build_cpu!$build_cpu$ac_delim
22467
 
build_vendor!$build_vendor$ac_delim
22468
 
build_os!$build_os$ac_delim
22469
 
host!$host$ac_delim
22470
 
host_cpu!$host_cpu$ac_delim
22471
 
host_vendor!$host_vendor$ac_delim
22472
 
host_os!$host_os$ac_delim
22473
 
SED!$SED$ac_delim
22474
 
GREP!$GREP$ac_delim
22475
 
EGREP!$EGREP$ac_delim
22476
 
LN_S!$LN_S$ac_delim
22477
 
ECHO!$ECHO$ac_delim
22478
 
AR!$AR$ac_delim
22479
 
RANLIB!$RANLIB$ac_delim
22480
 
DSYMUTIL!$DSYMUTIL$ac_delim
22481
 
NMEDIT!$NMEDIT$ac_delim
22482
 
DLLTOOL!$DLLTOOL$ac_delim
22483
 
AS!$AS$ac_delim
22484
 
OBJDUMP!$OBJDUMP$ac_delim
22485
 
CPP!$CPP$ac_delim
22486
 
CXX!$CXX$ac_delim
22487
 
_ACEOF
22488
 
 
22489
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22490
 
    break
22491
 
  elif $ac_last_try; then
22492
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22493
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22494
 
   { (exit 1); exit 1; }; }
22495
 
  else
22496
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22497
 
  fi
22498
 
done
22499
 
 
22500
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22501
 
if test -n "$ac_eof"; then
22502
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22503
 
  ac_eof=`expr $ac_eof + 1`
22504
 
fi
22505
 
 
22506
 
cat >>$CONFIG_STATUS <<_ACEOF
22507
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22508
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22509
 
_ACEOF
22510
 
sed '
22511
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22512
 
s/^/s,@/; s/!/@,|#_!!_#|/
22513
 
:n
22514
 
t n
22515
 
s/'"$ac_delim"'$/,g/; t
22516
 
s/$/\\/; p
22517
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22518
 
' >>$CONFIG_STATUS <conf$$subs.sed
22519
 
rm -f conf$$subs.sed
22520
 
cat >>$CONFIG_STATUS <<_ACEOF
22521
 
CEOF$ac_eof
22522
 
_ACEOF
22523
 
 
22524
 
 
22525
 
ac_delim='%!_!# '
22526
 
for ac_last_try in false false false false false :; do
22527
 
  cat >conf$$subs.sed <<_ACEOF
22528
 
CXXFLAGS!$CXXFLAGS$ac_delim
22529
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
22530
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
22531
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22532
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22533
 
CXXCPP!$CXXCPP$ac_delim
22534
 
F77!$F77$ac_delim
22535
 
FFLAGS!$FFLAGS$ac_delim
22536
 
ac_ct_F77!$ac_ct_F77$ac_delim
22537
 
LIBTOOL!$LIBTOOL$ac_delim
22538
 
EXTRA_DEFS!$EXTRA_DEFS$ac_delim
22539
 
LIBGUILEREADLINE_MAJOR!$LIBGUILEREADLINE_MAJOR$ac_delim
22540
 
LIBGUILEREADLINE_INTERFACE_CURRENT!$LIBGUILEREADLINE_INTERFACE_CURRENT$ac_delim
22541
 
LIBGUILEREADLINE_INTERFACE_REVISION!$LIBGUILEREADLINE_INTERFACE_REVISION$ac_delim
22542
 
LIBGUILEREADLINE_INTERFACE_AGE!$LIBGUILEREADLINE_INTERFACE_AGE$ac_delim
22543
 
LIBGUILEREADLINE_INTERFACE!$LIBGUILEREADLINE_INTERFACE$ac_delim
22544
 
GUILE_EFFECTIVE_VERSION!$GUILE_EFFECTIVE_VERSION$ac_delim
22545
 
LIBOBJS!$LIBOBJS$ac_delim
22546
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
22547
 
_ACEOF
22548
 
 
22549
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 19; then
22550
 
    break
22551
 
  elif $ac_last_try; then
22552
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22553
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22554
 
   { (exit 1); exit 1; }; }
22555
 
  else
22556
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22557
 
  fi
22558
 
done
22559
 
 
22560
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22561
 
if test -n "$ac_eof"; then
22562
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22563
 
  ac_eof=`expr $ac_eof + 1`
22564
 
fi
22565
 
 
22566
 
cat >>$CONFIG_STATUS <<_ACEOF
22567
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22568
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22569
 
_ACEOF
22570
 
sed '
22571
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22572
 
s/^/s,@/; s/!/@,|#_!!_#|/
22573
 
:n
22574
 
t n
22575
 
s/'"$ac_delim"'$/,g/; t
22576
 
s/$/\\/; p
22577
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22578
 
' >>$CONFIG_STATUS <conf$$subs.sed
22579
 
rm -f conf$$subs.sed
22580
 
cat >>$CONFIG_STATUS <<_ACEOF
22581
 
:end
22582
 
s/|#_!!_#|//g
22583
 
CEOF$ac_eof
22584
 
_ACEOF
22585
 
 
 
14047
 
 
14048
ac_cr='
 
 
b"'"
 
14049
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
14050
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
14051
  ac_cs_awk_cr='\\r'
 
14052
else
 
14053
  ac_cs_awk_cr=$ac_cr
 
14054
fi
 
14055
 
 
14056
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
14057
_ACEOF
 
14058
 
 
14059
 
 
14060
{
 
14061
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
14062
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
14063
  echo "_ACEOF"
 
14064
} >conf$$subs.sh ||
 
14065
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14066
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14067
   { (exit 1); exit 1; }; }
 
14068
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
14069
ac_delim='%!_!# '
 
14070
for ac_last_try in false false false false false :; do
 
14071
  . ./conf$$subs.sh ||
 
14072
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14073
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14074
   { (exit 1); exit 1; }; }
 
14075
 
 
14076
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
14077
  if test $ac_delim_n = $ac_delim_num; then
 
14078
    break
 
14079
  elif $ac_last_try; then
 
14080
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
14081
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
14082
   { (exit 1); exit 1; }; }
 
14083
  else
 
14084
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14085
  fi
 
14086
done
 
14087
rm -f conf$$subs.sh
 
14088
 
 
14089
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14090
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
14091
_ACEOF
 
14092
sed -n '
 
14093
h
 
14094
s/^/S["/; s/!.*/"]=/
 
14095
p
 
14096
g
 
14097
s/^[^!]*!//
 
14098
:repl
 
14099
t repl
 
14100
s/'"$ac_delim"'$//
 
14101
t delim
 
14102
:nl
 
14103
h
 
14104
s/\(.\{148\}\).*/\1/
 
14105
t more1
 
14106
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
14107
p
 
14108
n
 
14109
b repl
 
14110
:more1
 
14111
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14112
p
 
14113
g
 
14114
s/.\{148\}//
 
14115
t nl
 
14116
:delim
 
14117
h
 
14118
s/\(.\{148\}\).*/\1/
 
14119
t more2
 
14120
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
14121
p
 
14122
b
 
14123
:more2
 
14124
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
14125
p
 
14126
g
 
14127
s/.\{148\}//
 
14128
t delim
 
14129
' <conf$$subs.awk | sed '
 
14130
/^[^""]/{
 
14131
  N
 
14132
  s/\n//
 
14133
}
 
14134
' >>$CONFIG_STATUS || ac_write_fail=1
 
14135
rm -f conf$$subs.awk
 
14136
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14137
_ACAWK
 
14138
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
14139
  for (key in S) S_is_set[key] = 1
 
14140
  FS = ""
 
14141
 
 
14142
}
 
14143
{
 
14144
  line = $ 0
 
14145
  nfields = split(line, field, "@")
 
14146
  substed = 0
 
14147
  len = length(field[1])
 
14148
  for (i = 2; i < nfields; i++) {
 
14149
    key = field[i]
 
14150
    keylen = length(key)
 
14151
    if (S_is_set[key]) {
 
14152
      value = S[key]
 
14153
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
14154
      len += length(value) + length(field[++i])
 
14155
      substed = 1
 
14156
    } else
 
14157
      len += 1 + keylen
 
14158
  }
 
14159
 
 
14160
  print line
 
14161
}
 
14162
 
 
14163
_ACAWK
 
14164
_ACEOF
 
14165
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14166
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
14167
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
14168
else
 
14169
  cat
 
14170
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
14171
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
14172
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
14173
   { (exit 1); exit 1; }; }
 
14174
_ACEOF
22586
14175
 
22587
14176
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22588
14177
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22599
14188
}'
22600
14189
fi
22601
14190
 
22602
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14191
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22603
14192
fi # test -n "$CONFIG_FILES"
22604
14193
 
22605
 
 
22606
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
14194
# Set up the scripts for CONFIG_HEADERS section.
 
14195
# No need to generate them if there are no CONFIG_HEADERS.
 
14196
# This happens for instance with `./config.status Makefile'.
 
14197
if test -n "$CONFIG_HEADERS"; then
 
14198
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
14199
BEGIN {
 
14200
_ACEOF
 
14201
 
 
14202
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
14203
# here-document in config.status, that substitutes the proper values into
 
14204
# config.h.in to produce config.h.
 
14205
 
 
14206
# Create a delimiter string that does not exist in confdefs.h, to ease
 
14207
# handling of long lines.
 
14208
ac_delim='%!_!# '
 
14209
for ac_last_try in false false :; do
 
14210
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
14211
  if test -z "$ac_t"; then
 
14212
    break
 
14213
  elif $ac_last_try; then
 
14214
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
14215
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
14216
   { (exit 1); exit 1; }; }
 
14217
  else
 
14218
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
14219
  fi
 
14220
done
 
14221
 
 
14222
# For the awk script, D is an array of macro values keyed by name,
 
14223
# likewise P contains macro parameters if any.  Preserve backslash
 
14224
# newline sequences.
 
14225
 
 
14226
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
14227
sed -n '
 
14228
s/.\{148\}/&'"$ac_delim"'/g
 
14229
t rset
 
14230
:rset
 
14231
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
14232
t def
 
14233
d
 
14234
:def
 
14235
s/\\$//
 
14236
t bsnl
 
14237
s/["\\]/\\&/g
 
14238
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
14239
D["\1"]=" \3"/p
 
14240
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
14241
d
 
14242
:bsnl
 
14243
s/["\\]/\\&/g
 
14244
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
14245
D["\1"]=" \3\\\\\\n"\\/p
 
14246
t cont
 
14247
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
14248
t cont
 
14249
d
 
14250
:cont
 
14251
n
 
14252
s/.\{148\}/&'"$ac_delim"'/g
 
14253
t clear
 
14254
:clear
 
14255
s/\\$//
 
14256
t bsnlc
 
14257
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
14258
d
 
14259
:bsnlc
 
14260
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
14261
b cont
 
14262
' <confdefs.h | sed '
 
14263
s/'"$ac_delim"'/"\\\
 
14264
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
14265
 
 
14266
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14267
  for (key in D) D_is_set[key] = 1
 
14268
  FS = ""
 
14269
}
 
14270
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
14271
  line = \$ 0
 
14272
  split(line, arg, " ")
 
14273
  if (arg[1] == "#") {
 
14274
    defundef = arg[2]
 
14275
    mac1 = arg[3]
 
14276
  } else {
 
14277
    defundef = substr(arg[1], 2)
 
14278
    mac1 = arg[2]
 
14279
  }
 
14280
  split(mac1, mac2, "(") #)
 
14281
  macro = mac2[1]
 
14282
  prefix = substr(line, 1, index(line, defundef) - 1)
 
14283
  if (D_is_set[macro]) {
 
14284
    # Preserve the white space surrounding the "#".
 
14285
    print prefix "define", macro P[macro] D[macro]
 
14286
    next
 
14287
  } else {
 
14288
    # Replace #undef with comments.  This is necessary, for example,
 
14289
    # in the case of _POSIX_SOURCE, which is predefined and required
 
14290
    # on some systems where configure will not decide to define it.
 
14291
    if (defundef == "undef") {
 
14292
      print "/*", prefix defundef, macro, "*/"
 
14293
      next
 
14294
    }
 
14295
  }
 
14296
}
 
14297
{ print }
 
14298
_ACAWK
 
14299
_ACEOF
 
14300
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
14301
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
14302
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
14303
   { (exit 1); exit 1; }; }
 
14304
fi # test -n "$CONFIG_HEADERS"
 
14305
 
 
14306
 
 
14307
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
14308
shift
 
14309
for ac_tag
22607
14310
do
22608
14311
  case $ac_tag in
22609
14312
  :[FHLC]) ac_mode=$ac_tag; continue;;
22610
14313
  esac
22611
14314
  case $ac_mode$ac_tag in
22612
14315
  :[FHL]*:*);;
22613
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22614
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
14316
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
14317
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
22615
14318
   { (exit 1); exit 1; }; };;
22616
14319
  :[FH]-) ac_tag=-:-;;
22617
14320
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22640
14343
           [\\/$]*) false;;
22641
14344
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22642
14345
           esac ||
22643
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22644
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
14346
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
14347
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22645
14348
   { (exit 1); exit 1; }; };;
22646
14349
      esac
22647
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
14350
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
14351
      ac_file_inputs="$ac_file_inputs '$ac_f'"
22648
14352
    done
22649
14353
 
22650
14354
    # Let's still pretend it is `configure' which instantiates (i.e., don't
22651
14355
    # use $as_me), people would be surprised to read:
22652
14356
    #    /* config.h.  Generated by config.status.  */
22653
 
    configure_input="Generated from "`IFS=:
22654
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
14357
    configure_input='Generated from '`
 
14358
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
14359
        `' by configure.'
22655
14360
    if test x"$ac_file" != x-; then
22656
14361
      configure_input="$ac_file.  $configure_input"
22657
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
22658
 
echo "$as_me: creating $ac_file" >&6;}
 
14362
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
14363
$as_echo "$as_me: creating $ac_file" >&6;}
22659
14364
    fi
 
14365
    # Neutralize special characters interpreted by sed in replacement strings.
 
14366
    case $configure_input in #(
 
14367
    *\&* | *\|* | *\\* )
 
14368
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
14369
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
14370
    *) ac_sed_conf_input=$configure_input;;
 
14371
    esac
22660
14372
 
22661
14373
    case $ac_tag in
22662
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
14374
    *:-:* | *:-) cat >"$tmp/stdin" \
 
14375
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14376
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14377
   { (exit 1); exit 1; }; } ;;
22663
14378
    esac
22664
14379
    ;;
22665
14380
  esac
22669
14384
         X"$ac_file" : 'X\(//\)[^/]' \| \
22670
14385
         X"$ac_file" : 'X\(//\)$' \| \
22671
14386
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22672
 
echo X"$ac_file" |
 
14387
$as_echo X"$ac_file" |
22673
14388
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22674
14389
            s//\1/
22675
14390
            q
22695
14410
    as_dirs=
22696
14411
    while :; do
22697
14412
      case $as_dir in #(
22698
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
14413
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22699
14414
      *) as_qdir=$as_dir;;
22700
14415
      esac
22701
14416
      as_dirs="'$as_qdir' $as_dirs"
22704
14419
         X"$as_dir" : 'X\(//\)[^/]' \| \
22705
14420
         X"$as_dir" : 'X\(//\)$' \| \
22706
14421
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22707
 
echo X"$as_dir" |
 
14422
$as_echo X"$as_dir" |
22708
14423
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22709
14424
            s//\1/
22710
14425
            q
22725
14440
      test -d "$as_dir" && break
22726
14441
    done
22727
14442
    test -z "$as_dirs" || eval "mkdir $as_dirs"
22728
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22729
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
14443
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
14444
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22730
14445
   { (exit 1); exit 1; }; }; }
22731
14446
  ac_builddir=.
22732
14447
 
22733
14448
case "$ac_dir" in
22734
14449
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22735
14450
*)
22736
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
14451
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22737
14452
  # A ".." for each directory in $ac_dir_suffix.
22738
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
14453
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22739
14454
  case $ac_top_builddir_sub in
22740
14455
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22741
14456
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22780
14495
  esac
22781
14496
_ACEOF
22782
14497
 
22783
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14498
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22784
14499
# If the template does not know about datarootdir, expand it.
22785
14500
# FIXME: This hack should be removed a few years after 2.60.
22786
14501
ac_datarootdir_hack=; ac_datarootdir_seen=
22787
14502
 
22788
 
case `sed -n '/datarootdir/ {
 
14503
ac_sed_dataroot='
 
14504
/datarootdir/ {
22789
14505
  p
22790
14506
  q
22791
14507
}
22794
14510
/@infodir@/p
22795
14511
/@localedir@/p
22796
14512
/@mandir@/p
22797
 
' $ac_file_inputs` in
 
14513
'
 
14514
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22798
14515
*datarootdir*) ac_datarootdir_seen=yes;;
22799
14516
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22800
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22801
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
14517
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
14518
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22802
14519
_ACEOF
22803
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14520
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22804
14521
  ac_datarootdir_hack='
22805
14522
  s&@datadir@&$datadir&g
22806
14523
  s&@docdir@&$docdir&g
22814
14531
# Neutralize VPATH when `$srcdir' = `.'.
22815
14532
# Shell code in configure.ac might set extrasub.
22816
14533
# FIXME: do we really want to maintain this feature?
22817
 
cat >>$CONFIG_STATUS <<_ACEOF
22818
 
  sed "$ac_vpsub
 
14534
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14535
ac_sed_extra="$ac_vpsub
22819
14536
$extrasub
22820
14537
_ACEOF
22821
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14538
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22822
14539
:t
22823
14540
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22824
 
s&@configure_input@&$configure_input&;t t
 
14541
s|@configure_input@|$ac_sed_conf_input|;t t
22825
14542
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
14543
s&@top_build_prefix@&$ac_top_build_prefix&;t t
22826
14544
s&@srcdir@&$ac_srcdir&;t t
22827
14545
s&@abs_srcdir@&$ac_abs_srcdir&;t t
22828
14546
s&@top_srcdir@&$ac_top_srcdir&;t t
22833
14551
s&@INSTALL@&$ac_INSTALL&;t t
22834
14552
s&@MKDIR_P@&$ac_MKDIR_P&;t t
22835
14553
$ac_datarootdir_hack
22836
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
14554
"
 
14555
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
14556
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14557
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14558
   { (exit 1); exit 1; }; }
22837
14559
 
22838
14560
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22839
14561
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22840
14562
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22841
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14563
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22842
14564
which seems to be undefined.  Please make sure it is defined." >&5
22843
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14565
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22844
14566
which seems to be undefined.  Please make sure it is defined." >&2;}
22845
14567
 
22846
14568
  rm -f "$tmp/stdin"
22847
14569
  case $ac_file in
22848
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
22849
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22850
 
  esac
 
14570
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
14571
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
14572
  esac \
 
14573
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14574
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14575
   { (exit 1); exit 1; }; }
22851
14576
 ;;
22852
14577
  :H)
22853
14578
  #
22854
14579
  # CONFIG_HEADER
22855
14580
  #
22856
 
_ACEOF
22857
 
 
22858
 
# Transform confdefs.h into a sed script `conftest.defines', that
22859
 
# substitutes the proper values into config.h.in to produce config.h.
22860
 
rm -f conftest.defines conftest.tail
22861
 
# First, append a space to every undef/define line, to ease matching.
22862
 
echo 's/$/ /' >conftest.defines
22863
 
# Then, protect against being on the right side of a sed subst, or in
22864
 
# an unquoted here document, in config.status.  If some macros were
22865
 
# called several times there might be several #defines for the same
22866
 
# symbol, which is useless.  But do not sort them, since the last
22867
 
# AC_DEFINE must be honored.
22868
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22869
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22870
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
22871
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
22872
 
# just an empty string.
22873
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
22874
 
ac_dB='\\)[      (].*,\\1define\\2'
22875
 
ac_dC=' '
22876
 
ac_dD=' ,'
22877
 
 
22878
 
uniq confdefs.h |
22879
 
  sed -n '
22880
 
        t rset
22881
 
        :rset
22882
 
        s/^[     ]*#[    ]*define[       ][      ]*//
22883
 
        t ok
22884
 
        d
22885
 
        :ok
22886
 
        s/[\\&,]/\\&/g
22887
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22888
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22889
 
  ' >>conftest.defines
22890
 
 
22891
 
# Remove the space that was appended to ease matching.
22892
 
# Then replace #undef with comments.  This is necessary, for
22893
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
22894
 
# on some systems where configure will not decide to define it.
22895
 
# (The regexp can be short, since the line contains either #define or #undef.)
22896
 
echo 's/ $//
22897
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
22898
 
 
22899
 
# Break up conftest.defines:
22900
 
ac_max_sed_lines=50
22901
 
 
22902
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22903
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22904
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22905
 
# et cetera.
22906
 
ac_in='$ac_file_inputs'
22907
 
ac_out='"$tmp/out1"'
22908
 
ac_nxt='"$tmp/out2"'
22909
 
 
22910
 
while :
22911
 
do
22912
 
  # Write a here document:
22913
 
    cat >>$CONFIG_STATUS <<_ACEOF
22914
 
    # First, check the format of the line:
22915
 
    cat >"\$tmp/defines.sed" <<\\CEOF
22916
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
22917
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
22918
 
b
22919
 
:def
22920
 
_ACEOF
22921
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22922
 
  echo 'CEOF
22923
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22924
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22925
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22926
 
  grep . conftest.tail >/dev/null || break
22927
 
  rm -f conftest.defines
22928
 
  mv conftest.tail conftest.defines
22929
 
done
22930
 
rm -f conftest.defines conftest.tail
22931
 
 
22932
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22933
 
cat >>$CONFIG_STATUS <<\_ACEOF
22934
14581
  if test x"$ac_file" != x-; then
22935
 
    echo "/* $configure_input  */" >"$tmp/config.h"
22936
 
    cat "$ac_result" >>"$tmp/config.h"
22937
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22938
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22939
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
14582
    {
 
14583
      $as_echo "/* $configure_input  */" \
 
14584
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
14585
    } >"$tmp/config.h" \
 
14586
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14587
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14588
   { (exit 1); exit 1; }; }
 
14589
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
14590
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
14591
$as_echo "$as_me: $ac_file is unchanged" >&6;}
22940
14592
    else
22941
 
      rm -f $ac_file
22942
 
      mv "$tmp/config.h" $ac_file
 
14593
      rm -f "$ac_file"
 
14594
      mv "$tmp/config.h" "$ac_file" \
 
14595
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14596
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14597
   { (exit 1); exit 1; }; }
22943
14598
    fi
22944
14599
  else
22945
 
    echo "/* $configure_input  */"
22946
 
    cat "$ac_result"
 
14600
    $as_echo "/* $configure_input  */" \
 
14601
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
14602
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
14603
$as_echo "$as_me: error: could not create -" >&2;}
 
14604
   { (exit 1); exit 1; }; }
22947
14605
  fi
22948
 
  rm -f "$tmp/out12"
22949
 
# Compute $ac_file's index in $config_headers.
 
14606
# Compute "$ac_file"'s index in $config_headers.
 
14607
_am_arg="$ac_file"
22950
14608
_am_stamp_count=1
22951
14609
for _am_header in $config_headers :; do
22952
14610
  case $_am_header in
22953
 
    $ac_file | $ac_file:* )
 
14611
    $_am_arg | $_am_arg:* )
22954
14612
      break ;;
22955
14613
    * )
22956
14614
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22957
14615
  esac
22958
14616
done
22959
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
22960
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22961
 
         X$ac_file : 'X\(//\)[^/]' \| \
22962
 
         X$ac_file : 'X\(//\)$' \| \
22963
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
22964
 
echo X$ac_file |
 
14617
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
14618
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14619
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
14620
         X"$_am_arg" : 'X\(//\)$' \| \
 
14621
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
14622
$as_echo X"$_am_arg" |
22965
14623
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22966
14624
            s//\1/
22967
14625
            q
22981
14639
          s/.*/./; q'`/stamp-h$_am_stamp_count
22982
14640
 ;;
22983
14641
 
22984
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22985
 
echo "$as_me: executing $ac_file commands" >&6;}
 
14642
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
14643
$as_echo "$as_me: executing $ac_file commands" >&6;}
22986
14644
 ;;
22987
14645
  esac
22988
14646
 
22998
14656
  # each Makefile.in and add a new line on top of each file to say so.
22999
14657
  # Grep'ing the whole file is not good either: AIX grep has a line
23000
14658
  # limit of 2048, but all sed's we know have understand at least 4000.
23001
 
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
 
14659
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23002
14660
    dirpart=`$as_dirname -- "$mf" ||
23003
14661
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23004
14662
         X"$mf" : 'X\(//\)[^/]' \| \
23005
14663
         X"$mf" : 'X\(//\)$' \| \
23006
14664
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23007
 
echo X"$mf" |
 
14665
$as_echo X"$mf" |
23008
14666
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23009
14667
            s//\1/
23010
14668
            q
23048
14706
         X"$file" : 'X\(//\)[^/]' \| \
23049
14707
         X"$file" : 'X\(//\)$' \| \
23050
14708
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23051
 
echo X"$file" |
 
14709
$as_echo X"$file" |
23052
14710
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23053
14711
            s//\1/
23054
14712
            q
23074
14732
    as_dirs=
23075
14733
    while :; do
23076
14734
      case $as_dir in #(
23077
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
14735
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23078
14736
      *) as_qdir=$as_dir;;
23079
14737
      esac
23080
14738
      as_dirs="'$as_qdir' $as_dirs"
23083
14741
         X"$as_dir" : 'X\(//\)[^/]' \| \
23084
14742
         X"$as_dir" : 'X\(//\)$' \| \
23085
14743
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23086
 
echo X"$as_dir" |
 
14744
$as_echo X"$as_dir" |
23087
14745
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23088
14746
            s//\1/
23089
14747
            q
23104
14762
      test -d "$as_dir" && break
23105
14763
    done
23106
14764
    test -z "$as_dirs" || eval "mkdir $as_dirs"
23107
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23108
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
14765
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
14766
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23109
14767
   { (exit 1); exit 1; }; }; }
23110
14768
    # echo "creating $dirpart/$file"
23111
14769
    echo '# dummy' > "$dirpart/$file"
23112
14770
  done
23113
14771
done
23114
14772
 ;;
 
14773
    "libtool":C)
 
14774
 
 
14775
    # See if we are running on zsh, and set the options which allow our
 
14776
    # commands through without removal of \ escapes.
 
14777
    if test -n "${ZSH_VERSION+set}" ; then
 
14778
      setopt NO_GLOB_SUBST
 
14779
    fi
 
14780
 
 
14781
    cfgfile="${ofile}T"
 
14782
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
14783
    $RM "$cfgfile"
 
14784
 
 
14785
    cat <<_LT_EOF >> "$cfgfile"
 
14786
#! $SHELL
 
14787
 
 
14788
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
14789
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
14790
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
14791
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
14792
#
 
14793
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
14794
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
14795
#   Written by Gordon Matzigkeit, 1996
 
14796
#
 
14797
#   This file is part of GNU Libtool.
 
14798
#
 
14799
# GNU Libtool is free software; you can redistribute it and/or
 
14800
# modify it under the terms of the GNU General Public License as
 
14801
# published by the Free Software Foundation; either version 2 of
 
14802
# the License, or (at your option) any later version.
 
14803
#
 
14804
# As a special exception to the GNU General Public License,
 
14805
# if you distribute this file as part of a program or library that
 
14806
# is built using GNU Libtool, you may include this file under the
 
14807
# same distribution terms that you use for the rest of that program.
 
14808
#
 
14809
# GNU Libtool is distributed in the hope that it will be useful,
 
14810
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14811
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14812
# GNU General Public License for more details.
 
14813
#
 
14814
# You should have received a copy of the GNU General Public License
 
14815
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
14816
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
14817
# obtained by writing to the Free Software Foundation, Inc.,
 
14818
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
14819
 
 
14820
 
 
14821
# The names of the tagged configurations supported by this script.
 
14822
available_tags=""
 
14823
 
 
14824
# ### BEGIN LIBTOOL CONFIG
 
14825
 
 
14826
# Assembler program.
 
14827
AS=$AS
 
14828
 
 
14829
# DLL creation program.
 
14830
DLLTOOL=$DLLTOOL
 
14831
 
 
14832
# Object dumper program.
 
14833
OBJDUMP=$OBJDUMP
 
14834
 
 
14835
# Which release of libtool.m4 was used?
 
14836
macro_version=$macro_version
 
14837
macro_revision=$macro_revision
 
14838
 
 
14839
# Whether or not to build shared libraries.
 
14840
build_libtool_libs=$enable_shared
 
14841
 
 
14842
# Whether or not to build static libraries.
 
14843
build_old_libs=$enable_static
 
14844
 
 
14845
# What type of objects to build.
 
14846
pic_mode=$pic_mode
 
14847
 
 
14848
# Whether or not to optimize for fast installation.
 
14849
fast_install=$enable_fast_install
 
14850
 
 
14851
# The host system.
 
14852
host_alias=$host_alias
 
14853
host=$host
 
14854
host_os=$host_os
 
14855
 
 
14856
# The build system.
 
14857
build_alias=$build_alias
 
14858
build=$build
 
14859
build_os=$build_os
 
14860
 
 
14861
# A sed program that does not truncate output.
 
14862
SED=$lt_SED
 
14863
 
 
14864
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
14865
Xsed="\$SED -e 1s/^X//"
 
14866
 
 
14867
# A grep program that handles long lines.
 
14868
GREP=$lt_GREP
 
14869
 
 
14870
# An ERE matcher.
 
14871
EGREP=$lt_EGREP
 
14872
 
 
14873
# A literal string matcher.
 
14874
FGREP=$lt_FGREP
 
14875
 
 
14876
# A BSD- or MS-compatible name lister.
 
14877
NM=$lt_NM
 
14878
 
 
14879
# Whether we need soft or hard links.
 
14880
LN_S=$lt_LN_S
 
14881
 
 
14882
# What is the maximum length of a command?
 
14883
max_cmd_len=$max_cmd_len
 
14884
 
 
14885
# Object file suffix (normally "o").
 
14886
objext=$ac_objext
 
14887
 
 
14888
# Executable file suffix (normally "").
 
14889
exeext=$exeext
 
14890
 
 
14891
# whether the shell understands "unset".
 
14892
lt_unset=$lt_unset
 
14893
 
 
14894
# turn spaces into newlines.
 
14895
SP2NL=$lt_lt_SP2NL
 
14896
 
 
14897
# turn newlines into spaces.
 
14898
NL2SP=$lt_lt_NL2SP
 
14899
 
 
14900
# How to create reloadable object files.
 
14901
reload_flag=$lt_reload_flag
 
14902
reload_cmds=$lt_reload_cmds
 
14903
 
 
14904
# Method to check whether dependent libraries are shared objects.
 
14905
deplibs_check_method=$lt_deplibs_check_method
 
14906
 
 
14907
# Command to use when deplibs_check_method == "file_magic".
 
14908
file_magic_cmd=$lt_file_magic_cmd
 
14909
 
 
14910
# The archiver.
 
14911
AR=$lt_AR
 
14912
AR_FLAGS=$lt_AR_FLAGS
 
14913
 
 
14914
# A symbol stripping program.
 
14915
STRIP=$lt_STRIP
 
14916
 
 
14917
# Commands used to install an old-style archive.
 
14918
RANLIB=$lt_RANLIB
 
14919
old_postinstall_cmds=$lt_old_postinstall_cmds
 
14920
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
14921
 
 
14922
# A C compiler.
 
14923
LTCC=$lt_CC
 
14924
 
 
14925
# LTCC compiler flags.
 
14926
LTCFLAGS=$lt_CFLAGS
 
14927
 
 
14928
# Take the output of nm and produce a listing of raw symbols and C names.
 
14929
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
14930
 
 
14931
# Transform the output of nm in a proper C declaration.
 
14932
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
14933
 
 
14934
# Transform the output of nm in a C name address pair.
 
14935
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
14936
 
 
14937
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
14938
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
14939
 
 
14940
# The name of the directory that contains temporary libtool files.
 
14941
objdir=$objdir
 
14942
 
 
14943
# Shell to use when invoking shell scripts.
 
14944
SHELL=$lt_SHELL
 
14945
 
 
14946
# An echo program that does not interpret backslashes.
 
14947
ECHO=$lt_ECHO
 
14948
 
 
14949
# Used to examine libraries when file_magic_cmd begins with "file".
 
14950
MAGIC_CMD=$MAGIC_CMD
 
14951
 
 
14952
# Must we lock files when doing compilation?
 
14953
need_locks=$lt_need_locks
 
14954
 
 
14955
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
14956
DSYMUTIL=$lt_DSYMUTIL
 
14957
 
 
14958
# Tool to change global to local symbols on Mac OS X.
 
14959
NMEDIT=$lt_NMEDIT
 
14960
 
 
14961
# Tool to manipulate fat objects and archives on Mac OS X.
 
14962
LIPO=$lt_LIPO
 
14963
 
 
14964
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
14965
OTOOL=$lt_OTOOL
 
14966
 
 
14967
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
14968
OTOOL64=$lt_OTOOL64
 
14969
 
 
14970
# Old archive suffix (normally "a").
 
14971
libext=$libext
 
14972
 
 
14973
# Shared library suffix (normally ".so").
 
14974
shrext_cmds=$lt_shrext_cmds
 
14975
 
 
14976
# The commands to extract the exported symbol list from a shared archive.
 
14977
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
14978
 
 
14979
# Variables whose values should be saved in libtool wrapper scripts and
 
14980
# restored at link time.
 
14981
variables_saved_for_relink=$lt_variables_saved_for_relink
 
14982
 
 
14983
# Do we need the "lib" prefix for modules?
 
14984
need_lib_prefix=$need_lib_prefix
 
14985
 
 
14986
# Do we need a version for libraries?
 
14987
need_version=$need_version
 
14988
 
 
14989
# Library versioning type.
 
14990
version_type=$version_type
 
14991
 
 
14992
# Shared library runtime path variable.
 
14993
runpath_var=$runpath_var
 
14994
 
 
14995
# Shared library path variable.
 
14996
shlibpath_var=$shlibpath_var
 
14997
 
 
14998
# Is shlibpath searched before the hard-coded library search path?
 
14999
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
15000
 
 
15001
# Format of library name prefix.
 
15002
libname_spec=$lt_libname_spec
 
15003
 
 
15004
# List of archive names.  First name is the real one, the rest are links.
 
15005
# The last name is the one that the linker finds with -lNAME
 
15006
library_names_spec=$lt_library_names_spec
 
15007
 
 
15008
# The coded name of the library, if different from the real name.
 
15009
soname_spec=$lt_soname_spec
 
15010
 
 
15011
# Command to use after installation of a shared archive.
 
15012
postinstall_cmds=$lt_postinstall_cmds
 
15013
 
 
15014
# Command to use after uninstallation of a shared archive.
 
15015
postuninstall_cmds=$lt_postuninstall_cmds
 
15016
 
 
15017
# Commands used to finish a libtool library installation in a directory.
 
15018
finish_cmds=$lt_finish_cmds
 
15019
 
 
15020
# As "finish_cmds", except a single script fragment to be evaled but
 
15021
# not shown.
 
15022
finish_eval=$lt_finish_eval
 
15023
 
 
15024
# Whether we should hardcode library paths into libraries.
 
15025
hardcode_into_libs=$hardcode_into_libs
 
15026
 
 
15027
# Compile-time system search path for libraries.
 
15028
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
15029
 
 
15030
# Run-time system search path for libraries.
 
15031
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
15032
 
 
15033
# Whether dlopen is supported.
 
15034
dlopen_support=$enable_dlopen
 
15035
 
 
15036
# Whether dlopen of programs is supported.
 
15037
dlopen_self=$enable_dlopen_self
 
15038
 
 
15039
# Whether dlopen of statically linked programs is supported.
 
15040
dlopen_self_static=$enable_dlopen_self_static
 
15041
 
 
15042
# Commands to strip libraries.
 
15043
old_striplib=$lt_old_striplib
 
15044
striplib=$lt_striplib
 
15045
 
 
15046
 
 
15047
# The linker used to build libraries.
 
15048
LD=$lt_LD
 
15049
 
 
15050
# Commands used to build an old-style archive.
 
15051
old_archive_cmds=$lt_old_archive_cmds
 
15052
 
 
15053
# A language specific compiler.
 
15054
CC=$lt_compiler
 
15055
 
 
15056
# Is the compiler the GNU compiler?
 
15057
with_gcc=$GCC
 
15058
 
 
15059
# Compiler flag to turn off builtin functions.
 
15060
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
15061
 
 
15062
# How to pass a linker flag through the compiler.
 
15063
wl=$lt_lt_prog_compiler_wl
 
15064
 
 
15065
# Additional compiler flags for building library objects.
 
15066
pic_flag=$lt_lt_prog_compiler_pic
 
15067
 
 
15068
# Compiler flag to prevent dynamic linking.
 
15069
link_static_flag=$lt_lt_prog_compiler_static
 
15070
 
 
15071
# Does compiler simultaneously support -c and -o options?
 
15072
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
15073
 
 
15074
# Whether or not to add -lc for building shared libraries.
 
15075
build_libtool_need_lc=$archive_cmds_need_lc
 
15076
 
 
15077
# Whether or not to disallow shared libs when runtime libs are static.
 
15078
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
15079
 
 
15080
# Compiler flag to allow reflexive dlopens.
 
15081
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
15082
 
 
15083
# Compiler flag to generate shared objects directly from archives.
 
15084
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
15085
 
 
15086
# Whether the compiler copes with passing no objects directly.
 
15087
compiler_needs_object=$lt_compiler_needs_object
 
15088
 
 
15089
# Create an old-style archive from a shared archive.
 
15090
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
15091
 
 
15092
# Create a temporary old-style archive to link instead of a shared archive.
 
15093
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
15094
 
 
15095
# Commands used to build a shared archive.
 
15096
archive_cmds=$lt_archive_cmds
 
15097
archive_expsym_cmds=$lt_archive_expsym_cmds
 
15098
 
 
15099
# Commands used to build a loadable module if different from building
 
15100
# a shared archive.
 
15101
module_cmds=$lt_module_cmds
 
15102
module_expsym_cmds=$lt_module_expsym_cmds
 
15103
 
 
15104
# Whether we are building with GNU ld or not.
 
15105
with_gnu_ld=$lt_with_gnu_ld
 
15106
 
 
15107
# Flag that allows shared libraries with undefined symbols to be built.
 
15108
allow_undefined_flag=$lt_allow_undefined_flag
 
15109
 
 
15110
# Flag that enforces no undefined symbols.
 
15111
no_undefined_flag=$lt_no_undefined_flag
 
15112
 
 
15113
# Flag to hardcode \$libdir into a binary during linking.
 
15114
# This must work even if \$libdir does not exist
 
15115
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
15116
 
 
15117
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
15118
# during linking.  This must work even if \$libdir does not exist.
 
15119
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
15120
 
 
15121
# Whether we need a single "-rpath" flag with a separated argument.
 
15122
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
15123
 
 
15124
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15125
# DIR into the resulting binary.
 
15126
hardcode_direct=$hardcode_direct
 
15127
 
 
15128
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
15129
# DIR into the resulting binary and the resulting library dependency is
 
15130
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
15131
# library is relocated.
 
15132
hardcode_direct_absolute=$hardcode_direct_absolute
 
15133
 
 
15134
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
15135
# into the resulting binary.
 
15136
hardcode_minus_L=$hardcode_minus_L
 
15137
 
 
15138
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
15139
# into the resulting binary.
 
15140
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
15141
 
 
15142
# Set to "yes" if building a shared library automatically hardcodes DIR
 
15143
# into the library and all subsequent libraries and executables linked
 
15144
# against it.
 
15145
hardcode_automatic=$hardcode_automatic
 
15146
 
 
15147
# Set to yes if linker adds runtime paths of dependent libraries
 
15148
# to runtime path list.
 
15149
inherit_rpath=$inherit_rpath
 
15150
 
 
15151
# Whether libtool must link a program against all its dependency libraries.
 
15152
link_all_deplibs=$link_all_deplibs
 
15153
 
 
15154
# Fix the shell variable \$srcfile for the compiler.
 
15155
fix_srcfile_path=$lt_fix_srcfile_path
 
15156
 
 
15157
# Set to "yes" if exported symbols are required.
 
15158
always_export_symbols=$always_export_symbols
 
15159
 
 
15160
# The commands to list exported symbols.
 
15161
export_symbols_cmds=$lt_export_symbols_cmds
 
15162
 
 
15163
# Symbols that should not be listed in the preloaded symbols.
 
15164
exclude_expsyms=$lt_exclude_expsyms
 
15165
 
 
15166
# Symbols that must always be exported.
 
15167
include_expsyms=$lt_include_expsyms
 
15168
 
 
15169
# Commands necessary for linking programs (against libraries) with templates.
 
15170
prelink_cmds=$lt_prelink_cmds
 
15171
 
 
15172
# Specify filename containing input files.
 
15173
file_list_spec=$lt_file_list_spec
 
15174
 
 
15175
# How to hardcode a shared library path into an executable.
 
15176
hardcode_action=$hardcode_action
 
15177
 
 
15178
# ### END LIBTOOL CONFIG
 
15179
 
 
15180
_LT_EOF
 
15181
 
 
15182
  case $host_os in
 
15183
  aix3*)
 
15184
    cat <<\_LT_EOF >> "$cfgfile"
 
15185
# AIX sometimes has problems with the GCC collect2 program.  For some
 
15186
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
15187
# vanish in a puff of smoke.
 
15188
if test "X${COLLECT_NAMES+set}" != Xset; then
 
15189
  COLLECT_NAMES=
 
15190
  export COLLECT_NAMES
 
15191
fi
 
15192
_LT_EOF
 
15193
    ;;
 
15194
  esac
 
15195
 
 
15196
 
 
15197
ltmain="$ac_aux_dir/ltmain.sh"
 
15198
 
 
15199
 
 
15200
  # We use sed instead of cat because bash on DJGPP gets confused if
 
15201
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
15202
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
15203
  # is reportedly fixed, but why not run on old versions too?
 
15204
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
15205
    || (rm -f "$cfgfile"; exit 1)
 
15206
 
 
15207
  case $xsi_shell in
 
15208
  yes)
 
15209
    cat << \_LT_EOF >> "$cfgfile"
 
15210
 
 
15211
# func_dirname file append nondir_replacement
 
15212
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
15213
# otherwise set result to NONDIR_REPLACEMENT.
 
15214
func_dirname ()
 
15215
{
 
15216
  case ${1} in
 
15217
    */*) func_dirname_result="${1%/*}${2}" ;;
 
15218
    *  ) func_dirname_result="${3}" ;;
 
15219
  esac
 
15220
}
 
15221
 
 
15222
# func_basename file
 
15223
func_basename ()
 
15224
{
 
15225
  func_basename_result="${1##*/}"
 
15226
}
 
15227
 
 
15228
# func_dirname_and_basename file append nondir_replacement
 
15229
# perform func_basename and func_dirname in a single function
 
15230
# call:
 
15231
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
15232
#             add APPEND to the result, otherwise set result
 
15233
#             to NONDIR_REPLACEMENT.
 
15234
#             value returned in "$func_dirname_result"
 
15235
#   basename: Compute filename of FILE.
 
15236
#             value retuned in "$func_basename_result"
 
15237
# Implementation must be kept synchronized with func_dirname
 
15238
# and func_basename. For efficiency, we do not delegate to
 
15239
# those functions but instead duplicate the functionality here.
 
15240
func_dirname_and_basename ()
 
15241
{
 
15242
  case ${1} in
 
15243
    */*) func_dirname_result="${1%/*}${2}" ;;
 
15244
    *  ) func_dirname_result="${3}" ;;
 
15245
  esac
 
15246
  func_basename_result="${1##*/}"
 
15247
}
 
15248
 
 
15249
# func_stripname prefix suffix name
 
15250
# strip PREFIX and SUFFIX off of NAME.
 
15251
# PREFIX and SUFFIX must not contain globbing or regex special
 
15252
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
15253
# dot (in which case that matches only a dot).
 
15254
func_stripname ()
 
15255
{
 
15256
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
15257
  # positional parameters, so assign one to ordinary parameter first.
 
15258
  func_stripname_result=${3}
 
15259
  func_stripname_result=${func_stripname_result#"${1}"}
 
15260
  func_stripname_result=${func_stripname_result%"${2}"}
 
15261
}
 
15262
 
 
15263
# func_opt_split
 
15264
func_opt_split ()
 
15265
{
 
15266
  func_opt_split_opt=${1%%=*}
 
15267
  func_opt_split_arg=${1#*=}
 
15268
}
 
15269
 
 
15270
# func_lo2o object
 
15271
func_lo2o ()
 
15272
{
 
15273
  case ${1} in
 
15274
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
15275
    *)    func_lo2o_result=${1} ;;
 
15276
  esac
 
15277
}
 
15278
 
 
15279
# func_xform libobj-or-source
 
15280
func_xform ()
 
15281
{
 
15282
  func_xform_result=${1%.*}.lo
 
15283
}
 
15284
 
 
15285
# func_arith arithmetic-term...
 
15286
func_arith ()
 
15287
{
 
15288
  func_arith_result=$(( $* ))
 
15289
}
 
15290
 
 
15291
# func_len string
 
15292
# STRING may not start with a hyphen.
 
15293
func_len ()
 
15294
{
 
15295
  func_len_result=${#1}
 
15296
}
 
15297
 
 
15298
_LT_EOF
 
15299
    ;;
 
15300
  *) # Bourne compatible functions.
 
15301
    cat << \_LT_EOF >> "$cfgfile"
 
15302
 
 
15303
# func_dirname file append nondir_replacement
 
15304
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
15305
# otherwise set result to NONDIR_REPLACEMENT.
 
15306
func_dirname ()
 
15307
{
 
15308
  # Extract subdirectory from the argument.
 
15309
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
15310
  if test "X$func_dirname_result" = "X${1}"; then
 
15311
    func_dirname_result="${3}"
 
15312
  else
 
15313
    func_dirname_result="$func_dirname_result${2}"
 
15314
  fi
 
15315
}
 
15316
 
 
15317
# func_basename file
 
15318
func_basename ()
 
15319
{
 
15320
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
15321
}
 
15322
 
 
15323
 
 
15324
# func_stripname prefix suffix name
 
15325
# strip PREFIX and SUFFIX off of NAME.
 
15326
# PREFIX and SUFFIX must not contain globbing or regex special
 
15327
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
15328
# dot (in which case that matches only a dot).
 
15329
# func_strip_suffix prefix name
 
15330
func_stripname ()
 
15331
{
 
15332
  case ${2} in
 
15333
    .*) func_stripname_result=`$ECHO "X${3}" \
 
15334
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
15335
    *)  func_stripname_result=`$ECHO "X${3}" \
 
15336
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
15337
  esac
 
15338
}
 
15339
 
 
15340
# sed scripts:
 
15341
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
15342
my_sed_long_arg='1s/^-[^=]*=//'
 
15343
 
 
15344
# func_opt_split
 
15345
func_opt_split ()
 
15346
{
 
15347
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
15348
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
15349
}
 
15350
 
 
15351
# func_lo2o object
 
15352
func_lo2o ()
 
15353
{
 
15354
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
15355
}
 
15356
 
 
15357
# func_xform libobj-or-source
 
15358
func_xform ()
 
15359
{
 
15360
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
15361
}
 
15362
 
 
15363
# func_arith arithmetic-term...
 
15364
func_arith ()
 
15365
{
 
15366
  func_arith_result=`expr "$@"`
 
15367
}
 
15368
 
 
15369
# func_len string
 
15370
# STRING may not start with a hyphen.
 
15371
func_len ()
 
15372
{
 
15373
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
15374
}
 
15375
 
 
15376
_LT_EOF
 
15377
esac
 
15378
 
 
15379
case $lt_shell_append in
 
15380
  yes)
 
15381
    cat << \_LT_EOF >> "$cfgfile"
 
15382
 
 
15383
# func_append var value
 
15384
# Append VALUE to the end of shell variable VAR.
 
15385
func_append ()
 
15386
{
 
15387
  eval "$1+=\$2"
 
15388
}
 
15389
_LT_EOF
 
15390
    ;;
 
15391
  *)
 
15392
    cat << \_LT_EOF >> "$cfgfile"
 
15393
 
 
15394
# func_append var value
 
15395
# Append VALUE to the end of shell variable VAR.
 
15396
func_append ()
 
15397
{
 
15398
  eval "$1=\$$1\$2"
 
15399
}
 
15400
 
 
15401
_LT_EOF
 
15402
    ;;
 
15403
  esac
 
15404
 
 
15405
 
 
15406
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
15407
    || (rm -f "$cfgfile"; exit 1)
 
15408
 
 
15409
  mv -f "$cfgfile" "$ofile" ||
 
15410
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
15411
  chmod +x "$ofile"
 
15412
 
 
15413
 ;;
23115
15414
 
23116
15415
  esac
23117
15416
done # for ac_tag
23122
15421
chmod +x $CONFIG_STATUS
23123
15422
ac_clean_files=$ac_clean_files_save
23124
15423
 
 
15424
test $ac_write_fail = 0 ||
 
15425
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
15426
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
15427
   { (exit 1); exit 1; }; }
 
15428
 
23125
15429
 
23126
15430
# configure is writing to config.log, and then calls config.status.
23127
15431
# config.status does its own redirection, appending to config.log.
23143
15447
  # would make configure fail if this is the last instruction.
23144
15448
  $ac_cs_success || { (exit 1); exit 1; }
23145
15449
fi
 
15450
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
15451
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
15452
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
15453
fi
23146
15454