~ubuntu-branches/ubuntu/precise/libdatrie/precise

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Theppitak Karoonboonyanan
  • Date: 2009-04-29 15:24:31 UTC
  • mfrom: (1.2.1 upstream) (3.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090429152431-8zmxgfvir3mrog08
* Use complete sentences in libdatrie1 long description. (Closes: #525806)
* New upstream release, fixing builds on non-GNU systems.
* Remove duplicated field "section" for libdatrie1 [lintian].

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 libdatrie 0.1.3.
 
3
# Generated by GNU Autoconf 2.63 for libdatrie 0.2.2.
4
4
#
5
5
# Report bugs to <thep@linux.thai.net>.
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='libdatrie'
730
747
PACKAGE_TARNAME='libdatrie'
731
 
PACKAGE_VERSION='0.1.3'
732
 
PACKAGE_STRING='libdatrie 0.1.3'
 
748
PACKAGE_VERSION='0.2.2'
 
749
PACKAGE_STRING='libdatrie 0.2.2'
733
750
PACKAGE_BUGREPORT='thep@linux.thai.net'
734
751
 
735
752
ac_unique_file="datrie/trie.h"
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
 
CYGPATH_W
813
 
PACKAGE
814
 
VERSION
815
 
ACLOCAL
816
 
AUTOCONF
817
 
AUTOMAKE
818
 
AUTOHEADER
819
 
MAKEINFO
820
 
install_sh
821
 
STRIP
822
 
INSTALL_STRIP_PROGRAM
823
 
mkdir_p
824
 
AWK
825
 
SET_MAKE
826
 
am__leading_dot
827
 
AMTAR
828
 
am__tar
829
 
am__untar
830
 
LT_CURRENT
831
 
LT_REVISION
832
 
LT_AGE
833
 
CC
834
 
CFLAGS
835
 
LDFLAGS
836
 
CPPFLAGS
837
 
ac_ct_CC
838
 
EXEEXT
839
 
OBJEXT
840
 
DEPDIR
841
 
am__include
842
 
am__quote
843
 
AMDEP_TRUE
844
 
AMDEP_FALSE
845
 
AMDEPBACKSLASH
846
 
CCDEPMODE
847
 
am__fastdepCC_TRUE
848
 
am__fastdepCC_FALSE
849
 
build
850
 
build_cpu
851
 
build_vendor
852
 
build_os
853
 
host
854
 
host_cpu
855
 
host_vendor
856
 
host_os
 
789
ac_subst_vars='LTLIBOBJS
 
790
LIBOBJS
 
791
ENABLE_DOXYGEN_DOC_FALSE
 
792
ENABLE_DOXYGEN_DOC_TRUE
 
793
htmldocdir
 
794
DOXYGEN
 
795
ICONV_LIBS
 
796
LD_HAS_VERSION_SCRIPT_FALSE
 
797
LD_HAS_VERSION_SCRIPT_TRUE
 
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
857
815
SED
858
 
GREP
859
 
EGREP
860
 
LN_S
861
 
ECHO
862
 
AR
863
 
RANLIB
 
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
 
DOXYGEN
880
 
htmldocdir
881
 
ENABLE_DOXYGEN_DOC_TRUE
882
 
ENABLE_DOXYGEN_DOC_FALSE
883
 
LIBOBJS
884
 
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
LT_AGE
 
845
LT_REVISION
 
846
LT_CURRENT
 
847
am__untar
 
848
am__tar
 
849
AMTAR
 
850
am__leading_dot
 
851
SET_MAKE
 
852
AWK
 
853
mkdir_p
 
854
MKDIR_P
 
855
INSTALL_STRIP_PROGRAM
 
856
STRIP
 
857
install_sh
 
858
MAKEINFO
 
859
AUTOHEADER
 
860
AUTOMAKE
 
861
AUTOCONF
 
862
ACLOCAL
 
863
VERSION
 
864
PACKAGE
 
865
CYGPATH_W
 
866
am__isrc
 
867
INSTALL_DATA
 
868
INSTALL_SCRIPT
 
869
INSTALL_PROGRAM
 
870
target_alias
 
871
host_alias
 
872
build_alias
 
873
LIBS
 
874
ECHO_T
 
875
ECHO_N
 
876
ECHO_C
 
877
DEFS
 
878
mandir
 
879
localedir
 
880
libdir
 
881
psdir
 
882
pdfdir
 
883
dvidir
 
884
htmldir
 
885
infodir
 
886
docdir
 
887
oldincludedir
 
888
includedir
 
889
localstatedir
 
890
sharedstatedir
 
891
sysconfdir
 
892
datadir
 
893
datarootdir
 
894
libexecdir
 
895
sbindir
 
896
bindir
 
897
program_transform_name
 
898
prefix
 
899
exec_prefix
 
900
PACKAGE_BUGREPORT
 
901
PACKAGE_STRING
 
902
PACKAGE_VERSION
 
903
PACKAGE_TARNAME
 
904
PACKAGE_NAME
 
905
PATH_SEPARATOR
 
906
SHELL'
885
907
ac_subst_files=''
 
908
ac_user_opts='
 
909
enable_option_checking
 
910
enable_dependency_tracking
 
911
enable_shared
 
912
enable_static
 
913
with_pic
 
914
enable_fast_install
 
915
with_gnu_ld
 
916
enable_libtool_lock
 
917
enable_doxygen_doc
 
918
with_html_docdir
 
919
'
886
920
      ac_precious_vars='build_alias
887
921
host_alias
888
922
target_alias
891
925
LDFLAGS
892
926
LIBS
893
927
CPPFLAGS
894
 
CPP
895
 
CXX
896
 
CXXFLAGS
897
 
CCC
898
 
CXXCPP
899
 
F77
900
 
FFLAGS'
 
928
CPP'
901
929
 
902
930
 
903
931
# Initialize some variables set by options.
904
932
ac_init_help=
905
933
ac_init_version=false
 
934
ac_unrecognized_opts=
 
935
ac_unrecognized_sep=
906
936
# The variables have the same names as the options, with
907
937
# dashes changed to underlines.
908
938
cache_file=/dev/null
1001
1031
    datarootdir=$ac_optarg ;;
1002
1032
 
1003
1033
  -disable-* | --disable-*)
1004
 
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
1034
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1005
1035
    # Reject names that are not valid shell variable names.
1006
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1007
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1036
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1037
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1008
1038
   { (exit 1); exit 1; }; }
1009
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1010
 
    eval enable_$ac_feature=no ;;
 
1039
    ac_useropt_orig=$ac_useropt
 
1040
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1041
    case $ac_user_opts in
 
1042
      *"
 
1043
"enable_$ac_useropt"
 
1044
"*) ;;
 
1045
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
1046
         ac_unrecognized_sep=', ';;
 
1047
    esac
 
1048
    eval enable_$ac_useropt=no ;;
1011
1049
 
1012
1050
  -docdir | --docdir | --docdi | --doc | --do)
1013
1051
    ac_prev=docdir ;;
1020
1058
    dvidir=$ac_optarg ;;
1021
1059
 
1022
1060
  -enable-* | --enable-*)
1023
 
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
1061
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1024
1062
    # Reject names that are not valid shell variable names.
1025
 
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1026
 
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
 
1063
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1064
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1027
1065
   { (exit 1); exit 1; }; }
1028
 
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1029
 
    eval enable_$ac_feature=\$ac_optarg ;;
 
1066
    ac_useropt_orig=$ac_useropt
 
1067
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1068
    case $ac_user_opts in
 
1069
      *"
 
1070
"enable_$ac_useropt"
 
1071
"*) ;;
 
1072
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
1073
         ac_unrecognized_sep=', ';;
 
1074
    esac
 
1075
    eval enable_$ac_useropt=\$ac_optarg ;;
1030
1076
 
1031
1077
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1032
1078
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1217
1263
    ac_init_version=: ;;
1218
1264
 
1219
1265
  -with-* | --with-*)
1220
 
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
1266
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1221
1267
    # Reject names that are not valid shell variable names.
1222
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1223
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1268
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1269
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1224
1270
   { (exit 1); exit 1; }; }
1225
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1226
 
    eval with_$ac_package=\$ac_optarg ;;
 
1271
    ac_useropt_orig=$ac_useropt
 
1272
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1273
    case $ac_user_opts in
 
1274
      *"
 
1275
"with_$ac_useropt"
 
1276
"*) ;;
 
1277
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
1278
         ac_unrecognized_sep=', ';;
 
1279
    esac
 
1280
    eval with_$ac_useropt=\$ac_optarg ;;
1227
1281
 
1228
1282
  -without-* | --without-*)
1229
 
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
1283
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1230
1284
    # Reject names that are not valid shell variable names.
1231
 
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1232
 
      { echo "$as_me: error: invalid package name: $ac_package" >&2
 
1285
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
1286
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1233
1287
   { (exit 1); exit 1; }; }
1234
 
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1235
 
    eval with_$ac_package=no ;;
 
1288
    ac_useropt_orig=$ac_useropt
 
1289
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
1290
    case $ac_user_opts in
 
1291
      *"
 
1292
"with_$ac_useropt"
 
1293
"*) ;;
 
1294
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
1295
         ac_unrecognized_sep=', ';;
 
1296
    esac
 
1297
    eval with_$ac_useropt=no ;;
1236
1298
 
1237
1299
  --x)
1238
1300
    # Obsolete; use --with-x.
1252
1314
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1253
1315
    x_libraries=$ac_optarg ;;
1254
1316
 
1255
 
  -*) { echo "$as_me: error: unrecognized option: $ac_option
 
1317
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1256
1318
Try \`$0 --help' for more information." >&2
1257
1319
   { (exit 1); exit 1; }; }
1258
1320
    ;;
1261
1323
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1262
1324
    # Reject names that are not valid shell variable names.
1263
1325
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1264
 
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
 
1326
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1265
1327
   { (exit 1); exit 1; }; }
1266
1328
    eval $ac_envvar=\$ac_optarg
1267
1329
    export $ac_envvar ;;
1268
1330
 
1269
1331
  *)
1270
1332
    # FIXME: should be removed in autoconf 3.0.
1271
 
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
1333
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1272
1334
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1273
 
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
1335
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1274
1336
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1275
1337
    ;;
1276
1338
 
1279
1341
 
1280
1342
if test -n "$ac_prev"; then
1281
1343
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1282
 
  { echo "$as_me: error: missing argument to $ac_option" >&2
 
1344
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1283
1345
   { (exit 1); exit 1; }; }
1284
1346
fi
1285
1347
 
1286
 
# Be sure to have absolute directory names.
 
1348
if test -n "$ac_unrecognized_opts"; then
 
1349
  case $enable_option_checking in
 
1350
    no) ;;
 
1351
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
 
1352
   { (exit 1); exit 1; }; } ;;
 
1353
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
1354
  esac
 
1355
fi
 
1356
 
 
1357
# Check all directory arguments for consistency.
1287
1358
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288
1359
                datadir sysconfdir sharedstatedir localstatedir includedir \
1289
1360
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290
1361
                libdir localedir mandir
1291
1362
do
1292
1363
  eval ac_val=\$$ac_var
 
1364
  # Remove trailing slashes.
 
1365
  case $ac_val in
 
1366
    */ )
 
1367
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
1368
      eval $ac_var=\$ac_val;;
 
1369
  esac
 
1370
  # Be sure to have absolute directory names.
1293
1371
  case $ac_val in
1294
1372
    [\\/$]* | ?:[\\/]* )  continue;;
1295
1373
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1296
1374
  esac
1297
 
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
 
1375
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1298
1376
   { (exit 1); exit 1; }; }
1299
1377
done
1300
1378
 
1309
1387
if test "x$host_alias" != x; then
1310
1388
  if test "x$build_alias" = x; then
1311
1389
    cross_compiling=maybe
1312
 
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
 
1390
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1313
1391
    If a cross compiler is detected then cross compile mode will be used." >&2
1314
1392
  elif test "x$build_alias" != "x$host_alias"; then
1315
1393
    cross_compiling=yes
1325
1403
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1326
1404
ac_ls_di=`ls -di .` &&
1327
1405
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1328
 
  { echo "$as_me: error: Working directory cannot be determined" >&2
 
1406
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1329
1407
   { (exit 1); exit 1; }; }
1330
1408
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1331
 
  { echo "$as_me: error: pwd does not report name of working directory" >&2
 
1409
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1332
1410
   { (exit 1); exit 1; }; }
1333
1411
 
1334
1412
 
1336
1414
if test -z "$srcdir"; then
1337
1415
  ac_srcdir_defaulted=yes
1338
1416
  # Try the directory containing this script, then the parent directory.
1339
 
  ac_confdir=`$as_dirname -- "$0" ||
1340
 
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1341
 
         X"$0" : 'X\(//\)[^/]' \| \
1342
 
         X"$0" : 'X\(//\)$' \| \
1343
 
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1344
 
echo X"$0" |
 
1417
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
1418
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
1419
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
1420
         X"$as_myself" : 'X\(//\)$' \| \
 
1421
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
1422
$as_echo X"$as_myself" |
1345
1423
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1346
1424
            s//\1/
1347
1425
            q
1368
1446
fi
1369
1447
if test ! -r "$srcdir/$ac_unique_file"; then
1370
1448
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1371
 
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
 
1449
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1372
1450
   { (exit 1); exit 1; }; }
1373
1451
fi
1374
1452
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1375
1453
ac_abs_confdir=`(
1376
 
        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
 
1454
        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1377
1455
   { (exit 1); exit 1; }; }
1378
1456
        pwd)`
1379
1457
# When building in place, set srcdir=.
1400
1478
  # Omit some internal or obsolete options to make the list less imposing.
1401
1479
  # This message is too long to be a string in the A/UX 3.1 sh.
1402
1480
  cat <<_ACEOF
1403
 
\`configure' configures libdatrie 0.1.3 to adapt to many kinds of systems.
 
1481
\`configure' configures libdatrie 0.2.2 to adapt to many kinds of systems.
1404
1482
 
1405
1483
Usage: $0 [OPTION]... [VAR=VALUE]...
1406
1484
 
1422
1500
 
1423
1501
Installation directories:
1424
1502
  --prefix=PREFIX         install architecture-independent files in PREFIX
1425
 
                          [$ac_default_prefix]
 
1503
                          [$ac_default_prefix]
1426
1504
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1427
 
                          [PREFIX]
 
1505
                          [PREFIX]
1428
1506
 
1429
1507
By default, \`make install' will install all the files in
1430
1508
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1434
1512
For better control, use the options below.
1435
1513
 
1436
1514
Fine tuning of the installation directories:
1437
 
  --bindir=DIR           user executables [EPREFIX/bin]
1438
 
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1439
 
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1440
 
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1441
 
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1442
 
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1443
 
  --libdir=DIR           object code libraries [EPREFIX/lib]
1444
 
  --includedir=DIR       C header files [PREFIX/include]
1445
 
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1446
 
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1447
 
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1448
 
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1449
 
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1450
 
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1451
 
  --docdir=DIR           documentation root [DATAROOTDIR/doc/libdatrie]
1452
 
  --htmldir=DIR          html documentation [DOCDIR]
1453
 
  --dvidir=DIR           dvi documentation [DOCDIR]
1454
 
  --pdfdir=DIR           pdf documentation [DOCDIR]
1455
 
  --psdir=DIR            ps documentation [DOCDIR]
 
1515
  --bindir=DIR            user executables [EPREFIX/bin]
 
1516
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
1517
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
1518
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
1519
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
1520
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
1521
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
1522
  --includedir=DIR        C header files [PREFIX/include]
 
1523
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
1524
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
1525
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
1526
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
1527
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
1528
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
1529
  --docdir=DIR            documentation root [DATAROOTDIR/doc/libdatrie]
 
1530
  --htmldir=DIR           html documentation [DOCDIR]
 
1531
  --dvidir=DIR            dvi documentation [DOCDIR]
 
1532
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
1533
  --psdir=DIR             ps documentation [DOCDIR]
1456
1534
_ACEOF
1457
1535
 
1458
1536
  cat <<\_ACEOF
1470
1548
 
1471
1549
if test -n "$ac_init_help"; then
1472
1550
  case $ac_init_help in
1473
 
     short | recursive ) echo "Configuration of libdatrie 0.1.3:";;
 
1551
     short | recursive ) echo "Configuration of libdatrie 0.2.2:";;
1474
1552
   esac
1475
1553
  cat <<\_ACEOF
1476
1554
 
1477
1555
Optional Features:
 
1556
  --disable-option-checking  ignore unrecognized --enable/--with options
1478
1557
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1479
1558
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1480
1559
  --disable-dependency-tracking  speeds up one-time build
1489
1568
Optional Packages:
1490
1569
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1491
1570
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1492
 
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1493
1571
  --with-pic              try to use only PIC/non-PIC objects [default=use
1494
1572
                          both]
1495
 
  --with-tags[=TAGS]      include additional configurations [automatic]
 
1573
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1496
1574
  --with-html-docdir=DIR  where to install the doxyten-generated HTML doc
1497
1575
                          [PREFIX/share/doc/datrie/html]
1498
1576
 
1505
1583
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1506
1584
              you have headers in a nonstandard directory <include dir>
1507
1585
  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
1586
 
1514
1587
Use these variables to override the choices made by `configure' or to help
1515
1588
it to find libraries and programs with nonstandard names/locations.
1522
1595
if test "$ac_init_help" = "recursive"; then
1523
1596
  # If there are subdirs, report their specific --help.
1524
1597
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1525
 
    test -d "$ac_dir" || continue
 
1598
    test -d "$ac_dir" ||
 
1599
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
1600
      continue
1526
1601
    ac_builddir=.
1527
1602
 
1528
1603
case "$ac_dir" in
1529
1604
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530
1605
*)
1531
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
1606
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1532
1607
  # A ".." for each directory in $ac_dir_suffix.
1533
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
1608
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1534
1609
  case $ac_top_builddir_sub in
1535
1610
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536
1611
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1566
1641
      echo &&
1567
1642
      $SHELL "$ac_srcdir/configure" --help=recursive
1568
1643
    else
1569
 
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
1644
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570
1645
    fi || ac_status=$?
1571
1646
    cd "$ac_pwd" || { ac_status=$?; break; }
1572
1647
  done
1575
1650
test -n "$ac_init_help" && exit $ac_status
1576
1651
if $ac_init_version; then
1577
1652
  cat <<\_ACEOF
1578
 
libdatrie configure 0.1.3
1579
 
generated by GNU Autoconf 2.61
 
1653
libdatrie configure 0.2.2
 
1654
generated by GNU Autoconf 2.63
1580
1655
 
1581
1656
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1582
 
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 
1657
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1583
1658
This configure script is free software; the Free Software Foundation
1584
1659
gives unlimited permission to copy, distribute and modify it.
1585
1660
_ACEOF
1589
1664
This file contains any messages produced by compilers while
1590
1665
running configure, to aid debugging if configure makes a mistake.
1591
1666
 
1592
 
It was created by libdatrie $as_me 0.1.3, which was
1593
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
1667
It was created by libdatrie $as_me 0.2.2, which was
 
1668
generated by GNU Autoconf 2.63.  Invocation command line was
1594
1669
 
1595
1670
  $ $0 $@
1596
1671
 
1626
1701
do
1627
1702
  IFS=$as_save_IFS
1628
1703
  test -z "$as_dir" && as_dir=.
1629
 
  echo "PATH: $as_dir"
 
1704
  $as_echo "PATH: $as_dir"
1630
1705
done
1631
1706
IFS=$as_save_IFS
1632
1707
 
1661
1736
    | -silent | --silent | --silen | --sile | --sil)
1662
1737
      continue ;;
1663
1738
    *\'*)
1664
 
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1739
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1665
1740
    esac
1666
1741
    case $ac_pass in
1667
1742
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1713
1788
    case $ac_val in #(
1714
1789
    *${as_nl}*)
1715
1790
      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;} ;;
 
1791
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
1792
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1718
1793
      esac
1719
1794
      case $ac_var in #(
1720
1795
      _ | IFS | as_nl) ;; #(
 
1796
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1721
1797
      *) $as_unset $ac_var ;;
1722
1798
      esac ;;
1723
1799
    esac
1747
1823
    do
1748
1824
      eval ac_val=\$$ac_var
1749
1825
      case $ac_val in
1750
 
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1826
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1751
1827
      esac
1752
 
      echo "$ac_var='\''$ac_val'\''"
 
1828
      $as_echo "$ac_var='\''$ac_val'\''"
1753
1829
    done | sort
1754
1830
    echo
1755
1831
 
1764
1840
      do
1765
1841
        eval ac_val=\$$ac_var
1766
1842
        case $ac_val in
1767
 
        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
1843
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1768
1844
        esac
1769
 
        echo "$ac_var='\''$ac_val'\''"
 
1845
        $as_echo "$ac_var='\''$ac_val'\''"
1770
1846
      done | sort
1771
1847
      echo
1772
1848
    fi
1782
1858
      echo
1783
1859
    fi
1784
1860
    test "$ac_signal" != 0 &&
1785
 
      echo "$as_me: caught signal $ac_signal"
1786
 
    echo "$as_me: exit $exit_status"
 
1861
      $as_echo "$as_me: caught signal $ac_signal"
 
1862
    $as_echo "$as_me: exit $exit_status"
1787
1863
  } >&5
1788
1864
  rm -f core *.core core.conftest.* &&
1789
1865
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1825
1901
 
1826
1902
 
1827
1903
# Let the site file select an alternate cache file if it wants to.
1828
 
# Prefer explicitly selected file to automatically selected ones.
 
1904
# Prefer an explicitly selected file to automatically selected ones.
 
1905
ac_site_file1=NONE
 
1906
ac_site_file2=NONE
1829
1907
if test -n "$CONFIG_SITE"; then
1830
 
  set x "$CONFIG_SITE"
 
1908
  ac_site_file1=$CONFIG_SITE
1831
1909
elif test "x$prefix" != xNONE; then
1832
 
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
 
1910
  ac_site_file1=$prefix/share/config.site
 
1911
  ac_site_file2=$prefix/etc/config.site
1833
1912
else
1834
 
  set x "$ac_default_prefix/share/config.site" \
1835
 
        "$ac_default_prefix/etc/config.site"
 
1913
  ac_site_file1=$ac_default_prefix/share/config.site
 
1914
  ac_site_file2=$ac_default_prefix/etc/config.site
1836
1915
fi
1837
 
shift
1838
 
for ac_site_file
 
1916
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1839
1917
do
 
1918
  test "x$ac_site_file" = xNONE && continue
1840
1919
  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;}
 
1920
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
 
1921
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1843
1922
    sed 's/^/| /' "$ac_site_file" >&5
1844
1923
    . "$ac_site_file"
1845
1924
  fi
1849
1928
  # Some versions of bash will fail to source /dev/null (special
1850
1929
  # files actually), so we avoid doing that.
1851
1930
  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;}
 
1931
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
 
1932
$as_echo "$as_me: loading cache $cache_file" >&6;}
1854
1933
    case $cache_file in
1855
1934
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1856
1935
      *)                      . "./$cache_file";;
1857
1936
    esac
1858
1937
  fi
1859
1938
else
1860
 
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1861
 
echo "$as_me: creating cache $cache_file" >&6;}
 
1939
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
 
1940
$as_echo "$as_me: creating cache $cache_file" >&6;}
1862
1941
  >$cache_file
1863
1942
fi
1864
1943
 
1872
1951
  eval ac_new_val=\$ac_env_${ac_var}_value
1873
1952
  case $ac_old_set,$ac_new_set in
1874
1953
    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;}
 
1954
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
1955
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1877
1956
      ac_cache_corrupted=: ;;
1878
1957
    ,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;}
 
1958
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
 
1959
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1881
1960
      ac_cache_corrupted=: ;;
1882
1961
    ,);;
1883
1962
    *)
1884
1963
      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=:
 
1964
        # differences in whitespace do not lead to failure.
 
1965
        ac_old_val_w=`echo x $ac_old_val`
 
1966
        ac_new_val_w=`echo x $ac_new_val`
 
1967
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
1968
          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
 
1969
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
1970
          ac_cache_corrupted=:
 
1971
        else
 
1972
          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
1973
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
1974
          eval $ac_var=\$ac_old_val
 
1975
        fi
 
1976
        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
 
1977
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
1978
        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
 
1979
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1892
1980
      fi;;
1893
1981
  esac
1894
1982
  # Pass precious variables to config.status.
1895
1983
  if test "$ac_new_set" = set; then
1896
1984
    case $ac_new_val in
1897
 
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
1985
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1898
1986
    *) ac_arg=$ac_var=$ac_new_val ;;
1899
1987
    esac
1900
1988
    case " $ac_configure_args " in
1904
1992
  fi
1905
1993
done
1906
1994
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;}
 
1995
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
1996
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
1997
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
 
1998
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
1999
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
 
2000
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1911
2001
   { (exit 1); exit 1; }; }
1912
2002
fi
1913
2003
 
1946
2036
ac_config_headers="$ac_config_headers config.h"
1947
2037
 
1948
2038
 
1949
 
am__api_version="1.9"
 
2039
 
 
2040
am__api_version='1.10'
 
2041
 
1950
2042
ac_aux_dir=
1951
2043
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1952
2044
  if test -f "$ac_dir/install-sh"; then
1964
2056
  fi
1965
2057
done
1966
2058
if test -z "$ac_aux_dir"; then
1967
 
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1968
 
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
 
2059
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
 
2060
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1969
2061
   { (exit 1); exit 1; }; }
1970
2062
fi
1971
2063
 
1991
2083
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1992
2084
# OS/2's system install, which has a completely different semantic
1993
2085
# ./install, which can be erroneously created by make from ./install.sh.
1994
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1995
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
2086
# Reject install programs that cannot install multiple files.
 
2087
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
2088
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1996
2089
if test -z "$INSTALL"; then
1997
2090
if test "${ac_cv_path_install+set}" = set; then
1998
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2091
  $as_echo_n "(cached) " >&6
1999
2092
else
2000
2093
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001
2094
for as_dir in $PATH
2024
2117
            # program-specific install script used by HP pwplus--don't use.
2025
2118
            :
2026
2119
          else
2027
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2028
 
            break 3
 
2120
            rm -rf conftest.one conftest.two conftest.dir
 
2121
            echo one > conftest.one
 
2122
            echo two > conftest.two
 
2123
            mkdir conftest.dir
 
2124
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
2125
              test -s conftest.one && test -s conftest.two &&
 
2126
              test -s conftest.dir/conftest.one &&
 
2127
              test -s conftest.dir/conftest.two
 
2128
            then
 
2129
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
2130
              break 3
 
2131
            fi
2029
2132
          fi
2030
2133
        fi
2031
2134
      done
2032
2135
    done
2033
2136
    ;;
2034
2137
esac
 
2138
 
2035
2139
done
2036
2140
IFS=$as_save_IFS
2037
2141
 
 
2142
rm -rf conftest.one conftest.two conftest.dir
2038
2143
 
2039
2144
fi
2040
2145
  if test "${ac_cv_path_install+set}" = set; then
2047
2152
    INSTALL=$ac_install_sh
2048
2153
  fi
2049
2154
fi
2050
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2051
 
echo "${ECHO_T}$INSTALL" >&6; }
 
2155
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
2156
$as_echo "$INSTALL" >&6; }
2052
2157
 
2053
2158
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2054
2159
# It thinks the first close brace ends the variable substitution.
2058
2163
 
2059
2164
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2060
2165
 
2061
 
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2062
 
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
 
2166
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
 
2167
$as_echo_n "checking whether build environment is sane... " >&6; }
2063
2168
# Just in case
2064
2169
sleep 1
2065
2170
echo timestamp > conftest.file
2082
2187
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2083
2188
      # broken ls alias from the environment.  This has actually
2084
2189
      # happened.  Such a system could not be considered "sane".
2085
 
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
 
2190
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2086
2191
alias in your environment" >&5
2087
 
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
 
2192
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2088
2193
alias in your environment" >&2;}
2089
2194
   { (exit 1); exit 1; }; }
2090
2195
   fi
2095
2200
   # Ok.
2096
2201
   :
2097
2202
else
2098
 
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
 
2203
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2099
2204
Check your system clock" >&5
2100
 
echo "$as_me: error: newly created file is older than distributed files!
 
2205
$as_echo "$as_me: error: newly created file is older than distributed files!
2101
2206
Check your system clock" >&2;}
2102
2207
   { (exit 1); exit 1; }; }
2103
2208
fi
2104
 
{ echo "$as_me:$LINENO: result: yes" >&5
2105
 
echo "${ECHO_T}yes" >&6; }
 
2209
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
2210
$as_echo "yes" >&6; }
2106
2211
test "$program_prefix" != NONE &&
2107
2212
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2108
2213
# Use a double $ so make ignores it.
2109
2214
test "$program_suffix" != NONE &&
2110
2215
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2111
 
# Double any \ or $.  echo might interpret backslashes.
 
2216
# Double any \ or $.
2112
2217
# By default was `s,x,x', remove it if useless.
2113
 
cat <<\_ACEOF >conftest.sed
2114
 
s/[\\$]/&&/g;s/;s,x,x,$//
2115
 
_ACEOF
2116
 
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2117
 
rm -f conftest.sed
 
2218
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
2219
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2118
2220
 
2119
2221
# expand $ac_aux_dir to an absolute path
2120
2222
am_aux_dir=`cd $ac_aux_dir && pwd`
2125
2227
  am_missing_run="$MISSING --run "
2126
2228
else
2127
2229
  am_missing_run=
2128
 
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2129
 
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2230
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
2231
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2130
2232
fi
2131
2233
 
2132
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2133
 
  # We used to keeping the `.' as first argument, in order to
2134
 
  # allow $(mkdir_p) to be used without argument.  As in
2135
 
  #   $(mkdir_p) $(somedir)
2136
 
  # where $(somedir) is conditionally defined.  However this is wrong
2137
 
  # for two reasons:
2138
 
  #  1. if the package is installed by a user who cannot write `.'
2139
 
  #     make install will fail,
2140
 
  #  2. the above comment should most certainly read
2141
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2142
 
  #     so it does not work when $(somedir) is undefined and
2143
 
  #     $(DESTDIR) is not.
2144
 
  #  To support the latter case, we have to write
2145
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2146
 
  #  so the `.' trick is pointless.
2147
 
  mkdir_p='mkdir -p --'
 
2234
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2235
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
2236
if test -z "$MKDIR_P"; then
 
2237
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2238
  $as_echo_n "(cached) " >&6
2148
2239
else
2149
 
  # On NextStep and OpenStep, the `mkdir' command does not
2150
 
  # recognize any option.  It will interpret all options as
2151
 
  # directories to create, and then abort because `.' already
2152
 
  # exists.
2153
 
  for d in ./-p ./--version;
2154
 
  do
2155
 
    test -d $d && rmdir $d
2156
 
  done
2157
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2158
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2159
 
    mkdir_p='$(mkinstalldirs)'
 
2240
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2241
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2242
do
 
2243
  IFS=$as_save_IFS
 
2244
  test -z "$as_dir" && as_dir=.
 
2245
  for ac_prog in mkdir gmkdir; do
 
2246
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2247
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2248
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2249
             'mkdir (GNU coreutils) '* | \
 
2250
             'mkdir (coreutils) '* | \
 
2251
             'mkdir (fileutils) '4.1*)
 
2252
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2253
               break 3;;
 
2254
           esac
 
2255
         done
 
2256
       done
 
2257
done
 
2258
IFS=$as_save_IFS
 
2259
 
 
2260
fi
 
2261
 
 
2262
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2263
    MKDIR_P="$ac_cv_path_mkdir -p"
2160
2264
  else
2161
 
    mkdir_p='$(install_sh) -d'
 
2265
    # As a last resort, use the slow shell script.  Don't cache a
 
2266
    # value for MKDIR_P within a source directory, because that will
 
2267
    # break other packages using the cache if that directory is
 
2268
    # removed, or if the value is a relative name.
 
2269
    test -d ./--version && rmdir ./--version
 
2270
    MKDIR_P="$ac_install_sh -d"
2162
2271
  fi
2163
2272
fi
 
2273
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2274
$as_echo "$MKDIR_P" >&6; }
 
2275
 
 
2276
mkdir_p="$MKDIR_P"
 
2277
case $mkdir_p in
 
2278
  [\\/$]* | ?:[\\/]*) ;;
 
2279
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2280
esac
2164
2281
 
2165
2282
for ac_prog in gawk mawk nawk awk
2166
2283
do
2167
2284
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2168
2285
set dummy $ac_prog; ac_word=$2
2169
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2170
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2286
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2287
$as_echo_n "checking for $ac_word... " >&6; }
2171
2288
if test "${ac_cv_prog_AWK+set}" = set; then
2172
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2289
  $as_echo_n "(cached) " >&6
2173
2290
else
2174
2291
  if test -n "$AWK"; then
2175
2292
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2182
2299
  for ac_exec_ext in '' $ac_executable_extensions; do
2183
2300
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2184
2301
    ac_cv_prog_AWK="$ac_prog"
2185
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2302
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186
2303
    break 2
2187
2304
  fi
2188
2305
done
2193
2310
fi
2194
2311
AWK=$ac_cv_prog_AWK
2195
2312
if test -n "$AWK"; then
2196
 
  { echo "$as_me:$LINENO: result: $AWK" >&5
2197
 
echo "${ECHO_T}$AWK" >&6; }
 
2313
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
 
2314
$as_echo "$AWK" >&6; }
2198
2315
else
2199
 
  { echo "$as_me:$LINENO: result: no" >&5
2200
 
echo "${ECHO_T}no" >&6; }
 
2316
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2317
$as_echo "no" >&6; }
2201
2318
fi
2202
2319
 
2203
2320
 
2204
2321
  test -n "$AWK" && break
2205
2322
done
2206
2323
 
2207
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2208
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2209
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
2324
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
2325
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
2326
set x ${MAKE-make}
 
2327
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2210
2328
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2211
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2329
  $as_echo_n "(cached) " >&6
2212
2330
else
2213
2331
  cat >conftest.make <<\_ACEOF
2214
2332
SHELL = /bin/sh
2225
2343
rm -f conftest.make
2226
2344
fi
2227
2345
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2228
 
  { echo "$as_me:$LINENO: result: yes" >&5
2229
 
echo "${ECHO_T}yes" >&6; }
 
2346
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
2347
$as_echo "yes" >&6; }
2230
2348
  SET_MAKE=
2231
2349
else
2232
 
  { echo "$as_me:$LINENO: result: no" >&5
2233
 
echo "${ECHO_T}no" >&6; }
 
2350
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2351
$as_echo "no" >&6; }
2234
2352
  SET_MAKE="MAKE=${MAKE-make}"
2235
2353
fi
2236
2354
 
2243
2361
fi
2244
2362
rmdir .tst 2>/dev/null
2245
2363
 
2246
 
# test to see if srcdir already configured
2247
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2248
 
   test -f $srcdir/config.status; then
2249
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2250
 
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
 
2364
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2365
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2366
  # is not polluted with repeated "-I."
 
2367
  am__isrc=' -I$(srcdir)'
 
2368
  # test to see if srcdir already configured
 
2369
  if test -f $srcdir/config.status; then
 
2370
    { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2371
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2251
2372
   { (exit 1); exit 1; }; }
 
2373
  fi
2252
2374
fi
2253
2375
 
2254
2376
# test whether we have cygpath
2263
2385
 
2264
2386
# Define the identity of the package.
2265
2387
 PACKAGE='libdatrie'
2266
 
 VERSION='0.1.3'
 
2388
 VERSION='0.2.2'
2267
2389
 
2268
2390
 
2269
2391
cat >>confdefs.h <<_ACEOF
2291
2413
 
2292
2414
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2293
2415
 
2294
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2416
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2295
2417
 
2296
2418
# Installed binaries are usually stripped using `strip' when the user
2297
2419
# run `make install-strip'.  However `strip' might not be the right
2301
2423
  if test -n "$ac_tool_prefix"; then
2302
2424
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2303
2425
set dummy ${ac_tool_prefix}strip; ac_word=$2
2304
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2305
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2426
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2427
$as_echo_n "checking for $ac_word... " >&6; }
2306
2428
if test "${ac_cv_prog_STRIP+set}" = set; then
2307
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2429
  $as_echo_n "(cached) " >&6
2308
2430
else
2309
2431
  if test -n "$STRIP"; then
2310
2432
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2317
2439
  for ac_exec_ext in '' $ac_executable_extensions; do
2318
2440
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2319
2441
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2320
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2442
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321
2443
    break 2
2322
2444
  fi
2323
2445
done
2328
2450
fi
2329
2451
STRIP=$ac_cv_prog_STRIP
2330
2452
if test -n "$STRIP"; then
2331
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2332
 
echo "${ECHO_T}$STRIP" >&6; }
 
2453
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
2454
$as_echo "$STRIP" >&6; }
2333
2455
else
2334
 
  { echo "$as_me:$LINENO: result: no" >&5
2335
 
echo "${ECHO_T}no" >&6; }
 
2456
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2457
$as_echo "no" >&6; }
2336
2458
fi
2337
2459
 
2338
2460
 
2341
2463
  ac_ct_STRIP=$STRIP
2342
2464
  # Extract the first word of "strip", so it can be a program name with args.
2343
2465
set dummy strip; ac_word=$2
2344
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2345
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2466
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2467
$as_echo_n "checking for $ac_word... " >&6; }
2346
2468
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2347
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2469
  $as_echo_n "(cached) " >&6
2348
2470
else
2349
2471
  if test -n "$ac_ct_STRIP"; then
2350
2472
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2357
2479
  for ac_exec_ext in '' $ac_executable_extensions; do
2358
2480
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2359
2481
    ac_cv_prog_ac_ct_STRIP="strip"
2360
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2482
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2361
2483
    break 2
2362
2484
  fi
2363
2485
done
2368
2490
fi
2369
2491
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2370
2492
if test -n "$ac_ct_STRIP"; then
2371
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2372
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
 
2493
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2494
$as_echo "$ac_ct_STRIP" >&6; }
2373
2495
else
2374
 
  { echo "$as_me:$LINENO: result: no" >&5
2375
 
echo "${ECHO_T}no" >&6; }
 
2496
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2497
$as_echo "no" >&6; }
2376
2498
fi
2377
2499
 
2378
2500
  if test "x$ac_ct_STRIP" = x; then
2380
2502
  else
2381
2503
    case $cross_compiling:$ac_tool_warned in
2382
2504
yes:)
2383
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2384
 
whose name does not start with the host triplet.  If you think this
2385
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2386
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2387
 
whose name does not start with the host triplet.  If you think this
2388
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2505
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2506
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2389
2507
ac_tool_warned=yes ;;
2390
2508
esac
2391
2509
    STRIP=$ac_ct_STRIP
2395
2513
fi
2396
2514
 
2397
2515
fi
2398
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2516
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2399
2517
 
2400
2518
# We need awk for the "check" target.  The system "awk" is bad on
2401
2519
# some platforms.
2414
2532
# Library code modified:                    REVISION++
2415
2533
# Interfaces added:              CURRENT++  REVISION=0  AGE++
2416
2534
# Interfaces changed/removed:    CURRENT++  REVISION=0  AGE=0
2417
 
LT_CURRENT=0
2418
 
LT_REVISION=3
 
2535
LT_CURRENT=1
 
2536
LT_REVISION=2
2419
2537
LT_AGE=0
2420
2538
 
2421
2539
 
2430
2548
if test -n "$ac_tool_prefix"; then
2431
2549
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2432
2550
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2433
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2434
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2551
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2552
$as_echo_n "checking for $ac_word... " >&6; }
2435
2553
if test "${ac_cv_prog_CC+set}" = set; then
2436
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2554
  $as_echo_n "(cached) " >&6
2437
2555
else
2438
2556
  if test -n "$CC"; then
2439
2557
  ac_cv_prog_CC="$CC" # Let the user override the test.
2446
2564
  for ac_exec_ext in '' $ac_executable_extensions; do
2447
2565
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448
2566
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2449
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2567
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2450
2568
    break 2
2451
2569
  fi
2452
2570
done
2457
2575
fi
2458
2576
CC=$ac_cv_prog_CC
2459
2577
if test -n "$CC"; then
2460
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2461
 
echo "${ECHO_T}$CC" >&6; }
 
2578
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2579
$as_echo "$CC" >&6; }
2462
2580
else
2463
 
  { echo "$as_me:$LINENO: result: no" >&5
2464
 
echo "${ECHO_T}no" >&6; }
 
2581
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2582
$as_echo "no" >&6; }
2465
2583
fi
2466
2584
 
2467
2585
 
2470
2588
  ac_ct_CC=$CC
2471
2589
  # Extract the first word of "gcc", so it can be a program name with args.
2472
2590
set dummy gcc; ac_word=$2
2473
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2474
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2591
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2592
$as_echo_n "checking for $ac_word... " >&6; }
2475
2593
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2594
  $as_echo_n "(cached) " >&6
2477
2595
else
2478
2596
  if test -n "$ac_ct_CC"; then
2479
2597
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2486
2604
  for ac_exec_ext in '' $ac_executable_extensions; do
2487
2605
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2488
2606
    ac_cv_prog_ac_ct_CC="gcc"
2489
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2607
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490
2608
    break 2
2491
2609
  fi
2492
2610
done
2497
2615
fi
2498
2616
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2499
2617
if test -n "$ac_ct_CC"; then
2500
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2501
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2618
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2619
$as_echo "$ac_ct_CC" >&6; }
2502
2620
else
2503
 
  { echo "$as_me:$LINENO: result: no" >&5
2504
 
echo "${ECHO_T}no" >&6; }
 
2621
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2622
$as_echo "no" >&6; }
2505
2623
fi
2506
2624
 
2507
2625
  if test "x$ac_ct_CC" = x; then
2509
2627
  else
2510
2628
    case $cross_compiling:$ac_tool_warned in
2511
2629
yes:)
2512
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2513
 
whose name does not start with the host triplet.  If you think this
2514
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2515
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2516
 
whose name does not start with the host triplet.  If you think this
2517
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2630
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2631
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2518
2632
ac_tool_warned=yes ;;
2519
2633
esac
2520
2634
    CC=$ac_ct_CC
2527
2641
          if test -n "$ac_tool_prefix"; then
2528
2642
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2529
2643
set dummy ${ac_tool_prefix}cc; ac_word=$2
2530
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2531
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2644
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2645
$as_echo_n "checking for $ac_word... " >&6; }
2532
2646
if test "${ac_cv_prog_CC+set}" = set; then
2533
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2647
  $as_echo_n "(cached) " >&6
2534
2648
else
2535
2649
  if test -n "$CC"; then
2536
2650
  ac_cv_prog_CC="$CC" # Let the user override the test.
2543
2657
  for ac_exec_ext in '' $ac_executable_extensions; do
2544
2658
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2545
2659
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2546
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2660
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2547
2661
    break 2
2548
2662
  fi
2549
2663
done
2554
2668
fi
2555
2669
CC=$ac_cv_prog_CC
2556
2670
if test -n "$CC"; then
2557
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2558
 
echo "${ECHO_T}$CC" >&6; }
 
2671
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2672
$as_echo "$CC" >&6; }
2559
2673
else
2560
 
  { echo "$as_me:$LINENO: result: no" >&5
2561
 
echo "${ECHO_T}no" >&6; }
 
2674
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2675
$as_echo "no" >&6; }
2562
2676
fi
2563
2677
 
2564
2678
 
2567
2681
if test -z "$CC"; then
2568
2682
  # Extract the first word of "cc", so it can be a program name with args.
2569
2683
set dummy cc; ac_word=$2
2570
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2571
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2684
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2685
$as_echo_n "checking for $ac_word... " >&6; }
2572
2686
if test "${ac_cv_prog_CC+set}" = set; then
2573
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2687
  $as_echo_n "(cached) " >&6
2574
2688
else
2575
2689
  if test -n "$CC"; then
2576
2690
  ac_cv_prog_CC="$CC" # Let the user override the test.
2588
2702
       continue
2589
2703
     fi
2590
2704
    ac_cv_prog_CC="cc"
2591
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2705
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2592
2706
    break 2
2593
2707
  fi
2594
2708
done
2611
2725
fi
2612
2726
CC=$ac_cv_prog_CC
2613
2727
if test -n "$CC"; then
2614
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2615
 
echo "${ECHO_T}$CC" >&6; }
 
2728
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2729
$as_echo "$CC" >&6; }
2616
2730
else
2617
 
  { echo "$as_me:$LINENO: result: no" >&5
2618
 
echo "${ECHO_T}no" >&6; }
 
2731
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2732
$as_echo "no" >&6; }
2619
2733
fi
2620
2734
 
2621
2735
 
2626
2740
  do
2627
2741
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2628
2742
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2629
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2630
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2743
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2744
$as_echo_n "checking for $ac_word... " >&6; }
2631
2745
if test "${ac_cv_prog_CC+set}" = set; then
2632
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2746
  $as_echo_n "(cached) " >&6
2633
2747
else
2634
2748
  if test -n "$CC"; then
2635
2749
  ac_cv_prog_CC="$CC" # Let the user override the test.
2642
2756
  for ac_exec_ext in '' $ac_executable_extensions; do
2643
2757
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2644
2758
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2645
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2759
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2646
2760
    break 2
2647
2761
  fi
2648
2762
done
2653
2767
fi
2654
2768
CC=$ac_cv_prog_CC
2655
2769
if test -n "$CC"; then
2656
 
  { echo "$as_me:$LINENO: result: $CC" >&5
2657
 
echo "${ECHO_T}$CC" >&6; }
 
2770
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
 
2771
$as_echo "$CC" >&6; }
2658
2772
else
2659
 
  { echo "$as_me:$LINENO: result: no" >&5
2660
 
echo "${ECHO_T}no" >&6; }
 
2773
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2774
$as_echo "no" >&6; }
2661
2775
fi
2662
2776
 
2663
2777
 
2670
2784
do
2671
2785
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2672
2786
set dummy $ac_prog; ac_word=$2
2673
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2674
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
2787
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
2788
$as_echo_n "checking for $ac_word... " >&6; }
2675
2789
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2676
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
2790
  $as_echo_n "(cached) " >&6
2677
2791
else
2678
2792
  if test -n "$ac_ct_CC"; then
2679
2793
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2686
2800
  for ac_exec_ext in '' $ac_executable_extensions; do
2687
2801
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2688
2802
    ac_cv_prog_ac_ct_CC="$ac_prog"
2689
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
2803
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690
2804
    break 2
2691
2805
  fi
2692
2806
done
2697
2811
fi
2698
2812
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2699
2813
if test -n "$ac_ct_CC"; then
2700
 
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2701
 
echo "${ECHO_T}$ac_ct_CC" >&6; }
 
2814
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
 
2815
$as_echo "$ac_ct_CC" >&6; }
2702
2816
else
2703
 
  { echo "$as_me:$LINENO: result: no" >&5
2704
 
echo "${ECHO_T}no" >&6; }
 
2817
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
2818
$as_echo "no" >&6; }
2705
2819
fi
2706
2820
 
2707
2821
 
2713
2827
  else
2714
2828
    case $cross_compiling:$ac_tool_warned in
2715
2829
yes:)
2716
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2717
 
whose name does not start with the host triplet.  If you think this
2718
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
2719
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2720
 
whose name does not start with the host triplet.  If you think this
2721
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 
2830
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
2831
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2722
2832
ac_tool_warned=yes ;;
2723
2833
esac
2724
2834
    CC=$ac_ct_CC
2728
2838
fi
2729
2839
 
2730
2840
 
2731
 
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
 
2841
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2842
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2843
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2732
2844
See \`config.log' for more details." >&5
2733
 
echo "$as_me: error: no acceptable C compiler found in \$PATH
 
2845
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2734
2846
See \`config.log' for more details." >&2;}
2735
 
   { (exit 1); exit 1; }; }
 
2847
   { (exit 1); exit 1; }; }; }
2736
2848
 
2737
2849
# Provide some information about the compiler.
2738
 
echo "$as_me:$LINENO: checking for C compiler version" >&5
2739
 
ac_compiler=`set X $ac_compile; echo $2`
 
2850
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
 
2851
set X $ac_compile
 
2852
ac_compiler=$2
2740
2853
{ (ac_try="$ac_compiler --version >&5"
2741
2854
case "(($ac_try" in
2742
2855
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743
2856
  *) ac_try_echo=$ac_try;;
2744
2857
esac
2745
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2858
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2859
$as_echo "$ac_try_echo") >&5
2746
2860
  (eval "$ac_compiler --version >&5") 2>&5
2747
2861
  ac_status=$?
2748
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2862
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749
2863
  (exit $ac_status); }
2750
2864
{ (ac_try="$ac_compiler -v >&5"
2751
2865
case "(($ac_try" in
2752
2866
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753
2867
  *) ac_try_echo=$ac_try;;
2754
2868
esac
2755
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2869
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2870
$as_echo "$ac_try_echo") >&5
2756
2871
  (eval "$ac_compiler -v >&5") 2>&5
2757
2872
  ac_status=$?
2758
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2873
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759
2874
  (exit $ac_status); }
2760
2875
{ (ac_try="$ac_compiler -V >&5"
2761
2876
case "(($ac_try" in
2762
2877
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763
2878
  *) ac_try_echo=$ac_try;;
2764
2879
esac
2765
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2880
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2881
$as_echo "$ac_try_echo") >&5
2766
2882
  (eval "$ac_compiler -V >&5") 2>&5
2767
2883
  ac_status=$?
2768
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2884
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769
2885
  (exit $ac_status); }
2770
2886
 
2771
2887
cat >conftest.$ac_ext <<_ACEOF
2784
2900
}
2785
2901
_ACEOF
2786
2902
ac_clean_files_save=$ac_clean_files
2787
 
ac_clean_files="$ac_clean_files a.out a.exe b.out"
 
2903
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2788
2904
# Try to create an executable without -o first, disregard a.out.
2789
2905
# It will help us diagnose broken compilers, and finding out an intuition
2790
2906
# of exeext.
2791
 
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2792
 
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2793
 
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2794
 
#
2795
 
# List of possible output files, starting from the most likely.
2796
 
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2797
 
# only as a last resort.  b.out is created by i960 compilers.
2798
 
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2799
 
#
2800
 
# The IRIX 6 linker writes into existing files which may not be
2801
 
# executable, retaining their permissions.  Remove them first so a
2802
 
# subsequent execution test works.
 
2907
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
 
2908
$as_echo_n "checking for C compiler default output file name... " >&6; }
 
2909
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
2910
 
 
2911
# The possible output files:
 
2912
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
2913
 
2803
2914
ac_rmfiles=
2804
2915
for ac_file in $ac_files
2805
2916
do
2806
2917
  case $ac_file in
2807
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
2918
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2808
2919
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2809
2920
  esac
2810
2921
done
2815
2926
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816
2927
  *) ac_try_echo=$ac_try;;
2817
2928
esac
2818
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
2929
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
2930
$as_echo "$ac_try_echo") >&5
2819
2931
  (eval "$ac_link_default") 2>&5
2820
2932
  ac_status=$?
2821
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
2933
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822
2934
  (exit $ac_status); }; then
2823
2935
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2824
2936
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2829
2941
do
2830
2942
  test -f "$ac_file" || continue
2831
2943
  case $ac_file in
2832
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
 
2944
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2833
2945
        ;;
2834
2946
    [ab].out )
2835
2947
        # We found the default executable, but exeext='' is most
2856
2968
  ac_file=''
2857
2969
fi
2858
2970
 
2859
 
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2860
 
echo "${ECHO_T}$ac_file" >&6; }
 
2971
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
 
2972
$as_echo "$ac_file" >&6; }
2861
2973
if test -z "$ac_file"; then
2862
 
  echo "$as_me: failed program was:" >&5
 
2974
  $as_echo "$as_me: failed program was:" >&5
2863
2975
sed 's/^/| /' conftest.$ac_ext >&5
2864
2976
 
2865
 
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
 
2977
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
2978
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
2979
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2866
2980
See \`config.log' for more details." >&5
2867
 
echo "$as_me: error: C compiler cannot create executables
 
2981
$as_echo "$as_me: error: C compiler cannot create executables
2868
2982
See \`config.log' for more details." >&2;}
2869
 
   { (exit 77); exit 77; }; }
 
2983
   { (exit 77); exit 77; }; }; }
2870
2984
fi
2871
2985
 
2872
2986
ac_exeext=$ac_cv_exeext
2873
2987
 
2874
2988
# Check that the compiler produces executables we can run.  If not, either
2875
2989
# the compiler is broken, or we cross compile.
2876
 
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2877
 
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
 
2990
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
 
2991
$as_echo_n "checking whether the C compiler works... " >&6; }
2878
2992
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2879
2993
# If not cross compiling, check that we can run a simple program.
2880
2994
if test "$cross_compiling" != yes; then
2883
2997
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2884
2998
  *) ac_try_echo=$ac_try;;
2885
2999
esac
2886
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3000
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3001
$as_echo "$ac_try_echo") >&5
2887
3002
  (eval "$ac_try") 2>&5
2888
3003
  ac_status=$?
2889
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3004
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890
3005
  (exit $ac_status); }; }; then
2891
3006
    cross_compiling=no
2892
3007
  else
2893
3008
    if test "$cross_compiling" = maybe; then
2894
3009
        cross_compiling=yes
2895
3010
    else
2896
 
        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
 
3011
        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3012
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3013
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2897
3014
If you meant to cross compile, use \`--host'.
2898
3015
See \`config.log' for more details." >&5
2899
 
echo "$as_me: error: cannot run C compiled programs.
 
3016
$as_echo "$as_me: error: cannot run C compiled programs.
2900
3017
If you meant to cross compile, use \`--host'.
2901
3018
See \`config.log' for more details." >&2;}
2902
 
   { (exit 1); exit 1; }; }
 
3019
   { (exit 1); exit 1; }; }; }
2903
3020
    fi
2904
3021
  fi
2905
3022
fi
2906
 
{ echo "$as_me:$LINENO: result: yes" >&5
2907
 
echo "${ECHO_T}yes" >&6; }
 
3023
{ $as_echo "$as_me:$LINENO: result: yes" >&5
 
3024
$as_echo "yes" >&6; }
2908
3025
 
2909
 
rm -f a.out a.exe conftest$ac_cv_exeext b.out
 
3026
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2910
3027
ac_clean_files=$ac_clean_files_save
2911
3028
# Check that the compiler produces executables we can run.  If not, either
2912
3029
# the compiler is broken, or we cross compile.
2913
 
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2914
 
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2915
 
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2916
 
echo "${ECHO_T}$cross_compiling" >&6; }
 
3030
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
 
3031
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
3032
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
 
3033
$as_echo "$cross_compiling" >&6; }
2917
3034
 
2918
 
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2919
 
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
 
3035
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
 
3036
$as_echo_n "checking for suffix of executables... " >&6; }
2920
3037
if { (ac_try="$ac_link"
2921
3038
case "(($ac_try" in
2922
3039
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923
3040
  *) ac_try_echo=$ac_try;;
2924
3041
esac
2925
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3042
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3043
$as_echo "$ac_try_echo") >&5
2926
3044
  (eval "$ac_link") 2>&5
2927
3045
  ac_status=$?
2928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3046
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929
3047
  (exit $ac_status); }; then
2930
3048
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2931
3049
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2934
3052
for ac_file in conftest.exe conftest conftest.*; do
2935
3053
  test -f "$ac_file" || continue
2936
3054
  case $ac_file in
2937
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
 
3055
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2938
3056
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2939
3057
          break;;
2940
3058
    * ) break;;
2941
3059
  esac
2942
3060
done
2943
3061
else
2944
 
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 
3062
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3063
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3064
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2945
3065
See \`config.log' for more details." >&5
2946
 
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
 
3066
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2947
3067
See \`config.log' for more details." >&2;}
2948
 
   { (exit 1); exit 1; }; }
 
3068
   { (exit 1); exit 1; }; }; }
2949
3069
fi
2950
3070
 
2951
3071
rm -f conftest$ac_cv_exeext
2952
 
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2953
 
echo "${ECHO_T}$ac_cv_exeext" >&6; }
 
3072
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
 
3073
$as_echo "$ac_cv_exeext" >&6; }
2954
3074
 
2955
3075
rm -f conftest.$ac_ext
2956
3076
EXEEXT=$ac_cv_exeext
2957
3077
ac_exeext=$EXEEXT
2958
 
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2959
 
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
 
3078
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
 
3079
$as_echo_n "checking for suffix of object files... " >&6; }
2960
3080
if test "${ac_cv_objext+set}" = set; then
2961
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3081
  $as_echo_n "(cached) " >&6
2962
3082
else
2963
3083
  cat >conftest.$ac_ext <<_ACEOF
2964
3084
/* confdefs.h.  */
2981
3101
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2982
3102
  *) ac_try_echo=$ac_try;;
2983
3103
esac
2984
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3104
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3105
$as_echo "$ac_try_echo") >&5
2985
3106
  (eval "$ac_compile") 2>&5
2986
3107
  ac_status=$?
2987
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3108
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2988
3109
  (exit $ac_status); }; then
2989
3110
  for ac_file in conftest.o conftest.obj conftest.*; do
2990
3111
  test -f "$ac_file" || continue;
2991
3112
  case $ac_file in
2992
 
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
 
3113
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2993
3114
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2994
3115
       break;;
2995
3116
  esac
2996
3117
done
2997
3118
else
2998
 
  echo "$as_me: failed program was:" >&5
 
3119
  $as_echo "$as_me: failed program was:" >&5
2999
3120
sed 's/^/| /' conftest.$ac_ext >&5
3000
3121
 
3001
 
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
 
3122
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
3123
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
3124
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3002
3125
See \`config.log' for more details." >&5
3003
 
echo "$as_me: error: cannot compute suffix of object files: cannot compile
 
3126
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3004
3127
See \`config.log' for more details." >&2;}
3005
 
   { (exit 1); exit 1; }; }
 
3128
   { (exit 1); exit 1; }; }; }
3006
3129
fi
3007
3130
 
3008
3131
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3009
3132
fi
3010
 
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3011
 
echo "${ECHO_T}$ac_cv_objext" >&6; }
 
3133
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
 
3134
$as_echo "$ac_cv_objext" >&6; }
3012
3135
OBJEXT=$ac_cv_objext
3013
3136
ac_objext=$OBJEXT
3014
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3015
 
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
 
3137
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
 
3138
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3016
3139
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3017
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3140
  $as_echo_n "(cached) " >&6
3018
3141
else
3019
3142
  cat >conftest.$ac_ext <<_ACEOF
3020
3143
/* confdefs.h.  */
3040
3163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3041
3164
  *) ac_try_echo=$ac_try;;
3042
3165
esac
3043
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3166
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3167
$as_echo "$ac_try_echo") >&5
3044
3168
  (eval "$ac_compile") 2>conftest.er1
3045
3169
  ac_status=$?
3046
3170
  grep -v '^ *+' conftest.er1 >conftest.err
3047
3171
  rm -f conftest.er1
3048
3172
  cat conftest.err >&5
3049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3173
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050
3174
  (exit $ac_status); } && {
3051
3175
         test -z "$ac_c_werror_flag" ||
3052
3176
         test ! -s conftest.err
3053
3177
       } && test -s conftest.$ac_objext; then
3054
3178
  ac_compiler_gnu=yes
3055
3179
else
3056
 
  echo "$as_me: failed program was:" >&5
 
3180
  $as_echo "$as_me: failed program was:" >&5
3057
3181
sed 's/^/| /' conftest.$ac_ext >&5
3058
3182
 
3059
3183
        ac_compiler_gnu=no
3063
3187
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3064
3188
 
3065
3189
fi
3066
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3067
 
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3068
 
GCC=`test $ac_compiler_gnu = yes && echo yes`
 
3190
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
 
3191
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
3192
if test $ac_compiler_gnu = yes; then
 
3193
  GCC=yes
 
3194
else
 
3195
  GCC=
 
3196
fi
3069
3197
ac_test_CFLAGS=${CFLAGS+set}
3070
3198
ac_save_CFLAGS=$CFLAGS
3071
 
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3072
 
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
 
3199
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
 
3200
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3073
3201
if test "${ac_cv_prog_cc_g+set}" = set; then
3074
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3202
  $as_echo_n "(cached) " >&6
3075
3203
else
3076
3204
  ac_save_c_werror_flag=$ac_c_werror_flag
3077
3205
   ac_c_werror_flag=yes
3098
3226
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099
3227
  *) ac_try_echo=$ac_try;;
3100
3228
esac
3101
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3229
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3230
$as_echo "$ac_try_echo") >&5
3102
3231
  (eval "$ac_compile") 2>conftest.er1
3103
3232
  ac_status=$?
3104
3233
  grep -v '^ *+' conftest.er1 >conftest.err
3105
3234
  rm -f conftest.er1
3106
3235
  cat conftest.err >&5
3107
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3236
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108
3237
  (exit $ac_status); } && {
3109
3238
         test -z "$ac_c_werror_flag" ||
3110
3239
         test ! -s conftest.err
3111
3240
       } && test -s conftest.$ac_objext; then
3112
3241
  ac_cv_prog_cc_g=yes
3113
3242
else
3114
 
  echo "$as_me: failed program was:" >&5
 
3243
  $as_echo "$as_me: failed program was:" >&5
3115
3244
sed 's/^/| /' conftest.$ac_ext >&5
3116
3245
 
3117
3246
        CFLAGS=""
3136
3265
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137
3266
  *) ac_try_echo=$ac_try;;
3138
3267
esac
3139
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3268
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3269
$as_echo "$ac_try_echo") >&5
3140
3270
  (eval "$ac_compile") 2>conftest.er1
3141
3271
  ac_status=$?
3142
3272
  grep -v '^ *+' conftest.er1 >conftest.err
3143
3273
  rm -f conftest.er1
3144
3274
  cat conftest.err >&5
3145
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3275
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146
3276
  (exit $ac_status); } && {
3147
3277
         test -z "$ac_c_werror_flag" ||
3148
3278
         test ! -s conftest.err
3149
3279
       } && test -s conftest.$ac_objext; then
3150
3280
  :
3151
3281
else
3152
 
  echo "$as_me: failed program was:" >&5
 
3282
  $as_echo "$as_me: failed program was:" >&5
3153
3283
sed 's/^/| /' conftest.$ac_ext >&5
3154
3284
 
3155
3285
        ac_c_werror_flag=$ac_save_c_werror_flag
3175
3305
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3176
3306
  *) ac_try_echo=$ac_try;;
3177
3307
esac
3178
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3308
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3309
$as_echo "$ac_try_echo") >&5
3179
3310
  (eval "$ac_compile") 2>conftest.er1
3180
3311
  ac_status=$?
3181
3312
  grep -v '^ *+' conftest.er1 >conftest.err
3182
3313
  rm -f conftest.er1
3183
3314
  cat conftest.err >&5
3184
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3315
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185
3316
  (exit $ac_status); } && {
3186
3317
         test -z "$ac_c_werror_flag" ||
3187
3318
         test ! -s conftest.err
3188
3319
       } && test -s conftest.$ac_objext; then
3189
3320
  ac_cv_prog_cc_g=yes
3190
3321
else
3191
 
  echo "$as_me: failed program was:" >&5
 
3322
  $as_echo "$as_me: failed program was:" >&5
3192
3323
sed 's/^/| /' conftest.$ac_ext >&5
3193
3324
 
3194
3325
 
3203
3334
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3204
3335
   ac_c_werror_flag=$ac_save_c_werror_flag
3205
3336
fi
3206
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3207
 
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
 
3337
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
 
3338
$as_echo "$ac_cv_prog_cc_g" >&6; }
3208
3339
if test "$ac_test_CFLAGS" = set; then
3209
3340
  CFLAGS=$ac_save_CFLAGS
3210
3341
elif test $ac_cv_prog_cc_g = yes; then
3220
3351
    CFLAGS=
3221
3352
  fi
3222
3353
fi
3223
 
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3224
 
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
 
3354
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
 
3355
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3225
3356
if test "${ac_cv_prog_cc_c89+set}" = set; then
3226
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3357
  $as_echo_n "(cached) " >&6
3227
3358
else
3228
3359
  ac_cv_prog_cc_c89=no
3229
3360
ac_save_CC=$CC
3294
3425
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295
3426
  *) ac_try_echo=$ac_try;;
3296
3427
esac
3297
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
3428
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
3429
$as_echo "$ac_try_echo") >&5
3298
3430
  (eval "$ac_compile") 2>conftest.er1
3299
3431
  ac_status=$?
3300
3432
  grep -v '^ *+' conftest.er1 >conftest.err
3301
3433
  rm -f conftest.er1
3302
3434
  cat conftest.err >&5
3303
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
3435
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304
3436
  (exit $ac_status); } && {
3305
3437
         test -z "$ac_c_werror_flag" ||
3306
3438
         test ! -s conftest.err
3307
3439
       } && test -s conftest.$ac_objext; then
3308
3440
  ac_cv_prog_cc_c89=$ac_arg
3309
3441
else
3310
 
  echo "$as_me: failed program was:" >&5
 
3442
  $as_echo "$as_me: failed program was:" >&5
3311
3443
sed 's/^/| /' conftest.$ac_ext >&5
3312
3444
 
3313
3445
 
3323
3455
# AC_CACHE_VAL
3324
3456
case "x$ac_cv_prog_cc_c89" in
3325
3457
  x)
3326
 
    { echo "$as_me:$LINENO: result: none needed" >&5
3327
 
echo "${ECHO_T}none needed" >&6; } ;;
 
3458
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
 
3459
$as_echo "none needed" >&6; } ;;
3328
3460
  xno)
3329
 
    { echo "$as_me:$LINENO: result: unsupported" >&5
3330
 
echo "${ECHO_T}unsupported" >&6; } ;;
 
3461
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
 
3462
$as_echo "unsupported" >&6; } ;;
3331
3463
  *)
3332
3464
    CC="$CC $ac_cv_prog_cc_c89"
3333
 
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3334
 
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
 
3465
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
 
3466
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3335
3467
esac
3336
3468
 
3337
3469
 
3352
3484
.PHONY: am__doit
3353
3485
END
3354
3486
# If we don't find an include directive, just comment out the code.
3355
 
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3356
 
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
 
3487
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
3488
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3357
3489
am__include="#"
3358
3490
am__quote=
3359
3491
_am_result=none
3380
3512
fi
3381
3513
 
3382
3514
 
3383
 
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3384
 
echo "${ECHO_T}$_am_result" >&6; }
 
3515
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
 
3516
$as_echo "$_am_result" >&6; }
3385
3517
rm -f confinc confmf
3386
3518
 
3387
3519
# Check whether --enable-dependency-tracking was given.
3393
3525
  am_depcomp="$ac_aux_dir/depcomp"
3394
3526
  AMDEPBACKSLASH='\'
3395
3527
fi
3396
 
 
3397
 
 
3398
 
if test "x$enable_dependency_tracking" != xno; then
 
3528
 if test "x$enable_dependency_tracking" != xno; then
3399
3529
  AMDEP_TRUE=
3400
3530
  AMDEP_FALSE='#'
3401
3531
else
3405
3535
 
3406
3536
 
3407
3537
 
3408
 
 
3409
3538
depcc="$CC"   am_compiler_list=
3410
3539
 
3411
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3412
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
 
3540
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3541
$as_echo_n "checking dependency style of $depcc... " >&6; }
3413
3542
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3414
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3543
  $as_echo_n "(cached) " >&6
3415
3544
else
3416
3545
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3417
3546
  # We make a subdir and do the tests there.  Otherwise we can end up
3473
3602
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3474
3603
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3475
3604
         >/dev/null 2>conftest.err &&
 
3605
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3476
3606
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3477
3607
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3478
3608
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3498
3628
fi
3499
3629
 
3500
3630
fi
3501
 
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3502
 
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
 
3631
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3632
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3503
3633
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3504
3634
 
3505
 
 
3506
 
 
3507
 
if
 
3635
 if
3508
3636
  test "x$enable_dependency_tracking" != xno \
3509
3637
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3510
3638
  am__fastdepCC_TRUE=
3528
3656
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3529
3657
# OS/2's system install, which has a completely different semantic
3530
3658
# ./install, which can be erroneously created by make from ./install.sh.
3531
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3532
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
3659
# Reject install programs that cannot install multiple files.
 
3660
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
3661
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3533
3662
if test -z "$INSTALL"; then
3534
3663
if test "${ac_cv_path_install+set}" = set; then
3535
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3664
  $as_echo_n "(cached) " >&6
3536
3665
else
3537
3666
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3538
3667
for as_dir in $PATH
3561
3690
            # program-specific install script used by HP pwplus--don't use.
3562
3691
            :
3563
3692
          else
3564
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3565
 
            break 3
 
3693
            rm -rf conftest.one conftest.two conftest.dir
 
3694
            echo one > conftest.one
 
3695
            echo two > conftest.two
 
3696
            mkdir conftest.dir
 
3697
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
3698
              test -s conftest.one && test -s conftest.two &&
 
3699
              test -s conftest.dir/conftest.one &&
 
3700
              test -s conftest.dir/conftest.two
 
3701
            then
 
3702
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
3703
              break 3
 
3704
            fi
3566
3705
          fi
3567
3706
        fi
3568
3707
      done
3569
3708
    done
3570
3709
    ;;
3571
3710
esac
 
3711
 
3572
3712
done
3573
3713
IFS=$as_save_IFS
3574
3714
 
 
3715
rm -rf conftest.one conftest.two conftest.dir
3575
3716
 
3576
3717
fi
3577
3718
  if test "${ac_cv_path_install+set}" = set; then
3584
3725
    INSTALL=$ac_install_sh
3585
3726
  fi
3586
3727
fi
3587
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3588
 
echo "${ECHO_T}$INSTALL" >&6; }
 
3728
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
 
3729
$as_echo "$INSTALL" >&6; }
3589
3730
 
3590
3731
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3591
3732
# It thinks the first close brace ends the variable substitution.
3595
3736
 
3596
3737
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3597
3738
 
3598
 
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3599
 
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3600
 
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
3739
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
3740
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
3741
set x ${MAKE-make}
 
3742
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3601
3743
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3602
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3744
  $as_echo_n "(cached) " >&6
3603
3745
else
3604
3746
  cat >conftest.make <<\_ACEOF
3605
3747
SHELL = /bin/sh
3616
3758
rm -f conftest.make
3617
3759
fi
3618
3760
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3619
 
  { echo "$as_me:$LINENO: result: yes" >&5
3620
 
echo "${ECHO_T}yes" >&6; }
 
3761
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
3762
$as_echo "yes" >&6; }
3621
3763
  SET_MAKE=
3622
3764
else
3623
 
  { echo "$as_me:$LINENO: result: no" >&5
3624
 
echo "${ECHO_T}no" >&6; }
 
3765
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3766
$as_echo "no" >&6; }
3625
3767
  SET_MAKE="MAKE=${MAKE-make}"
3626
3768
fi
3627
3769
 
3628
 
 
3629
 
 
3630
 
# Check whether --enable-shared was given.
3631
 
if test "${enable_shared+set}" = set; then
3632
 
  enableval=$enable_shared; p=${PACKAGE-default}
3633
 
    case $enableval in
3634
 
    yes) enable_shared=yes ;;
3635
 
    no) enable_shared=no ;;
3636
 
    *)
3637
 
      enable_shared=no
3638
 
      # Look at the argument we got.  We use all the common list separators.
3639
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3640
 
      for pkg in $enableval; do
3641
 
        IFS="$lt_save_ifs"
3642
 
        if test "X$pkg" = "X$p"; then
3643
 
          enable_shared=yes
3644
 
        fi
3645
 
      done
3646
 
      IFS="$lt_save_ifs"
3647
 
      ;;
3648
 
    esac
3649
 
else
3650
 
  enable_shared=yes
3651
 
fi
3652
 
 
3653
 
 
3654
 
# Check whether --enable-static was given.
3655
 
if test "${enable_static+set}" = set; then
3656
 
  enableval=$enable_static; p=${PACKAGE-default}
3657
 
    case $enableval in
3658
 
    yes) enable_static=yes ;;
3659
 
    no) enable_static=no ;;
3660
 
    *)
3661
 
     enable_static=no
3662
 
      # Look at the argument we got.  We use all the common list separators.
3663
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3664
 
      for pkg in $enableval; do
3665
 
        IFS="$lt_save_ifs"
3666
 
        if test "X$pkg" = "X$p"; then
3667
 
          enable_static=yes
3668
 
        fi
3669
 
      done
3670
 
      IFS="$lt_save_ifs"
3671
 
      ;;
3672
 
    esac
3673
 
else
3674
 
  enable_static=yes
3675
 
fi
3676
 
 
3677
 
 
3678
 
# Check whether --enable-fast-install was given.
3679
 
if test "${enable_fast_install+set}" = set; then
3680
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
3681
 
    case $enableval in
3682
 
    yes) enable_fast_install=yes ;;
3683
 
    no) enable_fast_install=no ;;
3684
 
    *)
3685
 
      enable_fast_install=no
3686
 
      # Look at the argument we got.  We use all the common list separators.
3687
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3688
 
      for pkg in $enableval; do
3689
 
        IFS="$lt_save_ifs"
3690
 
        if test "X$pkg" = "X$p"; then
3691
 
          enable_fast_install=yes
3692
 
        fi
3693
 
      done
3694
 
      IFS="$lt_save_ifs"
3695
 
      ;;
3696
 
    esac
3697
 
else
3698
 
  enable_fast_install=yes
3699
 
fi
3700
 
 
3701
 
 
3702
3770
# Make sure we can run config.sub.
3703
3771
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3704
 
  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3705
 
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
 
3772
  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
 
3773
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3706
3774
   { (exit 1); exit 1; }; }
3707
3775
 
3708
 
{ echo "$as_me:$LINENO: checking build system type" >&5
3709
 
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
 
3776
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
 
3777
$as_echo_n "checking build system type... " >&6; }
3710
3778
if test "${ac_cv_build+set}" = set; then
3711
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3779
  $as_echo_n "(cached) " >&6
3712
3780
else
3713
3781
  ac_build_alias=$build_alias
3714
3782
test "x$ac_build_alias" = x &&
3715
3783
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3716
3784
test "x$ac_build_alias" = x &&
3717
 
  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3718
 
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
 
3785
  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
 
3786
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3719
3787
   { (exit 1); exit 1; }; }
3720
3788
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3721
 
  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3722
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
 
3789
  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
 
3790
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3723
3791
   { (exit 1); exit 1; }; }
3724
3792
 
3725
3793
fi
3726
 
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3727
 
echo "${ECHO_T}$ac_cv_build" >&6; }
 
3794
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
 
3795
$as_echo "$ac_cv_build" >&6; }
3728
3796
case $ac_cv_build in
3729
3797
*-*-*) ;;
3730
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3731
 
echo "$as_me: error: invalid value of canonical build" >&2;}
 
3798
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
 
3799
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3732
3800
   { (exit 1); exit 1; }; };;
3733
3801
esac
3734
3802
build=$ac_cv_build
3745
3813
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3746
3814
 
3747
3815
 
3748
 
{ echo "$as_me:$LINENO: checking host system type" >&5
3749
 
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
 
3816
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
 
3817
$as_echo_n "checking host system type... " >&6; }
3750
3818
if test "${ac_cv_host+set}" = set; then
3751
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3819
  $as_echo_n "(cached) " >&6
3752
3820
else
3753
3821
  if test "x$host_alias" = x; then
3754
3822
  ac_cv_host=$ac_cv_build
3755
3823
else
3756
3824
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3757
 
    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3758
 
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
 
3825
    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
 
3826
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3759
3827
   { (exit 1); exit 1; }; }
3760
3828
fi
3761
3829
 
3762
3830
fi
3763
 
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3764
 
echo "${ECHO_T}$ac_cv_host" >&6; }
 
3831
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
 
3832
$as_echo "$ac_cv_host" >&6; }
3765
3833
case $ac_cv_host in
3766
3834
*-*-*) ;;
3767
 
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3768
 
echo "$as_me: error: invalid value of canonical host" >&2;}
 
3835
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
 
3836
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3769
3837
   { (exit 1); exit 1; }; };;
3770
3838
esac
3771
3839
host=$ac_cv_host
3782
3850
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3783
3851
 
3784
3852
 
3785
 
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3786
 
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3787
 
if test "${lt_cv_path_SED+set}" = set; then
3788
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3789
 
else
3790
 
  # Loop through the user's path and test for sed and gsed.
3791
 
# Then use that list of sed's as ones to test for truncation.
3792
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793
 
for as_dir in $PATH
3794
 
do
3795
 
  IFS=$as_save_IFS
3796
 
  test -z "$as_dir" && as_dir=.
3797
 
  for lt_ac_prog in sed gsed; do
 
3853
enable_win32_dll=yes
 
3854
 
 
3855
case $host in
 
3856
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
3857
  if test -n "$ac_tool_prefix"; then
 
3858
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
 
3859
set dummy ${ac_tool_prefix}as; ac_word=$2
 
3860
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3861
$as_echo_n "checking for $ac_word... " >&6; }
 
3862
if test "${ac_cv_prog_AS+set}" = set; then
 
3863
  $as_echo_n "(cached) " >&6
 
3864
else
 
3865
  if test -n "$AS"; then
 
3866
  ac_cv_prog_AS="$AS" # Let the user override the test.
 
3867
else
 
3868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3869
for as_dir in $PATH
 
3870
do
 
3871
  IFS=$as_save_IFS
 
3872
  test -z "$as_dir" && as_dir=.
 
3873
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3874
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3875
    ac_cv_prog_AS="${ac_tool_prefix}as"
 
3876
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3877
    break 2
 
3878
  fi
 
3879
done
 
3880
done
 
3881
IFS=$as_save_IFS
 
3882
 
 
3883
fi
 
3884
fi
 
3885
AS=$ac_cv_prog_AS
 
3886
if test -n "$AS"; then
 
3887
  { $as_echo "$as_me:$LINENO: result: $AS" >&5
 
3888
$as_echo "$AS" >&6; }
 
3889
else
 
3890
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3891
$as_echo "no" >&6; }
 
3892
fi
 
3893
 
 
3894
 
 
3895
fi
 
3896
if test -z "$ac_cv_prog_AS"; then
 
3897
  ac_ct_AS=$AS
 
3898
  # Extract the first word of "as", so it can be a program name with args.
 
3899
set dummy as; ac_word=$2
 
3900
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3901
$as_echo_n "checking for $ac_word... " >&6; }
 
3902
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
 
3903
  $as_echo_n "(cached) " >&6
 
3904
else
 
3905
  if test -n "$ac_ct_AS"; then
 
3906
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
 
3907
else
 
3908
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3909
for as_dir in $PATH
 
3910
do
 
3911
  IFS=$as_save_IFS
 
3912
  test -z "$as_dir" && as_dir=.
 
3913
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3914
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3915
    ac_cv_prog_ac_ct_AS="as"
 
3916
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3917
    break 2
 
3918
  fi
 
3919
done
 
3920
done
 
3921
IFS=$as_save_IFS
 
3922
 
 
3923
fi
 
3924
fi
 
3925
ac_ct_AS=$ac_cv_prog_ac_ct_AS
 
3926
if test -n "$ac_ct_AS"; then
 
3927
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
 
3928
$as_echo "$ac_ct_AS" >&6; }
 
3929
else
 
3930
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3931
$as_echo "no" >&6; }
 
3932
fi
 
3933
 
 
3934
  if test "x$ac_ct_AS" = x; then
 
3935
    AS="false"
 
3936
  else
 
3937
    case $cross_compiling:$ac_tool_warned in
 
3938
yes:)
 
3939
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
3940
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
3941
ac_tool_warned=yes ;;
 
3942
esac
 
3943
    AS=$ac_ct_AS
 
3944
  fi
 
3945
else
 
3946
  AS="$ac_cv_prog_AS"
 
3947
fi
 
3948
 
 
3949
  if test -n "$ac_tool_prefix"; then
 
3950
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
3951
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
3952
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3953
$as_echo_n "checking for $ac_word... " >&6; }
 
3954
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
 
3955
  $as_echo_n "(cached) " >&6
 
3956
else
 
3957
  if test -n "$DLLTOOL"; then
 
3958
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
3959
else
 
3960
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
3961
for as_dir in $PATH
 
3962
do
 
3963
  IFS=$as_save_IFS
 
3964
  test -z "$as_dir" && as_dir=.
 
3965
  for ac_exec_ext in '' $ac_executable_extensions; do
 
3966
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3967
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
3968
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
3969
    break 2
 
3970
  fi
 
3971
done
 
3972
done
 
3973
IFS=$as_save_IFS
 
3974
 
 
3975
fi
 
3976
fi
 
3977
DLLTOOL=$ac_cv_prog_DLLTOOL
 
3978
if test -n "$DLLTOOL"; then
 
3979
  { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
 
3980
$as_echo "$DLLTOOL" >&6; }
 
3981
else
 
3982
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
3983
$as_echo "no" >&6; }
 
3984
fi
 
3985
 
 
3986
 
 
3987
fi
 
3988
if test -z "$ac_cv_prog_DLLTOOL"; then
 
3989
  ac_ct_DLLTOOL=$DLLTOOL
 
3990
  # Extract the first word of "dlltool", so it can be a program name with args.
 
3991
set dummy dlltool; ac_word=$2
 
3992
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
3993
$as_echo_n "checking for $ac_word... " >&6; }
 
3994
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
 
3995
  $as_echo_n "(cached) " >&6
 
3996
else
 
3997
  if test -n "$ac_ct_DLLTOOL"; then
 
3998
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
3999
else
 
4000
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4001
for as_dir in $PATH
 
4002
do
 
4003
  IFS=$as_save_IFS
 
4004
  test -z "$as_dir" && as_dir=.
 
4005
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4006
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4007
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
4008
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4009
    break 2
 
4010
  fi
 
4011
done
 
4012
done
 
4013
IFS=$as_save_IFS
 
4014
 
 
4015
fi
 
4016
fi
 
4017
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
4018
if test -n "$ac_ct_DLLTOOL"; then
 
4019
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
 
4020
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
4021
else
 
4022
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4023
$as_echo "no" >&6; }
 
4024
fi
 
4025
 
 
4026
  if test "x$ac_ct_DLLTOOL" = x; then
 
4027
    DLLTOOL="false"
 
4028
  else
 
4029
    case $cross_compiling:$ac_tool_warned in
 
4030
yes:)
 
4031
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4032
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4033
ac_tool_warned=yes ;;
 
4034
esac
 
4035
    DLLTOOL=$ac_ct_DLLTOOL
 
4036
  fi
 
4037
else
 
4038
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
4039
fi
 
4040
 
 
4041
  if test -n "$ac_tool_prefix"; then
 
4042
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
4043
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
4044
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4045
$as_echo_n "checking for $ac_word... " >&6; }
 
4046
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
4047
  $as_echo_n "(cached) " >&6
 
4048
else
 
4049
  if test -n "$OBJDUMP"; then
 
4050
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
4051
else
 
4052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4053
for as_dir in $PATH
 
4054
do
 
4055
  IFS=$as_save_IFS
 
4056
  test -z "$as_dir" && as_dir=.
 
4057
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4058
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4059
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
4060
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4061
    break 2
 
4062
  fi
 
4063
done
 
4064
done
 
4065
IFS=$as_save_IFS
 
4066
 
 
4067
fi
 
4068
fi
 
4069
OBJDUMP=$ac_cv_prog_OBJDUMP
 
4070
if test -n "$OBJDUMP"; then
 
4071
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
4072
$as_echo "$OBJDUMP" >&6; }
 
4073
else
 
4074
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4075
$as_echo "no" >&6; }
 
4076
fi
 
4077
 
 
4078
 
 
4079
fi
 
4080
if test -z "$ac_cv_prog_OBJDUMP"; then
 
4081
  ac_ct_OBJDUMP=$OBJDUMP
 
4082
  # Extract the first word of "objdump", so it can be a program name with args.
 
4083
set dummy objdump; ac_word=$2
 
4084
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4085
$as_echo_n "checking for $ac_word... " >&6; }
 
4086
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
4087
  $as_echo_n "(cached) " >&6
 
4088
else
 
4089
  if test -n "$ac_ct_OBJDUMP"; then
 
4090
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
4091
else
 
4092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4093
for as_dir in $PATH
 
4094
do
 
4095
  IFS=$as_save_IFS
 
4096
  test -z "$as_dir" && as_dir=.
 
4097
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4098
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4099
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
4100
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4101
    break 2
 
4102
  fi
 
4103
done
 
4104
done
 
4105
IFS=$as_save_IFS
 
4106
 
 
4107
fi
 
4108
fi
 
4109
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
4110
if test -n "$ac_ct_OBJDUMP"; then
 
4111
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
4112
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
4113
else
 
4114
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4115
$as_echo "no" >&6; }
 
4116
fi
 
4117
 
 
4118
  if test "x$ac_ct_OBJDUMP" = x; then
 
4119
    OBJDUMP="false"
 
4120
  else
 
4121
    case $cross_compiling:$ac_tool_warned in
 
4122
yes:)
 
4123
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4124
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4125
ac_tool_warned=yes ;;
 
4126
esac
 
4127
    OBJDUMP=$ac_ct_OBJDUMP
 
4128
  fi
 
4129
else
 
4130
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
4131
fi
 
4132
 
 
4133
  ;;
 
4134
esac
 
4135
 
 
4136
test -z "$AS" && AS=as
 
4137
 
 
4138
 
 
4139
 
 
4140
 
 
4141
 
 
4142
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
4143
 
 
4144
 
 
4145
 
 
4146
 
 
4147
 
 
4148
test -z "$OBJDUMP" && OBJDUMP=objdump
 
4149
 
 
4150
 
 
4151
 
 
4152
 
 
4153
 
 
4154
 
 
4155
 
 
4156
case `pwd` in
 
4157
  *\ * | *\     *)
 
4158
    { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
4159
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
4160
esac
 
4161
 
 
4162
 
 
4163
 
 
4164
macro_version='2.2.6'
 
4165
macro_revision='1.3012'
 
4166
 
 
4167
 
 
4168
 
 
4169
 
 
4170
 
 
4171
 
 
4172
 
 
4173
 
 
4174
 
 
4175
 
 
4176
 
 
4177
 
 
4178
 
 
4179
ltmain="$ac_aux_dir/ltmain.sh"
 
4180
 
 
4181
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
 
4182
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
4183
if test "${ac_cv_path_SED+set}" = set; then
 
4184
  $as_echo_n "(cached) " >&6
 
4185
else
 
4186
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
4187
     for ac_i in 1 2 3 4 5 6 7; do
 
4188
       ac_script="$ac_script$as_nl$ac_script"
 
4189
     done
 
4190
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
4191
     $as_unset ac_script || ac_script=
 
4192
     if test -z "$SED"; then
 
4193
  ac_path_SED_found=false
 
4194
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4195
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4196
for as_dir in $PATH
 
4197
do
 
4198
  IFS=$as_save_IFS
 
4199
  test -z "$as_dir" && as_dir=.
 
4200
  for ac_prog in sed gsed; do
3798
4201
    for ac_exec_ext in '' $ac_executable_extensions; do
3799
 
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3800
 
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3801
 
      fi
 
4202
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
4203
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
4204
# Check for GNU ac_path_SED and select it if it is found.
 
4205
  # Check for GNU $ac_path_SED
 
4206
case `"$ac_path_SED" --version 2>&1` in
 
4207
*GNU*)
 
4208
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
4209
*)
 
4210
  ac_count=0
 
4211
  $as_echo_n 0123456789 >"conftest.in"
 
4212
  while :
 
4213
  do
 
4214
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4215
    mv "conftest.tmp" "conftest.in"
 
4216
    cp "conftest.in" "conftest.nl"
 
4217
    $as_echo '' >> "conftest.nl"
 
4218
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4219
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4220
    ac_count=`expr $ac_count + 1`
 
4221
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
4222
      # Best one so far, save it but keep looking for a better one
 
4223
      ac_cv_path_SED="$ac_path_SED"
 
4224
      ac_path_SED_max=$ac_count
 
4225
    fi
 
4226
    # 10*(2^10) chars as input seems more than enough
 
4227
    test $ac_count -gt 10 && break
 
4228
  done
 
4229
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4230
esac
 
4231
 
 
4232
      $ac_path_SED_found && break 3
3802
4233
    done
3803
4234
  done
3804
4235
done
3805
4236
IFS=$as_save_IFS
3806
 
lt_ac_max=0
3807
 
lt_ac_count=0
3808
 
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3809
 
# along with /bin/sed that truncates output.
3810
 
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3811
 
  test ! -f $lt_ac_sed && continue
3812
 
  cat /dev/null > conftest.in
3813
 
  lt_ac_count=0
3814
 
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3815
 
  # Check for GNU sed and select it if it is found.
3816
 
  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3817
 
    lt_cv_path_SED=$lt_ac_sed
3818
 
    break
 
4237
  if test -z "$ac_cv_path_SED"; then
 
4238
    { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
 
4239
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
 
4240
   { (exit 1); exit 1; }; }
3819
4241
  fi
3820
 
  while true; do
3821
 
    cat conftest.in conftest.in >conftest.tmp
3822
 
    mv conftest.tmp conftest.in
3823
 
    cp conftest.in conftest.nl
3824
 
    echo >>conftest.nl
3825
 
    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3826
 
    cmp -s conftest.out conftest.nl || break
3827
 
    # 10000 chars as input seems more than enough
3828
 
    test $lt_ac_count -gt 10 && break
3829
 
    lt_ac_count=`expr $lt_ac_count + 1`
3830
 
    if test $lt_ac_count -gt $lt_ac_max; then
3831
 
      lt_ac_max=$lt_ac_count
3832
 
      lt_cv_path_SED=$lt_ac_sed
3833
 
    fi
3834
 
  done
3835
 
done
3836
 
 
3837
 
fi
3838
 
 
3839
 
SED=$lt_cv_path_SED
3840
 
 
3841
 
{ echo "$as_me:$LINENO: result: $SED" >&5
3842
 
echo "${ECHO_T}$SED" >&6; }
3843
 
 
3844
 
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3845
 
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3846
 
if test "${ac_cv_path_GREP+set}" = set; then
3847
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3848
 
else
3849
 
  # Extract the first word of "grep ggrep" to use in msg output
3850
 
if test -z "$GREP"; then
3851
 
set dummy grep ggrep; ac_prog_name=$2
3852
 
if test "${ac_cv_path_GREP+set}" = set; then
3853
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3854
 
else
 
4242
else
 
4243
  ac_cv_path_SED=$SED
 
4244
fi
 
4245
 
 
4246
fi
 
4247
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
 
4248
$as_echo "$ac_cv_path_SED" >&6; }
 
4249
 SED="$ac_cv_path_SED"
 
4250
  rm -f conftest.sed
 
4251
 
 
4252
test -z "$SED" && SED=sed
 
4253
Xsed="$SED -e 1s/^X//"
 
4254
 
 
4255
 
 
4256
 
 
4257
 
 
4258
 
 
4259
 
 
4260
 
 
4261
 
 
4262
 
 
4263
 
 
4264
 
 
4265
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
 
4266
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
4267
if test "${ac_cv_path_GREP+set}" = set; then
 
4268
  $as_echo_n "(cached) " >&6
 
4269
else
 
4270
  if test -z "$GREP"; then
3855
4271
  ac_path_GREP_found=false
3856
 
# Loop through the user's path and test for each of PROGNAME-LIST
3857
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4272
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4273
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3858
4274
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3859
4275
do
3860
4276
  IFS=$as_save_IFS
3861
4277
  test -z "$as_dir" && as_dir=.
3862
4278
  for ac_prog in grep ggrep; do
3863
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3864
 
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3865
 
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3866
 
    # Check for GNU ac_path_GREP and select it if it is found.
 
4279
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4280
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
4281
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
4282
# Check for GNU ac_path_GREP and select it if it is found.
3867
4283
  # Check for GNU $ac_path_GREP
3868
4284
case `"$ac_path_GREP" --version 2>&1` in
3869
4285
*GNU*)
3870
4286
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3871
4287
*)
3872
4288
  ac_count=0
3873
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4289
  $as_echo_n 0123456789 >"conftest.in"
3874
4290
  while :
3875
4291
  do
3876
4292
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3877
4293
    mv "conftest.tmp" "conftest.in"
3878
4294
    cp "conftest.in" "conftest.nl"
3879
 
    echo 'GREP' >> "conftest.nl"
 
4295
    $as_echo 'GREP' >> "conftest.nl"
3880
4296
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3881
4297
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3882
4298
    ac_count=`expr $ac_count + 1`
3891
4307
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3892
4308
esac
3893
4309
 
3894
 
 
3895
 
    $ac_path_GREP_found && break 3
 
4310
      $ac_path_GREP_found && break 3
 
4311
    done
3896
4312
  done
3897
4313
done
3898
 
 
3899
 
done
3900
4314
IFS=$as_save_IFS
3901
 
 
3902
 
 
3903
 
fi
3904
 
 
3905
 
GREP="$ac_cv_path_GREP"
3906
 
if test -z "$GREP"; then
3907
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3908
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4315
  if test -z "$ac_cv_path_GREP"; then
 
4316
    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4317
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3909
4318
   { (exit 1); exit 1; }; }
3910
 
fi
3911
 
 
 
4319
  fi
3912
4320
else
3913
4321
  ac_cv_path_GREP=$GREP
3914
4322
fi
3915
4323
 
3916
 
 
3917
4324
fi
3918
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3919
 
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
 
4325
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
 
4326
$as_echo "$ac_cv_path_GREP" >&6; }
3920
4327
 GREP="$ac_cv_path_GREP"
3921
4328
 
3922
4329
 
3923
 
{ echo "$as_me:$LINENO: checking for egrep" >&5
3924
 
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
 
4330
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
 
4331
$as_echo_n "checking for egrep... " >&6; }
3925
4332
if test "${ac_cv_path_EGREP+set}" = set; then
3926
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4333
  $as_echo_n "(cached) " >&6
3927
4334
else
3928
4335
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3929
4336
   then ac_cv_path_EGREP="$GREP -E"
3930
4337
   else
3931
 
     # Extract the first word of "egrep" to use in msg output
3932
 
if test -z "$EGREP"; then
3933
 
set dummy egrep; ac_prog_name=$2
3934
 
if test "${ac_cv_path_EGREP+set}" = set; then
3935
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3936
 
else
 
4338
     if test -z "$EGREP"; then
3937
4339
  ac_path_EGREP_found=false
3938
 
# Loop through the user's path and test for each of PROGNAME-LIST
3939
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4340
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4341
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940
4342
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3941
4343
do
3942
4344
  IFS=$as_save_IFS
3943
4345
  test -z "$as_dir" && as_dir=.
3944
4346
  for ac_prog in egrep; do
3945
 
  for ac_exec_ext in '' $ac_executable_extensions; do
3946
 
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3947
 
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3948
 
    # Check for GNU ac_path_EGREP and select it if it is found.
 
4347
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4348
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4349
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
4350
# Check for GNU ac_path_EGREP and select it if it is found.
3949
4351
  # Check for GNU $ac_path_EGREP
3950
4352
case `"$ac_path_EGREP" --version 2>&1` in
3951
4353
*GNU*)
3952
4354
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3953
4355
*)
3954
4356
  ac_count=0
3955
 
  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
 
4357
  $as_echo_n 0123456789 >"conftest.in"
3956
4358
  while :
3957
4359
  do
3958
4360
    cat "conftest.in" "conftest.in" >"conftest.tmp"
3959
4361
    mv "conftest.tmp" "conftest.in"
3960
4362
    cp "conftest.in" "conftest.nl"
3961
 
    echo 'EGREP' >> "conftest.nl"
 
4363
    $as_echo 'EGREP' >> "conftest.nl"
3962
4364
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3963
4365
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3964
4366
    ac_count=`expr $ac_count + 1`
3973
4375
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3974
4376
esac
3975
4377
 
3976
 
 
3977
 
    $ac_path_EGREP_found && break 3
 
4378
      $ac_path_EGREP_found && break 3
 
4379
    done
3978
4380
  done
3979
4381
done
3980
 
 
3981
 
done
3982
4382
IFS=$as_save_IFS
3983
 
 
3984
 
 
3985
 
fi
3986
 
 
3987
 
EGREP="$ac_cv_path_EGREP"
3988
 
if test -z "$EGREP"; then
3989
 
  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3990
 
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4383
  if test -z "$ac_cv_path_EGREP"; then
 
4384
    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4385
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3991
4386
   { (exit 1); exit 1; }; }
3992
 
fi
3993
 
 
 
4387
  fi
3994
4388
else
3995
4389
  ac_cv_path_EGREP=$EGREP
3996
4390
fi
3997
4391
 
3998
 
 
3999
4392
   fi
4000
4393
fi
4001
 
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4002
 
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
 
4394
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
 
4395
$as_echo "$ac_cv_path_EGREP" >&6; }
4003
4396
 EGREP="$ac_cv_path_EGREP"
4004
4397
 
4005
4398
 
 
4399
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
 
4400
$as_echo_n "checking for fgrep... " >&6; }
 
4401
if test "${ac_cv_path_FGREP+set}" = set; then
 
4402
  $as_echo_n "(cached) " >&6
 
4403
else
 
4404
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
4405
   then ac_cv_path_FGREP="$GREP -F"
 
4406
   else
 
4407
     if test -z "$FGREP"; then
 
4408
  ac_path_FGREP_found=false
 
4409
  # Loop through the user's path and test for each of PROGNAME-LIST
 
4410
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4411
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
4412
do
 
4413
  IFS=$as_save_IFS
 
4414
  test -z "$as_dir" && as_dir=.
 
4415
  for ac_prog in fgrep; do
 
4416
    for ac_exec_ext in '' $ac_executable_extensions; do
 
4417
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
4418
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
4419
# Check for GNU ac_path_FGREP and select it if it is found.
 
4420
  # Check for GNU $ac_path_FGREP
 
4421
case `"$ac_path_FGREP" --version 2>&1` in
 
4422
*GNU*)
 
4423
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
4424
*)
 
4425
  ac_count=0
 
4426
  $as_echo_n 0123456789 >"conftest.in"
 
4427
  while :
 
4428
  do
 
4429
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
4430
    mv "conftest.tmp" "conftest.in"
 
4431
    cp "conftest.in" "conftest.nl"
 
4432
    $as_echo 'FGREP' >> "conftest.nl"
 
4433
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
4434
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
4435
    ac_count=`expr $ac_count + 1`
 
4436
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
4437
      # Best one so far, save it but keep looking for a better one
 
4438
      ac_cv_path_FGREP="$ac_path_FGREP"
 
4439
      ac_path_FGREP_max=$ac_count
 
4440
    fi
 
4441
    # 10*(2^10) chars as input seems more than enough
 
4442
    test $ac_count -gt 10 && break
 
4443
  done
 
4444
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
4445
esac
 
4446
 
 
4447
      $ac_path_FGREP_found && break 3
 
4448
    done
 
4449
  done
 
4450
done
 
4451
IFS=$as_save_IFS
 
4452
  if test -z "$ac_cv_path_FGREP"; then
 
4453
    { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
 
4454
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
 
4455
   { (exit 1); exit 1; }; }
 
4456
  fi
 
4457
else
 
4458
  ac_cv_path_FGREP=$FGREP
 
4459
fi
 
4460
 
 
4461
   fi
 
4462
fi
 
4463
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
 
4464
$as_echo "$ac_cv_path_FGREP" >&6; }
 
4465
 FGREP="$ac_cv_path_FGREP"
 
4466
 
 
4467
 
 
4468
test -z "$GREP" && GREP=grep
 
4469
 
 
4470
 
 
4471
 
 
4472
 
 
4473
 
 
4474
 
 
4475
 
 
4476
 
 
4477
 
 
4478
 
 
4479
 
 
4480
 
 
4481
 
 
4482
 
 
4483
 
 
4484
 
 
4485
 
 
4486
 
4006
4487
 
4007
4488
# Check whether --with-gnu-ld was given.
4008
4489
if test "${with_gnu_ld+set}" = set; then
4014
4495
ac_prog=ld
4015
4496
if test "$GCC" = yes; then
4016
4497
  # Check if gcc -print-prog-name=ld gives a path.
4017
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4018
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
 
4498
  { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 
4499
$as_echo_n "checking for ld used by $CC... " >&6; }
4019
4500
  case $host in
4020
4501
  *-*-mingw*)
4021
4502
    # gcc leaves a trailing carriage return which upsets mingw
4028
4509
    [\\/]* | ?:[\\/]*)
4029
4510
      re_direlt='/[^/][^/]*/\.\./'
4030
4511
      # Canonicalize the pathname of ld
4031
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4032
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4033
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 
4512
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
4513
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
4514
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4034
4515
      done
4035
4516
      test -z "$LD" && LD="$ac_prog"
4036
4517
      ;;
4044
4525
    ;;
4045
4526
  esac
4046
4527
elif test "$with_gnu_ld" = yes; then
4047
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4048
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
 
4528
  { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 
4529
$as_echo_n "checking for GNU ld... " >&6; }
4049
4530
else
4050
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4051
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
 
4531
  { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 
4532
$as_echo_n "checking for non-GNU ld... " >&6; }
4052
4533
fi
4053
4534
if test "${lt_cv_path_LD+set}" = set; then
4054
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4535
  $as_echo_n "(cached) " >&6
4055
4536
else
4056
4537
  if test -z "$LD"; then
4057
4538
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4081
4562
 
4082
4563
LD="$lt_cv_path_LD"
4083
4564
if test -n "$LD"; then
4084
 
  { echo "$as_me:$LINENO: result: $LD" >&5
4085
 
echo "${ECHO_T}$LD" >&6; }
 
4565
  { $as_echo "$as_me:$LINENO: result: $LD" >&5
 
4566
$as_echo "$LD" >&6; }
4086
4567
else
4087
 
  { echo "$as_me:$LINENO: result: no" >&5
4088
 
echo "${ECHO_T}no" >&6; }
 
4568
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4569
$as_echo "no" >&6; }
4089
4570
fi
4090
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4091
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 
4571
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 
4572
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4092
4573
   { (exit 1); exit 1; }; }
4093
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4094
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
 
4574
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 
4575
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4095
4576
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4096
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4577
  $as_echo_n "(cached) " >&6
4097
4578
else
4098
4579
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4099
4580
case `$LD -v 2>&1 </dev/null` in
4105
4586
  ;;
4106
4587
esac
4107
4588
fi
4108
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4109
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
 
4589
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 
4590
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4110
4591
with_gnu_ld=$lt_cv_prog_gnu_ld
4111
4592
 
4112
4593
 
4113
 
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4114
 
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4115
 
if test "${lt_cv_ld_reload_flag+set}" = set; then
4116
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4117
 
else
4118
 
  lt_cv_ld_reload_flag='-r'
4119
 
fi
4120
 
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4121
 
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4122
 
reload_flag=$lt_cv_ld_reload_flag
4123
 
case $reload_flag in
4124
 
"" | " "*) ;;
4125
 
*) reload_flag=" $reload_flag" ;;
4126
 
esac
4127
 
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4128
 
case $host_os in
4129
 
  darwin*)
4130
 
    if test "$GCC" = yes; then
4131
 
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4132
 
    else
4133
 
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4134
 
    fi
4135
 
    ;;
4136
 
esac
4137
 
 
4138
 
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4139
 
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
 
4594
 
 
4595
 
 
4596
 
 
4597
 
 
4598
 
 
4599
 
 
4600
 
 
4601
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
 
4602
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4140
4603
if test "${lt_cv_path_NM+set}" = set; then
4141
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4604
  $as_echo_n "(cached) " >&6
4142
4605
else
4143
4606
  if test -n "$NM"; then
4144
4607
  # Let the user override the test.
4181
4644
    done
4182
4645
    IFS="$lt_save_ifs"
4183
4646
  done
4184
 
  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4185
 
fi
4186
 
fi
4187
 
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4188
 
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4189
 
NM="$lt_cv_path_NM"
4190
 
 
4191
 
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4192
 
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
 
4647
  : ${lt_cv_path_NM=no}
 
4648
fi
 
4649
fi
 
4650
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
 
4651
$as_echo "$lt_cv_path_NM" >&6; }
 
4652
if test "$lt_cv_path_NM" != "no"; then
 
4653
  NM="$lt_cv_path_NM"
 
4654
else
 
4655
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
4656
  if test -n "$ac_tool_prefix"; then
 
4657
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4658
  do
 
4659
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
4660
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
4661
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4662
$as_echo_n "checking for $ac_word... " >&6; }
 
4663
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
 
4664
  $as_echo_n "(cached) " >&6
 
4665
else
 
4666
  if test -n "$DUMPBIN"; then
 
4667
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
4668
else
 
4669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4670
for as_dir in $PATH
 
4671
do
 
4672
  IFS=$as_save_IFS
 
4673
  test -z "$as_dir" && as_dir=.
 
4674
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4675
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4676
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
4677
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4678
    break 2
 
4679
  fi
 
4680
done
 
4681
done
 
4682
IFS=$as_save_IFS
 
4683
 
 
4684
fi
 
4685
fi
 
4686
DUMPBIN=$ac_cv_prog_DUMPBIN
 
4687
if test -n "$DUMPBIN"; then
 
4688
  { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
 
4689
$as_echo "$DUMPBIN" >&6; }
 
4690
else
 
4691
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4692
$as_echo "no" >&6; }
 
4693
fi
 
4694
 
 
4695
 
 
4696
    test -n "$DUMPBIN" && break
 
4697
  done
 
4698
fi
 
4699
if test -z "$DUMPBIN"; then
 
4700
  ac_ct_DUMPBIN=$DUMPBIN
 
4701
  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
 
4702
do
 
4703
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
4704
set dummy $ac_prog; ac_word=$2
 
4705
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
4706
$as_echo_n "checking for $ac_word... " >&6; }
 
4707
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
 
4708
  $as_echo_n "(cached) " >&6
 
4709
else
 
4710
  if test -n "$ac_ct_DUMPBIN"; then
 
4711
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
4712
else
 
4713
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4714
for as_dir in $PATH
 
4715
do
 
4716
  IFS=$as_save_IFS
 
4717
  test -z "$as_dir" && as_dir=.
 
4718
  for ac_exec_ext in '' $ac_executable_extensions; do
 
4719
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
4720
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
4721
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
4722
    break 2
 
4723
  fi
 
4724
done
 
4725
done
 
4726
IFS=$as_save_IFS
 
4727
 
 
4728
fi
 
4729
fi
 
4730
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
4731
if test -n "$ac_ct_DUMPBIN"; then
 
4732
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
 
4733
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
4734
else
 
4735
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
4736
$as_echo "no" >&6; }
 
4737
fi
 
4738
 
 
4739
 
 
4740
  test -n "$ac_ct_DUMPBIN" && break
 
4741
done
 
4742
 
 
4743
  if test "x$ac_ct_DUMPBIN" = x; then
 
4744
    DUMPBIN=":"
 
4745
  else
 
4746
    case $cross_compiling:$ac_tool_warned in
 
4747
yes:)
 
4748
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
4749
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
4750
ac_tool_warned=yes ;;
 
4751
esac
 
4752
    DUMPBIN=$ac_ct_DUMPBIN
 
4753
  fi
 
4754
fi
 
4755
 
 
4756
 
 
4757
  if test "$DUMPBIN" != ":"; then
 
4758
    NM="$DUMPBIN"
 
4759
  fi
 
4760
fi
 
4761
test -z "$NM" && NM=nm
 
4762
 
 
4763
 
 
4764
 
 
4765
 
 
4766
 
 
4767
 
 
4768
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
 
4769
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
4770
if test "${lt_cv_nm_interface+set}" = set; then
 
4771
  $as_echo_n "(cached) " >&6
 
4772
else
 
4773
  lt_cv_nm_interface="BSD nm"
 
4774
  echo "int some_variable = 0;" > conftest.$ac_ext
 
4775
  (eval echo "\"\$as_me:4775: $ac_compile\"" >&5)
 
4776
  (eval "$ac_compile" 2>conftest.err)
 
4777
  cat conftest.err >&5
 
4778
  (eval echo "\"\$as_me:4778: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4779
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
4780
  cat conftest.err >&5
 
4781
  (eval echo "\"\$as_me:4781: output\"" >&5)
 
4782
  cat conftest.out >&5
 
4783
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
4784
    lt_cv_nm_interface="MS dumpbin"
 
4785
  fi
 
4786
  rm -f conftest*
 
4787
fi
 
4788
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
 
4789
$as_echo "$lt_cv_nm_interface" >&6; }
 
4790
 
 
4791
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 
4792
$as_echo_n "checking whether ln -s works... " >&6; }
4193
4793
LN_S=$as_ln_s
4194
4794
if test "$LN_S" = "ln -s"; then
4195
 
  { echo "$as_me:$LINENO: result: yes" >&5
4196
 
echo "${ECHO_T}yes" >&6; }
4197
 
else
4198
 
  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4199
 
echo "${ECHO_T}no, using $LN_S" >&6; }
4200
 
fi
4201
 
 
4202
 
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4203
 
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
 
4795
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
4796
$as_echo "yes" >&6; }
 
4797
else
 
4798
  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 
4799
$as_echo "no, using $LN_S" >&6; }
 
4800
fi
 
4801
 
 
4802
# find the maximum length of command line arguments
 
4803
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
 
4804
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
4805
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
 
4806
  $as_echo_n "(cached) " >&6
 
4807
else
 
4808
    i=0
 
4809
  teststring="ABCD"
 
4810
 
 
4811
  case $build_os in
 
4812
  msdosdjgpp*)
 
4813
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
4814
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
4815
    # during glob expansion).  Even if it were fixed, the result of this
 
4816
    # check would be larger than it should be.
 
4817
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
4818
    ;;
 
4819
 
 
4820
  gnu*)
 
4821
    # Under GNU Hurd, this test is not required because there is
 
4822
    # no limit to the length of command line arguments.
 
4823
    # Libtool will interpret -1 as no limit whatsoever
 
4824
    lt_cv_sys_max_cmd_len=-1;
 
4825
    ;;
 
4826
 
 
4827
  cygwin* | mingw* | cegcc*)
 
4828
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
4829
    # about 5 minutes as the teststring grows exponentially.
 
4830
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
4831
    # you end up with a "frozen" computer, even though with patience
 
4832
    # the test eventually succeeds (with a max line length of 256k).
 
4833
    # Instead, let's just punt: use the minimum linelength reported by
 
4834
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
4835
    lt_cv_sys_max_cmd_len=8192;
 
4836
    ;;
 
4837
 
 
4838
  amigaos*)
 
4839
    # On AmigaOS with pdksh, this test takes hours, literally.
 
4840
    # So we just punt and use a minimum line length of 8192.
 
4841
    lt_cv_sys_max_cmd_len=8192;
 
4842
    ;;
 
4843
 
 
4844
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
4845
    # This has been around since 386BSD, at least.  Likely further.
 
4846
    if test -x /sbin/sysctl; then
 
4847
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
4848
    elif test -x /usr/sbin/sysctl; then
 
4849
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
4850
    else
 
4851
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
4852
    fi
 
4853
    # And add a safety zone
 
4854
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4855
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4856
    ;;
 
4857
 
 
4858
  interix*)
 
4859
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
4860
    lt_cv_sys_max_cmd_len=196608
 
4861
    ;;
 
4862
 
 
4863
  osf*)
 
4864
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
4865
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
4866
    # nice to cause kernel panics so lets avoid the loop below.
 
4867
    # First set a reasonable default.
 
4868
    lt_cv_sys_max_cmd_len=16384
 
4869
    #
 
4870
    if test -x /sbin/sysconfig; then
 
4871
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
4872
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
4873
      esac
 
4874
    fi
 
4875
    ;;
 
4876
  sco3.2v5*)
 
4877
    lt_cv_sys_max_cmd_len=102400
 
4878
    ;;
 
4879
  sysv5* | sco5v6* | sysv4.2uw2*)
 
4880
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
4881
    if test -n "$kargmax"; then
 
4882
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
4883
    else
 
4884
      lt_cv_sys_max_cmd_len=32768
 
4885
    fi
 
4886
    ;;
 
4887
  *)
 
4888
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
4889
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
4890
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
4891
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
4892
    else
 
4893
      # Make teststring a little bigger before we do anything with it.
 
4894
      # a 1K string should be a reasonable start.
 
4895
      for i in 1 2 3 4 5 6 7 8 ; do
 
4896
        teststring=$teststring$teststring
 
4897
      done
 
4898
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
4899
      # If test is not a shell built-in, we'll probably end up computing a
 
4900
      # maximum length that is only half of the actual maximum length, but
 
4901
      # we can't tell.
 
4902
      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
 
4903
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
4904
              test $i != 17 # 1/2 MB should be enough
 
4905
      do
 
4906
        i=`expr $i + 1`
 
4907
        teststring=$teststring$teststring
 
4908
      done
 
4909
      # Only check the string length outside the loop.
 
4910
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
4911
      teststring=
 
4912
      # Add a significant safety factor because C++ compilers can tack on
 
4913
      # massive amounts of additional arguments before passing them to the
 
4914
      # linker.  It appears as though 1/2 is a usable value.
 
4915
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
4916
    fi
 
4917
    ;;
 
4918
  esac
 
4919
 
 
4920
fi
 
4921
 
 
4922
if test -n $lt_cv_sys_max_cmd_len ; then
 
4923
  { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
 
4924
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
4925
else
 
4926
  { $as_echo "$as_me:$LINENO: result: none" >&5
 
4927
$as_echo "none" >&6; }
 
4928
fi
 
4929
max_cmd_len=$lt_cv_sys_max_cmd_len
 
4930
 
 
4931
 
 
4932
 
 
4933
 
 
4934
 
 
4935
 
 
4936
: ${CP="cp -f"}
 
4937
: ${MV="mv -f"}
 
4938
: ${RM="rm -f"}
 
4939
 
 
4940
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
 
4941
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
4942
# Try some XSI features
 
4943
xsi_shell=no
 
4944
( _lt_dummy="a/b/c"
 
4945
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
 
4946
      = c,a/b,, \
 
4947
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
4948
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
4949
  && xsi_shell=yes
 
4950
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
 
4951
$as_echo "$xsi_shell" >&6; }
 
4952
 
 
4953
 
 
4954
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
 
4955
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
4956
lt_shell_append=no
 
4957
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
4958
    >/dev/null 2>&1 \
 
4959
  && lt_shell_append=yes
 
4960
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
 
4961
$as_echo "$lt_shell_append" >&6; }
 
4962
 
 
4963
 
 
4964
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
4965
  lt_unset=unset
 
4966
else
 
4967
  lt_unset=false
 
4968
fi
 
4969
 
 
4970
 
 
4971
 
 
4972
 
 
4973
 
 
4974
# test EBCDIC or ASCII
 
4975
case `echo X|tr X '\101'` in
 
4976
 A) # ASCII based system
 
4977
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
4978
  lt_SP2NL='tr \040 \012'
 
4979
  lt_NL2SP='tr \015\012 \040\040'
 
4980
  ;;
 
4981
 *) # EBCDIC based system
 
4982
  lt_SP2NL='tr \100 \n'
 
4983
  lt_NL2SP='tr \r\n \100\100'
 
4984
  ;;
 
4985
esac
 
4986
 
 
4987
 
 
4988
 
 
4989
 
 
4990
 
 
4991
 
 
4992
 
 
4993
 
 
4994
 
 
4995
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
 
4996
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
4997
if test "${lt_cv_ld_reload_flag+set}" = set; then
 
4998
  $as_echo_n "(cached) " >&6
 
4999
else
 
5000
  lt_cv_ld_reload_flag='-r'
 
5001
fi
 
5002
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
 
5003
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
5004
reload_flag=$lt_cv_ld_reload_flag
 
5005
case $reload_flag in
 
5006
"" | " "*) ;;
 
5007
*) reload_flag=" $reload_flag" ;;
 
5008
esac
 
5009
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5010
case $host_os in
 
5011
  darwin*)
 
5012
    if test "$GCC" = yes; then
 
5013
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
5014
    else
 
5015
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
5016
    fi
 
5017
    ;;
 
5018
esac
 
5019
 
 
5020
 
 
5021
 
 
5022
 
 
5023
 
 
5024
 
 
5025
 
 
5026
 
 
5027
 
 
5028
if test -n "$ac_tool_prefix"; then
 
5029
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
5030
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
5031
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5032
$as_echo_n "checking for $ac_word... " >&6; }
 
5033
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
 
5034
  $as_echo_n "(cached) " >&6
 
5035
else
 
5036
  if test -n "$OBJDUMP"; then
 
5037
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
5038
else
 
5039
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5040
for as_dir in $PATH
 
5041
do
 
5042
  IFS=$as_save_IFS
 
5043
  test -z "$as_dir" && as_dir=.
 
5044
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5045
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5046
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
5047
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5048
    break 2
 
5049
  fi
 
5050
done
 
5051
done
 
5052
IFS=$as_save_IFS
 
5053
 
 
5054
fi
 
5055
fi
 
5056
OBJDUMP=$ac_cv_prog_OBJDUMP
 
5057
if test -n "$OBJDUMP"; then
 
5058
  { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
 
5059
$as_echo "$OBJDUMP" >&6; }
 
5060
else
 
5061
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5062
$as_echo "no" >&6; }
 
5063
fi
 
5064
 
 
5065
 
 
5066
fi
 
5067
if test -z "$ac_cv_prog_OBJDUMP"; then
 
5068
  ac_ct_OBJDUMP=$OBJDUMP
 
5069
  # Extract the first word of "objdump", so it can be a program name with args.
 
5070
set dummy objdump; ac_word=$2
 
5071
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5072
$as_echo_n "checking for $ac_word... " >&6; }
 
5073
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
 
5074
  $as_echo_n "(cached) " >&6
 
5075
else
 
5076
  if test -n "$ac_ct_OBJDUMP"; then
 
5077
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
5078
else
 
5079
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5080
for as_dir in $PATH
 
5081
do
 
5082
  IFS=$as_save_IFS
 
5083
  test -z "$as_dir" && as_dir=.
 
5084
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5085
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5086
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
5087
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5088
    break 2
 
5089
  fi
 
5090
done
 
5091
done
 
5092
IFS=$as_save_IFS
 
5093
 
 
5094
fi
 
5095
fi
 
5096
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
5097
if test -n "$ac_ct_OBJDUMP"; then
 
5098
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
 
5099
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
5100
else
 
5101
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5102
$as_echo "no" >&6; }
 
5103
fi
 
5104
 
 
5105
  if test "x$ac_ct_OBJDUMP" = x; then
 
5106
    OBJDUMP="false"
 
5107
  else
 
5108
    case $cross_compiling:$ac_tool_warned in
 
5109
yes:)
 
5110
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5111
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5112
ac_tool_warned=yes ;;
 
5113
esac
 
5114
    OBJDUMP=$ac_ct_OBJDUMP
 
5115
  fi
 
5116
else
 
5117
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
5118
fi
 
5119
 
 
5120
test -z "$OBJDUMP" && OBJDUMP=objdump
 
5121
 
 
5122
 
 
5123
 
 
5124
 
 
5125
 
 
5126
 
 
5127
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
5128
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4204
5129
if test "${lt_cv_deplibs_check_method+set}" = set; then
4205
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5130
  $as_echo_n "(cached) " >&6
4206
5131
else
4207
5132
  lt_cv_file_magic_cmd='$MAGIC_CMD'
4208
5133
lt_cv_file_magic_test_file=
4219
5144
# whether `pass_all' will *always* work, you probably want this one.
4220
5145
 
4221
5146
case $host_os in
4222
 
aix4* | aix5*)
 
5147
aix[4-9]*)
4223
5148
  lt_cv_deplibs_check_method=pass_all
4224
5149
  ;;
4225
5150
 
4252
5177
  fi
4253
5178
  ;;
4254
5179
 
 
5180
cegcc)
 
5181
  # use the weaker test based on 'objdump'. See mingw*.
 
5182
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
5183
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
5184
  ;;
 
5185
 
4255
5186
darwin* | rhapsody*)
4256
5187
  lt_cv_deplibs_check_method=pass_all
4257
5188
  ;;
4258
5189
 
4259
5190
freebsd* | dragonfly*)
4260
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5191
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4261
5192
    case $host_cpu in
4262
5193
    i*86 )
4263
5194
      # Not sure whether the presence of OpenBSD here was a mistake.
4315
5246
  ;;
4316
5247
 
4317
5248
netbsd* | netbsdelf*-gnu)
4318
 
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 
5249
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4319
5250
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4320
5251
  else
4321
5252
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4328
5259
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4329
5260
  ;;
4330
5261
 
4331
 
nto-qnx*)
4332
 
  lt_cv_deplibs_check_method=unknown
 
5262
*nto* | *qnx*)
 
5263
  lt_cv_deplibs_check_method=pass_all
4333
5264
  ;;
4334
5265
 
4335
5266
openbsd*)
4336
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
5267
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4337
5268
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4338
5269
  else
4339
5270
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4352
5283
  lt_cv_deplibs_check_method=pass_all
4353
5284
  ;;
4354
5285
 
 
5286
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5287
  lt_cv_deplibs_check_method=pass_all
 
5288
  ;;
 
5289
 
4355
5290
sysv4 | sysv4.3*)
4356
5291
  case $host_vendor in
4357
5292
  motorola)
4379
5314
  esac
4380
5315
  ;;
4381
5316
 
4382
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
5317
tpf*)
4383
5318
  lt_cv_deplibs_check_method=pass_all
4384
5319
  ;;
4385
5320
esac
4386
5321
 
4387
5322
fi
4388
 
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4389
 
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
 
5323
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
 
5324
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4390
5325
file_magic_cmd=$lt_cv_file_magic_cmd
4391
5326
deplibs_check_method=$lt_cv_deplibs_check_method
4392
5327
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4394
5329
 
4395
5330
 
4396
5331
 
 
5332
 
 
5333
 
 
5334
 
 
5335
 
 
5336
 
 
5337
 
 
5338
 
 
5339
 
 
5340
if test -n "$ac_tool_prefix"; then
 
5341
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
 
5342
set dummy ${ac_tool_prefix}ar; ac_word=$2
 
5343
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5344
$as_echo_n "checking for $ac_word... " >&6; }
 
5345
if test "${ac_cv_prog_AR+set}" = set; then
 
5346
  $as_echo_n "(cached) " >&6
 
5347
else
 
5348
  if test -n "$AR"; then
 
5349
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
5350
else
 
5351
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5352
for as_dir in $PATH
 
5353
do
 
5354
  IFS=$as_save_IFS
 
5355
  test -z "$as_dir" && as_dir=.
 
5356
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5357
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5358
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
5359
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5360
    break 2
 
5361
  fi
 
5362
done
 
5363
done
 
5364
IFS=$as_save_IFS
 
5365
 
 
5366
fi
 
5367
fi
 
5368
AR=$ac_cv_prog_AR
 
5369
if test -n "$AR"; then
 
5370
  { $as_echo "$as_me:$LINENO: result: $AR" >&5
 
5371
$as_echo "$AR" >&6; }
 
5372
else
 
5373
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5374
$as_echo "no" >&6; }
 
5375
fi
 
5376
 
 
5377
 
 
5378
fi
 
5379
if test -z "$ac_cv_prog_AR"; then
 
5380
  ac_ct_AR=$AR
 
5381
  # Extract the first word of "ar", so it can be a program name with args.
 
5382
set dummy ar; ac_word=$2
 
5383
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5384
$as_echo_n "checking for $ac_word... " >&6; }
 
5385
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
 
5386
  $as_echo_n "(cached) " >&6
 
5387
else
 
5388
  if test -n "$ac_ct_AR"; then
 
5389
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
5390
else
 
5391
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5392
for as_dir in $PATH
 
5393
do
 
5394
  IFS=$as_save_IFS
 
5395
  test -z "$as_dir" && as_dir=.
 
5396
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5397
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5398
    ac_cv_prog_ac_ct_AR="ar"
 
5399
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5400
    break 2
 
5401
  fi
 
5402
done
 
5403
done
 
5404
IFS=$as_save_IFS
 
5405
 
 
5406
fi
 
5407
fi
 
5408
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
5409
if test -n "$ac_ct_AR"; then
 
5410
  { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
 
5411
$as_echo "$ac_ct_AR" >&6; }
 
5412
else
 
5413
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5414
$as_echo "no" >&6; }
 
5415
fi
 
5416
 
 
5417
  if test "x$ac_ct_AR" = x; then
 
5418
    AR="false"
 
5419
  else
 
5420
    case $cross_compiling:$ac_tool_warned in
 
5421
yes:)
 
5422
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5423
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5424
ac_tool_warned=yes ;;
 
5425
esac
 
5426
    AR=$ac_ct_AR
 
5427
  fi
 
5428
else
 
5429
  AR="$ac_cv_prog_AR"
 
5430
fi
 
5431
 
 
5432
test -z "$AR" && AR=ar
 
5433
test -z "$AR_FLAGS" && AR_FLAGS=cru
 
5434
 
 
5435
 
 
5436
 
 
5437
 
 
5438
 
 
5439
 
 
5440
 
 
5441
 
 
5442
 
 
5443
 
 
5444
 
 
5445
if test -n "$ac_tool_prefix"; then
 
5446
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
5447
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
5448
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5449
$as_echo_n "checking for $ac_word... " >&6; }
 
5450
if test "${ac_cv_prog_STRIP+set}" = set; then
 
5451
  $as_echo_n "(cached) " >&6
 
5452
else
 
5453
  if test -n "$STRIP"; then
 
5454
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
5455
else
 
5456
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5457
for as_dir in $PATH
 
5458
do
 
5459
  IFS=$as_save_IFS
 
5460
  test -z "$as_dir" && as_dir=.
 
5461
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5462
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5463
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
5464
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5465
    break 2
 
5466
  fi
 
5467
done
 
5468
done
 
5469
IFS=$as_save_IFS
 
5470
 
 
5471
fi
 
5472
fi
 
5473
STRIP=$ac_cv_prog_STRIP
 
5474
if test -n "$STRIP"; then
 
5475
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
 
5476
$as_echo "$STRIP" >&6; }
 
5477
else
 
5478
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5479
$as_echo "no" >&6; }
 
5480
fi
 
5481
 
 
5482
 
 
5483
fi
 
5484
if test -z "$ac_cv_prog_STRIP"; then
 
5485
  ac_ct_STRIP=$STRIP
 
5486
  # Extract the first word of "strip", so it can be a program name with args.
 
5487
set dummy strip; ac_word=$2
 
5488
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5489
$as_echo_n "checking for $ac_word... " >&6; }
 
5490
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
5491
  $as_echo_n "(cached) " >&6
 
5492
else
 
5493
  if test -n "$ac_ct_STRIP"; then
 
5494
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
5495
else
 
5496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5497
for as_dir in $PATH
 
5498
do
 
5499
  IFS=$as_save_IFS
 
5500
  test -z "$as_dir" && as_dir=.
 
5501
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5502
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5503
    ac_cv_prog_ac_ct_STRIP="strip"
 
5504
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5505
    break 2
 
5506
  fi
 
5507
done
 
5508
done
 
5509
IFS=$as_save_IFS
 
5510
 
 
5511
fi
 
5512
fi
 
5513
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
5514
if test -n "$ac_ct_STRIP"; then
 
5515
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
5516
$as_echo "$ac_ct_STRIP" >&6; }
 
5517
else
 
5518
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5519
$as_echo "no" >&6; }
 
5520
fi
 
5521
 
 
5522
  if test "x$ac_ct_STRIP" = x; then
 
5523
    STRIP=":"
 
5524
  else
 
5525
    case $cross_compiling:$ac_tool_warned in
 
5526
yes:)
 
5527
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5528
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5529
ac_tool_warned=yes ;;
 
5530
esac
 
5531
    STRIP=$ac_ct_STRIP
 
5532
  fi
 
5533
else
 
5534
  STRIP="$ac_cv_prog_STRIP"
 
5535
fi
 
5536
 
 
5537
test -z "$STRIP" && STRIP=:
 
5538
 
 
5539
 
 
5540
 
 
5541
 
 
5542
 
 
5543
 
 
5544
if test -n "$ac_tool_prefix"; then
 
5545
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
5546
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
5547
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5548
$as_echo_n "checking for $ac_word... " >&6; }
 
5549
if test "${ac_cv_prog_RANLIB+set}" = set; then
 
5550
  $as_echo_n "(cached) " >&6
 
5551
else
 
5552
  if test -n "$RANLIB"; then
 
5553
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
5554
else
 
5555
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5556
for as_dir in $PATH
 
5557
do
 
5558
  IFS=$as_save_IFS
 
5559
  test -z "$as_dir" && as_dir=.
 
5560
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5561
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5562
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
5563
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5564
    break 2
 
5565
  fi
 
5566
done
 
5567
done
 
5568
IFS=$as_save_IFS
 
5569
 
 
5570
fi
 
5571
fi
 
5572
RANLIB=$ac_cv_prog_RANLIB
 
5573
if test -n "$RANLIB"; then
 
5574
  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
 
5575
$as_echo "$RANLIB" >&6; }
 
5576
else
 
5577
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5578
$as_echo "no" >&6; }
 
5579
fi
 
5580
 
 
5581
 
 
5582
fi
 
5583
if test -z "$ac_cv_prog_RANLIB"; then
 
5584
  ac_ct_RANLIB=$RANLIB
 
5585
  # Extract the first word of "ranlib", so it can be a program name with args.
 
5586
set dummy ranlib; ac_word=$2
 
5587
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
5588
$as_echo_n "checking for $ac_word... " >&6; }
 
5589
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
 
5590
  $as_echo_n "(cached) " >&6
 
5591
else
 
5592
  if test -n "$ac_ct_RANLIB"; then
 
5593
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
5594
else
 
5595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
5596
for as_dir in $PATH
 
5597
do
 
5598
  IFS=$as_save_IFS
 
5599
  test -z "$as_dir" && as_dir=.
 
5600
  for ac_exec_ext in '' $ac_executable_extensions; do
 
5601
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
5602
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
5603
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
5604
    break 2
 
5605
  fi
 
5606
done
 
5607
done
 
5608
IFS=$as_save_IFS
 
5609
 
 
5610
fi
 
5611
fi
 
5612
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
5613
if test -n "$ac_ct_RANLIB"; then
 
5614
  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
 
5615
$as_echo "$ac_ct_RANLIB" >&6; }
 
5616
else
 
5617
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
5618
$as_echo "no" >&6; }
 
5619
fi
 
5620
 
 
5621
  if test "x$ac_ct_RANLIB" = x; then
 
5622
    RANLIB=":"
 
5623
  else
 
5624
    case $cross_compiling:$ac_tool_warned in
 
5625
yes:)
 
5626
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
5627
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
5628
ac_tool_warned=yes ;;
 
5629
esac
 
5630
    RANLIB=$ac_ct_RANLIB
 
5631
  fi
 
5632
else
 
5633
  RANLIB="$ac_cv_prog_RANLIB"
 
5634
fi
 
5635
 
 
5636
test -z "$RANLIB" && RANLIB=:
 
5637
 
 
5638
 
 
5639
 
 
5640
 
 
5641
 
 
5642
 
 
5643
# Determine commands to create old-style static archives.
 
5644
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
5645
old_postinstall_cmds='chmod 644 $oldlib'
 
5646
old_postuninstall_cmds=
 
5647
 
 
5648
if test -n "$RANLIB"; then
 
5649
  case $host_os in
 
5650
  openbsd*)
 
5651
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5652
    ;;
 
5653
  *)
 
5654
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5655
    ;;
 
5656
  esac
 
5657
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5658
fi
 
5659
 
 
5660
 
 
5661
 
 
5662
 
 
5663
 
 
5664
 
 
5665
 
 
5666
 
 
5667
 
 
5668
 
 
5669
 
 
5670
 
 
5671
 
 
5672
 
 
5673
 
 
5674
 
 
5675
 
 
5676
 
 
5677
 
 
5678
 
 
5679
 
 
5680
 
 
5681
 
 
5682
 
 
5683
 
 
5684
 
 
5685
 
 
5686
 
 
5687
 
 
5688
 
 
5689
 
 
5690
 
 
5691
 
 
5692
 
4397
5693
# If no C compiler was specified, use CC.
4398
5694
LTCC=${LTCC-"$CC"}
4399
5695
 
4404
5700
compiler=$CC
4405
5701
 
4406
5702
 
4407
 
# Check whether --enable-libtool-lock was given.
4408
 
if test "${enable_libtool_lock+set}" = set; then
4409
 
  enableval=$enable_libtool_lock;
4410
 
fi
4411
 
 
4412
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4413
 
 
4414
 
# Some flags need to be propagated to the compiler or linker for good
4415
 
# libtool support.
4416
 
case $host in
4417
 
ia64-*-hpux*)
4418
 
  # Find out which ABI we are using.
4419
 
  echo 'int i;' > conftest.$ac_ext
4420
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4421
 
  (eval $ac_compile) 2>&5
4422
 
  ac_status=$?
4423
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424
 
  (exit $ac_status); }; then
4425
 
    case `/usr/bin/file conftest.$ac_objext` in
4426
 
    *ELF-32*)
4427
 
      HPUX_IA64_MODE="32"
4428
 
      ;;
4429
 
    *ELF-64*)
4430
 
      HPUX_IA64_MODE="64"
4431
 
      ;;
4432
 
    esac
4433
 
  fi
4434
 
  rm -rf conftest*
4435
 
  ;;
4436
 
*-*-irix6*)
4437
 
  # Find out which ABI we are using.
4438
 
  echo '#line 4438 "configure"' > conftest.$ac_ext
4439
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4440
 
  (eval $ac_compile) 2>&5
4441
 
  ac_status=$?
4442
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443
 
  (exit $ac_status); }; then
4444
 
   if test "$lt_cv_prog_gnu_ld" = yes; then
4445
 
    case `/usr/bin/file conftest.$ac_objext` in
4446
 
    *32-bit*)
4447
 
      LD="${LD-ld} -melf32bsmip"
4448
 
      ;;
4449
 
    *N32*)
4450
 
      LD="${LD-ld} -melf32bmipn32"
4451
 
      ;;
4452
 
    *64-bit*)
4453
 
      LD="${LD-ld} -melf64bmip"
4454
 
      ;;
4455
 
    esac
4456
 
   else
4457
 
    case `/usr/bin/file conftest.$ac_objext` in
4458
 
    *32-bit*)
4459
 
      LD="${LD-ld} -32"
4460
 
      ;;
4461
 
    *N32*)
4462
 
      LD="${LD-ld} -n32"
4463
 
      ;;
4464
 
    *64-bit*)
4465
 
      LD="${LD-ld} -64"
4466
 
      ;;
4467
 
    esac
4468
 
   fi
4469
 
  fi
4470
 
  rm -rf conftest*
4471
 
  ;;
4472
 
 
4473
 
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4474
 
s390*-*linux*|sparc*-*linux*)
4475
 
  # Find out which ABI we are using.
4476
 
  echo 'int i;' > conftest.$ac_ext
4477
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4478
 
  (eval $ac_compile) 2>&5
4479
 
  ac_status=$?
4480
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481
 
  (exit $ac_status); }; then
4482
 
    case `/usr/bin/file conftest.o` in
4483
 
    *32-bit*)
4484
 
      case $host in
4485
 
        x86_64-*kfreebsd*-gnu)
4486
 
          LD="${LD-ld} -m elf_i386_fbsd"
4487
 
          ;;
4488
 
        x86_64-*linux*)
4489
 
          LD="${LD-ld} -m elf_i386"
4490
 
          ;;
4491
 
        ppc64-*linux*|powerpc64-*linux*)
4492
 
          LD="${LD-ld} -m elf32ppclinux"
4493
 
          ;;
4494
 
        s390x-*linux*)
4495
 
          LD="${LD-ld} -m elf_s390"
4496
 
          ;;
4497
 
        sparc64-*linux*)
4498
 
          LD="${LD-ld} -m elf32_sparc"
4499
 
          ;;
4500
 
      esac
4501
 
      ;;
4502
 
    *64-bit*)
4503
 
      case $host in
4504
 
        x86_64-*kfreebsd*-gnu)
4505
 
          LD="${LD-ld} -m elf_x86_64_fbsd"
4506
 
          ;;
4507
 
        x86_64-*linux*)
4508
 
          LD="${LD-ld} -m elf_x86_64"
4509
 
          ;;
4510
 
        ppc*-*linux*|powerpc*-*linux*)
4511
 
          LD="${LD-ld} -m elf64ppc"
4512
 
          ;;
4513
 
        s390*-*linux*)
4514
 
          LD="${LD-ld} -m elf64_s390"
4515
 
          ;;
4516
 
        sparc*-*linux*)
4517
 
          LD="${LD-ld} -m elf64_sparc"
4518
 
          ;;
4519
 
      esac
4520
 
      ;;
4521
 
    esac
4522
 
  fi
4523
 
  rm -rf conftest*
4524
 
  ;;
4525
 
 
4526
 
*-*-sco3.2v5*)
4527
 
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4528
 
  SAVE_CFLAGS="$CFLAGS"
4529
 
  CFLAGS="$CFLAGS -belf"
4530
 
  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4531
 
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4532
 
if test "${lt_cv_cc_needs_belf+set}" = set; then
4533
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4534
 
else
4535
 
  ac_ext=c
4536
 
ac_cpp='$CPP $CPPFLAGS'
4537
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4538
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4539
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4540
 
 
4541
 
     cat >conftest.$ac_ext <<_ACEOF
4542
 
/* confdefs.h.  */
4543
 
_ACEOF
4544
 
cat confdefs.h >>conftest.$ac_ext
4545
 
cat >>conftest.$ac_ext <<_ACEOF
4546
 
/* end confdefs.h.  */
4547
 
 
4548
 
int
4549
 
main ()
4550
 
{
4551
 
 
4552
 
  ;
4553
 
  return 0;
4554
 
}
4555
 
_ACEOF
4556
 
rm -f conftest.$ac_objext conftest$ac_exeext
4557
 
if { (ac_try="$ac_link"
4558
 
case "(($ac_try" in
4559
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4560
 
  *) ac_try_echo=$ac_try;;
4561
 
esac
4562
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4563
 
  (eval "$ac_link") 2>conftest.er1
4564
 
  ac_status=$?
4565
 
  grep -v '^ *+' conftest.er1 >conftest.err
4566
 
  rm -f conftest.er1
4567
 
  cat conftest.err >&5
4568
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569
 
  (exit $ac_status); } && {
4570
 
         test -z "$ac_c_werror_flag" ||
4571
 
         test ! -s conftest.err
4572
 
       } && test -s conftest$ac_exeext &&
4573
 
       $as_test_x conftest$ac_exeext; then
4574
 
  lt_cv_cc_needs_belf=yes
4575
 
else
4576
 
  echo "$as_me: failed program was:" >&5
4577
 
sed 's/^/| /' conftest.$ac_ext >&5
4578
 
 
4579
 
        lt_cv_cc_needs_belf=no
4580
 
fi
4581
 
 
4582
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4583
 
      conftest$ac_exeext conftest.$ac_ext
4584
 
     ac_ext=c
4585
 
ac_cpp='$CPP $CPPFLAGS'
4586
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4587
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4588
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4589
 
 
4590
 
fi
4591
 
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4592
 
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4593
 
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4594
 
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4595
 
    CFLAGS="$SAVE_CFLAGS"
4596
 
  fi
4597
 
  ;;
4598
 
sparc*-*solaris*)
4599
 
  # Find out which ABI we are using.
4600
 
  echo 'int i;' > conftest.$ac_ext
4601
 
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4602
 
  (eval $ac_compile) 2>&5
4603
 
  ac_status=$?
4604
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605
 
  (exit $ac_status); }; then
4606
 
    case `/usr/bin/file conftest.o` in
4607
 
    *64-bit*)
4608
 
      case $lt_cv_prog_gnu_ld in
4609
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4610
 
      *)    LD="${LD-ld} -64" ;;
4611
 
      esac
4612
 
      ;;
4613
 
    esac
4614
 
  fi
4615
 
  rm -rf conftest*
4616
 
  ;;
4617
 
 
4618
 
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4619
 
  if test -n "$ac_tool_prefix"; then
4620
 
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4621
 
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4622
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4623
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4624
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4625
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4626
 
else
4627
 
  if test -n "$DLLTOOL"; then
4628
 
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4629
 
else
4630
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4631
 
for as_dir in $PATH
4632
 
do
4633
 
  IFS=$as_save_IFS
4634
 
  test -z "$as_dir" && as_dir=.
4635
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4636
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4637
 
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4638
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4639
 
    break 2
4640
 
  fi
4641
 
done
4642
 
done
4643
 
IFS=$as_save_IFS
4644
 
 
4645
 
fi
4646
 
fi
4647
 
DLLTOOL=$ac_cv_prog_DLLTOOL
4648
 
if test -n "$DLLTOOL"; then
4649
 
  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4650
 
echo "${ECHO_T}$DLLTOOL" >&6; }
4651
 
else
4652
 
  { echo "$as_me:$LINENO: result: no" >&5
4653
 
echo "${ECHO_T}no" >&6; }
4654
 
fi
4655
 
 
4656
 
 
4657
 
fi
4658
 
if test -z "$ac_cv_prog_DLLTOOL"; then
4659
 
  ac_ct_DLLTOOL=$DLLTOOL
4660
 
  # Extract the first word of "dlltool", so it can be a program name with args.
4661
 
set dummy dlltool; ac_word=$2
4662
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4663
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4664
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4665
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4666
 
else
4667
 
  if test -n "$ac_ct_DLLTOOL"; then
4668
 
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4669
 
else
4670
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671
 
for as_dir in $PATH
4672
 
do
4673
 
  IFS=$as_save_IFS
4674
 
  test -z "$as_dir" && as_dir=.
4675
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4676
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4677
 
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4678
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4679
 
    break 2
4680
 
  fi
4681
 
done
4682
 
done
4683
 
IFS=$as_save_IFS
4684
 
 
4685
 
fi
4686
 
fi
4687
 
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4688
 
if test -n "$ac_ct_DLLTOOL"; then
4689
 
  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4690
 
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4691
 
else
4692
 
  { echo "$as_me:$LINENO: result: no" >&5
4693
 
echo "${ECHO_T}no" >&6; }
4694
 
fi
4695
 
 
4696
 
  if test "x$ac_ct_DLLTOOL" = x; then
4697
 
    DLLTOOL="false"
4698
 
  else
4699
 
    case $cross_compiling:$ac_tool_warned in
4700
 
yes:)
4701
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4702
 
whose name does not start with the host triplet.  If you think this
4703
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4704
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4705
 
whose name does not start with the host triplet.  If you think this
4706
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4707
 
ac_tool_warned=yes ;;
4708
 
esac
4709
 
    DLLTOOL=$ac_ct_DLLTOOL
4710
 
  fi
4711
 
else
4712
 
  DLLTOOL="$ac_cv_prog_DLLTOOL"
4713
 
fi
4714
 
 
4715
 
  if test -n "$ac_tool_prefix"; then
4716
 
  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4717
 
set dummy ${ac_tool_prefix}as; ac_word=$2
4718
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4719
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4720
 
if test "${ac_cv_prog_AS+set}" = set; then
4721
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4722
 
else
4723
 
  if test -n "$AS"; then
4724
 
  ac_cv_prog_AS="$AS" # Let the user override the test.
4725
 
else
4726
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4727
 
for as_dir in $PATH
4728
 
do
4729
 
  IFS=$as_save_IFS
4730
 
  test -z "$as_dir" && as_dir=.
4731
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4732
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4733
 
    ac_cv_prog_AS="${ac_tool_prefix}as"
4734
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4735
 
    break 2
4736
 
  fi
4737
 
done
4738
 
done
4739
 
IFS=$as_save_IFS
4740
 
 
4741
 
fi
4742
 
fi
4743
 
AS=$ac_cv_prog_AS
4744
 
if test -n "$AS"; then
4745
 
  { echo "$as_me:$LINENO: result: $AS" >&5
4746
 
echo "${ECHO_T}$AS" >&6; }
4747
 
else
4748
 
  { echo "$as_me:$LINENO: result: no" >&5
4749
 
echo "${ECHO_T}no" >&6; }
4750
 
fi
4751
 
 
4752
 
 
4753
 
fi
4754
 
if test -z "$ac_cv_prog_AS"; then
4755
 
  ac_ct_AS=$AS
4756
 
  # Extract the first word of "as", so it can be a program name with args.
4757
 
set dummy as; ac_word=$2
4758
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4759
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4760
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4761
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4762
 
else
4763
 
  if test -n "$ac_ct_AS"; then
4764
 
  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4765
 
else
4766
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767
 
for as_dir in $PATH
4768
 
do
4769
 
  IFS=$as_save_IFS
4770
 
  test -z "$as_dir" && as_dir=.
4771
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4772
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4773
 
    ac_cv_prog_ac_ct_AS="as"
4774
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4775
 
    break 2
4776
 
  fi
4777
 
done
4778
 
done
4779
 
IFS=$as_save_IFS
4780
 
 
4781
 
fi
4782
 
fi
4783
 
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4784
 
if test -n "$ac_ct_AS"; then
4785
 
  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4786
 
echo "${ECHO_T}$ac_ct_AS" >&6; }
4787
 
else
4788
 
  { echo "$as_me:$LINENO: result: no" >&5
4789
 
echo "${ECHO_T}no" >&6; }
4790
 
fi
4791
 
 
4792
 
  if test "x$ac_ct_AS" = x; then
4793
 
    AS="false"
4794
 
  else
4795
 
    case $cross_compiling:$ac_tool_warned in
4796
 
yes:)
4797
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4798
 
whose name does not start with the host triplet.  If you think this
4799
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4800
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4801
 
whose name does not start with the host triplet.  If you think this
4802
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4803
 
ac_tool_warned=yes ;;
4804
 
esac
4805
 
    AS=$ac_ct_AS
4806
 
  fi
4807
 
else
4808
 
  AS="$ac_cv_prog_AS"
4809
 
fi
4810
 
 
4811
 
  if test -n "$ac_tool_prefix"; then
4812
 
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4813
 
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4814
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4815
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4816
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4817
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4818
 
else
4819
 
  if test -n "$OBJDUMP"; then
4820
 
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4821
 
else
4822
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823
 
for as_dir in $PATH
4824
 
do
4825
 
  IFS=$as_save_IFS
4826
 
  test -z "$as_dir" && as_dir=.
4827
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4828
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4829
 
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4830
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4831
 
    break 2
4832
 
  fi
4833
 
done
4834
 
done
4835
 
IFS=$as_save_IFS
4836
 
 
4837
 
fi
4838
 
fi
4839
 
OBJDUMP=$ac_cv_prog_OBJDUMP
4840
 
if test -n "$OBJDUMP"; then
4841
 
  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4842
 
echo "${ECHO_T}$OBJDUMP" >&6; }
4843
 
else
4844
 
  { echo "$as_me:$LINENO: result: no" >&5
4845
 
echo "${ECHO_T}no" >&6; }
4846
 
fi
4847
 
 
4848
 
 
4849
 
fi
4850
 
if test -z "$ac_cv_prog_OBJDUMP"; then
4851
 
  ac_ct_OBJDUMP=$OBJDUMP
4852
 
  # Extract the first word of "objdump", so it can be a program name with args.
4853
 
set dummy objdump; ac_word=$2
4854
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4855
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4856
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4857
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4858
 
else
4859
 
  if test -n "$ac_ct_OBJDUMP"; then
4860
 
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4861
 
else
4862
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4863
 
for as_dir in $PATH
4864
 
do
4865
 
  IFS=$as_save_IFS
4866
 
  test -z "$as_dir" && as_dir=.
4867
 
  for ac_exec_ext in '' $ac_executable_extensions; do
4868
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4869
 
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4870
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4871
 
    break 2
4872
 
  fi
4873
 
done
4874
 
done
4875
 
IFS=$as_save_IFS
4876
 
 
4877
 
fi
4878
 
fi
4879
 
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4880
 
if test -n "$ac_ct_OBJDUMP"; then
4881
 
  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4882
 
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4883
 
else
4884
 
  { echo "$as_me:$LINENO: result: no" >&5
4885
 
echo "${ECHO_T}no" >&6; }
4886
 
fi
4887
 
 
4888
 
  if test "x$ac_ct_OBJDUMP" = x; then
4889
 
    OBJDUMP="false"
4890
 
  else
4891
 
    case $cross_compiling:$ac_tool_warned in
4892
 
yes:)
4893
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4894
 
whose name does not start with the host triplet.  If you think this
4895
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
4896
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4897
 
whose name does not start with the host triplet.  If you think this
4898
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4899
 
ac_tool_warned=yes ;;
4900
 
esac
4901
 
    OBJDUMP=$ac_ct_OBJDUMP
4902
 
  fi
4903
 
else
4904
 
  OBJDUMP="$ac_cv_prog_OBJDUMP"
4905
 
fi
4906
 
 
4907
 
  ;;
4908
 
 
4909
 
esac
4910
 
 
4911
 
need_locks="$enable_libtool_lock"
4912
 
 
4913
 
 
4914
 
ac_ext=c
4915
 
ac_cpp='$CPP $CPPFLAGS'
4916
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4917
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4918
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4919
 
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4920
 
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4921
 
# On Suns, sometimes $CPP names a directory.
4922
 
if test -n "$CPP" && test -d "$CPP"; then
4923
 
  CPP=
4924
 
fi
4925
 
if test -z "$CPP"; then
4926
 
  if test "${ac_cv_prog_CPP+set}" = set; then
4927
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
4928
 
else
4929
 
      # Double quotes because CPP needs to be expanded
4930
 
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4931
 
    do
4932
 
      ac_preproc_ok=false
4933
 
for ac_c_preproc_warn_flag in '' yes
4934
 
do
4935
 
  # Use a header file that comes with gcc, so configuring glibc
4936
 
  # with a fresh cross-compiler works.
4937
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4938
 
  # <limits.h> exists even on freestanding compilers.
4939
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
4940
 
  # not just through cpp. "Syntax error" is here to catch this case.
4941
 
  cat >conftest.$ac_ext <<_ACEOF
4942
 
/* confdefs.h.  */
4943
 
_ACEOF
4944
 
cat confdefs.h >>conftest.$ac_ext
4945
 
cat >>conftest.$ac_ext <<_ACEOF
4946
 
/* end confdefs.h.  */
4947
 
#ifdef __STDC__
4948
 
# include <limits.h>
4949
 
#else
4950
 
# include <assert.h>
4951
 
#endif
4952
 
                     Syntax error
4953
 
_ACEOF
4954
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4955
 
case "(($ac_try" in
4956
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957
 
  *) ac_try_echo=$ac_try;;
4958
 
esac
4959
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4961
 
  ac_status=$?
4962
 
  grep -v '^ *+' conftest.er1 >conftest.err
4963
 
  rm -f conftest.er1
4964
 
  cat conftest.err >&5
4965
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966
 
  (exit $ac_status); } >/dev/null && {
4967
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4968
 
         test ! -s conftest.err
4969
 
       }; then
4970
 
  :
4971
 
else
4972
 
  echo "$as_me: failed program was:" >&5
4973
 
sed 's/^/| /' conftest.$ac_ext >&5
4974
 
 
4975
 
  # Broken: fails on valid input.
4976
 
continue
4977
 
fi
4978
 
 
4979
 
rm -f conftest.err conftest.$ac_ext
4980
 
 
4981
 
  # OK, works on sane cases.  Now check whether nonexistent headers
4982
 
  # can be detected and how.
4983
 
  cat >conftest.$ac_ext <<_ACEOF
4984
 
/* confdefs.h.  */
4985
 
_ACEOF
4986
 
cat confdefs.h >>conftest.$ac_ext
4987
 
cat >>conftest.$ac_ext <<_ACEOF
4988
 
/* end confdefs.h.  */
4989
 
#include <ac_nonexistent.h>
4990
 
_ACEOF
4991
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
4992
 
case "(($ac_try" in
4993
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4994
 
  *) ac_try_echo=$ac_try;;
4995
 
esac
4996
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4997
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4998
 
  ac_status=$?
4999
 
  grep -v '^ *+' conftest.er1 >conftest.err
5000
 
  rm -f conftest.er1
5001
 
  cat conftest.err >&5
5002
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003
 
  (exit $ac_status); } >/dev/null && {
5004
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5005
 
         test ! -s conftest.err
5006
 
       }; then
5007
 
  # Broken: success on invalid input.
5008
 
continue
5009
 
else
5010
 
  echo "$as_me: failed program was:" >&5
5011
 
sed 's/^/| /' conftest.$ac_ext >&5
5012
 
 
5013
 
  # Passes both tests.
5014
 
ac_preproc_ok=:
5015
 
break
5016
 
fi
5017
 
 
5018
 
rm -f conftest.err conftest.$ac_ext
5019
 
 
5020
 
done
5021
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5022
 
rm -f conftest.err conftest.$ac_ext
5023
 
if $ac_preproc_ok; then
5024
 
  break
5025
 
fi
5026
 
 
5027
 
    done
5028
 
    ac_cv_prog_CPP=$CPP
5029
 
 
5030
 
fi
5031
 
  CPP=$ac_cv_prog_CPP
5032
 
else
5033
 
  ac_cv_prog_CPP=$CPP
5034
 
fi
5035
 
{ echo "$as_me:$LINENO: result: $CPP" >&5
5036
 
echo "${ECHO_T}$CPP" >&6; }
5037
 
ac_preproc_ok=false
5038
 
for ac_c_preproc_warn_flag in '' yes
5039
 
do
5040
 
  # Use a header file that comes with gcc, so configuring glibc
5041
 
  # with a fresh cross-compiler works.
5042
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5043
 
  # <limits.h> exists even on freestanding compilers.
5044
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
5045
 
  # not just through cpp. "Syntax error" is here to catch this case.
5046
 
  cat >conftest.$ac_ext <<_ACEOF
5047
 
/* confdefs.h.  */
5048
 
_ACEOF
5049
 
cat confdefs.h >>conftest.$ac_ext
5050
 
cat >>conftest.$ac_ext <<_ACEOF
5051
 
/* end confdefs.h.  */
5052
 
#ifdef __STDC__
5053
 
# include <limits.h>
5054
 
#else
5055
 
# include <assert.h>
5056
 
#endif
5057
 
                     Syntax error
5058
 
_ACEOF
5059
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5060
 
case "(($ac_try" in
5061
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5062
 
  *) ac_try_echo=$ac_try;;
5063
 
esac
5064
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5065
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5066
 
  ac_status=$?
5067
 
  grep -v '^ *+' conftest.er1 >conftest.err
5068
 
  rm -f conftest.er1
5069
 
  cat conftest.err >&5
5070
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071
 
  (exit $ac_status); } >/dev/null && {
5072
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5073
 
         test ! -s conftest.err
5074
 
       }; then
5075
 
  :
5076
 
else
5077
 
  echo "$as_me: failed program was:" >&5
5078
 
sed 's/^/| /' conftest.$ac_ext >&5
5079
 
 
5080
 
  # Broken: fails on valid input.
5081
 
continue
5082
 
fi
5083
 
 
5084
 
rm -f conftest.err conftest.$ac_ext
5085
 
 
5086
 
  # OK, works on sane cases.  Now check whether nonexistent headers
5087
 
  # can be detected and how.
5088
 
  cat >conftest.$ac_ext <<_ACEOF
5089
 
/* confdefs.h.  */
5090
 
_ACEOF
5091
 
cat confdefs.h >>conftest.$ac_ext
5092
 
cat >>conftest.$ac_ext <<_ACEOF
5093
 
/* end confdefs.h.  */
5094
 
#include <ac_nonexistent.h>
5095
 
_ACEOF
5096
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5097
 
case "(($ac_try" in
5098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5099
 
  *) ac_try_echo=$ac_try;;
5100
 
esac
5101
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5102
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5103
 
  ac_status=$?
5104
 
  grep -v '^ *+' conftest.er1 >conftest.err
5105
 
  rm -f conftest.er1
5106
 
  cat conftest.err >&5
5107
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108
 
  (exit $ac_status); } >/dev/null && {
5109
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5110
 
         test ! -s conftest.err
5111
 
       }; then
5112
 
  # Broken: success on invalid input.
5113
 
continue
5114
 
else
5115
 
  echo "$as_me: failed program was:" >&5
5116
 
sed 's/^/| /' conftest.$ac_ext >&5
5117
 
 
5118
 
  # Passes both tests.
5119
 
ac_preproc_ok=:
5120
 
break
5121
 
fi
5122
 
 
5123
 
rm -f conftest.err conftest.$ac_ext
5124
 
 
5125
 
done
5126
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5127
 
rm -f conftest.err conftest.$ac_ext
5128
 
if $ac_preproc_ok; then
5129
 
  :
5130
 
else
5131
 
  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5132
 
See \`config.log' for more details." >&5
5133
 
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5134
 
See \`config.log' for more details." >&2;}
5135
 
   { (exit 1); exit 1; }; }
5136
 
fi
5137
 
 
5138
 
ac_ext=c
5139
 
ac_cpp='$CPP $CPPFLAGS'
5140
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5141
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5142
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5143
 
 
5144
 
 
5145
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5146
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5147
 
if test "${ac_cv_header_stdc+set}" = set; then
5148
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5149
 
else
5150
 
  cat >conftest.$ac_ext <<_ACEOF
5151
 
/* confdefs.h.  */
5152
 
_ACEOF
5153
 
cat confdefs.h >>conftest.$ac_ext
5154
 
cat >>conftest.$ac_ext <<_ACEOF
5155
 
/* end confdefs.h.  */
5156
 
#include <stdlib.h>
5157
 
#include <stdarg.h>
5158
 
#include <string.h>
5159
 
#include <float.h>
5160
 
 
5161
 
int
5162
 
main ()
5163
 
{
5164
 
 
5165
 
  ;
5166
 
  return 0;
5167
 
}
5168
 
_ACEOF
5169
 
rm -f conftest.$ac_objext
5170
 
if { (ac_try="$ac_compile"
5171
 
case "(($ac_try" in
5172
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5173
 
  *) ac_try_echo=$ac_try;;
5174
 
esac
5175
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5176
 
  (eval "$ac_compile") 2>conftest.er1
5177
 
  ac_status=$?
5178
 
  grep -v '^ *+' conftest.er1 >conftest.err
5179
 
  rm -f conftest.er1
5180
 
  cat conftest.err >&5
5181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182
 
  (exit $ac_status); } && {
5183
 
         test -z "$ac_c_werror_flag" ||
5184
 
         test ! -s conftest.err
5185
 
       } && test -s conftest.$ac_objext; then
5186
 
  ac_cv_header_stdc=yes
5187
 
else
5188
 
  echo "$as_me: failed program was:" >&5
5189
 
sed 's/^/| /' conftest.$ac_ext >&5
5190
 
 
5191
 
        ac_cv_header_stdc=no
5192
 
fi
5193
 
 
5194
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5195
 
 
5196
 
if test $ac_cv_header_stdc = yes; then
5197
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5198
 
  cat >conftest.$ac_ext <<_ACEOF
5199
 
/* confdefs.h.  */
5200
 
_ACEOF
5201
 
cat confdefs.h >>conftest.$ac_ext
5202
 
cat >>conftest.$ac_ext <<_ACEOF
5203
 
/* end confdefs.h.  */
5204
 
#include <string.h>
5205
 
 
5206
 
_ACEOF
5207
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5208
 
  $EGREP "memchr" >/dev/null 2>&1; then
5209
 
  :
5210
 
else
5211
 
  ac_cv_header_stdc=no
5212
 
fi
5213
 
rm -f conftest*
5214
 
 
5215
 
fi
5216
 
 
5217
 
if test $ac_cv_header_stdc = yes; then
5218
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5219
 
  cat >conftest.$ac_ext <<_ACEOF
5220
 
/* confdefs.h.  */
5221
 
_ACEOF
5222
 
cat confdefs.h >>conftest.$ac_ext
5223
 
cat >>conftest.$ac_ext <<_ACEOF
5224
 
/* end confdefs.h.  */
5225
 
#include <stdlib.h>
5226
 
 
5227
 
_ACEOF
5228
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5229
 
  $EGREP "free" >/dev/null 2>&1; then
5230
 
  :
5231
 
else
5232
 
  ac_cv_header_stdc=no
5233
 
fi
5234
 
rm -f conftest*
5235
 
 
5236
 
fi
5237
 
 
5238
 
if test $ac_cv_header_stdc = yes; then
5239
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5240
 
  if test "$cross_compiling" = yes; then
5241
 
  :
5242
 
else
5243
 
  cat >conftest.$ac_ext <<_ACEOF
5244
 
/* confdefs.h.  */
5245
 
_ACEOF
5246
 
cat confdefs.h >>conftest.$ac_ext
5247
 
cat >>conftest.$ac_ext <<_ACEOF
5248
 
/* end confdefs.h.  */
5249
 
#include <ctype.h>
5250
 
#include <stdlib.h>
5251
 
#if ((' ' & 0x0FF) == 0x020)
5252
 
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5253
 
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5254
 
#else
5255
 
# define ISLOWER(c) \
5256
 
                   (('a' <= (c) && (c) <= 'i') \
5257
 
                     || ('j' <= (c) && (c) <= 'r') \
5258
 
                     || ('s' <= (c) && (c) <= 'z'))
5259
 
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5260
 
#endif
5261
 
 
5262
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5263
 
int
5264
 
main ()
5265
 
{
5266
 
  int i;
5267
 
  for (i = 0; i < 256; i++)
5268
 
    if (XOR (islower (i), ISLOWER (i))
5269
 
        || toupper (i) != TOUPPER (i))
5270
 
      return 2;
5271
 
  return 0;
5272
 
}
5273
 
_ACEOF
5274
 
rm -f conftest$ac_exeext
5275
 
if { (ac_try="$ac_link"
5276
 
case "(($ac_try" in
5277
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278
 
  *) ac_try_echo=$ac_try;;
5279
 
esac
5280
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5281
 
  (eval "$ac_link") 2>&5
5282
 
  ac_status=$?
5283
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284
 
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5285
 
  { (case "(($ac_try" in
5286
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5287
 
  *) ac_try_echo=$ac_try;;
5288
 
esac
5289
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5290
 
  (eval "$ac_try") 2>&5
5291
 
  ac_status=$?
5292
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293
 
  (exit $ac_status); }; }; then
5294
 
  :
5295
 
else
5296
 
  echo "$as_me: program exited with status $ac_status" >&5
5297
 
echo "$as_me: failed program was:" >&5
5298
 
sed 's/^/| /' conftest.$ac_ext >&5
5299
 
 
5300
 
( exit $ac_status )
5301
 
ac_cv_header_stdc=no
5302
 
fi
5303
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5304
 
fi
5305
 
 
5306
 
 
5307
 
fi
5308
 
fi
5309
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5310
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5311
 
if test $ac_cv_header_stdc = yes; then
5312
 
 
5313
 
cat >>confdefs.h <<\_ACEOF
5314
 
#define STDC_HEADERS 1
5315
 
_ACEOF
5316
 
 
5317
 
fi
5318
 
 
5319
 
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5320
 
 
5321
 
 
5322
 
 
5323
 
 
5324
 
 
5325
 
 
5326
 
 
5327
 
 
5328
 
 
5329
 
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5330
 
                  inttypes.h stdint.h unistd.h
5331
 
do
5332
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5333
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5334
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5335
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5336
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5337
 
else
5338
 
  cat >conftest.$ac_ext <<_ACEOF
5339
 
/* confdefs.h.  */
5340
 
_ACEOF
5341
 
cat confdefs.h >>conftest.$ac_ext
5342
 
cat >>conftest.$ac_ext <<_ACEOF
5343
 
/* end confdefs.h.  */
5344
 
$ac_includes_default
5345
 
 
5346
 
#include <$ac_header>
5347
 
_ACEOF
5348
 
rm -f conftest.$ac_objext
5349
 
if { (ac_try="$ac_compile"
5350
 
case "(($ac_try" in
5351
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5352
 
  *) ac_try_echo=$ac_try;;
5353
 
esac
5354
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5355
 
  (eval "$ac_compile") 2>conftest.er1
5356
 
  ac_status=$?
5357
 
  grep -v '^ *+' conftest.er1 >conftest.err
5358
 
  rm -f conftest.er1
5359
 
  cat conftest.err >&5
5360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361
 
  (exit $ac_status); } && {
5362
 
         test -z "$ac_c_werror_flag" ||
5363
 
         test ! -s conftest.err
5364
 
       } && test -s conftest.$ac_objext; then
5365
 
  eval "$as_ac_Header=yes"
5366
 
else
5367
 
  echo "$as_me: failed program was:" >&5
5368
 
sed 's/^/| /' conftest.$ac_ext >&5
5369
 
 
5370
 
        eval "$as_ac_Header=no"
5371
 
fi
5372
 
 
5373
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5374
 
fi
5375
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5376
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5377
 
echo "${ECHO_T}$ac_res" >&6; }
5378
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5379
 
  cat >>confdefs.h <<_ACEOF
5380
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5381
 
_ACEOF
5382
 
 
5383
 
fi
5384
 
 
5385
 
done
5386
 
 
5387
 
 
5388
 
 
5389
 
for ac_header in dlfcn.h
5390
 
do
5391
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5392
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5393
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5394
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5395
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5396
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5397
 
fi
5398
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5399
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5400
 
echo "${ECHO_T}$ac_res" >&6; }
5401
 
else
5402
 
  # Is the header compilable?
5403
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5404
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5405
 
cat >conftest.$ac_ext <<_ACEOF
5406
 
/* confdefs.h.  */
5407
 
_ACEOF
5408
 
cat confdefs.h >>conftest.$ac_ext
5409
 
cat >>conftest.$ac_ext <<_ACEOF
5410
 
/* end confdefs.h.  */
5411
 
$ac_includes_default
5412
 
#include <$ac_header>
5413
 
_ACEOF
5414
 
rm -f conftest.$ac_objext
5415
 
if { (ac_try="$ac_compile"
5416
 
case "(($ac_try" in
5417
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5418
 
  *) ac_try_echo=$ac_try;;
5419
 
esac
5420
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5421
 
  (eval "$ac_compile") 2>conftest.er1
5422
 
  ac_status=$?
5423
 
  grep -v '^ *+' conftest.er1 >conftest.err
5424
 
  rm -f conftest.er1
5425
 
  cat conftest.err >&5
5426
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427
 
  (exit $ac_status); } && {
5428
 
         test -z "$ac_c_werror_flag" ||
5429
 
         test ! -s conftest.err
5430
 
       } && test -s conftest.$ac_objext; then
5431
 
  ac_header_compiler=yes
5432
 
else
5433
 
  echo "$as_me: failed program was:" >&5
5434
 
sed 's/^/| /' conftest.$ac_ext >&5
5435
 
 
5436
 
        ac_header_compiler=no
5437
 
fi
5438
 
 
5439
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5440
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5441
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
5442
 
 
5443
 
# Is the header present?
5444
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5445
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5446
 
cat >conftest.$ac_ext <<_ACEOF
5447
 
/* confdefs.h.  */
5448
 
_ACEOF
5449
 
cat confdefs.h >>conftest.$ac_ext
5450
 
cat >>conftest.$ac_ext <<_ACEOF
5451
 
/* end confdefs.h.  */
5452
 
#include <$ac_header>
5453
 
_ACEOF
5454
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
5455
 
case "(($ac_try" in
5456
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5457
 
  *) ac_try_echo=$ac_try;;
5458
 
esac
5459
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5460
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5461
 
  ac_status=$?
5462
 
  grep -v '^ *+' conftest.er1 >conftest.err
5463
 
  rm -f conftest.er1
5464
 
  cat conftest.err >&5
5465
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466
 
  (exit $ac_status); } >/dev/null && {
5467
 
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5468
 
         test ! -s conftest.err
5469
 
       }; then
5470
 
  ac_header_preproc=yes
5471
 
else
5472
 
  echo "$as_me: failed program was:" >&5
5473
 
sed 's/^/| /' conftest.$ac_ext >&5
5474
 
 
5475
 
  ac_header_preproc=no
5476
 
fi
5477
 
 
5478
 
rm -f conftest.err conftest.$ac_ext
5479
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5480
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
5481
 
 
5482
 
# So?  What about this header?
5483
 
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5484
 
  yes:no: )
5485
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5486
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5487
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5488
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5489
 
    ac_header_preproc=yes
5490
 
    ;;
5491
 
  no:yes:* )
5492
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5493
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5494
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5495
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5496
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5497
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5498
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5499
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5500
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5501
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5502
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5503
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5504
 
    ( cat <<\_ASBOX
5505
 
## ---------------------------------- ##
5506
 
## Report this to thep@linux.thai.net ##
5507
 
## ---------------------------------- ##
5508
 
_ASBOX
5509
 
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5510
 
    ;;
5511
 
esac
5512
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5513
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5514
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5515
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5516
 
else
5517
 
  eval "$as_ac_Header=\$ac_header_preproc"
5518
 
fi
5519
 
ac_res=`eval echo '${'$as_ac_Header'}'`
5520
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
5521
 
echo "${ECHO_T}$ac_res" >&6; }
5522
 
 
5523
 
fi
5524
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5525
 
  cat >>confdefs.h <<_ACEOF
5526
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5527
 
_ACEOF
5528
 
 
5529
 
fi
5530
 
 
5531
 
done
5532
 
 
5533
 
ac_ext=cpp
5534
 
ac_cpp='$CXXCPP $CPPFLAGS'
5535
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5536
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5537
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5538
 
if test -z "$CXX"; then
5539
 
  if test -n "$CCC"; then
5540
 
    CXX=$CCC
5541
 
  else
5542
 
    if test -n "$ac_tool_prefix"; then
5543
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5544
 
  do
5545
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5546
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5547
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5548
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5549
 
if test "${ac_cv_prog_CXX+set}" = set; then
5550
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5551
 
else
5552
 
  if test -n "$CXX"; then
5553
 
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5554
 
else
5555
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5556
 
for as_dir in $PATH
5557
 
do
5558
 
  IFS=$as_save_IFS
5559
 
  test -z "$as_dir" && as_dir=.
5560
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5561
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5562
 
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5563
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5564
 
    break 2
5565
 
  fi
5566
 
done
5567
 
done
5568
 
IFS=$as_save_IFS
5569
 
 
5570
 
fi
5571
 
fi
5572
 
CXX=$ac_cv_prog_CXX
5573
 
if test -n "$CXX"; then
5574
 
  { echo "$as_me:$LINENO: result: $CXX" >&5
5575
 
echo "${ECHO_T}$CXX" >&6; }
5576
 
else
5577
 
  { echo "$as_me:$LINENO: result: no" >&5
5578
 
echo "${ECHO_T}no" >&6; }
5579
 
fi
5580
 
 
5581
 
 
5582
 
    test -n "$CXX" && break
5583
 
  done
5584
 
fi
5585
 
if test -z "$CXX"; then
5586
 
  ac_ct_CXX=$CXX
5587
 
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5588
 
do
5589
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5590
 
set dummy $ac_prog; ac_word=$2
5591
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5592
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5593
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5594
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5595
 
else
5596
 
  if test -n "$ac_ct_CXX"; then
5597
 
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5598
 
else
5599
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600
 
for as_dir in $PATH
5601
 
do
5602
 
  IFS=$as_save_IFS
5603
 
  test -z "$as_dir" && as_dir=.
5604
 
  for ac_exec_ext in '' $ac_executable_extensions; do
5605
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5606
 
    ac_cv_prog_ac_ct_CXX="$ac_prog"
5607
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5608
 
    break 2
5609
 
  fi
5610
 
done
5611
 
done
5612
 
IFS=$as_save_IFS
5613
 
 
5614
 
fi
5615
 
fi
5616
 
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5617
 
if test -n "$ac_ct_CXX"; then
5618
 
  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5619
 
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5620
 
else
5621
 
  { echo "$as_me:$LINENO: result: no" >&5
5622
 
echo "${ECHO_T}no" >&6; }
5623
 
fi
5624
 
 
5625
 
 
5626
 
  test -n "$ac_ct_CXX" && break
5627
 
done
5628
 
 
5629
 
  if test "x$ac_ct_CXX" = x; then
5630
 
    CXX="g++"
5631
 
  else
5632
 
    case $cross_compiling:$ac_tool_warned in
5633
 
yes:)
5634
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5635
 
whose name does not start with the host triplet.  If you think this
5636
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
5637
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5638
 
whose name does not start with the host triplet.  If you think this
5639
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5640
 
ac_tool_warned=yes ;;
5641
 
esac
5642
 
    CXX=$ac_ct_CXX
5643
 
  fi
5644
 
fi
5645
 
 
5646
 
  fi
5647
 
fi
5648
 
# Provide some information about the compiler.
5649
 
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5650
 
ac_compiler=`set X $ac_compile; echo $2`
5651
 
{ (ac_try="$ac_compiler --version >&5"
5652
 
case "(($ac_try" in
5653
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5654
 
  *) ac_try_echo=$ac_try;;
5655
 
esac
5656
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5657
 
  (eval "$ac_compiler --version >&5") 2>&5
5658
 
  ac_status=$?
5659
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660
 
  (exit $ac_status); }
5661
 
{ (ac_try="$ac_compiler -v >&5"
5662
 
case "(($ac_try" in
5663
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5664
 
  *) ac_try_echo=$ac_try;;
5665
 
esac
5666
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5667
 
  (eval "$ac_compiler -v >&5") 2>&5
5668
 
  ac_status=$?
5669
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670
 
  (exit $ac_status); }
5671
 
{ (ac_try="$ac_compiler -V >&5"
5672
 
case "(($ac_try" in
5673
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5674
 
  *) ac_try_echo=$ac_try;;
5675
 
esac
5676
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5677
 
  (eval "$ac_compiler -V >&5") 2>&5
5678
 
  ac_status=$?
5679
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680
 
  (exit $ac_status); }
5681
 
 
5682
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5683
 
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5684
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5685
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5686
 
else
5687
 
  cat >conftest.$ac_ext <<_ACEOF
5688
 
/* confdefs.h.  */
5689
 
_ACEOF
5690
 
cat confdefs.h >>conftest.$ac_ext
5691
 
cat >>conftest.$ac_ext <<_ACEOF
5692
 
/* end confdefs.h.  */
5693
 
 
5694
 
int
5695
 
main ()
5696
 
{
5697
 
#ifndef __GNUC__
5698
 
       choke me
5699
 
#endif
5700
 
 
5701
 
  ;
5702
 
  return 0;
5703
 
}
5704
 
_ACEOF
5705
 
rm -f conftest.$ac_objext
5706
 
if { (ac_try="$ac_compile"
5707
 
case "(($ac_try" in
5708
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5709
 
  *) ac_try_echo=$ac_try;;
5710
 
esac
5711
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5712
 
  (eval "$ac_compile") 2>conftest.er1
5713
 
  ac_status=$?
5714
 
  grep -v '^ *+' conftest.er1 >conftest.err
5715
 
  rm -f conftest.er1
5716
 
  cat conftest.err >&5
5717
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718
 
  (exit $ac_status); } && {
5719
 
         test -z "$ac_cxx_werror_flag" ||
5720
 
         test ! -s conftest.err
5721
 
       } && test -s conftest.$ac_objext; then
5722
 
  ac_compiler_gnu=yes
5723
 
else
5724
 
  echo "$as_me: failed program was:" >&5
5725
 
sed 's/^/| /' conftest.$ac_ext >&5
5726
 
 
5727
 
        ac_compiler_gnu=no
5728
 
fi
5729
 
 
5730
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5731
 
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5732
 
 
5733
 
fi
5734
 
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5735
 
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5736
 
GXX=`test $ac_compiler_gnu = yes && echo yes`
5737
 
ac_test_CXXFLAGS=${CXXFLAGS+set}
5738
 
ac_save_CXXFLAGS=$CXXFLAGS
5739
 
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5740
 
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5741
 
if test "${ac_cv_prog_cxx_g+set}" = set; then
5742
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5743
 
else
5744
 
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5745
 
   ac_cxx_werror_flag=yes
5746
 
   ac_cv_prog_cxx_g=no
5747
 
   CXXFLAGS="-g"
5748
 
   cat >conftest.$ac_ext <<_ACEOF
5749
 
/* confdefs.h.  */
5750
 
_ACEOF
5751
 
cat confdefs.h >>conftest.$ac_ext
5752
 
cat >>conftest.$ac_ext <<_ACEOF
5753
 
/* end confdefs.h.  */
5754
 
 
5755
 
int
5756
 
main ()
5757
 
{
5758
 
 
5759
 
  ;
5760
 
  return 0;
5761
 
}
5762
 
_ACEOF
5763
 
rm -f conftest.$ac_objext
5764
 
if { (ac_try="$ac_compile"
5765
 
case "(($ac_try" in
5766
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5767
 
  *) ac_try_echo=$ac_try;;
5768
 
esac
5769
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5770
 
  (eval "$ac_compile") 2>conftest.er1
5771
 
  ac_status=$?
5772
 
  grep -v '^ *+' conftest.er1 >conftest.err
5773
 
  rm -f conftest.er1
5774
 
  cat conftest.err >&5
5775
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776
 
  (exit $ac_status); } && {
5777
 
         test -z "$ac_cxx_werror_flag" ||
5778
 
         test ! -s conftest.err
5779
 
       } && test -s conftest.$ac_objext; then
5780
 
  ac_cv_prog_cxx_g=yes
5781
 
else
5782
 
  echo "$as_me: failed program was:" >&5
5783
 
sed 's/^/| /' conftest.$ac_ext >&5
5784
 
 
5785
 
        CXXFLAGS=""
5786
 
      cat >conftest.$ac_ext <<_ACEOF
5787
 
/* confdefs.h.  */
5788
 
_ACEOF
5789
 
cat confdefs.h >>conftest.$ac_ext
5790
 
cat >>conftest.$ac_ext <<_ACEOF
5791
 
/* end confdefs.h.  */
5792
 
 
5793
 
int
5794
 
main ()
5795
 
{
5796
 
 
5797
 
  ;
5798
 
  return 0;
5799
 
}
5800
 
_ACEOF
5801
 
rm -f conftest.$ac_objext
5802
 
if { (ac_try="$ac_compile"
5803
 
case "(($ac_try" in
5804
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5805
 
  *) ac_try_echo=$ac_try;;
5806
 
esac
5807
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5808
 
  (eval "$ac_compile") 2>conftest.er1
5809
 
  ac_status=$?
5810
 
  grep -v '^ *+' conftest.er1 >conftest.err
5811
 
  rm -f conftest.er1
5812
 
  cat conftest.err >&5
5813
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814
 
  (exit $ac_status); } && {
5815
 
         test -z "$ac_cxx_werror_flag" ||
5816
 
         test ! -s conftest.err
5817
 
       } && test -s conftest.$ac_objext; then
5818
 
  :
5819
 
else
5820
 
  echo "$as_me: failed program was:" >&5
5821
 
sed 's/^/| /' conftest.$ac_ext >&5
5822
 
 
5823
 
        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5824
 
         CXXFLAGS="-g"
5825
 
         cat >conftest.$ac_ext <<_ACEOF
5826
 
/* confdefs.h.  */
5827
 
_ACEOF
5828
 
cat confdefs.h >>conftest.$ac_ext
5829
 
cat >>conftest.$ac_ext <<_ACEOF
5830
 
/* end confdefs.h.  */
5831
 
 
5832
 
int
5833
 
main ()
5834
 
{
5835
 
 
5836
 
  ;
5837
 
  return 0;
5838
 
}
5839
 
_ACEOF
5840
 
rm -f conftest.$ac_objext
5841
 
if { (ac_try="$ac_compile"
5842
 
case "(($ac_try" in
5843
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5844
 
  *) ac_try_echo=$ac_try;;
5845
 
esac
5846
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5847
 
  (eval "$ac_compile") 2>conftest.er1
5848
 
  ac_status=$?
5849
 
  grep -v '^ *+' conftest.er1 >conftest.err
5850
 
  rm -f conftest.er1
5851
 
  cat conftest.err >&5
5852
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5853
 
  (exit $ac_status); } && {
5854
 
         test -z "$ac_cxx_werror_flag" ||
5855
 
         test ! -s conftest.err
5856
 
       } && test -s conftest.$ac_objext; then
5857
 
  ac_cv_prog_cxx_g=yes
5858
 
else
5859
 
  echo "$as_me: failed program was:" >&5
5860
 
sed 's/^/| /' conftest.$ac_ext >&5
5861
 
 
5862
 
 
5863
 
fi
5864
 
 
5865
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5866
 
fi
5867
 
 
5868
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5869
 
fi
5870
 
 
5871
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5872
 
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5873
 
fi
5874
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5875
 
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5876
 
if test "$ac_test_CXXFLAGS" = set; then
5877
 
  CXXFLAGS=$ac_save_CXXFLAGS
5878
 
elif test $ac_cv_prog_cxx_g = yes; then
5879
 
  if test "$GXX" = yes; then
5880
 
    CXXFLAGS="-g -O2"
5881
 
  else
5882
 
    CXXFLAGS="-g"
5883
 
  fi
5884
 
else
5885
 
  if test "$GXX" = yes; then
5886
 
    CXXFLAGS="-O2"
5887
 
  else
5888
 
    CXXFLAGS=
5889
 
  fi
5890
 
fi
5891
 
ac_ext=cpp
5892
 
ac_cpp='$CXXCPP $CPPFLAGS'
5893
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5894
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5895
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5896
 
 
5897
 
depcc="$CXX"  am_compiler_list=
5898
 
 
5899
 
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5900
 
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5901
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5902
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
5903
 
else
5904
 
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5905
 
  # We make a subdir and do the tests there.  Otherwise we can end up
5906
 
  # making bogus files that we don't know about and never remove.  For
5907
 
  # instance it was reported that on HP-UX the gcc test will end up
5908
 
  # making a dummy file named `D' -- because `-MD' means `put the output
5909
 
  # in D'.
5910
 
  mkdir conftest.dir
5911
 
  # Copy depcomp to subdir because otherwise we won't find it if we're
5912
 
  # using a relative directory.
5913
 
  cp "$am_depcomp" conftest.dir
5914
 
  cd conftest.dir
5915
 
  # We will build objects and dependencies in a subdirectory because
5916
 
  # it helps to detect inapplicable dependency modes.  For instance
5917
 
  # both Tru64's cc and ICC support -MD to output dependencies as a
5918
 
  # side effect of compilation, but ICC will put the dependencies in
5919
 
  # the current directory while Tru64 will put them in the object
5920
 
  # directory.
5921
 
  mkdir sub
5922
 
 
5923
 
  am_cv_CXX_dependencies_compiler_type=none
5924
 
  if test "$am_compiler_list" = ""; then
5925
 
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5926
 
  fi
5927
 
  for depmode in $am_compiler_list; do
5928
 
    # Setup a source with many dependencies, because some compilers
5929
 
    # like to wrap large dependency lists on column 80 (with \), and
5930
 
    # we should not choose a depcomp mode which is confused by this.
5931
 
    #
5932
 
    # We need to recreate these files for each test, as the compiler may
5933
 
    # overwrite some of them when testing with obscure command lines.
5934
 
    # This happens at least with the AIX C compiler.
5935
 
    : > sub/conftest.c
5936
 
    for i in 1 2 3 4 5 6; do
5937
 
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5938
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5939
 
      # Solaris 8's {/usr,}/bin/sh.
5940
 
      touch sub/conftst$i.h
5941
 
    done
5942
 
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5943
 
 
5944
 
    case $depmode in
5945
 
    nosideeffect)
5946
 
      # after this tag, mechanisms are not by side-effect, so they'll
5947
 
      # only be used when explicitly requested
5948
 
      if test "x$enable_dependency_tracking" = xyes; then
5949
 
        continue
5950
 
      else
5951
 
        break
5952
 
      fi
5953
 
      ;;
5954
 
    none) break ;;
5955
 
    esac
5956
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
5957
 
    # mode.  It turns out that the SunPro C++ compiler does not properly
5958
 
    # handle `-M -o', and we need to detect this.
5959
 
    if depmode=$depmode \
5960
 
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5961
 
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5962
 
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5963
 
         >/dev/null 2>conftest.err &&
5964
 
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5965
 
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5966
 
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5967
 
      # icc doesn't choke on unknown options, it will just issue warnings
5968
 
      # or remarks (even with -Werror).  So we grep stderr for any message
5969
 
      # that says an option was ignored or not supported.
5970
 
      # When given -MP, icc 7.0 and 7.1 complain thusly:
5971
 
      #   icc: Command line warning: ignoring option '-M'; no argument required
5972
 
      # The diagnosis changed in icc 8.0:
5973
 
      #   icc: Command line remark: option '-MP' not supported
5974
 
      if (grep 'ignoring option' conftest.err ||
5975
 
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5976
 
        am_cv_CXX_dependencies_compiler_type=$depmode
5977
 
        break
5978
 
      fi
5979
 
    fi
5980
 
  done
5981
 
 
5982
 
  cd ..
5983
 
  rm -rf conftest.dir
5984
 
else
5985
 
  am_cv_CXX_dependencies_compiler_type=none
5986
 
fi
5987
 
 
5988
 
fi
5989
 
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5990
 
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5991
 
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5992
 
 
5993
 
 
5994
 
 
5995
 
if
5996
 
  test "x$enable_dependency_tracking" != xno \
5997
 
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5998
 
  am__fastdepCXX_TRUE=
5999
 
  am__fastdepCXX_FALSE='#'
6000
 
else
6001
 
  am__fastdepCXX_TRUE='#'
6002
 
  am__fastdepCXX_FALSE=
6003
 
fi
6004
 
 
6005
 
 
6006
 
 
6007
 
 
6008
 
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6009
 
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6010
 
    (test "X$CXX" != "Xg++"))) ; then
6011
 
  ac_ext=cpp
6012
 
ac_cpp='$CXXCPP $CPPFLAGS'
6013
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6014
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6015
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6016
 
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6017
 
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6018
 
if test -z "$CXXCPP"; then
6019
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then
6020
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6021
 
else
6022
 
      # Double quotes because CXXCPP needs to be expanded
6023
 
    for CXXCPP in "$CXX -E" "/lib/cpp"
6024
 
    do
6025
 
      ac_preproc_ok=false
6026
 
for ac_cxx_preproc_warn_flag in '' yes
6027
 
do
6028
 
  # Use a header file that comes with gcc, so configuring glibc
6029
 
  # with a fresh cross-compiler works.
6030
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6031
 
  # <limits.h> exists even on freestanding compilers.
6032
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6033
 
  # not just through cpp. "Syntax error" is here to catch this case.
6034
 
  cat >conftest.$ac_ext <<_ACEOF
6035
 
/* confdefs.h.  */
6036
 
_ACEOF
6037
 
cat confdefs.h >>conftest.$ac_ext
6038
 
cat >>conftest.$ac_ext <<_ACEOF
6039
 
/* end confdefs.h.  */
6040
 
#ifdef __STDC__
6041
 
# include <limits.h>
6042
 
#else
6043
 
# include <assert.h>
6044
 
#endif
6045
 
                     Syntax error
6046
 
_ACEOF
6047
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6048
 
case "(($ac_try" in
6049
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6050
 
  *) ac_try_echo=$ac_try;;
6051
 
esac
6052
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6053
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6054
 
  ac_status=$?
6055
 
  grep -v '^ *+' conftest.er1 >conftest.err
6056
 
  rm -f conftest.er1
6057
 
  cat conftest.err >&5
6058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059
 
  (exit $ac_status); } >/dev/null && {
6060
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6061
 
         test ! -s conftest.err
6062
 
       }; then
6063
 
  :
6064
 
else
6065
 
  echo "$as_me: failed program was:" >&5
6066
 
sed 's/^/| /' conftest.$ac_ext >&5
6067
 
 
6068
 
  # Broken: fails on valid input.
6069
 
continue
6070
 
fi
6071
 
 
6072
 
rm -f conftest.err conftest.$ac_ext
6073
 
 
6074
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6075
 
  # can be detected and how.
6076
 
  cat >conftest.$ac_ext <<_ACEOF
6077
 
/* confdefs.h.  */
6078
 
_ACEOF
6079
 
cat confdefs.h >>conftest.$ac_ext
6080
 
cat >>conftest.$ac_ext <<_ACEOF
6081
 
/* end confdefs.h.  */
6082
 
#include <ac_nonexistent.h>
6083
 
_ACEOF
6084
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6085
 
case "(($ac_try" in
6086
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6087
 
  *) ac_try_echo=$ac_try;;
6088
 
esac
6089
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6090
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6091
 
  ac_status=$?
6092
 
  grep -v '^ *+' conftest.er1 >conftest.err
6093
 
  rm -f conftest.er1
6094
 
  cat conftest.err >&5
6095
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096
 
  (exit $ac_status); } >/dev/null && {
6097
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6098
 
         test ! -s conftest.err
6099
 
       }; then
6100
 
  # Broken: success on invalid input.
6101
 
continue
6102
 
else
6103
 
  echo "$as_me: failed program was:" >&5
6104
 
sed 's/^/| /' conftest.$ac_ext >&5
6105
 
 
6106
 
  # Passes both tests.
6107
 
ac_preproc_ok=:
6108
 
break
6109
 
fi
6110
 
 
6111
 
rm -f conftest.err conftest.$ac_ext
6112
 
 
6113
 
done
6114
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6115
 
rm -f conftest.err conftest.$ac_ext
6116
 
if $ac_preproc_ok; then
6117
 
  break
6118
 
fi
6119
 
 
6120
 
    done
6121
 
    ac_cv_prog_CXXCPP=$CXXCPP
6122
 
 
6123
 
fi
6124
 
  CXXCPP=$ac_cv_prog_CXXCPP
6125
 
else
6126
 
  ac_cv_prog_CXXCPP=$CXXCPP
6127
 
fi
6128
 
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6129
 
echo "${ECHO_T}$CXXCPP" >&6; }
6130
 
ac_preproc_ok=false
6131
 
for ac_cxx_preproc_warn_flag in '' yes
6132
 
do
6133
 
  # Use a header file that comes with gcc, so configuring glibc
6134
 
  # with a fresh cross-compiler works.
6135
 
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6136
 
  # <limits.h> exists even on freestanding compilers.
6137
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
6138
 
  # not just through cpp. "Syntax error" is here to catch this case.
6139
 
  cat >conftest.$ac_ext <<_ACEOF
6140
 
/* confdefs.h.  */
6141
 
_ACEOF
6142
 
cat confdefs.h >>conftest.$ac_ext
6143
 
cat >>conftest.$ac_ext <<_ACEOF
6144
 
/* end confdefs.h.  */
6145
 
#ifdef __STDC__
6146
 
# include <limits.h>
6147
 
#else
6148
 
# include <assert.h>
6149
 
#endif
6150
 
                     Syntax error
6151
 
_ACEOF
6152
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6153
 
case "(($ac_try" in
6154
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6155
 
  *) ac_try_echo=$ac_try;;
6156
 
esac
6157
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6158
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6159
 
  ac_status=$?
6160
 
  grep -v '^ *+' conftest.er1 >conftest.err
6161
 
  rm -f conftest.er1
6162
 
  cat conftest.err >&5
6163
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164
 
  (exit $ac_status); } >/dev/null && {
6165
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6166
 
         test ! -s conftest.err
6167
 
       }; then
6168
 
  :
6169
 
else
6170
 
  echo "$as_me: failed program was:" >&5
6171
 
sed 's/^/| /' conftest.$ac_ext >&5
6172
 
 
6173
 
  # Broken: fails on valid input.
6174
 
continue
6175
 
fi
6176
 
 
6177
 
rm -f conftest.err conftest.$ac_ext
6178
 
 
6179
 
  # OK, works on sane cases.  Now check whether nonexistent headers
6180
 
  # can be detected and how.
6181
 
  cat >conftest.$ac_ext <<_ACEOF
6182
 
/* confdefs.h.  */
6183
 
_ACEOF
6184
 
cat confdefs.h >>conftest.$ac_ext
6185
 
cat >>conftest.$ac_ext <<_ACEOF
6186
 
/* end confdefs.h.  */
6187
 
#include <ac_nonexistent.h>
6188
 
_ACEOF
6189
 
if { (ac_try="$ac_cpp conftest.$ac_ext"
6190
 
case "(($ac_try" in
6191
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6192
 
  *) ac_try_echo=$ac_try;;
6193
 
esac
6194
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6195
 
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6196
 
  ac_status=$?
6197
 
  grep -v '^ *+' conftest.er1 >conftest.err
6198
 
  rm -f conftest.er1
6199
 
  cat conftest.err >&5
6200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201
 
  (exit $ac_status); } >/dev/null && {
6202
 
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6203
 
         test ! -s conftest.err
6204
 
       }; then
6205
 
  # Broken: success on invalid input.
6206
 
continue
6207
 
else
6208
 
  echo "$as_me: failed program was:" >&5
6209
 
sed 's/^/| /' conftest.$ac_ext >&5
6210
 
 
6211
 
  # Passes both tests.
6212
 
ac_preproc_ok=:
6213
 
break
6214
 
fi
6215
 
 
6216
 
rm -f conftest.err conftest.$ac_ext
6217
 
 
6218
 
done
6219
 
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6220
 
rm -f conftest.err conftest.$ac_ext
6221
 
if $ac_preproc_ok; then
6222
 
  :
6223
 
else
6224
 
  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6225
 
See \`config.log' for more details." >&5
6226
 
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6227
 
See \`config.log' for more details." >&2;}
6228
 
   { (exit 1); exit 1; }; }
6229
 
fi
6230
 
 
6231
 
ac_ext=cpp
6232
 
ac_cpp='$CXXCPP $CPPFLAGS'
6233
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6236
 
 
6237
 
fi
6238
 
 
6239
 
 
6240
 
ac_ext=f
6241
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6242
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6243
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6244
 
if test -n "$ac_tool_prefix"; then
6245
 
  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
6246
 
  do
6247
 
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6248
 
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6249
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6250
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6251
 
if test "${ac_cv_prog_F77+set}" = set; then
6252
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6253
 
else
6254
 
  if test -n "$F77"; then
6255
 
  ac_cv_prog_F77="$F77" # Let the user override the test.
6256
 
else
6257
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258
 
for as_dir in $PATH
6259
 
do
6260
 
  IFS=$as_save_IFS
6261
 
  test -z "$as_dir" && as_dir=.
6262
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6263
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6264
 
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6265
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6266
 
    break 2
6267
 
  fi
6268
 
done
6269
 
done
6270
 
IFS=$as_save_IFS
6271
 
 
6272
 
fi
6273
 
fi
6274
 
F77=$ac_cv_prog_F77
6275
 
if test -n "$F77"; then
6276
 
  { echo "$as_me:$LINENO: result: $F77" >&5
6277
 
echo "${ECHO_T}$F77" >&6; }
6278
 
else
6279
 
  { echo "$as_me:$LINENO: result: no" >&5
6280
 
echo "${ECHO_T}no" >&6; }
6281
 
fi
6282
 
 
6283
 
 
6284
 
    test -n "$F77" && break
6285
 
  done
6286
 
fi
6287
 
if test -z "$F77"; then
6288
 
  ac_ct_F77=$F77
6289
 
  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
6290
 
do
6291
 
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6292
 
set dummy $ac_prog; ac_word=$2
6293
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6294
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6295
 
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6296
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6297
 
else
6298
 
  if test -n "$ac_ct_F77"; then
6299
 
  ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6300
 
else
6301
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302
 
for as_dir in $PATH
6303
 
do
6304
 
  IFS=$as_save_IFS
6305
 
  test -z "$as_dir" && as_dir=.
6306
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6307
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6308
 
    ac_cv_prog_ac_ct_F77="$ac_prog"
6309
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6310
 
    break 2
6311
 
  fi
6312
 
done
6313
 
done
6314
 
IFS=$as_save_IFS
6315
 
 
6316
 
fi
6317
 
fi
6318
 
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6319
 
if test -n "$ac_ct_F77"; then
6320
 
  { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6321
 
echo "${ECHO_T}$ac_ct_F77" >&6; }
6322
 
else
6323
 
  { echo "$as_me:$LINENO: result: no" >&5
6324
 
echo "${ECHO_T}no" >&6; }
6325
 
fi
6326
 
 
6327
 
 
6328
 
  test -n "$ac_ct_F77" && break
6329
 
done
6330
 
 
6331
 
  if test "x$ac_ct_F77" = x; then
6332
 
    F77=""
6333
 
  else
6334
 
    case $cross_compiling:$ac_tool_warned in
6335
 
yes:)
6336
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6337
 
whose name does not start with the host triplet.  If you think this
6338
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6339
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6340
 
whose name does not start with the host triplet.  If you think this
6341
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6342
 
ac_tool_warned=yes ;;
6343
 
esac
6344
 
    F77=$ac_ct_F77
6345
 
  fi
6346
 
fi
6347
 
 
6348
 
 
6349
 
# Provide some information about the compiler.
6350
 
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6351
 
ac_compiler=`set X $ac_compile; echo $2`
6352
 
{ (ac_try="$ac_compiler --version >&5"
6353
 
case "(($ac_try" in
6354
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6355
 
  *) ac_try_echo=$ac_try;;
6356
 
esac
6357
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6358
 
  (eval "$ac_compiler --version >&5") 2>&5
6359
 
  ac_status=$?
6360
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361
 
  (exit $ac_status); }
6362
 
{ (ac_try="$ac_compiler -v >&5"
6363
 
case "(($ac_try" in
6364
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6365
 
  *) ac_try_echo=$ac_try;;
6366
 
esac
6367
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6368
 
  (eval "$ac_compiler -v >&5") 2>&5
6369
 
  ac_status=$?
6370
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6371
 
  (exit $ac_status); }
6372
 
{ (ac_try="$ac_compiler -V >&5"
6373
 
case "(($ac_try" in
6374
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6375
 
  *) ac_try_echo=$ac_try;;
6376
 
esac
6377
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6378
 
  (eval "$ac_compiler -V >&5") 2>&5
6379
 
  ac_status=$?
6380
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381
 
  (exit $ac_status); }
6382
 
rm -f a.out
6383
 
 
6384
 
# If we don't use `.F' as extension, the preprocessor is not run on the
6385
 
# input file.  (Note that this only needs to work for GNU compilers.)
6386
 
ac_save_ext=$ac_ext
6387
 
ac_ext=F
6388
 
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6389
 
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6390
 
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6391
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6392
 
else
6393
 
  cat >conftest.$ac_ext <<_ACEOF
6394
 
      program main
6395
 
#ifndef __GNUC__
6396
 
       choke me
6397
 
#endif
6398
 
 
6399
 
      end
6400
 
_ACEOF
6401
 
rm -f conftest.$ac_objext
6402
 
if { (ac_try="$ac_compile"
6403
 
case "(($ac_try" in
6404
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6405
 
  *) ac_try_echo=$ac_try;;
6406
 
esac
6407
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6408
 
  (eval "$ac_compile") 2>conftest.er1
6409
 
  ac_status=$?
6410
 
  grep -v '^ *+' conftest.er1 >conftest.err
6411
 
  rm -f conftest.er1
6412
 
  cat conftest.err >&5
6413
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414
 
  (exit $ac_status); } && {
6415
 
         test -z "$ac_f77_werror_flag" ||
6416
 
         test ! -s conftest.err
6417
 
       } && test -s conftest.$ac_objext; then
6418
 
  ac_compiler_gnu=yes
6419
 
else
6420
 
  echo "$as_me: failed program was:" >&5
6421
 
sed 's/^/| /' conftest.$ac_ext >&5
6422
 
 
6423
 
        ac_compiler_gnu=no
6424
 
fi
6425
 
 
6426
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6427
 
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6428
 
 
6429
 
fi
6430
 
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6431
 
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6432
 
ac_ext=$ac_save_ext
6433
 
ac_test_FFLAGS=${FFLAGS+set}
6434
 
ac_save_FFLAGS=$FFLAGS
6435
 
FFLAGS=
6436
 
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6437
 
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6438
 
if test "${ac_cv_prog_f77_g+set}" = set; then
6439
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6440
 
else
6441
 
  FFLAGS=-g
6442
 
cat >conftest.$ac_ext <<_ACEOF
6443
 
      program main
6444
 
 
6445
 
      end
6446
 
_ACEOF
6447
 
rm -f conftest.$ac_objext
6448
 
if { (ac_try="$ac_compile"
6449
 
case "(($ac_try" in
6450
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6451
 
  *) ac_try_echo=$ac_try;;
6452
 
esac
6453
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6454
 
  (eval "$ac_compile") 2>conftest.er1
6455
 
  ac_status=$?
6456
 
  grep -v '^ *+' conftest.er1 >conftest.err
6457
 
  rm -f conftest.er1
6458
 
  cat conftest.err >&5
6459
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460
 
  (exit $ac_status); } && {
6461
 
         test -z "$ac_f77_werror_flag" ||
6462
 
         test ! -s conftest.err
6463
 
       } && test -s conftest.$ac_objext; then
6464
 
  ac_cv_prog_f77_g=yes
6465
 
else
6466
 
  echo "$as_me: failed program was:" >&5
6467
 
sed 's/^/| /' conftest.$ac_ext >&5
6468
 
 
6469
 
        ac_cv_prog_f77_g=no
6470
 
fi
6471
 
 
6472
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6473
 
 
6474
 
fi
6475
 
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6476
 
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6477
 
if test "$ac_test_FFLAGS" = set; then
6478
 
  FFLAGS=$ac_save_FFLAGS
6479
 
elif test $ac_cv_prog_f77_g = yes; then
6480
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6481
 
    FFLAGS="-g -O2"
6482
 
  else
6483
 
    FFLAGS="-g"
6484
 
  fi
6485
 
else
6486
 
  if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6487
 
    FFLAGS="-O2"
6488
 
  else
6489
 
    FFLAGS=
6490
 
  fi
6491
 
fi
6492
 
 
6493
 
G77=`test $ac_compiler_gnu = yes && echo yes`
6494
 
ac_ext=c
6495
 
ac_cpp='$CPP $CPPFLAGS'
6496
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6497
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6498
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6499
 
 
6500
 
 
6501
 
 
6502
 
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6503
 
 
6504
 
# find the maximum length of command line arguments
6505
 
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6506
 
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6507
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6508
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6509
 
else
6510
 
    i=0
6511
 
  teststring="ABCD"
6512
 
 
6513
 
  case $build_os in
6514
 
  msdosdjgpp*)
6515
 
    # On DJGPP, this test can blow up pretty badly due to problems in libc
6516
 
    # (any single argument exceeding 2000 bytes causes a buffer overrun
6517
 
    # during glob expansion).  Even if it were fixed, the result of this
6518
 
    # check would be larger than it should be.
6519
 
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6520
 
    ;;
6521
 
 
6522
 
  gnu*)
6523
 
    # Under GNU Hurd, this test is not required because there is
6524
 
    # no limit to the length of command line arguments.
6525
 
    # Libtool will interpret -1 as no limit whatsoever
6526
 
    lt_cv_sys_max_cmd_len=-1;
6527
 
    ;;
6528
 
 
6529
 
  cygwin* | mingw*)
6530
 
    # On Win9x/ME, this test blows up -- it succeeds, but takes
6531
 
    # about 5 minutes as the teststring grows exponentially.
6532
 
    # Worse, since 9x/ME are not pre-emptively multitasking,
6533
 
    # you end up with a "frozen" computer, even though with patience
6534
 
    # the test eventually succeeds (with a max line length of 256k).
6535
 
    # Instead, let's just punt: use the minimum linelength reported by
6536
 
    # all of the supported platforms: 8192 (on NT/2K/XP).
6537
 
    lt_cv_sys_max_cmd_len=8192;
6538
 
    ;;
6539
 
 
6540
 
  amigaos*)
6541
 
    # On AmigaOS with pdksh, this test takes hours, literally.
6542
 
    # So we just punt and use a minimum line length of 8192.
6543
 
    lt_cv_sys_max_cmd_len=8192;
6544
 
    ;;
6545
 
 
6546
 
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6547
 
    # This has been around since 386BSD, at least.  Likely further.
6548
 
    if test -x /sbin/sysctl; then
6549
 
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6550
 
    elif test -x /usr/sbin/sysctl; then
6551
 
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6552
 
    else
6553
 
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6554
 
    fi
6555
 
    # And add a safety zone
6556
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6557
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6558
 
    ;;
6559
 
 
6560
 
  interix*)
6561
 
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6562
 
    lt_cv_sys_max_cmd_len=196608
6563
 
    ;;
6564
 
 
6565
 
  osf*)
6566
 
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6567
 
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6568
 
    # nice to cause kernel panics so lets avoid the loop below.
6569
 
    # First set a reasonable default.
6570
 
    lt_cv_sys_max_cmd_len=16384
6571
 
    #
6572
 
    if test -x /sbin/sysconfig; then
6573
 
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6574
 
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6575
 
      esac
6576
 
    fi
6577
 
    ;;
6578
 
  sco3.2v5*)
6579
 
    lt_cv_sys_max_cmd_len=102400
6580
 
    ;;
6581
 
  sysv5* | sco5v6* | sysv4.2uw2*)
6582
 
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6583
 
    if test -n "$kargmax"; then
6584
 
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
6585
 
    else
6586
 
      lt_cv_sys_max_cmd_len=32768
6587
 
    fi
6588
 
    ;;
6589
 
  *)
6590
 
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6591
 
    if test -n "$lt_cv_sys_max_cmd_len"; then
6592
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6593
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6594
 
    else
6595
 
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6596
 
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6597
 
               = "XX$teststring") >/dev/null 2>&1 &&
6598
 
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
6599
 
              lt_cv_sys_max_cmd_len=$new_result &&
6600
 
              test $i != 17 # 1/2 MB should be enough
6601
 
      do
6602
 
        i=`expr $i + 1`
6603
 
        teststring=$teststring$teststring
6604
 
      done
6605
 
      teststring=
6606
 
      # Add a significant safety factor because C++ compilers can tack on massive
6607
 
      # amounts of additional arguments before passing them to the linker.
6608
 
      # It appears as though 1/2 is a usable value.
6609
 
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6610
 
    fi
6611
 
    ;;
6612
 
  esac
6613
 
 
6614
 
fi
6615
 
 
6616
 
if test -n $lt_cv_sys_max_cmd_len ; then
6617
 
  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6618
 
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6619
 
else
6620
 
  { echo "$as_me:$LINENO: result: none" >&5
6621
 
echo "${ECHO_T}none" >&6; }
6622
 
fi
6623
 
 
6624
 
 
6625
 
 
6626
 
 
6627
 
 
6628
5703
# Check for command to grab the raw symbol name followed by C symbol from nm.
6629
 
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6630
 
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
 
5704
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
 
5705
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6631
5706
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6632
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5707
  $as_echo_n "(cached) " >&6
6633
5708
else
6634
5709
 
6635
5710
# These are sane defaults that work on at least a few old systems.
6641
5716
# Regexp to match symbols that can be accessed directly from C.
6642
5717
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6643
5718
 
6644
 
# Transform an extracted symbol line into a proper C declaration
6645
 
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6646
 
 
6647
 
# Transform an extracted symbol line into symbol name and symbol address
6648
 
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'"
6649
 
 
6650
5719
# Define system-specific variables.
6651
5720
case $host_os in
6652
5721
aix*)
6653
5722
  symcode='[BCDT]'
6654
5723
  ;;
6655
 
cygwin* | mingw* | pw32*)
 
5724
cygwin* | mingw* | pw32* | cegcc*)
6656
5725
  symcode='[ABCDGISTW]'
6657
5726
  ;;
6658
 
hpux*) # Its linker distinguishes data from code symbols
 
5727
hpux*)
6659
5728
  if test "$host_cpu" = ia64; then
6660
5729
    symcode='[ABCDEGRST]'
6661
5730
  fi
6662
 
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6663
 
  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'"
6664
 
  ;;
6665
 
linux* | k*bsd*-gnu)
6666
 
  if test "$host_cpu" = ia64; then
6667
 
    symcode='[ABCDGIRSTW]'
6668
 
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6669
 
    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'"
6670
 
  fi
6671
5731
  ;;
6672
5732
irix* | nonstopux*)
6673
5733
  symcode='[BCDEGRST]'
6692
5752
  ;;
6693
5753
esac
6694
5754
 
 
5755
# If we're using GNU nm, then use its standard symbol codes.
 
5756
case `$NM -V 2>&1` in
 
5757
*GNU* | *'with BFD'*)
 
5758
  symcode='[ABCDGIRSTW]' ;;
 
5759
esac
 
5760
 
 
5761
# Transform an extracted symbol line into a proper C declaration.
 
5762
# Some systems (esp. on ia64) link data and code symbols differently,
 
5763
# so use this general approach.
 
5764
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5765
 
 
5766
# Transform an extracted symbol line into symbol name and symbol address
 
5767
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
5768
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'"
 
5769
 
6695
5770
# Handle CRLF in mingw tool chain
6696
5771
opt_cr=
6697
5772
case $build_os in
6698
5773
mingw*)
6699
 
  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
5774
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6700
5775
  ;;
6701
5776
esac
6702
5777
 
6703
 
# If we're using GNU nm, then use its standard symbol codes.
6704
 
case `$NM -V 2>&1` in
6705
 
*GNU* | *'with BFD'*)
6706
 
  symcode='[ABCDGIRSTW]' ;;
6707
 
esac
6708
 
 
6709
 
# Try without a prefix undercore, then with it.
 
5778
# Try without a prefix underscore, then with it.
6710
5779
for ac_symprfx in "" "_"; do
6711
5780
 
6712
5781
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6713
5782
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6714
5783
 
6715
5784
  # Write the raw and C identifiers.
6716
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5785
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
5786
    # Fake it for dumpbin and say T for any non-static function
 
5787
    # and D for any global variable.
 
5788
    # Also find C++ and __fastcall symbols from MSVC++,
 
5789
    # which start with @ or ?.
 
5790
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
5791
"     {last_section=section; section=\$ 3};"\
 
5792
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
5793
"     \$ 0!~/External *\|/{next};"\
 
5794
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
5795
"     {if(hide[section]) next};"\
 
5796
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
5797
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
5798
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
5799
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
5800
"     ' prfx=^$ac_symprfx"
 
5801
  else
 
5802
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
5803
  fi
6717
5804
 
6718
5805
  # Check to see that the pipe works correctly.
6719
5806
  pipe_works=no
6720
5807
 
6721
5808
  rm -f conftest*
6722
 
  cat > conftest.$ac_ext <<EOF
 
5809
  cat > conftest.$ac_ext <<_LT_EOF
6723
5810
#ifdef __cplusplus
6724
5811
extern "C" {
6725
5812
#endif
6726
5813
char nm_test_var;
6727
 
void nm_test_func(){}
 
5814
void nm_test_func(void);
 
5815
void nm_test_func(void){}
6728
5816
#ifdef __cplusplus
6729
5817
}
6730
5818
#endif
6731
5819
int main(){nm_test_var='a';nm_test_func();return(0);}
6732
 
EOF
 
5820
_LT_EOF
6733
5821
 
6734
5822
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6735
5823
  (eval $ac_compile) 2>&5
6736
5824
  ac_status=$?
6737
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5825
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738
5826
  (exit $ac_status); }; then
6739
5827
    # Now try to grab the symbols.
6740
5828
    nlist=conftest.nm
6741
5829
    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6742
5830
  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6743
5831
  ac_status=$?
6744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5832
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745
5833
  (exit $ac_status); } && test -s "$nlist"; then
6746
5834
      # Try sorting and uniquifying the output.
6747
5835
      if sort "$nlist" | uniq > "$nlist"T; then
6751
5839
      fi
6752
5840
 
6753
5841
      # Make sure that we snagged all the symbols we need.
6754
 
      if grep ' nm_test_var$' "$nlist" >/dev/null; then
6755
 
        if grep ' nm_test_func$' "$nlist" >/dev/null; then
6756
 
          cat <<EOF > conftest.$ac_ext
 
5842
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
5843
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
5844
          cat <<_LT_EOF > conftest.$ac_ext
6757
5845
#ifdef __cplusplus
6758
5846
extern "C" {
6759
5847
#endif
6760
5848
 
6761
 
EOF
 
5849
_LT_EOF
6762
5850
          # Now generate the symbol file.
6763
 
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6764
 
 
6765
 
          cat <<EOF >> conftest.$ac_ext
6766
 
#if defined (__STDC__) && __STDC__
6767
 
# define lt_ptr_t void *
6768
 
#else
6769
 
# define lt_ptr_t char *
6770
 
# define const
6771
 
#endif
6772
 
 
6773
 
/* The mapping between symbol names and symbols. */
 
5851
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
5852
 
 
5853
          cat <<_LT_EOF >> conftest.$ac_ext
 
5854
 
 
5855
/* The mapping between symbol names and symbols.  */
6774
5856
const struct {
6775
5857
  const char *name;
6776
 
  lt_ptr_t address;
 
5858
  void       *address;
6777
5859
}
6778
 
lt_preloaded_symbols[] =
 
5860
lt__PROGRAM__LTX_preloaded_symbols[] =
6779
5861
{
6780
 
EOF
6781
 
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6782
 
          cat <<\EOF >> conftest.$ac_ext
6783
 
  {0, (lt_ptr_t) 0}
 
5862
  { "@PROGRAM@", (void *) 0 },
 
5863
_LT_EOF
 
5864
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
5865
          cat <<\_LT_EOF >> conftest.$ac_ext
 
5866
  {0, (void *) 0}
6784
5867
};
6785
5868
 
 
5869
/* This works around a problem in FreeBSD linker */
 
5870
#ifdef FREEBSD_WORKAROUND
 
5871
static const void *lt_preloaded_setup() {
 
5872
  return lt__PROGRAM__LTX_preloaded_symbols;
 
5873
}
 
5874
#endif
 
5875
 
6786
5876
#ifdef __cplusplus
6787
5877
}
6788
5878
#endif
6789
 
EOF
 
5879
_LT_EOF
6790
5880
          # Now try linking the two files.
6791
5881
          mv conftest.$ac_objext conftstm.$ac_objext
6792
5882
          lt_save_LIBS="$LIBS"
6796
5886
          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6797
5887
  (eval $ac_link) 2>&5
6798
5888
  ac_status=$?
6799
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5889
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800
5890
  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6801
5891
            pipe_works=yes
6802
5892
          fi
6815
5905
    echo "$progname: failed program was:" >&5
6816
5906
    cat conftest.$ac_ext >&5
6817
5907
  fi
6818
 
  rm -f conftest* conftst*
 
5908
  rm -rf conftest* conftst*
6819
5909
 
6820
5910
  # Do not use the global_symbol_pipe unless it works.
6821
5911
  if test "$pipe_works" = yes; then
6831
5921
  lt_cv_sys_global_symbol_to_cdecl=
6832
5922
fi
6833
5923
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6834
 
  { echo "$as_me:$LINENO: result: failed" >&5
6835
 
echo "${ECHO_T}failed" >&6; }
6836
 
else
6837
 
  { echo "$as_me:$LINENO: result: ok" >&5
6838
 
echo "${ECHO_T}ok" >&6; }
6839
 
fi
6840
 
 
6841
 
{ echo "$as_me:$LINENO: checking for objdir" >&5
6842
 
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
 
5924
  { $as_echo "$as_me:$LINENO: result: failed" >&5
 
5925
$as_echo "failed" >&6; }
 
5926
else
 
5927
  { $as_echo "$as_me:$LINENO: result: ok" >&5
 
5928
$as_echo "ok" >&6; }
 
5929
fi
 
5930
 
 
5931
 
 
5932
 
 
5933
 
 
5934
 
 
5935
 
 
5936
 
 
5937
 
 
5938
 
 
5939
 
 
5940
 
 
5941
 
 
5942
 
 
5943
 
 
5944
 
 
5945
 
 
5946
 
 
5947
 
 
5948
 
 
5949
 
 
5950
 
 
5951
 
 
5952
 
 
5953
# Check whether --enable-libtool-lock was given.
 
5954
if test "${enable_libtool_lock+set}" = set; then
 
5955
  enableval=$enable_libtool_lock;
 
5956
fi
 
5957
 
 
5958
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
5959
 
 
5960
# Some flags need to be propagated to the compiler or linker for good
 
5961
# libtool support.
 
5962
case $host in
 
5963
ia64-*-hpux*)
 
5964
  # Find out which ABI we are using.
 
5965
  echo 'int i;' > conftest.$ac_ext
 
5966
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5967
  (eval $ac_compile) 2>&5
 
5968
  ac_status=$?
 
5969
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5970
  (exit $ac_status); }; then
 
5971
    case `/usr/bin/file conftest.$ac_objext` in
 
5972
      *ELF-32*)
 
5973
        HPUX_IA64_MODE="32"
 
5974
        ;;
 
5975
      *ELF-64*)
 
5976
        HPUX_IA64_MODE="64"
 
5977
        ;;
 
5978
    esac
 
5979
  fi
 
5980
  rm -rf conftest*
 
5981
  ;;
 
5982
*-*-irix6*)
 
5983
  # Find out which ABI we are using.
 
5984
  echo '#line 5984 "configure"' > conftest.$ac_ext
 
5985
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
5986
  (eval $ac_compile) 2>&5
 
5987
  ac_status=$?
 
5988
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
5989
  (exit $ac_status); }; then
 
5990
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
5991
      case `/usr/bin/file conftest.$ac_objext` in
 
5992
        *32-bit*)
 
5993
          LD="${LD-ld} -melf32bsmip"
 
5994
          ;;
 
5995
        *N32*)
 
5996
          LD="${LD-ld} -melf32bmipn32"
 
5997
          ;;
 
5998
        *64-bit*)
 
5999
          LD="${LD-ld} -melf64bmip"
 
6000
        ;;
 
6001
      esac
 
6002
    else
 
6003
      case `/usr/bin/file conftest.$ac_objext` in
 
6004
        *32-bit*)
 
6005
          LD="${LD-ld} -32"
 
6006
          ;;
 
6007
        *N32*)
 
6008
          LD="${LD-ld} -n32"
 
6009
          ;;
 
6010
        *64-bit*)
 
6011
          LD="${LD-ld} -64"
 
6012
          ;;
 
6013
      esac
 
6014
    fi
 
6015
  fi
 
6016
  rm -rf conftest*
 
6017
  ;;
 
6018
 
 
6019
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
6020
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
6021
  # Find out which ABI we are using.
 
6022
  echo 'int i;' > conftest.$ac_ext
 
6023
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6024
  (eval $ac_compile) 2>&5
 
6025
  ac_status=$?
 
6026
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6027
  (exit $ac_status); }; then
 
6028
    case `/usr/bin/file conftest.o` in
 
6029
      *32-bit*)
 
6030
        case $host in
 
6031
          x86_64-*kfreebsd*-gnu)
 
6032
            LD="${LD-ld} -m elf_i386_fbsd"
 
6033
            ;;
 
6034
          x86_64-*linux*)
 
6035
            LD="${LD-ld} -m elf_i386"
 
6036
            ;;
 
6037
          ppc64-*linux*|powerpc64-*linux*)
 
6038
            LD="${LD-ld} -m elf32ppclinux"
 
6039
            ;;
 
6040
          s390x-*linux*)
 
6041
            LD="${LD-ld} -m elf_s390"
 
6042
            ;;
 
6043
          sparc64-*linux*)
 
6044
            LD="${LD-ld} -m elf32_sparc"
 
6045
            ;;
 
6046
        esac
 
6047
        ;;
 
6048
      *64-bit*)
 
6049
        case $host in
 
6050
          x86_64-*kfreebsd*-gnu)
 
6051
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
6052
            ;;
 
6053
          x86_64-*linux*)
 
6054
            LD="${LD-ld} -m elf_x86_64"
 
6055
            ;;
 
6056
          ppc*-*linux*|powerpc*-*linux*)
 
6057
            LD="${LD-ld} -m elf64ppc"
 
6058
            ;;
 
6059
          s390*-*linux*|s390*-*tpf*)
 
6060
            LD="${LD-ld} -m elf64_s390"
 
6061
            ;;
 
6062
          sparc*-*linux*)
 
6063
            LD="${LD-ld} -m elf64_sparc"
 
6064
            ;;
 
6065
        esac
 
6066
        ;;
 
6067
    esac
 
6068
  fi
 
6069
  rm -rf conftest*
 
6070
  ;;
 
6071
 
 
6072
*-*-sco3.2v5*)
 
6073
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
6074
  SAVE_CFLAGS="$CFLAGS"
 
6075
  CFLAGS="$CFLAGS -belf"
 
6076
  { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
 
6077
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
6078
if test "${lt_cv_cc_needs_belf+set}" = set; then
 
6079
  $as_echo_n "(cached) " >&6
 
6080
else
 
6081
  ac_ext=c
 
6082
ac_cpp='$CPP $CPPFLAGS'
 
6083
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6084
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6085
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6086
 
 
6087
     cat >conftest.$ac_ext <<_ACEOF
 
6088
/* confdefs.h.  */
 
6089
_ACEOF
 
6090
cat confdefs.h >>conftest.$ac_ext
 
6091
cat >>conftest.$ac_ext <<_ACEOF
 
6092
/* end confdefs.h.  */
 
6093
 
 
6094
int
 
6095
main ()
 
6096
{
 
6097
 
 
6098
  ;
 
6099
  return 0;
 
6100
}
 
6101
_ACEOF
 
6102
rm -f conftest.$ac_objext conftest$ac_exeext
 
6103
if { (ac_try="$ac_link"
 
6104
case "(($ac_try" in
 
6105
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6106
  *) ac_try_echo=$ac_try;;
 
6107
esac
 
6108
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6109
$as_echo "$ac_try_echo") >&5
 
6110
  (eval "$ac_link") 2>conftest.er1
 
6111
  ac_status=$?
 
6112
  grep -v '^ *+' conftest.er1 >conftest.err
 
6113
  rm -f conftest.er1
 
6114
  cat conftest.err >&5
 
6115
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6116
  (exit $ac_status); } && {
 
6117
         test -z "$ac_c_werror_flag" ||
 
6118
         test ! -s conftest.err
 
6119
       } && test -s conftest$ac_exeext && {
 
6120
         test "$cross_compiling" = yes ||
 
6121
         $as_test_x conftest$ac_exeext
 
6122
       }; then
 
6123
  lt_cv_cc_needs_belf=yes
 
6124
else
 
6125
  $as_echo "$as_me: failed program was:" >&5
 
6126
sed 's/^/| /' conftest.$ac_ext >&5
 
6127
 
 
6128
        lt_cv_cc_needs_belf=no
 
6129
fi
 
6130
 
 
6131
rm -rf conftest.dSYM
 
6132
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6133
      conftest$ac_exeext conftest.$ac_ext
 
6134
     ac_ext=c
 
6135
ac_cpp='$CPP $CPPFLAGS'
 
6136
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6137
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6138
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6139
 
 
6140
fi
 
6141
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
 
6142
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
6143
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
6144
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
6145
    CFLAGS="$SAVE_CFLAGS"
 
6146
  fi
 
6147
  ;;
 
6148
sparc*-*solaris*)
 
6149
  # Find out which ABI we are using.
 
6150
  echo 'int i;' > conftest.$ac_ext
 
6151
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
6152
  (eval $ac_compile) 2>&5
 
6153
  ac_status=$?
 
6154
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6155
  (exit $ac_status); }; then
 
6156
    case `/usr/bin/file conftest.o` in
 
6157
    *64-bit*)
 
6158
      case $lt_cv_prog_gnu_ld in
 
6159
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6160
      *)
 
6161
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
6162
          LD="${LD-ld} -64"
 
6163
        fi
 
6164
        ;;
 
6165
      esac
 
6166
      ;;
 
6167
    esac
 
6168
  fi
 
6169
  rm -rf conftest*
 
6170
  ;;
 
6171
esac
 
6172
 
 
6173
need_locks="$enable_libtool_lock"
 
6174
 
 
6175
 
 
6176
  case $host_os in
 
6177
    rhapsody* | darwin*)
 
6178
    if test -n "$ac_tool_prefix"; then
 
6179
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
6180
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
6181
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6182
$as_echo_n "checking for $ac_word... " >&6; }
 
6183
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
 
6184
  $as_echo_n "(cached) " >&6
 
6185
else
 
6186
  if test -n "$DSYMUTIL"; then
 
6187
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
6188
else
 
6189
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6190
for as_dir in $PATH
 
6191
do
 
6192
  IFS=$as_save_IFS
 
6193
  test -z "$as_dir" && as_dir=.
 
6194
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6195
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6196
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
6197
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6198
    break 2
 
6199
  fi
 
6200
done
 
6201
done
 
6202
IFS=$as_save_IFS
 
6203
 
 
6204
fi
 
6205
fi
 
6206
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
6207
if test -n "$DSYMUTIL"; then
 
6208
  { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
 
6209
$as_echo "$DSYMUTIL" >&6; }
 
6210
else
 
6211
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6212
$as_echo "no" >&6; }
 
6213
fi
 
6214
 
 
6215
 
 
6216
fi
 
6217
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
6218
  ac_ct_DSYMUTIL=$DSYMUTIL
 
6219
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
6220
set dummy dsymutil; ac_word=$2
 
6221
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6222
$as_echo_n "checking for $ac_word... " >&6; }
 
6223
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
 
6224
  $as_echo_n "(cached) " >&6
 
6225
else
 
6226
  if test -n "$ac_ct_DSYMUTIL"; then
 
6227
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
6228
else
 
6229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6230
for as_dir in $PATH
 
6231
do
 
6232
  IFS=$as_save_IFS
 
6233
  test -z "$as_dir" && as_dir=.
 
6234
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6235
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6236
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
6237
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6238
    break 2
 
6239
  fi
 
6240
done
 
6241
done
 
6242
IFS=$as_save_IFS
 
6243
 
 
6244
fi
 
6245
fi
 
6246
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
6247
if test -n "$ac_ct_DSYMUTIL"; then
 
6248
  { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
 
6249
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
6250
else
 
6251
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6252
$as_echo "no" >&6; }
 
6253
fi
 
6254
 
 
6255
  if test "x$ac_ct_DSYMUTIL" = x; then
 
6256
    DSYMUTIL=":"
 
6257
  else
 
6258
    case $cross_compiling:$ac_tool_warned in
 
6259
yes:)
 
6260
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6261
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6262
ac_tool_warned=yes ;;
 
6263
esac
 
6264
    DSYMUTIL=$ac_ct_DSYMUTIL
 
6265
  fi
 
6266
else
 
6267
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
6268
fi
 
6269
 
 
6270
    if test -n "$ac_tool_prefix"; then
 
6271
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
6272
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
6273
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6274
$as_echo_n "checking for $ac_word... " >&6; }
 
6275
if test "${ac_cv_prog_NMEDIT+set}" = set; then
 
6276
  $as_echo_n "(cached) " >&6
 
6277
else
 
6278
  if test -n "$NMEDIT"; then
 
6279
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
6280
else
 
6281
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6282
for as_dir in $PATH
 
6283
do
 
6284
  IFS=$as_save_IFS
 
6285
  test -z "$as_dir" && as_dir=.
 
6286
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6287
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6288
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
6289
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6290
    break 2
 
6291
  fi
 
6292
done
 
6293
done
 
6294
IFS=$as_save_IFS
 
6295
 
 
6296
fi
 
6297
fi
 
6298
NMEDIT=$ac_cv_prog_NMEDIT
 
6299
if test -n "$NMEDIT"; then
 
6300
  { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
 
6301
$as_echo "$NMEDIT" >&6; }
 
6302
else
 
6303
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6304
$as_echo "no" >&6; }
 
6305
fi
 
6306
 
 
6307
 
 
6308
fi
 
6309
if test -z "$ac_cv_prog_NMEDIT"; then
 
6310
  ac_ct_NMEDIT=$NMEDIT
 
6311
  # Extract the first word of "nmedit", so it can be a program name with args.
 
6312
set dummy nmedit; ac_word=$2
 
6313
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6314
$as_echo_n "checking for $ac_word... " >&6; }
 
6315
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
 
6316
  $as_echo_n "(cached) " >&6
 
6317
else
 
6318
  if test -n "$ac_ct_NMEDIT"; then
 
6319
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
6320
else
 
6321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6322
for as_dir in $PATH
 
6323
do
 
6324
  IFS=$as_save_IFS
 
6325
  test -z "$as_dir" && as_dir=.
 
6326
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6327
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6328
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
6329
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6330
    break 2
 
6331
  fi
 
6332
done
 
6333
done
 
6334
IFS=$as_save_IFS
 
6335
 
 
6336
fi
 
6337
fi
 
6338
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
6339
if test -n "$ac_ct_NMEDIT"; then
 
6340
  { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
 
6341
$as_echo "$ac_ct_NMEDIT" >&6; }
 
6342
else
 
6343
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6344
$as_echo "no" >&6; }
 
6345
fi
 
6346
 
 
6347
  if test "x$ac_ct_NMEDIT" = x; then
 
6348
    NMEDIT=":"
 
6349
  else
 
6350
    case $cross_compiling:$ac_tool_warned in
 
6351
yes:)
 
6352
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6353
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6354
ac_tool_warned=yes ;;
 
6355
esac
 
6356
    NMEDIT=$ac_ct_NMEDIT
 
6357
  fi
 
6358
else
 
6359
  NMEDIT="$ac_cv_prog_NMEDIT"
 
6360
fi
 
6361
 
 
6362
    if test -n "$ac_tool_prefix"; then
 
6363
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
6364
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
6365
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6366
$as_echo_n "checking for $ac_word... " >&6; }
 
6367
if test "${ac_cv_prog_LIPO+set}" = set; then
 
6368
  $as_echo_n "(cached) " >&6
 
6369
else
 
6370
  if test -n "$LIPO"; then
 
6371
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
6372
else
 
6373
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6374
for as_dir in $PATH
 
6375
do
 
6376
  IFS=$as_save_IFS
 
6377
  test -z "$as_dir" && as_dir=.
 
6378
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6379
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6380
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
6381
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6382
    break 2
 
6383
  fi
 
6384
done
 
6385
done
 
6386
IFS=$as_save_IFS
 
6387
 
 
6388
fi
 
6389
fi
 
6390
LIPO=$ac_cv_prog_LIPO
 
6391
if test -n "$LIPO"; then
 
6392
  { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
 
6393
$as_echo "$LIPO" >&6; }
 
6394
else
 
6395
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6396
$as_echo "no" >&6; }
 
6397
fi
 
6398
 
 
6399
 
 
6400
fi
 
6401
if test -z "$ac_cv_prog_LIPO"; then
 
6402
  ac_ct_LIPO=$LIPO
 
6403
  # Extract the first word of "lipo", so it can be a program name with args.
 
6404
set dummy lipo; ac_word=$2
 
6405
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6406
$as_echo_n "checking for $ac_word... " >&6; }
 
6407
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
 
6408
  $as_echo_n "(cached) " >&6
 
6409
else
 
6410
  if test -n "$ac_ct_LIPO"; then
 
6411
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
6412
else
 
6413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6414
for as_dir in $PATH
 
6415
do
 
6416
  IFS=$as_save_IFS
 
6417
  test -z "$as_dir" && as_dir=.
 
6418
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6420
    ac_cv_prog_ac_ct_LIPO="lipo"
 
6421
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6422
    break 2
 
6423
  fi
 
6424
done
 
6425
done
 
6426
IFS=$as_save_IFS
 
6427
 
 
6428
fi
 
6429
fi
 
6430
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
6431
if test -n "$ac_ct_LIPO"; then
 
6432
  { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
 
6433
$as_echo "$ac_ct_LIPO" >&6; }
 
6434
else
 
6435
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6436
$as_echo "no" >&6; }
 
6437
fi
 
6438
 
 
6439
  if test "x$ac_ct_LIPO" = x; then
 
6440
    LIPO=":"
 
6441
  else
 
6442
    case $cross_compiling:$ac_tool_warned in
 
6443
yes:)
 
6444
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6445
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6446
ac_tool_warned=yes ;;
 
6447
esac
 
6448
    LIPO=$ac_ct_LIPO
 
6449
  fi
 
6450
else
 
6451
  LIPO="$ac_cv_prog_LIPO"
 
6452
fi
 
6453
 
 
6454
    if test -n "$ac_tool_prefix"; then
 
6455
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
6456
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
6457
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6458
$as_echo_n "checking for $ac_word... " >&6; }
 
6459
if test "${ac_cv_prog_OTOOL+set}" = set; then
 
6460
  $as_echo_n "(cached) " >&6
 
6461
else
 
6462
  if test -n "$OTOOL"; then
 
6463
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
6464
else
 
6465
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6466
for as_dir in $PATH
 
6467
do
 
6468
  IFS=$as_save_IFS
 
6469
  test -z "$as_dir" && as_dir=.
 
6470
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6471
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6472
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
6473
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6474
    break 2
 
6475
  fi
 
6476
done
 
6477
done
 
6478
IFS=$as_save_IFS
 
6479
 
 
6480
fi
 
6481
fi
 
6482
OTOOL=$ac_cv_prog_OTOOL
 
6483
if test -n "$OTOOL"; then
 
6484
  { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
 
6485
$as_echo "$OTOOL" >&6; }
 
6486
else
 
6487
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6488
$as_echo "no" >&6; }
 
6489
fi
 
6490
 
 
6491
 
 
6492
fi
 
6493
if test -z "$ac_cv_prog_OTOOL"; then
 
6494
  ac_ct_OTOOL=$OTOOL
 
6495
  # Extract the first word of "otool", so it can be a program name with args.
 
6496
set dummy otool; ac_word=$2
 
6497
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6498
$as_echo_n "checking for $ac_word... " >&6; }
 
6499
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
 
6500
  $as_echo_n "(cached) " >&6
 
6501
else
 
6502
  if test -n "$ac_ct_OTOOL"; then
 
6503
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
6504
else
 
6505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6506
for as_dir in $PATH
 
6507
do
 
6508
  IFS=$as_save_IFS
 
6509
  test -z "$as_dir" && as_dir=.
 
6510
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6512
    ac_cv_prog_ac_ct_OTOOL="otool"
 
6513
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6514
    break 2
 
6515
  fi
 
6516
done
 
6517
done
 
6518
IFS=$as_save_IFS
 
6519
 
 
6520
fi
 
6521
fi
 
6522
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
6523
if test -n "$ac_ct_OTOOL"; then
 
6524
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
 
6525
$as_echo "$ac_ct_OTOOL" >&6; }
 
6526
else
 
6527
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6528
$as_echo "no" >&6; }
 
6529
fi
 
6530
 
 
6531
  if test "x$ac_ct_OTOOL" = x; then
 
6532
    OTOOL=":"
 
6533
  else
 
6534
    case $cross_compiling:$ac_tool_warned in
 
6535
yes:)
 
6536
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6537
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6538
ac_tool_warned=yes ;;
 
6539
esac
 
6540
    OTOOL=$ac_ct_OTOOL
 
6541
  fi
 
6542
else
 
6543
  OTOOL="$ac_cv_prog_OTOOL"
 
6544
fi
 
6545
 
 
6546
    if test -n "$ac_tool_prefix"; then
 
6547
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
6548
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
6549
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6550
$as_echo_n "checking for $ac_word... " >&6; }
 
6551
if test "${ac_cv_prog_OTOOL64+set}" = set; then
 
6552
  $as_echo_n "(cached) " >&6
 
6553
else
 
6554
  if test -n "$OTOOL64"; then
 
6555
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
6556
else
 
6557
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6558
for as_dir in $PATH
 
6559
do
 
6560
  IFS=$as_save_IFS
 
6561
  test -z "$as_dir" && as_dir=.
 
6562
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6563
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6564
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
6565
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6566
    break 2
 
6567
  fi
 
6568
done
 
6569
done
 
6570
IFS=$as_save_IFS
 
6571
 
 
6572
fi
 
6573
fi
 
6574
OTOOL64=$ac_cv_prog_OTOOL64
 
6575
if test -n "$OTOOL64"; then
 
6576
  { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
 
6577
$as_echo "$OTOOL64" >&6; }
 
6578
else
 
6579
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6580
$as_echo "no" >&6; }
 
6581
fi
 
6582
 
 
6583
 
 
6584
fi
 
6585
if test -z "$ac_cv_prog_OTOOL64"; then
 
6586
  ac_ct_OTOOL64=$OTOOL64
 
6587
  # Extract the first word of "otool64", so it can be a program name with args.
 
6588
set dummy otool64; ac_word=$2
 
6589
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
6590
$as_echo_n "checking for $ac_word... " >&6; }
 
6591
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
 
6592
  $as_echo_n "(cached) " >&6
 
6593
else
 
6594
  if test -n "$ac_ct_OTOOL64"; then
 
6595
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
6596
else
 
6597
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6598
for as_dir in $PATH
 
6599
do
 
6600
  IFS=$as_save_IFS
 
6601
  test -z "$as_dir" && as_dir=.
 
6602
  for ac_exec_ext in '' $ac_executable_extensions; do
 
6603
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6604
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
6605
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6606
    break 2
 
6607
  fi
 
6608
done
 
6609
done
 
6610
IFS=$as_save_IFS
 
6611
 
 
6612
fi
 
6613
fi
 
6614
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
6615
if test -n "$ac_ct_OTOOL64"; then
 
6616
  { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
 
6617
$as_echo "$ac_ct_OTOOL64" >&6; }
 
6618
else
 
6619
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
6620
$as_echo "no" >&6; }
 
6621
fi
 
6622
 
 
6623
  if test "x$ac_ct_OTOOL64" = x; then
 
6624
    OTOOL64=":"
 
6625
  else
 
6626
    case $cross_compiling:$ac_tool_warned in
 
6627
yes:)
 
6628
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
 
6629
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6630
ac_tool_warned=yes ;;
 
6631
esac
 
6632
    OTOOL64=$ac_ct_OTOOL64
 
6633
  fi
 
6634
else
 
6635
  OTOOL64="$ac_cv_prog_OTOOL64"
 
6636
fi
 
6637
 
 
6638
 
 
6639
 
 
6640
 
 
6641
 
 
6642
 
 
6643
 
 
6644
 
 
6645
 
 
6646
 
 
6647
 
 
6648
 
 
6649
 
 
6650
 
 
6651
 
 
6652
 
 
6653
 
 
6654
 
 
6655
 
 
6656
 
 
6657
 
 
6658
 
 
6659
 
 
6660
 
 
6661
 
 
6662
 
 
6663
 
 
6664
    { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
 
6665
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
6666
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
 
6667
  $as_echo_n "(cached) " >&6
 
6668
else
 
6669
  lt_cv_apple_cc_single_mod=no
 
6670
      if test -z "${LT_MULTI_MODULE}"; then
 
6671
        # By default we will add the -single_module flag. You can override
 
6672
        # by either setting the environment variable LT_MULTI_MODULE
 
6673
        # non-empty at configure time, or by adding -multi_module to the
 
6674
        # link flags.
 
6675
        rm -rf libconftest.dylib*
 
6676
        echo "int foo(void){return 1;}" > conftest.c
 
6677
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6678
-dynamiclib -Wl,-single_module conftest.c" >&5
 
6679
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
6680
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
6681
        _lt_result=$?
 
6682
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
6683
          lt_cv_apple_cc_single_mod=yes
 
6684
        else
 
6685
          cat conftest.err >&5
 
6686
        fi
 
6687
        rm -rf libconftest.dylib*
 
6688
        rm -f conftest.*
 
6689
      fi
 
6690
fi
 
6691
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
 
6692
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
6693
    { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
 
6694
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
6695
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
 
6696
  $as_echo_n "(cached) " >&6
 
6697
else
 
6698
  lt_cv_ld_exported_symbols_list=no
 
6699
      save_LDFLAGS=$LDFLAGS
 
6700
      echo "_main" > conftest.sym
 
6701
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
6702
      cat >conftest.$ac_ext <<_ACEOF
 
6703
/* confdefs.h.  */
 
6704
_ACEOF
 
6705
cat confdefs.h >>conftest.$ac_ext
 
6706
cat >>conftest.$ac_ext <<_ACEOF
 
6707
/* end confdefs.h.  */
 
6708
 
 
6709
int
 
6710
main ()
 
6711
{
 
6712
 
 
6713
  ;
 
6714
  return 0;
 
6715
}
 
6716
_ACEOF
 
6717
rm -f conftest.$ac_objext conftest$ac_exeext
 
6718
if { (ac_try="$ac_link"
 
6719
case "(($ac_try" in
 
6720
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6721
  *) ac_try_echo=$ac_try;;
 
6722
esac
 
6723
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6724
$as_echo "$ac_try_echo") >&5
 
6725
  (eval "$ac_link") 2>conftest.er1
 
6726
  ac_status=$?
 
6727
  grep -v '^ *+' conftest.er1 >conftest.err
 
6728
  rm -f conftest.er1
 
6729
  cat conftest.err >&5
 
6730
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6731
  (exit $ac_status); } && {
 
6732
         test -z "$ac_c_werror_flag" ||
 
6733
         test ! -s conftest.err
 
6734
       } && test -s conftest$ac_exeext && {
 
6735
         test "$cross_compiling" = yes ||
 
6736
         $as_test_x conftest$ac_exeext
 
6737
       }; then
 
6738
  lt_cv_ld_exported_symbols_list=yes
 
6739
else
 
6740
  $as_echo "$as_me: failed program was:" >&5
 
6741
sed 's/^/| /' conftest.$ac_ext >&5
 
6742
 
 
6743
        lt_cv_ld_exported_symbols_list=no
 
6744
fi
 
6745
 
 
6746
rm -rf conftest.dSYM
 
6747
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
6748
      conftest$ac_exeext conftest.$ac_ext
 
6749
        LDFLAGS="$save_LDFLAGS"
 
6750
 
 
6751
fi
 
6752
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
 
6753
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
6754
    case $host_os in
 
6755
    rhapsody* | darwin1.[012])
 
6756
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
6757
    darwin1.*)
 
6758
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6759
    darwin*) # darwin 5.x on
 
6760
      # if running on 10.5 or later, the deployment target defaults
 
6761
      # to the OS version, if on x86, and 10.4, the deployment
 
6762
      # target defaults to 10.4. Don't you love it?
 
6763
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
6764
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
6765
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6766
        10.[012]*)
 
6767
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
6768
        10.*)
 
6769
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
6770
      esac
 
6771
    ;;
 
6772
  esac
 
6773
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
6774
      _lt_dar_single_mod='$single_module'
 
6775
    fi
 
6776
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
6777
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
6778
    else
 
6779
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
6780
    fi
 
6781
    if test "$DSYMUTIL" != ":"; then
 
6782
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
6783
    else
 
6784
      _lt_dsymutil=
 
6785
    fi
 
6786
    ;;
 
6787
  esac
 
6788
 
 
6789
ac_ext=c
 
6790
ac_cpp='$CPP $CPPFLAGS'
 
6791
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
6792
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
6793
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
6794
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
 
6795
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
6796
# On Suns, sometimes $CPP names a directory.
 
6797
if test -n "$CPP" && test -d "$CPP"; then
 
6798
  CPP=
 
6799
fi
 
6800
if test -z "$CPP"; then
 
6801
  if test "${ac_cv_prog_CPP+set}" = set; then
 
6802
  $as_echo_n "(cached) " >&6
 
6803
else
 
6804
      # Double quotes because CPP needs to be expanded
 
6805
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
6806
    do
 
6807
      ac_preproc_ok=false
 
6808
for ac_c_preproc_warn_flag in '' yes
 
6809
do
 
6810
  # Use a header file that comes with gcc, so configuring glibc
 
6811
  # with a fresh cross-compiler works.
 
6812
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6813
  # <limits.h> exists even on freestanding compilers.
 
6814
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6815
  # not just through cpp. "Syntax error" is here to catch this case.
 
6816
  cat >conftest.$ac_ext <<_ACEOF
 
6817
/* confdefs.h.  */
 
6818
_ACEOF
 
6819
cat confdefs.h >>conftest.$ac_ext
 
6820
cat >>conftest.$ac_ext <<_ACEOF
 
6821
/* end confdefs.h.  */
 
6822
#ifdef __STDC__
 
6823
# include <limits.h>
 
6824
#else
 
6825
# include <assert.h>
 
6826
#endif
 
6827
                     Syntax error
 
6828
_ACEOF
 
6829
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6830
case "(($ac_try" in
 
6831
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6832
  *) ac_try_echo=$ac_try;;
 
6833
esac
 
6834
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6835
$as_echo "$ac_try_echo") >&5
 
6836
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6837
  ac_status=$?
 
6838
  grep -v '^ *+' conftest.er1 >conftest.err
 
6839
  rm -f conftest.er1
 
6840
  cat conftest.err >&5
 
6841
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6842
  (exit $ac_status); } >/dev/null && {
 
6843
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6844
         test ! -s conftest.err
 
6845
       }; then
 
6846
  :
 
6847
else
 
6848
  $as_echo "$as_me: failed program was:" >&5
 
6849
sed 's/^/| /' conftest.$ac_ext >&5
 
6850
 
 
6851
  # Broken: fails on valid input.
 
6852
continue
 
6853
fi
 
6854
 
 
6855
rm -f conftest.err conftest.$ac_ext
 
6856
 
 
6857
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6858
  # can be detected and how.
 
6859
  cat >conftest.$ac_ext <<_ACEOF
 
6860
/* confdefs.h.  */
 
6861
_ACEOF
 
6862
cat confdefs.h >>conftest.$ac_ext
 
6863
cat >>conftest.$ac_ext <<_ACEOF
 
6864
/* end confdefs.h.  */
 
6865
#include <ac_nonexistent.h>
 
6866
_ACEOF
 
6867
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6868
case "(($ac_try" in
 
6869
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6870
  *) ac_try_echo=$ac_try;;
 
6871
esac
 
6872
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6873
$as_echo "$ac_try_echo") >&5
 
6874
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6875
  ac_status=$?
 
6876
  grep -v '^ *+' conftest.er1 >conftest.err
 
6877
  rm -f conftest.er1
 
6878
  cat conftest.err >&5
 
6879
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6880
  (exit $ac_status); } >/dev/null && {
 
6881
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6882
         test ! -s conftest.err
 
6883
       }; then
 
6884
  # Broken: success on invalid input.
 
6885
continue
 
6886
else
 
6887
  $as_echo "$as_me: failed program was:" >&5
 
6888
sed 's/^/| /' conftest.$ac_ext >&5
 
6889
 
 
6890
  # Passes both tests.
 
6891
ac_preproc_ok=:
 
6892
break
 
6893
fi
 
6894
 
 
6895
rm -f conftest.err conftest.$ac_ext
 
6896
 
 
6897
done
 
6898
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
6899
rm -f conftest.err conftest.$ac_ext
 
6900
if $ac_preproc_ok; then
 
6901
  break
 
6902
fi
 
6903
 
 
6904
    done
 
6905
    ac_cv_prog_CPP=$CPP
 
6906
 
 
6907
fi
 
6908
  CPP=$ac_cv_prog_CPP
 
6909
else
 
6910
  ac_cv_prog_CPP=$CPP
 
6911
fi
 
6912
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
 
6913
$as_echo "$CPP" >&6; }
 
6914
ac_preproc_ok=false
 
6915
for ac_c_preproc_warn_flag in '' yes
 
6916
do
 
6917
  # Use a header file that comes with gcc, so configuring glibc
 
6918
  # with a fresh cross-compiler works.
 
6919
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
6920
  # <limits.h> exists even on freestanding compilers.
 
6921
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
6922
  # not just through cpp. "Syntax error" is here to catch this case.
 
6923
  cat >conftest.$ac_ext <<_ACEOF
 
6924
/* confdefs.h.  */
 
6925
_ACEOF
 
6926
cat confdefs.h >>conftest.$ac_ext
 
6927
cat >>conftest.$ac_ext <<_ACEOF
 
6928
/* end confdefs.h.  */
 
6929
#ifdef __STDC__
 
6930
# include <limits.h>
 
6931
#else
 
6932
# include <assert.h>
 
6933
#endif
 
6934
                     Syntax error
 
6935
_ACEOF
 
6936
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6937
case "(($ac_try" in
 
6938
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6939
  *) ac_try_echo=$ac_try;;
 
6940
esac
 
6941
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6942
$as_echo "$ac_try_echo") >&5
 
6943
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6944
  ac_status=$?
 
6945
  grep -v '^ *+' conftest.er1 >conftest.err
 
6946
  rm -f conftest.er1
 
6947
  cat conftest.err >&5
 
6948
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6949
  (exit $ac_status); } >/dev/null && {
 
6950
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6951
         test ! -s conftest.err
 
6952
       }; then
 
6953
  :
 
6954
else
 
6955
  $as_echo "$as_me: failed program was:" >&5
 
6956
sed 's/^/| /' conftest.$ac_ext >&5
 
6957
 
 
6958
  # Broken: fails on valid input.
 
6959
continue
 
6960
fi
 
6961
 
 
6962
rm -f conftest.err conftest.$ac_ext
 
6963
 
 
6964
  # OK, works on sane cases.  Now check whether nonexistent headers
 
6965
  # can be detected and how.
 
6966
  cat >conftest.$ac_ext <<_ACEOF
 
6967
/* confdefs.h.  */
 
6968
_ACEOF
 
6969
cat confdefs.h >>conftest.$ac_ext
 
6970
cat >>conftest.$ac_ext <<_ACEOF
 
6971
/* end confdefs.h.  */
 
6972
#include <ac_nonexistent.h>
 
6973
_ACEOF
 
6974
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
6975
case "(($ac_try" in
 
6976
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
6977
  *) ac_try_echo=$ac_try;;
 
6978
esac
 
6979
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
6980
$as_echo "$ac_try_echo") >&5
 
6981
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
6982
  ac_status=$?
 
6983
  grep -v '^ *+' conftest.er1 >conftest.err
 
6984
  rm -f conftest.er1
 
6985
  cat conftest.err >&5
 
6986
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
6987
  (exit $ac_status); } >/dev/null && {
 
6988
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
6989
         test ! -s conftest.err
 
6990
       }; then
 
6991
  # Broken: success on invalid input.
 
6992
continue
 
6993
else
 
6994
  $as_echo "$as_me: failed program was:" >&5
 
6995
sed 's/^/| /' conftest.$ac_ext >&5
 
6996
 
 
6997
  # Passes both tests.
 
6998
ac_preproc_ok=:
 
6999
break
 
7000
fi
 
7001
 
 
7002
rm -f conftest.err conftest.$ac_ext
 
7003
 
 
7004
done
 
7005
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
7006
rm -f conftest.err conftest.$ac_ext
 
7007
if $ac_preproc_ok; then
 
7008
  :
 
7009
else
 
7010
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
 
7011
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
7012
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
 
7013
See \`config.log' for more details." >&5
 
7014
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
 
7015
See \`config.log' for more details." >&2;}
 
7016
   { (exit 1); exit 1; }; }; }
 
7017
fi
 
7018
 
 
7019
ac_ext=c
 
7020
ac_cpp='$CPP $CPPFLAGS'
 
7021
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
7022
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
7023
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
7024
 
 
7025
 
 
7026
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
7027
$as_echo_n "checking for ANSI C header files... " >&6; }
 
7028
if test "${ac_cv_header_stdc+set}" = set; then
 
7029
  $as_echo_n "(cached) " >&6
 
7030
else
 
7031
  cat >conftest.$ac_ext <<_ACEOF
 
7032
/* confdefs.h.  */
 
7033
_ACEOF
 
7034
cat confdefs.h >>conftest.$ac_ext
 
7035
cat >>conftest.$ac_ext <<_ACEOF
 
7036
/* end confdefs.h.  */
 
7037
#include <stdlib.h>
 
7038
#include <stdarg.h>
 
7039
#include <string.h>
 
7040
#include <float.h>
 
7041
 
 
7042
int
 
7043
main ()
 
7044
{
 
7045
 
 
7046
  ;
 
7047
  return 0;
 
7048
}
 
7049
_ACEOF
 
7050
rm -f conftest.$ac_objext
 
7051
if { (ac_try="$ac_compile"
 
7052
case "(($ac_try" in
 
7053
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7054
  *) ac_try_echo=$ac_try;;
 
7055
esac
 
7056
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7057
$as_echo "$ac_try_echo") >&5
 
7058
  (eval "$ac_compile") 2>conftest.er1
 
7059
  ac_status=$?
 
7060
  grep -v '^ *+' conftest.er1 >conftest.err
 
7061
  rm -f conftest.er1
 
7062
  cat conftest.err >&5
 
7063
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7064
  (exit $ac_status); } && {
 
7065
         test -z "$ac_c_werror_flag" ||
 
7066
         test ! -s conftest.err
 
7067
       } && test -s conftest.$ac_objext; then
 
7068
  ac_cv_header_stdc=yes
 
7069
else
 
7070
  $as_echo "$as_me: failed program was:" >&5
 
7071
sed 's/^/| /' conftest.$ac_ext >&5
 
7072
 
 
7073
        ac_cv_header_stdc=no
 
7074
fi
 
7075
 
 
7076
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7077
 
 
7078
if test $ac_cv_header_stdc = yes; then
 
7079
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
7080
  cat >conftest.$ac_ext <<_ACEOF
 
7081
/* confdefs.h.  */
 
7082
_ACEOF
 
7083
cat confdefs.h >>conftest.$ac_ext
 
7084
cat >>conftest.$ac_ext <<_ACEOF
 
7085
/* end confdefs.h.  */
 
7086
#include <string.h>
 
7087
 
 
7088
_ACEOF
 
7089
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7090
  $EGREP "memchr" >/dev/null 2>&1; then
 
7091
  :
 
7092
else
 
7093
  ac_cv_header_stdc=no
 
7094
fi
 
7095
rm -f conftest*
 
7096
 
 
7097
fi
 
7098
 
 
7099
if test $ac_cv_header_stdc = yes; then
 
7100
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
7101
  cat >conftest.$ac_ext <<_ACEOF
 
7102
/* confdefs.h.  */
 
7103
_ACEOF
 
7104
cat confdefs.h >>conftest.$ac_ext
 
7105
cat >>conftest.$ac_ext <<_ACEOF
 
7106
/* end confdefs.h.  */
 
7107
#include <stdlib.h>
 
7108
 
 
7109
_ACEOF
 
7110
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
7111
  $EGREP "free" >/dev/null 2>&1; then
 
7112
  :
 
7113
else
 
7114
  ac_cv_header_stdc=no
 
7115
fi
 
7116
rm -f conftest*
 
7117
 
 
7118
fi
 
7119
 
 
7120
if test $ac_cv_header_stdc = yes; then
 
7121
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
7122
  if test "$cross_compiling" = yes; then
 
7123
  :
 
7124
else
 
7125
  cat >conftest.$ac_ext <<_ACEOF
 
7126
/* confdefs.h.  */
 
7127
_ACEOF
 
7128
cat confdefs.h >>conftest.$ac_ext
 
7129
cat >>conftest.$ac_ext <<_ACEOF
 
7130
/* end confdefs.h.  */
 
7131
#include <ctype.h>
 
7132
#include <stdlib.h>
 
7133
#if ((' ' & 0x0FF) == 0x020)
 
7134
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
7135
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
7136
#else
 
7137
# define ISLOWER(c) \
 
7138
                   (('a' <= (c) && (c) <= 'i') \
 
7139
                     || ('j' <= (c) && (c) <= 'r') \
 
7140
                     || ('s' <= (c) && (c) <= 'z'))
 
7141
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
7142
#endif
 
7143
 
 
7144
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
7145
int
 
7146
main ()
 
7147
{
 
7148
  int i;
 
7149
  for (i = 0; i < 256; i++)
 
7150
    if (XOR (islower (i), ISLOWER (i))
 
7151
        || toupper (i) != TOUPPER (i))
 
7152
      return 2;
 
7153
  return 0;
 
7154
}
 
7155
_ACEOF
 
7156
rm -f conftest$ac_exeext
 
7157
if { (ac_try="$ac_link"
 
7158
case "(($ac_try" in
 
7159
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7160
  *) ac_try_echo=$ac_try;;
 
7161
esac
 
7162
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7163
$as_echo "$ac_try_echo") >&5
 
7164
  (eval "$ac_link") 2>&5
 
7165
  ac_status=$?
 
7166
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7167
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
7168
  { (case "(($ac_try" in
 
7169
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7170
  *) ac_try_echo=$ac_try;;
 
7171
esac
 
7172
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7173
$as_echo "$ac_try_echo") >&5
 
7174
  (eval "$ac_try") 2>&5
 
7175
  ac_status=$?
 
7176
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7177
  (exit $ac_status); }; }; then
 
7178
  :
 
7179
else
 
7180
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
7181
$as_echo "$as_me: failed program was:" >&5
 
7182
sed 's/^/| /' conftest.$ac_ext >&5
 
7183
 
 
7184
( exit $ac_status )
 
7185
ac_cv_header_stdc=no
 
7186
fi
 
7187
rm -rf conftest.dSYM
 
7188
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
7189
fi
 
7190
 
 
7191
 
 
7192
fi
 
7193
fi
 
7194
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
7195
$as_echo "$ac_cv_header_stdc" >&6; }
 
7196
if test $ac_cv_header_stdc = yes; then
 
7197
 
 
7198
cat >>confdefs.h <<\_ACEOF
 
7199
#define STDC_HEADERS 1
 
7200
_ACEOF
 
7201
 
 
7202
fi
 
7203
 
 
7204
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
7205
 
 
7206
 
 
7207
 
 
7208
 
 
7209
 
 
7210
 
 
7211
 
 
7212
 
 
7213
 
 
7214
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
7215
                  inttypes.h stdint.h unistd.h
 
7216
do
 
7217
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7218
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7219
$as_echo_n "checking for $ac_header... " >&6; }
 
7220
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7221
  $as_echo_n "(cached) " >&6
 
7222
else
 
7223
  cat >conftest.$ac_ext <<_ACEOF
 
7224
/* confdefs.h.  */
 
7225
_ACEOF
 
7226
cat confdefs.h >>conftest.$ac_ext
 
7227
cat >>conftest.$ac_ext <<_ACEOF
 
7228
/* end confdefs.h.  */
 
7229
$ac_includes_default
 
7230
 
 
7231
#include <$ac_header>
 
7232
_ACEOF
 
7233
rm -f conftest.$ac_objext
 
7234
if { (ac_try="$ac_compile"
 
7235
case "(($ac_try" in
 
7236
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7237
  *) ac_try_echo=$ac_try;;
 
7238
esac
 
7239
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7240
$as_echo "$ac_try_echo") >&5
 
7241
  (eval "$ac_compile") 2>conftest.er1
 
7242
  ac_status=$?
 
7243
  grep -v '^ *+' conftest.er1 >conftest.err
 
7244
  rm -f conftest.er1
 
7245
  cat conftest.err >&5
 
7246
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7247
  (exit $ac_status); } && {
 
7248
         test -z "$ac_c_werror_flag" ||
 
7249
         test ! -s conftest.err
 
7250
       } && test -s conftest.$ac_objext; then
 
7251
  eval "$as_ac_Header=yes"
 
7252
else
 
7253
  $as_echo "$as_me: failed program was:" >&5
 
7254
sed 's/^/| /' conftest.$ac_ext >&5
 
7255
 
 
7256
        eval "$as_ac_Header=no"
 
7257
fi
 
7258
 
 
7259
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7260
fi
 
7261
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7262
                 $as_echo "$as_val"'`
 
7263
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7264
$as_echo "$ac_res" >&6; }
 
7265
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7266
                 $as_echo "$as_val"'`
 
7267
   if test "x$as_val" = x""yes; then
 
7268
  cat >>confdefs.h <<_ACEOF
 
7269
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7270
_ACEOF
 
7271
 
 
7272
fi
 
7273
 
 
7274
done
 
7275
 
 
7276
 
 
7277
 
 
7278
for ac_header in dlfcn.h
 
7279
do
 
7280
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
7281
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
7282
$as_echo_n "checking for $ac_header... " >&6; }
 
7283
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
7284
  $as_echo_n "(cached) " >&6
 
7285
else
 
7286
  cat >conftest.$ac_ext <<_ACEOF
 
7287
/* confdefs.h.  */
 
7288
_ACEOF
 
7289
cat confdefs.h >>conftest.$ac_ext
 
7290
cat >>conftest.$ac_ext <<_ACEOF
 
7291
/* end confdefs.h.  */
 
7292
$ac_includes_default
 
7293
 
 
7294
#include <$ac_header>
 
7295
_ACEOF
 
7296
rm -f conftest.$ac_objext
 
7297
if { (ac_try="$ac_compile"
 
7298
case "(($ac_try" in
 
7299
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
7300
  *) ac_try_echo=$ac_try;;
 
7301
esac
 
7302
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
7303
$as_echo "$ac_try_echo") >&5
 
7304
  (eval "$ac_compile") 2>conftest.er1
 
7305
  ac_status=$?
 
7306
  grep -v '^ *+' conftest.er1 >conftest.err
 
7307
  rm -f conftest.er1
 
7308
  cat conftest.err >&5
 
7309
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
7310
  (exit $ac_status); } && {
 
7311
         test -z "$ac_c_werror_flag" ||
 
7312
         test ! -s conftest.err
 
7313
       } && test -s conftest.$ac_objext; then
 
7314
  eval "$as_ac_Header=yes"
 
7315
else
 
7316
  $as_echo "$as_me: failed program was:" >&5
 
7317
sed 's/^/| /' conftest.$ac_ext >&5
 
7318
 
 
7319
        eval "$as_ac_Header=no"
 
7320
fi
 
7321
 
 
7322
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
7323
fi
 
7324
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
7325
                 $as_echo "$as_val"'`
 
7326
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
7327
$as_echo "$ac_res" >&6; }
 
7328
as_val=`eval 'as_val=${'$as_ac_Header'}
 
7329
                 $as_echo "$as_val"'`
 
7330
   if test "x$as_val" = x""yes; then
 
7331
  cat >>confdefs.h <<_ACEOF
 
7332
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
7333
_ACEOF
 
7334
 
 
7335
fi
 
7336
 
 
7337
done
 
7338
 
 
7339
 
 
7340
 
 
7341
# Set options
 
7342
 
 
7343
 
 
7344
 
 
7345
        enable_dlopen=no
 
7346
 
 
7347
 
 
7348
 
 
7349
            # Check whether --enable-shared was given.
 
7350
if test "${enable_shared+set}" = set; then
 
7351
  enableval=$enable_shared; p=${PACKAGE-default}
 
7352
    case $enableval in
 
7353
    yes) enable_shared=yes ;;
 
7354
    no) enable_shared=no ;;
 
7355
    *)
 
7356
      enable_shared=no
 
7357
      # Look at the argument we got.  We use all the common list separators.
 
7358
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7359
      for pkg in $enableval; do
 
7360
        IFS="$lt_save_ifs"
 
7361
        if test "X$pkg" = "X$p"; then
 
7362
          enable_shared=yes
 
7363
        fi
 
7364
      done
 
7365
      IFS="$lt_save_ifs"
 
7366
      ;;
 
7367
    esac
 
7368
else
 
7369
  enable_shared=yes
 
7370
fi
 
7371
 
 
7372
 
 
7373
 
 
7374
 
 
7375
 
 
7376
 
 
7377
 
 
7378
 
 
7379
 
 
7380
  # Check whether --enable-static was given.
 
7381
if test "${enable_static+set}" = set; then
 
7382
  enableval=$enable_static; p=${PACKAGE-default}
 
7383
    case $enableval in
 
7384
    yes) enable_static=yes ;;
 
7385
    no) enable_static=no ;;
 
7386
    *)
 
7387
     enable_static=no
 
7388
      # Look at the argument we got.  We use all the common list separators.
 
7389
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7390
      for pkg in $enableval; do
 
7391
        IFS="$lt_save_ifs"
 
7392
        if test "X$pkg" = "X$p"; then
 
7393
          enable_static=yes
 
7394
        fi
 
7395
      done
 
7396
      IFS="$lt_save_ifs"
 
7397
      ;;
 
7398
    esac
 
7399
else
 
7400
  enable_static=yes
 
7401
fi
 
7402
 
 
7403
 
 
7404
 
 
7405
 
 
7406
 
 
7407
 
 
7408
 
 
7409
 
 
7410
 
 
7411
 
 
7412
# Check whether --with-pic was given.
 
7413
if test "${with_pic+set}" = set; then
 
7414
  withval=$with_pic; pic_mode="$withval"
 
7415
else
 
7416
  pic_mode=default
 
7417
fi
 
7418
 
 
7419
 
 
7420
test -z "$pic_mode" && pic_mode=default
 
7421
 
 
7422
 
 
7423
 
 
7424
 
 
7425
 
 
7426
 
 
7427
 
 
7428
  # Check whether --enable-fast-install was given.
 
7429
if test "${enable_fast_install+set}" = set; then
 
7430
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
7431
    case $enableval in
 
7432
    yes) enable_fast_install=yes ;;
 
7433
    no) enable_fast_install=no ;;
 
7434
    *)
 
7435
      enable_fast_install=no
 
7436
      # Look at the argument we got.  We use all the common list separators.
 
7437
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7438
      for pkg in $enableval; do
 
7439
        IFS="$lt_save_ifs"
 
7440
        if test "X$pkg" = "X$p"; then
 
7441
          enable_fast_install=yes
 
7442
        fi
 
7443
      done
 
7444
      IFS="$lt_save_ifs"
 
7445
      ;;
 
7446
    esac
 
7447
else
 
7448
  enable_fast_install=yes
 
7449
fi
 
7450
 
 
7451
 
 
7452
 
 
7453
 
 
7454
 
 
7455
 
 
7456
 
 
7457
 
 
7458
 
 
7459
 
 
7460
 
 
7461
# This can be used to rebuild libtool when needed
 
7462
LIBTOOL_DEPS="$ltmain"
 
7463
 
 
7464
# Always use our own libtool.
 
7465
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
7466
 
 
7467
 
 
7468
 
 
7469
 
 
7470
 
 
7471
 
 
7472
 
 
7473
 
 
7474
 
 
7475
 
 
7476
 
 
7477
 
 
7478
 
 
7479
 
 
7480
 
 
7481
 
 
7482
 
 
7483
 
 
7484
 
 
7485
 
 
7486
 
 
7487
 
 
7488
 
 
7489
 
 
7490
 
 
7491
test -z "$LN_S" && LN_S="ln -s"
 
7492
 
 
7493
 
 
7494
 
 
7495
 
 
7496
 
 
7497
 
 
7498
 
 
7499
 
 
7500
 
 
7501
 
 
7502
 
 
7503
 
 
7504
 
 
7505
 
 
7506
if test -n "${ZSH_VERSION+set}" ; then
 
7507
   setopt NO_GLOB_SUBST
 
7508
fi
 
7509
 
 
7510
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
 
7511
$as_echo_n "checking for objdir... " >&6; }
6843
7512
if test "${lt_cv_objdir+set}" = set; then
6844
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7513
  $as_echo_n "(cached) " >&6
6845
7514
else
6846
7515
  rm -f .libs 2>/dev/null
6847
7516
mkdir .libs 2>/dev/null
6853
7522
fi
6854
7523
rmdir .libs 2>/dev/null
6855
7524
fi
6856
 
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6857
 
echo "${ECHO_T}$lt_cv_objdir" >&6; }
 
7525
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
 
7526
$as_echo "$lt_cv_objdir" >&6; }
6858
7527
objdir=$lt_cv_objdir
6859
7528
 
6860
7529
 
6861
7530
 
6862
7531
 
6863
7532
 
 
7533
cat >>confdefs.h <<_ACEOF
 
7534
#define LT_OBJDIR "$lt_cv_objdir/"
 
7535
_ACEOF
 
7536
 
 
7537
 
 
7538
 
 
7539
 
 
7540
 
 
7541
 
 
7542
 
 
7543
 
 
7544
 
 
7545
 
 
7546
 
 
7547
 
 
7548
 
 
7549
 
 
7550
 
 
7551
 
 
7552
 
6864
7553
case $host_os in
6865
7554
aix3*)
6866
7555
  # AIX sometimes has problems with the GCC collect2 program.  For some
6875
7564
 
6876
7565
# Sed substitution that helps us do robust quoting.  It backslashifies
6877
7566
# metacharacters that are still active within double-quoted strings.
6878
 
Xsed='sed -e 1s/^X//'
6879
 
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
 
7567
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6880
7568
 
6881
7569
# Same as above, but do not quote variable references.
6882
 
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
 
7570
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6883
7571
 
6884
7572
# Sed substitution to delay expansion of an escaped shell variable in a
6885
7573
# double_quote_subst'ed string.
6886
7574
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6887
7575
 
 
7576
# Sed substitution to delay expansion of an escaped single quote.
 
7577
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
7578
 
6888
7579
# Sed substitution to avoid accidental globbing in evaled expressions
6889
7580
no_glob_subst='s/\*/\\\*/g'
6890
7581
 
6891
 
# Constants:
6892
 
rm="rm -f"
6893
 
 
6894
7582
# Global variables:
6895
 
default_ofile=libtool
 
7583
ofile=libtool
6896
7584
can_build_shared=yes
6897
7585
 
6898
7586
# All known linkers require a `.a' archive for static linking (except MSVC,
6899
7587
# which needs '.lib').
6900
7588
libext=a
6901
 
ltmain="$ac_aux_dir/ltmain.sh"
6902
 
ofile="$default_ofile"
 
7589
 
6903
7590
with_gnu_ld="$lt_cv_prog_gnu_ld"
6904
7591
 
6905
 
if test -n "$ac_tool_prefix"; then
6906
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6907
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6908
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6909
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6910
 
if test "${ac_cv_prog_AR+set}" = set; then
6911
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6912
 
else
6913
 
  if test -n "$AR"; then
6914
 
  ac_cv_prog_AR="$AR" # Let the user override the test.
6915
 
else
6916
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917
 
for as_dir in $PATH
6918
 
do
6919
 
  IFS=$as_save_IFS
6920
 
  test -z "$as_dir" && as_dir=.
6921
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6922
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6924
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6925
 
    break 2
6926
 
  fi
6927
 
done
6928
 
done
6929
 
IFS=$as_save_IFS
6930
 
 
6931
 
fi
6932
 
fi
6933
 
AR=$ac_cv_prog_AR
6934
 
if test -n "$AR"; then
6935
 
  { echo "$as_me:$LINENO: result: $AR" >&5
6936
 
echo "${ECHO_T}$AR" >&6; }
6937
 
else
6938
 
  { echo "$as_me:$LINENO: result: no" >&5
6939
 
echo "${ECHO_T}no" >&6; }
6940
 
fi
6941
 
 
6942
 
 
6943
 
fi
6944
 
if test -z "$ac_cv_prog_AR"; then
6945
 
  ac_ct_AR=$AR
6946
 
  # Extract the first word of "ar", so it can be a program name with args.
6947
 
set dummy ar; ac_word=$2
6948
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6949
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6950
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6951
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
6952
 
else
6953
 
  if test -n "$ac_ct_AR"; then
6954
 
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6955
 
else
6956
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957
 
for as_dir in $PATH
6958
 
do
6959
 
  IFS=$as_save_IFS
6960
 
  test -z "$as_dir" && as_dir=.
6961
 
  for ac_exec_ext in '' $ac_executable_extensions; do
6962
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6963
 
    ac_cv_prog_ac_ct_AR="ar"
6964
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6965
 
    break 2
6966
 
  fi
6967
 
done
6968
 
done
6969
 
IFS=$as_save_IFS
6970
 
 
6971
 
fi
6972
 
fi
6973
 
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6974
 
if test -n "$ac_ct_AR"; then
6975
 
  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6976
 
echo "${ECHO_T}$ac_ct_AR" >&6; }
6977
 
else
6978
 
  { echo "$as_me:$LINENO: result: no" >&5
6979
 
echo "${ECHO_T}no" >&6; }
6980
 
fi
6981
 
 
6982
 
  if test "x$ac_ct_AR" = x; then
6983
 
    AR="false"
6984
 
  else
6985
 
    case $cross_compiling:$ac_tool_warned in
6986
 
yes:)
6987
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6988
 
whose name does not start with the host triplet.  If you think this
6989
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
6990
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6991
 
whose name does not start with the host triplet.  If you think this
6992
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6993
 
ac_tool_warned=yes ;;
6994
 
esac
6995
 
    AR=$ac_ct_AR
6996
 
  fi
6997
 
else
6998
 
  AR="$ac_cv_prog_AR"
6999
 
fi
7000
 
 
7001
 
if test -n "$ac_tool_prefix"; then
7002
 
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7003
 
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7004
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7005
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7006
 
if test "${ac_cv_prog_RANLIB+set}" = set; then
7007
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7008
 
else
7009
 
  if test -n "$RANLIB"; then
7010
 
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7011
 
else
7012
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013
 
for as_dir in $PATH
7014
 
do
7015
 
  IFS=$as_save_IFS
7016
 
  test -z "$as_dir" && as_dir=.
7017
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7018
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7019
 
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7020
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7021
 
    break 2
7022
 
  fi
7023
 
done
7024
 
done
7025
 
IFS=$as_save_IFS
7026
 
 
7027
 
fi
7028
 
fi
7029
 
RANLIB=$ac_cv_prog_RANLIB
7030
 
if test -n "$RANLIB"; then
7031
 
  { echo "$as_me:$LINENO: result: $RANLIB" >&5
7032
 
echo "${ECHO_T}$RANLIB" >&6; }
7033
 
else
7034
 
  { echo "$as_me:$LINENO: result: no" >&5
7035
 
echo "${ECHO_T}no" >&6; }
7036
 
fi
7037
 
 
7038
 
 
7039
 
fi
7040
 
if test -z "$ac_cv_prog_RANLIB"; then
7041
 
  ac_ct_RANLIB=$RANLIB
7042
 
  # Extract the first word of "ranlib", so it can be a program name with args.
7043
 
set dummy ranlib; ac_word=$2
7044
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7045
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7046
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7047
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7048
 
else
7049
 
  if test -n "$ac_ct_RANLIB"; then
7050
 
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7051
 
else
7052
 
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053
 
for as_dir in $PATH
7054
 
do
7055
 
  IFS=$as_save_IFS
7056
 
  test -z "$as_dir" && as_dir=.
7057
 
  for ac_exec_ext in '' $ac_executable_extensions; do
7058
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7059
 
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7060
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7061
 
    break 2
7062
 
  fi
7063
 
done
7064
 
done
7065
 
IFS=$as_save_IFS
7066
 
 
7067
 
fi
7068
 
fi
7069
 
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7070
 
if test -n "$ac_ct_RANLIB"; then
7071
 
  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7072
 
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7073
 
else
7074
 
  { echo "$as_me:$LINENO: result: no" >&5
7075
 
echo "${ECHO_T}no" >&6; }
7076
 
fi
7077
 
 
7078
 
  if test "x$ac_ct_RANLIB" = x; then
7079
 
    RANLIB=":"
7080
 
  else
7081
 
    case $cross_compiling:$ac_tool_warned in
7082
 
yes:)
7083
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7084
 
whose name does not start with the host triplet.  If you think this
7085
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7086
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7087
 
whose name does not start with the host triplet.  If you think this
7088
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7089
 
ac_tool_warned=yes ;;
7090
 
esac
7091
 
    RANLIB=$ac_ct_RANLIB
7092
 
  fi
7093
 
else
7094
 
  RANLIB="$ac_cv_prog_RANLIB"
7095
 
fi
7096
 
 
7097
 
if test -n "$ac_tool_prefix"; then
7098
 
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7099
 
set dummy ${ac_tool_prefix}strip; ac_word=$2
7100
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7101
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7102
 
if test "${ac_cv_prog_STRIP+set}" = set; then
7103
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7104
 
else
7105
 
  if test -n "$STRIP"; then
7106
 
  ac_cv_prog_STRIP="$STRIP" # 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_STRIP="${ac_tool_prefix}strip"
7116
 
    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
 
STRIP=$ac_cv_prog_STRIP
7126
 
if test -n "$STRIP"; then
7127
 
  { echo "$as_me:$LINENO: result: $STRIP" >&5
7128
 
echo "${ECHO_T}$STRIP" >&6; }
7129
 
else
7130
 
  { echo "$as_me:$LINENO: result: no" >&5
7131
 
echo "${ECHO_T}no" >&6; }
7132
 
fi
7133
 
 
7134
 
 
7135
 
fi
7136
 
if test -z "$ac_cv_prog_STRIP"; then
7137
 
  ac_ct_STRIP=$STRIP
7138
 
  # Extract the first word of "strip", so it can be a program name with args.
7139
 
set dummy strip; ac_word=$2
7140
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7141
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7142
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7143
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7144
 
else
7145
 
  if test -n "$ac_ct_STRIP"; then
7146
 
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_STRIP="strip"
7156
 
    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_STRIP=$ac_cv_prog_ac_ct_STRIP
7166
 
if test -n "$ac_ct_STRIP"; then
7167
 
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7168
 
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7169
 
else
7170
 
  { echo "$as_me:$LINENO: result: no" >&5
7171
 
echo "${ECHO_T}no" >&6; }
7172
 
fi
7173
 
 
7174
 
  if test "x$ac_ct_STRIP" = x; then
7175
 
    STRIP=":"
7176
 
  else
7177
 
    case $cross_compiling:$ac_tool_warned in
7178
 
yes:)
7179
 
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7180
 
whose name does not start with the host triplet.  If you think this
7181
 
configuration is useful to you, please write to autoconf@gnu.org." >&5
7182
 
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7183
 
whose name does not start with the host triplet.  If you think this
7184
 
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7185
 
ac_tool_warned=yes ;;
7186
 
esac
7187
 
    STRIP=$ac_ct_STRIP
7188
 
  fi
7189
 
else
7190
 
  STRIP="$ac_cv_prog_STRIP"
7191
 
fi
7192
 
 
7193
 
 
7194
7592
old_CC="$CC"
7195
7593
old_CFLAGS="$CFLAGS"
7196
7594
 
7197
7595
# Set sane defaults for various variables
7198
 
test -z "$AR" && AR=ar
7199
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
7200
 
test -z "$AS" && AS=as
7201
7596
test -z "$CC" && CC=cc
7202
7597
test -z "$LTCC" && LTCC=$CC
7203
7598
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7204
 
test -z "$DLLTOOL" && DLLTOOL=dlltool
7205
7599
test -z "$LD" && LD=ld
7206
 
test -z "$LN_S" && LN_S="ln -s"
7207
 
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7208
 
test -z "$NM" && NM=nm
7209
 
test -z "$SED" && SED=sed
7210
 
test -z "$OBJDUMP" && OBJDUMP=objdump
7211
 
test -z "$RANLIB" && RANLIB=:
7212
 
test -z "$STRIP" && STRIP=:
7213
7600
test -z "$ac_objext" && ac_objext=o
7214
7601
 
7215
 
# Determine commands to create old-style static archives.
7216
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7217
 
old_postinstall_cmds='chmod 644 $oldlib'
7218
 
old_postuninstall_cmds=
7219
 
 
7220
 
if test -n "$RANLIB"; then
7221
 
  case $host_os in
7222
 
  openbsd*)
7223
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7224
 
    ;;
7225
 
  *)
7226
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7227
 
    ;;
7228
 
  esac
7229
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7230
 
fi
7231
 
 
7232
7602
for cc_temp in $compiler""; do
7233
7603
  case $cc_temp in
7234
7604
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7237
7607
    *) break;;
7238
7608
  esac
7239
7609
done
7240
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
7610
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7241
7611
 
7242
7612
 
7243
7613
# Only perform the check for file, if the check method requires it
 
7614
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7244
7615
case $deplibs_check_method in
7245
7616
file_magic*)
7246
7617
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7247
 
    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7248
 
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
 
7618
    { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
 
7619
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7249
7620
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7250
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7621
  $as_echo_n "(cached) " >&6
7251
7622
else
7252
7623
  case $MAGIC_CMD in
7253
7624
[\\/*] |  ?:[\\/]*)
7271
7642
            $EGREP "$file_magic_regex" > /dev/null; then
7272
7643
            :
7273
7644
          else
7274
 
            cat <<EOF 1>&2
 
7645
            cat <<_LT_EOF 1>&2
7275
7646
 
7276
7647
*** Warning: the command libtool uses to detect shared libraries,
7277
7648
*** $file_magic_cmd, produces output that libtool cannot recognize.
7282
7653
*** may want to report the problem to your system manager and/or to
7283
7654
*** bug-libtool@gnu.org
7284
7655
 
7285
 
EOF
 
7656
_LT_EOF
7286
7657
          fi ;;
7287
7658
        esac
7288
7659
      fi
7297
7668
 
7298
7669
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7299
7670
if test -n "$MAGIC_CMD"; then
7300
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7301
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7671
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7672
$as_echo "$MAGIC_CMD" >&6; }
7302
7673
else
7303
 
  { echo "$as_me:$LINENO: result: no" >&5
7304
 
echo "${ECHO_T}no" >&6; }
 
7674
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7675
$as_echo "no" >&6; }
7305
7676
fi
7306
7677
 
 
7678
 
 
7679
 
 
7680
 
 
7681
 
7307
7682
if test -z "$lt_cv_path_MAGIC_CMD"; then
7308
7683
  if test -n "$ac_tool_prefix"; then
7309
 
    { echo "$as_me:$LINENO: checking for file" >&5
7310
 
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
 
7684
    { $as_echo "$as_me:$LINENO: checking for file" >&5
 
7685
$as_echo_n "checking for file... " >&6; }
7311
7686
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7312
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7687
  $as_echo_n "(cached) " >&6
7313
7688
else
7314
7689
  case $MAGIC_CMD in
7315
7690
[\\/*] |  ?:[\\/]*)
7333
7708
            $EGREP "$file_magic_regex" > /dev/null; then
7334
7709
            :
7335
7710
          else
7336
 
            cat <<EOF 1>&2
 
7711
            cat <<_LT_EOF 1>&2
7337
7712
 
7338
7713
*** Warning: the command libtool uses to detect shared libraries,
7339
7714
*** $file_magic_cmd, produces output that libtool cannot recognize.
7344
7719
*** may want to report the problem to your system manager and/or to
7345
7720
*** bug-libtool@gnu.org
7346
7721
 
7347
 
EOF
 
7722
_LT_EOF
7348
7723
          fi ;;
7349
7724
        esac
7350
7725
      fi
7359
7734
 
7360
7735
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7361
7736
if test -n "$MAGIC_CMD"; then
7362
 
  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7363
 
echo "${ECHO_T}$MAGIC_CMD" >&6; }
 
7737
  { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
 
7738
$as_echo "$MAGIC_CMD" >&6; }
7364
7739
else
7365
 
  { echo "$as_me:$LINENO: result: no" >&5
7366
 
echo "${ECHO_T}no" >&6; }
 
7740
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
7741
$as_echo "no" >&6; }
7367
7742
fi
7368
7743
 
 
7744
 
7369
7745
  else
7370
7746
    MAGIC_CMD=:
7371
7747
  fi
7375
7751
  ;;
7376
7752
esac
7377
7753
 
7378
 
enable_dlopen=no
7379
 
enable_win32_dll=yes
7380
 
 
7381
 
# Check whether --enable-libtool-lock was given.
7382
 
if test "${enable_libtool_lock+set}" = set; then
7383
 
  enableval=$enable_libtool_lock;
7384
 
fi
7385
 
 
7386
 
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7387
 
 
7388
 
 
7389
 
# Check whether --with-pic was given.
7390
 
if test "${with_pic+set}" = set; then
7391
 
  withval=$with_pic; pic_mode="$withval"
7392
 
else
7393
 
  pic_mode=default
7394
 
fi
7395
 
 
7396
 
test -z "$pic_mode" && pic_mode=default
7397
 
 
7398
7754
# Use C for the default configuration in the libtool script
7399
 
tagname=
 
7755
 
7400
7756
lt_save_CC="$CC"
7401
7757
ac_ext=c
7402
7758
ac_cpp='$CPP $CPPFLAGS'
7419
7775
lt_simple_link_test_code='int main(){return(0);}'
7420
7776
 
7421
7777
 
 
7778
 
 
7779
 
 
7780
 
 
7781
 
 
7782
 
7422
7783
# If no C compiler was specified, use CC.
7423
7784
LTCC=${LTCC-"$CC"}
7424
7785
 
7428
7789
# Allow CC to be a program name with arguments.
7429
7790
compiler=$CC
7430
7791
 
 
7792
# Save the default compiler, since it gets overwritten when the other
 
7793
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
7794
compiler_DEFAULT=$CC
7431
7795
 
7432
7796
# save warnings/boilerplate of simple test code
7433
7797
ac_outfile=conftest.$ac_objext
7434
7798
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7435
7799
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7436
7800
_lt_compiler_boilerplate=`cat conftest.err`
7437
 
$rm conftest*
 
7801
$RM conftest*
7438
7802
 
7439
7803
ac_outfile=conftest.$ac_objext
7440
7804
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7441
7805
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7442
7806
_lt_linker_boilerplate=`cat conftest.err`
7443
 
$rm conftest*
7444
 
 
7445
 
 
 
7807
$RM -r conftest*
 
7808
 
 
7809
 
 
7810
if test -n "$compiler"; then
7446
7811
 
7447
7812
lt_prog_compiler_no_builtin_flag=
7448
7813
 
7449
7814
if test "$GCC" = yes; then
7450
7815
  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7451
7816
 
7452
 
 
7453
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7454
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
 
7817
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
7818
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7455
7819
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7456
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
7820
  $as_echo_n "(cached) " >&6
7457
7821
else
7458
7822
  lt_cv_prog_compiler_rtti_exceptions=no
7459
 
  ac_outfile=conftest.$ac_objext
 
7823
   ac_outfile=conftest.$ac_objext
7460
7824
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7461
7825
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7462
7826
   # Insert the option either (1) after the last *FLAGS variable, or
7468
7832
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7469
7833
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7470
7834
   -e 's:$: $lt_compiler_flag:'`
7471
 
   (eval echo "\"\$as_me:7471: $lt_compile\"" >&5)
 
7835
   (eval echo "\"\$as_me:7835: $lt_compile\"" >&5)
7472
7836
   (eval "$lt_compile" 2>conftest.err)
7473
7837
   ac_status=$?
7474
7838
   cat conftest.err >&5
7475
 
   echo "$as_me:7475: \$? = $ac_status" >&5
 
7839
   echo "$as_me:7839: \$? = $ac_status" >&5
7476
7840
   if (exit $ac_status) && test -s "$ac_outfile"; then
7477
7841
     # The compiler can only warn and ignore the option if not recognized
7478
7842
     # So say no if there are warnings other than the usual output.
7479
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
7843
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7480
7844
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7481
7845
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7482
7846
       lt_cv_prog_compiler_rtti_exceptions=yes
7483
7847
     fi
7484
7848
   fi
7485
 
   $rm conftest*
 
7849
   $RM conftest*
7486
7850
 
7487
7851
fi
7488
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7489
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
7852
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
7853
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7490
7854
 
7491
7855
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7492
7856
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7496
7860
 
7497
7861
fi
7498
7862
 
7499
 
lt_prog_compiler_wl=
 
7863
 
 
7864
 
 
7865
 
 
7866
 
 
7867
 
 
7868
  lt_prog_compiler_wl=
7500
7869
lt_prog_compiler_pic=
7501
7870
lt_prog_compiler_static=
7502
7871
 
7503
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7504
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
 
7872
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 
7873
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7505
7874
 
7506
7875
  if test "$GCC" = yes; then
7507
7876
    lt_prog_compiler_wl='-Wl,'
7517
7886
      ;;
7518
7887
 
7519
7888
    amigaos*)
7520
 
      # FIXME: we need at least 68020 code to build shared libraries, but
7521
 
      # adding the `-m68020' flag to GCC prevents building anything better,
7522
 
      # like `-m68040'.
7523
 
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7889
      case $host_cpu in
 
7890
      powerpc)
 
7891
            # see comment about AmigaOS4 .so support
 
7892
            lt_prog_compiler_pic='-fPIC'
 
7893
        ;;
 
7894
      m68k)
 
7895
            # FIXME: we need at least 68020 code to build shared libraries, but
 
7896
            # adding the `-m68020' flag to GCC prevents building anything better,
 
7897
            # like `-m68040'.
 
7898
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
7899
        ;;
 
7900
      esac
7524
7901
      ;;
7525
7902
 
7526
7903
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7527
7904
      # PIC is the default for these OSes.
7528
7905
      ;;
7529
7906
 
7530
 
    mingw* | cygwin* | pw32* | os2*)
 
7907
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7531
7908
      # This hack is so that the source file can tell whether it is being
7532
7909
      # built for inclusion in a dll (and should export symbols for example).
7533
7910
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7541
7918
      lt_prog_compiler_pic='-fno-common'
7542
7919
      ;;
7543
7920
 
 
7921
    hpux*)
 
7922
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
7923
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
7924
      # sets the default TLS model and affects inlining.
 
7925
      case $host_cpu in
 
7926
      hppa*64*)
 
7927
        # +Z the default
 
7928
        ;;
 
7929
      *)
 
7930
        lt_prog_compiler_pic='-fPIC'
 
7931
        ;;
 
7932
      esac
 
7933
      ;;
 
7934
 
7544
7935
    interix[3-9]*)
7545
7936
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7546
7937
      # Instead, we relocate shared libraries at runtime.
7553
7944
      enable_shared=no
7554
7945
      ;;
7555
7946
 
 
7947
    *nto* | *qnx*)
 
7948
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
7949
      # it will coredump.
 
7950
      lt_prog_compiler_pic='-fPIC -shared'
 
7951
      ;;
 
7952
 
7556
7953
    sysv4*MP*)
7557
7954
      if test -d /usr/nec; then
7558
7955
        lt_prog_compiler_pic=-Kconform_pic
7559
7956
      fi
7560
7957
      ;;
7561
7958
 
7562
 
    hpux*)
7563
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7564
 
      # not for PA HP-UX.
7565
 
      case $host_cpu in
7566
 
      hppa*64*|ia64*)
7567
 
        # +Z the default
7568
 
        ;;
7569
 
      *)
7570
 
        lt_prog_compiler_pic='-fPIC'
7571
 
        ;;
7572
 
      esac
7573
 
      ;;
7574
 
 
7575
7959
    *)
7576
7960
      lt_prog_compiler_pic='-fPIC'
7577
7961
      ;;
7588
7972
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7589
7973
      fi
7590
7974
      ;;
7591
 
      darwin*)
7592
 
        # PIC is the default on this platform
7593
 
        # Common symbols not allowed in MH_DYLIB files
7594
 
       case $cc_basename in
7595
 
         xlc*)
7596
 
         lt_prog_compiler_pic='-qnocommon'
7597
 
         lt_prog_compiler_wl='-Wl,'
7598
 
         ;;
7599
 
       esac
7600
 
       ;;
7601
7975
 
7602
 
    mingw* | cygwin* | pw32* | os2*)
 
7976
    mingw* | cygwin* | pw32* | os2* | cegcc*)
7603
7977
      # This hack is so that the source file can tell whether it is being
7604
7978
      # built for inclusion in a dll (and should export symbols for example).
7605
7979
      lt_prog_compiler_pic='-DDLL_EXPORT'
7627
8001
      lt_prog_compiler_static='-non_shared'
7628
8002
      ;;
7629
8003
 
7630
 
    newsos6)
7631
 
      lt_prog_compiler_pic='-KPIC'
7632
 
      lt_prog_compiler_static='-Bstatic'
7633
 
      ;;
7634
 
 
7635
8004
    linux* | k*bsd*-gnu)
7636
8005
      case $cc_basename in
7637
 
      icc* | ecc*)
 
8006
      # old Intel for x86_64 which still supported -KPIC.
 
8007
      ecc*)
7638
8008
        lt_prog_compiler_wl='-Wl,'
7639
8009
        lt_prog_compiler_pic='-KPIC'
7640
8010
        lt_prog_compiler_static='-static'
7641
8011
        ;;
 
8012
      # icc used to be incompatible with GCC.
 
8013
      # ICC 10 doesn't accept -KPIC any more.
 
8014
      icc* | ifort*)
 
8015
        lt_prog_compiler_wl='-Wl,'
 
8016
        lt_prog_compiler_pic='-fPIC'
 
8017
        lt_prog_compiler_static='-static'
 
8018
        ;;
 
8019
      # Lahey Fortran 8.1.
 
8020
      lf95*)
 
8021
        lt_prog_compiler_wl='-Wl,'
 
8022
        lt_prog_compiler_pic='--shared'
 
8023
        lt_prog_compiler_static='--static'
 
8024
        ;;
7642
8025
      pgcc* | pgf77* | pgf90* | pgf95*)
7643
8026
        # Portland Group compilers (*not* the Pentium gcc compiler,
7644
8027
        # which looks to be a dead project)
7651
8034
        # All Alpha code is PIC.
7652
8035
        lt_prog_compiler_static='-non_shared'
7653
8036
        ;;
 
8037
      xl*)
 
8038
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
8039
        lt_prog_compiler_wl='-Wl,'
 
8040
        lt_prog_compiler_pic='-qpic'
 
8041
        lt_prog_compiler_static='-qstaticlink'
 
8042
        ;;
7654
8043
      *)
7655
 
        case `$CC -V 2>&1 | sed 5q` in
 
8044
        case `$CC -V 2>&1 | sed 5q` in
7656
8045
        *Sun\ C*)
7657
8046
          # Sun C 5.9
7658
8047
          lt_prog_compiler_pic='-KPIC'
7670
8059
      esac
7671
8060
      ;;
7672
8061
 
 
8062
    newsos6)
 
8063
      lt_prog_compiler_pic='-KPIC'
 
8064
      lt_prog_compiler_static='-Bstatic'
 
8065
      ;;
 
8066
 
 
8067
    *nto* | *qnx*)
 
8068
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
8069
      # it will coredump.
 
8070
      lt_prog_compiler_pic='-fPIC -shared'
 
8071
      ;;
 
8072
 
7673
8073
    osf3* | osf4* | osf5*)
7674
8074
      lt_prog_compiler_wl='-Wl,'
7675
8075
      # All OSF/1 code is PIC.
7732
8132
    esac
7733
8133
  fi
7734
8134
 
7735
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7736
 
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
 
8135
case $host_os in
 
8136
  # For platforms which do not support PIC, -DPIC is meaningless:
 
8137
  *djgpp*)
 
8138
    lt_prog_compiler_pic=
 
8139
    ;;
 
8140
  *)
 
8141
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
8142
    ;;
 
8143
esac
 
8144
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
 
8145
$as_echo "$lt_prog_compiler_pic" >&6; }
 
8146
 
 
8147
 
 
8148
 
 
8149
 
 
8150
 
7737
8151
 
7738
8152
#
7739
8153
# Check to make sure the PIC flag actually works.
7740
8154
#
7741
8155
if test -n "$lt_prog_compiler_pic"; then
7742
 
 
7743
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7744
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7745
 
if test "${lt_prog_compiler_pic_works+set}" = set; then
7746
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8156
  { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
8157
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
8158
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
 
8159
  $as_echo_n "(cached) " >&6
7747
8160
else
7748
 
  lt_prog_compiler_pic_works=no
7749
 
  ac_outfile=conftest.$ac_objext
 
8161
  lt_cv_prog_compiler_pic_works=no
 
8162
   ac_outfile=conftest.$ac_objext
7750
8163
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7751
8164
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7752
8165
   # Insert the option either (1) after the last *FLAGS variable, or
7758
8171
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7759
8172
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7760
8173
   -e 's:$: $lt_compiler_flag:'`
7761
 
   (eval echo "\"\$as_me:7761: $lt_compile\"" >&5)
 
8174
   (eval echo "\"\$as_me:8174: $lt_compile\"" >&5)
7762
8175
   (eval "$lt_compile" 2>conftest.err)
7763
8176
   ac_status=$?
7764
8177
   cat conftest.err >&5
7765
 
   echo "$as_me:7765: \$? = $ac_status" >&5
 
8178
   echo "$as_me:8178: \$? = $ac_status" >&5
7766
8179
   if (exit $ac_status) && test -s "$ac_outfile"; then
7767
8180
     # The compiler can only warn and ignore the option if not recognized
7768
8181
     # So say no if there are warnings other than the usual output.
7769
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
8182
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7770
8183
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7771
8184
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7772
 
       lt_prog_compiler_pic_works=yes
 
8185
       lt_cv_prog_compiler_pic_works=yes
7773
8186
     fi
7774
8187
   fi
7775
 
   $rm conftest*
 
8188
   $RM conftest*
7776
8189
 
7777
8190
fi
7778
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7779
 
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
 
8191
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
 
8192
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7780
8193
 
7781
 
if test x"$lt_prog_compiler_pic_works" = xyes; then
 
8194
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7782
8195
    case $lt_prog_compiler_pic in
7783
8196
     "" | " "*) ;;
7784
8197
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7789
8202
fi
7790
8203
 
7791
8204
fi
7792
 
case $host_os in
7793
 
  # For platforms which do not support PIC, -DPIC is meaningless:
7794
 
  *djgpp*)
7795
 
    lt_prog_compiler_pic=
7796
 
    ;;
7797
 
  *)
7798
 
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7799
 
    ;;
7800
 
esac
 
8205
 
 
8206
 
 
8207
 
 
8208
 
 
8209
 
7801
8210
 
7802
8211
#
7803
8212
# Check to make sure the static flag actually works.
7804
8213
#
7805
8214
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7806
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7807
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7808
 
if test "${lt_prog_compiler_static_works+set}" = set; then
7809
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
8215
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
8216
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
8217
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
 
8218
  $as_echo_n "(cached) " >&6
7810
8219
else
7811
 
  lt_prog_compiler_static_works=no
 
8220
  lt_cv_prog_compiler_static_works=no
7812
8221
   save_LDFLAGS="$LDFLAGS"
7813
8222
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7814
8223
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7818
8227
     if test -s conftest.err; then
7819
8228
       # Append any errors to the config.log.
7820
8229
       cat conftest.err 1>&5
7821
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
8230
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7822
8231
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7823
8232
       if diff conftest.exp conftest.er2 >/dev/null; then
7824
 
         lt_prog_compiler_static_works=yes
 
8233
         lt_cv_prog_compiler_static_works=yes
7825
8234
       fi
7826
8235
     else
7827
 
       lt_prog_compiler_static_works=yes
 
8236
       lt_cv_prog_compiler_static_works=yes
7828
8237
     fi
7829
8238
   fi
7830
 
   $rm conftest*
 
8239
   $RM -r conftest*
7831
8240
   LDFLAGS="$save_LDFLAGS"
7832
8241
 
7833
8242
fi
7834
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7835
 
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
 
8243
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
 
8244
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7836
8245
 
7837
 
if test x"$lt_prog_compiler_static_works" = xyes; then
 
8246
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7838
8247
    :
7839
8248
else
7840
8249
    lt_prog_compiler_static=
7841
8250
fi
7842
8251
 
7843
8252
 
7844
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7845
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7846
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7847
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
7848
 
else
7849
 
  lt_cv_prog_compiler_c_o=no
7850
 
   $rm -r conftest 2>/dev/null
7851
 
   mkdir conftest
7852
 
   cd conftest
7853
 
   mkdir out
7854
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7855
 
 
7856
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7857
 
   # Insert the option either (1) after the last *FLAGS variable, or
7858
 
   # (2) before a word containing "conftest.", or (3) at the end.
7859
 
   # Note that $ac_compile itself does not contain backslashes and begins
7860
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
7861
 
   lt_compile=`echo "$ac_compile" | $SED \
7862
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7863
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7864
 
   -e 's:$: $lt_compiler_flag:'`
7865
 
   (eval echo "\"\$as_me:7865: $lt_compile\"" >&5)
7866
 
   (eval "$lt_compile" 2>out/conftest.err)
7867
 
   ac_status=$?
7868
 
   cat out/conftest.err >&5
7869
 
   echo "$as_me:7869: \$? = $ac_status" >&5
7870
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7871
 
   then
7872
 
     # The compiler can only warn and ignore the option if not recognized
7873
 
     # So say no if there are warnings
7874
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7875
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7876
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7877
 
       lt_cv_prog_compiler_c_o=yes
7878
 
     fi
7879
 
   fi
7880
 
   chmod u+w . 2>&5
7881
 
   $rm conftest*
7882
 
   # SGI C++ compiler will create directory out/ii_files/ for
7883
 
   # template instantiation
7884
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7885
 
   $rm out/* && rmdir out
7886
 
   cd ..
7887
 
   rmdir conftest
7888
 
   $rm conftest*
7889
 
 
7890
 
fi
7891
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7892
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
 
8253
 
 
8254
 
 
8255
 
 
8256
 
 
8257
 
 
8258
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8259
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8260
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8261
  $as_echo_n "(cached) " >&6
 
8262
else
 
8263
  lt_cv_prog_compiler_c_o=no
 
8264
   $RM -r conftest 2>/dev/null
 
8265
   mkdir conftest
 
8266
   cd conftest
 
8267
   mkdir out
 
8268
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8269
 
 
8270
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8271
   # Insert the option either (1) after the last *FLAGS variable, or
 
8272
   # (2) before a word containing "conftest.", or (3) at the end.
 
8273
   # Note that $ac_compile itself does not contain backslashes and begins
 
8274
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8275
   lt_compile=`echo "$ac_compile" | $SED \
 
8276
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8277
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8278
   -e 's:$: $lt_compiler_flag:'`
 
8279
   (eval echo "\"\$as_me:8279: $lt_compile\"" >&5)
 
8280
   (eval "$lt_compile" 2>out/conftest.err)
 
8281
   ac_status=$?
 
8282
   cat out/conftest.err >&5
 
8283
   echo "$as_me:8283: \$? = $ac_status" >&5
 
8284
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8285
   then
 
8286
     # The compiler can only warn and ignore the option if not recognized
 
8287
     # So say no if there are warnings
 
8288
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8289
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8290
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8291
       lt_cv_prog_compiler_c_o=yes
 
8292
     fi
 
8293
   fi
 
8294
   chmod u+w . 2>&5
 
8295
   $RM conftest*
 
8296
   # SGI C++ compiler will create directory out/ii_files/ for
 
8297
   # template instantiation
 
8298
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8299
   $RM out/* && rmdir out
 
8300
   cd ..
 
8301
   $RM -r conftest
 
8302
   $RM conftest*
 
8303
 
 
8304
fi
 
8305
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8306
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8307
 
 
8308
 
 
8309
 
 
8310
 
 
8311
 
 
8312
 
 
8313
  { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 
8314
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
8315
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
 
8316
  $as_echo_n "(cached) " >&6
 
8317
else
 
8318
  lt_cv_prog_compiler_c_o=no
 
8319
   $RM -r conftest 2>/dev/null
 
8320
   mkdir conftest
 
8321
   cd conftest
 
8322
   mkdir out
 
8323
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8324
 
 
8325
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
8326
   # Insert the option either (1) after the last *FLAGS variable, or
 
8327
   # (2) before a word containing "conftest.", or (3) at the end.
 
8328
   # Note that $ac_compile itself does not contain backslashes and begins
 
8329
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
8330
   lt_compile=`echo "$ac_compile" | $SED \
 
8331
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
8332
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
8333
   -e 's:$: $lt_compiler_flag:'`
 
8334
   (eval echo "\"\$as_me:8334: $lt_compile\"" >&5)
 
8335
   (eval "$lt_compile" 2>out/conftest.err)
 
8336
   ac_status=$?
 
8337
   cat out/conftest.err >&5
 
8338
   echo "$as_me:8338: \$? = $ac_status" >&5
 
8339
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
8340
   then
 
8341
     # The compiler can only warn and ignore the option if not recognized
 
8342
     # So say no if there are warnings
 
8343
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
8344
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
8345
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
8346
       lt_cv_prog_compiler_c_o=yes
 
8347
     fi
 
8348
   fi
 
8349
   chmod u+w . 2>&5
 
8350
   $RM conftest*
 
8351
   # SGI C++ compiler will create directory out/ii_files/ for
 
8352
   # template instantiation
 
8353
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
8354
   $RM out/* && rmdir out
 
8355
   cd ..
 
8356
   $RM -r conftest
 
8357
   $RM conftest*
 
8358
 
 
8359
fi
 
8360
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
 
8361
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
8362
 
 
8363
 
7893
8364
 
7894
8365
 
7895
8366
hard_links="nottested"
7896
8367
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7897
8368
  # do not overwrite the value of need_locks provided by the user
7898
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7899
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
 
8369
  { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 
8370
$as_echo_n "checking if we can lock with hard links... " >&6; }
7900
8371
  hard_links=yes
7901
 
  $rm conftest*
 
8372
  $RM conftest*
7902
8373
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7903
8374
  touch conftest.a
7904
8375
  ln conftest.a conftest.b 2>&5 || hard_links=no
7905
8376
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
7906
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
7907
 
echo "${ECHO_T}$hard_links" >&6; }
 
8377
  { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 
8378
$as_echo "$hard_links" >&6; }
7908
8379
  if test "$hard_links" = no; then
7909
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7910
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
8380
    { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
8381
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7911
8382
    need_locks=warn
7912
8383
  fi
7913
8384
else
7914
8385
  need_locks=no
7915
8386
fi
7916
8387
 
7917
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7918
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
 
8388
 
 
8389
 
 
8390
 
 
8391
 
 
8392
 
 
8393
  { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
8394
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7919
8395
 
7920
8396
  runpath_var=
7921
8397
  allow_undefined_flag=
7922
 
  enable_shared_with_static_runtimes=no
 
8398
  always_export_symbols=no
7923
8399
  archive_cmds=
7924
8400
  archive_expsym_cmds=
7925
 
  old_archive_From_new_cmds=
7926
 
  old_archive_from_expsyms_cmds=
 
8401
  compiler_needs_object=no
 
8402
  enable_shared_with_static_runtimes=no
7927
8403
  export_dynamic_flag_spec=
7928
 
  whole_archive_flag_spec=
7929
 
  thread_safe_flag_spec=
 
8404
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8405
  hardcode_automatic=no
 
8406
  hardcode_direct=no
 
8407
  hardcode_direct_absolute=no
7930
8408
  hardcode_libdir_flag_spec=
7931
8409
  hardcode_libdir_flag_spec_ld=
7932
8410
  hardcode_libdir_separator=
7933
 
  hardcode_direct=no
7934
8411
  hardcode_minus_L=no
7935
8412
  hardcode_shlibpath_var=unsupported
 
8413
  inherit_rpath=no
7936
8414
  link_all_deplibs=unknown
7937
 
  hardcode_automatic=no
7938
8415
  module_cmds=
7939
8416
  module_expsym_cmds=
7940
 
  always_export_symbols=no
7941
 
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
8417
  old_archive_from_new_cmds=
 
8418
  old_archive_from_expsyms_cmds=
 
8419
  thread_safe_flag_spec=
 
8420
  whole_archive_flag_spec=
7942
8421
  # include_expsyms should be a list of space-separated symbols to be *always*
7943
8422
  # included in the symbol list
7944
8423
  include_expsyms=
7946
8425
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
7947
8426
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7948
8427
  # as well as any symbol that contains `d'.
7949
 
  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
 
8428
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7950
8429
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7951
8430
  # platforms (ab)use it in PIC code, but their linkers get confused if
7952
8431
  # the symbol is explicitly referenced.  Since portable code cannot
7953
8432
  # rely on this symbol name, it's probably fine to never include it in
7954
8433
  # preloaded symbol tables.
 
8434
  # Exclude shared library initialization/finalization symbols.
7955
8435
  extract_expsyms_cmds=
7956
 
  # Just being paranoid about ensuring that cc_basename is set.
7957
 
  for cc_temp in $compiler""; do
7958
 
  case $cc_temp in
7959
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7960
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7961
 
    \-*) ;;
7962
 
    *) break;;
7963
 
  esac
7964
 
done
7965
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7966
8436
 
7967
8437
  case $host_os in
7968
 
  cygwin* | mingw* | pw32*)
 
8438
  cygwin* | mingw* | pw32* | cegcc*)
7969
8439
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
7970
8440
    # When not using gcc, we currently assume that we are using
7971
8441
    # Microsoft Visual C++.
7980
8450
  openbsd*)
7981
8451
    with_gnu_ld=no
7982
8452
    ;;
 
8453
  linux* | k*bsd*-gnu)
 
8454
    link_all_deplibs=no
 
8455
    ;;
7983
8456
  esac
7984
8457
 
7985
8458
  ld_shlibs=yes
7991
8464
    # are reset later if shared libraries are not supported. Putting them
7992
8465
    # here allows them to be overridden if necessary.
7993
8466
    runpath_var=LD_RUN_PATH
7994
 
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
8467
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7995
8468
    export_dynamic_flag_spec='${wl}--export-dynamic'
7996
8469
    # ancient GNU ld didn't support --whole-archive et. al.
7997
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7998
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7999
 
      else
8000
 
        whole_archive_flag_spec=
 
8470
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
8471
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
8472
    else
 
8473
      whole_archive_flag_spec=
8001
8474
    fi
8002
8475
    supports_anon_versioning=no
8003
 
    case `$LD -v 2>/dev/null` in
 
8476
    case `$LD -v 2>&1` in
8004
8477
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8005
8478
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8006
8479
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8010
8483
 
8011
8484
    # See if GNU ld supports shared libraries.
8012
8485
    case $host_os in
8013
 
    aix3* | aix4* | aix5*)
 
8486
    aix[3-9]*)
8014
8487
      # On AIX/PPC, the GNU linker is very broken
8015
8488
      if test "$host_cpu" != ia64; then
8016
8489
        ld_shlibs=no
8017
 
        cat <<EOF 1>&2
 
8490
        cat <<_LT_EOF 1>&2
8018
8491
 
8019
8492
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8020
8493
*** to be unable to reliably create shared libraries on AIX.
8022
8495
*** really care for shared libraries, you may want to modify your PATH
8023
8496
*** so that a non-GNU linker is found, and then restart.
8024
8497
 
8025
 
EOF
 
8498
_LT_EOF
8026
8499
      fi
8027
8500
      ;;
8028
8501
 
8029
8502
    amigaos*)
8030
 
      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)'
8031
 
      hardcode_libdir_flag_spec='-L$libdir'
8032
 
      hardcode_minus_L=yes
8033
 
 
8034
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8035
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
8036
 
      # to version 4, is to share data among multiple programs linked
8037
 
      # with the same dynamic library.  Since this doesn't match the
8038
 
      # behavior of shared libraries on other platforms, we can't use
8039
 
      # them.
8040
 
      ld_shlibs=no
 
8503
      case $host_cpu in
 
8504
      powerpc)
 
8505
            # see comment about AmigaOS4 .so support
 
8506
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8507
            archive_expsym_cmds=''
 
8508
        ;;
 
8509
      m68k)
 
8510
            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)'
 
8511
            hardcode_libdir_flag_spec='-L$libdir'
 
8512
            hardcode_minus_L=yes
 
8513
        ;;
 
8514
      esac
8041
8515
      ;;
8042
8516
 
8043
8517
    beos*)
8044
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8518
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8045
8519
        allow_undefined_flag=unsupported
8046
8520
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8047
8521
        # support --undefined.  This deserves some investigation.  FIXME
8051
8525
      fi
8052
8526
      ;;
8053
8527
 
8054
 
    cygwin* | mingw* | pw32*)
8055
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
8528
    cygwin* | mingw* | pw32* | cegcc*)
 
8529
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8056
8530
      # as there is no search path for DLLs.
8057
8531
      hardcode_libdir_flag_spec='-L$libdir'
8058
8532
      allow_undefined_flag=unsupported
8059
8533
      always_export_symbols=no
8060
8534
      enable_shared_with_static_runtimes=yes
8061
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
8535
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8062
8536
 
8063
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 
8537
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8064
8538
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8065
8539
        # If the export-symbols file already is a .def file (1st line
8066
8540
        # is EXPORTS), use it as is; otherwise, prepend...
8091
8565
      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'
8092
8566
      ;;
8093
8567
 
8094
 
    gnu* | linux* | k*bsd*-gnu)
8095
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8568
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
8569
      tmp_diet=no
 
8570
      if test "$host_os" = linux-dietlibc; then
 
8571
        case $cc_basename in
 
8572
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
8573
        esac
 
8574
      fi
 
8575
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
8576
         && test "$tmp_diet" = no
 
8577
      then
8096
8578
        tmp_addflag=
 
8579
        tmp_sharedflag='-shared'
8097
8580
        case $cc_basename,$host_cpu in
8098
 
        pgcc*)                          # Portland Group C compiler
8099
 
          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'
 
8581
        pgcc*)                          # Portland Group C compiler
 
8582
          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'
8100
8583
          tmp_addflag=' $pic_flag'
8101
8584
          ;;
8102
8585
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8103
 
          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'
 
8586
          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'
8104
8587
          tmp_addflag=' $pic_flag -Mnomain' ;;
8105
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
8588
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8106
8589
          tmp_addflag=' -i_dynamic' ;;
8107
8590
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8108
8591
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8109
8592
        ifc* | ifort*)                  # Intel Fortran compiler
8110
8593
          tmp_addflag=' -nofor_main' ;;
 
8594
        lf95*)                          # Lahey Fortran 8.1
 
8595
          whole_archive_flag_spec=
 
8596
          tmp_sharedflag='--shared' ;;
 
8597
        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
 
8598
          tmp_sharedflag='-qmkshrobj'
 
8599
          tmp_addflag= ;;
8111
8600
        esac
8112
8601
        case `$CC -V 2>&1 | sed 5q` in
8113
8602
        *Sun\ C*)                       # Sun C 5.9
8114
 
          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'
 
8603
          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'
 
8604
          compiler_needs_object=yes
8115
8605
          tmp_sharedflag='-G' ;;
8116
8606
        *Sun\ F*)                       # Sun Fortran 8.3
8117
8607
          tmp_sharedflag='-G' ;;
8118
 
        *)
8119
 
          tmp_sharedflag='-shared' ;;
8120
8608
        esac
8121
8609
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8122
8610
 
8123
 
        if test $supports_anon_versioning = yes; then
8124
 
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8125
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8126
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8127
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8128
 
        fi
8129
 
        link_all_deplibs=no
 
8611
        if test "x$supports_anon_versioning" = xyes; then
 
8612
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8613
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8614
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
8615
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
8616
        fi
 
8617
 
 
8618
        case $cc_basename in
 
8619
        xlf*)
 
8620
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
8621
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
8622
          hardcode_libdir_flag_spec=
 
8623
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
8624
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
8625
          if test "x$supports_anon_versioning" = xyes; then
 
8626
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
8627
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
8628
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
8629
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
8630
          fi
 
8631
          ;;
 
8632
        esac
8130
8633
      else
8131
 
        ld_shlibs=no
 
8634
        ld_shlibs=no
8132
8635
      fi
8133
8636
      ;;
8134
8637
 
8135
8638
    netbsd* | netbsdelf*-gnu)
8136
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
8639
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8137
8640
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8138
8641
        wlarc=
8139
8642
      else
8143
8646
      ;;
8144
8647
 
8145
8648
    solaris*)
8146
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 
8649
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8147
8650
        ld_shlibs=no
8148
 
        cat <<EOF 1>&2
 
8651
        cat <<_LT_EOF 1>&2
8149
8652
 
8150
8653
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8151
8654
*** create shared libraries on Solaris systems.  Therefore, libtool
8154
8657
*** your PATH or compiler configuration so that the native linker is
8155
8658
*** used, and then restart.
8156
8659
 
8157
 
EOF
8158
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8660
_LT_EOF
 
8661
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8159
8662
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8160
8663
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8161
8664
      else
8179
8682
_LT_EOF
8180
8683
        ;;
8181
8684
        *)
8182
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8183
 
            hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8184
 
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8185
 
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 
8685
          # For security reasons, it is highly recommended that you always
 
8686
          # use absolute paths for naming shared libraries, and exclude the
 
8687
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
8688
          # requires that you compile everything twice, which is a pain.
 
8689
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
8690
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
8691
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8692
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8186
8693
          else
8187
8694
            ld_shlibs=no
8188
8695
          fi
8198
8705
      ;;
8199
8706
 
8200
8707
    *)
8201
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
8708
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8202
8709
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8203
8710
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8204
8711
      else
8230
8737
      fi
8231
8738
      ;;
8232
8739
 
8233
 
    aix4* | aix5*)
 
8740
    aix[4-9]*)
8234
8741
      if test "$host_cpu" = ia64; then
8235
8742
        # On IA64, the linker does run time linking by default, so we don't
8236
8743
        # have to do anything special.
8240
8747
      else
8241
8748
        # If we're using GNU nm, then we don't want the "-C" option.
8242
8749
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
8243
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8244
 
          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'
 
8750
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
8751
          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'
8245
8752
        else
8246
 
          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'
 
8753
          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'
8247
8754
        fi
8248
8755
        aix_use_runtimelinking=no
8249
8756
 
8250
8757
        # Test if we are trying to use run time linking or normal
8251
8758
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8252
8759
        # need to do runtime linking.
8253
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
 
8760
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8254
8761
          for ld_flag in $LDFLAGS; do
8255
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8256
 
            aix_use_runtimelinking=yes
8257
 
            break
8258
 
          fi
 
8762
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
8763
            aix_use_runtimelinking=yes
 
8764
            break
 
8765
          fi
8259
8766
          done
8260
8767
          ;;
8261
8768
        esac
8272
8779
 
8273
8780
      archive_cmds=''
8274
8781
      hardcode_direct=yes
 
8782
      hardcode_direct_absolute=yes
8275
8783
      hardcode_libdir_separator=':'
8276
8784
      link_all_deplibs=yes
 
8785
      file_list_spec='${wl}-f,'
8277
8786
 
8278
8787
      if test "$GCC" = yes; then
8279
8788
        case $host_os in aix4.[012]|aix4.[012].*)
8280
8789
        # We only want to do this on AIX 4.2 and lower, the check
8281
8790
        # below for broken collect2 doesn't work under 4.3+
8282
8791
          collect2name=`${CC} -print-prog-name=collect2`
8283
 
          if test -f "$collect2name" && \
8284
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
 
8792
          if test -f "$collect2name" &&
 
8793
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8285
8794
          then
8286
 
          # We have reworked collect2
8287
 
          :
 
8795
          # We have reworked collect2
 
8796
          :
8288
8797
          else
8289
 
          # We have old collect2
8290
 
          hardcode_direct=unsupported
8291
 
          # It fails to find uninstalled libraries when the uninstalled
8292
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
8293
 
          # to unsupported forces relinking
8294
 
          hardcode_minus_L=yes
8295
 
          hardcode_libdir_flag_spec='-L$libdir'
8296
 
          hardcode_libdir_separator=
 
8798
          # We have old collect2
 
8799
          hardcode_direct=unsupported
 
8800
          # It fails to find uninstalled libraries when the uninstalled
 
8801
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
8802
          # to unsupported forces relinking
 
8803
          hardcode_minus_L=yes
 
8804
          hardcode_libdir_flag_spec='-L$libdir'
 
8805
          hardcode_libdir_separator=
8297
8806
          fi
8298
8807
          ;;
8299
8808
        esac
8301
8810
        if test "$aix_use_runtimelinking" = yes; then
8302
8811
          shared_flag="$shared_flag "'${wl}-G'
8303
8812
        fi
 
8813
        link_all_deplibs=no
8304
8814
      else
8305
8815
        # not using gcc
8306
8816
        if test "$host_cpu" = ia64; then
8307
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8308
 
        # chokes on -Wl,-G. The following line is correct:
 
8817
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
8818
        # chokes on -Wl,-G. The following line is correct:
8309
8819
          shared_flag='-G'
8310
8820
        else
8311
8821
          if test "$aix_use_runtimelinking" = yes; then
8316
8826
        fi
8317
8827
      fi
8318
8828
 
 
8829
      export_dynamic_flag_spec='${wl}-bexpall'
8319
8830
      # It seems that -bexpall does not export symbols beginning with
8320
8831
      # underscore (_), so it is better to generate a list of symbols to export.
8321
8832
      always_export_symbols=yes
8323
8834
        # Warning - without using the other runtime loading flags (-brtl),
8324
8835
        # -berok will link without error, but may produce a broken library.
8325
8836
        allow_undefined_flag='-berok'
8326
 
       # Determine the default libpath from the value encoded in an empty executable.
8327
 
       cat >conftest.$ac_ext <<_ACEOF
 
8837
        # Determine the default libpath from the value encoded in an
 
8838
        # empty executable.
 
8839
        cat >conftest.$ac_ext <<_ACEOF
8328
8840
/* confdefs.h.  */
8329
8841
_ACEOF
8330
8842
cat confdefs.h >>conftest.$ac_ext
8345
8857
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8346
8858
  *) ac_try_echo=$ac_try;;
8347
8859
esac
8348
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8860
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8861
$as_echo "$ac_try_echo") >&5
8349
8862
  (eval "$ac_link") 2>conftest.er1
8350
8863
  ac_status=$?
8351
8864
  grep -v '^ *+' conftest.er1 >conftest.err
8352
8865
  rm -f conftest.er1
8353
8866
  cat conftest.err >&5
8354
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8867
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355
8868
  (exit $ac_status); } && {
8356
8869
         test -z "$ac_c_werror_flag" ||
8357
8870
         test ! -s conftest.err
8358
 
       } && test -s conftest$ac_exeext &&
8359
 
       $as_test_x conftest$ac_exeext; then
 
8871
       } && test -s conftest$ac_exeext && {
 
8872
         test "$cross_compiling" = yes ||
 
8873
         $as_test_x conftest$ac_exeext
 
8874
       }; then
8360
8875
 
8361
8876
lt_aix_libpath_sed='
8362
8877
    /Import File Strings/,/^$/ {
8371
8886
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8372
8887
fi
8373
8888
else
8374
 
  echo "$as_me: failed program was:" >&5
 
8889
  $as_echo "$as_me: failed program was:" >&5
8375
8890
sed 's/^/| /' conftest.$ac_ext >&5
8376
8891
 
8377
8892
 
8378
8893
fi
8379
8894
 
 
8895
rm -rf conftest.dSYM
8380
8896
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8381
8897
      conftest$ac_exeext conftest.$ac_ext
8382
8898
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8383
8899
 
8384
 
       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8385
 
        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"
8386
 
       else
 
8900
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
8901
        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"
 
8902
      else
8387
8903
        if test "$host_cpu" = ia64; then
8388
8904
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8389
8905
          allow_undefined_flag="-z nodefs"
8390
8906
          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"
8391
8907
        else
8392
 
         # Determine the default libpath from the value encoded in an empty executable.
 
8908
         # Determine the default libpath from the value encoded in an
 
8909
         # empty executable.
8393
8910
         cat >conftest.$ac_ext <<_ACEOF
8394
8911
/* confdefs.h.  */
8395
8912
_ACEOF
8411
8928
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8412
8929
  *) ac_try_echo=$ac_try;;
8413
8930
esac
8414
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
8931
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
8932
$as_echo "$ac_try_echo") >&5
8415
8933
  (eval "$ac_link") 2>conftest.er1
8416
8934
  ac_status=$?
8417
8935
  grep -v '^ *+' conftest.er1 >conftest.err
8418
8936
  rm -f conftest.er1
8419
8937
  cat conftest.err >&5
8420
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8938
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421
8939
  (exit $ac_status); } && {
8422
8940
         test -z "$ac_c_werror_flag" ||
8423
8941
         test ! -s conftest.err
8424
 
       } && test -s conftest$ac_exeext &&
8425
 
       $as_test_x conftest$ac_exeext; then
 
8942
       } && test -s conftest$ac_exeext && {
 
8943
         test "$cross_compiling" = yes ||
 
8944
         $as_test_x conftest$ac_exeext
 
8945
       }; then
8426
8946
 
8427
8947
lt_aix_libpath_sed='
8428
8948
    /Import File Strings/,/^$/ {
8437
8957
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8438
8958
fi
8439
8959
else
8440
 
  echo "$as_me: failed program was:" >&5
 
8960
  $as_echo "$as_me: failed program was:" >&5
8441
8961
sed 's/^/| /' conftest.$ac_ext >&5
8442
8962
 
8443
8963
 
8444
8964
fi
8445
8965
 
 
8966
rm -rf conftest.dSYM
8446
8967
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8447
8968
      conftest$ac_exeext conftest.$ac_ext
8448
8969
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8462
8983
      ;;
8463
8984
 
8464
8985
    amigaos*)
8465
 
      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)'
8466
 
      hardcode_libdir_flag_spec='-L$libdir'
8467
 
      hardcode_minus_L=yes
8468
 
      # see comment about different semantics on the GNU ld section
8469
 
      ld_shlibs=no
 
8986
      case $host_cpu in
 
8987
      powerpc)
 
8988
            # see comment about AmigaOS4 .so support
 
8989
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8990
            archive_expsym_cmds=''
 
8991
        ;;
 
8992
      m68k)
 
8993
            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)'
 
8994
            hardcode_libdir_flag_spec='-L$libdir'
 
8995
            hardcode_minus_L=yes
 
8996
        ;;
 
8997
      esac
8470
8998
      ;;
8471
8999
 
8472
9000
    bsdi[45]*)
8473
9001
      export_dynamic_flag_spec=-rdynamic
8474
9002
      ;;
8475
9003
 
8476
 
    cygwin* | mingw* | pw32*)
 
9004
    cygwin* | mingw* | pw32* | cegcc*)
8477
9005
      # When not using gcc, we currently assume that we are using
8478
9006
      # Microsoft Visual C++.
8479
9007
      # hardcode_libdir_flag_spec is actually meaningless, as there is
8485
9013
      # Tell ltmain to make .dll files, not .so files.
8486
9014
      shrext_cmds=".dll"
8487
9015
      # FIXME: Setting linknames here is a bad hack.
8488
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
9016
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8489
9017
      # The linker will automatically build a .lib file if we build a DLL.
8490
 
      old_archive_From_new_cmds='true'
 
9018
      old_archive_from_new_cmds='true'
8491
9019
      # FIXME: Should let the user specify the lib program.
8492
9020
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8493
9021
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8495
9023
      ;;
8496
9024
 
8497
9025
    darwin* | rhapsody*)
8498
 
      case $host_os in
8499
 
        rhapsody* | darwin1.[012])
8500
 
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8501
 
         ;;
8502
 
       *) # Darwin 1.3 on
8503
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8504
 
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8505
 
         else
8506
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
8507
 
             10.[012])
8508
 
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8509
 
               ;;
8510
 
             10.*)
8511
 
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8512
 
               ;;
8513
 
           esac
8514
 
         fi
8515
 
         ;;
8516
 
      esac
8517
 
      archive_cmds_need_lc=no
8518
 
      hardcode_direct=no
8519
 
      hardcode_automatic=yes
8520
 
      hardcode_shlibpath_var=unsupported
8521
 
      whole_archive_flag_spec=''
8522
 
      link_all_deplibs=yes
8523
 
    if test "$GCC" = yes ; then
8524
 
        output_verbose_link_cmd='echo'
8525
 
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8526
 
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8527
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8528
 
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8529
 
      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}'
8530
 
    else
8531
 
      case $cc_basename in
8532
 
        xlc*)
8533
 
         output_verbose_link_cmd='echo'
8534
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8535
 
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8536
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8537
 
         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}'
8538
 
          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}'
8539
 
          ;;
8540
 
       *)
8541
 
         ld_shlibs=no
8542
 
          ;;
8543
 
      esac
8544
 
    fi
 
9026
 
 
9027
 
 
9028
  archive_cmds_need_lc=no
 
9029
  hardcode_direct=no
 
9030
  hardcode_automatic=yes
 
9031
  hardcode_shlibpath_var=unsupported
 
9032
  whole_archive_flag_spec=''
 
9033
  link_all_deplibs=yes
 
9034
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
9035
  case $cc_basename in
 
9036
     ifort*) _lt_dar_can_shared=yes ;;
 
9037
     *) _lt_dar_can_shared=$GCC ;;
 
9038
  esac
 
9039
  if test "$_lt_dar_can_shared" = "yes"; then
 
9040
    output_verbose_link_cmd=echo
 
9041
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
9042
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
9043
    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}"
 
9044
    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}"
 
9045
 
 
9046
  else
 
9047
  ld_shlibs=no
 
9048
  fi
 
9049
 
8545
9050
      ;;
8546
9051
 
8547
9052
    dgux*)
8583
9088
 
8584
9089
    hpux9*)
8585
9090
      if test "$GCC" = yes; then
8586
 
        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'
 
9091
        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'
8587
9092
      else
8588
 
        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'
 
9093
        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'
8589
9094
      fi
8590
9095
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8591
9096
      hardcode_libdir_separator=:
8605
9110
      fi
8606
9111
      if test "$with_gnu_ld" = no; then
8607
9112
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
9113
        hardcode_libdir_flag_spec_ld='+b $libdir'
8608
9114
        hardcode_libdir_separator=:
8609
 
 
8610
9115
        hardcode_direct=yes
 
9116
        hardcode_direct_absolute=yes
8611
9117
        export_dynamic_flag_spec='${wl}-E'
8612
 
 
8613
9118
        # hardcode_minus_L: Not really in the search PATH,
8614
9119
        # but as the default location of the library.
8615
9120
        hardcode_minus_L=yes
8623
9128
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8624
9129
          ;;
8625
9130
        ia64*)
8626
 
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9131
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8627
9132
          ;;
8628
9133
        *)
8629
9134
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8648
9153
 
8649
9154
        case $host_cpu in
8650
9155
        hppa*64*|ia64*)
8651
 
          hardcode_libdir_flag_spec_ld='+b $libdir'
8652
9156
          hardcode_direct=no
8653
9157
          hardcode_shlibpath_var=no
8654
9158
          ;;
8655
9159
        *)
8656
9160
          hardcode_direct=yes
 
9161
          hardcode_direct_absolute=yes
8657
9162
          export_dynamic_flag_spec='${wl}-E'
8658
9163
 
8659
9164
          # hardcode_minus_L: Not really in the search PATH,
8666
9171
 
8667
9172
    irix5* | irix6* | nonstopux*)
8668
9173
      if test "$GCC" = yes; then
8669
 
        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'
 
9174
        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'
 
9175
        # Try to use the -exported_symbol ld option, if it does not
 
9176
        # work, assume that -exports_file does not work either and
 
9177
        # implicitly export all symbols.
 
9178
        save_LDFLAGS="$LDFLAGS"
 
9179
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
9180
        cat >conftest.$ac_ext <<_ACEOF
 
9181
int foo(void) {}
 
9182
_ACEOF
 
9183
rm -f conftest.$ac_objext conftest$ac_exeext
 
9184
if { (ac_try="$ac_link"
 
9185
case "(($ac_try" in
 
9186
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
9187
  *) ac_try_echo=$ac_try;;
 
9188
esac
 
9189
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
9190
$as_echo "$ac_try_echo") >&5
 
9191
  (eval "$ac_link") 2>conftest.er1
 
9192
  ac_status=$?
 
9193
  grep -v '^ *+' conftest.er1 >conftest.err
 
9194
  rm -f conftest.er1
 
9195
  cat conftest.err >&5
 
9196
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9197
  (exit $ac_status); } && {
 
9198
         test -z "$ac_c_werror_flag" ||
 
9199
         test ! -s conftest.err
 
9200
       } && test -s conftest$ac_exeext && {
 
9201
         test "$cross_compiling" = yes ||
 
9202
         $as_test_x conftest$ac_exeext
 
9203
       }; then
 
9204
  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'
 
9205
 
 
9206
else
 
9207
  $as_echo "$as_me: failed program was:" >&5
 
9208
sed 's/^/| /' conftest.$ac_ext >&5
 
9209
 
 
9210
 
 
9211
fi
 
9212
 
 
9213
rm -rf conftest.dSYM
 
9214
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
9215
      conftest$ac_exeext conftest.$ac_ext
 
9216
        LDFLAGS="$save_LDFLAGS"
8670
9217
      else
8671
 
        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'
8672
 
        hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9218
        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'
 
9219
        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'
8673
9220
      fi
 
9221
      archive_cmds_need_lc='no'
8674
9222
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8675
9223
      hardcode_libdir_separator=:
 
9224
      inherit_rpath=yes
8676
9225
      link_all_deplibs=yes
8677
9226
      ;;
8678
9227
 
8679
9228
    netbsd* | netbsdelf*-gnu)
8680
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
9229
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8681
9230
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8682
9231
      else
8683
9232
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8695
9244
      hardcode_shlibpath_var=no
8696
9245
      ;;
8697
9246
 
 
9247
    *nto* | *qnx*)
 
9248
      ;;
 
9249
 
8698
9250
    openbsd*)
8699
9251
      if test -f /usr/libexec/ld.so; then
8700
9252
        hardcode_direct=yes
8701
9253
        hardcode_shlibpath_var=no
8702
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
9254
        hardcode_direct_absolute=yes
 
9255
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8703
9256
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8704
9257
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8705
9258
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8715
9268
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8716
9269
             ;;
8717
9270
          esac
8718
 
        fi
 
9271
        fi
8719
9272
      else
8720
9273
        ld_shlibs=no
8721
9274
      fi
8725
9278
      hardcode_libdir_flag_spec='-L$libdir'
8726
9279
      hardcode_minus_L=yes
8727
9280
      allow_undefined_flag=unsupported
8728
 
      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'
8729
 
      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
9281
      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'
 
9282
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8730
9283
      ;;
8731
9284
 
8732
9285
    osf3*)
8733
9286
      if test "$GCC" = yes; then
8734
9287
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8735
 
        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'
 
9288
        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'
8736
9289
      else
8737
9290
        allow_undefined_flag=' -expect_unresolved \*'
8738
 
        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'
 
9291
        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'
8739
9292
      fi
 
9293
      archive_cmds_need_lc='no'
8740
9294
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8741
9295
      hardcode_libdir_separator=:
8742
9296
      ;;
8744
9298
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
8745
9299
      if test "$GCC" = yes; then
8746
9300
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8747
 
        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'
 
9301
        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'
8748
9302
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8749
9303
      else
8750
9304
        allow_undefined_flag=' -expect_unresolved \*'
8751
 
        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'
8752
 
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8753
 
        $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'
 
9305
        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'
 
9306
        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~
 
9307
        $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'
8754
9308
 
8755
9309
        # Both c and cxx compiler support -rpath directly
8756
9310
        hardcode_libdir_flag_spec='-rpath $libdir'
8757
9311
      fi
 
9312
      archive_cmds_need_lc='no'
8758
9313
      hardcode_libdir_separator=:
8759
9314
      ;;
8760
9315
 
8761
9316
    solaris*)
8762
 
      no_undefined_flag=' -z text'
 
9317
      no_undefined_flag=' -z defs'
8763
9318
      if test "$GCC" = yes; then
8764
9319
        wlarc='${wl}'
8765
 
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8766
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8767
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 
9320
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9321
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9322
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8768
9323
      else
8769
 
        wlarc=''
8770
 
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8771
 
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8772
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 
9324
        case `$CC -V 2>&1` in
 
9325
        *"Compilers 5.0"*)
 
9326
          wlarc=''
 
9327
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
9328
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9329
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
9330
          ;;
 
9331
        *)
 
9332
          wlarc='${wl}'
 
9333
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
9334
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
9335
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
9336
          ;;
 
9337
        esac
8773
9338
      fi
8774
9339
      hardcode_libdir_flag_spec='-R$libdir'
8775
9340
      hardcode_shlibpath_var=no
8779
9344
        # The compiler driver will combine and reorder linker options,
8780
9345
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
8781
9346
        # but is careful enough not to reorder.
8782
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
9347
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8783
9348
        if test "$GCC" = yes; then
8784
9349
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8785
9350
        else
8868
9433
      allow_undefined_flag='${wl}-z,nodefs'
8869
9434
      archive_cmds_need_lc=no
8870
9435
      hardcode_shlibpath_var=no
8871
 
      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 
9436
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
8872
9437
      hardcode_libdir_separator=':'
8873
9438
      link_all_deplibs=yes
8874
9439
      export_dynamic_flag_spec='${wl}-Bexport'
8875
9440
      runpath_var='LD_RUN_PATH'
8876
9441
 
8877
9442
      if test "$GCC" = yes; then
8878
 
        archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8879
 
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9443
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9444
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8880
9445
      else
8881
 
        archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8882
 
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9446
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
9447
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8883
9448
      fi
8884
9449
      ;;
8885
9450
 
8893
9458
      ld_shlibs=no
8894
9459
      ;;
8895
9460
    esac
 
9461
 
 
9462
    if test x$host_vendor = xsni; then
 
9463
      case $host in
 
9464
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
9465
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
9466
        ;;
 
9467
      esac
 
9468
    fi
8896
9469
  fi
8897
9470
 
8898
 
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8899
 
echo "${ECHO_T}$ld_shlibs" >&6; }
 
9471
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 
9472
$as_echo "$ld_shlibs" >&6; }
8900
9473
test "$ld_shlibs" = no && can_build_shared=no
8901
9474
 
 
9475
with_gnu_ld=$with_gnu_ld
 
9476
 
 
9477
 
 
9478
 
 
9479
 
 
9480
 
 
9481
 
 
9482
 
 
9483
 
 
9484
 
 
9485
 
 
9486
 
 
9487
 
 
9488
 
 
9489
 
 
9490
 
8902
9491
#
8903
9492
# Do we need to explicitly link libc?
8904
9493
#
8916
9505
      # Test whether the compiler implicitly links with -lc since on some
8917
9506
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
8918
9507
      # to ld, don't add -lc before -lgcc.
8919
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8920
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8921
 
      $rm conftest*
 
9508
      { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 
9509
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
9510
      $RM conftest*
8922
9511
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8923
9512
 
8924
9513
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8925
9514
  (eval $ac_compile) 2>&5
8926
9515
  ac_status=$?
8927
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9516
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928
9517
  (exit $ac_status); } 2>conftest.err; then
8929
9518
        soname=conftest
8930
9519
        lib=conftest
8939
9528
        libname=conftest
8940
9529
        lt_save_allow_undefined_flag=$allow_undefined_flag
8941
9530
        allow_undefined_flag=
8942
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8943
 
  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
9531
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 
9532
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8944
9533
  ac_status=$?
8945
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
9534
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8946
9535
  (exit $ac_status); }
8947
9536
        then
8948
9537
          archive_cmds_need_lc=no
8953
9542
      else
8954
9543
        cat conftest.err 1>&5
8955
9544
      fi
8956
 
      $rm conftest*
8957
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8958
 
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
 
9545
      $RM conftest*
 
9546
      { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 
9547
$as_echo "$archive_cmds_need_lc" >&6; }
8959
9548
      ;;
8960
9549
    esac
8961
9550
  fi
8962
9551
  ;;
8963
9552
esac
8964
9553
 
8965
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8966
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8967
 
library_names_spec=
8968
 
libname_spec='lib$name'
8969
 
soname_spec=
8970
 
shrext_cmds=".so"
8971
 
postinstall_cmds=
8972
 
postuninstall_cmds=
8973
 
finish_cmds=
8974
 
finish_eval=
8975
 
shlibpath_var=
8976
 
shlibpath_overrides_runpath=unknown
8977
 
version_type=none
8978
 
dynamic_linker="$host_os ld.so"
8979
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
9554
 
 
9555
 
 
9556
 
 
9557
 
 
9558
 
 
9559
 
 
9560
 
 
9561
 
 
9562
 
 
9563
 
 
9564
 
 
9565
 
 
9566
 
 
9567
 
 
9568
 
 
9569
 
 
9570
 
 
9571
 
 
9572
 
 
9573
 
 
9574
 
 
9575
 
 
9576
 
 
9577
 
 
9578
 
 
9579
 
 
9580
 
 
9581
 
 
9582
 
 
9583
 
 
9584
 
 
9585
 
 
9586
 
 
9587
 
 
9588
 
 
9589
 
 
9590
 
 
9591
 
 
9592
 
 
9593
 
 
9594
 
 
9595
 
 
9596
 
 
9597
 
 
9598
 
 
9599
 
 
9600
 
 
9601
 
 
9602
 
 
9603
 
 
9604
 
 
9605
 
 
9606
 
 
9607
 
 
9608
 
 
9609
 
 
9610
 
 
9611
 
 
9612
 
 
9613
 
 
9614
 
 
9615
 
 
9616
 
 
9617
 
 
9618
 
 
9619
 
 
9620
 
 
9621
 
 
9622
 
 
9623
 
 
9624
 
 
9625
 
 
9626
 
 
9627
 
 
9628
 
 
9629
 
 
9630
 
 
9631
 
 
9632
 
 
9633
 
 
9634
 
 
9635
 
 
9636
 
 
9637
 
 
9638
 
 
9639
 
 
9640
 
 
9641
 
 
9642
 
 
9643
 
 
9644
 
 
9645
 
 
9646
 
 
9647
 
 
9648
 
 
9649
 
 
9650
 
 
9651
 
 
9652
 
 
9653
 
 
9654
 
 
9655
 
 
9656
 
 
9657
 
 
9658
 
 
9659
 
 
9660
 
 
9661
 
 
9662
 
 
9663
 
 
9664
 
 
9665
 
 
9666
 
 
9667
 
 
9668
 
 
9669
 
 
9670
 
 
9671
 
 
9672
 
 
9673
 
 
9674
 
 
9675
 
 
9676
 
 
9677
 
 
9678
 
 
9679
 
 
9680
 
 
9681
 
 
9682
 
 
9683
 
 
9684
 
 
9685
 
 
9686
 
 
9687
 
 
9688
 
 
9689
 
 
9690
 
 
9691
 
 
9692
 
 
9693
 
 
9694
 
 
9695
 
 
9696
 
 
9697
 
 
9698
 
 
9699
 
 
9700
 
 
9701
 
 
9702
 
 
9703
 
 
9704
 
 
9705
 
 
9706
 
 
9707
 
 
9708
 
 
9709
 
 
9710
  { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 
9711
$as_echo_n "checking dynamic linker characteristics... " >&6; }
8980
9712
 
8981
9713
if test "$GCC" = yes; then
8982
9714
  case $host_os in
8984
9716
    *) lt_awk_arg="/^libraries:/" ;;
8985
9717
  esac
8986
9718
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8987
 
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
 
9719
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8988
9720
    # if the path contains ";" then we assume it to be the separator
8989
9721
    # otherwise default to the standard path separator (i.e. ":") - it is
8990
9722
    # assumed that no part of a normal pathname contains ";" but that should
8991
9723
    # okay in the real world where ";" in dirpaths is itself problematic.
8992
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 
9724
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8993
9725
  else
8994
 
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9726
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8995
9727
  fi
8996
9728
  # Ok, now we have the path, separated by spaces, we can step through it
8997
9729
  # and add multilib dir if necessary.
9005
9737
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9006
9738
    fi
9007
9739
  done
9008
 
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
9740
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9009
9741
BEGIN {RS=" "; FS="/|\n";} {
9010
9742
  lt_foo="";
9011
9743
  lt_count=0;
9025
9757
  if (lt_foo != "") { lt_freq[lt_foo]++; }
9026
9758
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9027
9759
}'`
9028
 
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
 
9760
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9029
9761
else
9030
9762
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9031
9763
fi
 
9764
library_names_spec=
 
9765
libname_spec='lib$name'
 
9766
soname_spec=
 
9767
shrext_cmds=".so"
 
9768
postinstall_cmds=
 
9769
postuninstall_cmds=
 
9770
finish_cmds=
 
9771
finish_eval=
 
9772
shlibpath_var=
 
9773
shlibpath_overrides_runpath=unknown
 
9774
version_type=none
 
9775
dynamic_linker="$host_os ld.so"
 
9776
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9032
9777
need_lib_prefix=unknown
9033
9778
hardcode_into_libs=no
9034
9779
 
9046
9791
  soname_spec='${libname}${release}${shared_ext}$major'
9047
9792
  ;;
9048
9793
 
9049
 
aix4* | aix5*)
 
9794
aix[4-9]*)
9050
9795
  version_type=linux
9051
9796
  need_lib_prefix=no
9052
9797
  need_version=no
9065
9810
      aix4 | aix4.[01] | aix4.[01].*)
9066
9811
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9067
9812
           echo ' yes '
9068
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 
9813
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9069
9814
        :
9070
9815
      else
9071
9816
        can_build_shared=no
9091
9836
  ;;
9092
9837
 
9093
9838
amigaos*)
9094
 
  library_names_spec='$libname.ixlibrary $libname.a'
9095
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
9096
 
  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'
 
9839
  case $host_cpu in
 
9840
  powerpc)
 
9841
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
9842
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
9843
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
9844
    ;;
 
9845
  m68k)
 
9846
    library_names_spec='$libname.ixlibrary $libname.a'
 
9847
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
9848
    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'
 
9849
    ;;
 
9850
  esac
9097
9851
  ;;
9098
9852
 
9099
9853
beos*)
9116
9870
  # libtool to hard-code these into programs
9117
9871
  ;;
9118
9872
 
9119
 
cygwin* | mingw* | pw32*)
 
9873
cygwin* | mingw* | pw32* | cegcc*)
9120
9874
  version_type=windows
9121
9875
  shrext_cmds=".dll"
9122
9876
  need_version=no
9123
9877
  need_lib_prefix=no
9124
9878
 
9125
9879
  case $GCC,$host_os in
9126
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
 
9880
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9127
9881
    library_names_spec='$libname.dll.a'
9128
9882
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9129
9883
    postinstall_cmds='base_file=`basename \${file}`~
9130
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 
9884
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9131
9885
      dldir=$destdir/`dirname \$dlpath`~
9132
9886
      test -d \$dldir || mkdir -p \$dldir~
9133
9887
      $install_prog $dir/$dlname \$dldir/$dlname~
9134
 
      chmod a+x \$dldir/$dlname'
 
9888
      chmod a+x \$dldir/$dlname~
 
9889
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
9890
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
9891
      fi'
9135
9892
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9136
9893
      dlpath=$dir/\$dldll~
9137
 
       $rm \$dlpath'
 
9894
       $RM \$dlpath'
9138
9895
    shlibpath_overrides_runpath=yes
9139
9896
 
9140
9897
    case $host_os in
9143
9900
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9144
9901
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9145
9902
      ;;
9146
 
    mingw*)
 
9903
    mingw* | cegcc*)
9147
9904
      # MinGW DLLs use traditional 'lib' prefix
9148
9905
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9149
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9150
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 
9906
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
9907
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9151
9908
        # It is most probably a Windows format PATH printed by
9152
9909
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9153
9910
        # path with ; separators, and with drive letters. We can handle the
9154
9911
        # drive letters (cygwin fileutils understands them), so leave them,
9155
9912
        # especially as we might pass files found there to a mingw objdump,
9156
9913
        # which wouldn't understand a cygwinified path. Ahh.
9157
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
9914
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9158
9915
      else
9159
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
9916
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9160
9917
      fi
9161
9918
      ;;
9162
9919
    pw32*)
9180
9937
  version_type=darwin
9181
9938
  need_lib_prefix=no
9182
9939
  need_version=no
9183
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
9940
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9184
9941
  soname_spec='${libname}${release}${major}$shared_ext'
9185
9942
  shlibpath_overrides_runpath=yes
9186
9943
  shlibpath_var=DYLD_LIBRARY_PATH
9279
10036
    fi
9280
10037
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9281
10038
    ;;
9282
 
   hppa*64*)
9283
 
     shrext_cmds='.sl'
9284
 
     hardcode_into_libs=yes
9285
 
     dynamic_linker="$host_os dld.sl"
9286
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9287
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9288
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9289
 
     soname_spec='${libname}${release}${shared_ext}$major'
9290
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9291
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9292
 
     ;;
9293
 
   *)
 
10039
  hppa*64*)
 
10040
    shrext_cmds='.sl'
 
10041
    hardcode_into_libs=yes
 
10042
    dynamic_linker="$host_os dld.sl"
 
10043
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
10044
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
10045
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10046
    soname_spec='${libname}${release}${shared_ext}$major'
 
10047
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
10048
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
10049
    ;;
 
10050
  *)
9294
10051
    shrext_cmds='.sl'
9295
10052
    dynamic_linker="$host_os dld.sl"
9296
10053
    shlibpath_var=SHLIB_PATH
9367
10124
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9368
10125
  shlibpath_var=LD_LIBRARY_PATH
9369
10126
  shlibpath_overrides_runpath=no
 
10127
  # Some binutils ld are patched to set DT_RUNPATH
 
10128
  save_LDFLAGS=$LDFLAGS
 
10129
  save_libdir=$libdir
 
10130
  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
10131
       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
10132
  cat >conftest.$ac_ext <<_ACEOF
 
10133
/* confdefs.h.  */
 
10134
_ACEOF
 
10135
cat confdefs.h >>conftest.$ac_ext
 
10136
cat >>conftest.$ac_ext <<_ACEOF
 
10137
/* end confdefs.h.  */
 
10138
 
 
10139
int
 
10140
main ()
 
10141
{
 
10142
 
 
10143
  ;
 
10144
  return 0;
 
10145
}
 
10146
_ACEOF
 
10147
rm -f conftest.$ac_objext conftest$ac_exeext
 
10148
if { (ac_try="$ac_link"
 
10149
case "(($ac_try" in
 
10150
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
10151
  *) ac_try_echo=$ac_try;;
 
10152
esac
 
10153
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10154
$as_echo "$ac_try_echo") >&5
 
10155
  (eval "$ac_link") 2>conftest.er1
 
10156
  ac_status=$?
 
10157
  grep -v '^ *+' conftest.er1 >conftest.err
 
10158
  rm -f conftest.er1
 
10159
  cat conftest.err >&5
 
10160
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10161
  (exit $ac_status); } && {
 
10162
         test -z "$ac_c_werror_flag" ||
 
10163
         test ! -s conftest.err
 
10164
       } && test -s conftest$ac_exeext && {
 
10165
         test "$cross_compiling" = yes ||
 
10166
         $as_test_x conftest$ac_exeext
 
10167
       }; then
 
10168
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 
10169
  shlibpath_overrides_runpath=yes
 
10170
fi
 
10171
 
 
10172
else
 
10173
  $as_echo "$as_me: failed program was:" >&5
 
10174
sed 's/^/| /' conftest.$ac_ext >&5
 
10175
 
 
10176
 
 
10177
fi
 
10178
 
 
10179
rm -rf conftest.dSYM
 
10180
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
10181
      conftest$ac_exeext conftest.$ac_ext
 
10182
  LDFLAGS=$save_LDFLAGS
 
10183
  libdir=$save_libdir
 
10184
 
9370
10185
  # This implies no fast_install, which is unacceptable.
9371
10186
  # Some rework will be needed to allow for fast_install
9372
10187
  # before this can be enabled.
9374
10189
 
9375
10190
  # Append ld.so.conf contents to the search path
9376
10191
  if test -f /etc/ld.so.conf; then
9377
 
    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' ' '`
 
10192
    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' ' '`
9378
10193
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9379
10194
  fi
9380
10195
 
9403
10218
  version_type=sunos
9404
10219
  need_lib_prefix=no
9405
10220
  need_version=no
9406
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 
10221
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9407
10222
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9408
10223
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9409
10224
    dynamic_linker='NetBSD (a.out) ld.so'
9424
10239
  shlibpath_overrides_runpath=yes
9425
10240
  ;;
9426
10241
 
9427
 
nto-qnx*)
9428
 
  version_type=linux
 
10242
*nto* | *qnx*)
 
10243
  version_type=qnx
9429
10244
  need_lib_prefix=no
9430
10245
  need_version=no
9431
10246
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9432
10247
  soname_spec='${libname}${release}${shared_ext}$major'
9433
10248
  shlibpath_var=LD_LIBRARY_PATH
9434
 
  shlibpath_overrides_runpath=yes
 
10249
  shlibpath_overrides_runpath=no
 
10250
  hardcode_into_libs=yes
 
10251
  dynamic_linker='ldqnx.so'
9435
10252
  ;;
9436
10253
 
9437
10254
openbsd*)
9440
10257
  need_lib_prefix=no
9441
10258
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9442
10259
  case $host_os in
9443
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9444
 
    *)                         need_version=no  ;;
 
10260
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
10261
    *)                          need_version=no  ;;
9445
10262
  esac
9446
10263
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9447
10264
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9448
10265
  shlibpath_var=LD_LIBRARY_PATH
9449
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10266
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9450
10267
    case $host_os in
9451
10268
      openbsd2.[89] | openbsd2.[89].*)
9452
10269
        shlibpath_overrides_runpath=no
9518
10335
    sni)
9519
10336
      shlibpath_overrides_runpath=no
9520
10337
      need_lib_prefix=no
9521
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
9522
10338
      runpath_var=LD_RUN_PATH
9523
10339
      ;;
9524
10340
    siemens)
9549
10365
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9550
10366
  soname_spec='${libname}${release}${shared_ext}$major'
9551
10367
  shlibpath_var=LD_LIBRARY_PATH
 
10368
  shlibpath_overrides_runpath=yes
9552
10369
  hardcode_into_libs=yes
9553
10370
  if test "$with_gnu_ld" = yes; then
9554
10371
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9555
 
    shlibpath_overrides_runpath=no
9556
10372
  else
9557
10373
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9558
 
    shlibpath_overrides_runpath=yes
9559
10374
    case $host_os in
9560
10375
      sco3.2v5*)
9561
10376
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9565
10380
  sys_lib_dlsearch_path_spec='/usr/lib'
9566
10381
  ;;
9567
10382
 
 
10383
tpf*)
 
10384
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
10385
  version_type=linux
 
10386
  need_lib_prefix=no
 
10387
  need_version=no
 
10388
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
10389
  shlibpath_var=LD_LIBRARY_PATH
 
10390
  shlibpath_overrides_runpath=no
 
10391
  hardcode_into_libs=yes
 
10392
  ;;
 
10393
 
9568
10394
uts4*)
9569
10395
  version_type=linux
9570
10396
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9576
10402
  dynamic_linker=no
9577
10403
  ;;
9578
10404
esac
9579
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9580
 
echo "${ECHO_T}$dynamic_linker" >&6; }
 
10405
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 
10406
$as_echo "$dynamic_linker" >&6; }
9581
10407
test "$dynamic_linker" = no && can_build_shared=no
9582
10408
 
9583
10409
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9585
10411
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9586
10412
fi
9587
10413
 
9588
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9589
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
 
10414
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
10415
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
10416
fi
 
10417
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
10418
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
10419
fi
 
10420
 
 
10421
 
 
10422
 
 
10423
 
 
10424
 
 
10425
 
 
10426
 
 
10427
 
 
10428
 
 
10429
 
 
10430
 
 
10431
 
 
10432
 
 
10433
 
 
10434
 
 
10435
 
 
10436
 
 
10437
 
 
10438
 
 
10439
 
 
10440
 
 
10441
 
 
10442
 
 
10443
 
 
10444
 
 
10445
 
 
10446
 
 
10447
 
 
10448
 
 
10449
 
 
10450
 
 
10451
 
 
10452
 
 
10453
 
 
10454
 
 
10455
 
 
10456
 
 
10457
 
 
10458
 
 
10459
 
 
10460
 
 
10461
 
 
10462
 
 
10463
 
 
10464
 
 
10465
 
 
10466
 
 
10467
 
 
10468
 
 
10469
 
 
10470
 
 
10471
 
 
10472
 
 
10473
 
 
10474
 
 
10475
 
 
10476
 
 
10477
 
 
10478
 
 
10479
 
 
10480
 
 
10481
 
 
10482
 
 
10483
 
 
10484
 
 
10485
 
 
10486
 
 
10487
 
 
10488
 
 
10489
 
 
10490
 
 
10491
 
 
10492
 
 
10493
 
 
10494
 
 
10495
 
 
10496
 
 
10497
 
 
10498
 
 
10499
 
 
10500
 
 
10501
 
 
10502
 
 
10503
 
 
10504
 
 
10505
 
 
10506
 
 
10507
  { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 
10508
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9590
10509
hardcode_action=
9591
 
if test -n "$hardcode_libdir_flag_spec" || \
9592
 
   test -n "$runpath_var" || \
 
10510
if test -n "$hardcode_libdir_flag_spec" ||
 
10511
   test -n "$runpath_var" ||
9593
10512
   test "X$hardcode_automatic" = "Xyes" ; then
9594
10513
 
9595
 
  # We can hardcode non-existant directories.
 
10514
  # We can hardcode non-existent directories.
9596
10515
  if test "$hardcode_direct" != no &&
9597
10516
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
9598
10517
     # have to relink, otherwise we might link with an installed library
9599
10518
     # when we should be linking with a yet-to-be-installed one
9600
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
10519
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9601
10520
     test "$hardcode_minus_L" != no; then
9602
10521
    # Linking always hardcodes the temporary library directory.
9603
10522
    hardcode_action=relink
9610
10529
  # directories.
9611
10530
  hardcode_action=unsupported
9612
10531
fi
9613
 
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9614
 
echo "${ECHO_T}$hardcode_action" >&6; }
 
10532
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 
10533
$as_echo "$hardcode_action" >&6; }
9615
10534
 
9616
 
if test "$hardcode_action" = relink; then
 
10535
if test "$hardcode_action" = relink ||
 
10536
   test "$inherit_rpath" = yes; then
9617
10537
  # Fast installation is not supported
9618
10538
  enable_fast_install=no
9619
10539
elif test "$shlibpath_overrides_runpath" = yes ||
9622
10542
  enable_fast_install=needless
9623
10543
fi
9624
10544
 
9625
 
striplib=
9626
 
old_striplib=
9627
 
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9628
 
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9629
 
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9630
 
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9631
 
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9632
 
  { echo "$as_me:$LINENO: result: yes" >&5
9633
 
echo "${ECHO_T}yes" >&6; }
9634
 
else
9635
 
# FIXME - insert some real tests, host_os isn't really good enough
9636
 
  case $host_os in
9637
 
   darwin*)
9638
 
       if test -n "$STRIP" ; then
9639
 
         striplib="$STRIP -x"
9640
 
         old_striplib="$STRIP -S"
9641
 
         { echo "$as_me:$LINENO: result: yes" >&5
9642
 
echo "${ECHO_T}yes" >&6; }
9643
 
       else
9644
 
  { echo "$as_me:$LINENO: result: no" >&5
9645
 
echo "${ECHO_T}no" >&6; }
9646
 
fi
9647
 
       ;;
9648
 
   *)
9649
 
  { echo "$as_me:$LINENO: result: no" >&5
9650
 
echo "${ECHO_T}no" >&6; }
9651
 
    ;;
9652
 
  esac
9653
 
fi
9654
 
 
9655
 
if test "x$enable_dlopen" != xyes; then
 
10545
 
 
10546
 
 
10547
 
 
10548
 
 
10549
 
 
10550
  if test "x$enable_dlopen" != xyes; then
9656
10551
  enable_dlopen=unknown
9657
10552
  enable_dlopen_self=unknown
9658
10553
  enable_dlopen_self_static=unknown
9667
10562
    lt_cv_dlopen_self=yes
9668
10563
    ;;
9669
10564
 
9670
 
  mingw* | pw32*)
 
10565
  mingw* | pw32* | cegcc*)
9671
10566
    lt_cv_dlopen="LoadLibrary"
9672
10567
    lt_cv_dlopen_libs=
9673
 
   ;;
 
10568
    ;;
9674
10569
 
9675
10570
  cygwin*)
9676
10571
    lt_cv_dlopen="dlopen"
9677
10572
    lt_cv_dlopen_libs=
9678
 
   ;;
 
10573
    ;;
9679
10574
 
9680
10575
  darwin*)
9681
10576
  # if libdl is installed we need to link against it
9682
 
    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9683
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
10577
    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10578
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9684
10579
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9685
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10580
  $as_echo_n "(cached) " >&6
9686
10581
else
9687
10582
  ac_check_lib_save_LIBS=$LIBS
9688
10583
LIBS="-ldl  $LIBS"
9714
10609
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9715
10610
  *) ac_try_echo=$ac_try;;
9716
10611
esac
9717
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10612
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10613
$as_echo "$ac_try_echo") >&5
9718
10614
  (eval "$ac_link") 2>conftest.er1
9719
10615
  ac_status=$?
9720
10616
  grep -v '^ *+' conftest.er1 >conftest.err
9721
10617
  rm -f conftest.er1
9722
10618
  cat conftest.err >&5
9723
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10619
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724
10620
  (exit $ac_status); } && {
9725
10621
         test -z "$ac_c_werror_flag" ||
9726
10622
         test ! -s conftest.err
9727
 
       } && test -s conftest$ac_exeext &&
9728
 
       $as_test_x conftest$ac_exeext; then
 
10623
       } && test -s conftest$ac_exeext && {
 
10624
         test "$cross_compiling" = yes ||
 
10625
         $as_test_x conftest$ac_exeext
 
10626
       }; then
9729
10627
  ac_cv_lib_dl_dlopen=yes
9730
10628
else
9731
 
  echo "$as_me: failed program was:" >&5
 
10629
  $as_echo "$as_me: failed program was:" >&5
9732
10630
sed 's/^/| /' conftest.$ac_ext >&5
9733
10631
 
9734
10632
        ac_cv_lib_dl_dlopen=no
9735
10633
fi
9736
10634
 
 
10635
rm -rf conftest.dSYM
9737
10636
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9738
10637
      conftest$ac_exeext conftest.$ac_ext
9739
10638
LIBS=$ac_check_lib_save_LIBS
9740
10639
fi
9741
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9742
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9743
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10640
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10641
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10642
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9744
10643
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9745
10644
else
9746
10645
 
9750
10649
 
9751
10650
fi
9752
10651
 
9753
 
   ;;
 
10652
    ;;
9754
10653
 
9755
10654
  *)
9756
 
    { echo "$as_me:$LINENO: checking for shl_load" >&5
9757
 
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
 
10655
    { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 
10656
$as_echo_n "checking for shl_load... " >&6; }
9758
10657
if test "${ac_cv_func_shl_load+set}" = set; then
9759
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10658
  $as_echo_n "(cached) " >&6
9760
10659
else
9761
10660
  cat >conftest.$ac_ext <<_ACEOF
9762
10661
/* confdefs.h.  */
9809
10708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9810
10709
  *) ac_try_echo=$ac_try;;
9811
10710
esac
9812
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10711
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10712
$as_echo "$ac_try_echo") >&5
9813
10713
  (eval "$ac_link") 2>conftest.er1
9814
10714
  ac_status=$?
9815
10715
  grep -v '^ *+' conftest.er1 >conftest.err
9816
10716
  rm -f conftest.er1
9817
10717
  cat conftest.err >&5
9818
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10718
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9819
10719
  (exit $ac_status); } && {
9820
10720
         test -z "$ac_c_werror_flag" ||
9821
10721
         test ! -s conftest.err
9822
 
       } && test -s conftest$ac_exeext &&
9823
 
       $as_test_x conftest$ac_exeext; then
 
10722
       } && test -s conftest$ac_exeext && {
 
10723
         test "$cross_compiling" = yes ||
 
10724
         $as_test_x conftest$ac_exeext
 
10725
       }; then
9824
10726
  ac_cv_func_shl_load=yes
9825
10727
else
9826
 
  echo "$as_me: failed program was:" >&5
 
10728
  $as_echo "$as_me: failed program was:" >&5
9827
10729
sed 's/^/| /' conftest.$ac_ext >&5
9828
10730
 
9829
10731
        ac_cv_func_shl_load=no
9830
10732
fi
9831
10733
 
 
10734
rm -rf conftest.dSYM
9832
10735
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9833
10736
      conftest$ac_exeext conftest.$ac_ext
9834
10737
fi
9835
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9836
 
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9837
 
if test $ac_cv_func_shl_load = yes; then
 
10738
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 
10739
$as_echo "$ac_cv_func_shl_load" >&6; }
 
10740
if test "x$ac_cv_func_shl_load" = x""yes; then
9838
10741
  lt_cv_dlopen="shl_load"
9839
10742
else
9840
 
  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9841
 
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
 
10743
  { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 
10744
$as_echo_n "checking for shl_load in -ldld... " >&6; }
9842
10745
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9843
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10746
  $as_echo_n "(cached) " >&6
9844
10747
else
9845
10748
  ac_check_lib_save_LIBS=$LIBS
9846
10749
LIBS="-ldld  $LIBS"
9872
10775
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9873
10776
  *) ac_try_echo=$ac_try;;
9874
10777
esac
9875
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10778
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10779
$as_echo "$ac_try_echo") >&5
9876
10780
  (eval "$ac_link") 2>conftest.er1
9877
10781
  ac_status=$?
9878
10782
  grep -v '^ *+' conftest.er1 >conftest.err
9879
10783
  rm -f conftest.er1
9880
10784
  cat conftest.err >&5
9881
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10785
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9882
10786
  (exit $ac_status); } && {
9883
10787
         test -z "$ac_c_werror_flag" ||
9884
10788
         test ! -s conftest.err
9885
 
       } && test -s conftest$ac_exeext &&
9886
 
       $as_test_x conftest$ac_exeext; then
 
10789
       } && test -s conftest$ac_exeext && {
 
10790
         test "$cross_compiling" = yes ||
 
10791
         $as_test_x conftest$ac_exeext
 
10792
       }; then
9887
10793
  ac_cv_lib_dld_shl_load=yes
9888
10794
else
9889
 
  echo "$as_me: failed program was:" >&5
 
10795
  $as_echo "$as_me: failed program was:" >&5
9890
10796
sed 's/^/| /' conftest.$ac_ext >&5
9891
10797
 
9892
10798
        ac_cv_lib_dld_shl_load=no
9893
10799
fi
9894
10800
 
 
10801
rm -rf conftest.dSYM
9895
10802
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9896
10803
      conftest$ac_exeext conftest.$ac_ext
9897
10804
LIBS=$ac_check_lib_save_LIBS
9898
10805
fi
9899
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9900
 
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9901
 
if test $ac_cv_lib_dld_shl_load = yes; then
9902
 
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
 
10806
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 
10807
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
10808
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 
10809
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
9903
10810
else
9904
 
  { echo "$as_me:$LINENO: checking for dlopen" >&5
9905
 
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
 
10811
  { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 
10812
$as_echo_n "checking for dlopen... " >&6; }
9906
10813
if test "${ac_cv_func_dlopen+set}" = set; then
9907
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10814
  $as_echo_n "(cached) " >&6
9908
10815
else
9909
10816
  cat >conftest.$ac_ext <<_ACEOF
9910
10817
/* confdefs.h.  */
9957
10864
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9958
10865
  *) ac_try_echo=$ac_try;;
9959
10866
esac
9960
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10867
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10868
$as_echo "$ac_try_echo") >&5
9961
10869
  (eval "$ac_link") 2>conftest.er1
9962
10870
  ac_status=$?
9963
10871
  grep -v '^ *+' conftest.er1 >conftest.err
9964
10872
  rm -f conftest.er1
9965
10873
  cat conftest.err >&5
9966
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10874
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967
10875
  (exit $ac_status); } && {
9968
10876
         test -z "$ac_c_werror_flag" ||
9969
10877
         test ! -s conftest.err
9970
 
       } && test -s conftest$ac_exeext &&
9971
 
       $as_test_x conftest$ac_exeext; then
 
10878
       } && test -s conftest$ac_exeext && {
 
10879
         test "$cross_compiling" = yes ||
 
10880
         $as_test_x conftest$ac_exeext
 
10881
       }; then
9972
10882
  ac_cv_func_dlopen=yes
9973
10883
else
9974
 
  echo "$as_me: failed program was:" >&5
 
10884
  $as_echo "$as_me: failed program was:" >&5
9975
10885
sed 's/^/| /' conftest.$ac_ext >&5
9976
10886
 
9977
10887
        ac_cv_func_dlopen=no
9978
10888
fi
9979
10889
 
 
10890
rm -rf conftest.dSYM
9980
10891
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9981
10892
      conftest$ac_exeext conftest.$ac_ext
9982
10893
fi
9983
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9984
 
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9985
 
if test $ac_cv_func_dlopen = yes; then
 
10894
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 
10895
$as_echo "$ac_cv_func_dlopen" >&6; }
 
10896
if test "x$ac_cv_func_dlopen" = x""yes; then
9986
10897
  lt_cv_dlopen="dlopen"
9987
10898
else
9988
 
  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9989
 
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
 
10899
  { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 
10900
$as_echo_n "checking for dlopen in -ldl... " >&6; }
9990
10901
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9991
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10902
  $as_echo_n "(cached) " >&6
9992
10903
else
9993
10904
  ac_check_lib_save_LIBS=$LIBS
9994
10905
LIBS="-ldl  $LIBS"
10020
10931
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10021
10932
  *) ac_try_echo=$ac_try;;
10022
10933
esac
10023
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
10934
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
10935
$as_echo "$ac_try_echo") >&5
10024
10936
  (eval "$ac_link") 2>conftest.er1
10025
10937
  ac_status=$?
10026
10938
  grep -v '^ *+' conftest.er1 >conftest.err
10027
10939
  rm -f conftest.er1
10028
10940
  cat conftest.err >&5
10029
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
10941
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030
10942
  (exit $ac_status); } && {
10031
10943
         test -z "$ac_c_werror_flag" ||
10032
10944
         test ! -s conftest.err
10033
 
       } && test -s conftest$ac_exeext &&
10034
 
       $as_test_x conftest$ac_exeext; then
 
10945
       } && test -s conftest$ac_exeext && {
 
10946
         test "$cross_compiling" = yes ||
 
10947
         $as_test_x conftest$ac_exeext
 
10948
       }; then
10035
10949
  ac_cv_lib_dl_dlopen=yes
10036
10950
else
10037
 
  echo "$as_me: failed program was:" >&5
 
10951
  $as_echo "$as_me: failed program was:" >&5
10038
10952
sed 's/^/| /' conftest.$ac_ext >&5
10039
10953
 
10040
10954
        ac_cv_lib_dl_dlopen=no
10041
10955
fi
10042
10956
 
 
10957
rm -rf conftest.dSYM
10043
10958
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10044
10959
      conftest$ac_exeext conftest.$ac_ext
10045
10960
LIBS=$ac_check_lib_save_LIBS
10046
10961
fi
10047
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10048
 
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10049
 
if test $ac_cv_lib_dl_dlopen = yes; then
 
10962
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 
10963
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
10964
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10050
10965
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10051
10966
else
10052
 
  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10053
 
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
 
10967
  { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 
10968
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10054
10969
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10055
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
10970
  $as_echo_n "(cached) " >&6
10056
10971
else
10057
10972
  ac_check_lib_save_LIBS=$LIBS
10058
10973
LIBS="-lsvld  $LIBS"
10084
10999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10085
11000
  *) ac_try_echo=$ac_try;;
10086
11001
esac
10087
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11002
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11003
$as_echo "$ac_try_echo") >&5
10088
11004
  (eval "$ac_link") 2>conftest.er1
10089
11005
  ac_status=$?
10090
11006
  grep -v '^ *+' conftest.er1 >conftest.err
10091
11007
  rm -f conftest.er1
10092
11008
  cat conftest.err >&5
10093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11009
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094
11010
  (exit $ac_status); } && {
10095
11011
         test -z "$ac_c_werror_flag" ||
10096
11012
         test ! -s conftest.err
10097
 
       } && test -s conftest$ac_exeext &&
10098
 
       $as_test_x conftest$ac_exeext; then
 
11013
       } && test -s conftest$ac_exeext && {
 
11014
         test "$cross_compiling" = yes ||
 
11015
         $as_test_x conftest$ac_exeext
 
11016
       }; then
10099
11017
  ac_cv_lib_svld_dlopen=yes
10100
11018
else
10101
 
  echo "$as_me: failed program was:" >&5
 
11019
  $as_echo "$as_me: failed program was:" >&5
10102
11020
sed 's/^/| /' conftest.$ac_ext >&5
10103
11021
 
10104
11022
        ac_cv_lib_svld_dlopen=no
10105
11023
fi
10106
11024
 
 
11025
rm -rf conftest.dSYM
10107
11026
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10108
11027
      conftest$ac_exeext conftest.$ac_ext
10109
11028
LIBS=$ac_check_lib_save_LIBS
10110
11029
fi
10111
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10112
 
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10113
 
if test $ac_cv_lib_svld_dlopen = yes; then
 
11030
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 
11031
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
11032
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10114
11033
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10115
11034
else
10116
 
  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10117
 
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
 
11035
  { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 
11036
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10118
11037
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10119
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11038
  $as_echo_n "(cached) " >&6
10120
11039
else
10121
11040
  ac_check_lib_save_LIBS=$LIBS
10122
11041
LIBS="-ldld  $LIBS"
10148
11067
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10149
11068
  *) ac_try_echo=$ac_try;;
10150
11069
esac
10151
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11070
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11071
$as_echo "$ac_try_echo") >&5
10152
11072
  (eval "$ac_link") 2>conftest.er1
10153
11073
  ac_status=$?
10154
11074
  grep -v '^ *+' conftest.er1 >conftest.err
10155
11075
  rm -f conftest.er1
10156
11076
  cat conftest.err >&5
10157
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11077
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158
11078
  (exit $ac_status); } && {
10159
11079
         test -z "$ac_c_werror_flag" ||
10160
11080
         test ! -s conftest.err
10161
 
       } && test -s conftest$ac_exeext &&
10162
 
       $as_test_x conftest$ac_exeext; then
 
11081
       } && test -s conftest$ac_exeext && {
 
11082
         test "$cross_compiling" = yes ||
 
11083
         $as_test_x conftest$ac_exeext
 
11084
       }; then
10163
11085
  ac_cv_lib_dld_dld_link=yes
10164
11086
else
10165
 
  echo "$as_me: failed program was:" >&5
 
11087
  $as_echo "$as_me: failed program was:" >&5
10166
11088
sed 's/^/| /' conftest.$ac_ext >&5
10167
11089
 
10168
11090
        ac_cv_lib_dld_dld_link=no
10169
11091
fi
10170
11092
 
 
11093
rm -rf conftest.dSYM
10171
11094
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10172
11095
      conftest$ac_exeext conftest.$ac_ext
10173
11096
LIBS=$ac_check_lib_save_LIBS
10174
11097
fi
10175
 
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10176
 
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10177
 
if test $ac_cv_lib_dld_dld_link = yes; then
10178
 
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
 
11098
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 
11099
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
11100
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 
11101
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10179
11102
fi
10180
11103
 
10181
11104
 
10213
11136
    save_LIBS="$LIBS"
10214
11137
    LIBS="$lt_cv_dlopen_libs $LIBS"
10215
11138
 
10216
 
    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10217
 
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
 
11139
    { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 
11140
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10218
11141
if test "${lt_cv_dlopen_self+set}" = set; then
10219
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11142
  $as_echo_n "(cached) " >&6
10220
11143
else
10221
11144
          if test "$cross_compiling" = yes; then :
10222
11145
  lt_cv_dlopen_self=cross
10223
11146
else
10224
11147
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10225
11148
  lt_status=$lt_dlunknown
10226
 
  cat > conftest.$ac_ext <<EOF
10227
 
#line 10227 "configure"
 
11149
  cat > conftest.$ac_ext <<_LT_EOF
 
11150
#line 11150 "configure"
10228
11151
#include "confdefs.h"
10229
11152
 
10230
11153
#if HAVE_DLFCN_H
10265
11188
#  endif
10266
11189
#endif
10267
11190
 
10268
 
#ifdef __cplusplus
10269
 
extern "C" void exit (int);
10270
 
#endif
10271
 
 
10272
11191
void fnord() { int i=42;}
10273
11192
int main ()
10274
11193
{
10284
11203
  else
10285
11204
    puts (dlerror ());
10286
11205
 
10287
 
    exit (status);
 
11206
  return status;
10288
11207
}
10289
 
EOF
 
11208
_LT_EOF
10290
11209
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10291
11210
  (eval $ac_link) 2>&5
10292
11211
  ac_status=$?
10293
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11212
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294
11213
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10295
11214
    (./conftest; exit; ) >&5 2>/dev/null
10296
11215
    lt_status=$?
10308
11227
 
10309
11228
 
10310
11229
fi
10311
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10312
 
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
 
11230
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 
11231
$as_echo "$lt_cv_dlopen_self" >&6; }
10313
11232
 
10314
11233
    if test "x$lt_cv_dlopen_self" = xyes; then
10315
11234
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10316
 
      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10317
 
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
 
11235
      { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 
11236
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10318
11237
if test "${lt_cv_dlopen_self_static+set}" = set; then
10319
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11238
  $as_echo_n "(cached) " >&6
10320
11239
else
10321
11240
          if test "$cross_compiling" = yes; then :
10322
11241
  lt_cv_dlopen_self_static=cross
10323
11242
else
10324
11243
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10325
11244
  lt_status=$lt_dlunknown
10326
 
  cat > conftest.$ac_ext <<EOF
10327
 
#line 10327 "configure"
 
11245
  cat > conftest.$ac_ext <<_LT_EOF
 
11246
#line 11246 "configure"
10328
11247
#include "confdefs.h"
10329
11248
 
10330
11249
#if HAVE_DLFCN_H
10365
11284
#  endif
10366
11285
#endif
10367
11286
 
10368
 
#ifdef __cplusplus
10369
 
extern "C" void exit (int);
10370
 
#endif
10371
 
 
10372
11287
void fnord() { int i=42;}
10373
11288
int main ()
10374
11289
{
10384
11299
  else
10385
11300
    puts (dlerror ());
10386
11301
 
10387
 
    exit (status);
 
11302
  return status;
10388
11303
}
10389
 
EOF
 
11304
_LT_EOF
10390
11305
  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10391
11306
  (eval $ac_link) 2>&5
10392
11307
  ac_status=$?
10393
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11308
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394
11309
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10395
11310
    (./conftest; exit; ) >&5 2>/dev/null
10396
11311
    lt_status=$?
10408
11323
 
10409
11324
 
10410
11325
fi
10411
 
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10412
 
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
 
11326
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 
11327
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10413
11328
    fi
10414
11329
 
10415
11330
    CPPFLAGS="$save_CPPFLAGS"
10430
11345
fi
10431
11346
 
10432
11347
 
10433
 
# Report which library types will actually be built
10434
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10435
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10436
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10437
 
echo "${ECHO_T}$can_build_shared" >&6; }
10438
 
 
10439
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10440
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10441
 
test "$can_build_shared" = "no" && enable_shared=no
10442
 
 
10443
 
# On AIX, shared libraries and static libraries use the same namespace, and
10444
 
# are all built from PIC.
10445
 
case $host_os in
10446
 
aix3*)
10447
 
  test "$enable_shared" = yes && enable_static=no
10448
 
  if test -n "$RANLIB"; then
10449
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
10450
 
    postinstall_cmds='$RANLIB $lib'
10451
 
  fi
10452
 
  ;;
10453
 
 
10454
 
aix4* | aix5*)
10455
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10456
 
    test "$enable_shared" = yes && enable_static=no
10457
 
  fi
10458
 
    ;;
10459
 
esac
10460
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10461
 
echo "${ECHO_T}$enable_shared" >&6; }
10462
 
 
10463
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10464
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10465
 
# Make sure either enable_shared or enable_static is yes.
10466
 
test "$enable_shared" = yes || enable_static=yes
10467
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10468
 
echo "${ECHO_T}$enable_static" >&6; }
10469
 
 
10470
 
# The else clause should only fire when bootstrapping the
10471
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
10472
 
# with your package, and you will get complaints that there are
10473
 
# no rules to generate ltmain.sh.
10474
 
if test -f "$ltmain"; then
10475
 
  # See if we are running on zsh, and set the options which allow our commands through
10476
 
  # without removal of \ escapes.
10477
 
  if test -n "${ZSH_VERSION+set}" ; then
10478
 
    setopt NO_GLOB_SUBST
10479
 
  fi
10480
 
  # Now quote all the things that may contain metacharacters while being
10481
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10482
 
  # variables and quote the copies for generation of the libtool script.
10483
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10484
 
    SED SHELL STRIP \
10485
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10486
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10487
 
    deplibs_check_method reload_flag reload_cmds need_locks \
10488
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10489
 
    lt_cv_sys_global_symbol_to_c_name_address \
10490
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10491
 
    old_postinstall_cmds old_postuninstall_cmds \
10492
 
    compiler \
10493
 
    CC \
10494
 
    LD \
10495
 
    lt_prog_compiler_wl \
10496
 
    lt_prog_compiler_pic \
10497
 
    lt_prog_compiler_static \
10498
 
    lt_prog_compiler_no_builtin_flag \
10499
 
    export_dynamic_flag_spec \
10500
 
    thread_safe_flag_spec \
10501
 
    whole_archive_flag_spec \
10502
 
    enable_shared_with_static_runtimes \
10503
 
    old_archive_cmds \
10504
 
    old_archive_from_new_cmds \
10505
 
    predep_objects \
10506
 
    postdep_objects \
10507
 
    predeps \
10508
 
    postdeps \
10509
 
    compiler_lib_search_path \
10510
 
    archive_cmds \
10511
 
    archive_expsym_cmds \
10512
 
    postinstall_cmds \
10513
 
    postuninstall_cmds \
10514
 
    old_archive_from_expsyms_cmds \
10515
 
    allow_undefined_flag \
10516
 
    no_undefined_flag \
10517
 
    export_symbols_cmds \
10518
 
    hardcode_libdir_flag_spec \
10519
 
    hardcode_libdir_flag_spec_ld \
10520
 
    hardcode_libdir_separator \
10521
 
    hardcode_automatic \
10522
 
    module_cmds \
10523
 
    module_expsym_cmds \
10524
 
    lt_cv_prog_compiler_c_o \
10525
 
    fix_srcfile_path \
10526
 
    exclude_expsyms \
10527
 
    include_expsyms; do
10528
 
 
10529
 
    case $var in
10530
 
    old_archive_cmds | \
10531
 
    old_archive_from_new_cmds | \
10532
 
    archive_cmds | \
10533
 
    archive_expsym_cmds | \
10534
 
    module_cmds | \
10535
 
    module_expsym_cmds | \
10536
 
    old_archive_from_expsyms_cmds | \
10537
 
    export_symbols_cmds | \
10538
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10539
 
    postinstall_cmds | postuninstall_cmds | \
10540
 
    old_postinstall_cmds | old_postuninstall_cmds | \
10541
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10542
 
      # Double-quote double-evaled strings.
10543
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10544
 
      ;;
10545
 
    *)
10546
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10547
 
      ;;
10548
 
    esac
10549
 
  done
10550
 
 
10551
 
  case $lt_echo in
10552
 
  *'\$0 --fallback-echo"')
10553
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10554
 
    ;;
10555
 
  esac
10556
 
 
10557
 
cfgfile="${ofile}T"
10558
 
  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10559
 
  $rm -f "$cfgfile"
10560
 
  { echo "$as_me:$LINENO: creating $ofile" >&5
10561
 
echo "$as_me: creating $ofile" >&6;}
10562
 
 
10563
 
  cat <<__EOF__ >> "$cfgfile"
10564
 
#! $SHELL
10565
 
 
10566
 
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10567
 
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10568
 
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10569
 
#
10570
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10571
 
# Free Software Foundation, Inc.
10572
 
#
10573
 
# This file is part of GNU Libtool:
10574
 
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10575
 
#
10576
 
# This program is free software; you can redistribute it and/or modify
10577
 
# it under the terms of the GNU General Public License as published by
10578
 
# the Free Software Foundation; either version 2 of the License, or
10579
 
# (at your option) any later version.
10580
 
#
10581
 
# This program is distributed in the hope that it will be useful, but
10582
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
10583
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
10584
 
# General Public License for more details.
10585
 
#
10586
 
# You should have received a copy of the GNU General Public License
10587
 
# along with this program; if not, write to the Free Software
10588
 
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10589
 
#
10590
 
# As a special exception to the GNU General Public License, if you
10591
 
# distribute this file as part of a program that contains a
10592
 
# configuration script generated by Autoconf, you may include it under
10593
 
# the same distribution terms that you use for the rest of that program.
10594
 
 
10595
 
# A sed program that does not truncate output.
10596
 
SED=$lt_SED
10597
 
 
10598
 
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10599
 
Xsed="$SED -e 1s/^X//"
10600
 
 
10601
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
10602
 
# if CDPATH is set.
10603
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10604
 
 
10605
 
# The names of the tagged configurations supported by this script.
10606
 
available_tags=
10607
 
 
10608
 
# ### BEGIN LIBTOOL CONFIG
10609
 
 
10610
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10611
 
 
10612
 
# Shell to use when invoking shell scripts.
10613
 
SHELL=$lt_SHELL
10614
 
 
10615
 
# Whether or not to build shared libraries.
10616
 
build_libtool_libs=$enable_shared
10617
 
 
10618
 
# Whether or not to build static libraries.
10619
 
build_old_libs=$enable_static
10620
 
 
10621
 
# Whether or not to add -lc for building shared libraries.
10622
 
build_libtool_need_lc=$archive_cmds_need_lc
10623
 
 
10624
 
# Whether or not to disallow shared libs when runtime libs are static
10625
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10626
 
 
10627
 
# Whether or not to optimize for fast installation.
10628
 
fast_install=$enable_fast_install
10629
 
 
10630
 
# The host system.
10631
 
host_alias=$host_alias
10632
 
host=$host
10633
 
host_os=$host_os
10634
 
 
10635
 
# The build system.
10636
 
build_alias=$build_alias
10637
 
build=$build
10638
 
build_os=$build_os
10639
 
 
10640
 
# An echo program that does not interpret backslashes.
10641
 
echo=$lt_echo
10642
 
 
10643
 
# The archiver.
10644
 
AR=$lt_AR
10645
 
AR_FLAGS=$lt_AR_FLAGS
10646
 
 
10647
 
# A C compiler.
10648
 
LTCC=$lt_LTCC
10649
 
 
10650
 
# LTCC compiler flags.
10651
 
LTCFLAGS=$lt_LTCFLAGS
10652
 
 
10653
 
# A language-specific compiler.
10654
 
CC=$lt_compiler
10655
 
 
10656
 
# Is the compiler the GNU C compiler?
10657
 
with_gcc=$GCC
10658
 
 
10659
 
# An ERE matcher.
10660
 
EGREP=$lt_EGREP
10661
 
 
10662
 
# The linker used to build libraries.
10663
 
LD=$lt_LD
10664
 
 
10665
 
# Whether we need hard or soft links.
10666
 
LN_S=$lt_LN_S
10667
 
 
10668
 
# A BSD-compatible nm program.
10669
 
NM=$lt_NM
10670
 
 
10671
 
# A symbol stripping program
10672
 
STRIP=$lt_STRIP
10673
 
 
10674
 
# Used to examine libraries when file_magic_cmd begins "file"
10675
 
MAGIC_CMD=$MAGIC_CMD
10676
 
 
10677
 
# Used on cygwin: DLL creation program.
10678
 
DLLTOOL="$DLLTOOL"
10679
 
 
10680
 
# Used on cygwin: object dumper.
10681
 
OBJDUMP="$OBJDUMP"
10682
 
 
10683
 
# Used on cygwin: assembler.
10684
 
AS="$AS"
10685
 
 
10686
 
# The name of the directory that contains temporary libtool files.
10687
 
objdir=$objdir
10688
 
 
10689
 
# How to create reloadable object files.
10690
 
reload_flag=$lt_reload_flag
10691
 
reload_cmds=$lt_reload_cmds
10692
 
 
10693
 
# How to pass a linker flag through the compiler.
10694
 
wl=$lt_lt_prog_compiler_wl
10695
 
 
10696
 
# Object file suffix (normally "o").
10697
 
objext="$ac_objext"
10698
 
 
10699
 
# Old archive suffix (normally "a").
10700
 
libext="$libext"
10701
 
 
10702
 
# Shared library suffix (normally ".so").
10703
 
shrext_cmds='$shrext_cmds'
10704
 
 
10705
 
# Executable file suffix (normally "").
10706
 
exeext="$exeext"
10707
 
 
10708
 
# Additional compiler flags for building library objects.
10709
 
pic_flag=$lt_lt_prog_compiler_pic
10710
 
pic_mode=$pic_mode
10711
 
 
10712
 
# What is the maximum length of a command?
10713
 
max_cmd_len=$lt_cv_sys_max_cmd_len
10714
 
 
10715
 
# Does compiler simultaneously support -c and -o options?
10716
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10717
 
 
10718
 
# Must we lock files when doing compilation?
10719
 
need_locks=$lt_need_locks
10720
 
 
10721
 
# Do we need the lib prefix for modules?
10722
 
need_lib_prefix=$need_lib_prefix
10723
 
 
10724
 
# Do we need a version for libraries?
10725
 
need_version=$need_version
10726
 
 
10727
 
# Whether dlopen is supported.
10728
 
dlopen_support=$enable_dlopen
10729
 
 
10730
 
# Whether dlopen of programs is supported.
10731
 
dlopen_self=$enable_dlopen_self
10732
 
 
10733
 
# Whether dlopen of statically linked programs is supported.
10734
 
dlopen_self_static=$enable_dlopen_self_static
10735
 
 
10736
 
# Compiler flag to prevent dynamic linking.
10737
 
link_static_flag=$lt_lt_prog_compiler_static
10738
 
 
10739
 
# Compiler flag to turn off builtin functions.
10740
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10741
 
 
10742
 
# Compiler flag to allow reflexive dlopens.
10743
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10744
 
 
10745
 
# Compiler flag to generate shared objects directly from archives.
10746
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10747
 
 
10748
 
# Compiler flag to generate thread-safe objects.
10749
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10750
 
 
10751
 
# Library versioning type.
10752
 
version_type=$version_type
10753
 
 
10754
 
# Format of library name prefix.
10755
 
libname_spec=$lt_libname_spec
10756
 
 
10757
 
# List of archive names.  First name is the real one, the rest are links.
10758
 
# The last name is the one that the linker finds with -lNAME.
10759
 
library_names_spec=$lt_library_names_spec
10760
 
 
10761
 
# The coded name of the library, if different from the real name.
10762
 
soname_spec=$lt_soname_spec
10763
 
 
10764
 
# Commands used to build and install an old-style archive.
10765
 
RANLIB=$lt_RANLIB
10766
 
old_archive_cmds=$lt_old_archive_cmds
10767
 
old_postinstall_cmds=$lt_old_postinstall_cmds
10768
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10769
 
 
10770
 
# Create an old-style archive from a shared archive.
10771
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10772
 
 
10773
 
# Create a temporary old-style archive to link instead of a shared archive.
10774
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10775
 
 
10776
 
# Commands used to build and install a shared archive.
10777
 
archive_cmds=$lt_archive_cmds
10778
 
archive_expsym_cmds=$lt_archive_expsym_cmds
10779
 
postinstall_cmds=$lt_postinstall_cmds
10780
 
postuninstall_cmds=$lt_postuninstall_cmds
10781
 
 
10782
 
# Commands used to build a loadable module (assumed same as above if empty)
10783
 
module_cmds=$lt_module_cmds
10784
 
module_expsym_cmds=$lt_module_expsym_cmds
10785
 
 
10786
 
# Commands to strip libraries.
10787
 
old_striplib=$lt_old_striplib
10788
 
striplib=$lt_striplib
10789
 
 
10790
 
# Dependencies to place before the objects being linked to create a
10791
 
# shared library.
10792
 
predep_objects=$lt_predep_objects
10793
 
 
10794
 
# Dependencies to place after the objects being linked to create a
10795
 
# shared library.
10796
 
postdep_objects=$lt_postdep_objects
10797
 
 
10798
 
# Dependencies to place before the objects being linked to create a
10799
 
# shared library.
10800
 
predeps=$lt_predeps
10801
 
 
10802
 
# Dependencies to place after the objects being linked to create a
10803
 
# shared library.
10804
 
postdeps=$lt_postdeps
10805
 
 
10806
 
# The library search path used internally by the compiler when linking
10807
 
# a shared library.
10808
 
compiler_lib_search_path=$lt_compiler_lib_search_path
10809
 
 
10810
 
# Method to check whether dependent libraries are shared objects.
10811
 
deplibs_check_method=$lt_deplibs_check_method
10812
 
 
10813
 
# Command to use when deplibs_check_method == file_magic.
10814
 
file_magic_cmd=$lt_file_magic_cmd
10815
 
 
10816
 
# Flag that allows shared libraries with undefined symbols to be built.
10817
 
allow_undefined_flag=$lt_allow_undefined_flag
10818
 
 
10819
 
# Flag that forces no undefined symbols.
10820
 
no_undefined_flag=$lt_no_undefined_flag
10821
 
 
10822
 
# Commands used to finish a libtool library installation in a directory.
10823
 
finish_cmds=$lt_finish_cmds
10824
 
 
10825
 
# Same as above, but a single script fragment to be evaled but not shown.
10826
 
finish_eval=$lt_finish_eval
10827
 
 
10828
 
# Take the output of nm and produce a listing of raw symbols and C names.
10829
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10830
 
 
10831
 
# Transform the output of nm in a proper C declaration
10832
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10833
 
 
10834
 
# Transform the output of nm in a C name address pair
10835
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10836
 
 
10837
 
# This is the shared library runtime path variable.
10838
 
runpath_var=$runpath_var
10839
 
 
10840
 
# This is the shared library path variable.
10841
 
shlibpath_var=$shlibpath_var
10842
 
 
10843
 
# Is shlibpath searched before the hard-coded library search path?
10844
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10845
 
 
10846
 
# How to hardcode a shared library path into an executable.
10847
 
hardcode_action=$hardcode_action
10848
 
 
10849
 
# Whether we should hardcode library paths into libraries.
10850
 
hardcode_into_libs=$hardcode_into_libs
10851
 
 
10852
 
# Flag to hardcode \$libdir into a binary during linking.
10853
 
# This must work even if \$libdir does not exist.
10854
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10855
 
 
10856
 
# If ld is used when linking, flag to hardcode \$libdir into
10857
 
# a binary during linking. This must work even if \$libdir does
10858
 
# not exist.
10859
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10860
 
 
10861
 
# Whether we need a single -rpath flag with a separated argument.
10862
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10863
 
 
10864
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10865
 
# resulting binary.
10866
 
hardcode_direct=$hardcode_direct
10867
 
 
10868
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10869
 
# resulting binary.
10870
 
hardcode_minus_L=$hardcode_minus_L
10871
 
 
10872
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10873
 
# the resulting binary.
10874
 
hardcode_shlibpath_var=$hardcode_shlibpath_var
10875
 
 
10876
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
10877
 
# and all subsequent libraries and executables linked against it.
10878
 
hardcode_automatic=$hardcode_automatic
10879
 
 
10880
 
# Variables whose values should be saved in libtool wrapper scripts and
10881
 
# restored at relink time.
10882
 
variables_saved_for_relink="$variables_saved_for_relink"
10883
 
 
10884
 
# Whether libtool must link a program against all its dependency libraries.
10885
 
link_all_deplibs=$link_all_deplibs
10886
 
 
10887
 
# Compile-time system search path for libraries
10888
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10889
 
 
10890
 
# Run-time system search path for libraries
10891
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10892
 
 
10893
 
# Fix the shell variable \$srcfile for the compiler.
10894
 
fix_srcfile_path=$lt_fix_srcfile_path
10895
 
 
10896
 
# Set to yes if exported symbols are required.
10897
 
always_export_symbols=$always_export_symbols
10898
 
 
10899
 
# The commands to list exported symbols.
10900
 
export_symbols_cmds=$lt_export_symbols_cmds
10901
 
 
10902
 
# The commands to extract the exported symbol list from a shared archive.
10903
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10904
 
 
10905
 
# Symbols that should not be listed in the preloaded symbols.
10906
 
exclude_expsyms=$lt_exclude_expsyms
10907
 
 
10908
 
# Symbols that must always be exported.
10909
 
include_expsyms=$lt_include_expsyms
10910
 
 
10911
 
# ### END LIBTOOL CONFIG
10912
 
 
10913
 
__EOF__
10914
 
 
10915
 
 
10916
 
  case $host_os in
10917
 
  aix3*)
10918
 
    cat <<\EOF >> "$cfgfile"
10919
 
 
10920
 
# AIX sometimes has problems with the GCC collect2 program.  For some
10921
 
# reason, if we set the COLLECT_NAMES environment variable, the problems
10922
 
# vanish in a puff of smoke.
10923
 
if test "X${COLLECT_NAMES+set}" != Xset; then
10924
 
  COLLECT_NAMES=
10925
 
  export COLLECT_NAMES
10926
 
fi
10927
 
EOF
10928
 
    ;;
10929
 
  esac
10930
 
 
10931
 
  # We use sed instead of cat because bash on DJGPP gets confused if
10932
 
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
10933
 
  # text mode, it properly converts lines to CR/LF.  This bash problem
10934
 
  # is reportedly fixed, but why not run on old versions too?
10935
 
  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10936
 
 
10937
 
  mv -f "$cfgfile" "$ofile" || \
10938
 
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10939
 
  chmod +x "$ofile"
10940
 
 
10941
 
else
10942
 
  # If there is no Makefile yet, we rely on a make rule to execute
10943
 
  # `config.status --recheck' to rerun these tests and create the
10944
 
  # libtool script then.
10945
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10946
 
  if test -f "$ltmain_in"; then
10947
 
    test -f Makefile && make "$ltmain"
10948
 
  fi
10949
 
fi
10950
 
 
10951
 
 
10952
 
ac_ext=c
10953
 
ac_cpp='$CPP $CPPFLAGS'
10954
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10955
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10956
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10957
 
 
10958
 
CC="$lt_save_CC"
10959
 
 
10960
 
 
10961
 
# Check whether --with-tags was given.
10962
 
if test "${with_tags+set}" = set; then
10963
 
  withval=$with_tags; tagnames="$withval"
10964
 
fi
10965
 
 
10966
 
 
10967
 
if test -f "$ltmain" && test -n "$tagnames"; then
10968
 
  if test ! -f "${ofile}"; then
10969
 
    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10970
 
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10971
 
  fi
10972
 
 
10973
 
  if test -z "$LTCC"; then
10974
 
    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10975
 
    if test -z "$LTCC"; then
10976
 
      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10977
 
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10978
 
    else
10979
 
      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10980
 
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10981
 
    fi
10982
 
  fi
10983
 
  if test -z "$LTCFLAGS"; then
10984
 
    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10985
 
  fi
10986
 
 
10987
 
  # Extract list of available tagged configurations in $ofile.
10988
 
  # Note that this assumes the entire list is on one line.
10989
 
  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10990
 
 
10991
 
  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10992
 
  for tagname in $tagnames; do
10993
 
    IFS="$lt_save_ifs"
10994
 
    # Check whether tagname contains only valid characters
10995
 
    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10996
 
    "") ;;
10997
 
    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10998
 
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10999
 
   { (exit 1); exit 1; }; }
11000
 
        ;;
11001
 
    esac
11002
 
 
11003
 
    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11004
 
    then
11005
 
      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11006
 
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11007
 
   { (exit 1); exit 1; }; }
11008
 
    fi
11009
 
 
11010
 
    # Update the list of available tags.
11011
 
    if test -n "$tagname"; then
11012
 
      echo appending configuration tag \"$tagname\" to $ofile
11013
 
 
11014
 
      case $tagname in
11015
 
      CXX)
11016
 
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11017
 
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11018
 
            (test "X$CXX" != "Xg++"))) ; then
11019
 
          ac_ext=cpp
11020
 
ac_cpp='$CXXCPP $CPPFLAGS'
11021
 
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11022
 
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11023
 
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11024
 
 
11025
 
 
11026
 
 
11027
 
 
11028
 
archive_cmds_need_lc_CXX=no
11029
 
allow_undefined_flag_CXX=
11030
 
always_export_symbols_CXX=no
11031
 
archive_expsym_cmds_CXX=
11032
 
export_dynamic_flag_spec_CXX=
11033
 
hardcode_direct_CXX=no
11034
 
hardcode_libdir_flag_spec_CXX=
11035
 
hardcode_libdir_flag_spec_ld_CXX=
11036
 
hardcode_libdir_separator_CXX=
11037
 
hardcode_minus_L_CXX=no
11038
 
hardcode_shlibpath_var_CXX=unsupported
11039
 
hardcode_automatic_CXX=no
11040
 
module_cmds_CXX=
11041
 
module_expsym_cmds_CXX=
11042
 
link_all_deplibs_CXX=unknown
11043
 
old_archive_cmds_CXX=$old_archive_cmds
11044
 
no_undefined_flag_CXX=
11045
 
whole_archive_flag_spec_CXX=
11046
 
enable_shared_with_static_runtimes_CXX=no
11047
 
 
11048
 
# Dependencies to place before and after the object being linked:
11049
 
predep_objects_CXX=
11050
 
postdep_objects_CXX=
11051
 
predeps_CXX=
11052
 
postdeps_CXX=
11053
 
compiler_lib_search_path_CXX=
11054
 
 
11055
 
# Source file extension for C++ test sources.
11056
 
ac_ext=cpp
11057
 
 
11058
 
# Object file extension for compiled C++ test sources.
11059
 
objext=o
11060
 
objext_CXX=$objext
11061
 
 
11062
 
# Code to be used in simple compile tests
11063
 
lt_simple_compile_test_code="int some_variable = 0;"
11064
 
 
11065
 
# Code to be used in simple link tests
11066
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11067
 
 
11068
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11069
 
 
11070
 
# If no C compiler was specified, use CC.
11071
 
LTCC=${LTCC-"$CC"}
11072
 
 
11073
 
# If no C compiler flags were specified, use CFLAGS.
11074
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11075
 
 
11076
 
# Allow CC to be a program name with arguments.
11077
 
compiler=$CC
11078
 
 
11079
 
 
11080
 
# save warnings/boilerplate of simple test code
11081
 
ac_outfile=conftest.$ac_objext
11082
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11083
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11084
 
_lt_compiler_boilerplate=`cat conftest.err`
11085
 
$rm conftest*
11086
 
 
11087
 
ac_outfile=conftest.$ac_objext
11088
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11089
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11090
 
_lt_linker_boilerplate=`cat conftest.err`
11091
 
$rm conftest*
11092
 
 
11093
 
 
11094
 
# Allow CC to be a program name with arguments.
11095
 
lt_save_CC=$CC
11096
 
lt_save_LD=$LD
11097
 
lt_save_GCC=$GCC
11098
 
GCC=$GXX
11099
 
lt_save_with_gnu_ld=$with_gnu_ld
11100
 
lt_save_path_LD=$lt_cv_path_LD
11101
 
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11102
 
  lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11103
 
else
11104
 
  $as_unset lt_cv_prog_gnu_ld
11105
 
fi
11106
 
if test -n "${lt_cv_path_LDCXX+set}"; then
11107
 
  lt_cv_path_LD=$lt_cv_path_LDCXX
11108
 
else
11109
 
  $as_unset lt_cv_path_LD
11110
 
fi
11111
 
test -z "${LDCXX+set}" || LD=$LDCXX
11112
 
CC=${CXX-"c++"}
11113
 
compiler=$CC
11114
 
compiler_CXX=$CC
11115
 
for cc_temp in $compiler""; do
11116
 
  case $cc_temp in
11117
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11118
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11119
 
    \-*) ;;
11120
 
    *) break;;
11121
 
  esac
11122
 
done
11123
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11124
 
 
11125
 
 
11126
 
# We don't want -fno-exception wen compiling C++ code, so set the
11127
 
# no_builtin_flag separately
11128
 
if test "$GXX" = yes; then
11129
 
  lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11130
 
else
11131
 
  lt_prog_compiler_no_builtin_flag_CXX=
11132
 
fi
11133
 
 
11134
 
if test "$GXX" = yes; then
11135
 
  # Set up default GNU C++ configuration
11136
 
 
11137
 
 
11138
 
# Check whether --with-gnu-ld was given.
11139
 
if test "${with_gnu_ld+set}" = set; then
11140
 
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11141
 
else
11142
 
  with_gnu_ld=no
11143
 
fi
11144
 
 
11145
 
ac_prog=ld
11146
 
if test "$GCC" = yes; then
11147
 
  # Check if gcc -print-prog-name=ld gives a path.
11148
 
  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11149
 
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11150
 
  case $host in
11151
 
  *-*-mingw*)
11152
 
    # gcc leaves a trailing carriage return which upsets mingw
11153
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11154
 
  *)
11155
 
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11156
 
  esac
11157
 
  case $ac_prog in
11158
 
    # Accept absolute paths.
11159
 
    [\\/]* | ?:[\\/]*)
11160
 
      re_direlt='/[^/][^/]*/\.\./'
11161
 
      # Canonicalize the pathname of ld
11162
 
      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11163
 
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11164
 
        ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11165
 
      done
11166
 
      test -z "$LD" && LD="$ac_prog"
11167
 
      ;;
11168
 
  "")
11169
 
    # If it fails, then pretend we aren't using GCC.
11170
 
    ac_prog=ld
11171
 
    ;;
11172
 
  *)
11173
 
    # If it is relative, then search for the first ld in PATH.
11174
 
    with_gnu_ld=unknown
11175
 
    ;;
11176
 
  esac
11177
 
elif test "$with_gnu_ld" = yes; then
11178
 
  { echo "$as_me:$LINENO: checking for GNU ld" >&5
11179
 
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11180
 
else
11181
 
  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11182
 
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11183
 
fi
11184
 
if test "${lt_cv_path_LD+set}" = set; then
11185
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11186
 
else
11187
 
  if test -z "$LD"; then
11188
 
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11189
 
  for ac_dir in $PATH; do
11190
 
    IFS="$lt_save_ifs"
11191
 
    test -z "$ac_dir" && ac_dir=.
11192
 
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11193
 
      lt_cv_path_LD="$ac_dir/$ac_prog"
11194
 
      # Check to see if the program is GNU ld.  I'd rather use --version,
11195
 
      # but apparently some variants of GNU ld only accept -v.
11196
 
      # Break only if it was the GNU/non-GNU ld that we prefer.
11197
 
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11198
 
      *GNU* | *'with BFD'*)
11199
 
        test "$with_gnu_ld" != no && break
11200
 
        ;;
11201
 
      *)
11202
 
        test "$with_gnu_ld" != yes && break
11203
 
        ;;
11204
 
      esac
11205
 
    fi
11206
 
  done
11207
 
  IFS="$lt_save_ifs"
11208
 
else
11209
 
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
11210
 
fi
11211
 
fi
11212
 
 
11213
 
LD="$lt_cv_path_LD"
11214
 
if test -n "$LD"; then
11215
 
  { echo "$as_me:$LINENO: result: $LD" >&5
11216
 
echo "${ECHO_T}$LD" >&6; }
11217
 
else
11218
 
  { echo "$as_me:$LINENO: result: no" >&5
11219
 
echo "${ECHO_T}no" >&6; }
11220
 
fi
11221
 
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11222
 
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11223
 
   { (exit 1); exit 1; }; }
11224
 
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11225
 
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11226
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11227
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
11228
 
else
11229
 
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
11230
 
case `$LD -v 2>&1 </dev/null` in
11231
 
*GNU* | *'with BFD'*)
11232
 
  lt_cv_prog_gnu_ld=yes
11233
 
  ;;
11234
 
*)
11235
 
  lt_cv_prog_gnu_ld=no
11236
 
  ;;
11237
 
esac
11238
 
fi
11239
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11240
 
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11241
 
with_gnu_ld=$lt_cv_prog_gnu_ld
11242
 
 
11243
 
 
11244
 
 
11245
 
  # Check if GNU C++ uses GNU ld as the underlying linker, since the
11246
 
  # archiving commands below assume that GNU ld is being used.
11247
 
  if test "$with_gnu_ld" = yes; then
11248
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11249
 
    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'
11250
 
 
11251
 
    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11252
 
    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11253
 
 
11254
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
11255
 
    # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11256
 
    #     investigate it a little bit more. (MM)
11257
 
    wlarc='${wl}'
11258
 
 
11259
 
    # ancient GNU ld didn't support --whole-archive et. al.
11260
 
    if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11261
 
        grep 'no-whole-archive' > /dev/null; then
11262
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11263
 
    else
11264
 
      whole_archive_flag_spec_CXX=
11265
 
    fi
11266
 
  else
11267
 
    with_gnu_ld=no
11268
 
    wlarc=
11269
 
 
11270
 
    # A generic and very simple default shared library creation
11271
 
    # command for GNU C++ for the case where it uses the native
11272
 
    # linker, instead of GNU ld.  If possible, this setting should
11273
 
    # overridden to take advantage of the native linker features on
11274
 
    # the platform it is being used on.
11275
 
    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11276
 
  fi
11277
 
 
11278
 
  # Commands to make compiler produce verbose output that lists
11279
 
  # what "hidden" libraries, object files and flags are used when
11280
 
  # linking a shared library.
11281
 
  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11282
 
 
11283
 
else
11284
 
  GXX=no
11285
 
  with_gnu_ld=no
11286
 
  wlarc=
11287
 
fi
11288
 
 
11289
 
# PORTME: fill in a description of your system's C++ link characteristics
11290
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11291
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11292
 
ld_shlibs_CXX=yes
11293
 
case $host_os in
11294
 
  aix3*)
11295
 
    # FIXME: insert proper C++ library support
11296
 
    ld_shlibs_CXX=no
11297
 
    ;;
11298
 
  aix4* | aix5*)
11299
 
    if test "$host_cpu" = ia64; then
11300
 
      # On IA64, the linker does run time linking by default, so we don't
11301
 
      # have to do anything special.
11302
 
      aix_use_runtimelinking=no
11303
 
      exp_sym_flag='-Bexport'
11304
 
      no_entry_flag=""
11305
 
    else
11306
 
      aix_use_runtimelinking=no
11307
 
 
11308
 
      # Test if we are trying to use run time linking or normal
11309
 
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11310
 
      # need to do runtime linking.
11311
 
      case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11312
 
        for ld_flag in $LDFLAGS; do
11313
 
          case $ld_flag in
11314
 
          *-brtl*)
11315
 
            aix_use_runtimelinking=yes
11316
 
            break
11317
 
            ;;
11318
 
          esac
11319
 
        done
11320
 
        ;;
11321
 
      esac
11322
 
 
11323
 
      exp_sym_flag='-bexport'
11324
 
      no_entry_flag='-bnoentry'
11325
 
    fi
11326
 
 
11327
 
    # When large executables or shared objects are built, AIX ld can
11328
 
    # have problems creating the table of contents.  If linking a library
11329
 
    # or program results in "error TOC overflow" add -mminimal-toc to
11330
 
    # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11331
 
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11332
 
 
11333
 
    archive_cmds_CXX=''
11334
 
    hardcode_direct_CXX=yes
11335
 
    hardcode_libdir_separator_CXX=':'
11336
 
    link_all_deplibs_CXX=yes
11337
 
 
11338
 
    if test "$GXX" = yes; then
11339
 
      case $host_os in aix4.[012]|aix4.[012].*)
11340
 
      # We only want to do this on AIX 4.2 and lower, the check
11341
 
      # below for broken collect2 doesn't work under 4.3+
11342
 
        collect2name=`${CC} -print-prog-name=collect2`
11343
 
        if test -f "$collect2name" && \
11344
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11345
 
        then
11346
 
          # We have reworked collect2
11347
 
          :
11348
 
        else
11349
 
          # We have old collect2
11350
 
          hardcode_direct_CXX=unsupported
11351
 
          # It fails to find uninstalled libraries when the uninstalled
11352
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
11353
 
          # to unsupported forces relinking
11354
 
          hardcode_minus_L_CXX=yes
11355
 
          hardcode_libdir_flag_spec_CXX='-L$libdir'
11356
 
          hardcode_libdir_separator_CXX=
11357
 
        fi
11358
 
        ;;
11359
 
      esac
11360
 
      shared_flag='-shared'
11361
 
      if test "$aix_use_runtimelinking" = yes; then
11362
 
        shared_flag="$shared_flag "'${wl}-G'
11363
 
      fi
11364
 
    else
11365
 
      # not using gcc
11366
 
      if test "$host_cpu" = ia64; then
11367
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11368
 
        # chokes on -Wl,-G. The following line is correct:
11369
 
        shared_flag='-G'
11370
 
      else
11371
 
        if test "$aix_use_runtimelinking" = yes; then
11372
 
          shared_flag='${wl}-G'
11373
 
        else
11374
 
          shared_flag='${wl}-bM:SRE'
11375
 
        fi
11376
 
      fi
11377
 
    fi
11378
 
 
11379
 
    # It seems that -bexpall does not export symbols beginning with
11380
 
    # underscore (_), so it is better to generate a list of symbols to export.
11381
 
    always_export_symbols_CXX=yes
11382
 
    if test "$aix_use_runtimelinking" = yes; then
11383
 
      # Warning - without using the other runtime loading flags (-brtl),
11384
 
      # -berok will link without error, but may produce a broken library.
11385
 
      allow_undefined_flag_CXX='-berok'
11386
 
      # Determine the default libpath from the value encoded in an empty executable.
11387
 
      cat >conftest.$ac_ext <<_ACEOF
11388
 
/* confdefs.h.  */
11389
 
_ACEOF
11390
 
cat confdefs.h >>conftest.$ac_ext
11391
 
cat >>conftest.$ac_ext <<_ACEOF
11392
 
/* end confdefs.h.  */
11393
 
 
11394
 
int
11395
 
main ()
11396
 
{
11397
 
 
11398
 
  ;
11399
 
  return 0;
11400
 
}
11401
 
_ACEOF
11402
 
rm -f conftest.$ac_objext conftest$ac_exeext
11403
 
if { (ac_try="$ac_link"
11404
 
case "(($ac_try" in
11405
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11406
 
  *) ac_try_echo=$ac_try;;
11407
 
esac
11408
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11409
 
  (eval "$ac_link") 2>conftest.er1
11410
 
  ac_status=$?
11411
 
  grep -v '^ *+' conftest.er1 >conftest.err
11412
 
  rm -f conftest.er1
11413
 
  cat conftest.err >&5
11414
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415
 
  (exit $ac_status); } && {
11416
 
         test -z "$ac_cxx_werror_flag" ||
11417
 
         test ! -s conftest.err
11418
 
       } && test -s conftest$ac_exeext &&
11419
 
       $as_test_x conftest$ac_exeext; then
11420
 
 
11421
 
lt_aix_libpath_sed='
11422
 
    /Import File Strings/,/^$/ {
11423
 
        /^0/ {
11424
 
            s/^0  *\(.*\)$/\1/
11425
 
            p
11426
 
        }
11427
 
    }'
11428
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11429
 
# Check for a 64-bit object if we didn't find anything.
11430
 
if test -z "$aix_libpath"; then
11431
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11432
 
fi
11433
 
else
11434
 
  echo "$as_me: failed program was:" >&5
11435
 
sed 's/^/| /' conftest.$ac_ext >&5
11436
 
 
11437
 
 
11438
 
fi
11439
 
 
11440
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11441
 
      conftest$ac_exeext conftest.$ac_ext
11442
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11443
 
 
11444
 
      hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11445
 
 
11446
 
      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"
11447
 
     else
11448
 
      if test "$host_cpu" = ia64; then
11449
 
        hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11450
 
        allow_undefined_flag_CXX="-z nodefs"
11451
 
        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"
11452
 
      else
11453
 
        # Determine the default libpath from the value encoded in an empty executable.
11454
 
        cat >conftest.$ac_ext <<_ACEOF
11455
 
/* confdefs.h.  */
11456
 
_ACEOF
11457
 
cat confdefs.h >>conftest.$ac_ext
11458
 
cat >>conftest.$ac_ext <<_ACEOF
11459
 
/* end confdefs.h.  */
11460
 
 
11461
 
int
11462
 
main ()
11463
 
{
11464
 
 
11465
 
  ;
11466
 
  return 0;
11467
 
}
11468
 
_ACEOF
11469
 
rm -f conftest.$ac_objext conftest$ac_exeext
11470
 
if { (ac_try="$ac_link"
11471
 
case "(($ac_try" in
11472
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11473
 
  *) ac_try_echo=$ac_try;;
11474
 
esac
11475
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11476
 
  (eval "$ac_link") 2>conftest.er1
11477
 
  ac_status=$?
11478
 
  grep -v '^ *+' conftest.er1 >conftest.err
11479
 
  rm -f conftest.er1
11480
 
  cat conftest.err >&5
11481
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482
 
  (exit $ac_status); } && {
11483
 
         test -z "$ac_cxx_werror_flag" ||
11484
 
         test ! -s conftest.err
11485
 
       } && test -s conftest$ac_exeext &&
11486
 
       $as_test_x conftest$ac_exeext; then
11487
 
 
11488
 
lt_aix_libpath_sed='
11489
 
    /Import File Strings/,/^$/ {
11490
 
        /^0/ {
11491
 
            s/^0  *\(.*\)$/\1/
11492
 
            p
11493
 
        }
11494
 
    }'
11495
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11496
 
# Check for a 64-bit object if we didn't find anything.
11497
 
if test -z "$aix_libpath"; then
11498
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11499
 
fi
11500
 
else
11501
 
  echo "$as_me: failed program was:" >&5
11502
 
sed 's/^/| /' conftest.$ac_ext >&5
11503
 
 
11504
 
 
11505
 
fi
11506
 
 
11507
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11508
 
      conftest$ac_exeext conftest.$ac_ext
11509
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11510
 
 
11511
 
        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11512
 
        # Warning - without using the other run time loading flags,
11513
 
        # -berok will link without error, but may produce a broken library.
11514
 
        no_undefined_flag_CXX=' ${wl}-bernotok'
11515
 
        allow_undefined_flag_CXX=' ${wl}-berok'
11516
 
        # Exported symbols can be pulled into shared objects from archives
11517
 
        whole_archive_flag_spec_CXX='$convenience'
11518
 
        archive_cmds_need_lc_CXX=yes
11519
 
        # This is similar to how AIX traditionally builds its shared libraries.
11520
 
        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'
11521
 
      fi
11522
 
    fi
11523
 
    ;;
11524
 
 
11525
 
  beos*)
11526
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11527
 
      allow_undefined_flag_CXX=unsupported
11528
 
      # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11529
 
      # support --undefined.  This deserves some investigation.  FIXME
11530
 
      archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11531
 
    else
11532
 
      ld_shlibs_CXX=no
11533
 
    fi
11534
 
    ;;
11535
 
 
11536
 
  chorus*)
11537
 
    case $cc_basename in
11538
 
      *)
11539
 
        # FIXME: insert proper C++ library support
11540
 
        ld_shlibs_CXX=no
11541
 
        ;;
11542
 
    esac
11543
 
    ;;
11544
 
 
11545
 
  cygwin* | mingw* | pw32*)
11546
 
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11547
 
    # as there is no search path for DLLs.
11548
 
    hardcode_libdir_flag_spec_CXX='-L$libdir'
11549
 
    allow_undefined_flag_CXX=unsupported
11550
 
    always_export_symbols_CXX=no
11551
 
    enable_shared_with_static_runtimes_CXX=yes
11552
 
 
11553
 
    if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11554
 
      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'
11555
 
      # If the export-symbols file already is a .def file (1st line
11556
 
      # is EXPORTS), use it as is; otherwise, prepend...
11557
 
      archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11558
 
        cp $export_symbols $output_objdir/$soname.def;
11559
 
      else
11560
 
        echo EXPORTS > $output_objdir/$soname.def;
11561
 
        cat $export_symbols >> $output_objdir/$soname.def;
11562
 
      fi~
11563
 
      $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'
11564
 
    else
11565
 
      ld_shlibs_CXX=no
11566
 
    fi
11567
 
  ;;
11568
 
      darwin* | rhapsody*)
11569
 
        case $host_os in
11570
 
        rhapsody* | darwin1.[012])
11571
 
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11572
 
         ;;
11573
 
       *) # Darwin 1.3 on
11574
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11575
 
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11576
 
         else
11577
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
11578
 
             10.[012])
11579
 
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11580
 
               ;;
11581
 
             10.*)
11582
 
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11583
 
               ;;
11584
 
           esac
11585
 
         fi
11586
 
         ;;
11587
 
        esac
11588
 
      archive_cmds_need_lc_CXX=no
11589
 
      hardcode_direct_CXX=no
11590
 
      hardcode_automatic_CXX=yes
11591
 
      hardcode_shlibpath_var_CXX=unsupported
11592
 
      whole_archive_flag_spec_CXX=''
11593
 
      link_all_deplibs_CXX=yes
11594
 
 
11595
 
    if test "$GXX" = yes ; then
11596
 
      lt_int_apple_cc_single_mod=no
11597
 
      output_verbose_link_cmd='echo'
11598
 
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11599
 
       lt_int_apple_cc_single_mod=yes
11600
 
      fi
11601
 
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11602
 
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11603
 
      else
11604
 
          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'
11605
 
        fi
11606
 
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11607
 
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11608
 
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11609
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11610
 
          else
11611
 
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11612
 
          fi
11613
 
            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}'
11614
 
      else
11615
 
      case $cc_basename in
11616
 
        xlc*)
11617
 
         output_verbose_link_cmd='echo'
11618
 
          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'
11619
 
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11620
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11621
 
          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}'
11622
 
          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}'
11623
 
          ;;
11624
 
       *)
11625
 
         ld_shlibs_CXX=no
11626
 
          ;;
11627
 
      esac
11628
 
      fi
11629
 
        ;;
11630
 
 
11631
 
  dgux*)
11632
 
    case $cc_basename in
11633
 
      ec++*)
11634
 
        # FIXME: insert proper C++ library support
11635
 
        ld_shlibs_CXX=no
11636
 
        ;;
11637
 
      ghcx*)
11638
 
        # Green Hills C++ Compiler
11639
 
        # FIXME: insert proper C++ library support
11640
 
        ld_shlibs_CXX=no
11641
 
        ;;
11642
 
      *)
11643
 
        # FIXME: insert proper C++ library support
11644
 
        ld_shlibs_CXX=no
11645
 
        ;;
11646
 
    esac
11647
 
    ;;
11648
 
  freebsd[12]*)
11649
 
    # C++ shared libraries reported to be fairly broken before switch to ELF
11650
 
    ld_shlibs_CXX=no
11651
 
    ;;
11652
 
  freebsd-elf*)
11653
 
    archive_cmds_need_lc_CXX=no
11654
 
    ;;
11655
 
  freebsd* | dragonfly*)
11656
 
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11657
 
    # conventions
11658
 
    ld_shlibs_CXX=yes
11659
 
    ;;
11660
 
  gnu*)
11661
 
    ;;
11662
 
  hpux9*)
11663
 
    hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11664
 
    hardcode_libdir_separator_CXX=:
11665
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11666
 
    hardcode_direct_CXX=yes
11667
 
    hardcode_minus_L_CXX=yes # Not in the search PATH,
11668
 
                                # but as the default
11669
 
                                # location of the library.
11670
 
 
11671
 
    case $cc_basename in
11672
 
    CC*)
11673
 
      # FIXME: insert proper C++ library support
11674
 
      ld_shlibs_CXX=no
11675
 
      ;;
11676
 
    aCC*)
11677
 
      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'
11678
 
      # Commands to make compiler produce verbose output that lists
11679
 
      # what "hidden" libraries, object files and flags are used when
11680
 
      # linking a shared library.
11681
 
      #
11682
 
      # There doesn't appear to be a way to prevent this compiler from
11683
 
      # explicitly linking system object files so we need to strip them
11684
 
      # from the output so that they don't get included in the library
11685
 
      # dependencies.
11686
 
      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'
11687
 
      ;;
11688
 
    *)
11689
 
      if test "$GXX" = yes; then
11690
 
        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'
11691
 
      else
11692
 
        # FIXME: insert proper C++ library support
11693
 
        ld_shlibs_CXX=no
11694
 
      fi
11695
 
      ;;
11696
 
    esac
11697
 
    ;;
11698
 
  hpux10*|hpux11*)
11699
 
    if test $with_gnu_ld = no; then
11700
 
      hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11701
 
      hardcode_libdir_separator_CXX=:
11702
 
 
11703
 
      case $host_cpu in
11704
 
      hppa*64*|ia64*) ;;
11705
 
      *)
11706
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11707
 
        ;;
11708
 
      esac
11709
 
    fi
11710
 
    case $host_cpu in
11711
 
    hppa*64*|ia64*)
11712
 
      hardcode_direct_CXX=no
11713
 
      hardcode_shlibpath_var_CXX=no
11714
 
      ;;
11715
 
    *)
11716
 
      hardcode_direct_CXX=yes
11717
 
      hardcode_minus_L_CXX=yes # Not in the search PATH,
11718
 
                                              # but as the default
11719
 
                                              # location of the library.
11720
 
      ;;
11721
 
    esac
11722
 
 
11723
 
    case $cc_basename in
11724
 
      CC*)
11725
 
        # FIXME: insert proper C++ library support
11726
 
        ld_shlibs_CXX=no
11727
 
        ;;
11728
 
      aCC*)
11729
 
        case $host_cpu in
11730
 
        hppa*64*)
11731
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11732
 
          ;;
11733
 
        ia64*)
11734
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11735
 
          ;;
11736
 
        *)
11737
 
          archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11738
 
          ;;
11739
 
        esac
11740
 
        # Commands to make compiler produce verbose output that lists
11741
 
        # what "hidden" libraries, object files and flags are used when
11742
 
        # linking a shared library.
11743
 
        #
11744
 
        # There doesn't appear to be a way to prevent this compiler from
11745
 
        # explicitly linking system object files so we need to strip them
11746
 
        # from the output so that they don't get included in the library
11747
 
        # dependencies.
11748
 
        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'
11749
 
        ;;
11750
 
      *)
11751
 
        if test "$GXX" = yes; then
11752
 
          if test $with_gnu_ld = no; then
11753
 
            case $host_cpu in
11754
 
            hppa*64*)
11755
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11756
 
              ;;
11757
 
            ia64*)
11758
 
              archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11759
 
              ;;
11760
 
            *)
11761
 
              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'
11762
 
              ;;
11763
 
            esac
11764
 
          fi
11765
 
        else
11766
 
          # FIXME: insert proper C++ library support
11767
 
          ld_shlibs_CXX=no
11768
 
        fi
11769
 
        ;;
11770
 
    esac
11771
 
    ;;
11772
 
  interix[3-9]*)
11773
 
    hardcode_direct_CXX=no
11774
 
    hardcode_shlibpath_var_CXX=no
11775
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11776
 
    export_dynamic_flag_spec_CXX='${wl}-E'
11777
 
    # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11778
 
    # Instead, shared libraries are loaded at an image base (0x10000000 by
11779
 
    # default) and relocated if they conflict, which is a slow very memory
11780
 
    # consuming and fragmenting process.  To avoid this, we pick a random,
11781
 
    # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11782
 
    # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11783
 
    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'
11784
 
    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'
11785
 
    ;;
11786
 
  irix5* | irix6*)
11787
 
    case $cc_basename in
11788
 
      CC*)
11789
 
        # SGI C++
11790
 
        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'
11791
 
 
11792
 
        # Archives containing C++ object files must be created using
11793
 
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11794
 
        # necessary to make sure instantiated templates are included
11795
 
        # in the archive.
11796
 
        old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11797
 
        ;;
11798
 
      *)
11799
 
        if test "$GXX" = yes; then
11800
 
          if test "$with_gnu_ld" = no; then
11801
 
            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'
11802
 
          else
11803
 
            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'
11804
 
          fi
11805
 
        fi
11806
 
        link_all_deplibs_CXX=yes
11807
 
        ;;
11808
 
    esac
11809
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11810
 
    hardcode_libdir_separator_CXX=:
11811
 
    ;;
11812
 
  linux* | k*bsd*-gnu)
11813
 
    case $cc_basename in
11814
 
      KCC*)
11815
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11816
 
 
11817
 
        # KCC will only create a shared library if the output file
11818
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11819
 
        # to its proper name (with version) after linking.
11820
 
        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'
11821
 
        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'
11822
 
        # Commands to make compiler produce verbose output that lists
11823
 
        # what "hidden" libraries, object files and flags are used when
11824
 
        # linking a shared library.
11825
 
        #
11826
 
        # There doesn't appear to be a way to prevent this compiler from
11827
 
        # explicitly linking system object files so we need to strip them
11828
 
        # from the output so that they don't get included in the library
11829
 
        # dependencies.
11830
 
        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'
11831
 
 
11832
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11833
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11834
 
 
11835
 
        # Archives containing C++ object files must be created using
11836
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11837
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11838
 
        ;;
11839
 
      icpc*)
11840
 
        # Intel C++
11841
 
        with_gnu_ld=yes
11842
 
        # version 8.0 and above of icpc choke on multiply defined symbols
11843
 
        # if we add $predep_objects and $postdep_objects, however 7.1 and
11844
 
        # earlier do not add the objects themselves.
11845
 
        case `$CC -V 2>&1` in
11846
 
        *"Version 7."*)
11847
 
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11848
 
          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'
11849
 
          ;;
11850
 
        *)  # Version 8.0 or newer
11851
 
          tmp_idyn=
11852
 
          case $host_cpu in
11853
 
            ia64*) tmp_idyn=' -i_dynamic';;
11854
 
          esac
11855
 
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11856
 
          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'
11857
 
          ;;
11858
 
        esac
11859
 
        archive_cmds_need_lc_CXX=no
11860
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11861
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11862
 
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11863
 
        ;;
11864
 
      pgCC*)
11865
 
        # Portland Group C++ compiler
11866
 
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11867
 
        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'
11868
 
 
11869
 
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11870
 
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11871
 
        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'
11872
 
        ;;
11873
 
      cxx*)
11874
 
        # Compaq C++
11875
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11876
 
        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'
11877
 
 
11878
 
        runpath_var=LD_RUN_PATH
11879
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11880
 
        hardcode_libdir_separator_CXX=:
11881
 
 
11882
 
        # Commands to make compiler produce verbose output that lists
11883
 
        # what "hidden" libraries, object files and flags are used when
11884
 
        # linking a shared library.
11885
 
        #
11886
 
        # There doesn't appear to be a way to prevent this compiler from
11887
 
        # explicitly linking system object files so we need to strip them
11888
 
        # from the output so that they don't get included in the library
11889
 
        # dependencies.
11890
 
        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'
11891
 
        ;;
11892
 
      *)
11893
 
        case `$CC -V 2>&1 | sed 5q` in
11894
 
        *Sun\ C*)
11895
 
          # Sun C++ 5.9
11896
 
          no_undefined_flag_CXX=' -zdefs'
11897
 
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11898
 
          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'
11899
 
          hardcode_libdir_flag_spec_CXX='-R$libdir'
11900
 
          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'
11901
 
 
11902
 
          # Not sure whether something based on
11903
 
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11904
 
          # would be better.
11905
 
          output_verbose_link_cmd='echo'
11906
 
 
11907
 
          # Archives containing C++ object files must be created using
11908
 
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11909
 
          # necessary to make sure instantiated templates are included
11910
 
          # in the archive.
11911
 
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11912
 
          ;;
11913
 
        esac
11914
 
        ;;
11915
 
    esac
11916
 
    ;;
11917
 
  lynxos*)
11918
 
    # FIXME: insert proper C++ library support
11919
 
    ld_shlibs_CXX=no
11920
 
    ;;
11921
 
  m88k*)
11922
 
    # FIXME: insert proper C++ library support
11923
 
    ld_shlibs_CXX=no
11924
 
    ;;
11925
 
  mvs*)
11926
 
    case $cc_basename in
11927
 
      cxx*)
11928
 
        # FIXME: insert proper C++ library support
11929
 
        ld_shlibs_CXX=no
11930
 
        ;;
11931
 
      *)
11932
 
        # FIXME: insert proper C++ library support
11933
 
        ld_shlibs_CXX=no
11934
 
        ;;
11935
 
    esac
11936
 
    ;;
11937
 
  netbsd* | netbsdelf*-gnu)
11938
 
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11939
 
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11940
 
      wlarc=
11941
 
      hardcode_libdir_flag_spec_CXX='-R$libdir'
11942
 
      hardcode_direct_CXX=yes
11943
 
      hardcode_shlibpath_var_CXX=no
11944
 
    fi
11945
 
    # Workaround some broken pre-1.5 toolchains
11946
 
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11947
 
    ;;
11948
 
  openbsd2*)
11949
 
    # C++ shared libraries are fairly broken
11950
 
    ld_shlibs_CXX=no
11951
 
    ;;
11952
 
  openbsd*)
11953
 
    if test -f /usr/libexec/ld.so; then
11954
 
      hardcode_direct_CXX=yes
11955
 
      hardcode_shlibpath_var_CXX=no
11956
 
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11957
 
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11958
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11959
 
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11960
 
        export_dynamic_flag_spec_CXX='${wl}-E'
11961
 
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11962
 
      fi
11963
 
      output_verbose_link_cmd='echo'
11964
 
    else
11965
 
      ld_shlibs_CXX=no
11966
 
    fi
11967
 
    ;;
11968
 
  osf3*)
11969
 
    case $cc_basename in
11970
 
      KCC*)
11971
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
11972
 
 
11973
 
        # KCC will only create a shared library if the output file
11974
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
11975
 
        # to its proper name (with version) after linking.
11976
 
        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'
11977
 
 
11978
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11979
 
        hardcode_libdir_separator_CXX=:
11980
 
 
11981
 
        # Archives containing C++ object files must be created using
11982
 
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11983
 
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11984
 
 
11985
 
        ;;
11986
 
      RCC*)
11987
 
        # Rational C++ 2.4.1
11988
 
        # FIXME: insert proper C++ library support
11989
 
        ld_shlibs_CXX=no
11990
 
        ;;
11991
 
      cxx*)
11992
 
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11993
 
        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'
11994
 
 
11995
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11996
 
        hardcode_libdir_separator_CXX=:
11997
 
 
11998
 
        # Commands to make compiler produce verbose output that lists
11999
 
        # what "hidden" libraries, object files and flags are used when
12000
 
        # linking a shared library.
12001
 
        #
12002
 
        # There doesn't appear to be a way to prevent this compiler from
12003
 
        # explicitly linking system object files so we need to strip them
12004
 
        # from the output so that they don't get included in the library
12005
 
        # dependencies.
12006
 
        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'
12007
 
        ;;
12008
 
      *)
12009
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12010
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12011
 
          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'
12012
 
 
12013
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12014
 
          hardcode_libdir_separator_CXX=:
12015
 
 
12016
 
          # Commands to make compiler produce verbose output that lists
12017
 
          # what "hidden" libraries, object files and flags are used when
12018
 
          # linking a shared library.
12019
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12020
 
 
12021
 
        else
12022
 
          # FIXME: insert proper C++ library support
12023
 
          ld_shlibs_CXX=no
12024
 
        fi
12025
 
        ;;
12026
 
    esac
12027
 
    ;;
12028
 
  osf4* | osf5*)
12029
 
    case $cc_basename in
12030
 
      KCC*)
12031
 
        # Kuck and Associates, Inc. (KAI) C++ Compiler
12032
 
 
12033
 
        # KCC will only create a shared library if the output file
12034
 
        # ends with ".so" (or ".sl" for HP-UX), so rename the library
12035
 
        # to its proper name (with version) after linking.
12036
 
        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'
12037
 
 
12038
 
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12039
 
        hardcode_libdir_separator_CXX=:
12040
 
 
12041
 
        # Archives containing C++ object files must be created using
12042
 
        # the KAI C++ compiler.
12043
 
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
12044
 
        ;;
12045
 
      RCC*)
12046
 
        # Rational C++ 2.4.1
12047
 
        # FIXME: insert proper C++ library support
12048
 
        ld_shlibs_CXX=no
12049
 
        ;;
12050
 
      cxx*)
12051
 
        allow_undefined_flag_CXX=' -expect_unresolved \*'
12052
 
        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'
12053
 
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12054
 
          echo "-hidden">> $lib.exp~
12055
 
          $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~
12056
 
          $rm $lib.exp'
12057
 
 
12058
 
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12059
 
        hardcode_libdir_separator_CXX=:
12060
 
 
12061
 
        # Commands to make compiler produce verbose output that lists
12062
 
        # what "hidden" libraries, object files and flags are used when
12063
 
        # linking a shared library.
12064
 
        #
12065
 
        # There doesn't appear to be a way to prevent this compiler from
12066
 
        # explicitly linking system object files so we need to strip them
12067
 
        # from the output so that they don't get included in the library
12068
 
        # dependencies.
12069
 
        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'
12070
 
        ;;
12071
 
      *)
12072
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12073
 
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12074
 
         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'
12075
 
 
12076
 
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12077
 
          hardcode_libdir_separator_CXX=:
12078
 
 
12079
 
          # Commands to make compiler produce verbose output that lists
12080
 
          # what "hidden" libraries, object files and flags are used when
12081
 
          # linking a shared library.
12082
 
          output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12083
 
 
12084
 
        else
12085
 
          # FIXME: insert proper C++ library support
12086
 
          ld_shlibs_CXX=no
12087
 
        fi
12088
 
        ;;
12089
 
    esac
12090
 
    ;;
12091
 
  psos*)
12092
 
    # FIXME: insert proper C++ library support
12093
 
    ld_shlibs_CXX=no
12094
 
    ;;
12095
 
  sunos4*)
12096
 
    case $cc_basename in
12097
 
      CC*)
12098
 
        # Sun C++ 4.x
12099
 
        # FIXME: insert proper C++ library support
12100
 
        ld_shlibs_CXX=no
12101
 
        ;;
12102
 
      lcc*)
12103
 
        # Lucid
12104
 
        # FIXME: insert proper C++ library support
12105
 
        ld_shlibs_CXX=no
12106
 
        ;;
12107
 
      *)
12108
 
        # FIXME: insert proper C++ library support
12109
 
        ld_shlibs_CXX=no
12110
 
        ;;
12111
 
    esac
12112
 
    ;;
12113
 
  solaris*)
12114
 
    case $cc_basename in
12115
 
      CC*)
12116
 
        # Sun C++ 4.2, 5.x and Centerline C++
12117
 
        archive_cmds_need_lc_CXX=yes
12118
 
        no_undefined_flag_CXX=' -zdefs'
12119
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12120
 
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12121
 
        $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'
12122
 
 
12123
 
        hardcode_libdir_flag_spec_CXX='-R$libdir'
12124
 
        hardcode_shlibpath_var_CXX=no
12125
 
        case $host_os in
12126
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12127
 
          *)
12128
 
            # The compiler driver will combine and reorder linker options,
12129
 
            # but understands `-z linker_flag'.
12130
 
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12131
 
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12132
 
            ;;
12133
 
        esac
12134
 
        link_all_deplibs_CXX=yes
12135
 
 
12136
 
        output_verbose_link_cmd='echo'
12137
 
 
12138
 
        # Archives containing C++ object files must be created using
12139
 
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12140
 
        # necessary to make sure instantiated templates are included
12141
 
        # in the archive.
12142
 
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12143
 
        ;;
12144
 
      gcx*)
12145
 
        # Green Hills C++ Compiler
12146
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12147
 
 
12148
 
        # The C++ compiler must be used to create the archive.
12149
 
        old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12150
 
        ;;
12151
 
      *)
12152
 
        # GNU C++ compiler with Solaris linker
12153
 
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12154
 
          no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12155
 
          if $CC --version | grep -v '^2\.7' > /dev/null; then
12156
 
            archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12157
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12158
 
                $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12159
 
 
12160
 
            # Commands to make compiler produce verbose output that lists
12161
 
            # what "hidden" libraries, object files and flags are used when
12162
 
            # linking a shared library.
12163
 
            output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12164
 
          else
12165
 
            # g++ 2.7 appears to require `-G' NOT `-shared' on this
12166
 
            # platform.
12167
 
            archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12168
 
            archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12169
 
                $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12170
 
 
12171
 
            # Commands to make compiler produce verbose output that lists
12172
 
            # what "hidden" libraries, object files and flags are used when
12173
 
            # linking a shared library.
12174
 
            output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12175
 
          fi
12176
 
 
12177
 
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12178
 
          case $host_os in
12179
 
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12180
 
          *)
12181
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12182
 
            ;;
12183
 
          esac
12184
 
        fi
12185
 
        ;;
12186
 
    esac
12187
 
    ;;
12188
 
  sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12189
 
    no_undefined_flag_CXX='${wl}-z,text'
12190
 
    archive_cmds_need_lc_CXX=no
12191
 
    hardcode_shlibpath_var_CXX=no
12192
 
    runpath_var='LD_RUN_PATH'
12193
 
 
12194
 
    case $cc_basename in
12195
 
      CC*)
12196
 
        archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12197
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12198
 
        ;;
12199
 
      *)
12200
 
        archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12201
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12202
 
        ;;
12203
 
    esac
12204
 
    ;;
12205
 
  sysv5* | sco3.2v5* | sco5v6*)
12206
 
    # Note: We can NOT use -z defs as we might desire, because we do not
12207
 
    # link with -lc, and that would cause any symbols used from libc to
12208
 
    # always be unresolved, which means just about no library would
12209
 
    # ever link correctly.  If we're not using GNU ld we use -z text
12210
 
    # though, which does catch some bad symbols but isn't as heavy-handed
12211
 
    # as -z defs.
12212
 
    # For security reasons, it is highly recommended that you always
12213
 
    # use absolute paths for naming shared libraries, and exclude the
12214
 
    # DT_RUNPATH tag from executables and libraries.  But doing so
12215
 
    # requires that you compile everything twice, which is a pain.
12216
 
    # So that behaviour is only enabled if SCOABSPATH is set to a
12217
 
    # non-empty value in the environment.  Most likely only useful for
12218
 
    # creating official distributions of packages.
12219
 
    # This is a hack until libtool officially supports absolute path
12220
 
    # names for shared libraries.
12221
 
    no_undefined_flag_CXX='${wl}-z,text'
12222
 
    allow_undefined_flag_CXX='${wl}-z,nodefs'
12223
 
    archive_cmds_need_lc_CXX=no
12224
 
    hardcode_shlibpath_var_CXX=no
12225
 
    hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12226
 
    hardcode_libdir_separator_CXX=':'
12227
 
    link_all_deplibs_CXX=yes
12228
 
    export_dynamic_flag_spec_CXX='${wl}-Bexport'
12229
 
    runpath_var='LD_RUN_PATH'
12230
 
 
12231
 
    case $cc_basename in
12232
 
      CC*)
12233
 
        archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12234
 
        archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12235
 
        ;;
12236
 
      *)
12237
 
        archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12238
 
        archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12239
 
        ;;
12240
 
    esac
12241
 
    ;;
12242
 
  tandem*)
12243
 
    case $cc_basename in
12244
 
      NCC*)
12245
 
        # NonStop-UX NCC 3.20
12246
 
        # FIXME: insert proper C++ library support
12247
 
        ld_shlibs_CXX=no
12248
 
        ;;
12249
 
      *)
12250
 
        # FIXME: insert proper C++ library support
12251
 
        ld_shlibs_CXX=no
12252
 
        ;;
12253
 
    esac
12254
 
    ;;
12255
 
  vxworks*)
12256
 
    # FIXME: insert proper C++ library support
12257
 
    ld_shlibs_CXX=no
12258
 
    ;;
12259
 
  *)
12260
 
    # FIXME: insert proper C++ library support
12261
 
    ld_shlibs_CXX=no
12262
 
    ;;
12263
 
esac
12264
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12265
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12266
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12267
 
 
12268
 
GCC_CXX="$GXX"
12269
 
LD_CXX="$LD"
12270
 
 
12271
 
 
12272
 
cat > conftest.$ac_ext <<EOF
12273
 
class Foo
12274
 
{
12275
 
public:
12276
 
  Foo (void) { a = 0; }
12277
 
private:
12278
 
  int a;
12279
 
};
12280
 
EOF
12281
 
 
12282
 
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12283
 
  (eval $ac_compile) 2>&5
12284
 
  ac_status=$?
12285
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286
 
  (exit $ac_status); }; then
12287
 
  # Parse the compiler output and extract the necessary
12288
 
  # objects, libraries and library flags.
12289
 
 
12290
 
  # Sentinel used to keep track of whether or not we are before
12291
 
  # the conftest object file.
12292
 
  pre_test_object_deps_done=no
12293
 
 
12294
 
  # The `*' in the case matches for architectures that use `case' in
12295
 
  # $output_verbose_cmd can trigger glob expansion during the loop
12296
 
  # eval without this substitution.
12297
 
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12298
 
 
12299
 
  for p in `eval $output_verbose_link_cmd`; do
12300
 
    case $p in
12301
 
 
12302
 
    -L* | -R* | -l*)
12303
 
       # Some compilers place space between "-{L,R}" and the path.
12304
 
       # Remove the space.
12305
 
       if test $p = "-L" \
12306
 
          || test $p = "-R"; then
12307
 
         prev=$p
12308
 
         continue
12309
 
       else
12310
 
         prev=
12311
 
       fi
12312
 
 
12313
 
       if test "$pre_test_object_deps_done" = no; then
12314
 
         case $p in
12315
 
         -L* | -R*)
12316
 
           # Internal compiler library paths should come after those
12317
 
           # provided the user.  The postdeps already come after the
12318
 
           # user supplied libs so there is no need to process them.
12319
 
           if test -z "$compiler_lib_search_path_CXX"; then
12320
 
             compiler_lib_search_path_CXX="${prev}${p}"
12321
 
           else
12322
 
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12323
 
           fi
12324
 
           ;;
12325
 
         # The "-l" case would never come before the object being
12326
 
         # linked, so don't bother handling this case.
12327
 
         esac
12328
 
       else
12329
 
         if test -z "$postdeps_CXX"; then
12330
 
           postdeps_CXX="${prev}${p}"
12331
 
         else
12332
 
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12333
 
         fi
12334
 
       fi
12335
 
       ;;
12336
 
 
12337
 
    *.$objext)
12338
 
       # This assumes that the test object file only shows up
12339
 
       # once in the compiler output.
12340
 
       if test "$p" = "conftest.$objext"; then
12341
 
         pre_test_object_deps_done=yes
12342
 
         continue
12343
 
       fi
12344
 
 
12345
 
       if test "$pre_test_object_deps_done" = no; then
12346
 
         if test -z "$predep_objects_CXX"; then
12347
 
           predep_objects_CXX="$p"
12348
 
         else
12349
 
           predep_objects_CXX="$predep_objects_CXX $p"
12350
 
         fi
12351
 
       else
12352
 
         if test -z "$postdep_objects_CXX"; then
12353
 
           postdep_objects_CXX="$p"
12354
 
         else
12355
 
           postdep_objects_CXX="$postdep_objects_CXX $p"
12356
 
         fi
12357
 
       fi
12358
 
       ;;
12359
 
 
12360
 
    *) ;; # Ignore the rest.
12361
 
 
12362
 
    esac
12363
 
  done
12364
 
 
12365
 
  # Clean up.
12366
 
  rm -f a.out a.exe
12367
 
else
12368
 
  echo "libtool.m4: error: problem compiling CXX test program"
12369
 
fi
12370
 
 
12371
 
$rm -f confest.$objext
12372
 
 
12373
 
# PORTME: override above test on systems where it is broken
12374
 
case $host_os in
12375
 
interix[3-9]*)
12376
 
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12377
 
  # hack all around it, let's just trust "g++" to DTRT.
12378
 
  predep_objects_CXX=
12379
 
  postdep_objects_CXX=
12380
 
  postdeps_CXX=
12381
 
  ;;
12382
 
 
12383
 
linux*)
12384
 
  case `$CC -V 2>&1 | sed 5q` in
12385
 
  *Sun\ C*)
12386
 
    # Sun C++ 5.9
12387
 
    #
12388
 
    # The more standards-conforming stlport4 library is
12389
 
    # incompatible with the Cstd library. Avoid specifying
12390
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12391
 
    # -library=stlport4 depends on it.
12392
 
    case " $CXX $CXXFLAGS " in
12393
 
    *" -library=stlport4 "*)
12394
 
      solaris_use_stlport4=yes
12395
 
      ;;
12396
 
    esac
12397
 
    if test "$solaris_use_stlport4" != yes; then
12398
 
      postdeps_CXX='-library=Cstd -library=Crun'
12399
 
    fi
12400
 
    ;;
12401
 
  esac
12402
 
  ;;
12403
 
 
12404
 
solaris*)
12405
 
  case $cc_basename in
12406
 
  CC*)
12407
 
    # The more standards-conforming stlport4 library is
12408
 
    # incompatible with the Cstd library. Avoid specifying
12409
 
    # it if it's in CXXFLAGS. Ignore libCrun as
12410
 
    # -library=stlport4 depends on it.
12411
 
    case " $CXX $CXXFLAGS " in
12412
 
    *" -library=stlport4 "*)
12413
 
      solaris_use_stlport4=yes
12414
 
      ;;
12415
 
    esac
12416
 
 
12417
 
    # Adding this requires a known-good setup of shared libraries for
12418
 
    # Sun compiler versions before 5.6, else PIC objects from an old
12419
 
    # archive will be linked into the output, leading to subtle bugs.
12420
 
    if test "$solaris_use_stlport4" != yes; then
12421
 
      postdeps_CXX='-library=Cstd -library=Crun'
12422
 
    fi
12423
 
    ;;
12424
 
  esac
12425
 
  ;;
12426
 
esac
12427
 
 
12428
 
 
12429
 
case " $postdeps_CXX " in
12430
 
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12431
 
esac
12432
 
 
12433
 
lt_prog_compiler_wl_CXX=
12434
 
lt_prog_compiler_pic_CXX=
12435
 
lt_prog_compiler_static_CXX=
12436
 
 
12437
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12438
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12439
 
 
12440
 
  # C++ specific cases for pic, static, wl, etc.
12441
 
  if test "$GXX" = yes; then
12442
 
    lt_prog_compiler_wl_CXX='-Wl,'
12443
 
    lt_prog_compiler_static_CXX='-static'
12444
 
 
12445
 
    case $host_os in
12446
 
    aix*)
12447
 
      # All AIX code is PIC.
12448
 
      if test "$host_cpu" = ia64; then
12449
 
        # AIX 5 now supports IA64 processor
12450
 
        lt_prog_compiler_static_CXX='-Bstatic'
12451
 
      fi
12452
 
      ;;
12453
 
    amigaos*)
12454
 
      # FIXME: we need at least 68020 code to build shared libraries, but
12455
 
      # adding the `-m68020' flag to GCC prevents building anything better,
12456
 
      # like `-m68040'.
12457
 
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12458
 
      ;;
12459
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12460
 
      # PIC is the default for these OSes.
12461
 
      ;;
12462
 
    mingw* | cygwin* | os2* | pw32*)
12463
 
      # This hack is so that the source file can tell whether it is being
12464
 
      # built for inclusion in a dll (and should export symbols for example).
12465
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
12466
 
      # (--disable-auto-import) libraries
12467
 
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12468
 
      ;;
12469
 
    darwin* | rhapsody*)
12470
 
      # PIC is the default on this platform
12471
 
      # Common symbols not allowed in MH_DYLIB files
12472
 
      lt_prog_compiler_pic_CXX='-fno-common'
12473
 
      ;;
12474
 
    *djgpp*)
12475
 
      # DJGPP does not support shared libraries at all
12476
 
      lt_prog_compiler_pic_CXX=
12477
 
      ;;
12478
 
    interix[3-9]*)
12479
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12480
 
      # Instead, we relocate shared libraries at runtime.
12481
 
      ;;
12482
 
    sysv4*MP*)
12483
 
      if test -d /usr/nec; then
12484
 
        lt_prog_compiler_pic_CXX=-Kconform_pic
12485
 
      fi
12486
 
      ;;
12487
 
    hpux*)
12488
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12489
 
      # not for PA HP-UX.
12490
 
      case $host_cpu in
12491
 
      hppa*64*|ia64*)
12492
 
        ;;
12493
 
      *)
12494
 
        lt_prog_compiler_pic_CXX='-fPIC'
12495
 
        ;;
12496
 
      esac
12497
 
      ;;
12498
 
    *)
12499
 
      lt_prog_compiler_pic_CXX='-fPIC'
12500
 
      ;;
12501
 
    esac
12502
 
  else
12503
 
    case $host_os in
12504
 
      aix4* | aix5*)
12505
 
        # All AIX code is PIC.
12506
 
        if test "$host_cpu" = ia64; then
12507
 
          # AIX 5 now supports IA64 processor
12508
 
          lt_prog_compiler_static_CXX='-Bstatic'
12509
 
        else
12510
 
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12511
 
        fi
12512
 
        ;;
12513
 
      chorus*)
12514
 
        case $cc_basename in
12515
 
        cxch68*)
12516
 
          # Green Hills C++ Compiler
12517
 
          # _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"
12518
 
          ;;
12519
 
        esac
12520
 
        ;;
12521
 
       darwin*)
12522
 
         # PIC is the default on this platform
12523
 
         # Common symbols not allowed in MH_DYLIB files
12524
 
         case $cc_basename in
12525
 
           xlc*)
12526
 
           lt_prog_compiler_pic_CXX='-qnocommon'
12527
 
           lt_prog_compiler_wl_CXX='-Wl,'
12528
 
           ;;
12529
 
         esac
12530
 
       ;;
12531
 
      dgux*)
12532
 
        case $cc_basename in
12533
 
          ec++*)
12534
 
            lt_prog_compiler_pic_CXX='-KPIC'
12535
 
            ;;
12536
 
          ghcx*)
12537
 
            # Green Hills C++ Compiler
12538
 
            lt_prog_compiler_pic_CXX='-pic'
12539
 
            ;;
12540
 
          *)
12541
 
            ;;
12542
 
        esac
12543
 
        ;;
12544
 
      freebsd* | dragonfly*)
12545
 
        # FreeBSD uses GNU C++
12546
 
        ;;
12547
 
      hpux9* | hpux10* | hpux11*)
12548
 
        case $cc_basename in
12549
 
          CC*)
12550
 
            lt_prog_compiler_wl_CXX='-Wl,'
12551
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12552
 
            if test "$host_cpu" != ia64; then
12553
 
              lt_prog_compiler_pic_CXX='+Z'
12554
 
            fi
12555
 
            ;;
12556
 
          aCC*)
12557
 
            lt_prog_compiler_wl_CXX='-Wl,'
12558
 
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12559
 
            case $host_cpu in
12560
 
            hppa*64*|ia64*)
12561
 
              # +Z the default
12562
 
              ;;
12563
 
            *)
12564
 
              lt_prog_compiler_pic_CXX='+Z'
12565
 
              ;;
12566
 
            esac
12567
 
            ;;
12568
 
          *)
12569
 
            ;;
12570
 
        esac
12571
 
        ;;
12572
 
      interix*)
12573
 
        # This is c89, which is MS Visual C++ (no shared libs)
12574
 
        # Anyone wants to do a port?
12575
 
        ;;
12576
 
      irix5* | irix6* | nonstopux*)
12577
 
        case $cc_basename in
12578
 
          CC*)
12579
 
            lt_prog_compiler_wl_CXX='-Wl,'
12580
 
            lt_prog_compiler_static_CXX='-non_shared'
12581
 
            # CC pic flag -KPIC is the default.
12582
 
            ;;
12583
 
          *)
12584
 
            ;;
12585
 
        esac
12586
 
        ;;
12587
 
      linux* | k*bsd*-gnu)
12588
 
        case $cc_basename in
12589
 
          KCC*)
12590
 
            # KAI C++ Compiler
12591
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12592
 
            lt_prog_compiler_pic_CXX='-fPIC'
12593
 
            ;;
12594
 
          icpc* | ecpc*)
12595
 
            # Intel C++
12596
 
            lt_prog_compiler_wl_CXX='-Wl,'
12597
 
            lt_prog_compiler_pic_CXX='-KPIC'
12598
 
            lt_prog_compiler_static_CXX='-static'
12599
 
            ;;
12600
 
          pgCC*)
12601
 
            # Portland Group C++ compiler.
12602
 
            lt_prog_compiler_wl_CXX='-Wl,'
12603
 
            lt_prog_compiler_pic_CXX='-fpic'
12604
 
            lt_prog_compiler_static_CXX='-Bstatic'
12605
 
            ;;
12606
 
          cxx*)
12607
 
            # Compaq C++
12608
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12609
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12610
 
            lt_prog_compiler_pic_CXX=
12611
 
            lt_prog_compiler_static_CXX='-non_shared'
12612
 
            ;;
12613
 
          *)
12614
 
            case `$CC -V 2>&1 | sed 5q` in
12615
 
            *Sun\ C*)
12616
 
              # Sun C++ 5.9
12617
 
              lt_prog_compiler_pic_CXX='-KPIC'
12618
 
              lt_prog_compiler_static_CXX='-Bstatic'
12619
 
              lt_prog_compiler_wl_CXX='-Qoption ld '
12620
 
              ;;
12621
 
            esac
12622
 
            ;;
12623
 
        esac
12624
 
        ;;
12625
 
      lynxos*)
12626
 
        ;;
12627
 
      m88k*)
12628
 
        ;;
12629
 
      mvs*)
12630
 
        case $cc_basename in
12631
 
          cxx*)
12632
 
            lt_prog_compiler_pic_CXX='-W c,exportall'
12633
 
            ;;
12634
 
          *)
12635
 
            ;;
12636
 
        esac
12637
 
        ;;
12638
 
      netbsd* | netbsdelf*-gnu)
12639
 
        ;;
12640
 
      osf3* | osf4* | osf5*)
12641
 
        case $cc_basename in
12642
 
          KCC*)
12643
 
            lt_prog_compiler_wl_CXX='--backend -Wl,'
12644
 
            ;;
12645
 
          RCC*)
12646
 
            # Rational C++ 2.4.1
12647
 
            lt_prog_compiler_pic_CXX='-pic'
12648
 
            ;;
12649
 
          cxx*)
12650
 
            # Digital/Compaq C++
12651
 
            lt_prog_compiler_wl_CXX='-Wl,'
12652
 
            # Make sure the PIC flag is empty.  It appears that all Alpha
12653
 
            # Linux and Compaq Tru64 Unix objects are PIC.
12654
 
            lt_prog_compiler_pic_CXX=
12655
 
            lt_prog_compiler_static_CXX='-non_shared'
12656
 
            ;;
12657
 
          *)
12658
 
            ;;
12659
 
        esac
12660
 
        ;;
12661
 
      psos*)
12662
 
        ;;
12663
 
      solaris*)
12664
 
        case $cc_basename in
12665
 
          CC*)
12666
 
            # Sun C++ 4.2, 5.x and Centerline C++
12667
 
            lt_prog_compiler_pic_CXX='-KPIC'
12668
 
            lt_prog_compiler_static_CXX='-Bstatic'
12669
 
            lt_prog_compiler_wl_CXX='-Qoption ld '
12670
 
            ;;
12671
 
          gcx*)
12672
 
            # Green Hills C++ Compiler
12673
 
            lt_prog_compiler_pic_CXX='-PIC'
12674
 
            ;;
12675
 
          *)
12676
 
            ;;
12677
 
        esac
12678
 
        ;;
12679
 
      sunos4*)
12680
 
        case $cc_basename in
12681
 
          CC*)
12682
 
            # Sun C++ 4.x
12683
 
            lt_prog_compiler_pic_CXX='-pic'
12684
 
            lt_prog_compiler_static_CXX='-Bstatic'
12685
 
            ;;
12686
 
          lcc*)
12687
 
            # Lucid
12688
 
            lt_prog_compiler_pic_CXX='-pic'
12689
 
            ;;
12690
 
          *)
12691
 
            ;;
12692
 
        esac
12693
 
        ;;
12694
 
      tandem*)
12695
 
        case $cc_basename in
12696
 
          NCC*)
12697
 
            # NonStop-UX NCC 3.20
12698
 
            lt_prog_compiler_pic_CXX='-KPIC'
12699
 
            ;;
12700
 
          *)
12701
 
            ;;
12702
 
        esac
12703
 
        ;;
12704
 
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12705
 
        case $cc_basename in
12706
 
          CC*)
12707
 
            lt_prog_compiler_wl_CXX='-Wl,'
12708
 
            lt_prog_compiler_pic_CXX='-KPIC'
12709
 
            lt_prog_compiler_static_CXX='-Bstatic'
12710
 
            ;;
12711
 
        esac
12712
 
        ;;
12713
 
      vxworks*)
12714
 
        ;;
12715
 
      *)
12716
 
        lt_prog_compiler_can_build_shared_CXX=no
12717
 
        ;;
12718
 
    esac
12719
 
  fi
12720
 
 
12721
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12722
 
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12723
 
 
12724
 
#
12725
 
# Check to make sure the PIC flag actually works.
12726
 
#
12727
 
if test -n "$lt_prog_compiler_pic_CXX"; then
12728
 
 
12729
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12730
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12731
 
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12732
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12733
 
else
12734
 
  lt_prog_compiler_pic_works_CXX=no
12735
 
  ac_outfile=conftest.$ac_objext
12736
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12737
 
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12738
 
   # Insert the option either (1) after the last *FLAGS variable, or
12739
 
   # (2) before a word containing "conftest.", or (3) at the end.
12740
 
   # Note that $ac_compile itself does not contain backslashes and begins
12741
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12742
 
   # The option is referenced via a variable to avoid confusing sed.
12743
 
   lt_compile=`echo "$ac_compile" | $SED \
12744
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12745
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12746
 
   -e 's:$: $lt_compiler_flag:'`
12747
 
   (eval echo "\"\$as_me:12747: $lt_compile\"" >&5)
12748
 
   (eval "$lt_compile" 2>conftest.err)
12749
 
   ac_status=$?
12750
 
   cat conftest.err >&5
12751
 
   echo "$as_me:12751: \$? = $ac_status" >&5
12752
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
12753
 
     # The compiler can only warn and ignore the option if not recognized
12754
 
     # So say no if there are warnings other than the usual output.
12755
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12756
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12757
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12758
 
       lt_prog_compiler_pic_works_CXX=yes
12759
 
     fi
12760
 
   fi
12761
 
   $rm conftest*
12762
 
 
12763
 
fi
12764
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12765
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12766
 
 
12767
 
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12768
 
    case $lt_prog_compiler_pic_CXX in
12769
 
     "" | " "*) ;;
12770
 
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12771
 
     esac
12772
 
else
12773
 
    lt_prog_compiler_pic_CXX=
12774
 
     lt_prog_compiler_can_build_shared_CXX=no
12775
 
fi
12776
 
 
12777
 
fi
12778
 
case $host_os in
12779
 
  # For platforms which do not support PIC, -DPIC is meaningless:
12780
 
  *djgpp*)
12781
 
    lt_prog_compiler_pic_CXX=
12782
 
    ;;
12783
 
  *)
12784
 
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12785
 
    ;;
12786
 
esac
12787
 
 
12788
 
#
12789
 
# Check to make sure the static flag actually works.
12790
 
#
12791
 
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12792
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12793
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12794
 
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12795
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12796
 
else
12797
 
  lt_prog_compiler_static_works_CXX=no
12798
 
   save_LDFLAGS="$LDFLAGS"
12799
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12800
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12801
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12802
 
     # The linker can only warn and ignore the option if not recognized
12803
 
     # So say no if there are warnings
12804
 
     if test -s conftest.err; then
12805
 
       # Append any errors to the config.log.
12806
 
       cat conftest.err 1>&5
12807
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12808
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12809
 
       if diff conftest.exp conftest.er2 >/dev/null; then
12810
 
         lt_prog_compiler_static_works_CXX=yes
12811
 
       fi
12812
 
     else
12813
 
       lt_prog_compiler_static_works_CXX=yes
12814
 
     fi
12815
 
   fi
12816
 
   $rm conftest*
12817
 
   LDFLAGS="$save_LDFLAGS"
12818
 
 
12819
 
fi
12820
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12821
 
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12822
 
 
12823
 
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12824
 
    :
12825
 
else
12826
 
    lt_prog_compiler_static_CXX=
12827
 
fi
12828
 
 
12829
 
 
12830
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12831
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12832
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12833
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
12834
 
else
12835
 
  lt_cv_prog_compiler_c_o_CXX=no
12836
 
   $rm -r conftest 2>/dev/null
12837
 
   mkdir conftest
12838
 
   cd conftest
12839
 
   mkdir out
12840
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12841
 
 
12842
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12843
 
   # Insert the option either (1) after the last *FLAGS variable, or
12844
 
   # (2) before a word containing "conftest.", or (3) at the end.
12845
 
   # Note that $ac_compile itself does not contain backslashes and begins
12846
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
12847
 
   lt_compile=`echo "$ac_compile" | $SED \
12848
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12849
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12850
 
   -e 's:$: $lt_compiler_flag:'`
12851
 
   (eval echo "\"\$as_me:12851: $lt_compile\"" >&5)
12852
 
   (eval "$lt_compile" 2>out/conftest.err)
12853
 
   ac_status=$?
12854
 
   cat out/conftest.err >&5
12855
 
   echo "$as_me:12855: \$? = $ac_status" >&5
12856
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12857
 
   then
12858
 
     # The compiler can only warn and ignore the option if not recognized
12859
 
     # So say no if there are warnings
12860
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12861
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12862
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12863
 
       lt_cv_prog_compiler_c_o_CXX=yes
12864
 
     fi
12865
 
   fi
12866
 
   chmod u+w . 2>&5
12867
 
   $rm conftest*
12868
 
   # SGI C++ compiler will create directory out/ii_files/ for
12869
 
   # template instantiation
12870
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12871
 
   $rm out/* && rmdir out
12872
 
   cd ..
12873
 
   rmdir conftest
12874
 
   $rm conftest*
12875
 
 
12876
 
fi
12877
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12878
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12879
 
 
12880
 
 
12881
 
hard_links="nottested"
12882
 
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12883
 
  # do not overwrite the value of need_locks provided by the user
12884
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12885
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12886
 
  hard_links=yes
12887
 
  $rm conftest*
12888
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12889
 
  touch conftest.a
12890
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
12891
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
12892
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
12893
 
echo "${ECHO_T}$hard_links" >&6; }
12894
 
  if test "$hard_links" = no; then
12895
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12896
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12897
 
    need_locks=warn
12898
 
  fi
12899
 
else
12900
 
  need_locks=no
12901
 
fi
12902
 
 
12903
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12904
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12905
 
 
12906
 
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12907
 
  case $host_os in
12908
 
  aix4* | aix5*)
12909
 
    # If we're using GNU nm, then we don't want the "-C" option.
12910
 
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
12911
 
    if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12912
 
      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'
12913
 
    else
12914
 
      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'
12915
 
    fi
12916
 
    ;;
12917
 
  pw32*)
12918
 
    export_symbols_cmds_CXX="$ltdll_cmds"
12919
 
  ;;
12920
 
  cygwin* | mingw*)
12921
 
    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'
12922
 
  ;;
12923
 
  linux* | k*bsd*-gnu)
12924
 
    link_all_deplibs_CXX=no
12925
 
  ;;
12926
 
  *)
12927
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12928
 
  ;;
12929
 
  esac
12930
 
 
12931
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12932
 
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12933
 
test "$ld_shlibs_CXX" = no && can_build_shared=no
12934
 
 
12935
 
#
12936
 
# Do we need to explicitly link libc?
12937
 
#
12938
 
case "x$archive_cmds_need_lc_CXX" in
12939
 
x|xyes)
12940
 
  # Assume -lc should be added
12941
 
  archive_cmds_need_lc_CXX=yes
12942
 
 
12943
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
12944
 
    case $archive_cmds_CXX in
12945
 
    *'~'*)
12946
 
      # FIXME: we may have to deal with multi-command sequences.
12947
 
      ;;
12948
 
    '$CC '*)
12949
 
      # Test whether the compiler implicitly links with -lc since on some
12950
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12951
 
      # to ld, don't add -lc before -lgcc.
12952
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12953
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12954
 
      $rm conftest*
12955
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12956
 
 
12957
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12958
 
  (eval $ac_compile) 2>&5
12959
 
  ac_status=$?
12960
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12961
 
  (exit $ac_status); } 2>conftest.err; then
12962
 
        soname=conftest
12963
 
        lib=conftest
12964
 
        libobjs=conftest.$ac_objext
12965
 
        deplibs=
12966
 
        wl=$lt_prog_compiler_wl_CXX
12967
 
        pic_flag=$lt_prog_compiler_pic_CXX
12968
 
        compiler_flags=-v
12969
 
        linker_flags=-v
12970
 
        verstring=
12971
 
        output_objdir=.
12972
 
        libname=conftest
12973
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12974
 
        allow_undefined_flag_CXX=
12975
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12976
 
  (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12977
 
  ac_status=$?
12978
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12979
 
  (exit $ac_status); }
12980
 
        then
12981
 
          archive_cmds_need_lc_CXX=no
12982
 
        else
12983
 
          archive_cmds_need_lc_CXX=yes
12984
 
        fi
12985
 
        allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12986
 
      else
12987
 
        cat conftest.err 1>&5
12988
 
      fi
12989
 
      $rm conftest*
12990
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12991
 
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12992
 
      ;;
12993
 
    esac
12994
 
  fi
12995
 
  ;;
12996
 
esac
12997
 
 
12998
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12999
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
13000
 
library_names_spec=
13001
 
libname_spec='lib$name'
13002
 
soname_spec=
13003
 
shrext_cmds=".so"
13004
 
postinstall_cmds=
13005
 
postuninstall_cmds=
13006
 
finish_cmds=
13007
 
finish_eval=
13008
 
shlibpath_var=
13009
 
shlibpath_overrides_runpath=unknown
13010
 
version_type=none
13011
 
dynamic_linker="$host_os ld.so"
13012
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13013
 
 
13014
 
need_lib_prefix=unknown
13015
 
hardcode_into_libs=no
13016
 
 
13017
 
# when you set need_version to no, make sure it does not cause -set_version
13018
 
# flags to be left without arguments
13019
 
need_version=unknown
13020
 
 
13021
 
case $host_os in
13022
 
aix3*)
13023
 
  version_type=linux
13024
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13025
 
  shlibpath_var=LIBPATH
13026
 
 
13027
 
  # AIX 3 has no versioning support, so we append a major version to the name.
13028
 
  soname_spec='${libname}${release}${shared_ext}$major'
13029
 
  ;;
13030
 
 
13031
 
aix4* | aix5*)
13032
 
  version_type=linux
13033
 
  need_lib_prefix=no
13034
 
  need_version=no
13035
 
  hardcode_into_libs=yes
13036
 
  if test "$host_cpu" = ia64; then
13037
 
    # AIX 5 supports IA64
13038
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13039
 
    shlibpath_var=LD_LIBRARY_PATH
13040
 
  else
13041
 
    # With GCC up to 2.95.x, collect2 would create an import file
13042
 
    # for dependence libraries.  The import file would start with
13043
 
    # the line `#! .'.  This would cause the generated library to
13044
 
    # depend on `.', always an invalid library.  This was fixed in
13045
 
    # development snapshots of GCC prior to 3.0.
13046
 
    case $host_os in
13047
 
      aix4 | aix4.[01] | aix4.[01].*)
13048
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13049
 
           echo ' yes '
13050
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
13051
 
        :
13052
 
      else
13053
 
        can_build_shared=no
13054
 
      fi
13055
 
      ;;
13056
 
    esac
13057
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13058
 
    # soname into executable. Probably we can add versioning support to
13059
 
    # collect2, so additional links can be useful in future.
13060
 
    if test "$aix_use_runtimelinking" = yes; then
13061
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13062
 
      # instead of lib<name>.a to let people know that these are not
13063
 
      # typical AIX shared libraries.
13064
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13065
 
    else
13066
 
      # We preserve .a as extension for shared libraries through AIX4.2
13067
 
      # and later when we are not doing run time linking.
13068
 
      library_names_spec='${libname}${release}.a $libname.a'
13069
 
      soname_spec='${libname}${release}${shared_ext}$major'
13070
 
    fi
13071
 
    shlibpath_var=LIBPATH
13072
 
  fi
13073
 
  ;;
13074
 
 
13075
 
amigaos*)
13076
 
  library_names_spec='$libname.ixlibrary $libname.a'
13077
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
13078
 
  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'
13079
 
  ;;
13080
 
 
13081
 
beos*)
13082
 
  library_names_spec='${libname}${shared_ext}'
13083
 
  dynamic_linker="$host_os ld.so"
13084
 
  shlibpath_var=LIBRARY_PATH
13085
 
  ;;
13086
 
 
13087
 
bsdi[45]*)
13088
 
  version_type=linux
13089
 
  need_version=no
13090
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13091
 
  soname_spec='${libname}${release}${shared_ext}$major'
13092
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13093
 
  shlibpath_var=LD_LIBRARY_PATH
13094
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13095
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13096
 
  # the default ld.so.conf also contains /usr/contrib/lib and
13097
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13098
 
  # libtool to hard-code these into programs
13099
 
  ;;
13100
 
 
13101
 
cygwin* | mingw* | pw32*)
13102
 
  version_type=windows
13103
 
  shrext_cmds=".dll"
13104
 
  need_version=no
13105
 
  need_lib_prefix=no
13106
 
 
13107
 
  case $GCC,$host_os in
13108
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
13109
 
    library_names_spec='$libname.dll.a'
13110
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
13111
 
    postinstall_cmds='base_file=`basename \${file}`~
13112
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13113
 
      dldir=$destdir/`dirname \$dlpath`~
13114
 
      test -d \$dldir || mkdir -p \$dldir~
13115
 
      $install_prog $dir/$dlname \$dldir/$dlname~
13116
 
      chmod a+x \$dldir/$dlname'
13117
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13118
 
      dlpath=$dir/\$dldll~
13119
 
       $rm \$dlpath'
13120
 
    shlibpath_overrides_runpath=yes
13121
 
 
13122
 
    case $host_os in
13123
 
    cygwin*)
13124
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13125
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13126
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13127
 
      ;;
13128
 
    mingw*)
13129
 
      # MinGW DLLs use traditional 'lib' prefix
13130
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13131
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13132
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
13133
 
        # It is most probably a Windows format PATH printed by
13134
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
13135
 
        # path with ; separators, and with drive letters. We can handle the
13136
 
        # drive letters (cygwin fileutils understands them), so leave them,
13137
 
        # especially as we might pass files found there to a mingw objdump,
13138
 
        # which wouldn't understand a cygwinified path. Ahh.
13139
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13140
 
      else
13141
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13142
 
      fi
13143
 
      ;;
13144
 
    pw32*)
13145
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
13146
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13147
 
      ;;
13148
 
    esac
13149
 
    ;;
13150
 
 
13151
 
  *)
13152
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13153
 
    ;;
13154
 
  esac
13155
 
  dynamic_linker='Win32 ld.exe'
13156
 
  # FIXME: first we should search . and the directory the executable is in
13157
 
  shlibpath_var=PATH
13158
 
  ;;
13159
 
 
13160
 
darwin* | rhapsody*)
13161
 
  dynamic_linker="$host_os dyld"
13162
 
  version_type=darwin
13163
 
  need_lib_prefix=no
13164
 
  need_version=no
13165
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13166
 
  soname_spec='${libname}${release}${major}$shared_ext'
13167
 
  shlibpath_overrides_runpath=yes
13168
 
  shlibpath_var=DYLD_LIBRARY_PATH
13169
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13170
 
 
13171
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13172
 
  ;;
13173
 
 
13174
 
dgux*)
13175
 
  version_type=linux
13176
 
  need_lib_prefix=no
13177
 
  need_version=no
13178
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13179
 
  soname_spec='${libname}${release}${shared_ext}$major'
13180
 
  shlibpath_var=LD_LIBRARY_PATH
13181
 
  ;;
13182
 
 
13183
 
freebsd1*)
13184
 
  dynamic_linker=no
13185
 
  ;;
13186
 
 
13187
 
freebsd* | dragonfly*)
13188
 
  # DragonFly does not have aout.  When/if they implement a new
13189
 
  # versioning mechanism, adjust this.
13190
 
  if test -x /usr/bin/objformat; then
13191
 
    objformat=`/usr/bin/objformat`
13192
 
  else
13193
 
    case $host_os in
13194
 
    freebsd[123]*) objformat=aout ;;
13195
 
    *) objformat=elf ;;
13196
 
    esac
13197
 
  fi
13198
 
  version_type=freebsd-$objformat
13199
 
  case $version_type in
13200
 
    freebsd-elf*)
13201
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13202
 
      need_version=no
13203
 
      need_lib_prefix=no
13204
 
      ;;
13205
 
    freebsd-*)
13206
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13207
 
      need_version=yes
13208
 
      ;;
13209
 
  esac
13210
 
  shlibpath_var=LD_LIBRARY_PATH
13211
 
  case $host_os in
13212
 
  freebsd2*)
13213
 
    shlibpath_overrides_runpath=yes
13214
 
    ;;
13215
 
  freebsd3.[01]* | freebsdelf3.[01]*)
13216
 
    shlibpath_overrides_runpath=yes
13217
 
    hardcode_into_libs=yes
13218
 
    ;;
13219
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13220
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13221
 
    shlibpath_overrides_runpath=no
13222
 
    hardcode_into_libs=yes
13223
 
    ;;
13224
 
  *) # from 4.6 on, and DragonFly
13225
 
    shlibpath_overrides_runpath=yes
13226
 
    hardcode_into_libs=yes
13227
 
    ;;
13228
 
  esac
13229
 
  ;;
13230
 
 
13231
 
gnu*)
13232
 
  version_type=linux
13233
 
  need_lib_prefix=no
13234
 
  need_version=no
13235
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13236
 
  soname_spec='${libname}${release}${shared_ext}$major'
13237
 
  shlibpath_var=LD_LIBRARY_PATH
13238
 
  hardcode_into_libs=yes
13239
 
  ;;
13240
 
 
13241
 
hpux9* | hpux10* | hpux11*)
13242
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
13243
 
  # link against other versions.
13244
 
  version_type=sunos
13245
 
  need_lib_prefix=no
13246
 
  need_version=no
13247
 
  case $host_cpu in
13248
 
  ia64*)
13249
 
    shrext_cmds='.so'
13250
 
    hardcode_into_libs=yes
13251
 
    dynamic_linker="$host_os dld.so"
13252
 
    shlibpath_var=LD_LIBRARY_PATH
13253
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13254
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13255
 
    soname_spec='${libname}${release}${shared_ext}$major'
13256
 
    if test "X$HPUX_IA64_MODE" = X32; then
13257
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13258
 
    else
13259
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13260
 
    fi
13261
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13262
 
    ;;
13263
 
   hppa*64*)
13264
 
     shrext_cmds='.sl'
13265
 
     hardcode_into_libs=yes
13266
 
     dynamic_linker="$host_os dld.sl"
13267
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13268
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13269
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13270
 
     soname_spec='${libname}${release}${shared_ext}$major'
13271
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13272
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13273
 
     ;;
13274
 
   *)
13275
 
    shrext_cmds='.sl'
13276
 
    dynamic_linker="$host_os dld.sl"
13277
 
    shlibpath_var=SHLIB_PATH
13278
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13279
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13280
 
    soname_spec='${libname}${release}${shared_ext}$major'
13281
 
    ;;
13282
 
  esac
13283
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
13284
 
  postinstall_cmds='chmod 555 $lib'
13285
 
  ;;
13286
 
 
13287
 
interix[3-9]*)
13288
 
  version_type=linux
13289
 
  need_lib_prefix=no
13290
 
  need_version=no
13291
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13292
 
  soname_spec='${libname}${release}${shared_ext}$major'
13293
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13294
 
  shlibpath_var=LD_LIBRARY_PATH
13295
 
  shlibpath_overrides_runpath=no
13296
 
  hardcode_into_libs=yes
13297
 
  ;;
13298
 
 
13299
 
irix5* | irix6* | nonstopux*)
13300
 
  case $host_os in
13301
 
    nonstopux*) version_type=nonstopux ;;
13302
 
    *)
13303
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
13304
 
                version_type=linux
13305
 
        else
13306
 
                version_type=irix
13307
 
        fi ;;
13308
 
  esac
13309
 
  need_lib_prefix=no
13310
 
  need_version=no
13311
 
  soname_spec='${libname}${release}${shared_ext}$major'
13312
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13313
 
  case $host_os in
13314
 
  irix5* | nonstopux*)
13315
 
    libsuff= shlibsuff=
13316
 
    ;;
13317
 
  *)
13318
 
    case $LD in # libtool.m4 will add one of these switches to LD
13319
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13320
 
      libsuff= shlibsuff= libmagic=32-bit;;
13321
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13322
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
13323
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13324
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
13325
 
    *) libsuff= shlibsuff= libmagic=never-match;;
13326
 
    esac
13327
 
    ;;
13328
 
  esac
13329
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13330
 
  shlibpath_overrides_runpath=no
13331
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13332
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13333
 
  hardcode_into_libs=yes
13334
 
  ;;
13335
 
 
13336
 
# No shared lib support for Linux oldld, aout, or coff.
13337
 
linux*oldld* | linux*aout* | linux*coff*)
13338
 
  dynamic_linker=no
13339
 
  ;;
13340
 
 
13341
 
# This must be Linux ELF.
13342
 
linux* | k*bsd*-gnu)
13343
 
  version_type=linux
13344
 
  need_lib_prefix=no
13345
 
  need_version=no
13346
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13347
 
  soname_spec='${libname}${release}${shared_ext}$major'
13348
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13349
 
  shlibpath_var=LD_LIBRARY_PATH
13350
 
  shlibpath_overrides_runpath=no
13351
 
  # This implies no fast_install, which is unacceptable.
13352
 
  # Some rework will be needed to allow for fast_install
13353
 
  # before this can be enabled.
13354
 
  hardcode_into_libs=yes
13355
 
 
13356
 
  # Append ld.so.conf contents to the search path
13357
 
  if test -f /etc/ld.so.conf; then
13358
 
    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' ' '`
13359
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13360
 
  fi
13361
 
 
13362
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
13363
 
  # powerpc, because MkLinux only supported shared libraries with the
13364
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
13365
 
  # most powerpc-linux boxes support dynamic linking these days and
13366
 
  # people can always --disable-shared, the test was removed, and we
13367
 
  # assume the GNU/Linux dynamic linker is in use.
13368
 
  dynamic_linker='GNU/Linux ld.so'
13369
 
  ;;
13370
 
 
13371
 
netbsdelf*-gnu)
13372
 
  version_type=linux
13373
 
  need_lib_prefix=no
13374
 
  need_version=no
13375
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13376
 
  soname_spec='${libname}${release}${shared_ext}$major'
13377
 
  shlibpath_var=LD_LIBRARY_PATH
13378
 
  shlibpath_overrides_runpath=no
13379
 
  hardcode_into_libs=yes
13380
 
  dynamic_linker='NetBSD ld.elf_so'
13381
 
  ;;
13382
 
 
13383
 
netbsd*)
13384
 
  version_type=sunos
13385
 
  need_lib_prefix=no
13386
 
  need_version=no
13387
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13388
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13389
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13390
 
    dynamic_linker='NetBSD (a.out) ld.so'
13391
 
  else
13392
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13393
 
    soname_spec='${libname}${release}${shared_ext}$major'
13394
 
    dynamic_linker='NetBSD ld.elf_so'
13395
 
  fi
13396
 
  shlibpath_var=LD_LIBRARY_PATH
13397
 
  shlibpath_overrides_runpath=yes
13398
 
  hardcode_into_libs=yes
13399
 
  ;;
13400
 
 
13401
 
newsos6)
13402
 
  version_type=linux
13403
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13404
 
  shlibpath_var=LD_LIBRARY_PATH
13405
 
  shlibpath_overrides_runpath=yes
13406
 
  ;;
13407
 
 
13408
 
nto-qnx*)
13409
 
  version_type=linux
13410
 
  need_lib_prefix=no
13411
 
  need_version=no
13412
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13413
 
  soname_spec='${libname}${release}${shared_ext}$major'
13414
 
  shlibpath_var=LD_LIBRARY_PATH
13415
 
  shlibpath_overrides_runpath=yes
13416
 
  ;;
13417
 
 
13418
 
openbsd*)
13419
 
  version_type=sunos
13420
 
  sys_lib_dlsearch_path_spec="/usr/lib"
13421
 
  need_lib_prefix=no
13422
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13423
 
  case $host_os in
13424
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13425
 
    *)                         need_version=no  ;;
13426
 
  esac
13427
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13428
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13429
 
  shlibpath_var=LD_LIBRARY_PATH
13430
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13431
 
    case $host_os in
13432
 
      openbsd2.[89] | openbsd2.[89].*)
13433
 
        shlibpath_overrides_runpath=no
13434
 
        ;;
13435
 
      *)
13436
 
        shlibpath_overrides_runpath=yes
13437
 
        ;;
13438
 
      esac
13439
 
  else
13440
 
    shlibpath_overrides_runpath=yes
13441
 
  fi
13442
 
  ;;
13443
 
 
13444
 
os2*)
13445
 
  libname_spec='$name'
13446
 
  shrext_cmds=".dll"
13447
 
  need_lib_prefix=no
13448
 
  library_names_spec='$libname${shared_ext} $libname.a'
13449
 
  dynamic_linker='OS/2 ld.exe'
13450
 
  shlibpath_var=LIBPATH
13451
 
  ;;
13452
 
 
13453
 
osf3* | osf4* | osf5*)
13454
 
  version_type=osf
13455
 
  need_lib_prefix=no
13456
 
  need_version=no
13457
 
  soname_spec='${libname}${release}${shared_ext}$major'
13458
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13459
 
  shlibpath_var=LD_LIBRARY_PATH
13460
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13461
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13462
 
  ;;
13463
 
 
13464
 
rdos*)
13465
 
  dynamic_linker=no
13466
 
  ;;
13467
 
 
13468
 
solaris*)
13469
 
  version_type=linux
13470
 
  need_lib_prefix=no
13471
 
  need_version=no
13472
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13473
 
  soname_spec='${libname}${release}${shared_ext}$major'
13474
 
  shlibpath_var=LD_LIBRARY_PATH
13475
 
  shlibpath_overrides_runpath=yes
13476
 
  hardcode_into_libs=yes
13477
 
  # ldd complains unless libraries are executable
13478
 
  postinstall_cmds='chmod +x $lib'
13479
 
  ;;
13480
 
 
13481
 
sunos4*)
13482
 
  version_type=sunos
13483
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13484
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13485
 
  shlibpath_var=LD_LIBRARY_PATH
13486
 
  shlibpath_overrides_runpath=yes
13487
 
  if test "$with_gnu_ld" = yes; then
13488
 
    need_lib_prefix=no
13489
 
  fi
13490
 
  need_version=yes
13491
 
  ;;
13492
 
 
13493
 
sysv4 | sysv4.3*)
13494
 
  version_type=linux
13495
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13496
 
  soname_spec='${libname}${release}${shared_ext}$major'
13497
 
  shlibpath_var=LD_LIBRARY_PATH
13498
 
  case $host_vendor in
13499
 
    sni)
13500
 
      shlibpath_overrides_runpath=no
13501
 
      need_lib_prefix=no
13502
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
13503
 
      runpath_var=LD_RUN_PATH
13504
 
      ;;
13505
 
    siemens)
13506
 
      need_lib_prefix=no
13507
 
      ;;
13508
 
    motorola)
13509
 
      need_lib_prefix=no
13510
 
      need_version=no
13511
 
      shlibpath_overrides_runpath=no
13512
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13513
 
      ;;
13514
 
  esac
13515
 
  ;;
13516
 
 
13517
 
sysv4*MP*)
13518
 
  if test -d /usr/nec ;then
13519
 
    version_type=linux
13520
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13521
 
    soname_spec='$libname${shared_ext}.$major'
13522
 
    shlibpath_var=LD_LIBRARY_PATH
13523
 
  fi
13524
 
  ;;
13525
 
 
13526
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13527
 
  version_type=freebsd-elf
13528
 
  need_lib_prefix=no
13529
 
  need_version=no
13530
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13531
 
  soname_spec='${libname}${release}${shared_ext}$major'
13532
 
  shlibpath_var=LD_LIBRARY_PATH
13533
 
  hardcode_into_libs=yes
13534
 
  if test "$with_gnu_ld" = yes; then
13535
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13536
 
    shlibpath_overrides_runpath=no
13537
 
  else
13538
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13539
 
    shlibpath_overrides_runpath=yes
13540
 
    case $host_os in
13541
 
      sco3.2v5*)
13542
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13543
 
        ;;
13544
 
    esac
13545
 
  fi
13546
 
  sys_lib_dlsearch_path_spec='/usr/lib'
13547
 
  ;;
13548
 
 
13549
 
uts4*)
13550
 
  version_type=linux
13551
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13552
 
  soname_spec='${libname}${release}${shared_ext}$major'
13553
 
  shlibpath_var=LD_LIBRARY_PATH
13554
 
  ;;
13555
 
 
13556
 
*)
13557
 
  dynamic_linker=no
13558
 
  ;;
13559
 
esac
13560
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13561
 
echo "${ECHO_T}$dynamic_linker" >&6; }
13562
 
test "$dynamic_linker" = no && can_build_shared=no
13563
 
 
13564
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13565
 
if test "$GCC" = yes; then
13566
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13567
 
fi
13568
 
 
13569
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13570
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13571
 
hardcode_action_CXX=
13572
 
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13573
 
   test -n "$runpath_var_CXX" || \
13574
 
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
13575
 
 
13576
 
  # We can hardcode non-existant directories.
13577
 
  if test "$hardcode_direct_CXX" != no &&
13578
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13579
 
     # have to relink, otherwise we might link with an installed library
13580
 
     # when we should be linking with a yet-to-be-installed one
13581
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13582
 
     test "$hardcode_minus_L_CXX" != no; then
13583
 
    # Linking always hardcodes the temporary library directory.
13584
 
    hardcode_action_CXX=relink
13585
 
  else
13586
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13587
 
    hardcode_action_CXX=immediate
13588
 
  fi
13589
 
else
13590
 
  # We cannot hardcode anything, or else we can only hardcode existing
13591
 
  # directories.
13592
 
  hardcode_action_CXX=unsupported
13593
 
fi
13594
 
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13595
 
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13596
 
 
13597
 
if test "$hardcode_action_CXX" = relink; then
13598
 
  # Fast installation is not supported
13599
 
  enable_fast_install=no
13600
 
elif test "$shlibpath_overrides_runpath" = yes ||
13601
 
     test "$enable_shared" = no; then
13602
 
  # Fast installation is not necessary
13603
 
  enable_fast_install=needless
13604
 
fi
13605
 
 
13606
 
 
13607
 
# The else clause should only fire when bootstrapping the
13608
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
13609
 
# with your package, and you will get complaints that there are
13610
 
# no rules to generate ltmain.sh.
13611
 
if test -f "$ltmain"; then
13612
 
  # See if we are running on zsh, and set the options which allow our commands through
13613
 
  # without removal of \ escapes.
13614
 
  if test -n "${ZSH_VERSION+set}" ; then
13615
 
    setopt NO_GLOB_SUBST
13616
 
  fi
13617
 
  # Now quote all the things that may contain metacharacters while being
13618
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
13619
 
  # variables and quote the copies for generation of the libtool script.
13620
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13621
 
    SED SHELL STRIP \
13622
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13623
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13624
 
    deplibs_check_method reload_flag reload_cmds need_locks \
13625
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13626
 
    lt_cv_sys_global_symbol_to_c_name_address \
13627
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13628
 
    old_postinstall_cmds old_postuninstall_cmds \
13629
 
    compiler_CXX \
13630
 
    CC_CXX \
13631
 
    LD_CXX \
13632
 
    lt_prog_compiler_wl_CXX \
13633
 
    lt_prog_compiler_pic_CXX \
13634
 
    lt_prog_compiler_static_CXX \
13635
 
    lt_prog_compiler_no_builtin_flag_CXX \
13636
 
    export_dynamic_flag_spec_CXX \
13637
 
    thread_safe_flag_spec_CXX \
13638
 
    whole_archive_flag_spec_CXX \
13639
 
    enable_shared_with_static_runtimes_CXX \
13640
 
    old_archive_cmds_CXX \
13641
 
    old_archive_from_new_cmds_CXX \
13642
 
    predep_objects_CXX \
13643
 
    postdep_objects_CXX \
13644
 
    predeps_CXX \
13645
 
    postdeps_CXX \
13646
 
    compiler_lib_search_path_CXX \
13647
 
    archive_cmds_CXX \
13648
 
    archive_expsym_cmds_CXX \
13649
 
    postinstall_cmds_CXX \
13650
 
    postuninstall_cmds_CXX \
13651
 
    old_archive_from_expsyms_cmds_CXX \
13652
 
    allow_undefined_flag_CXX \
13653
 
    no_undefined_flag_CXX \
13654
 
    export_symbols_cmds_CXX \
13655
 
    hardcode_libdir_flag_spec_CXX \
13656
 
    hardcode_libdir_flag_spec_ld_CXX \
13657
 
    hardcode_libdir_separator_CXX \
13658
 
    hardcode_automatic_CXX \
13659
 
    module_cmds_CXX \
13660
 
    module_expsym_cmds_CXX \
13661
 
    lt_cv_prog_compiler_c_o_CXX \
13662
 
    fix_srcfile_path_CXX \
13663
 
    exclude_expsyms_CXX \
13664
 
    include_expsyms_CXX; do
13665
 
 
13666
 
    case $var in
13667
 
    old_archive_cmds_CXX | \
13668
 
    old_archive_from_new_cmds_CXX | \
13669
 
    archive_cmds_CXX | \
13670
 
    archive_expsym_cmds_CXX | \
13671
 
    module_cmds_CXX | \
13672
 
    module_expsym_cmds_CXX | \
13673
 
    old_archive_from_expsyms_cmds_CXX | \
13674
 
    export_symbols_cmds_CXX | \
13675
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
13676
 
    postinstall_cmds | postuninstall_cmds | \
13677
 
    old_postinstall_cmds | old_postuninstall_cmds | \
13678
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13679
 
      # Double-quote double-evaled strings.
13680
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13681
 
      ;;
13682
 
    *)
13683
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13684
 
      ;;
13685
 
    esac
13686
 
  done
13687
 
 
13688
 
  case $lt_echo in
13689
 
  *'\$0 --fallback-echo"')
13690
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13691
 
    ;;
13692
 
  esac
13693
 
 
13694
 
cfgfile="$ofile"
13695
 
 
13696
 
  cat <<__EOF__ >> "$cfgfile"
13697
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13698
 
 
13699
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13700
 
 
13701
 
# Shell to use when invoking shell scripts.
13702
 
SHELL=$lt_SHELL
13703
 
 
13704
 
# Whether or not to build shared libraries.
13705
 
build_libtool_libs=$enable_shared
13706
 
 
13707
 
# Whether or not to build static libraries.
13708
 
build_old_libs=$enable_static
13709
 
 
13710
 
# Whether or not to add -lc for building shared libraries.
13711
 
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13712
 
 
13713
 
# Whether or not to disallow shared libs when runtime libs are static
13714
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13715
 
 
13716
 
# Whether or not to optimize for fast installation.
13717
 
fast_install=$enable_fast_install
13718
 
 
13719
 
# The host system.
13720
 
host_alias=$host_alias
13721
 
host=$host
13722
 
host_os=$host_os
13723
 
 
13724
 
# The build system.
13725
 
build_alias=$build_alias
13726
 
build=$build
13727
 
build_os=$build_os
13728
 
 
13729
 
# An echo program that does not interpret backslashes.
13730
 
echo=$lt_echo
13731
 
 
13732
 
# The archiver.
13733
 
AR=$lt_AR
13734
 
AR_FLAGS=$lt_AR_FLAGS
13735
 
 
13736
 
# A C compiler.
13737
 
LTCC=$lt_LTCC
13738
 
 
13739
 
# LTCC compiler flags.
13740
 
LTCFLAGS=$lt_LTCFLAGS
13741
 
 
13742
 
# A language-specific compiler.
13743
 
CC=$lt_compiler_CXX
13744
 
 
13745
 
# Is the compiler the GNU C compiler?
13746
 
with_gcc=$GCC_CXX
13747
 
 
13748
 
# An ERE matcher.
13749
 
EGREP=$lt_EGREP
13750
 
 
13751
 
# The linker used to build libraries.
13752
 
LD=$lt_LD_CXX
13753
 
 
13754
 
# Whether we need hard or soft links.
13755
 
LN_S=$lt_LN_S
13756
 
 
13757
 
# A BSD-compatible nm program.
13758
 
NM=$lt_NM
13759
 
 
13760
 
# A symbol stripping program
13761
 
STRIP=$lt_STRIP
13762
 
 
13763
 
# Used to examine libraries when file_magic_cmd begins "file"
13764
 
MAGIC_CMD=$MAGIC_CMD
13765
 
 
13766
 
# Used on cygwin: DLL creation program.
13767
 
DLLTOOL="$DLLTOOL"
13768
 
 
13769
 
# Used on cygwin: object dumper.
13770
 
OBJDUMP="$OBJDUMP"
13771
 
 
13772
 
# Used on cygwin: assembler.
13773
 
AS="$AS"
13774
 
 
13775
 
# The name of the directory that contains temporary libtool files.
13776
 
objdir=$objdir
13777
 
 
13778
 
# How to create reloadable object files.
13779
 
reload_flag=$lt_reload_flag
13780
 
reload_cmds=$lt_reload_cmds
13781
 
 
13782
 
# How to pass a linker flag through the compiler.
13783
 
wl=$lt_lt_prog_compiler_wl_CXX
13784
 
 
13785
 
# Object file suffix (normally "o").
13786
 
objext="$ac_objext"
13787
 
 
13788
 
# Old archive suffix (normally "a").
13789
 
libext="$libext"
13790
 
 
13791
 
# Shared library suffix (normally ".so").
13792
 
shrext_cmds='$shrext_cmds'
13793
 
 
13794
 
# Executable file suffix (normally "").
13795
 
exeext="$exeext"
13796
 
 
13797
 
# Additional compiler flags for building library objects.
13798
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
13799
 
pic_mode=$pic_mode
13800
 
 
13801
 
# What is the maximum length of a command?
13802
 
max_cmd_len=$lt_cv_sys_max_cmd_len
13803
 
 
13804
 
# Does compiler simultaneously support -c and -o options?
13805
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13806
 
 
13807
 
# Must we lock files when doing compilation?
13808
 
need_locks=$lt_need_locks
13809
 
 
13810
 
# Do we need the lib prefix for modules?
13811
 
need_lib_prefix=$need_lib_prefix
13812
 
 
13813
 
# Do we need a version for libraries?
13814
 
need_version=$need_version
13815
 
 
13816
 
# Whether dlopen is supported.
13817
 
dlopen_support=$enable_dlopen
13818
 
 
13819
 
# Whether dlopen of programs is supported.
13820
 
dlopen_self=$enable_dlopen_self
13821
 
 
13822
 
# Whether dlopen of statically linked programs is supported.
13823
 
dlopen_self_static=$enable_dlopen_self_static
13824
 
 
13825
 
# Compiler flag to prevent dynamic linking.
13826
 
link_static_flag=$lt_lt_prog_compiler_static_CXX
13827
 
 
13828
 
# Compiler flag to turn off builtin functions.
13829
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13830
 
 
13831
 
# Compiler flag to allow reflexive dlopens.
13832
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13833
 
 
13834
 
# Compiler flag to generate shared objects directly from archives.
13835
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13836
 
 
13837
 
# Compiler flag to generate thread-safe objects.
13838
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13839
 
 
13840
 
# Library versioning type.
13841
 
version_type=$version_type
13842
 
 
13843
 
# Format of library name prefix.
13844
 
libname_spec=$lt_libname_spec
13845
 
 
13846
 
# List of archive names.  First name is the real one, the rest are links.
13847
 
# The last name is the one that the linker finds with -lNAME.
13848
 
library_names_spec=$lt_library_names_spec
13849
 
 
13850
 
# The coded name of the library, if different from the real name.
13851
 
soname_spec=$lt_soname_spec
13852
 
 
13853
 
# Commands used to build and install an old-style archive.
13854
 
RANLIB=$lt_RANLIB
13855
 
old_archive_cmds=$lt_old_archive_cmds_CXX
13856
 
old_postinstall_cmds=$lt_old_postinstall_cmds
13857
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13858
 
 
13859
 
# Create an old-style archive from a shared archive.
13860
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13861
 
 
13862
 
# Create a temporary old-style archive to link instead of a shared archive.
13863
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13864
 
 
13865
 
# Commands used to build and install a shared archive.
13866
 
archive_cmds=$lt_archive_cmds_CXX
13867
 
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13868
 
postinstall_cmds=$lt_postinstall_cmds
13869
 
postuninstall_cmds=$lt_postuninstall_cmds
13870
 
 
13871
 
# Commands used to build a loadable module (assumed same as above if empty)
13872
 
module_cmds=$lt_module_cmds_CXX
13873
 
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13874
 
 
13875
 
# Commands to strip libraries.
13876
 
old_striplib=$lt_old_striplib
13877
 
striplib=$lt_striplib
13878
 
 
13879
 
# Dependencies to place before the objects being linked to create a
13880
 
# shared library.
13881
 
predep_objects=$lt_predep_objects_CXX
13882
 
 
13883
 
# Dependencies to place after the objects being linked to create a
13884
 
# shared library.
13885
 
postdep_objects=$lt_postdep_objects_CXX
13886
 
 
13887
 
# Dependencies to place before the objects being linked to create a
13888
 
# shared library.
13889
 
predeps=$lt_predeps_CXX
13890
 
 
13891
 
# Dependencies to place after the objects being linked to create a
13892
 
# shared library.
13893
 
postdeps=$lt_postdeps_CXX
13894
 
 
13895
 
# The library search path used internally by the compiler when linking
13896
 
# a shared library.
13897
 
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13898
 
 
13899
 
# Method to check whether dependent libraries are shared objects.
13900
 
deplibs_check_method=$lt_deplibs_check_method
13901
 
 
13902
 
# Command to use when deplibs_check_method == file_magic.
13903
 
file_magic_cmd=$lt_file_magic_cmd
13904
 
 
13905
 
# Flag that allows shared libraries with undefined symbols to be built.
13906
 
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13907
 
 
13908
 
# Flag that forces no undefined symbols.
13909
 
no_undefined_flag=$lt_no_undefined_flag_CXX
13910
 
 
13911
 
# Commands used to finish a libtool library installation in a directory.
13912
 
finish_cmds=$lt_finish_cmds
13913
 
 
13914
 
# Same as above, but a single script fragment to be evaled but not shown.
13915
 
finish_eval=$lt_finish_eval
13916
 
 
13917
 
# Take the output of nm and produce a listing of raw symbols and C names.
13918
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13919
 
 
13920
 
# Transform the output of nm in a proper C declaration
13921
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13922
 
 
13923
 
# Transform the output of nm in a C name address pair
13924
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13925
 
 
13926
 
# This is the shared library runtime path variable.
13927
 
runpath_var=$runpath_var
13928
 
 
13929
 
# This is the shared library path variable.
13930
 
shlibpath_var=$shlibpath_var
13931
 
 
13932
 
# Is shlibpath searched before the hard-coded library search path?
13933
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13934
 
 
13935
 
# How to hardcode a shared library path into an executable.
13936
 
hardcode_action=$hardcode_action_CXX
13937
 
 
13938
 
# Whether we should hardcode library paths into libraries.
13939
 
hardcode_into_libs=$hardcode_into_libs
13940
 
 
13941
 
# Flag to hardcode \$libdir into a binary during linking.
13942
 
# This must work even if \$libdir does not exist.
13943
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13944
 
 
13945
 
# If ld is used when linking, flag to hardcode \$libdir into
13946
 
# a binary during linking. This must work even if \$libdir does
13947
 
# not exist.
13948
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13949
 
 
13950
 
# Whether we need a single -rpath flag with a separated argument.
13951
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13952
 
 
13953
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13954
 
# resulting binary.
13955
 
hardcode_direct=$hardcode_direct_CXX
13956
 
 
13957
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13958
 
# resulting binary.
13959
 
hardcode_minus_L=$hardcode_minus_L_CXX
13960
 
 
13961
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13962
 
# the resulting binary.
13963
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13964
 
 
13965
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
13966
 
# and all subsequent libraries and executables linked against it.
13967
 
hardcode_automatic=$hardcode_automatic_CXX
13968
 
 
13969
 
# Variables whose values should be saved in libtool wrapper scripts and
13970
 
# restored at relink time.
13971
 
variables_saved_for_relink="$variables_saved_for_relink"
13972
 
 
13973
 
# Whether libtool must link a program against all its dependency libraries.
13974
 
link_all_deplibs=$link_all_deplibs_CXX
13975
 
 
13976
 
# Compile-time system search path for libraries
13977
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13978
 
 
13979
 
# Run-time system search path for libraries
13980
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13981
 
 
13982
 
# Fix the shell variable \$srcfile for the compiler.
13983
 
fix_srcfile_path=$lt_fix_srcfile_path
13984
 
 
13985
 
# Set to yes if exported symbols are required.
13986
 
always_export_symbols=$always_export_symbols_CXX
13987
 
 
13988
 
# The commands to list exported symbols.
13989
 
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13990
 
 
13991
 
# The commands to extract the exported symbol list from a shared archive.
13992
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13993
 
 
13994
 
# Symbols that should not be listed in the preloaded symbols.
13995
 
exclude_expsyms=$lt_exclude_expsyms_CXX
13996
 
 
13997
 
# Symbols that must always be exported.
13998
 
include_expsyms=$lt_include_expsyms_CXX
13999
 
 
14000
 
# ### END LIBTOOL TAG CONFIG: $tagname
14001
 
 
14002
 
__EOF__
14003
 
 
14004
 
 
14005
 
else
14006
 
  # If there is no Makefile yet, we rely on a make rule to execute
14007
 
  # `config.status --recheck' to rerun these tests and create the
14008
 
  # libtool script then.
14009
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14010
 
  if test -f "$ltmain_in"; then
14011
 
    test -f Makefile && make "$ltmain"
14012
 
  fi
14013
 
fi
14014
 
 
14015
 
 
14016
 
ac_ext=c
14017
 
ac_cpp='$CPP $CPPFLAGS'
14018
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14019
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14020
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14021
 
 
14022
 
CC=$lt_save_CC
14023
 
LDCXX=$LD
14024
 
LD=$lt_save_LD
14025
 
GCC=$lt_save_GCC
14026
 
with_gnu_ldcxx=$with_gnu_ld
14027
 
with_gnu_ld=$lt_save_with_gnu_ld
14028
 
lt_cv_path_LDCXX=$lt_cv_path_LD
14029
 
lt_cv_path_LD=$lt_save_path_LD
14030
 
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14031
 
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14032
 
 
14033
 
        else
14034
 
          tagname=""
14035
 
        fi
14036
 
        ;;
14037
 
 
14038
 
      F77)
14039
 
        if test -n "$F77" && test "X$F77" != "Xno"; then
14040
 
 
14041
 
ac_ext=f
14042
 
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14043
 
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14044
 
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
14045
 
 
14046
 
 
14047
 
archive_cmds_need_lc_F77=no
14048
 
allow_undefined_flag_F77=
14049
 
always_export_symbols_F77=no
14050
 
archive_expsym_cmds_F77=
14051
 
export_dynamic_flag_spec_F77=
14052
 
hardcode_direct_F77=no
14053
 
hardcode_libdir_flag_spec_F77=
14054
 
hardcode_libdir_flag_spec_ld_F77=
14055
 
hardcode_libdir_separator_F77=
14056
 
hardcode_minus_L_F77=no
14057
 
hardcode_automatic_F77=no
14058
 
module_cmds_F77=
14059
 
module_expsym_cmds_F77=
14060
 
link_all_deplibs_F77=unknown
14061
 
old_archive_cmds_F77=$old_archive_cmds
14062
 
no_undefined_flag_F77=
14063
 
whole_archive_flag_spec_F77=
14064
 
enable_shared_with_static_runtimes_F77=no
14065
 
 
14066
 
# Source file extension for f77 test sources.
14067
 
ac_ext=f
14068
 
 
14069
 
# Object file extension for compiled f77 test sources.
14070
 
objext=o
14071
 
objext_F77=$objext
14072
 
 
14073
 
# Code to be used in simple compile tests
14074
 
lt_simple_compile_test_code="\
14075
 
      subroutine t
14076
 
      return
14077
 
      end
14078
 
"
14079
 
 
14080
 
# Code to be used in simple link tests
14081
 
lt_simple_link_test_code="\
14082
 
      program t
14083
 
      end
14084
 
"
14085
 
 
14086
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14087
 
 
14088
 
# If no C compiler was specified, use CC.
14089
 
LTCC=${LTCC-"$CC"}
14090
 
 
14091
 
# If no C compiler flags were specified, use CFLAGS.
14092
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14093
 
 
14094
 
# Allow CC to be a program name with arguments.
14095
 
compiler=$CC
14096
 
 
14097
 
 
14098
 
# save warnings/boilerplate of simple test code
14099
 
ac_outfile=conftest.$ac_objext
14100
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14101
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14102
 
_lt_compiler_boilerplate=`cat conftest.err`
14103
 
$rm conftest*
14104
 
 
14105
 
ac_outfile=conftest.$ac_objext
14106
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14107
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14108
 
_lt_linker_boilerplate=`cat conftest.err`
14109
 
$rm conftest*
14110
 
 
14111
 
 
14112
 
# Allow CC to be a program name with arguments.
14113
 
lt_save_CC="$CC"
14114
 
CC=${F77-"f77"}
14115
 
compiler=$CC
14116
 
compiler_F77=$CC
14117
 
for cc_temp in $compiler""; do
14118
 
  case $cc_temp in
14119
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14120
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14121
 
    \-*) ;;
14122
 
    *) break;;
14123
 
  esac
14124
 
done
14125
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14126
 
 
14127
 
 
14128
 
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14129
 
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
14130
 
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
14131
 
echo "${ECHO_T}$can_build_shared" >&6; }
14132
 
 
14133
 
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14134
 
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
14135
 
test "$can_build_shared" = "no" && enable_shared=no
14136
 
 
14137
 
# On AIX, shared libraries and static libraries use the same namespace, and
14138
 
# are all built from PIC.
14139
 
case $host_os in
14140
 
aix3*)
14141
 
  test "$enable_shared" = yes && enable_static=no
14142
 
  if test -n "$RANLIB"; then
14143
 
    archive_cmds="$archive_cmds~\$RANLIB \$lib"
14144
 
    postinstall_cmds='$RANLIB $lib'
14145
 
  fi
14146
 
  ;;
14147
 
aix4* | aix5*)
14148
 
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14149
 
    test "$enable_shared" = yes && enable_static=no
14150
 
  fi
14151
 
  ;;
14152
 
esac
14153
 
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14154
 
echo "${ECHO_T}$enable_shared" >&6; }
14155
 
 
14156
 
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14157
 
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14158
 
# Make sure either enable_shared or enable_static is yes.
14159
 
test "$enable_shared" = yes || enable_static=yes
14160
 
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14161
 
echo "${ECHO_T}$enable_static" >&6; }
14162
 
 
14163
 
GCC_F77="$G77"
14164
 
LD_F77="$LD"
14165
 
 
14166
 
lt_prog_compiler_wl_F77=
14167
 
lt_prog_compiler_pic_F77=
14168
 
lt_prog_compiler_static_F77=
14169
 
 
14170
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14171
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14172
 
 
14173
 
  if test "$GCC" = yes; then
14174
 
    lt_prog_compiler_wl_F77='-Wl,'
14175
 
    lt_prog_compiler_static_F77='-static'
14176
 
 
14177
 
    case $host_os in
14178
 
      aix*)
14179
 
      # All AIX code is PIC.
14180
 
      if test "$host_cpu" = ia64; then
14181
 
        # AIX 5 now supports IA64 processor
14182
 
        lt_prog_compiler_static_F77='-Bstatic'
14183
 
      fi
14184
 
      ;;
14185
 
 
14186
 
    amigaos*)
14187
 
      # FIXME: we need at least 68020 code to build shared libraries, but
14188
 
      # adding the `-m68020' flag to GCC prevents building anything better,
14189
 
      # like `-m68040'.
14190
 
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14191
 
      ;;
14192
 
 
14193
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14194
 
      # PIC is the default for these OSes.
14195
 
      ;;
14196
 
 
14197
 
    mingw* | cygwin* | pw32* | os2*)
14198
 
      # This hack is so that the source file can tell whether it is being
14199
 
      # built for inclusion in a dll (and should export symbols for example).
14200
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
14201
 
      # (--disable-auto-import) libraries
14202
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14203
 
      ;;
14204
 
 
14205
 
    darwin* | rhapsody*)
14206
 
      # PIC is the default on this platform
14207
 
      # Common symbols not allowed in MH_DYLIB files
14208
 
      lt_prog_compiler_pic_F77='-fno-common'
14209
 
      ;;
14210
 
 
14211
 
    interix[3-9]*)
14212
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14213
 
      # Instead, we relocate shared libraries at runtime.
14214
 
      ;;
14215
 
 
14216
 
    msdosdjgpp*)
14217
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
14218
 
      # on systems that don't support them.
14219
 
      lt_prog_compiler_can_build_shared_F77=no
14220
 
      enable_shared=no
14221
 
      ;;
14222
 
 
14223
 
    sysv4*MP*)
14224
 
      if test -d /usr/nec; then
14225
 
        lt_prog_compiler_pic_F77=-Kconform_pic
14226
 
      fi
14227
 
      ;;
14228
 
 
14229
 
    hpux*)
14230
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14231
 
      # not for PA HP-UX.
14232
 
      case $host_cpu in
14233
 
      hppa*64*|ia64*)
14234
 
        # +Z the default
14235
 
        ;;
14236
 
      *)
14237
 
        lt_prog_compiler_pic_F77='-fPIC'
14238
 
        ;;
14239
 
      esac
14240
 
      ;;
14241
 
 
14242
 
    *)
14243
 
      lt_prog_compiler_pic_F77='-fPIC'
14244
 
      ;;
14245
 
    esac
14246
 
  else
14247
 
    # PORTME Check for flag to pass linker flags through the system compiler.
14248
 
    case $host_os in
14249
 
    aix*)
14250
 
      lt_prog_compiler_wl_F77='-Wl,'
14251
 
      if test "$host_cpu" = ia64; then
14252
 
        # AIX 5 now supports IA64 processor
14253
 
        lt_prog_compiler_static_F77='-Bstatic'
14254
 
      else
14255
 
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14256
 
      fi
14257
 
      ;;
14258
 
      darwin*)
14259
 
        # PIC is the default on this platform
14260
 
        # Common symbols not allowed in MH_DYLIB files
14261
 
       case $cc_basename in
14262
 
         xlc*)
14263
 
         lt_prog_compiler_pic_F77='-qnocommon'
14264
 
         lt_prog_compiler_wl_F77='-Wl,'
14265
 
         ;;
14266
 
       esac
14267
 
       ;;
14268
 
 
14269
 
    mingw* | cygwin* | pw32* | os2*)
14270
 
      # This hack is so that the source file can tell whether it is being
14271
 
      # built for inclusion in a dll (and should export symbols for example).
14272
 
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14273
 
      ;;
14274
 
 
14275
 
    hpux9* | hpux10* | hpux11*)
14276
 
      lt_prog_compiler_wl_F77='-Wl,'
14277
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14278
 
      # not for PA HP-UX.
14279
 
      case $host_cpu in
14280
 
      hppa*64*|ia64*)
14281
 
        # +Z the default
14282
 
        ;;
14283
 
      *)
14284
 
        lt_prog_compiler_pic_F77='+Z'
14285
 
        ;;
14286
 
      esac
14287
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
14288
 
      lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14289
 
      ;;
14290
 
 
14291
 
    irix5* | irix6* | nonstopux*)
14292
 
      lt_prog_compiler_wl_F77='-Wl,'
14293
 
      # PIC (with -KPIC) is the default.
14294
 
      lt_prog_compiler_static_F77='-non_shared'
14295
 
      ;;
14296
 
 
14297
 
    newsos6)
14298
 
      lt_prog_compiler_pic_F77='-KPIC'
14299
 
      lt_prog_compiler_static_F77='-Bstatic'
14300
 
      ;;
14301
 
 
14302
 
    linux* | k*bsd*-gnu)
14303
 
      case $cc_basename in
14304
 
      icc* | ecc*)
14305
 
        lt_prog_compiler_wl_F77='-Wl,'
14306
 
        lt_prog_compiler_pic_F77='-KPIC'
14307
 
        lt_prog_compiler_static_F77='-static'
14308
 
        ;;
14309
 
      pgcc* | pgf77* | pgf90* | pgf95*)
14310
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
14311
 
        # which looks to be a dead project)
14312
 
        lt_prog_compiler_wl_F77='-Wl,'
14313
 
        lt_prog_compiler_pic_F77='-fpic'
14314
 
        lt_prog_compiler_static_F77='-Bstatic'
14315
 
        ;;
14316
 
      ccc*)
14317
 
        lt_prog_compiler_wl_F77='-Wl,'
14318
 
        # All Alpha code is PIC.
14319
 
        lt_prog_compiler_static_F77='-non_shared'
14320
 
        ;;
14321
 
      *)
14322
 
        case `$CC -V 2>&1 | sed 5q` in
14323
 
        *Sun\ C*)
14324
 
          # Sun C 5.9
14325
 
          lt_prog_compiler_pic_F77='-KPIC'
14326
 
          lt_prog_compiler_static_F77='-Bstatic'
14327
 
          lt_prog_compiler_wl_F77='-Wl,'
14328
 
          ;;
14329
 
        *Sun\ F*)
14330
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
14331
 
          lt_prog_compiler_pic_F77='-KPIC'
14332
 
          lt_prog_compiler_static_F77='-Bstatic'
14333
 
          lt_prog_compiler_wl_F77=''
14334
 
          ;;
14335
 
        esac
14336
 
        ;;
14337
 
      esac
14338
 
      ;;
14339
 
 
14340
 
    osf3* | osf4* | osf5*)
14341
 
      lt_prog_compiler_wl_F77='-Wl,'
14342
 
      # All OSF/1 code is PIC.
14343
 
      lt_prog_compiler_static_F77='-non_shared'
14344
 
      ;;
14345
 
 
14346
 
    rdos*)
14347
 
      lt_prog_compiler_static_F77='-non_shared'
14348
 
      ;;
14349
 
 
14350
 
    solaris*)
14351
 
      lt_prog_compiler_pic_F77='-KPIC'
14352
 
      lt_prog_compiler_static_F77='-Bstatic'
14353
 
      case $cc_basename in
14354
 
      f77* | f90* | f95*)
14355
 
        lt_prog_compiler_wl_F77='-Qoption ld ';;
14356
 
      *)
14357
 
        lt_prog_compiler_wl_F77='-Wl,';;
14358
 
      esac
14359
 
      ;;
14360
 
 
14361
 
    sunos4*)
14362
 
      lt_prog_compiler_wl_F77='-Qoption ld '
14363
 
      lt_prog_compiler_pic_F77='-PIC'
14364
 
      lt_prog_compiler_static_F77='-Bstatic'
14365
 
      ;;
14366
 
 
14367
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
14368
 
      lt_prog_compiler_wl_F77='-Wl,'
14369
 
      lt_prog_compiler_pic_F77='-KPIC'
14370
 
      lt_prog_compiler_static_F77='-Bstatic'
14371
 
      ;;
14372
 
 
14373
 
    sysv4*MP*)
14374
 
      if test -d /usr/nec ;then
14375
 
        lt_prog_compiler_pic_F77='-Kconform_pic'
14376
 
        lt_prog_compiler_static_F77='-Bstatic'
14377
 
      fi
14378
 
      ;;
14379
 
 
14380
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14381
 
      lt_prog_compiler_wl_F77='-Wl,'
14382
 
      lt_prog_compiler_pic_F77='-KPIC'
14383
 
      lt_prog_compiler_static_F77='-Bstatic'
14384
 
      ;;
14385
 
 
14386
 
    unicos*)
14387
 
      lt_prog_compiler_wl_F77='-Wl,'
14388
 
      lt_prog_compiler_can_build_shared_F77=no
14389
 
      ;;
14390
 
 
14391
 
    uts4*)
14392
 
      lt_prog_compiler_pic_F77='-pic'
14393
 
      lt_prog_compiler_static_F77='-Bstatic'
14394
 
      ;;
14395
 
 
14396
 
    *)
14397
 
      lt_prog_compiler_can_build_shared_F77=no
14398
 
      ;;
14399
 
    esac
14400
 
  fi
14401
 
 
14402
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14403
 
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14404
 
 
14405
 
#
14406
 
# Check to make sure the PIC flag actually works.
14407
 
#
14408
 
if test -n "$lt_prog_compiler_pic_F77"; then
14409
 
 
14410
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14411
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14412
 
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14413
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14414
 
else
14415
 
  lt_prog_compiler_pic_works_F77=no
14416
 
  ac_outfile=conftest.$ac_objext
14417
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14418
 
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14419
 
   # Insert the option either (1) after the last *FLAGS variable, or
14420
 
   # (2) before a word containing "conftest.", or (3) at the end.
14421
 
   # Note that $ac_compile itself does not contain backslashes and begins
14422
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14423
 
   # The option is referenced via a variable to avoid confusing sed.
14424
 
   lt_compile=`echo "$ac_compile" | $SED \
14425
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14426
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14427
 
   -e 's:$: $lt_compiler_flag:'`
14428
 
   (eval echo "\"\$as_me:14428: $lt_compile\"" >&5)
14429
 
   (eval "$lt_compile" 2>conftest.err)
14430
 
   ac_status=$?
14431
 
   cat conftest.err >&5
14432
 
   echo "$as_me:14432: \$? = $ac_status" >&5
14433
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
14434
 
     # The compiler can only warn and ignore the option if not recognized
14435
 
     # So say no if there are warnings other than the usual output.
14436
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14437
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14438
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14439
 
       lt_prog_compiler_pic_works_F77=yes
14440
 
     fi
14441
 
   fi
14442
 
   $rm conftest*
14443
 
 
14444
 
fi
14445
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14446
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14447
 
 
14448
 
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14449
 
    case $lt_prog_compiler_pic_F77 in
14450
 
     "" | " "*) ;;
14451
 
     *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14452
 
     esac
14453
 
else
14454
 
    lt_prog_compiler_pic_F77=
14455
 
     lt_prog_compiler_can_build_shared_F77=no
14456
 
fi
14457
 
 
14458
 
fi
14459
 
case $host_os in
14460
 
  # For platforms which do not support PIC, -DPIC is meaningless:
14461
 
  *djgpp*)
14462
 
    lt_prog_compiler_pic_F77=
14463
 
    ;;
14464
 
  *)
14465
 
    lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14466
 
    ;;
14467
 
esac
14468
 
 
14469
 
#
14470
 
# Check to make sure the static flag actually works.
14471
 
#
14472
 
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14473
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14474
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14475
 
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14476
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14477
 
else
14478
 
  lt_prog_compiler_static_works_F77=no
14479
 
   save_LDFLAGS="$LDFLAGS"
14480
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14481
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14482
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14483
 
     # The linker can only warn and ignore the option if not recognized
14484
 
     # So say no if there are warnings
14485
 
     if test -s conftest.err; then
14486
 
       # Append any errors to the config.log.
14487
 
       cat conftest.err 1>&5
14488
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14489
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14490
 
       if diff conftest.exp conftest.er2 >/dev/null; then
14491
 
         lt_prog_compiler_static_works_F77=yes
14492
 
       fi
14493
 
     else
14494
 
       lt_prog_compiler_static_works_F77=yes
14495
 
     fi
14496
 
   fi
14497
 
   $rm conftest*
14498
 
   LDFLAGS="$save_LDFLAGS"
14499
 
 
14500
 
fi
14501
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14502
 
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14503
 
 
14504
 
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14505
 
    :
14506
 
else
14507
 
    lt_prog_compiler_static_F77=
14508
 
fi
14509
 
 
14510
 
 
14511
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14512
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14513
 
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14514
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
14515
 
else
14516
 
  lt_cv_prog_compiler_c_o_F77=no
14517
 
   $rm -r conftest 2>/dev/null
14518
 
   mkdir conftest
14519
 
   cd conftest
14520
 
   mkdir out
14521
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14522
 
 
14523
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14524
 
   # Insert the option either (1) after the last *FLAGS variable, or
14525
 
   # (2) before a word containing "conftest.", or (3) at the end.
14526
 
   # Note that $ac_compile itself does not contain backslashes and begins
14527
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
14528
 
   lt_compile=`echo "$ac_compile" | $SED \
14529
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14530
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14531
 
   -e 's:$: $lt_compiler_flag:'`
14532
 
   (eval echo "\"\$as_me:14532: $lt_compile\"" >&5)
14533
 
   (eval "$lt_compile" 2>out/conftest.err)
14534
 
   ac_status=$?
14535
 
   cat out/conftest.err >&5
14536
 
   echo "$as_me:14536: \$? = $ac_status" >&5
14537
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14538
 
   then
14539
 
     # The compiler can only warn and ignore the option if not recognized
14540
 
     # So say no if there are warnings
14541
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14542
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14543
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14544
 
       lt_cv_prog_compiler_c_o_F77=yes
14545
 
     fi
14546
 
   fi
14547
 
   chmod u+w . 2>&5
14548
 
   $rm conftest*
14549
 
   # SGI C++ compiler will create directory out/ii_files/ for
14550
 
   # template instantiation
14551
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14552
 
   $rm out/* && rmdir out
14553
 
   cd ..
14554
 
   rmdir conftest
14555
 
   $rm conftest*
14556
 
 
14557
 
fi
14558
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14559
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14560
 
 
14561
 
 
14562
 
hard_links="nottested"
14563
 
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14564
 
  # do not overwrite the value of need_locks provided by the user
14565
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14566
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14567
 
  hard_links=yes
14568
 
  $rm conftest*
14569
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14570
 
  touch conftest.a
14571
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
14572
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14573
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
14574
 
echo "${ECHO_T}$hard_links" >&6; }
14575
 
  if test "$hard_links" = no; then
14576
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14577
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14578
 
    need_locks=warn
14579
 
  fi
14580
 
else
14581
 
  need_locks=no
14582
 
fi
14583
 
 
14584
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14585
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14586
 
 
14587
 
  runpath_var=
14588
 
  allow_undefined_flag_F77=
14589
 
  enable_shared_with_static_runtimes_F77=no
14590
 
  archive_cmds_F77=
14591
 
  archive_expsym_cmds_F77=
14592
 
  old_archive_From_new_cmds_F77=
14593
 
  old_archive_from_expsyms_cmds_F77=
14594
 
  export_dynamic_flag_spec_F77=
14595
 
  whole_archive_flag_spec_F77=
14596
 
  thread_safe_flag_spec_F77=
14597
 
  hardcode_libdir_flag_spec_F77=
14598
 
  hardcode_libdir_flag_spec_ld_F77=
14599
 
  hardcode_libdir_separator_F77=
14600
 
  hardcode_direct_F77=no
14601
 
  hardcode_minus_L_F77=no
14602
 
  hardcode_shlibpath_var_F77=unsupported
14603
 
  link_all_deplibs_F77=unknown
14604
 
  hardcode_automatic_F77=no
14605
 
  module_cmds_F77=
14606
 
  module_expsym_cmds_F77=
14607
 
  always_export_symbols_F77=no
14608
 
  export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14609
 
  # include_expsyms should be a list of space-separated symbols to be *always*
14610
 
  # included in the symbol list
14611
 
  include_expsyms_F77=
14612
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
14613
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
14614
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14615
 
  # as well as any symbol that contains `d'.
14616
 
  exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14617
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14618
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
14619
 
  # the symbol is explicitly referenced.  Since portable code cannot
14620
 
  # rely on this symbol name, it's probably fine to never include it in
14621
 
  # preloaded symbol tables.
14622
 
  extract_expsyms_cmds=
14623
 
  # Just being paranoid about ensuring that cc_basename is set.
14624
 
  for cc_temp in $compiler""; do
14625
 
  case $cc_temp in
14626
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14627
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14628
 
    \-*) ;;
14629
 
    *) break;;
14630
 
  esac
14631
 
done
14632
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14633
 
 
14634
 
  case $host_os in
14635
 
  cygwin* | mingw* | pw32*)
14636
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
14637
 
    # When not using gcc, we currently assume that we are using
14638
 
    # Microsoft Visual C++.
14639
 
    if test "$GCC" != yes; then
14640
 
      with_gnu_ld=no
14641
 
    fi
14642
 
    ;;
14643
 
  interix*)
14644
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
14645
 
    with_gnu_ld=yes
14646
 
    ;;
14647
 
  openbsd*)
14648
 
    with_gnu_ld=no
14649
 
    ;;
14650
 
  esac
14651
 
 
14652
 
  ld_shlibs_F77=yes
14653
 
  if test "$with_gnu_ld" = yes; then
14654
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
14655
 
    wlarc='${wl}'
14656
 
 
14657
 
    # Set some defaults for GNU ld with shared library support. These
14658
 
    # are reset later if shared libraries are not supported. Putting them
14659
 
    # here allows them to be overridden if necessary.
14660
 
    runpath_var=LD_RUN_PATH
14661
 
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14662
 
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14663
 
    # ancient GNU ld didn't support --whole-archive et. al.
14664
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14665
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14666
 
      else
14667
 
        whole_archive_flag_spec_F77=
14668
 
    fi
14669
 
    supports_anon_versioning=no
14670
 
    case `$LD -v 2>/dev/null` in
14671
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14672
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14673
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14674
 
      *\ 2.11.*) ;; # other 2.11 versions
14675
 
      *) supports_anon_versioning=yes ;;
14676
 
    esac
14677
 
 
14678
 
    # See if GNU ld supports shared libraries.
14679
 
    case $host_os in
14680
 
    aix3* | aix4* | aix5*)
14681
 
      # On AIX/PPC, the GNU linker is very broken
14682
 
      if test "$host_cpu" != ia64; then
14683
 
        ld_shlibs_F77=no
14684
 
        cat <<EOF 1>&2
14685
 
 
14686
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14687
 
*** to be unable to reliably create shared libraries on AIX.
14688
 
*** Therefore, libtool is disabling shared libraries support.  If you
14689
 
*** really care for shared libraries, you may want to modify your PATH
14690
 
*** so that a non-GNU linker is found, and then restart.
14691
 
 
14692
 
EOF
14693
 
      fi
14694
 
      ;;
14695
 
 
14696
 
    amigaos*)
14697
 
      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)'
14698
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14699
 
      hardcode_minus_L_F77=yes
14700
 
 
14701
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14702
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
14703
 
      # to version 4, is to share data among multiple programs linked
14704
 
      # with the same dynamic library.  Since this doesn't match the
14705
 
      # behavior of shared libraries on other platforms, we can't use
14706
 
      # them.
14707
 
      ld_shlibs_F77=no
14708
 
      ;;
14709
 
 
14710
 
    beos*)
14711
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14712
 
        allow_undefined_flag_F77=unsupported
14713
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14714
 
        # support --undefined.  This deserves some investigation.  FIXME
14715
 
        archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14716
 
      else
14717
 
        ld_shlibs_F77=no
14718
 
      fi
14719
 
      ;;
14720
 
 
14721
 
    cygwin* | mingw* | pw32*)
14722
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14723
 
      # as there is no search path for DLLs.
14724
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
14725
 
      allow_undefined_flag_F77=unsupported
14726
 
      always_export_symbols_F77=no
14727
 
      enable_shared_with_static_runtimes_F77=yes
14728
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14729
 
 
14730
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14731
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14732
 
        # If the export-symbols file already is a .def file (1st line
14733
 
        # is EXPORTS), use it as is; otherwise, prepend...
14734
 
        archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14735
 
          cp $export_symbols $output_objdir/$soname.def;
14736
 
        else
14737
 
          echo EXPORTS > $output_objdir/$soname.def;
14738
 
          cat $export_symbols >> $output_objdir/$soname.def;
14739
 
        fi~
14740
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14741
 
      else
14742
 
        ld_shlibs_F77=no
14743
 
      fi
14744
 
      ;;
14745
 
 
14746
 
    interix[3-9]*)
14747
 
      hardcode_direct_F77=no
14748
 
      hardcode_shlibpath_var_F77=no
14749
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14750
 
      export_dynamic_flag_spec_F77='${wl}-E'
14751
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14752
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
14753
 
      # default) and relocated if they conflict, which is a slow very memory
14754
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
14755
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14756
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14757
 
      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'
14758
 
      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'
14759
 
      ;;
14760
 
 
14761
 
    gnu* | linux* | k*bsd*-gnu)
14762
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14763
 
        tmp_addflag=
14764
 
        case $cc_basename,$host_cpu in
14765
 
        pgcc*)                          # Portland Group C compiler
14766
 
          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'
14767
 
          tmp_addflag=' $pic_flag'
14768
 
          ;;
14769
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
14770
 
          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'
14771
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
14772
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
14773
 
          tmp_addflag=' -i_dynamic' ;;
14774
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14775
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
14776
 
        ifc* | ifort*)                  # Intel Fortran compiler
14777
 
          tmp_addflag=' -nofor_main' ;;
14778
 
        esac
14779
 
        case `$CC -V 2>&1 | sed 5q` in
14780
 
        *Sun\ C*)                       # Sun C 5.9
14781
 
          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'
14782
 
          tmp_sharedflag='-G' ;;
14783
 
        *Sun\ F*)                       # Sun Fortran 8.3
14784
 
          tmp_sharedflag='-G' ;;
14785
 
        *)
14786
 
          tmp_sharedflag='-shared' ;;
14787
 
        esac
14788
 
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14789
 
 
14790
 
        if test $supports_anon_versioning = yes; then
14791
 
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14792
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14793
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14794
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14795
 
        fi
14796
 
        link_all_deplibs_F77=no
14797
 
      else
14798
 
        ld_shlibs_F77=no
14799
 
      fi
14800
 
      ;;
14801
 
 
14802
 
    netbsd* | netbsdelf*-gnu)
14803
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14804
 
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14805
 
        wlarc=
14806
 
      else
14807
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14808
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14809
 
      fi
14810
 
      ;;
14811
 
 
14812
 
    solaris*)
14813
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14814
 
        ld_shlibs_F77=no
14815
 
        cat <<EOF 1>&2
14816
 
 
14817
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14818
 
*** create shared libraries on Solaris systems.  Therefore, libtool
14819
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14820
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
14821
 
*** your PATH or compiler configuration so that the native linker is
14822
 
*** used, and then restart.
14823
 
 
14824
 
EOF
14825
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14826
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14827
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14828
 
      else
14829
 
        ld_shlibs_F77=no
14830
 
      fi
14831
 
      ;;
14832
 
 
14833
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14834
 
      case `$LD -v 2>&1` in
14835
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14836
 
        ld_shlibs_F77=no
14837
 
        cat <<_LT_EOF 1>&2
14838
 
 
14839
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14840
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
14841
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
14842
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14843
 
*** your PATH or compiler configuration so that the native linker is
14844
 
*** used, and then restart.
14845
 
 
14846
 
_LT_EOF
14847
 
        ;;
14848
 
        *)
14849
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14850
 
            hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14851
 
            archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14852
 
            archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14853
 
          else
14854
 
            ld_shlibs_F77=no
14855
 
          fi
14856
 
        ;;
14857
 
      esac
14858
 
      ;;
14859
 
 
14860
 
    sunos4*)
14861
 
      archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14862
 
      wlarc=
14863
 
      hardcode_direct_F77=yes
14864
 
      hardcode_shlibpath_var_F77=no
14865
 
      ;;
14866
 
 
14867
 
    *)
14868
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14869
 
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14870
 
        archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14871
 
      else
14872
 
        ld_shlibs_F77=no
14873
 
      fi
14874
 
      ;;
14875
 
    esac
14876
 
 
14877
 
    if test "$ld_shlibs_F77" = no; then
14878
 
      runpath_var=
14879
 
      hardcode_libdir_flag_spec_F77=
14880
 
      export_dynamic_flag_spec_F77=
14881
 
      whole_archive_flag_spec_F77=
14882
 
    fi
14883
 
  else
14884
 
    # PORTME fill in a description of your system's linker (not GNU ld)
14885
 
    case $host_os in
14886
 
    aix3*)
14887
 
      allow_undefined_flag_F77=unsupported
14888
 
      always_export_symbols_F77=yes
14889
 
      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'
14890
 
      # Note: this linker hardcodes the directories in LIBPATH if there
14891
 
      # are no directories specified by -L.
14892
 
      hardcode_minus_L_F77=yes
14893
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14894
 
        # Neither direct hardcoding nor static linking is supported with a
14895
 
        # broken collect2.
14896
 
        hardcode_direct_F77=unsupported
14897
 
      fi
14898
 
      ;;
14899
 
 
14900
 
    aix4* | aix5*)
14901
 
      if test "$host_cpu" = ia64; then
14902
 
        # On IA64, the linker does run time linking by default, so we don't
14903
 
        # have to do anything special.
14904
 
        aix_use_runtimelinking=no
14905
 
        exp_sym_flag='-Bexport'
14906
 
        no_entry_flag=""
14907
 
      else
14908
 
        # If we're using GNU nm, then we don't want the "-C" option.
14909
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
14910
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14911
 
          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'
14912
 
        else
14913
 
          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'
14914
 
        fi
14915
 
        aix_use_runtimelinking=no
14916
 
 
14917
 
        # Test if we are trying to use run time linking or normal
14918
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14919
 
        # need to do runtime linking.
14920
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14921
 
          for ld_flag in $LDFLAGS; do
14922
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14923
 
            aix_use_runtimelinking=yes
14924
 
            break
14925
 
          fi
14926
 
          done
14927
 
          ;;
14928
 
        esac
14929
 
 
14930
 
        exp_sym_flag='-bexport'
14931
 
        no_entry_flag='-bnoentry'
14932
 
      fi
14933
 
 
14934
 
      # When large executables or shared objects are built, AIX ld can
14935
 
      # have problems creating the table of contents.  If linking a library
14936
 
      # or program results in "error TOC overflow" add -mminimal-toc to
14937
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14938
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14939
 
 
14940
 
      archive_cmds_F77=''
14941
 
      hardcode_direct_F77=yes
14942
 
      hardcode_libdir_separator_F77=':'
14943
 
      link_all_deplibs_F77=yes
14944
 
 
14945
 
      if test "$GCC" = yes; then
14946
 
        case $host_os in aix4.[012]|aix4.[012].*)
14947
 
        # We only want to do this on AIX 4.2 and lower, the check
14948
 
        # below for broken collect2 doesn't work under 4.3+
14949
 
          collect2name=`${CC} -print-prog-name=collect2`
14950
 
          if test -f "$collect2name" && \
14951
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14952
 
          then
14953
 
          # We have reworked collect2
14954
 
          :
14955
 
          else
14956
 
          # We have old collect2
14957
 
          hardcode_direct_F77=unsupported
14958
 
          # It fails to find uninstalled libraries when the uninstalled
14959
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
14960
 
          # to unsupported forces relinking
14961
 
          hardcode_minus_L_F77=yes
14962
 
          hardcode_libdir_flag_spec_F77='-L$libdir'
14963
 
          hardcode_libdir_separator_F77=
14964
 
          fi
14965
 
          ;;
14966
 
        esac
14967
 
        shared_flag='-shared'
14968
 
        if test "$aix_use_runtimelinking" = yes; then
14969
 
          shared_flag="$shared_flag "'${wl}-G'
14970
 
        fi
14971
 
      else
14972
 
        # not using gcc
14973
 
        if test "$host_cpu" = ia64; then
14974
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14975
 
        # chokes on -Wl,-G. The following line is correct:
14976
 
          shared_flag='-G'
14977
 
        else
14978
 
          if test "$aix_use_runtimelinking" = yes; then
14979
 
            shared_flag='${wl}-G'
14980
 
          else
14981
 
            shared_flag='${wl}-bM:SRE'
14982
 
          fi
14983
 
        fi
14984
 
      fi
14985
 
 
14986
 
      # It seems that -bexpall does not export symbols beginning with
14987
 
      # underscore (_), so it is better to generate a list of symbols to export.
14988
 
      always_export_symbols_F77=yes
14989
 
      if test "$aix_use_runtimelinking" = yes; then
14990
 
        # Warning - without using the other runtime loading flags (-brtl),
14991
 
        # -berok will link without error, but may produce a broken library.
14992
 
        allow_undefined_flag_F77='-berok'
14993
 
       # Determine the default libpath from the value encoded in an empty executable.
14994
 
       cat >conftest.$ac_ext <<_ACEOF
14995
 
      program main
14996
 
 
14997
 
      end
14998
 
_ACEOF
14999
 
rm -f conftest.$ac_objext conftest$ac_exeext
15000
 
if { (ac_try="$ac_link"
15001
 
case "(($ac_try" in
15002
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15003
 
  *) ac_try_echo=$ac_try;;
15004
 
esac
15005
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15006
 
  (eval "$ac_link") 2>conftest.er1
15007
 
  ac_status=$?
15008
 
  grep -v '^ *+' conftest.er1 >conftest.err
15009
 
  rm -f conftest.er1
15010
 
  cat conftest.err >&5
15011
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012
 
  (exit $ac_status); } && {
15013
 
         test -z "$ac_f77_werror_flag" ||
15014
 
         test ! -s conftest.err
15015
 
       } && test -s conftest$ac_exeext &&
15016
 
       $as_test_x conftest$ac_exeext; then
15017
 
 
15018
 
lt_aix_libpath_sed='
15019
 
    /Import File Strings/,/^$/ {
15020
 
        /^0/ {
15021
 
            s/^0  *\(.*\)$/\1/
15022
 
            p
15023
 
        }
15024
 
    }'
15025
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15026
 
# Check for a 64-bit object if we didn't find anything.
15027
 
if test -z "$aix_libpath"; then
15028
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15029
 
fi
15030
 
else
15031
 
  echo "$as_me: failed program was:" >&5
15032
 
sed 's/^/| /' conftest.$ac_ext >&5
15033
 
 
15034
 
 
15035
 
fi
15036
 
 
15037
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15038
 
      conftest$ac_exeext conftest.$ac_ext
15039
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15040
 
 
15041
 
       hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15042
 
        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"
15043
 
       else
15044
 
        if test "$host_cpu" = ia64; then
15045
 
          hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15046
 
          allow_undefined_flag_F77="-z nodefs"
15047
 
          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"
15048
 
        else
15049
 
         # Determine the default libpath from the value encoded in an empty executable.
15050
 
         cat >conftest.$ac_ext <<_ACEOF
15051
 
      program main
15052
 
 
15053
 
      end
15054
 
_ACEOF
15055
 
rm -f conftest.$ac_objext conftest$ac_exeext
15056
 
if { (ac_try="$ac_link"
15057
 
case "(($ac_try" in
15058
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15059
 
  *) ac_try_echo=$ac_try;;
15060
 
esac
15061
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15062
 
  (eval "$ac_link") 2>conftest.er1
15063
 
  ac_status=$?
15064
 
  grep -v '^ *+' conftest.er1 >conftest.err
15065
 
  rm -f conftest.er1
15066
 
  cat conftest.err >&5
15067
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068
 
  (exit $ac_status); } && {
15069
 
         test -z "$ac_f77_werror_flag" ||
15070
 
         test ! -s conftest.err
15071
 
       } && test -s conftest$ac_exeext &&
15072
 
       $as_test_x conftest$ac_exeext; then
15073
 
 
15074
 
lt_aix_libpath_sed='
15075
 
    /Import File Strings/,/^$/ {
15076
 
        /^0/ {
15077
 
            s/^0  *\(.*\)$/\1/
15078
 
            p
15079
 
        }
15080
 
    }'
15081
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15082
 
# Check for a 64-bit object if we didn't find anything.
15083
 
if test -z "$aix_libpath"; then
15084
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15085
 
fi
15086
 
else
15087
 
  echo "$as_me: failed program was:" >&5
15088
 
sed 's/^/| /' conftest.$ac_ext >&5
15089
 
 
15090
 
 
15091
 
fi
15092
 
 
15093
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15094
 
      conftest$ac_exeext conftest.$ac_ext
15095
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15096
 
 
15097
 
         hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15098
 
          # Warning - without using the other run time loading flags,
15099
 
          # -berok will link without error, but may produce a broken library.
15100
 
          no_undefined_flag_F77=' ${wl}-bernotok'
15101
 
          allow_undefined_flag_F77=' ${wl}-berok'
15102
 
          # Exported symbols can be pulled into shared objects from archives
15103
 
          whole_archive_flag_spec_F77='$convenience'
15104
 
          archive_cmds_need_lc_F77=yes
15105
 
          # This is similar to how AIX traditionally builds its shared libraries.
15106
 
          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'
15107
 
        fi
15108
 
      fi
15109
 
      ;;
15110
 
 
15111
 
    amigaos*)
15112
 
      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)'
15113
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15114
 
      hardcode_minus_L_F77=yes
15115
 
      # see comment about different semantics on the GNU ld section
15116
 
      ld_shlibs_F77=no
15117
 
      ;;
15118
 
 
15119
 
    bsdi[45]*)
15120
 
      export_dynamic_flag_spec_F77=-rdynamic
15121
 
      ;;
15122
 
 
15123
 
    cygwin* | mingw* | pw32*)
15124
 
      # When not using gcc, we currently assume that we are using
15125
 
      # Microsoft Visual C++.
15126
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
15127
 
      # no search path for DLLs.
15128
 
      hardcode_libdir_flag_spec_F77=' '
15129
 
      allow_undefined_flag_F77=unsupported
15130
 
      # Tell ltmain to make .lib files, not .a files.
15131
 
      libext=lib
15132
 
      # Tell ltmain to make .dll files, not .so files.
15133
 
      shrext_cmds=".dll"
15134
 
      # FIXME: Setting linknames here is a bad hack.
15135
 
      archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15136
 
      # The linker will automatically build a .lib file if we build a DLL.
15137
 
      old_archive_From_new_cmds_F77='true'
15138
 
      # FIXME: Should let the user specify the lib program.
15139
 
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15140
 
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15141
 
      enable_shared_with_static_runtimes_F77=yes
15142
 
      ;;
15143
 
 
15144
 
    darwin* | rhapsody*)
15145
 
      case $host_os in
15146
 
        rhapsody* | darwin1.[012])
15147
 
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
15148
 
         ;;
15149
 
       *) # Darwin 1.3 on
15150
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15151
 
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15152
 
         else
15153
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
15154
 
             10.[012])
15155
 
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15156
 
               ;;
15157
 
             10.*)
15158
 
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
15159
 
               ;;
15160
 
           esac
15161
 
         fi
15162
 
         ;;
15163
 
      esac
15164
 
      archive_cmds_need_lc_F77=no
15165
 
      hardcode_direct_F77=no
15166
 
      hardcode_automatic_F77=yes
15167
 
      hardcode_shlibpath_var_F77=unsupported
15168
 
      whole_archive_flag_spec_F77=''
15169
 
      link_all_deplibs_F77=yes
15170
 
    if test "$GCC" = yes ; then
15171
 
        output_verbose_link_cmd='echo'
15172
 
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15173
 
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15174
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15175
 
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15176
 
      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}'
15177
 
    else
15178
 
      case $cc_basename in
15179
 
        xlc*)
15180
 
         output_verbose_link_cmd='echo'
15181
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15182
 
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15183
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15184
 
         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}'
15185
 
          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}'
15186
 
          ;;
15187
 
       *)
15188
 
         ld_shlibs_F77=no
15189
 
          ;;
15190
 
      esac
15191
 
    fi
15192
 
      ;;
15193
 
 
15194
 
    dgux*)
15195
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15196
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15197
 
      hardcode_shlibpath_var_F77=no
15198
 
      ;;
15199
 
 
15200
 
    freebsd1*)
15201
 
      ld_shlibs_F77=no
15202
 
      ;;
15203
 
 
15204
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15205
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
15206
 
    # does not break anything, and helps significantly (at the cost of a little
15207
 
    # extra space).
15208
 
    freebsd2.2*)
15209
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15210
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15211
 
      hardcode_direct_F77=yes
15212
 
      hardcode_shlibpath_var_F77=no
15213
 
      ;;
15214
 
 
15215
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15216
 
    freebsd2*)
15217
 
      archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15218
 
      hardcode_direct_F77=yes
15219
 
      hardcode_minus_L_F77=yes
15220
 
      hardcode_shlibpath_var_F77=no
15221
 
      ;;
15222
 
 
15223
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15224
 
    freebsd* | dragonfly*)
15225
 
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15226
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15227
 
      hardcode_direct_F77=yes
15228
 
      hardcode_shlibpath_var_F77=no
15229
 
      ;;
15230
 
 
15231
 
    hpux9*)
15232
 
      if test "$GCC" = yes; then
15233
 
        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'
15234
 
      else
15235
 
        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'
15236
 
      fi
15237
 
      hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15238
 
      hardcode_libdir_separator_F77=:
15239
 
      hardcode_direct_F77=yes
15240
 
 
15241
 
      # hardcode_minus_L: Not really in the search PATH,
15242
 
      # but as the default location of the library.
15243
 
      hardcode_minus_L_F77=yes
15244
 
      export_dynamic_flag_spec_F77='${wl}-E'
15245
 
      ;;
15246
 
 
15247
 
    hpux10*)
15248
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15249
 
        archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15250
 
      else
15251
 
        archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15252
 
      fi
15253
 
      if test "$with_gnu_ld" = no; then
15254
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15255
 
        hardcode_libdir_separator_F77=:
15256
 
 
15257
 
        hardcode_direct_F77=yes
15258
 
        export_dynamic_flag_spec_F77='${wl}-E'
15259
 
 
15260
 
        # hardcode_minus_L: Not really in the search PATH,
15261
 
        # but as the default location of the library.
15262
 
        hardcode_minus_L_F77=yes
15263
 
      fi
15264
 
      ;;
15265
 
 
15266
 
    hpux11*)
15267
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15268
 
        case $host_cpu in
15269
 
        hppa*64*)
15270
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15271
 
          ;;
15272
 
        ia64*)
15273
 
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15274
 
          ;;
15275
 
        *)
15276
 
          archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15277
 
          ;;
15278
 
        esac
15279
 
      else
15280
 
        case $host_cpu in
15281
 
        hppa*64*)
15282
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15283
 
          ;;
15284
 
        ia64*)
15285
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15286
 
          ;;
15287
 
        *)
15288
 
          archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15289
 
          ;;
15290
 
        esac
15291
 
      fi
15292
 
      if test "$with_gnu_ld" = no; then
15293
 
        hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15294
 
        hardcode_libdir_separator_F77=:
15295
 
 
15296
 
        case $host_cpu in
15297
 
        hppa*64*|ia64*)
15298
 
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15299
 
          hardcode_direct_F77=no
15300
 
          hardcode_shlibpath_var_F77=no
15301
 
          ;;
15302
 
        *)
15303
 
          hardcode_direct_F77=yes
15304
 
          export_dynamic_flag_spec_F77='${wl}-E'
15305
 
 
15306
 
          # hardcode_minus_L: Not really in the search PATH,
15307
 
          # but as the default location of the library.
15308
 
          hardcode_minus_L_F77=yes
15309
 
          ;;
15310
 
        esac
15311
 
      fi
15312
 
      ;;
15313
 
 
15314
 
    irix5* | irix6* | nonstopux*)
15315
 
      if test "$GCC" = yes; then
15316
 
        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'
15317
 
      else
15318
 
        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'
15319
 
        hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15320
 
      fi
15321
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15322
 
      hardcode_libdir_separator_F77=:
15323
 
      link_all_deplibs_F77=yes
15324
 
      ;;
15325
 
 
15326
 
    netbsd* | netbsdelf*-gnu)
15327
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15328
 
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
15329
 
      else
15330
 
        archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
15331
 
      fi
15332
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15333
 
      hardcode_direct_F77=yes
15334
 
      hardcode_shlibpath_var_F77=no
15335
 
      ;;
15336
 
 
15337
 
    newsos6)
15338
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15339
 
      hardcode_direct_F77=yes
15340
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15341
 
      hardcode_libdir_separator_F77=:
15342
 
      hardcode_shlibpath_var_F77=no
15343
 
      ;;
15344
 
 
15345
 
    openbsd*)
15346
 
      if test -f /usr/libexec/ld.so; then
15347
 
        hardcode_direct_F77=yes
15348
 
        hardcode_shlibpath_var_F77=no
15349
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15350
 
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15351
 
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15352
 
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15353
 
          export_dynamic_flag_spec_F77='${wl}-E'
15354
 
        else
15355
 
          case $host_os in
15356
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15357
 
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15358
 
             hardcode_libdir_flag_spec_F77='-R$libdir'
15359
 
             ;;
15360
 
           *)
15361
 
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15362
 
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15363
 
             ;;
15364
 
          esac
15365
 
        fi
15366
 
      else
15367
 
        ld_shlibs_F77=no
15368
 
      fi
15369
 
      ;;
15370
 
 
15371
 
    os2*)
15372
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15373
 
      hardcode_minus_L_F77=yes
15374
 
      allow_undefined_flag_F77=unsupported
15375
 
      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'
15376
 
      old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15377
 
      ;;
15378
 
 
15379
 
    osf3*)
15380
 
      if test "$GCC" = yes; then
15381
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15382
 
        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'
15383
 
      else
15384
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15385
 
        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'
15386
 
      fi
15387
 
      hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15388
 
      hardcode_libdir_separator_F77=:
15389
 
      ;;
15390
 
 
15391
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
15392
 
      if test "$GCC" = yes; then
15393
 
        allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15394
 
        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'
15395
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15396
 
      else
15397
 
        allow_undefined_flag_F77=' -expect_unresolved \*'
15398
 
        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'
15399
 
        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~
15400
 
        $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'
15401
 
 
15402
 
        # Both c and cxx compiler support -rpath directly
15403
 
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
15404
 
      fi
15405
 
      hardcode_libdir_separator_F77=:
15406
 
      ;;
15407
 
 
15408
 
    solaris*)
15409
 
      no_undefined_flag_F77=' -z text'
15410
 
      if test "$GCC" = yes; then
15411
 
        wlarc='${wl}'
15412
 
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15413
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15414
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15415
 
      else
15416
 
        wlarc=''
15417
 
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15418
 
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15419
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15420
 
      fi
15421
 
      hardcode_libdir_flag_spec_F77='-R$libdir'
15422
 
      hardcode_shlibpath_var_F77=no
15423
 
      case $host_os in
15424
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15425
 
      *)
15426
 
        # The compiler driver will combine and reorder linker options,
15427
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
15428
 
        # but is careful enough not to reorder.
15429
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15430
 
        if test "$GCC" = yes; then
15431
 
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15432
 
        else
15433
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
15434
 
        fi
15435
 
        ;;
15436
 
      esac
15437
 
      link_all_deplibs_F77=yes
15438
 
      ;;
15439
 
 
15440
 
    sunos4*)
15441
 
      if test "x$host_vendor" = xsequent; then
15442
 
        # Use $CC to link under sequent, because it throws in some extra .o
15443
 
        # files that make .init and .fini sections work.
15444
 
        archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15445
 
      else
15446
 
        archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15447
 
      fi
15448
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15449
 
      hardcode_direct_F77=yes
15450
 
      hardcode_minus_L_F77=yes
15451
 
      hardcode_shlibpath_var_F77=no
15452
 
      ;;
15453
 
 
15454
 
    sysv4)
15455
 
      case $host_vendor in
15456
 
        sni)
15457
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15458
 
          hardcode_direct_F77=yes # is this really true???
15459
 
        ;;
15460
 
        siemens)
15461
 
          ## LD is ld it makes a PLAMLIB
15462
 
          ## CC just makes a GrossModule.
15463
 
          archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15464
 
          reload_cmds_F77='$CC -r -o $output$reload_objs'
15465
 
          hardcode_direct_F77=no
15466
 
        ;;
15467
 
        motorola)
15468
 
          archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15469
 
          hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15470
 
        ;;
15471
 
      esac
15472
 
      runpath_var='LD_RUN_PATH'
15473
 
      hardcode_shlibpath_var_F77=no
15474
 
      ;;
15475
 
 
15476
 
    sysv4.3*)
15477
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15478
 
      hardcode_shlibpath_var_F77=no
15479
 
      export_dynamic_flag_spec_F77='-Bexport'
15480
 
      ;;
15481
 
 
15482
 
    sysv4*MP*)
15483
 
      if test -d /usr/nec; then
15484
 
        archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15485
 
        hardcode_shlibpath_var_F77=no
15486
 
        runpath_var=LD_RUN_PATH
15487
 
        hardcode_runpath_var=yes
15488
 
        ld_shlibs_F77=yes
15489
 
      fi
15490
 
      ;;
15491
 
 
15492
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15493
 
      no_undefined_flag_F77='${wl}-z,text'
15494
 
      archive_cmds_need_lc_F77=no
15495
 
      hardcode_shlibpath_var_F77=no
15496
 
      runpath_var='LD_RUN_PATH'
15497
 
 
15498
 
      if test "$GCC" = yes; then
15499
 
        archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15500
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15501
 
      else
15502
 
        archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15503
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15504
 
      fi
15505
 
      ;;
15506
 
 
15507
 
    sysv5* | sco3.2v5* | sco5v6*)
15508
 
      # Note: We can NOT use -z defs as we might desire, because we do not
15509
 
      # link with -lc, and that would cause any symbols used from libc to
15510
 
      # always be unresolved, which means just about no library would
15511
 
      # ever link correctly.  If we're not using GNU ld we use -z text
15512
 
      # though, which does catch some bad symbols but isn't as heavy-handed
15513
 
      # as -z defs.
15514
 
      no_undefined_flag_F77='${wl}-z,text'
15515
 
      allow_undefined_flag_F77='${wl}-z,nodefs'
15516
 
      archive_cmds_need_lc_F77=no
15517
 
      hardcode_shlibpath_var_F77=no
15518
 
      hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15519
 
      hardcode_libdir_separator_F77=':'
15520
 
      link_all_deplibs_F77=yes
15521
 
      export_dynamic_flag_spec_F77='${wl}-Bexport'
15522
 
      runpath_var='LD_RUN_PATH'
15523
 
 
15524
 
      if test "$GCC" = yes; then
15525
 
        archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15526
 
        archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15527
 
      else
15528
 
        archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15529
 
        archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15530
 
      fi
15531
 
      ;;
15532
 
 
15533
 
    uts4*)
15534
 
      archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15535
 
      hardcode_libdir_flag_spec_F77='-L$libdir'
15536
 
      hardcode_shlibpath_var_F77=no
15537
 
      ;;
15538
 
 
15539
 
    *)
15540
 
      ld_shlibs_F77=no
15541
 
      ;;
15542
 
    esac
15543
 
  fi
15544
 
 
15545
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15546
 
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15547
 
test "$ld_shlibs_F77" = no && can_build_shared=no
15548
 
 
15549
 
#
15550
 
# Do we need to explicitly link libc?
15551
 
#
15552
 
case "x$archive_cmds_need_lc_F77" in
15553
 
x|xyes)
15554
 
  # Assume -lc should be added
15555
 
  archive_cmds_need_lc_F77=yes
15556
 
 
15557
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
15558
 
    case $archive_cmds_F77 in
15559
 
    *'~'*)
15560
 
      # FIXME: we may have to deal with multi-command sequences.
15561
 
      ;;
15562
 
    '$CC '*)
15563
 
      # Test whether the compiler implicitly links with -lc since on some
15564
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
15565
 
      # to ld, don't add -lc before -lgcc.
15566
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15567
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15568
 
      $rm conftest*
15569
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15570
 
 
15571
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15572
 
  (eval $ac_compile) 2>&5
15573
 
  ac_status=$?
15574
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575
 
  (exit $ac_status); } 2>conftest.err; then
15576
 
        soname=conftest
15577
 
        lib=conftest
15578
 
        libobjs=conftest.$ac_objext
15579
 
        deplibs=
15580
 
        wl=$lt_prog_compiler_wl_F77
15581
 
        pic_flag=$lt_prog_compiler_pic_F77
15582
 
        compiler_flags=-v
15583
 
        linker_flags=-v
15584
 
        verstring=
15585
 
        output_objdir=.
15586
 
        libname=conftest
15587
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15588
 
        allow_undefined_flag_F77=
15589
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15590
 
  (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15591
 
  ac_status=$?
15592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593
 
  (exit $ac_status); }
15594
 
        then
15595
 
          archive_cmds_need_lc_F77=no
15596
 
        else
15597
 
          archive_cmds_need_lc_F77=yes
15598
 
        fi
15599
 
        allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15600
 
      else
15601
 
        cat conftest.err 1>&5
15602
 
      fi
15603
 
      $rm conftest*
15604
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15605
 
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15606
 
      ;;
15607
 
    esac
15608
 
  fi
15609
 
  ;;
15610
 
esac
15611
 
 
15612
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15613
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15614
 
library_names_spec=
15615
 
libname_spec='lib$name'
15616
 
soname_spec=
15617
 
shrext_cmds=".so"
15618
 
postinstall_cmds=
15619
 
postuninstall_cmds=
15620
 
finish_cmds=
15621
 
finish_eval=
15622
 
shlibpath_var=
15623
 
shlibpath_overrides_runpath=unknown
15624
 
version_type=none
15625
 
dynamic_linker="$host_os ld.so"
15626
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15627
 
 
15628
 
need_lib_prefix=unknown
15629
 
hardcode_into_libs=no
15630
 
 
15631
 
# when you set need_version to no, make sure it does not cause -set_version
15632
 
# flags to be left without arguments
15633
 
need_version=unknown
15634
 
 
15635
 
case $host_os in
15636
 
aix3*)
15637
 
  version_type=linux
15638
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15639
 
  shlibpath_var=LIBPATH
15640
 
 
15641
 
  # AIX 3 has no versioning support, so we append a major version to the name.
15642
 
  soname_spec='${libname}${release}${shared_ext}$major'
15643
 
  ;;
15644
 
 
15645
 
aix4* | aix5*)
15646
 
  version_type=linux
15647
 
  need_lib_prefix=no
15648
 
  need_version=no
15649
 
  hardcode_into_libs=yes
15650
 
  if test "$host_cpu" = ia64; then
15651
 
    # AIX 5 supports IA64
15652
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15653
 
    shlibpath_var=LD_LIBRARY_PATH
15654
 
  else
15655
 
    # With GCC up to 2.95.x, collect2 would create an import file
15656
 
    # for dependence libraries.  The import file would start with
15657
 
    # the line `#! .'.  This would cause the generated library to
15658
 
    # depend on `.', always an invalid library.  This was fixed in
15659
 
    # development snapshots of GCC prior to 3.0.
15660
 
    case $host_os in
15661
 
      aix4 | aix4.[01] | aix4.[01].*)
15662
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15663
 
           echo ' yes '
15664
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15665
 
        :
15666
 
      else
15667
 
        can_build_shared=no
15668
 
      fi
15669
 
      ;;
15670
 
    esac
15671
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15672
 
    # soname into executable. Probably we can add versioning support to
15673
 
    # collect2, so additional links can be useful in future.
15674
 
    if test "$aix_use_runtimelinking" = yes; then
15675
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15676
 
      # instead of lib<name>.a to let people know that these are not
15677
 
      # typical AIX shared libraries.
15678
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15679
 
    else
15680
 
      # We preserve .a as extension for shared libraries through AIX4.2
15681
 
      # and later when we are not doing run time linking.
15682
 
      library_names_spec='${libname}${release}.a $libname.a'
15683
 
      soname_spec='${libname}${release}${shared_ext}$major'
15684
 
    fi
15685
 
    shlibpath_var=LIBPATH
15686
 
  fi
15687
 
  ;;
15688
 
 
15689
 
amigaos*)
15690
 
  library_names_spec='$libname.ixlibrary $libname.a'
15691
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
15692
 
  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'
15693
 
  ;;
15694
 
 
15695
 
beos*)
15696
 
  library_names_spec='${libname}${shared_ext}'
15697
 
  dynamic_linker="$host_os ld.so"
15698
 
  shlibpath_var=LIBRARY_PATH
15699
 
  ;;
15700
 
 
15701
 
bsdi[45]*)
15702
 
  version_type=linux
15703
 
  need_version=no
15704
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15705
 
  soname_spec='${libname}${release}${shared_ext}$major'
15706
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15707
 
  shlibpath_var=LD_LIBRARY_PATH
15708
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15709
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15710
 
  # the default ld.so.conf also contains /usr/contrib/lib and
15711
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15712
 
  # libtool to hard-code these into programs
15713
 
  ;;
15714
 
 
15715
 
cygwin* | mingw* | pw32*)
15716
 
  version_type=windows
15717
 
  shrext_cmds=".dll"
15718
 
  need_version=no
15719
 
  need_lib_prefix=no
15720
 
 
15721
 
  case $GCC,$host_os in
15722
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
15723
 
    library_names_spec='$libname.dll.a'
15724
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15725
 
    postinstall_cmds='base_file=`basename \${file}`~
15726
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15727
 
      dldir=$destdir/`dirname \$dlpath`~
15728
 
      test -d \$dldir || mkdir -p \$dldir~
15729
 
      $install_prog $dir/$dlname \$dldir/$dlname~
15730
 
      chmod a+x \$dldir/$dlname'
15731
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15732
 
      dlpath=$dir/\$dldll~
15733
 
       $rm \$dlpath'
15734
 
    shlibpath_overrides_runpath=yes
15735
 
 
15736
 
    case $host_os in
15737
 
    cygwin*)
15738
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15739
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15740
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15741
 
      ;;
15742
 
    mingw*)
15743
 
      # MinGW DLLs use traditional 'lib' prefix
15744
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15745
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15746
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15747
 
        # It is most probably a Windows format PATH printed by
15748
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
15749
 
        # path with ; separators, and with drive letters. We can handle the
15750
 
        # drive letters (cygwin fileutils understands them), so leave them,
15751
 
        # especially as we might pass files found there to a mingw objdump,
15752
 
        # which wouldn't understand a cygwinified path. Ahh.
15753
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15754
 
      else
15755
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15756
 
      fi
15757
 
      ;;
15758
 
    pw32*)
15759
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
15760
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15761
 
      ;;
15762
 
    esac
15763
 
    ;;
15764
 
 
15765
 
  *)
15766
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15767
 
    ;;
15768
 
  esac
15769
 
  dynamic_linker='Win32 ld.exe'
15770
 
  # FIXME: first we should search . and the directory the executable is in
15771
 
  shlibpath_var=PATH
15772
 
  ;;
15773
 
 
15774
 
darwin* | rhapsody*)
15775
 
  dynamic_linker="$host_os dyld"
15776
 
  version_type=darwin
15777
 
  need_lib_prefix=no
15778
 
  need_version=no
15779
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15780
 
  soname_spec='${libname}${release}${major}$shared_ext'
15781
 
  shlibpath_overrides_runpath=yes
15782
 
  shlibpath_var=DYLD_LIBRARY_PATH
15783
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15784
 
 
15785
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15786
 
  ;;
15787
 
 
15788
 
dgux*)
15789
 
  version_type=linux
15790
 
  need_lib_prefix=no
15791
 
  need_version=no
15792
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15793
 
  soname_spec='${libname}${release}${shared_ext}$major'
15794
 
  shlibpath_var=LD_LIBRARY_PATH
15795
 
  ;;
15796
 
 
15797
 
freebsd1*)
15798
 
  dynamic_linker=no
15799
 
  ;;
15800
 
 
15801
 
freebsd* | dragonfly*)
15802
 
  # DragonFly does not have aout.  When/if they implement a new
15803
 
  # versioning mechanism, adjust this.
15804
 
  if test -x /usr/bin/objformat; then
15805
 
    objformat=`/usr/bin/objformat`
15806
 
  else
15807
 
    case $host_os in
15808
 
    freebsd[123]*) objformat=aout ;;
15809
 
    *) objformat=elf ;;
15810
 
    esac
15811
 
  fi
15812
 
  version_type=freebsd-$objformat
15813
 
  case $version_type in
15814
 
    freebsd-elf*)
15815
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15816
 
      need_version=no
15817
 
      need_lib_prefix=no
15818
 
      ;;
15819
 
    freebsd-*)
15820
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15821
 
      need_version=yes
15822
 
      ;;
15823
 
  esac
15824
 
  shlibpath_var=LD_LIBRARY_PATH
15825
 
  case $host_os in
15826
 
  freebsd2*)
15827
 
    shlibpath_overrides_runpath=yes
15828
 
    ;;
15829
 
  freebsd3.[01]* | freebsdelf3.[01]*)
15830
 
    shlibpath_overrides_runpath=yes
15831
 
    hardcode_into_libs=yes
15832
 
    ;;
15833
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15834
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15835
 
    shlibpath_overrides_runpath=no
15836
 
    hardcode_into_libs=yes
15837
 
    ;;
15838
 
  *) # from 4.6 on, and DragonFly
15839
 
    shlibpath_overrides_runpath=yes
15840
 
    hardcode_into_libs=yes
15841
 
    ;;
15842
 
  esac
15843
 
  ;;
15844
 
 
15845
 
gnu*)
15846
 
  version_type=linux
15847
 
  need_lib_prefix=no
15848
 
  need_version=no
15849
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15850
 
  soname_spec='${libname}${release}${shared_ext}$major'
15851
 
  shlibpath_var=LD_LIBRARY_PATH
15852
 
  hardcode_into_libs=yes
15853
 
  ;;
15854
 
 
15855
 
hpux9* | hpux10* | hpux11*)
15856
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
15857
 
  # link against other versions.
15858
 
  version_type=sunos
15859
 
  need_lib_prefix=no
15860
 
  need_version=no
15861
 
  case $host_cpu in
15862
 
  ia64*)
15863
 
    shrext_cmds='.so'
15864
 
    hardcode_into_libs=yes
15865
 
    dynamic_linker="$host_os dld.so"
15866
 
    shlibpath_var=LD_LIBRARY_PATH
15867
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15868
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15869
 
    soname_spec='${libname}${release}${shared_ext}$major'
15870
 
    if test "X$HPUX_IA64_MODE" = X32; then
15871
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15872
 
    else
15873
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15874
 
    fi
15875
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15876
 
    ;;
15877
 
   hppa*64*)
15878
 
     shrext_cmds='.sl'
15879
 
     hardcode_into_libs=yes
15880
 
     dynamic_linker="$host_os dld.sl"
15881
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15882
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15883
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15884
 
     soname_spec='${libname}${release}${shared_ext}$major'
15885
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15886
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15887
 
     ;;
15888
 
   *)
15889
 
    shrext_cmds='.sl'
15890
 
    dynamic_linker="$host_os dld.sl"
15891
 
    shlibpath_var=SHLIB_PATH
15892
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15893
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15894
 
    soname_spec='${libname}${release}${shared_ext}$major'
15895
 
    ;;
15896
 
  esac
15897
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
15898
 
  postinstall_cmds='chmod 555 $lib'
15899
 
  ;;
15900
 
 
15901
 
interix[3-9]*)
15902
 
  version_type=linux
15903
 
  need_lib_prefix=no
15904
 
  need_version=no
15905
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15906
 
  soname_spec='${libname}${release}${shared_ext}$major'
15907
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15908
 
  shlibpath_var=LD_LIBRARY_PATH
15909
 
  shlibpath_overrides_runpath=no
15910
 
  hardcode_into_libs=yes
15911
 
  ;;
15912
 
 
15913
 
irix5* | irix6* | nonstopux*)
15914
 
  case $host_os in
15915
 
    nonstopux*) version_type=nonstopux ;;
15916
 
    *)
15917
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
15918
 
                version_type=linux
15919
 
        else
15920
 
                version_type=irix
15921
 
        fi ;;
15922
 
  esac
15923
 
  need_lib_prefix=no
15924
 
  need_version=no
15925
 
  soname_spec='${libname}${release}${shared_ext}$major'
15926
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15927
 
  case $host_os in
15928
 
  irix5* | nonstopux*)
15929
 
    libsuff= shlibsuff=
15930
 
    ;;
15931
 
  *)
15932
 
    case $LD in # libtool.m4 will add one of these switches to LD
15933
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15934
 
      libsuff= shlibsuff= libmagic=32-bit;;
15935
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15936
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
15937
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15938
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15939
 
    *) libsuff= shlibsuff= libmagic=never-match;;
15940
 
    esac
15941
 
    ;;
15942
 
  esac
15943
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15944
 
  shlibpath_overrides_runpath=no
15945
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15946
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15947
 
  hardcode_into_libs=yes
15948
 
  ;;
15949
 
 
15950
 
# No shared lib support for Linux oldld, aout, or coff.
15951
 
linux*oldld* | linux*aout* | linux*coff*)
15952
 
  dynamic_linker=no
15953
 
  ;;
15954
 
 
15955
 
# This must be Linux ELF.
15956
 
linux* | k*bsd*-gnu)
15957
 
  version_type=linux
15958
 
  need_lib_prefix=no
15959
 
  need_version=no
15960
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15961
 
  soname_spec='${libname}${release}${shared_ext}$major'
15962
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15963
 
  shlibpath_var=LD_LIBRARY_PATH
15964
 
  shlibpath_overrides_runpath=no
15965
 
  # This implies no fast_install, which is unacceptable.
15966
 
  # Some rework will be needed to allow for fast_install
15967
 
  # before this can be enabled.
15968
 
  hardcode_into_libs=yes
15969
 
 
15970
 
  # Append ld.so.conf contents to the search path
15971
 
  if test -f /etc/ld.so.conf; then
15972
 
    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' ' '`
15973
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15974
 
  fi
15975
 
 
15976
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
15977
 
  # powerpc, because MkLinux only supported shared libraries with the
15978
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
15979
 
  # most powerpc-linux boxes support dynamic linking these days and
15980
 
  # people can always --disable-shared, the test was removed, and we
15981
 
  # assume the GNU/Linux dynamic linker is in use.
15982
 
  dynamic_linker='GNU/Linux ld.so'
15983
 
  ;;
15984
 
 
15985
 
netbsdelf*-gnu)
15986
 
  version_type=linux
15987
 
  need_lib_prefix=no
15988
 
  need_version=no
15989
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15990
 
  soname_spec='${libname}${release}${shared_ext}$major'
15991
 
  shlibpath_var=LD_LIBRARY_PATH
15992
 
  shlibpath_overrides_runpath=no
15993
 
  hardcode_into_libs=yes
15994
 
  dynamic_linker='NetBSD ld.elf_so'
15995
 
  ;;
15996
 
 
15997
 
netbsd*)
15998
 
  version_type=sunos
15999
 
  need_lib_prefix=no
16000
 
  need_version=no
16001
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16002
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16003
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16004
 
    dynamic_linker='NetBSD (a.out) ld.so'
16005
 
  else
16006
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16007
 
    soname_spec='${libname}${release}${shared_ext}$major'
16008
 
    dynamic_linker='NetBSD ld.elf_so'
16009
 
  fi
16010
 
  shlibpath_var=LD_LIBRARY_PATH
16011
 
  shlibpath_overrides_runpath=yes
16012
 
  hardcode_into_libs=yes
16013
 
  ;;
16014
 
 
16015
 
newsos6)
16016
 
  version_type=linux
16017
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16018
 
  shlibpath_var=LD_LIBRARY_PATH
16019
 
  shlibpath_overrides_runpath=yes
16020
 
  ;;
16021
 
 
16022
 
nto-qnx*)
16023
 
  version_type=linux
16024
 
  need_lib_prefix=no
16025
 
  need_version=no
16026
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16027
 
  soname_spec='${libname}${release}${shared_ext}$major'
16028
 
  shlibpath_var=LD_LIBRARY_PATH
16029
 
  shlibpath_overrides_runpath=yes
16030
 
  ;;
16031
 
 
16032
 
openbsd*)
16033
 
  version_type=sunos
16034
 
  sys_lib_dlsearch_path_spec="/usr/lib"
16035
 
  need_lib_prefix=no
16036
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16037
 
  case $host_os in
16038
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16039
 
    *)                         need_version=no  ;;
16040
 
  esac
16041
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16042
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16043
 
  shlibpath_var=LD_LIBRARY_PATH
16044
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16045
 
    case $host_os in
16046
 
      openbsd2.[89] | openbsd2.[89].*)
16047
 
        shlibpath_overrides_runpath=no
16048
 
        ;;
16049
 
      *)
16050
 
        shlibpath_overrides_runpath=yes
16051
 
        ;;
16052
 
      esac
16053
 
  else
16054
 
    shlibpath_overrides_runpath=yes
16055
 
  fi
16056
 
  ;;
16057
 
 
16058
 
os2*)
16059
 
  libname_spec='$name'
16060
 
  shrext_cmds=".dll"
16061
 
  need_lib_prefix=no
16062
 
  library_names_spec='$libname${shared_ext} $libname.a'
16063
 
  dynamic_linker='OS/2 ld.exe'
16064
 
  shlibpath_var=LIBPATH
16065
 
  ;;
16066
 
 
16067
 
osf3* | osf4* | osf5*)
16068
 
  version_type=osf
16069
 
  need_lib_prefix=no
16070
 
  need_version=no
16071
 
  soname_spec='${libname}${release}${shared_ext}$major'
16072
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16073
 
  shlibpath_var=LD_LIBRARY_PATH
16074
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16075
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16076
 
  ;;
16077
 
 
16078
 
rdos*)
16079
 
  dynamic_linker=no
16080
 
  ;;
16081
 
 
16082
 
solaris*)
16083
 
  version_type=linux
16084
 
  need_lib_prefix=no
16085
 
  need_version=no
16086
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16087
 
  soname_spec='${libname}${release}${shared_ext}$major'
16088
 
  shlibpath_var=LD_LIBRARY_PATH
16089
 
  shlibpath_overrides_runpath=yes
16090
 
  hardcode_into_libs=yes
16091
 
  # ldd complains unless libraries are executable
16092
 
  postinstall_cmds='chmod +x $lib'
16093
 
  ;;
16094
 
 
16095
 
sunos4*)
16096
 
  version_type=sunos
16097
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16098
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16099
 
  shlibpath_var=LD_LIBRARY_PATH
16100
 
  shlibpath_overrides_runpath=yes
16101
 
  if test "$with_gnu_ld" = yes; then
16102
 
    need_lib_prefix=no
16103
 
  fi
16104
 
  need_version=yes
16105
 
  ;;
16106
 
 
16107
 
sysv4 | sysv4.3*)
16108
 
  version_type=linux
16109
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16110
 
  soname_spec='${libname}${release}${shared_ext}$major'
16111
 
  shlibpath_var=LD_LIBRARY_PATH
16112
 
  case $host_vendor in
16113
 
    sni)
16114
 
      shlibpath_overrides_runpath=no
16115
 
      need_lib_prefix=no
16116
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
16117
 
      runpath_var=LD_RUN_PATH
16118
 
      ;;
16119
 
    siemens)
16120
 
      need_lib_prefix=no
16121
 
      ;;
16122
 
    motorola)
16123
 
      need_lib_prefix=no
16124
 
      need_version=no
16125
 
      shlibpath_overrides_runpath=no
16126
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16127
 
      ;;
16128
 
  esac
16129
 
  ;;
16130
 
 
16131
 
sysv4*MP*)
16132
 
  if test -d /usr/nec ;then
16133
 
    version_type=linux
16134
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16135
 
    soname_spec='$libname${shared_ext}.$major'
16136
 
    shlibpath_var=LD_LIBRARY_PATH
16137
 
  fi
16138
 
  ;;
16139
 
 
16140
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16141
 
  version_type=freebsd-elf
16142
 
  need_lib_prefix=no
16143
 
  need_version=no
16144
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16145
 
  soname_spec='${libname}${release}${shared_ext}$major'
16146
 
  shlibpath_var=LD_LIBRARY_PATH
16147
 
  hardcode_into_libs=yes
16148
 
  if test "$with_gnu_ld" = yes; then
16149
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16150
 
    shlibpath_overrides_runpath=no
16151
 
  else
16152
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16153
 
    shlibpath_overrides_runpath=yes
16154
 
    case $host_os in
16155
 
      sco3.2v5*)
16156
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16157
 
        ;;
16158
 
    esac
16159
 
  fi
16160
 
  sys_lib_dlsearch_path_spec='/usr/lib'
16161
 
  ;;
16162
 
 
16163
 
uts4*)
16164
 
  version_type=linux
16165
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16166
 
  soname_spec='${libname}${release}${shared_ext}$major'
16167
 
  shlibpath_var=LD_LIBRARY_PATH
16168
 
  ;;
16169
 
 
16170
 
*)
16171
 
  dynamic_linker=no
16172
 
  ;;
16173
 
esac
16174
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16175
 
echo "${ECHO_T}$dynamic_linker" >&6; }
16176
 
test "$dynamic_linker" = no && can_build_shared=no
16177
 
 
16178
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16179
 
if test "$GCC" = yes; then
16180
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16181
 
fi
16182
 
 
16183
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16184
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16185
 
hardcode_action_F77=
16186
 
if test -n "$hardcode_libdir_flag_spec_F77" || \
16187
 
   test -n "$runpath_var_F77" || \
16188
 
   test "X$hardcode_automatic_F77" = "Xyes" ; then
16189
 
 
16190
 
  # We can hardcode non-existant directories.
16191
 
  if test "$hardcode_direct_F77" != no &&
16192
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
16193
 
     # have to relink, otherwise we might link with an installed library
16194
 
     # when we should be linking with a yet-to-be-installed one
16195
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16196
 
     test "$hardcode_minus_L_F77" != no; then
16197
 
    # Linking always hardcodes the temporary library directory.
16198
 
    hardcode_action_F77=relink
16199
 
  else
16200
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
16201
 
    hardcode_action_F77=immediate
16202
 
  fi
16203
 
else
16204
 
  # We cannot hardcode anything, or else we can only hardcode existing
16205
 
  # directories.
16206
 
  hardcode_action_F77=unsupported
16207
 
fi
16208
 
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16209
 
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16210
 
 
16211
 
if test "$hardcode_action_F77" = relink; then
16212
 
  # Fast installation is not supported
16213
 
  enable_fast_install=no
16214
 
elif test "$shlibpath_overrides_runpath" = yes ||
16215
 
     test "$enable_shared" = no; then
16216
 
  # Fast installation is not necessary
16217
 
  enable_fast_install=needless
16218
 
fi
16219
 
 
16220
 
 
16221
 
# The else clause should only fire when bootstrapping the
16222
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
16223
 
# with your package, and you will get complaints that there are
16224
 
# no rules to generate ltmain.sh.
16225
 
if test -f "$ltmain"; then
16226
 
  # See if we are running on zsh, and set the options which allow our commands through
16227
 
  # without removal of \ escapes.
16228
 
  if test -n "${ZSH_VERSION+set}" ; then
16229
 
    setopt NO_GLOB_SUBST
16230
 
  fi
16231
 
  # Now quote all the things that may contain metacharacters while being
16232
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
16233
 
  # variables and quote the copies for generation of the libtool script.
16234
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16235
 
    SED SHELL STRIP \
16236
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16237
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16238
 
    deplibs_check_method reload_flag reload_cmds need_locks \
16239
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16240
 
    lt_cv_sys_global_symbol_to_c_name_address \
16241
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16242
 
    old_postinstall_cmds old_postuninstall_cmds \
16243
 
    compiler_F77 \
16244
 
    CC_F77 \
16245
 
    LD_F77 \
16246
 
    lt_prog_compiler_wl_F77 \
16247
 
    lt_prog_compiler_pic_F77 \
16248
 
    lt_prog_compiler_static_F77 \
16249
 
    lt_prog_compiler_no_builtin_flag_F77 \
16250
 
    export_dynamic_flag_spec_F77 \
16251
 
    thread_safe_flag_spec_F77 \
16252
 
    whole_archive_flag_spec_F77 \
16253
 
    enable_shared_with_static_runtimes_F77 \
16254
 
    old_archive_cmds_F77 \
16255
 
    old_archive_from_new_cmds_F77 \
16256
 
    predep_objects_F77 \
16257
 
    postdep_objects_F77 \
16258
 
    predeps_F77 \
16259
 
    postdeps_F77 \
16260
 
    compiler_lib_search_path_F77 \
16261
 
    archive_cmds_F77 \
16262
 
    archive_expsym_cmds_F77 \
16263
 
    postinstall_cmds_F77 \
16264
 
    postuninstall_cmds_F77 \
16265
 
    old_archive_from_expsyms_cmds_F77 \
16266
 
    allow_undefined_flag_F77 \
16267
 
    no_undefined_flag_F77 \
16268
 
    export_symbols_cmds_F77 \
16269
 
    hardcode_libdir_flag_spec_F77 \
16270
 
    hardcode_libdir_flag_spec_ld_F77 \
16271
 
    hardcode_libdir_separator_F77 \
16272
 
    hardcode_automatic_F77 \
16273
 
    module_cmds_F77 \
16274
 
    module_expsym_cmds_F77 \
16275
 
    lt_cv_prog_compiler_c_o_F77 \
16276
 
    fix_srcfile_path_F77 \
16277
 
    exclude_expsyms_F77 \
16278
 
    include_expsyms_F77; do
16279
 
 
16280
 
    case $var in
16281
 
    old_archive_cmds_F77 | \
16282
 
    old_archive_from_new_cmds_F77 | \
16283
 
    archive_cmds_F77 | \
16284
 
    archive_expsym_cmds_F77 | \
16285
 
    module_cmds_F77 | \
16286
 
    module_expsym_cmds_F77 | \
16287
 
    old_archive_from_expsyms_cmds_F77 | \
16288
 
    export_symbols_cmds_F77 | \
16289
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
16290
 
    postinstall_cmds | postuninstall_cmds | \
16291
 
    old_postinstall_cmds | old_postuninstall_cmds | \
16292
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16293
 
      # Double-quote double-evaled strings.
16294
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16295
 
      ;;
16296
 
    *)
16297
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16298
 
      ;;
16299
 
    esac
16300
 
  done
16301
 
 
16302
 
  case $lt_echo in
16303
 
  *'\$0 --fallback-echo"')
16304
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16305
 
    ;;
16306
 
  esac
16307
 
 
16308
 
cfgfile="$ofile"
16309
 
 
16310
 
  cat <<__EOF__ >> "$cfgfile"
16311
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16312
 
 
16313
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16314
 
 
16315
 
# Shell to use when invoking shell scripts.
16316
 
SHELL=$lt_SHELL
16317
 
 
16318
 
# Whether or not to build shared libraries.
16319
 
build_libtool_libs=$enable_shared
16320
 
 
16321
 
# Whether or not to build static libraries.
16322
 
build_old_libs=$enable_static
16323
 
 
16324
 
# Whether or not to add -lc for building shared libraries.
16325
 
build_libtool_need_lc=$archive_cmds_need_lc_F77
16326
 
 
16327
 
# Whether or not to disallow shared libs when runtime libs are static
16328
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16329
 
 
16330
 
# Whether or not to optimize for fast installation.
16331
 
fast_install=$enable_fast_install
16332
 
 
16333
 
# The host system.
16334
 
host_alias=$host_alias
16335
 
host=$host
16336
 
host_os=$host_os
16337
 
 
16338
 
# The build system.
16339
 
build_alias=$build_alias
16340
 
build=$build
16341
 
build_os=$build_os
16342
 
 
16343
 
# An echo program that does not interpret backslashes.
16344
 
echo=$lt_echo
16345
 
 
16346
 
# The archiver.
16347
 
AR=$lt_AR
16348
 
AR_FLAGS=$lt_AR_FLAGS
16349
 
 
16350
 
# A C compiler.
16351
 
LTCC=$lt_LTCC
16352
 
 
16353
 
# LTCC compiler flags.
16354
 
LTCFLAGS=$lt_LTCFLAGS
16355
 
 
16356
 
# A language-specific compiler.
16357
 
CC=$lt_compiler_F77
16358
 
 
16359
 
# Is the compiler the GNU C compiler?
16360
 
with_gcc=$GCC_F77
16361
 
 
16362
 
# An ERE matcher.
16363
 
EGREP=$lt_EGREP
16364
 
 
16365
 
# The linker used to build libraries.
16366
 
LD=$lt_LD_F77
16367
 
 
16368
 
# Whether we need hard or soft links.
16369
 
LN_S=$lt_LN_S
16370
 
 
16371
 
# A BSD-compatible nm program.
16372
 
NM=$lt_NM
16373
 
 
16374
 
# A symbol stripping program
16375
 
STRIP=$lt_STRIP
16376
 
 
16377
 
# Used to examine libraries when file_magic_cmd begins "file"
16378
 
MAGIC_CMD=$MAGIC_CMD
16379
 
 
16380
 
# Used on cygwin: DLL creation program.
16381
 
DLLTOOL="$DLLTOOL"
16382
 
 
16383
 
# Used on cygwin: object dumper.
16384
 
OBJDUMP="$OBJDUMP"
16385
 
 
16386
 
# Used on cygwin: assembler.
16387
 
AS="$AS"
16388
 
 
16389
 
# The name of the directory that contains temporary libtool files.
16390
 
objdir=$objdir
16391
 
 
16392
 
# How to create reloadable object files.
16393
 
reload_flag=$lt_reload_flag
16394
 
reload_cmds=$lt_reload_cmds
16395
 
 
16396
 
# How to pass a linker flag through the compiler.
16397
 
wl=$lt_lt_prog_compiler_wl_F77
16398
 
 
16399
 
# Object file suffix (normally "o").
16400
 
objext="$ac_objext"
16401
 
 
16402
 
# Old archive suffix (normally "a").
16403
 
libext="$libext"
16404
 
 
16405
 
# Shared library suffix (normally ".so").
16406
 
shrext_cmds='$shrext_cmds'
16407
 
 
16408
 
# Executable file suffix (normally "").
16409
 
exeext="$exeext"
16410
 
 
16411
 
# Additional compiler flags for building library objects.
16412
 
pic_flag=$lt_lt_prog_compiler_pic_F77
16413
 
pic_mode=$pic_mode
16414
 
 
16415
 
# What is the maximum length of a command?
16416
 
max_cmd_len=$lt_cv_sys_max_cmd_len
16417
 
 
16418
 
# Does compiler simultaneously support -c and -o options?
16419
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16420
 
 
16421
 
# Must we lock files when doing compilation?
16422
 
need_locks=$lt_need_locks
16423
 
 
16424
 
# Do we need the lib prefix for modules?
16425
 
need_lib_prefix=$need_lib_prefix
16426
 
 
16427
 
# Do we need a version for libraries?
16428
 
need_version=$need_version
16429
 
 
16430
 
# Whether dlopen is supported.
16431
 
dlopen_support=$enable_dlopen
16432
 
 
16433
 
# Whether dlopen of programs is supported.
16434
 
dlopen_self=$enable_dlopen_self
16435
 
 
16436
 
# Whether dlopen of statically linked programs is supported.
16437
 
dlopen_self_static=$enable_dlopen_self_static
16438
 
 
16439
 
# Compiler flag to prevent dynamic linking.
16440
 
link_static_flag=$lt_lt_prog_compiler_static_F77
16441
 
 
16442
 
# Compiler flag to turn off builtin functions.
16443
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16444
 
 
16445
 
# Compiler flag to allow reflexive dlopens.
16446
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16447
 
 
16448
 
# Compiler flag to generate shared objects directly from archives.
16449
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16450
 
 
16451
 
# Compiler flag to generate thread-safe objects.
16452
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16453
 
 
16454
 
# Library versioning type.
16455
 
version_type=$version_type
16456
 
 
16457
 
# Format of library name prefix.
16458
 
libname_spec=$lt_libname_spec
16459
 
 
16460
 
# List of archive names.  First name is the real one, the rest are links.
16461
 
# The last name is the one that the linker finds with -lNAME.
16462
 
library_names_spec=$lt_library_names_spec
16463
 
 
16464
 
# The coded name of the library, if different from the real name.
16465
 
soname_spec=$lt_soname_spec
16466
 
 
16467
 
# Commands used to build and install an old-style archive.
16468
 
RANLIB=$lt_RANLIB
16469
 
old_archive_cmds=$lt_old_archive_cmds_F77
16470
 
old_postinstall_cmds=$lt_old_postinstall_cmds
16471
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16472
 
 
16473
 
# Create an old-style archive from a shared archive.
16474
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16475
 
 
16476
 
# Create a temporary old-style archive to link instead of a shared archive.
16477
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16478
 
 
16479
 
# Commands used to build and install a shared archive.
16480
 
archive_cmds=$lt_archive_cmds_F77
16481
 
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16482
 
postinstall_cmds=$lt_postinstall_cmds
16483
 
postuninstall_cmds=$lt_postuninstall_cmds
16484
 
 
16485
 
# Commands used to build a loadable module (assumed same as above if empty)
16486
 
module_cmds=$lt_module_cmds_F77
16487
 
module_expsym_cmds=$lt_module_expsym_cmds_F77
16488
 
 
16489
 
# Commands to strip libraries.
16490
 
old_striplib=$lt_old_striplib
16491
 
striplib=$lt_striplib
16492
 
 
16493
 
# Dependencies to place before the objects being linked to create a
16494
 
# shared library.
16495
 
predep_objects=$lt_predep_objects_F77
16496
 
 
16497
 
# Dependencies to place after the objects being linked to create a
16498
 
# shared library.
16499
 
postdep_objects=$lt_postdep_objects_F77
16500
 
 
16501
 
# Dependencies to place before the objects being linked to create a
16502
 
# shared library.
16503
 
predeps=$lt_predeps_F77
16504
 
 
16505
 
# Dependencies to place after the objects being linked to create a
16506
 
# shared library.
16507
 
postdeps=$lt_postdeps_F77
16508
 
 
16509
 
# The library search path used internally by the compiler when linking
16510
 
# a shared library.
16511
 
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16512
 
 
16513
 
# Method to check whether dependent libraries are shared objects.
16514
 
deplibs_check_method=$lt_deplibs_check_method
16515
 
 
16516
 
# Command to use when deplibs_check_method == file_magic.
16517
 
file_magic_cmd=$lt_file_magic_cmd
16518
 
 
16519
 
# Flag that allows shared libraries with undefined symbols to be built.
16520
 
allow_undefined_flag=$lt_allow_undefined_flag_F77
16521
 
 
16522
 
# Flag that forces no undefined symbols.
16523
 
no_undefined_flag=$lt_no_undefined_flag_F77
16524
 
 
16525
 
# Commands used to finish a libtool library installation in a directory.
16526
 
finish_cmds=$lt_finish_cmds
16527
 
 
16528
 
# Same as above, but a single script fragment to be evaled but not shown.
16529
 
finish_eval=$lt_finish_eval
16530
 
 
16531
 
# Take the output of nm and produce a listing of raw symbols and C names.
16532
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16533
 
 
16534
 
# Transform the output of nm in a proper C declaration
16535
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16536
 
 
16537
 
# Transform the output of nm in a C name address pair
16538
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16539
 
 
16540
 
# This is the shared library runtime path variable.
16541
 
runpath_var=$runpath_var
16542
 
 
16543
 
# This is the shared library path variable.
16544
 
shlibpath_var=$shlibpath_var
16545
 
 
16546
 
# Is shlibpath searched before the hard-coded library search path?
16547
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16548
 
 
16549
 
# How to hardcode a shared library path into an executable.
16550
 
hardcode_action=$hardcode_action_F77
16551
 
 
16552
 
# Whether we should hardcode library paths into libraries.
16553
 
hardcode_into_libs=$hardcode_into_libs
16554
 
 
16555
 
# Flag to hardcode \$libdir into a binary during linking.
16556
 
# This must work even if \$libdir does not exist.
16557
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16558
 
 
16559
 
# If ld is used when linking, flag to hardcode \$libdir into
16560
 
# a binary during linking. This must work even if \$libdir does
16561
 
# not exist.
16562
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16563
 
 
16564
 
# Whether we need a single -rpath flag with a separated argument.
16565
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16566
 
 
16567
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16568
 
# resulting binary.
16569
 
hardcode_direct=$hardcode_direct_F77
16570
 
 
16571
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16572
 
# resulting binary.
16573
 
hardcode_minus_L=$hardcode_minus_L_F77
16574
 
 
16575
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16576
 
# the resulting binary.
16577
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16578
 
 
16579
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
16580
 
# and all subsequent libraries and executables linked against it.
16581
 
hardcode_automatic=$hardcode_automatic_F77
16582
 
 
16583
 
# Variables whose values should be saved in libtool wrapper scripts and
16584
 
# restored at relink time.
16585
 
variables_saved_for_relink="$variables_saved_for_relink"
16586
 
 
16587
 
# Whether libtool must link a program against all its dependency libraries.
16588
 
link_all_deplibs=$link_all_deplibs_F77
16589
 
 
16590
 
# Compile-time system search path for libraries
16591
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16592
 
 
16593
 
# Run-time system search path for libraries
16594
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16595
 
 
16596
 
# Fix the shell variable \$srcfile for the compiler.
16597
 
fix_srcfile_path=$lt_fix_srcfile_path
16598
 
 
16599
 
# Set to yes if exported symbols are required.
16600
 
always_export_symbols=$always_export_symbols_F77
16601
 
 
16602
 
# The commands to list exported symbols.
16603
 
export_symbols_cmds=$lt_export_symbols_cmds_F77
16604
 
 
16605
 
# The commands to extract the exported symbol list from a shared archive.
16606
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16607
 
 
16608
 
# Symbols that should not be listed in the preloaded symbols.
16609
 
exclude_expsyms=$lt_exclude_expsyms_F77
16610
 
 
16611
 
# Symbols that must always be exported.
16612
 
include_expsyms=$lt_include_expsyms_F77
16613
 
 
16614
 
# ### END LIBTOOL TAG CONFIG: $tagname
16615
 
 
16616
 
__EOF__
16617
 
 
16618
 
 
16619
 
else
16620
 
  # If there is no Makefile yet, we rely on a make rule to execute
16621
 
  # `config.status --recheck' to rerun these tests and create the
16622
 
  # libtool script then.
16623
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16624
 
  if test -f "$ltmain_in"; then
16625
 
    test -f Makefile && make "$ltmain"
16626
 
  fi
16627
 
fi
16628
 
 
16629
 
 
16630
 
ac_ext=c
16631
 
ac_cpp='$CPP $CPPFLAGS'
16632
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16633
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16634
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16635
 
 
16636
 
CC="$lt_save_CC"
16637
 
 
16638
 
        else
16639
 
          tagname=""
16640
 
        fi
16641
 
        ;;
16642
 
 
16643
 
      GCJ)
16644
 
        if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16645
 
 
16646
 
 
16647
 
# Source file extension for Java test sources.
16648
 
ac_ext=java
16649
 
 
16650
 
# Object file extension for compiled Java test sources.
16651
 
objext=o
16652
 
objext_GCJ=$objext
16653
 
 
16654
 
# Code to be used in simple compile tests
16655
 
lt_simple_compile_test_code="class foo {}"
16656
 
 
16657
 
# Code to be used in simple link tests
16658
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16659
 
 
16660
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16661
 
 
16662
 
# If no C compiler was specified, use CC.
16663
 
LTCC=${LTCC-"$CC"}
16664
 
 
16665
 
# If no C compiler flags were specified, use CFLAGS.
16666
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16667
 
 
16668
 
# Allow CC to be a program name with arguments.
16669
 
compiler=$CC
16670
 
 
16671
 
 
16672
 
# save warnings/boilerplate of simple test code
16673
 
ac_outfile=conftest.$ac_objext
16674
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16675
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16676
 
_lt_compiler_boilerplate=`cat conftest.err`
16677
 
$rm conftest*
16678
 
 
16679
 
ac_outfile=conftest.$ac_objext
16680
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16681
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16682
 
_lt_linker_boilerplate=`cat conftest.err`
16683
 
$rm conftest*
16684
 
 
16685
 
 
16686
 
# Allow CC to be a program name with arguments.
16687
 
lt_save_CC="$CC"
16688
 
CC=${GCJ-"gcj"}
16689
 
compiler=$CC
16690
 
compiler_GCJ=$CC
16691
 
for cc_temp in $compiler""; do
16692
 
  case $cc_temp in
16693
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16694
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16695
 
    \-*) ;;
16696
 
    *) break;;
16697
 
  esac
16698
 
done
16699
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16700
 
 
16701
 
 
16702
 
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16703
 
archive_cmds_need_lc_GCJ=no
16704
 
 
16705
 
old_archive_cmds_GCJ=$old_archive_cmds
16706
 
 
16707
 
 
16708
 
lt_prog_compiler_no_builtin_flag_GCJ=
16709
 
 
16710
 
if test "$GCC" = yes; then
16711
 
  lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16712
 
 
16713
 
 
16714
 
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16715
 
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16716
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16717
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
16718
 
else
16719
 
  lt_cv_prog_compiler_rtti_exceptions=no
16720
 
  ac_outfile=conftest.$ac_objext
16721
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16722
 
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16723
 
   # Insert the option either (1) after the last *FLAGS variable, or
16724
 
   # (2) before a word containing "conftest.", or (3) at the end.
16725
 
   # Note that $ac_compile itself does not contain backslashes and begins
16726
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
16727
 
   # The option is referenced via a variable to avoid confusing sed.
16728
 
   lt_compile=`echo "$ac_compile" | $SED \
16729
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16730
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16731
 
   -e 's:$: $lt_compiler_flag:'`
16732
 
   (eval echo "\"\$as_me:16732: $lt_compile\"" >&5)
16733
 
   (eval "$lt_compile" 2>conftest.err)
16734
 
   ac_status=$?
16735
 
   cat conftest.err >&5
16736
 
   echo "$as_me:16736: \$? = $ac_status" >&5
16737
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
16738
 
     # The compiler can only warn and ignore the option if not recognized
16739
 
     # So say no if there are warnings other than the usual output.
16740
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16741
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16742
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16743
 
       lt_cv_prog_compiler_rtti_exceptions=yes
16744
 
     fi
16745
 
   fi
16746
 
   $rm conftest*
16747
 
 
16748
 
fi
16749
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16750
 
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16751
 
 
16752
 
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16753
 
    lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16754
 
else
16755
 
    :
16756
 
fi
16757
 
 
16758
 
fi
16759
 
 
16760
 
lt_prog_compiler_wl_GCJ=
16761
 
lt_prog_compiler_pic_GCJ=
16762
 
lt_prog_compiler_static_GCJ=
16763
 
 
16764
 
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16765
 
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16766
 
 
16767
 
  if test "$GCC" = yes; then
16768
 
    lt_prog_compiler_wl_GCJ='-Wl,'
16769
 
    lt_prog_compiler_static_GCJ='-static'
16770
 
 
16771
 
    case $host_os in
16772
 
      aix*)
16773
 
      # All AIX code is PIC.
16774
 
      if test "$host_cpu" = ia64; then
16775
 
        # AIX 5 now supports IA64 processor
16776
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16777
 
      fi
16778
 
      ;;
16779
 
 
16780
 
    amigaos*)
16781
 
      # FIXME: we need at least 68020 code to build shared libraries, but
16782
 
      # adding the `-m68020' flag to GCC prevents building anything better,
16783
 
      # like `-m68040'.
16784
 
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16785
 
      ;;
16786
 
 
16787
 
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16788
 
      # PIC is the default for these OSes.
16789
 
      ;;
16790
 
 
16791
 
    mingw* | cygwin* | pw32* | os2*)
16792
 
      # This hack is so that the source file can tell whether it is being
16793
 
      # built for inclusion in a dll (and should export symbols for example).
16794
 
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
16795
 
      # (--disable-auto-import) libraries
16796
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16797
 
      ;;
16798
 
 
16799
 
    darwin* | rhapsody*)
16800
 
      # PIC is the default on this platform
16801
 
      # Common symbols not allowed in MH_DYLIB files
16802
 
      lt_prog_compiler_pic_GCJ='-fno-common'
16803
 
      ;;
16804
 
 
16805
 
    interix[3-9]*)
16806
 
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16807
 
      # Instead, we relocate shared libraries at runtime.
16808
 
      ;;
16809
 
 
16810
 
    msdosdjgpp*)
16811
 
      # Just because we use GCC doesn't mean we suddenly get shared libraries
16812
 
      # on systems that don't support them.
16813
 
      lt_prog_compiler_can_build_shared_GCJ=no
16814
 
      enable_shared=no
16815
 
      ;;
16816
 
 
16817
 
    sysv4*MP*)
16818
 
      if test -d /usr/nec; then
16819
 
        lt_prog_compiler_pic_GCJ=-Kconform_pic
16820
 
      fi
16821
 
      ;;
16822
 
 
16823
 
    hpux*)
16824
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16825
 
      # not for PA HP-UX.
16826
 
      case $host_cpu in
16827
 
      hppa*64*|ia64*)
16828
 
        # +Z the default
16829
 
        ;;
16830
 
      *)
16831
 
        lt_prog_compiler_pic_GCJ='-fPIC'
16832
 
        ;;
16833
 
      esac
16834
 
      ;;
16835
 
 
16836
 
    *)
16837
 
      lt_prog_compiler_pic_GCJ='-fPIC'
16838
 
      ;;
16839
 
    esac
16840
 
  else
16841
 
    # PORTME Check for flag to pass linker flags through the system compiler.
16842
 
    case $host_os in
16843
 
    aix*)
16844
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16845
 
      if test "$host_cpu" = ia64; then
16846
 
        # AIX 5 now supports IA64 processor
16847
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16848
 
      else
16849
 
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16850
 
      fi
16851
 
      ;;
16852
 
      darwin*)
16853
 
        # PIC is the default on this platform
16854
 
        # Common symbols not allowed in MH_DYLIB files
16855
 
       case $cc_basename in
16856
 
         xlc*)
16857
 
         lt_prog_compiler_pic_GCJ='-qnocommon'
16858
 
         lt_prog_compiler_wl_GCJ='-Wl,'
16859
 
         ;;
16860
 
       esac
16861
 
       ;;
16862
 
 
16863
 
    mingw* | cygwin* | pw32* | os2*)
16864
 
      # This hack is so that the source file can tell whether it is being
16865
 
      # built for inclusion in a dll (and should export symbols for example).
16866
 
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16867
 
      ;;
16868
 
 
16869
 
    hpux9* | hpux10* | hpux11*)
16870
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16871
 
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16872
 
      # not for PA HP-UX.
16873
 
      case $host_cpu in
16874
 
      hppa*64*|ia64*)
16875
 
        # +Z the default
16876
 
        ;;
16877
 
      *)
16878
 
        lt_prog_compiler_pic_GCJ='+Z'
16879
 
        ;;
16880
 
      esac
16881
 
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
16882
 
      lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16883
 
      ;;
16884
 
 
16885
 
    irix5* | irix6* | nonstopux*)
16886
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16887
 
      # PIC (with -KPIC) is the default.
16888
 
      lt_prog_compiler_static_GCJ='-non_shared'
16889
 
      ;;
16890
 
 
16891
 
    newsos6)
16892
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16893
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16894
 
      ;;
16895
 
 
16896
 
    linux* | k*bsd*-gnu)
16897
 
      case $cc_basename in
16898
 
      icc* | ecc*)
16899
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16900
 
        lt_prog_compiler_pic_GCJ='-KPIC'
16901
 
        lt_prog_compiler_static_GCJ='-static'
16902
 
        ;;
16903
 
      pgcc* | pgf77* | pgf90* | pgf95*)
16904
 
        # Portland Group compilers (*not* the Pentium gcc compiler,
16905
 
        # which looks to be a dead project)
16906
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16907
 
        lt_prog_compiler_pic_GCJ='-fpic'
16908
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16909
 
        ;;
16910
 
      ccc*)
16911
 
        lt_prog_compiler_wl_GCJ='-Wl,'
16912
 
        # All Alpha code is PIC.
16913
 
        lt_prog_compiler_static_GCJ='-non_shared'
16914
 
        ;;
16915
 
      *)
16916
 
        case `$CC -V 2>&1 | sed 5q` in
16917
 
        *Sun\ C*)
16918
 
          # Sun C 5.9
16919
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16920
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16921
 
          lt_prog_compiler_wl_GCJ='-Wl,'
16922
 
          ;;
16923
 
        *Sun\ F*)
16924
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
16925
 
          lt_prog_compiler_pic_GCJ='-KPIC'
16926
 
          lt_prog_compiler_static_GCJ='-Bstatic'
16927
 
          lt_prog_compiler_wl_GCJ=''
16928
 
          ;;
16929
 
        esac
16930
 
        ;;
16931
 
      esac
16932
 
      ;;
16933
 
 
16934
 
    osf3* | osf4* | osf5*)
16935
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16936
 
      # All OSF/1 code is PIC.
16937
 
      lt_prog_compiler_static_GCJ='-non_shared'
16938
 
      ;;
16939
 
 
16940
 
    rdos*)
16941
 
      lt_prog_compiler_static_GCJ='-non_shared'
16942
 
      ;;
16943
 
 
16944
 
    solaris*)
16945
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16946
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16947
 
      case $cc_basename in
16948
 
      f77* | f90* | f95*)
16949
 
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16950
 
      *)
16951
 
        lt_prog_compiler_wl_GCJ='-Wl,';;
16952
 
      esac
16953
 
      ;;
16954
 
 
16955
 
    sunos4*)
16956
 
      lt_prog_compiler_wl_GCJ='-Qoption ld '
16957
 
      lt_prog_compiler_pic_GCJ='-PIC'
16958
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16959
 
      ;;
16960
 
 
16961
 
    sysv4 | sysv4.2uw2* | sysv4.3*)
16962
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16963
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16964
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16965
 
      ;;
16966
 
 
16967
 
    sysv4*MP*)
16968
 
      if test -d /usr/nec ;then
16969
 
        lt_prog_compiler_pic_GCJ='-Kconform_pic'
16970
 
        lt_prog_compiler_static_GCJ='-Bstatic'
16971
 
      fi
16972
 
      ;;
16973
 
 
16974
 
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16975
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16976
 
      lt_prog_compiler_pic_GCJ='-KPIC'
16977
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16978
 
      ;;
16979
 
 
16980
 
    unicos*)
16981
 
      lt_prog_compiler_wl_GCJ='-Wl,'
16982
 
      lt_prog_compiler_can_build_shared_GCJ=no
16983
 
      ;;
16984
 
 
16985
 
    uts4*)
16986
 
      lt_prog_compiler_pic_GCJ='-pic'
16987
 
      lt_prog_compiler_static_GCJ='-Bstatic'
16988
 
      ;;
16989
 
 
16990
 
    *)
16991
 
      lt_prog_compiler_can_build_shared_GCJ=no
16992
 
      ;;
16993
 
    esac
16994
 
  fi
16995
 
 
16996
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16997
 
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16998
 
 
16999
 
#
17000
 
# Check to make sure the PIC flag actually works.
17001
 
#
17002
 
if test -n "$lt_prog_compiler_pic_GCJ"; then
17003
 
 
17004
 
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17005
 
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
17006
 
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17007
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17008
 
else
17009
 
  lt_prog_compiler_pic_works_GCJ=no
17010
 
  ac_outfile=conftest.$ac_objext
17011
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17012
 
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
17013
 
   # Insert the option either (1) after the last *FLAGS variable, or
17014
 
   # (2) before a word containing "conftest.", or (3) at the end.
17015
 
   # Note that $ac_compile itself does not contain backslashes and begins
17016
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17017
 
   # The option is referenced via a variable to avoid confusing sed.
17018
 
   lt_compile=`echo "$ac_compile" | $SED \
17019
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17020
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17021
 
   -e 's:$: $lt_compiler_flag:'`
17022
 
   (eval echo "\"\$as_me:17022: $lt_compile\"" >&5)
17023
 
   (eval "$lt_compile" 2>conftest.err)
17024
 
   ac_status=$?
17025
 
   cat conftest.err >&5
17026
 
   echo "$as_me:17026: \$? = $ac_status" >&5
17027
 
   if (exit $ac_status) && test -s "$ac_outfile"; then
17028
 
     # The compiler can only warn and ignore the option if not recognized
17029
 
     # So say no if there are warnings other than the usual output.
17030
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17031
 
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17032
 
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17033
 
       lt_prog_compiler_pic_works_GCJ=yes
17034
 
     fi
17035
 
   fi
17036
 
   $rm conftest*
17037
 
 
17038
 
fi
17039
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17040
 
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
17041
 
 
17042
 
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
17043
 
    case $lt_prog_compiler_pic_GCJ in
17044
 
     "" | " "*) ;;
17045
 
     *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
17046
 
     esac
17047
 
else
17048
 
    lt_prog_compiler_pic_GCJ=
17049
 
     lt_prog_compiler_can_build_shared_GCJ=no
17050
 
fi
17051
 
 
17052
 
fi
17053
 
case $host_os in
17054
 
  # For platforms which do not support PIC, -DPIC is meaningless:
17055
 
  *djgpp*)
17056
 
    lt_prog_compiler_pic_GCJ=
17057
 
    ;;
17058
 
  *)
17059
 
    lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
17060
 
    ;;
17061
 
esac
17062
 
 
17063
 
#
17064
 
# Check to make sure the static flag actually works.
17065
 
#
17066
 
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
17067
 
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17068
 
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
17069
 
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17070
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17071
 
else
17072
 
  lt_prog_compiler_static_works_GCJ=no
17073
 
   save_LDFLAGS="$LDFLAGS"
17074
 
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17075
 
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17076
 
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17077
 
     # The linker can only warn and ignore the option if not recognized
17078
 
     # So say no if there are warnings
17079
 
     if test -s conftest.err; then
17080
 
       # Append any errors to the config.log.
17081
 
       cat conftest.err 1>&5
17082
 
       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17083
 
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17084
 
       if diff conftest.exp conftest.er2 >/dev/null; then
17085
 
         lt_prog_compiler_static_works_GCJ=yes
17086
 
       fi
17087
 
     else
17088
 
       lt_prog_compiler_static_works_GCJ=yes
17089
 
     fi
17090
 
   fi
17091
 
   $rm conftest*
17092
 
   LDFLAGS="$save_LDFLAGS"
17093
 
 
17094
 
fi
17095
 
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17096
 
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
17097
 
 
17098
 
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
17099
 
    :
17100
 
else
17101
 
    lt_prog_compiler_static_GCJ=
17102
 
fi
17103
 
 
17104
 
 
17105
 
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17106
 
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
17107
 
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17108
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
17109
 
else
17110
 
  lt_cv_prog_compiler_c_o_GCJ=no
17111
 
   $rm -r conftest 2>/dev/null
17112
 
   mkdir conftest
17113
 
   cd conftest
17114
 
   mkdir out
17115
 
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17116
 
 
17117
 
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17118
 
   # Insert the option either (1) after the last *FLAGS variable, or
17119
 
   # (2) before a word containing "conftest.", or (3) at the end.
17120
 
   # Note that $ac_compile itself does not contain backslashes and begins
17121
 
   # with a dollar sign (not a hyphen), so the echo should work correctly.
17122
 
   lt_compile=`echo "$ac_compile" | $SED \
17123
 
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17124
 
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17125
 
   -e 's:$: $lt_compiler_flag:'`
17126
 
   (eval echo "\"\$as_me:17126: $lt_compile\"" >&5)
17127
 
   (eval "$lt_compile" 2>out/conftest.err)
17128
 
   ac_status=$?
17129
 
   cat out/conftest.err >&5
17130
 
   echo "$as_me:17130: \$? = $ac_status" >&5
17131
 
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17132
 
   then
17133
 
     # The compiler can only warn and ignore the option if not recognized
17134
 
     # So say no if there are warnings
17135
 
     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17136
 
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17137
 
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17138
 
       lt_cv_prog_compiler_c_o_GCJ=yes
17139
 
     fi
17140
 
   fi
17141
 
   chmod u+w . 2>&5
17142
 
   $rm conftest*
17143
 
   # SGI C++ compiler will create directory out/ii_files/ for
17144
 
   # template instantiation
17145
 
   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
17146
 
   $rm out/* && rmdir out
17147
 
   cd ..
17148
 
   rmdir conftest
17149
 
   $rm conftest*
17150
 
 
17151
 
fi
17152
 
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17153
 
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17154
 
 
17155
 
 
17156
 
hard_links="nottested"
17157
 
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
17158
 
  # do not overwrite the value of need_locks provided by the user
17159
 
  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17160
 
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
17161
 
  hard_links=yes
17162
 
  $rm conftest*
17163
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17164
 
  touch conftest.a
17165
 
  ln conftest.a conftest.b 2>&5 || hard_links=no
17166
 
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
17167
 
  { echo "$as_me:$LINENO: result: $hard_links" >&5
17168
 
echo "${ECHO_T}$hard_links" >&6; }
17169
 
  if test "$hard_links" = no; then
17170
 
    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17171
 
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17172
 
    need_locks=warn
17173
 
  fi
17174
 
else
17175
 
  need_locks=no
17176
 
fi
17177
 
 
17178
 
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17179
 
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17180
 
 
17181
 
  runpath_var=
17182
 
  allow_undefined_flag_GCJ=
17183
 
  enable_shared_with_static_runtimes_GCJ=no
17184
 
  archive_cmds_GCJ=
17185
 
  archive_expsym_cmds_GCJ=
17186
 
  old_archive_From_new_cmds_GCJ=
17187
 
  old_archive_from_expsyms_cmds_GCJ=
17188
 
  export_dynamic_flag_spec_GCJ=
17189
 
  whole_archive_flag_spec_GCJ=
17190
 
  thread_safe_flag_spec_GCJ=
17191
 
  hardcode_libdir_flag_spec_GCJ=
17192
 
  hardcode_libdir_flag_spec_ld_GCJ=
17193
 
  hardcode_libdir_separator_GCJ=
17194
 
  hardcode_direct_GCJ=no
17195
 
  hardcode_minus_L_GCJ=no
17196
 
  hardcode_shlibpath_var_GCJ=unsupported
17197
 
  link_all_deplibs_GCJ=unknown
17198
 
  hardcode_automatic_GCJ=no
17199
 
  module_cmds_GCJ=
17200
 
  module_expsym_cmds_GCJ=
17201
 
  always_export_symbols_GCJ=no
17202
 
  export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17203
 
  # include_expsyms should be a list of space-separated symbols to be *always*
17204
 
  # included in the symbol list
17205
 
  include_expsyms_GCJ=
17206
 
  # exclude_expsyms can be an extended regexp of symbols to exclude
17207
 
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
17208
 
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17209
 
  # as well as any symbol that contains `d'.
17210
 
  exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17211
 
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17212
 
  # platforms (ab)use it in PIC code, but their linkers get confused if
17213
 
  # the symbol is explicitly referenced.  Since portable code cannot
17214
 
  # rely on this symbol name, it's probably fine to never include it in
17215
 
  # preloaded symbol tables.
17216
 
  extract_expsyms_cmds=
17217
 
  # Just being paranoid about ensuring that cc_basename is set.
17218
 
  for cc_temp in $compiler""; do
17219
 
  case $cc_temp in
17220
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17221
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17222
 
    \-*) ;;
17223
 
    *) break;;
17224
 
  esac
17225
 
done
17226
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17227
 
 
17228
 
  case $host_os in
17229
 
  cygwin* | mingw* | pw32*)
17230
 
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
17231
 
    # When not using gcc, we currently assume that we are using
17232
 
    # Microsoft Visual C++.
17233
 
    if test "$GCC" != yes; then
17234
 
      with_gnu_ld=no
17235
 
    fi
17236
 
    ;;
17237
 
  interix*)
17238
 
    # we just hope/assume this is gcc and not c89 (= MSVC++)
17239
 
    with_gnu_ld=yes
17240
 
    ;;
17241
 
  openbsd*)
17242
 
    with_gnu_ld=no
17243
 
    ;;
17244
 
  esac
17245
 
 
17246
 
  ld_shlibs_GCJ=yes
17247
 
  if test "$with_gnu_ld" = yes; then
17248
 
    # If archive_cmds runs LD, not CC, wlarc should be empty
17249
 
    wlarc='${wl}'
17250
 
 
17251
 
    # Set some defaults for GNU ld with shared library support. These
17252
 
    # are reset later if shared libraries are not supported. Putting them
17253
 
    # here allows them to be overridden if necessary.
17254
 
    runpath_var=LD_RUN_PATH
17255
 
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17256
 
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17257
 
    # ancient GNU ld didn't support --whole-archive et. al.
17258
 
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17259
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17260
 
      else
17261
 
        whole_archive_flag_spec_GCJ=
17262
 
    fi
17263
 
    supports_anon_versioning=no
17264
 
    case `$LD -v 2>/dev/null` in
17265
 
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17266
 
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17267
 
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17268
 
      *\ 2.11.*) ;; # other 2.11 versions
17269
 
      *) supports_anon_versioning=yes ;;
17270
 
    esac
17271
 
 
17272
 
    # See if GNU ld supports shared libraries.
17273
 
    case $host_os in
17274
 
    aix3* | aix4* | aix5*)
17275
 
      # On AIX/PPC, the GNU linker is very broken
17276
 
      if test "$host_cpu" != ia64; then
17277
 
        ld_shlibs_GCJ=no
17278
 
        cat <<EOF 1>&2
17279
 
 
17280
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17281
 
*** to be unable to reliably create shared libraries on AIX.
17282
 
*** Therefore, libtool is disabling shared libraries support.  If you
17283
 
*** really care for shared libraries, you may want to modify your PATH
17284
 
*** so that a non-GNU linker is found, and then restart.
17285
 
 
17286
 
EOF
17287
 
      fi
17288
 
      ;;
17289
 
 
17290
 
    amigaos*)
17291
 
      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)'
17292
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17293
 
      hardcode_minus_L_GCJ=yes
17294
 
 
17295
 
      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17296
 
      # that the semantics of dynamic libraries on AmigaOS, at least up
17297
 
      # to version 4, is to share data among multiple programs linked
17298
 
      # with the same dynamic library.  Since this doesn't match the
17299
 
      # behavior of shared libraries on other platforms, we can't use
17300
 
      # them.
17301
 
      ld_shlibs_GCJ=no
17302
 
      ;;
17303
 
 
17304
 
    beos*)
17305
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17306
 
        allow_undefined_flag_GCJ=unsupported
17307
 
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17308
 
        # support --undefined.  This deserves some investigation.  FIXME
17309
 
        archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17310
 
      else
17311
 
        ld_shlibs_GCJ=no
17312
 
      fi
17313
 
      ;;
17314
 
 
17315
 
    cygwin* | mingw* | pw32*)
17316
 
      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17317
 
      # as there is no search path for DLLs.
17318
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17319
 
      allow_undefined_flag_GCJ=unsupported
17320
 
      always_export_symbols_GCJ=no
17321
 
      enable_shared_with_static_runtimes_GCJ=yes
17322
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17323
 
 
17324
 
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17325
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17326
 
        # If the export-symbols file already is a .def file (1st line
17327
 
        # is EXPORTS), use it as is; otherwise, prepend...
17328
 
        archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17329
 
          cp $export_symbols $output_objdir/$soname.def;
17330
 
        else
17331
 
          echo EXPORTS > $output_objdir/$soname.def;
17332
 
          cat $export_symbols >> $output_objdir/$soname.def;
17333
 
        fi~
17334
 
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17335
 
      else
17336
 
        ld_shlibs_GCJ=no
17337
 
      fi
17338
 
      ;;
17339
 
 
17340
 
    interix[3-9]*)
17341
 
      hardcode_direct_GCJ=no
17342
 
      hardcode_shlibpath_var_GCJ=no
17343
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17344
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17345
 
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17346
 
      # Instead, shared libraries are loaded at an image base (0x10000000 by
17347
 
      # default) and relocated if they conflict, which is a slow very memory
17348
 
      # consuming and fragmenting process.  To avoid this, we pick a random,
17349
 
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17350
 
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
17351
 
      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'
17352
 
      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'
17353
 
      ;;
17354
 
 
17355
 
    gnu* | linux* | k*bsd*-gnu)
17356
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17357
 
        tmp_addflag=
17358
 
        case $cc_basename,$host_cpu in
17359
 
        pgcc*)                          # Portland Group C compiler
17360
 
          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'
17361
 
          tmp_addflag=' $pic_flag'
17362
 
          ;;
17363
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
17364
 
          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'
17365
 
          tmp_addflag=' $pic_flag -Mnomain' ;;
17366
 
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
17367
 
          tmp_addflag=' -i_dynamic' ;;
17368
 
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
17369
 
          tmp_addflag=' -i_dynamic -nofor_main' ;;
17370
 
        ifc* | ifort*)                  # Intel Fortran compiler
17371
 
          tmp_addflag=' -nofor_main' ;;
17372
 
        esac
17373
 
        case `$CC -V 2>&1 | sed 5q` in
17374
 
        *Sun\ C*)                       # Sun C 5.9
17375
 
          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'
17376
 
          tmp_sharedflag='-G' ;;
17377
 
        *Sun\ F*)                       # Sun Fortran 8.3
17378
 
          tmp_sharedflag='-G' ;;
17379
 
        *)
17380
 
          tmp_sharedflag='-shared' ;;
17381
 
        esac
17382
 
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17383
 
 
17384
 
        if test $supports_anon_versioning = yes; then
17385
 
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17386
 
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17387
 
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17388
 
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17389
 
        fi
17390
 
        link_all_deplibs_GCJ=no
17391
 
      else
17392
 
        ld_shlibs_GCJ=no
17393
 
      fi
17394
 
      ;;
17395
 
 
17396
 
    netbsd* | netbsdelf*-gnu)
17397
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17398
 
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17399
 
        wlarc=
17400
 
      else
17401
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17402
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17403
 
      fi
17404
 
      ;;
17405
 
 
17406
 
    solaris*)
17407
 
      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17408
 
        ld_shlibs_GCJ=no
17409
 
        cat <<EOF 1>&2
17410
 
 
17411
 
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17412
 
*** create shared libraries on Solaris systems.  Therefore, libtool
17413
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17414
 
*** binutils to release 2.9.1 or newer.  Another option is to modify
17415
 
*** your PATH or compiler configuration so that the native linker is
17416
 
*** used, and then restart.
17417
 
 
17418
 
EOF
17419
 
      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17420
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17421
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17422
 
      else
17423
 
        ld_shlibs_GCJ=no
17424
 
      fi
17425
 
      ;;
17426
 
 
17427
 
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17428
 
      case `$LD -v 2>&1` in
17429
 
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17430
 
        ld_shlibs_GCJ=no
17431
 
        cat <<_LT_EOF 1>&2
17432
 
 
17433
 
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17434
 
*** reliably create shared libraries on SCO systems.  Therefore, libtool
17435
 
*** is disabling shared libraries support.  We urge you to upgrade GNU
17436
 
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
17437
 
*** your PATH or compiler configuration so that the native linker is
17438
 
*** used, and then restart.
17439
 
 
17440
 
_LT_EOF
17441
 
        ;;
17442
 
        *)
17443
 
          if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17444
 
            hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17445
 
            archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17446
 
            archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17447
 
          else
17448
 
            ld_shlibs_GCJ=no
17449
 
          fi
17450
 
        ;;
17451
 
      esac
17452
 
      ;;
17453
 
 
17454
 
    sunos4*)
17455
 
      archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17456
 
      wlarc=
17457
 
      hardcode_direct_GCJ=yes
17458
 
      hardcode_shlibpath_var_GCJ=no
17459
 
      ;;
17460
 
 
17461
 
    *)
17462
 
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17463
 
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17464
 
        archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17465
 
      else
17466
 
        ld_shlibs_GCJ=no
17467
 
      fi
17468
 
      ;;
17469
 
    esac
17470
 
 
17471
 
    if test "$ld_shlibs_GCJ" = no; then
17472
 
      runpath_var=
17473
 
      hardcode_libdir_flag_spec_GCJ=
17474
 
      export_dynamic_flag_spec_GCJ=
17475
 
      whole_archive_flag_spec_GCJ=
17476
 
    fi
17477
 
  else
17478
 
    # PORTME fill in a description of your system's linker (not GNU ld)
17479
 
    case $host_os in
17480
 
    aix3*)
17481
 
      allow_undefined_flag_GCJ=unsupported
17482
 
      always_export_symbols_GCJ=yes
17483
 
      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'
17484
 
      # Note: this linker hardcodes the directories in LIBPATH if there
17485
 
      # are no directories specified by -L.
17486
 
      hardcode_minus_L_GCJ=yes
17487
 
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17488
 
        # Neither direct hardcoding nor static linking is supported with a
17489
 
        # broken collect2.
17490
 
        hardcode_direct_GCJ=unsupported
17491
 
      fi
17492
 
      ;;
17493
 
 
17494
 
    aix4* | aix5*)
17495
 
      if test "$host_cpu" = ia64; then
17496
 
        # On IA64, the linker does run time linking by default, so we don't
17497
 
        # have to do anything special.
17498
 
        aix_use_runtimelinking=no
17499
 
        exp_sym_flag='-Bexport'
17500
 
        no_entry_flag=""
17501
 
      else
17502
 
        # If we're using GNU nm, then we don't want the "-C" option.
17503
 
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
17504
 
        if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17505
 
          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'
17506
 
        else
17507
 
          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'
17508
 
        fi
17509
 
        aix_use_runtimelinking=no
17510
 
 
17511
 
        # Test if we are trying to use run time linking or normal
17512
 
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17513
 
        # need to do runtime linking.
17514
 
        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17515
 
          for ld_flag in $LDFLAGS; do
17516
 
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17517
 
            aix_use_runtimelinking=yes
17518
 
            break
17519
 
          fi
17520
 
          done
17521
 
          ;;
17522
 
        esac
17523
 
 
17524
 
        exp_sym_flag='-bexport'
17525
 
        no_entry_flag='-bnoentry'
17526
 
      fi
17527
 
 
17528
 
      # When large executables or shared objects are built, AIX ld can
17529
 
      # have problems creating the table of contents.  If linking a library
17530
 
      # or program results in "error TOC overflow" add -mminimal-toc to
17531
 
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
17532
 
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17533
 
 
17534
 
      archive_cmds_GCJ=''
17535
 
      hardcode_direct_GCJ=yes
17536
 
      hardcode_libdir_separator_GCJ=':'
17537
 
      link_all_deplibs_GCJ=yes
17538
 
 
17539
 
      if test "$GCC" = yes; then
17540
 
        case $host_os in aix4.[012]|aix4.[012].*)
17541
 
        # We only want to do this on AIX 4.2 and lower, the check
17542
 
        # below for broken collect2 doesn't work under 4.3+
17543
 
          collect2name=`${CC} -print-prog-name=collect2`
17544
 
          if test -f "$collect2name" && \
17545
 
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17546
 
          then
17547
 
          # We have reworked collect2
17548
 
          :
17549
 
          else
17550
 
          # We have old collect2
17551
 
          hardcode_direct_GCJ=unsupported
17552
 
          # It fails to find uninstalled libraries when the uninstalled
17553
 
          # path is not listed in the libpath.  Setting hardcode_minus_L
17554
 
          # to unsupported forces relinking
17555
 
          hardcode_minus_L_GCJ=yes
17556
 
          hardcode_libdir_flag_spec_GCJ='-L$libdir'
17557
 
          hardcode_libdir_separator_GCJ=
17558
 
          fi
17559
 
          ;;
17560
 
        esac
17561
 
        shared_flag='-shared'
17562
 
        if test "$aix_use_runtimelinking" = yes; then
17563
 
          shared_flag="$shared_flag "'${wl}-G'
17564
 
        fi
17565
 
      else
17566
 
        # not using gcc
17567
 
        if test "$host_cpu" = ia64; then
17568
 
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17569
 
        # chokes on -Wl,-G. The following line is correct:
17570
 
          shared_flag='-G'
17571
 
        else
17572
 
          if test "$aix_use_runtimelinking" = yes; then
17573
 
            shared_flag='${wl}-G'
17574
 
          else
17575
 
            shared_flag='${wl}-bM:SRE'
17576
 
          fi
17577
 
        fi
17578
 
      fi
17579
 
 
17580
 
      # It seems that -bexpall does not export symbols beginning with
17581
 
      # underscore (_), so it is better to generate a list of symbols to export.
17582
 
      always_export_symbols_GCJ=yes
17583
 
      if test "$aix_use_runtimelinking" = yes; then
17584
 
        # Warning - without using the other runtime loading flags (-brtl),
17585
 
        # -berok will link without error, but may produce a broken library.
17586
 
        allow_undefined_flag_GCJ='-berok'
17587
 
       # Determine the default libpath from the value encoded in an empty executable.
17588
 
       cat >conftest.$ac_ext <<_ACEOF
17589
 
/* confdefs.h.  */
17590
 
_ACEOF
17591
 
cat confdefs.h >>conftest.$ac_ext
17592
 
cat >>conftest.$ac_ext <<_ACEOF
17593
 
/* end confdefs.h.  */
17594
 
 
17595
 
int
17596
 
main ()
17597
 
{
17598
 
 
17599
 
  ;
17600
 
  return 0;
17601
 
}
17602
 
_ACEOF
17603
 
rm -f conftest.$ac_objext conftest$ac_exeext
17604
 
if { (ac_try="$ac_link"
17605
 
case "(($ac_try" in
17606
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17607
 
  *) ac_try_echo=$ac_try;;
17608
 
esac
17609
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17610
 
  (eval "$ac_link") 2>conftest.er1
17611
 
  ac_status=$?
17612
 
  grep -v '^ *+' conftest.er1 >conftest.err
17613
 
  rm -f conftest.er1
17614
 
  cat conftest.err >&5
17615
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616
 
  (exit $ac_status); } && {
17617
 
         test -z "$ac_c_werror_flag" ||
17618
 
         test ! -s conftest.err
17619
 
       } && test -s conftest$ac_exeext &&
17620
 
       $as_test_x conftest$ac_exeext; then
17621
 
 
17622
 
lt_aix_libpath_sed='
17623
 
    /Import File Strings/,/^$/ {
17624
 
        /^0/ {
17625
 
            s/^0  *\(.*\)$/\1/
17626
 
            p
17627
 
        }
17628
 
    }'
17629
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17630
 
# Check for a 64-bit object if we didn't find anything.
17631
 
if test -z "$aix_libpath"; then
17632
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17633
 
fi
17634
 
else
17635
 
  echo "$as_me: failed program was:" >&5
17636
 
sed 's/^/| /' conftest.$ac_ext >&5
17637
 
 
17638
 
 
17639
 
fi
17640
 
 
17641
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17642
 
      conftest$ac_exeext conftest.$ac_ext
17643
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17644
 
 
17645
 
       hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17646
 
        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"
17647
 
       else
17648
 
        if test "$host_cpu" = ia64; then
17649
 
          hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17650
 
          allow_undefined_flag_GCJ="-z nodefs"
17651
 
          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"
17652
 
        else
17653
 
         # Determine the default libpath from the value encoded in an empty executable.
17654
 
         cat >conftest.$ac_ext <<_ACEOF
17655
 
/* confdefs.h.  */
17656
 
_ACEOF
17657
 
cat confdefs.h >>conftest.$ac_ext
17658
 
cat >>conftest.$ac_ext <<_ACEOF
17659
 
/* end confdefs.h.  */
17660
 
 
17661
 
int
17662
 
main ()
17663
 
{
17664
 
 
17665
 
  ;
17666
 
  return 0;
17667
 
}
17668
 
_ACEOF
17669
 
rm -f conftest.$ac_objext conftest$ac_exeext
17670
 
if { (ac_try="$ac_link"
17671
 
case "(($ac_try" in
17672
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17673
 
  *) ac_try_echo=$ac_try;;
17674
 
esac
17675
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17676
 
  (eval "$ac_link") 2>conftest.er1
17677
 
  ac_status=$?
17678
 
  grep -v '^ *+' conftest.er1 >conftest.err
17679
 
  rm -f conftest.er1
17680
 
  cat conftest.err >&5
17681
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682
 
  (exit $ac_status); } && {
17683
 
         test -z "$ac_c_werror_flag" ||
17684
 
         test ! -s conftest.err
17685
 
       } && test -s conftest$ac_exeext &&
17686
 
       $as_test_x conftest$ac_exeext; then
17687
 
 
17688
 
lt_aix_libpath_sed='
17689
 
    /Import File Strings/,/^$/ {
17690
 
        /^0/ {
17691
 
            s/^0  *\(.*\)$/\1/
17692
 
            p
17693
 
        }
17694
 
    }'
17695
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17696
 
# Check for a 64-bit object if we didn't find anything.
17697
 
if test -z "$aix_libpath"; then
17698
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17699
 
fi
17700
 
else
17701
 
  echo "$as_me: failed program was:" >&5
17702
 
sed 's/^/| /' conftest.$ac_ext >&5
17703
 
 
17704
 
 
17705
 
fi
17706
 
 
17707
 
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17708
 
      conftest$ac_exeext conftest.$ac_ext
17709
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17710
 
 
17711
 
         hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17712
 
          # Warning - without using the other run time loading flags,
17713
 
          # -berok will link without error, but may produce a broken library.
17714
 
          no_undefined_flag_GCJ=' ${wl}-bernotok'
17715
 
          allow_undefined_flag_GCJ=' ${wl}-berok'
17716
 
          # Exported symbols can be pulled into shared objects from archives
17717
 
          whole_archive_flag_spec_GCJ='$convenience'
17718
 
          archive_cmds_need_lc_GCJ=yes
17719
 
          # This is similar to how AIX traditionally builds its shared libraries.
17720
 
          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'
17721
 
        fi
17722
 
      fi
17723
 
      ;;
17724
 
 
17725
 
    amigaos*)
17726
 
      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)'
17727
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17728
 
      hardcode_minus_L_GCJ=yes
17729
 
      # see comment about different semantics on the GNU ld section
17730
 
      ld_shlibs_GCJ=no
17731
 
      ;;
17732
 
 
17733
 
    bsdi[45]*)
17734
 
      export_dynamic_flag_spec_GCJ=-rdynamic
17735
 
      ;;
17736
 
 
17737
 
    cygwin* | mingw* | pw32*)
17738
 
      # When not using gcc, we currently assume that we are using
17739
 
      # Microsoft Visual C++.
17740
 
      # hardcode_libdir_flag_spec is actually meaningless, as there is
17741
 
      # no search path for DLLs.
17742
 
      hardcode_libdir_flag_spec_GCJ=' '
17743
 
      allow_undefined_flag_GCJ=unsupported
17744
 
      # Tell ltmain to make .lib files, not .a files.
17745
 
      libext=lib
17746
 
      # Tell ltmain to make .dll files, not .so files.
17747
 
      shrext_cmds=".dll"
17748
 
      # FIXME: Setting linknames here is a bad hack.
17749
 
      archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17750
 
      # The linker will automatically build a .lib file if we build a DLL.
17751
 
      old_archive_From_new_cmds_GCJ='true'
17752
 
      # FIXME: Should let the user specify the lib program.
17753
 
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17754
 
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17755
 
      enable_shared_with_static_runtimes_GCJ=yes
17756
 
      ;;
17757
 
 
17758
 
    darwin* | rhapsody*)
17759
 
      case $host_os in
17760
 
        rhapsody* | darwin1.[012])
17761
 
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17762
 
         ;;
17763
 
       *) # Darwin 1.3 on
17764
 
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17765
 
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17766
 
         else
17767
 
           case ${MACOSX_DEPLOYMENT_TARGET} in
17768
 
             10.[012])
17769
 
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17770
 
               ;;
17771
 
             10.*)
17772
 
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17773
 
               ;;
17774
 
           esac
17775
 
         fi
17776
 
         ;;
17777
 
      esac
17778
 
      archive_cmds_need_lc_GCJ=no
17779
 
      hardcode_direct_GCJ=no
17780
 
      hardcode_automatic_GCJ=yes
17781
 
      hardcode_shlibpath_var_GCJ=unsupported
17782
 
      whole_archive_flag_spec_GCJ=''
17783
 
      link_all_deplibs_GCJ=yes
17784
 
    if test "$GCC" = yes ; then
17785
 
        output_verbose_link_cmd='echo'
17786
 
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17787
 
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17788
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17789
 
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17790
 
      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}'
17791
 
    else
17792
 
      case $cc_basename in
17793
 
        xlc*)
17794
 
         output_verbose_link_cmd='echo'
17795
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17796
 
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17797
 
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17798
 
         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}'
17799
 
          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}'
17800
 
          ;;
17801
 
       *)
17802
 
         ld_shlibs_GCJ=no
17803
 
          ;;
17804
 
      esac
17805
 
    fi
17806
 
      ;;
17807
 
 
17808
 
    dgux*)
17809
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17810
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17811
 
      hardcode_shlibpath_var_GCJ=no
17812
 
      ;;
17813
 
 
17814
 
    freebsd1*)
17815
 
      ld_shlibs_GCJ=no
17816
 
      ;;
17817
 
 
17818
 
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17819
 
    # support.  Future versions do this automatically, but an explicit c++rt0.o
17820
 
    # does not break anything, and helps significantly (at the cost of a little
17821
 
    # extra space).
17822
 
    freebsd2.2*)
17823
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17824
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17825
 
      hardcode_direct_GCJ=yes
17826
 
      hardcode_shlibpath_var_GCJ=no
17827
 
      ;;
17828
 
 
17829
 
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17830
 
    freebsd2*)
17831
 
      archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17832
 
      hardcode_direct_GCJ=yes
17833
 
      hardcode_minus_L_GCJ=yes
17834
 
      hardcode_shlibpath_var_GCJ=no
17835
 
      ;;
17836
 
 
17837
 
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17838
 
    freebsd* | dragonfly*)
17839
 
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17840
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17841
 
      hardcode_direct_GCJ=yes
17842
 
      hardcode_shlibpath_var_GCJ=no
17843
 
      ;;
17844
 
 
17845
 
    hpux9*)
17846
 
      if test "$GCC" = yes; then
17847
 
        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'
17848
 
      else
17849
 
        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'
17850
 
      fi
17851
 
      hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17852
 
      hardcode_libdir_separator_GCJ=:
17853
 
      hardcode_direct_GCJ=yes
17854
 
 
17855
 
      # hardcode_minus_L: Not really in the search PATH,
17856
 
      # but as the default location of the library.
17857
 
      hardcode_minus_L_GCJ=yes
17858
 
      export_dynamic_flag_spec_GCJ='${wl}-E'
17859
 
      ;;
17860
 
 
17861
 
    hpux10*)
17862
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17863
 
        archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17864
 
      else
17865
 
        archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17866
 
      fi
17867
 
      if test "$with_gnu_ld" = no; then
17868
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17869
 
        hardcode_libdir_separator_GCJ=:
17870
 
 
17871
 
        hardcode_direct_GCJ=yes
17872
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
17873
 
 
17874
 
        # hardcode_minus_L: Not really in the search PATH,
17875
 
        # but as the default location of the library.
17876
 
        hardcode_minus_L_GCJ=yes
17877
 
      fi
17878
 
      ;;
17879
 
 
17880
 
    hpux11*)
17881
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17882
 
        case $host_cpu in
17883
 
        hppa*64*)
17884
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17885
 
          ;;
17886
 
        ia64*)
17887
 
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17888
 
          ;;
17889
 
        *)
17890
 
          archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17891
 
          ;;
17892
 
        esac
17893
 
      else
17894
 
        case $host_cpu in
17895
 
        hppa*64*)
17896
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17897
 
          ;;
17898
 
        ia64*)
17899
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17900
 
          ;;
17901
 
        *)
17902
 
          archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17903
 
          ;;
17904
 
        esac
17905
 
      fi
17906
 
      if test "$with_gnu_ld" = no; then
17907
 
        hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17908
 
        hardcode_libdir_separator_GCJ=:
17909
 
 
17910
 
        case $host_cpu in
17911
 
        hppa*64*|ia64*)
17912
 
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17913
 
          hardcode_direct_GCJ=no
17914
 
          hardcode_shlibpath_var_GCJ=no
17915
 
          ;;
17916
 
        *)
17917
 
          hardcode_direct_GCJ=yes
17918
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17919
 
 
17920
 
          # hardcode_minus_L: Not really in the search PATH,
17921
 
          # but as the default location of the library.
17922
 
          hardcode_minus_L_GCJ=yes
17923
 
          ;;
17924
 
        esac
17925
 
      fi
17926
 
      ;;
17927
 
 
17928
 
    irix5* | irix6* | nonstopux*)
17929
 
      if test "$GCC" = yes; then
17930
 
        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'
17931
 
      else
17932
 
        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'
17933
 
        hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17934
 
      fi
17935
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17936
 
      hardcode_libdir_separator_GCJ=:
17937
 
      link_all_deplibs_GCJ=yes
17938
 
      ;;
17939
 
 
17940
 
    netbsd* | netbsdelf*-gnu)
17941
 
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17942
 
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
17943
 
      else
17944
 
        archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
17945
 
      fi
17946
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
17947
 
      hardcode_direct_GCJ=yes
17948
 
      hardcode_shlibpath_var_GCJ=no
17949
 
      ;;
17950
 
 
17951
 
    newsos6)
17952
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17953
 
      hardcode_direct_GCJ=yes
17954
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17955
 
      hardcode_libdir_separator_GCJ=:
17956
 
      hardcode_shlibpath_var_GCJ=no
17957
 
      ;;
17958
 
 
17959
 
    openbsd*)
17960
 
      if test -f /usr/libexec/ld.so; then
17961
 
        hardcode_direct_GCJ=yes
17962
 
        hardcode_shlibpath_var_GCJ=no
17963
 
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17964
 
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17965
 
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17966
 
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17967
 
          export_dynamic_flag_spec_GCJ='${wl}-E'
17968
 
        else
17969
 
          case $host_os in
17970
 
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17971
 
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17972
 
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
17973
 
             ;;
17974
 
           *)
17975
 
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17976
 
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17977
 
             ;;
17978
 
          esac
17979
 
        fi
17980
 
      else
17981
 
        ld_shlibs_GCJ=no
17982
 
      fi
17983
 
      ;;
17984
 
 
17985
 
    os2*)
17986
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
17987
 
      hardcode_minus_L_GCJ=yes
17988
 
      allow_undefined_flag_GCJ=unsupported
17989
 
      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'
17990
 
      old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17991
 
      ;;
17992
 
 
17993
 
    osf3*)
17994
 
      if test "$GCC" = yes; then
17995
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17996
 
        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'
17997
 
      else
17998
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
17999
 
        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'
18000
 
      fi
18001
 
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18002
 
      hardcode_libdir_separator_GCJ=:
18003
 
      ;;
18004
 
 
18005
 
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
18006
 
      if test "$GCC" = yes; then
18007
 
        allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
18008
 
        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'
18009
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
18010
 
      else
18011
 
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
18012
 
        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'
18013
 
        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~
18014
 
        $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'
18015
 
 
18016
 
        # Both c and cxx compiler support -rpath directly
18017
 
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
18018
 
      fi
18019
 
      hardcode_libdir_separator_GCJ=:
18020
 
      ;;
18021
 
 
18022
 
    solaris*)
18023
 
      no_undefined_flag_GCJ=' -z text'
18024
 
      if test "$GCC" = yes; then
18025
 
        wlarc='${wl}'
18026
 
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18027
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18028
 
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18029
 
      else
18030
 
        wlarc=''
18031
 
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18032
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18033
 
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18034
 
      fi
18035
 
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
18036
 
      hardcode_shlibpath_var_GCJ=no
18037
 
      case $host_os in
18038
 
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18039
 
      *)
18040
 
        # The compiler driver will combine and reorder linker options,
18041
 
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
18042
 
        # but is careful enough not to reorder.
18043
 
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18044
 
        if test "$GCC" = yes; then
18045
 
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18046
 
        else
18047
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
18048
 
        fi
18049
 
        ;;
18050
 
      esac
18051
 
      link_all_deplibs_GCJ=yes
18052
 
      ;;
18053
 
 
18054
 
    sunos4*)
18055
 
      if test "x$host_vendor" = xsequent; then
18056
 
        # Use $CC to link under sequent, because it throws in some extra .o
18057
 
        # files that make .init and .fini sections work.
18058
 
        archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18059
 
      else
18060
 
        archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18061
 
      fi
18062
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18063
 
      hardcode_direct_GCJ=yes
18064
 
      hardcode_minus_L_GCJ=yes
18065
 
      hardcode_shlibpath_var_GCJ=no
18066
 
      ;;
18067
 
 
18068
 
    sysv4)
18069
 
      case $host_vendor in
18070
 
        sni)
18071
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18072
 
          hardcode_direct_GCJ=yes # is this really true???
18073
 
        ;;
18074
 
        siemens)
18075
 
          ## LD is ld it makes a PLAMLIB
18076
 
          ## CC just makes a GrossModule.
18077
 
          archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18078
 
          reload_cmds_GCJ='$CC -r -o $output$reload_objs'
18079
 
          hardcode_direct_GCJ=no
18080
 
        ;;
18081
 
        motorola)
18082
 
          archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18083
 
          hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
18084
 
        ;;
18085
 
      esac
18086
 
      runpath_var='LD_RUN_PATH'
18087
 
      hardcode_shlibpath_var_GCJ=no
18088
 
      ;;
18089
 
 
18090
 
    sysv4.3*)
18091
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18092
 
      hardcode_shlibpath_var_GCJ=no
18093
 
      export_dynamic_flag_spec_GCJ='-Bexport'
18094
 
      ;;
18095
 
 
18096
 
    sysv4*MP*)
18097
 
      if test -d /usr/nec; then
18098
 
        archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18099
 
        hardcode_shlibpath_var_GCJ=no
18100
 
        runpath_var=LD_RUN_PATH
18101
 
        hardcode_runpath_var=yes
18102
 
        ld_shlibs_GCJ=yes
18103
 
      fi
18104
 
      ;;
18105
 
 
18106
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18107
 
      no_undefined_flag_GCJ='${wl}-z,text'
18108
 
      archive_cmds_need_lc_GCJ=no
18109
 
      hardcode_shlibpath_var_GCJ=no
18110
 
      runpath_var='LD_RUN_PATH'
18111
 
 
18112
 
      if test "$GCC" = yes; then
18113
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18114
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18115
 
      else
18116
 
        archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18117
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18118
 
      fi
18119
 
      ;;
18120
 
 
18121
 
    sysv5* | sco3.2v5* | sco5v6*)
18122
 
      # Note: We can NOT use -z defs as we might desire, because we do not
18123
 
      # link with -lc, and that would cause any symbols used from libc to
18124
 
      # always be unresolved, which means just about no library would
18125
 
      # ever link correctly.  If we're not using GNU ld we use -z text
18126
 
      # though, which does catch some bad symbols but isn't as heavy-handed
18127
 
      # as -z defs.
18128
 
      no_undefined_flag_GCJ='${wl}-z,text'
18129
 
      allow_undefined_flag_GCJ='${wl}-z,nodefs'
18130
 
      archive_cmds_need_lc_GCJ=no
18131
 
      hardcode_shlibpath_var_GCJ=no
18132
 
      hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18133
 
      hardcode_libdir_separator_GCJ=':'
18134
 
      link_all_deplibs_GCJ=yes
18135
 
      export_dynamic_flag_spec_GCJ='${wl}-Bexport'
18136
 
      runpath_var='LD_RUN_PATH'
18137
 
 
18138
 
      if test "$GCC" = yes; then
18139
 
        archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18140
 
        archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18141
 
      else
18142
 
        archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18143
 
        archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18144
 
      fi
18145
 
      ;;
18146
 
 
18147
 
    uts4*)
18148
 
      archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18149
 
      hardcode_libdir_flag_spec_GCJ='-L$libdir'
18150
 
      hardcode_shlibpath_var_GCJ=no
18151
 
      ;;
18152
 
 
18153
 
    *)
18154
 
      ld_shlibs_GCJ=no
18155
 
      ;;
18156
 
    esac
18157
 
  fi
18158
 
 
18159
 
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18160
 
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
18161
 
test "$ld_shlibs_GCJ" = no && can_build_shared=no
18162
 
 
18163
 
#
18164
 
# Do we need to explicitly link libc?
18165
 
#
18166
 
case "x$archive_cmds_need_lc_GCJ" in
18167
 
x|xyes)
18168
 
  # Assume -lc should be added
18169
 
  archive_cmds_need_lc_GCJ=yes
18170
 
 
18171
 
  if test "$enable_shared" = yes && test "$GCC" = yes; then
18172
 
    case $archive_cmds_GCJ in
18173
 
    *'~'*)
18174
 
      # FIXME: we may have to deal with multi-command sequences.
18175
 
      ;;
18176
 
    '$CC '*)
18177
 
      # Test whether the compiler implicitly links with -lc since on some
18178
 
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
18179
 
      # to ld, don't add -lc before -lgcc.
18180
 
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18181
 
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18182
 
      $rm conftest*
18183
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18184
 
 
18185
 
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18186
 
  (eval $ac_compile) 2>&5
18187
 
  ac_status=$?
18188
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189
 
  (exit $ac_status); } 2>conftest.err; then
18190
 
        soname=conftest
18191
 
        lib=conftest
18192
 
        libobjs=conftest.$ac_objext
18193
 
        deplibs=
18194
 
        wl=$lt_prog_compiler_wl_GCJ
18195
 
        pic_flag=$lt_prog_compiler_pic_GCJ
18196
 
        compiler_flags=-v
18197
 
        linker_flags=-v
18198
 
        verstring=
18199
 
        output_objdir=.
18200
 
        libname=conftest
18201
 
        lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18202
 
        allow_undefined_flag_GCJ=
18203
 
        if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18204
 
  (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18205
 
  ac_status=$?
18206
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207
 
  (exit $ac_status); }
18208
 
        then
18209
 
          archive_cmds_need_lc_GCJ=no
18210
 
        else
18211
 
          archive_cmds_need_lc_GCJ=yes
18212
 
        fi
18213
 
        allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18214
 
      else
18215
 
        cat conftest.err 1>&5
18216
 
      fi
18217
 
      $rm conftest*
18218
 
      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18219
 
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18220
 
      ;;
18221
 
    esac
18222
 
  fi
18223
 
  ;;
18224
 
esac
18225
 
 
18226
 
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18227
 
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18228
 
library_names_spec=
18229
 
libname_spec='lib$name'
18230
 
soname_spec=
18231
 
shrext_cmds=".so"
18232
 
postinstall_cmds=
18233
 
postuninstall_cmds=
18234
 
finish_cmds=
18235
 
finish_eval=
18236
 
shlibpath_var=
18237
 
shlibpath_overrides_runpath=unknown
18238
 
version_type=none
18239
 
dynamic_linker="$host_os ld.so"
18240
 
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18241
 
 
18242
 
need_lib_prefix=unknown
18243
 
hardcode_into_libs=no
18244
 
 
18245
 
# when you set need_version to no, make sure it does not cause -set_version
18246
 
# flags to be left without arguments
18247
 
need_version=unknown
18248
 
 
18249
 
case $host_os in
18250
 
aix3*)
18251
 
  version_type=linux
18252
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18253
 
  shlibpath_var=LIBPATH
18254
 
 
18255
 
  # AIX 3 has no versioning support, so we append a major version to the name.
18256
 
  soname_spec='${libname}${release}${shared_ext}$major'
18257
 
  ;;
18258
 
 
18259
 
aix4* | aix5*)
18260
 
  version_type=linux
18261
 
  need_lib_prefix=no
18262
 
  need_version=no
18263
 
  hardcode_into_libs=yes
18264
 
  if test "$host_cpu" = ia64; then
18265
 
    # AIX 5 supports IA64
18266
 
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18267
 
    shlibpath_var=LD_LIBRARY_PATH
18268
 
  else
18269
 
    # With GCC up to 2.95.x, collect2 would create an import file
18270
 
    # for dependence libraries.  The import file would start with
18271
 
    # the line `#! .'.  This would cause the generated library to
18272
 
    # depend on `.', always an invalid library.  This was fixed in
18273
 
    # development snapshots of GCC prior to 3.0.
18274
 
    case $host_os in
18275
 
      aix4 | aix4.[01] | aix4.[01].*)
18276
 
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18277
 
           echo ' yes '
18278
 
           echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18279
 
        :
18280
 
      else
18281
 
        can_build_shared=no
18282
 
      fi
18283
 
      ;;
18284
 
    esac
18285
 
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18286
 
    # soname into executable. Probably we can add versioning support to
18287
 
    # collect2, so additional links can be useful in future.
18288
 
    if test "$aix_use_runtimelinking" = yes; then
18289
 
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18290
 
      # instead of lib<name>.a to let people know that these are not
18291
 
      # typical AIX shared libraries.
18292
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18293
 
    else
18294
 
      # We preserve .a as extension for shared libraries through AIX4.2
18295
 
      # and later when we are not doing run time linking.
18296
 
      library_names_spec='${libname}${release}.a $libname.a'
18297
 
      soname_spec='${libname}${release}${shared_ext}$major'
18298
 
    fi
18299
 
    shlibpath_var=LIBPATH
18300
 
  fi
18301
 
  ;;
18302
 
 
18303
 
amigaos*)
18304
 
  library_names_spec='$libname.ixlibrary $libname.a'
18305
 
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
18306
 
  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'
18307
 
  ;;
18308
 
 
18309
 
beos*)
18310
 
  library_names_spec='${libname}${shared_ext}'
18311
 
  dynamic_linker="$host_os ld.so"
18312
 
  shlibpath_var=LIBRARY_PATH
18313
 
  ;;
18314
 
 
18315
 
bsdi[45]*)
18316
 
  version_type=linux
18317
 
  need_version=no
18318
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18319
 
  soname_spec='${libname}${release}${shared_ext}$major'
18320
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18321
 
  shlibpath_var=LD_LIBRARY_PATH
18322
 
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18323
 
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18324
 
  # the default ld.so.conf also contains /usr/contrib/lib and
18325
 
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18326
 
  # libtool to hard-code these into programs
18327
 
  ;;
18328
 
 
18329
 
cygwin* | mingw* | pw32*)
18330
 
  version_type=windows
18331
 
  shrext_cmds=".dll"
18332
 
  need_version=no
18333
 
  need_lib_prefix=no
18334
 
 
18335
 
  case $GCC,$host_os in
18336
 
  yes,cygwin* | yes,mingw* | yes,pw32*)
18337
 
    library_names_spec='$libname.dll.a'
18338
 
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18339
 
    postinstall_cmds='base_file=`basename \${file}`~
18340
 
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18341
 
      dldir=$destdir/`dirname \$dlpath`~
18342
 
      test -d \$dldir || mkdir -p \$dldir~
18343
 
      $install_prog $dir/$dlname \$dldir/$dlname~
18344
 
      chmod a+x \$dldir/$dlname'
18345
 
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18346
 
      dlpath=$dir/\$dldll~
18347
 
       $rm \$dlpath'
18348
 
    shlibpath_overrides_runpath=yes
18349
 
 
18350
 
    case $host_os in
18351
 
    cygwin*)
18352
 
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18353
 
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18354
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18355
 
      ;;
18356
 
    mingw*)
18357
 
      # MinGW DLLs use traditional 'lib' prefix
18358
 
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18359
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18360
 
      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18361
 
        # It is most probably a Windows format PATH printed by
18362
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
18363
 
        # path with ; separators, and with drive letters. We can handle the
18364
 
        # drive letters (cygwin fileutils understands them), so leave them,
18365
 
        # especially as we might pass files found there to a mingw objdump,
18366
 
        # which wouldn't understand a cygwinified path. Ahh.
18367
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18368
 
      else
18369
 
        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18370
 
      fi
18371
 
      ;;
18372
 
    pw32*)
18373
 
      # pw32 DLLs use 'pw' prefix rather than 'lib'
18374
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18375
 
      ;;
18376
 
    esac
18377
 
    ;;
18378
 
 
18379
 
  *)
18380
 
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18381
 
    ;;
18382
 
  esac
18383
 
  dynamic_linker='Win32 ld.exe'
18384
 
  # FIXME: first we should search . and the directory the executable is in
18385
 
  shlibpath_var=PATH
18386
 
  ;;
18387
 
 
18388
 
darwin* | rhapsody*)
18389
 
  dynamic_linker="$host_os dyld"
18390
 
  version_type=darwin
18391
 
  need_lib_prefix=no
18392
 
  need_version=no
18393
 
  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18394
 
  soname_spec='${libname}${release}${major}$shared_ext'
18395
 
  shlibpath_overrides_runpath=yes
18396
 
  shlibpath_var=DYLD_LIBRARY_PATH
18397
 
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18398
 
 
18399
 
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18400
 
  ;;
18401
 
 
18402
 
dgux*)
18403
 
  version_type=linux
18404
 
  need_lib_prefix=no
18405
 
  need_version=no
18406
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18407
 
  soname_spec='${libname}${release}${shared_ext}$major'
18408
 
  shlibpath_var=LD_LIBRARY_PATH
18409
 
  ;;
18410
 
 
18411
 
freebsd1*)
18412
 
  dynamic_linker=no
18413
 
  ;;
18414
 
 
18415
 
freebsd* | dragonfly*)
18416
 
  # DragonFly does not have aout.  When/if they implement a new
18417
 
  # versioning mechanism, adjust this.
18418
 
  if test -x /usr/bin/objformat; then
18419
 
    objformat=`/usr/bin/objformat`
18420
 
  else
18421
 
    case $host_os in
18422
 
    freebsd[123]*) objformat=aout ;;
18423
 
    *) objformat=elf ;;
18424
 
    esac
18425
 
  fi
18426
 
  version_type=freebsd-$objformat
18427
 
  case $version_type in
18428
 
    freebsd-elf*)
18429
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18430
 
      need_version=no
18431
 
      need_lib_prefix=no
18432
 
      ;;
18433
 
    freebsd-*)
18434
 
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18435
 
      need_version=yes
18436
 
      ;;
18437
 
  esac
18438
 
  shlibpath_var=LD_LIBRARY_PATH
18439
 
  case $host_os in
18440
 
  freebsd2*)
18441
 
    shlibpath_overrides_runpath=yes
18442
 
    ;;
18443
 
  freebsd3.[01]* | freebsdelf3.[01]*)
18444
 
    shlibpath_overrides_runpath=yes
18445
 
    hardcode_into_libs=yes
18446
 
    ;;
18447
 
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18448
 
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18449
 
    shlibpath_overrides_runpath=no
18450
 
    hardcode_into_libs=yes
18451
 
    ;;
18452
 
  *) # from 4.6 on, and DragonFly
18453
 
    shlibpath_overrides_runpath=yes
18454
 
    hardcode_into_libs=yes
18455
 
    ;;
18456
 
  esac
18457
 
  ;;
18458
 
 
18459
 
gnu*)
18460
 
  version_type=linux
18461
 
  need_lib_prefix=no
18462
 
  need_version=no
18463
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18464
 
  soname_spec='${libname}${release}${shared_ext}$major'
18465
 
  shlibpath_var=LD_LIBRARY_PATH
18466
 
  hardcode_into_libs=yes
18467
 
  ;;
18468
 
 
18469
 
hpux9* | hpux10* | hpux11*)
18470
 
  # Give a soname corresponding to the major version so that dld.sl refuses to
18471
 
  # link against other versions.
18472
 
  version_type=sunos
18473
 
  need_lib_prefix=no
18474
 
  need_version=no
18475
 
  case $host_cpu in
18476
 
  ia64*)
18477
 
    shrext_cmds='.so'
18478
 
    hardcode_into_libs=yes
18479
 
    dynamic_linker="$host_os dld.so"
18480
 
    shlibpath_var=LD_LIBRARY_PATH
18481
 
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18482
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18483
 
    soname_spec='${libname}${release}${shared_ext}$major'
18484
 
    if test "X$HPUX_IA64_MODE" = X32; then
18485
 
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18486
 
    else
18487
 
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18488
 
    fi
18489
 
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18490
 
    ;;
18491
 
   hppa*64*)
18492
 
     shrext_cmds='.sl'
18493
 
     hardcode_into_libs=yes
18494
 
     dynamic_linker="$host_os dld.sl"
18495
 
     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18496
 
     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18497
 
     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18498
 
     soname_spec='${libname}${release}${shared_ext}$major'
18499
 
     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18500
 
     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18501
 
     ;;
18502
 
   *)
18503
 
    shrext_cmds='.sl'
18504
 
    dynamic_linker="$host_os dld.sl"
18505
 
    shlibpath_var=SHLIB_PATH
18506
 
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18507
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18508
 
    soname_spec='${libname}${release}${shared_ext}$major'
18509
 
    ;;
18510
 
  esac
18511
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
18512
 
  postinstall_cmds='chmod 555 $lib'
18513
 
  ;;
18514
 
 
18515
 
interix[3-9]*)
18516
 
  version_type=linux
18517
 
  need_lib_prefix=no
18518
 
  need_version=no
18519
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18520
 
  soname_spec='${libname}${release}${shared_ext}$major'
18521
 
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18522
 
  shlibpath_var=LD_LIBRARY_PATH
18523
 
  shlibpath_overrides_runpath=no
18524
 
  hardcode_into_libs=yes
18525
 
  ;;
18526
 
 
18527
 
irix5* | irix6* | nonstopux*)
18528
 
  case $host_os in
18529
 
    nonstopux*) version_type=nonstopux ;;
18530
 
    *)
18531
 
        if test "$lt_cv_prog_gnu_ld" = yes; then
18532
 
                version_type=linux
18533
 
        else
18534
 
                version_type=irix
18535
 
        fi ;;
18536
 
  esac
18537
 
  need_lib_prefix=no
18538
 
  need_version=no
18539
 
  soname_spec='${libname}${release}${shared_ext}$major'
18540
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18541
 
  case $host_os in
18542
 
  irix5* | nonstopux*)
18543
 
    libsuff= shlibsuff=
18544
 
    ;;
18545
 
  *)
18546
 
    case $LD in # libtool.m4 will add one of these switches to LD
18547
 
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18548
 
      libsuff= shlibsuff= libmagic=32-bit;;
18549
 
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18550
 
      libsuff=32 shlibsuff=N32 libmagic=N32;;
18551
 
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18552
 
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
18553
 
    *) libsuff= shlibsuff= libmagic=never-match;;
18554
 
    esac
18555
 
    ;;
18556
 
  esac
18557
 
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18558
 
  shlibpath_overrides_runpath=no
18559
 
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18560
 
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18561
 
  hardcode_into_libs=yes
18562
 
  ;;
18563
 
 
18564
 
# No shared lib support for Linux oldld, aout, or coff.
18565
 
linux*oldld* | linux*aout* | linux*coff*)
18566
 
  dynamic_linker=no
18567
 
  ;;
18568
 
 
18569
 
# This must be Linux ELF.
18570
 
linux* | k*bsd*-gnu)
18571
 
  version_type=linux
18572
 
  need_lib_prefix=no
18573
 
  need_version=no
18574
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18575
 
  soname_spec='${libname}${release}${shared_ext}$major'
18576
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18577
 
  shlibpath_var=LD_LIBRARY_PATH
18578
 
  shlibpath_overrides_runpath=no
18579
 
  # This implies no fast_install, which is unacceptable.
18580
 
  # Some rework will be needed to allow for fast_install
18581
 
  # before this can be enabled.
18582
 
  hardcode_into_libs=yes
18583
 
 
18584
 
  # Append ld.so.conf contents to the search path
18585
 
  if test -f /etc/ld.so.conf; then
18586
 
    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' ' '`
18587
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18588
 
  fi
18589
 
 
18590
 
  # We used to test for /lib/ld.so.1 and disable shared libraries on
18591
 
  # powerpc, because MkLinux only supported shared libraries with the
18592
 
  # GNU dynamic linker.  Since this was broken with cross compilers,
18593
 
  # most powerpc-linux boxes support dynamic linking these days and
18594
 
  # people can always --disable-shared, the test was removed, and we
18595
 
  # assume the GNU/Linux dynamic linker is in use.
18596
 
  dynamic_linker='GNU/Linux ld.so'
18597
 
  ;;
18598
 
 
18599
 
netbsdelf*-gnu)
18600
 
  version_type=linux
18601
 
  need_lib_prefix=no
18602
 
  need_version=no
18603
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18604
 
  soname_spec='${libname}${release}${shared_ext}$major'
18605
 
  shlibpath_var=LD_LIBRARY_PATH
18606
 
  shlibpath_overrides_runpath=no
18607
 
  hardcode_into_libs=yes
18608
 
  dynamic_linker='NetBSD ld.elf_so'
18609
 
  ;;
18610
 
 
18611
 
netbsd*)
18612
 
  version_type=sunos
18613
 
  need_lib_prefix=no
18614
 
  need_version=no
18615
 
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18616
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18617
 
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18618
 
    dynamic_linker='NetBSD (a.out) ld.so'
18619
 
  else
18620
 
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18621
 
    soname_spec='${libname}${release}${shared_ext}$major'
18622
 
    dynamic_linker='NetBSD ld.elf_so'
18623
 
  fi
18624
 
  shlibpath_var=LD_LIBRARY_PATH
18625
 
  shlibpath_overrides_runpath=yes
18626
 
  hardcode_into_libs=yes
18627
 
  ;;
18628
 
 
18629
 
newsos6)
18630
 
  version_type=linux
18631
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18632
 
  shlibpath_var=LD_LIBRARY_PATH
18633
 
  shlibpath_overrides_runpath=yes
18634
 
  ;;
18635
 
 
18636
 
nto-qnx*)
18637
 
  version_type=linux
18638
 
  need_lib_prefix=no
18639
 
  need_version=no
18640
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18641
 
  soname_spec='${libname}${release}${shared_ext}$major'
18642
 
  shlibpath_var=LD_LIBRARY_PATH
18643
 
  shlibpath_overrides_runpath=yes
18644
 
  ;;
18645
 
 
18646
 
openbsd*)
18647
 
  version_type=sunos
18648
 
  sys_lib_dlsearch_path_spec="/usr/lib"
18649
 
  need_lib_prefix=no
18650
 
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18651
 
  case $host_os in
18652
 
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18653
 
    *)                         need_version=no  ;;
18654
 
  esac
18655
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18656
 
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18657
 
  shlibpath_var=LD_LIBRARY_PATH
18658
 
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18659
 
    case $host_os in
18660
 
      openbsd2.[89] | openbsd2.[89].*)
18661
 
        shlibpath_overrides_runpath=no
18662
 
        ;;
18663
 
      *)
18664
 
        shlibpath_overrides_runpath=yes
18665
 
        ;;
18666
 
      esac
18667
 
  else
18668
 
    shlibpath_overrides_runpath=yes
18669
 
  fi
18670
 
  ;;
18671
 
 
18672
 
os2*)
18673
 
  libname_spec='$name'
18674
 
  shrext_cmds=".dll"
18675
 
  need_lib_prefix=no
18676
 
  library_names_spec='$libname${shared_ext} $libname.a'
18677
 
  dynamic_linker='OS/2 ld.exe'
18678
 
  shlibpath_var=LIBPATH
18679
 
  ;;
18680
 
 
18681
 
osf3* | osf4* | osf5*)
18682
 
  version_type=osf
18683
 
  need_lib_prefix=no
18684
 
  need_version=no
18685
 
  soname_spec='${libname}${release}${shared_ext}$major'
18686
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18687
 
  shlibpath_var=LD_LIBRARY_PATH
18688
 
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18689
 
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18690
 
  ;;
18691
 
 
18692
 
rdos*)
18693
 
  dynamic_linker=no
18694
 
  ;;
18695
 
 
18696
 
solaris*)
18697
 
  version_type=linux
18698
 
  need_lib_prefix=no
18699
 
  need_version=no
18700
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18701
 
  soname_spec='${libname}${release}${shared_ext}$major'
18702
 
  shlibpath_var=LD_LIBRARY_PATH
18703
 
  shlibpath_overrides_runpath=yes
18704
 
  hardcode_into_libs=yes
18705
 
  # ldd complains unless libraries are executable
18706
 
  postinstall_cmds='chmod +x $lib'
18707
 
  ;;
18708
 
 
18709
 
sunos4*)
18710
 
  version_type=sunos
18711
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18712
 
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18713
 
  shlibpath_var=LD_LIBRARY_PATH
18714
 
  shlibpath_overrides_runpath=yes
18715
 
  if test "$with_gnu_ld" = yes; then
18716
 
    need_lib_prefix=no
18717
 
  fi
18718
 
  need_version=yes
18719
 
  ;;
18720
 
 
18721
 
sysv4 | sysv4.3*)
18722
 
  version_type=linux
18723
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18724
 
  soname_spec='${libname}${release}${shared_ext}$major'
18725
 
  shlibpath_var=LD_LIBRARY_PATH
18726
 
  case $host_vendor in
18727
 
    sni)
18728
 
      shlibpath_overrides_runpath=no
18729
 
      need_lib_prefix=no
18730
 
      export_dynamic_flag_spec='${wl}-Blargedynsym'
18731
 
      runpath_var=LD_RUN_PATH
18732
 
      ;;
18733
 
    siemens)
18734
 
      need_lib_prefix=no
18735
 
      ;;
18736
 
    motorola)
18737
 
      need_lib_prefix=no
18738
 
      need_version=no
18739
 
      shlibpath_overrides_runpath=no
18740
 
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18741
 
      ;;
18742
 
  esac
18743
 
  ;;
18744
 
 
18745
 
sysv4*MP*)
18746
 
  if test -d /usr/nec ;then
18747
 
    version_type=linux
18748
 
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18749
 
    soname_spec='$libname${shared_ext}.$major'
18750
 
    shlibpath_var=LD_LIBRARY_PATH
18751
 
  fi
18752
 
  ;;
18753
 
 
18754
 
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18755
 
  version_type=freebsd-elf
18756
 
  need_lib_prefix=no
18757
 
  need_version=no
18758
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18759
 
  soname_spec='${libname}${release}${shared_ext}$major'
18760
 
  shlibpath_var=LD_LIBRARY_PATH
18761
 
  hardcode_into_libs=yes
18762
 
  if test "$with_gnu_ld" = yes; then
18763
 
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18764
 
    shlibpath_overrides_runpath=no
18765
 
  else
18766
 
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18767
 
    shlibpath_overrides_runpath=yes
18768
 
    case $host_os in
18769
 
      sco3.2v5*)
18770
 
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18771
 
        ;;
18772
 
    esac
18773
 
  fi
18774
 
  sys_lib_dlsearch_path_spec='/usr/lib'
18775
 
  ;;
18776
 
 
18777
 
uts4*)
18778
 
  version_type=linux
18779
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18780
 
  soname_spec='${libname}${release}${shared_ext}$major'
18781
 
  shlibpath_var=LD_LIBRARY_PATH
18782
 
  ;;
18783
 
 
18784
 
*)
18785
 
  dynamic_linker=no
18786
 
  ;;
18787
 
esac
18788
 
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18789
 
echo "${ECHO_T}$dynamic_linker" >&6; }
18790
 
test "$dynamic_linker" = no && can_build_shared=no
18791
 
 
18792
 
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18793
 
if test "$GCC" = yes; then
18794
 
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18795
 
fi
18796
 
 
18797
 
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18798
 
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18799
 
hardcode_action_GCJ=
18800
 
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18801
 
   test -n "$runpath_var_GCJ" || \
18802
 
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18803
 
 
18804
 
  # We can hardcode non-existant directories.
18805
 
  if test "$hardcode_direct_GCJ" != no &&
18806
 
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
18807
 
     # have to relink, otherwise we might link with an installed library
18808
 
     # when we should be linking with a yet-to-be-installed one
18809
 
     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18810
 
     test "$hardcode_minus_L_GCJ" != no; then
18811
 
    # Linking always hardcodes the temporary library directory.
18812
 
    hardcode_action_GCJ=relink
18813
 
  else
18814
 
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
18815
 
    hardcode_action_GCJ=immediate
18816
 
  fi
18817
 
else
18818
 
  # We cannot hardcode anything, or else we can only hardcode existing
18819
 
  # directories.
18820
 
  hardcode_action_GCJ=unsupported
18821
 
fi
18822
 
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18823
 
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18824
 
 
18825
 
if test "$hardcode_action_GCJ" = relink; then
18826
 
  # Fast installation is not supported
18827
 
  enable_fast_install=no
18828
 
elif test "$shlibpath_overrides_runpath" = yes ||
18829
 
     test "$enable_shared" = no; then
18830
 
  # Fast installation is not necessary
18831
 
  enable_fast_install=needless
18832
 
fi
18833
 
 
18834
 
 
18835
 
# The else clause should only fire when bootstrapping the
18836
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
18837
 
# with your package, and you will get complaints that there are
18838
 
# no rules to generate ltmain.sh.
18839
 
if test -f "$ltmain"; then
18840
 
  # See if we are running on zsh, and set the options which allow our commands through
18841
 
  # without removal of \ escapes.
18842
 
  if test -n "${ZSH_VERSION+set}" ; then
18843
 
    setopt NO_GLOB_SUBST
18844
 
  fi
18845
 
  # Now quote all the things that may contain metacharacters while being
18846
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
18847
 
  # variables and quote the copies for generation of the libtool script.
18848
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18849
 
    SED SHELL STRIP \
18850
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18851
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18852
 
    deplibs_check_method reload_flag reload_cmds need_locks \
18853
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18854
 
    lt_cv_sys_global_symbol_to_c_name_address \
18855
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18856
 
    old_postinstall_cmds old_postuninstall_cmds \
18857
 
    compiler_GCJ \
18858
 
    CC_GCJ \
18859
 
    LD_GCJ \
18860
 
    lt_prog_compiler_wl_GCJ \
18861
 
    lt_prog_compiler_pic_GCJ \
18862
 
    lt_prog_compiler_static_GCJ \
18863
 
    lt_prog_compiler_no_builtin_flag_GCJ \
18864
 
    export_dynamic_flag_spec_GCJ \
18865
 
    thread_safe_flag_spec_GCJ \
18866
 
    whole_archive_flag_spec_GCJ \
18867
 
    enable_shared_with_static_runtimes_GCJ \
18868
 
    old_archive_cmds_GCJ \
18869
 
    old_archive_from_new_cmds_GCJ \
18870
 
    predep_objects_GCJ \
18871
 
    postdep_objects_GCJ \
18872
 
    predeps_GCJ \
18873
 
    postdeps_GCJ \
18874
 
    compiler_lib_search_path_GCJ \
18875
 
    archive_cmds_GCJ \
18876
 
    archive_expsym_cmds_GCJ \
18877
 
    postinstall_cmds_GCJ \
18878
 
    postuninstall_cmds_GCJ \
18879
 
    old_archive_from_expsyms_cmds_GCJ \
18880
 
    allow_undefined_flag_GCJ \
18881
 
    no_undefined_flag_GCJ \
18882
 
    export_symbols_cmds_GCJ \
18883
 
    hardcode_libdir_flag_spec_GCJ \
18884
 
    hardcode_libdir_flag_spec_ld_GCJ \
18885
 
    hardcode_libdir_separator_GCJ \
18886
 
    hardcode_automatic_GCJ \
18887
 
    module_cmds_GCJ \
18888
 
    module_expsym_cmds_GCJ \
18889
 
    lt_cv_prog_compiler_c_o_GCJ \
18890
 
    fix_srcfile_path_GCJ \
18891
 
    exclude_expsyms_GCJ \
18892
 
    include_expsyms_GCJ; do
18893
 
 
18894
 
    case $var in
18895
 
    old_archive_cmds_GCJ | \
18896
 
    old_archive_from_new_cmds_GCJ | \
18897
 
    archive_cmds_GCJ | \
18898
 
    archive_expsym_cmds_GCJ | \
18899
 
    module_cmds_GCJ | \
18900
 
    module_expsym_cmds_GCJ | \
18901
 
    old_archive_from_expsyms_cmds_GCJ | \
18902
 
    export_symbols_cmds_GCJ | \
18903
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
18904
 
    postinstall_cmds | postuninstall_cmds | \
18905
 
    old_postinstall_cmds | old_postuninstall_cmds | \
18906
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18907
 
      # Double-quote double-evaled strings.
18908
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18909
 
      ;;
18910
 
    *)
18911
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18912
 
      ;;
18913
 
    esac
18914
 
  done
18915
 
 
18916
 
  case $lt_echo in
18917
 
  *'\$0 --fallback-echo"')
18918
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18919
 
    ;;
18920
 
  esac
18921
 
 
18922
 
cfgfile="$ofile"
18923
 
 
18924
 
  cat <<__EOF__ >> "$cfgfile"
18925
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18926
 
 
18927
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18928
 
 
18929
 
# Shell to use when invoking shell scripts.
18930
 
SHELL=$lt_SHELL
18931
 
 
18932
 
# Whether or not to build shared libraries.
18933
 
build_libtool_libs=$enable_shared
18934
 
 
18935
 
# Whether or not to build static libraries.
18936
 
build_old_libs=$enable_static
18937
 
 
18938
 
# Whether or not to add -lc for building shared libraries.
18939
 
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18940
 
 
18941
 
# Whether or not to disallow shared libs when runtime libs are static
18942
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18943
 
 
18944
 
# Whether or not to optimize for fast installation.
18945
 
fast_install=$enable_fast_install
18946
 
 
18947
 
# The host system.
18948
 
host_alias=$host_alias
18949
 
host=$host
18950
 
host_os=$host_os
18951
 
 
18952
 
# The build system.
18953
 
build_alias=$build_alias
18954
 
build=$build
18955
 
build_os=$build_os
18956
 
 
18957
 
# An echo program that does not interpret backslashes.
18958
 
echo=$lt_echo
18959
 
 
18960
 
# The archiver.
18961
 
AR=$lt_AR
18962
 
AR_FLAGS=$lt_AR_FLAGS
18963
 
 
18964
 
# A C compiler.
18965
 
LTCC=$lt_LTCC
18966
 
 
18967
 
# LTCC compiler flags.
18968
 
LTCFLAGS=$lt_LTCFLAGS
18969
 
 
18970
 
# A language-specific compiler.
18971
 
CC=$lt_compiler_GCJ
18972
 
 
18973
 
# Is the compiler the GNU C compiler?
18974
 
with_gcc=$GCC_GCJ
18975
 
 
18976
 
# An ERE matcher.
18977
 
EGREP=$lt_EGREP
18978
 
 
18979
 
# The linker used to build libraries.
18980
 
LD=$lt_LD_GCJ
18981
 
 
18982
 
# Whether we need hard or soft links.
18983
 
LN_S=$lt_LN_S
18984
 
 
18985
 
# A BSD-compatible nm program.
18986
 
NM=$lt_NM
18987
 
 
18988
 
# A symbol stripping program
18989
 
STRIP=$lt_STRIP
18990
 
 
18991
 
# Used to examine libraries when file_magic_cmd begins "file"
18992
 
MAGIC_CMD=$MAGIC_CMD
18993
 
 
18994
 
# Used on cygwin: DLL creation program.
18995
 
DLLTOOL="$DLLTOOL"
18996
 
 
18997
 
# Used on cygwin: object dumper.
18998
 
OBJDUMP="$OBJDUMP"
18999
 
 
19000
 
# Used on cygwin: assembler.
19001
 
AS="$AS"
19002
 
 
19003
 
# The name of the directory that contains temporary libtool files.
19004
 
objdir=$objdir
19005
 
 
19006
 
# How to create reloadable object files.
19007
 
reload_flag=$lt_reload_flag
19008
 
reload_cmds=$lt_reload_cmds
19009
 
 
19010
 
# How to pass a linker flag through the compiler.
19011
 
wl=$lt_lt_prog_compiler_wl_GCJ
19012
 
 
19013
 
# Object file suffix (normally "o").
19014
 
objext="$ac_objext"
19015
 
 
19016
 
# Old archive suffix (normally "a").
19017
 
libext="$libext"
19018
 
 
19019
 
# Shared library suffix (normally ".so").
19020
 
shrext_cmds='$shrext_cmds'
19021
 
 
19022
 
# Executable file suffix (normally "").
19023
 
exeext="$exeext"
19024
 
 
19025
 
# Additional compiler flags for building library objects.
19026
 
pic_flag=$lt_lt_prog_compiler_pic_GCJ
19027
 
pic_mode=$pic_mode
19028
 
 
19029
 
# What is the maximum length of a command?
19030
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19031
 
 
19032
 
# Does compiler simultaneously support -c and -o options?
19033
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19034
 
 
19035
 
# Must we lock files when doing compilation?
19036
 
need_locks=$lt_need_locks
19037
 
 
19038
 
# Do we need the lib prefix for modules?
19039
 
need_lib_prefix=$need_lib_prefix
19040
 
 
19041
 
# Do we need a version for libraries?
19042
 
need_version=$need_version
19043
 
 
19044
 
# Whether dlopen is supported.
19045
 
dlopen_support=$enable_dlopen
19046
 
 
19047
 
# Whether dlopen of programs is supported.
19048
 
dlopen_self=$enable_dlopen_self
19049
 
 
19050
 
# Whether dlopen of statically linked programs is supported.
19051
 
dlopen_self_static=$enable_dlopen_self_static
19052
 
 
19053
 
# Compiler flag to prevent dynamic linking.
19054
 
link_static_flag=$lt_lt_prog_compiler_static_GCJ
19055
 
 
19056
 
# Compiler flag to turn off builtin functions.
19057
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19058
 
 
19059
 
# Compiler flag to allow reflexive dlopens.
19060
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19061
 
 
19062
 
# Compiler flag to generate shared objects directly from archives.
19063
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19064
 
 
19065
 
# Compiler flag to generate thread-safe objects.
19066
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19067
 
 
19068
 
# Library versioning type.
19069
 
version_type=$version_type
19070
 
 
19071
 
# Format of library name prefix.
19072
 
libname_spec=$lt_libname_spec
19073
 
 
19074
 
# List of archive names.  First name is the real one, the rest are links.
19075
 
# The last name is the one that the linker finds with -lNAME.
19076
 
library_names_spec=$lt_library_names_spec
19077
 
 
19078
 
# The coded name of the library, if different from the real name.
19079
 
soname_spec=$lt_soname_spec
19080
 
 
19081
 
# Commands used to build and install an old-style archive.
19082
 
RANLIB=$lt_RANLIB
19083
 
old_archive_cmds=$lt_old_archive_cmds_GCJ
19084
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19085
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19086
 
 
19087
 
# Create an old-style archive from a shared archive.
19088
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19089
 
 
19090
 
# Create a temporary old-style archive to link instead of a shared archive.
19091
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19092
 
 
19093
 
# Commands used to build and install a shared archive.
19094
 
archive_cmds=$lt_archive_cmds_GCJ
19095
 
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19096
 
postinstall_cmds=$lt_postinstall_cmds
19097
 
postuninstall_cmds=$lt_postuninstall_cmds
19098
 
 
19099
 
# Commands used to build a loadable module (assumed same as above if empty)
19100
 
module_cmds=$lt_module_cmds_GCJ
19101
 
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19102
 
 
19103
 
# Commands to strip libraries.
19104
 
old_striplib=$lt_old_striplib
19105
 
striplib=$lt_striplib
19106
 
 
19107
 
# Dependencies to place before the objects being linked to create a
19108
 
# shared library.
19109
 
predep_objects=$lt_predep_objects_GCJ
19110
 
 
19111
 
# Dependencies to place after the objects being linked to create a
19112
 
# shared library.
19113
 
postdep_objects=$lt_postdep_objects_GCJ
19114
 
 
19115
 
# Dependencies to place before the objects being linked to create a
19116
 
# shared library.
19117
 
predeps=$lt_predeps_GCJ
19118
 
 
19119
 
# Dependencies to place after the objects being linked to create a
19120
 
# shared library.
19121
 
postdeps=$lt_postdeps_GCJ
19122
 
 
19123
 
# The library search path used internally by the compiler when linking
19124
 
# a shared library.
19125
 
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19126
 
 
19127
 
# Method to check whether dependent libraries are shared objects.
19128
 
deplibs_check_method=$lt_deplibs_check_method
19129
 
 
19130
 
# Command to use when deplibs_check_method == file_magic.
19131
 
file_magic_cmd=$lt_file_magic_cmd
19132
 
 
19133
 
# Flag that allows shared libraries with undefined symbols to be built.
19134
 
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19135
 
 
19136
 
# Flag that forces no undefined symbols.
19137
 
no_undefined_flag=$lt_no_undefined_flag_GCJ
19138
 
 
19139
 
# Commands used to finish a libtool library installation in a directory.
19140
 
finish_cmds=$lt_finish_cmds
19141
 
 
19142
 
# Same as above, but a single script fragment to be evaled but not shown.
19143
 
finish_eval=$lt_finish_eval
19144
 
 
19145
 
# Take the output of nm and produce a listing of raw symbols and C names.
19146
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19147
 
 
19148
 
# Transform the output of nm in a proper C declaration
19149
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19150
 
 
19151
 
# Transform the output of nm in a C name address pair
19152
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19153
 
 
19154
 
# This is the shared library runtime path variable.
19155
 
runpath_var=$runpath_var
19156
 
 
19157
 
# This is the shared library path variable.
19158
 
shlibpath_var=$shlibpath_var
19159
 
 
19160
 
# Is shlibpath searched before the hard-coded library search path?
19161
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19162
 
 
19163
 
# How to hardcode a shared library path into an executable.
19164
 
hardcode_action=$hardcode_action_GCJ
19165
 
 
19166
 
# Whether we should hardcode library paths into libraries.
19167
 
hardcode_into_libs=$hardcode_into_libs
19168
 
 
19169
 
# Flag to hardcode \$libdir into a binary during linking.
19170
 
# This must work even if \$libdir does not exist.
19171
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19172
 
 
19173
 
# If ld is used when linking, flag to hardcode \$libdir into
19174
 
# a binary during linking. This must work even if \$libdir does
19175
 
# not exist.
19176
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19177
 
 
19178
 
# Whether we need a single -rpath flag with a separated argument.
19179
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19180
 
 
19181
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19182
 
# resulting binary.
19183
 
hardcode_direct=$hardcode_direct_GCJ
19184
 
 
19185
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19186
 
# resulting binary.
19187
 
hardcode_minus_L=$hardcode_minus_L_GCJ
19188
 
 
19189
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19190
 
# the resulting binary.
19191
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19192
 
 
19193
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19194
 
# and all subsequent libraries and executables linked against it.
19195
 
hardcode_automatic=$hardcode_automatic_GCJ
19196
 
 
19197
 
# Variables whose values should be saved in libtool wrapper scripts and
19198
 
# restored at relink time.
19199
 
variables_saved_for_relink="$variables_saved_for_relink"
19200
 
 
19201
 
# Whether libtool must link a program against all its dependency libraries.
19202
 
link_all_deplibs=$link_all_deplibs_GCJ
19203
 
 
19204
 
# Compile-time system search path for libraries
19205
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19206
 
 
19207
 
# Run-time system search path for libraries
19208
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19209
 
 
19210
 
# Fix the shell variable \$srcfile for the compiler.
19211
 
fix_srcfile_path=$lt_fix_srcfile_path
19212
 
 
19213
 
# Set to yes if exported symbols are required.
19214
 
always_export_symbols=$always_export_symbols_GCJ
19215
 
 
19216
 
# The commands to list exported symbols.
19217
 
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19218
 
 
19219
 
# The commands to extract the exported symbol list from a shared archive.
19220
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19221
 
 
19222
 
# Symbols that should not be listed in the preloaded symbols.
19223
 
exclude_expsyms=$lt_exclude_expsyms_GCJ
19224
 
 
19225
 
# Symbols that must always be exported.
19226
 
include_expsyms=$lt_include_expsyms_GCJ
19227
 
 
19228
 
# ### END LIBTOOL TAG CONFIG: $tagname
19229
 
 
19230
 
__EOF__
19231
 
 
19232
 
 
19233
 
else
19234
 
  # If there is no Makefile yet, we rely on a make rule to execute
19235
 
  # `config.status --recheck' to rerun these tests and create the
19236
 
  # libtool script then.
19237
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19238
 
  if test -f "$ltmain_in"; then
19239
 
    test -f Makefile && make "$ltmain"
19240
 
  fi
19241
 
fi
19242
 
 
19243
 
 
19244
 
ac_ext=c
19245
 
ac_cpp='$CPP $CPPFLAGS'
19246
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19247
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19248
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19249
 
 
19250
 
CC="$lt_save_CC"
19251
 
 
19252
 
        else
19253
 
          tagname=""
19254
 
        fi
19255
 
        ;;
19256
 
 
19257
 
      RC)
19258
 
 
19259
 
 
19260
 
# Source file extension for RC test sources.
19261
 
ac_ext=rc
19262
 
 
19263
 
# Object file extension for compiled RC test sources.
19264
 
objext=o
19265
 
objext_RC=$objext
19266
 
 
19267
 
# Code to be used in simple compile tests
19268
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19269
 
 
19270
 
# Code to be used in simple link tests
19271
 
lt_simple_link_test_code="$lt_simple_compile_test_code"
19272
 
 
19273
 
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19274
 
 
19275
 
# If no C compiler was specified, use CC.
19276
 
LTCC=${LTCC-"$CC"}
19277
 
 
19278
 
# If no C compiler flags were specified, use CFLAGS.
19279
 
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19280
 
 
19281
 
# Allow CC to be a program name with arguments.
19282
 
compiler=$CC
19283
 
 
19284
 
 
19285
 
# save warnings/boilerplate of simple test code
19286
 
ac_outfile=conftest.$ac_objext
19287
 
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19288
 
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19289
 
_lt_compiler_boilerplate=`cat conftest.err`
19290
 
$rm conftest*
19291
 
 
19292
 
ac_outfile=conftest.$ac_objext
19293
 
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19294
 
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19295
 
_lt_linker_boilerplate=`cat conftest.err`
19296
 
$rm conftest*
19297
 
 
19298
 
 
19299
 
# Allow CC to be a program name with arguments.
19300
 
lt_save_CC="$CC"
19301
 
CC=${RC-"windres"}
19302
 
compiler=$CC
19303
 
compiler_RC=$CC
19304
 
for cc_temp in $compiler""; do
19305
 
  case $cc_temp in
19306
 
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19307
 
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19308
 
    \-*) ;;
19309
 
    *) break;;
19310
 
  esac
19311
 
done
19312
 
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19313
 
 
19314
 
lt_cv_prog_compiler_c_o_RC=yes
19315
 
 
19316
 
# The else clause should only fire when bootstrapping the
19317
 
# libtool distribution, otherwise you forgot to ship ltmain.sh
19318
 
# with your package, and you will get complaints that there are
19319
 
# no rules to generate ltmain.sh.
19320
 
if test -f "$ltmain"; then
19321
 
  # See if we are running on zsh, and set the options which allow our commands through
19322
 
  # without removal of \ escapes.
19323
 
  if test -n "${ZSH_VERSION+set}" ; then
19324
 
    setopt NO_GLOB_SUBST
19325
 
  fi
19326
 
  # Now quote all the things that may contain metacharacters while being
19327
 
  # careful not to overquote the AC_SUBSTed values.  We take copies of the
19328
 
  # variables and quote the copies for generation of the libtool script.
19329
 
  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19330
 
    SED SHELL STRIP \
19331
 
    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19332
 
    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19333
 
    deplibs_check_method reload_flag reload_cmds need_locks \
19334
 
    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19335
 
    lt_cv_sys_global_symbol_to_c_name_address \
19336
 
    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19337
 
    old_postinstall_cmds old_postuninstall_cmds \
19338
 
    compiler_RC \
19339
 
    CC_RC \
19340
 
    LD_RC \
19341
 
    lt_prog_compiler_wl_RC \
19342
 
    lt_prog_compiler_pic_RC \
19343
 
    lt_prog_compiler_static_RC \
19344
 
    lt_prog_compiler_no_builtin_flag_RC \
19345
 
    export_dynamic_flag_spec_RC \
19346
 
    thread_safe_flag_spec_RC \
19347
 
    whole_archive_flag_spec_RC \
19348
 
    enable_shared_with_static_runtimes_RC \
19349
 
    old_archive_cmds_RC \
19350
 
    old_archive_from_new_cmds_RC \
19351
 
    predep_objects_RC \
19352
 
    postdep_objects_RC \
19353
 
    predeps_RC \
19354
 
    postdeps_RC \
19355
 
    compiler_lib_search_path_RC \
19356
 
    archive_cmds_RC \
19357
 
    archive_expsym_cmds_RC \
19358
 
    postinstall_cmds_RC \
19359
 
    postuninstall_cmds_RC \
19360
 
    old_archive_from_expsyms_cmds_RC \
19361
 
    allow_undefined_flag_RC \
19362
 
    no_undefined_flag_RC \
19363
 
    export_symbols_cmds_RC \
19364
 
    hardcode_libdir_flag_spec_RC \
19365
 
    hardcode_libdir_flag_spec_ld_RC \
19366
 
    hardcode_libdir_separator_RC \
19367
 
    hardcode_automatic_RC \
19368
 
    module_cmds_RC \
19369
 
    module_expsym_cmds_RC \
19370
 
    lt_cv_prog_compiler_c_o_RC \
19371
 
    fix_srcfile_path_RC \
19372
 
    exclude_expsyms_RC \
19373
 
    include_expsyms_RC; do
19374
 
 
19375
 
    case $var in
19376
 
    old_archive_cmds_RC | \
19377
 
    old_archive_from_new_cmds_RC | \
19378
 
    archive_cmds_RC | \
19379
 
    archive_expsym_cmds_RC | \
19380
 
    module_cmds_RC | \
19381
 
    module_expsym_cmds_RC | \
19382
 
    old_archive_from_expsyms_cmds_RC | \
19383
 
    export_symbols_cmds_RC | \
19384
 
    extract_expsyms_cmds | reload_cmds | finish_cmds | \
19385
 
    postinstall_cmds | postuninstall_cmds | \
19386
 
    old_postinstall_cmds | old_postuninstall_cmds | \
19387
 
    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19388
 
      # Double-quote double-evaled strings.
19389
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19390
 
      ;;
19391
 
    *)
19392
 
      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19393
 
      ;;
19394
 
    esac
19395
 
  done
19396
 
 
19397
 
  case $lt_echo in
19398
 
  *'\$0 --fallback-echo"')
19399
 
    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19400
 
    ;;
19401
 
  esac
19402
 
 
19403
 
cfgfile="$ofile"
19404
 
 
19405
 
  cat <<__EOF__ >> "$cfgfile"
19406
 
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19407
 
 
19408
 
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19409
 
 
19410
 
# Shell to use when invoking shell scripts.
19411
 
SHELL=$lt_SHELL
19412
 
 
19413
 
# Whether or not to build shared libraries.
19414
 
build_libtool_libs=$enable_shared
19415
 
 
19416
 
# Whether or not to build static libraries.
19417
 
build_old_libs=$enable_static
19418
 
 
19419
 
# Whether or not to add -lc for building shared libraries.
19420
 
build_libtool_need_lc=$archive_cmds_need_lc_RC
19421
 
 
19422
 
# Whether or not to disallow shared libs when runtime libs are static
19423
 
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19424
 
 
19425
 
# Whether or not to optimize for fast installation.
19426
 
fast_install=$enable_fast_install
19427
 
 
19428
 
# The host system.
19429
 
host_alias=$host_alias
19430
 
host=$host
19431
 
host_os=$host_os
19432
 
 
19433
 
# The build system.
19434
 
build_alias=$build_alias
19435
 
build=$build
19436
 
build_os=$build_os
19437
 
 
19438
 
# An echo program that does not interpret backslashes.
19439
 
echo=$lt_echo
19440
 
 
19441
 
# The archiver.
19442
 
AR=$lt_AR
19443
 
AR_FLAGS=$lt_AR_FLAGS
19444
 
 
19445
 
# A C compiler.
19446
 
LTCC=$lt_LTCC
19447
 
 
19448
 
# LTCC compiler flags.
19449
 
LTCFLAGS=$lt_LTCFLAGS
19450
 
 
19451
 
# A language-specific compiler.
19452
 
CC=$lt_compiler_RC
19453
 
 
19454
 
# Is the compiler the GNU C compiler?
19455
 
with_gcc=$GCC_RC
19456
 
 
19457
 
# An ERE matcher.
19458
 
EGREP=$lt_EGREP
19459
 
 
19460
 
# The linker used to build libraries.
19461
 
LD=$lt_LD_RC
19462
 
 
19463
 
# Whether we need hard or soft links.
19464
 
LN_S=$lt_LN_S
19465
 
 
19466
 
# A BSD-compatible nm program.
19467
 
NM=$lt_NM
19468
 
 
19469
 
# A symbol stripping program
19470
 
STRIP=$lt_STRIP
19471
 
 
19472
 
# Used to examine libraries when file_magic_cmd begins "file"
19473
 
MAGIC_CMD=$MAGIC_CMD
19474
 
 
19475
 
# Used on cygwin: DLL creation program.
19476
 
DLLTOOL="$DLLTOOL"
19477
 
 
19478
 
# Used on cygwin: object dumper.
19479
 
OBJDUMP="$OBJDUMP"
19480
 
 
19481
 
# Used on cygwin: assembler.
19482
 
AS="$AS"
19483
 
 
19484
 
# The name of the directory that contains temporary libtool files.
19485
 
objdir=$objdir
19486
 
 
19487
 
# How to create reloadable object files.
19488
 
reload_flag=$lt_reload_flag
19489
 
reload_cmds=$lt_reload_cmds
19490
 
 
19491
 
# How to pass a linker flag through the compiler.
19492
 
wl=$lt_lt_prog_compiler_wl_RC
19493
 
 
19494
 
# Object file suffix (normally "o").
19495
 
objext="$ac_objext"
19496
 
 
19497
 
# Old archive suffix (normally "a").
19498
 
libext="$libext"
19499
 
 
19500
 
# Shared library suffix (normally ".so").
19501
 
shrext_cmds='$shrext_cmds'
19502
 
 
19503
 
# Executable file suffix (normally "").
19504
 
exeext="$exeext"
19505
 
 
19506
 
# Additional compiler flags for building library objects.
19507
 
pic_flag=$lt_lt_prog_compiler_pic_RC
19508
 
pic_mode=$pic_mode
19509
 
 
19510
 
# What is the maximum length of a command?
19511
 
max_cmd_len=$lt_cv_sys_max_cmd_len
19512
 
 
19513
 
# Does compiler simultaneously support -c and -o options?
19514
 
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19515
 
 
19516
 
# Must we lock files when doing compilation?
19517
 
need_locks=$lt_need_locks
19518
 
 
19519
 
# Do we need the lib prefix for modules?
19520
 
need_lib_prefix=$need_lib_prefix
19521
 
 
19522
 
# Do we need a version for libraries?
19523
 
need_version=$need_version
19524
 
 
19525
 
# Whether dlopen is supported.
19526
 
dlopen_support=$enable_dlopen
19527
 
 
19528
 
# Whether dlopen of programs is supported.
19529
 
dlopen_self=$enable_dlopen_self
19530
 
 
19531
 
# Whether dlopen of statically linked programs is supported.
19532
 
dlopen_self_static=$enable_dlopen_self_static
19533
 
 
19534
 
# Compiler flag to prevent dynamic linking.
19535
 
link_static_flag=$lt_lt_prog_compiler_static_RC
19536
 
 
19537
 
# Compiler flag to turn off builtin functions.
19538
 
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19539
 
 
19540
 
# Compiler flag to allow reflexive dlopens.
19541
 
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19542
 
 
19543
 
# Compiler flag to generate shared objects directly from archives.
19544
 
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19545
 
 
19546
 
# Compiler flag to generate thread-safe objects.
19547
 
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19548
 
 
19549
 
# Library versioning type.
19550
 
version_type=$version_type
19551
 
 
19552
 
# Format of library name prefix.
19553
 
libname_spec=$lt_libname_spec
19554
 
 
19555
 
# List of archive names.  First name is the real one, the rest are links.
19556
 
# The last name is the one that the linker finds with -lNAME.
19557
 
library_names_spec=$lt_library_names_spec
19558
 
 
19559
 
# The coded name of the library, if different from the real name.
19560
 
soname_spec=$lt_soname_spec
19561
 
 
19562
 
# Commands used to build and install an old-style archive.
19563
 
RANLIB=$lt_RANLIB
19564
 
old_archive_cmds=$lt_old_archive_cmds_RC
19565
 
old_postinstall_cmds=$lt_old_postinstall_cmds
19566
 
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19567
 
 
19568
 
# Create an old-style archive from a shared archive.
19569
 
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19570
 
 
19571
 
# Create a temporary old-style archive to link instead of a shared archive.
19572
 
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19573
 
 
19574
 
# Commands used to build and install a shared archive.
19575
 
archive_cmds=$lt_archive_cmds_RC
19576
 
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19577
 
postinstall_cmds=$lt_postinstall_cmds
19578
 
postuninstall_cmds=$lt_postuninstall_cmds
19579
 
 
19580
 
# Commands used to build a loadable module (assumed same as above if empty)
19581
 
module_cmds=$lt_module_cmds_RC
19582
 
module_expsym_cmds=$lt_module_expsym_cmds_RC
19583
 
 
19584
 
# Commands to strip libraries.
19585
 
old_striplib=$lt_old_striplib
19586
 
striplib=$lt_striplib
19587
 
 
19588
 
# Dependencies to place before the objects being linked to create a
19589
 
# shared library.
19590
 
predep_objects=$lt_predep_objects_RC
19591
 
 
19592
 
# Dependencies to place after the objects being linked to create a
19593
 
# shared library.
19594
 
postdep_objects=$lt_postdep_objects_RC
19595
 
 
19596
 
# Dependencies to place before the objects being linked to create a
19597
 
# shared library.
19598
 
predeps=$lt_predeps_RC
19599
 
 
19600
 
# Dependencies to place after the objects being linked to create a
19601
 
# shared library.
19602
 
postdeps=$lt_postdeps_RC
19603
 
 
19604
 
# The library search path used internally by the compiler when linking
19605
 
# a shared library.
19606
 
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19607
 
 
19608
 
# Method to check whether dependent libraries are shared objects.
19609
 
deplibs_check_method=$lt_deplibs_check_method
19610
 
 
19611
 
# Command to use when deplibs_check_method == file_magic.
19612
 
file_magic_cmd=$lt_file_magic_cmd
19613
 
 
19614
 
# Flag that allows shared libraries with undefined symbols to be built.
19615
 
allow_undefined_flag=$lt_allow_undefined_flag_RC
19616
 
 
19617
 
# Flag that forces no undefined symbols.
19618
 
no_undefined_flag=$lt_no_undefined_flag_RC
19619
 
 
19620
 
# Commands used to finish a libtool library installation in a directory.
19621
 
finish_cmds=$lt_finish_cmds
19622
 
 
19623
 
# Same as above, but a single script fragment to be evaled but not shown.
19624
 
finish_eval=$lt_finish_eval
19625
 
 
19626
 
# Take the output of nm and produce a listing of raw symbols and C names.
19627
 
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19628
 
 
19629
 
# Transform the output of nm in a proper C declaration
19630
 
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19631
 
 
19632
 
# Transform the output of nm in a C name address pair
19633
 
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19634
 
 
19635
 
# This is the shared library runtime path variable.
19636
 
runpath_var=$runpath_var
19637
 
 
19638
 
# This is the shared library path variable.
19639
 
shlibpath_var=$shlibpath_var
19640
 
 
19641
 
# Is shlibpath searched before the hard-coded library search path?
19642
 
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19643
 
 
19644
 
# How to hardcode a shared library path into an executable.
19645
 
hardcode_action=$hardcode_action_RC
19646
 
 
19647
 
# Whether we should hardcode library paths into libraries.
19648
 
hardcode_into_libs=$hardcode_into_libs
19649
 
 
19650
 
# Flag to hardcode \$libdir into a binary during linking.
19651
 
# This must work even if \$libdir does not exist.
19652
 
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19653
 
 
19654
 
# If ld is used when linking, flag to hardcode \$libdir into
19655
 
# a binary during linking. This must work even if \$libdir does
19656
 
# not exist.
19657
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19658
 
 
19659
 
# Whether we need a single -rpath flag with a separated argument.
19660
 
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19661
 
 
19662
 
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19663
 
# resulting binary.
19664
 
hardcode_direct=$hardcode_direct_RC
19665
 
 
19666
 
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19667
 
# resulting binary.
19668
 
hardcode_minus_L=$hardcode_minus_L_RC
19669
 
 
19670
 
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19671
 
# the resulting binary.
19672
 
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19673
 
 
19674
 
# Set to yes if building a shared library automatically hardcodes DIR into the library
19675
 
# and all subsequent libraries and executables linked against it.
19676
 
hardcode_automatic=$hardcode_automatic_RC
19677
 
 
19678
 
# Variables whose values should be saved in libtool wrapper scripts and
19679
 
# restored at relink time.
19680
 
variables_saved_for_relink="$variables_saved_for_relink"
19681
 
 
19682
 
# Whether libtool must link a program against all its dependency libraries.
19683
 
link_all_deplibs=$link_all_deplibs_RC
19684
 
 
19685
 
# Compile-time system search path for libraries
19686
 
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19687
 
 
19688
 
# Run-time system search path for libraries
19689
 
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19690
 
 
19691
 
# Fix the shell variable \$srcfile for the compiler.
19692
 
fix_srcfile_path=$lt_fix_srcfile_path
19693
 
 
19694
 
# Set to yes if exported symbols are required.
19695
 
always_export_symbols=$always_export_symbols_RC
19696
 
 
19697
 
# The commands to list exported symbols.
19698
 
export_symbols_cmds=$lt_export_symbols_cmds_RC
19699
 
 
19700
 
# The commands to extract the exported symbol list from a shared archive.
19701
 
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19702
 
 
19703
 
# Symbols that should not be listed in the preloaded symbols.
19704
 
exclude_expsyms=$lt_exclude_expsyms_RC
19705
 
 
19706
 
# Symbols that must always be exported.
19707
 
include_expsyms=$lt_include_expsyms_RC
19708
 
 
19709
 
# ### END LIBTOOL TAG CONFIG: $tagname
19710
 
 
19711
 
__EOF__
19712
 
 
19713
 
 
19714
 
else
19715
 
  # If there is no Makefile yet, we rely on a make rule to execute
19716
 
  # `config.status --recheck' to rerun these tests and create the
19717
 
  # libtool script then.
19718
 
  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19719
 
  if test -f "$ltmain_in"; then
19720
 
    test -f Makefile && make "$ltmain"
19721
 
  fi
19722
 
fi
19723
 
 
19724
 
 
19725
 
ac_ext=c
19726
 
ac_cpp='$CPP $CPPFLAGS'
19727
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19728
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19729
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19730
 
 
19731
 
CC="$lt_save_CC"
19732
 
 
19733
 
        ;;
19734
 
 
19735
 
      *)
19736
 
        { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19737
 
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19738
 
   { (exit 1); exit 1; }; }
19739
 
        ;;
19740
 
      esac
19741
 
 
19742
 
      # Append the new tag name to the list of available tags.
19743
 
      if test -n "$tagname" ; then
19744
 
      available_tags="$available_tags $tagname"
19745
 
    fi
19746
 
    fi
19747
 
  done
19748
 
  IFS="$lt_save_ifs"
19749
 
 
19750
 
  # Now substitute the updated list of available tags.
19751
 
  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19752
 
    mv "${ofile}T" "$ofile"
19753
 
    chmod +x "$ofile"
19754
 
  else
19755
 
    rm -f "${ofile}T"
19756
 
    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19757
 
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19758
 
   { (exit 1); exit 1; }; }
19759
 
  fi
19760
 
fi
19761
 
 
19762
 
 
19763
 
 
19764
 
# This can be used to rebuild libtool when needed
19765
 
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19766
 
 
19767
 
# Always use our own libtool.
19768
 
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19769
 
 
19770
 
# Prevent multiple expansion
19771
 
 
19772
 
 
19773
 
 
19774
 
 
19775
 
 
19776
 
 
19777
 
 
19778
 
 
19779
 
 
19780
 
 
19781
 
 
19782
 
 
19783
 
 
19784
 
 
19785
 
 
19786
 
 
19787
 
 
19788
 
 
19789
 
 
 
11348
 
 
11349
 
 
11350
 
 
11351
 
 
11352
 
 
11353
 
 
11354
 
 
11355
 
 
11356
 
 
11357
 
 
11358
 
 
11359
 
 
11360
 
 
11361
 
 
11362
 
 
11363
striplib=
 
11364
old_striplib=
 
11365
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 
11366
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
11367
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
11368
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
11369
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
11370
  { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11371
$as_echo "yes" >&6; }
 
11372
else
 
11373
# FIXME - insert some real tests, host_os isn't really good enough
 
11374
  case $host_os in
 
11375
  darwin*)
 
11376
    if test -n "$STRIP" ; then
 
11377
      striplib="$STRIP -x"
 
11378
      old_striplib="$STRIP -S"
 
11379
      { $as_echo "$as_me:$LINENO: result: yes" >&5
 
11380
$as_echo "yes" >&6; }
 
11381
    else
 
11382
      { $as_echo "$as_me:$LINENO: result: no" >&5
 
11383
$as_echo "no" >&6; }
 
11384
    fi
 
11385
    ;;
 
11386
  *)
 
11387
    { $as_echo "$as_me:$LINENO: result: no" >&5
 
11388
$as_echo "no" >&6; }
 
11389
    ;;
 
11390
  esac
 
11391
fi
 
11392
 
 
11393
 
 
11394
 
 
11395
 
 
11396
 
 
11397
 
 
11398
 
 
11399
 
 
11400
 
 
11401
 
 
11402
 
 
11403
 
 
11404
  # Report which library types will actually be built
 
11405
  { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 
11406
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
11407
  { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 
11408
$as_echo "$can_build_shared" >&6; }
 
11409
 
 
11410
  { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 
11411
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
11412
  test "$can_build_shared" = "no" && enable_shared=no
 
11413
 
 
11414
  # On AIX, shared libraries and static libraries use the same namespace, and
 
11415
  # are all built from PIC.
 
11416
  case $host_os in
 
11417
  aix3*)
 
11418
    test "$enable_shared" = yes && enable_static=no
 
11419
    if test -n "$RANLIB"; then
 
11420
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
11421
      postinstall_cmds='$RANLIB $lib'
 
11422
    fi
 
11423
    ;;
 
11424
 
 
11425
  aix[4-9]*)
 
11426
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
11427
      test "$enable_shared" = yes && enable_static=no
 
11428
    fi
 
11429
    ;;
 
11430
  esac
 
11431
  { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 
11432
$as_echo "$enable_shared" >&6; }
 
11433
 
 
11434
  { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 
11435
$as_echo_n "checking whether to build static libraries... " >&6; }
 
11436
  # Make sure either enable_shared or enable_static is yes.
 
11437
  test "$enable_shared" = yes || enable_static=yes
 
11438
  { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 
11439
$as_echo "$enable_static" >&6; }
 
11440
 
 
11441
 
 
11442
 
 
11443
 
 
11444
fi
 
11445
ac_ext=c
 
11446
ac_cpp='$CPP $CPPFLAGS'
 
11447
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
11448
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
11449
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
11450
 
 
11451
CC="$lt_save_CC"
 
11452
 
 
11453
 
 
11454
 
 
11455
 
 
11456
 
 
11457
 
 
11458
 
 
11459
 
 
11460
 
 
11461
 
 
11462
 
 
11463
 
 
11464
 
 
11465
        ac_config_commands="$ac_config_commands libtool"
 
11466
 
 
11467
 
 
11468
 
 
11469
 
 
11470
# Only expand once:
 
11471
 
 
11472
 
 
11473
 
 
11474
# Whether linker support --version-script option
 
11475
echo '{global:hello; local:*;};' > conftest.ver
 
11476
{ $as_echo "$as_me:$LINENO: checking whether linker supports -version-script" >&5
 
11477
$as_echo_n "checking whether linker supports -version-script... " >&6; }
 
11478
if test "${datrie_cv_have_version_script+set}" = set; then
 
11479
  $as_echo_n "(cached) " >&6
 
11480
else
 
11481
  datrie_cv_have_version_script=no
 
11482
   save_LDFLAGS="$LDFLAGS"
 
11483
   LDFLAGS="$LDFLAGS -Wl,-version-script -Wl,conftest.ver"
 
11484
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
11485
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
11486
     # The linker can only warn and ignore the option if not recognized
 
11487
     # So say no if there are warnings
 
11488
     if test -s conftest.err; then
 
11489
       # Append any errors to the config.log.
 
11490
       cat conftest.err 1>&5
 
11491
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
11492
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
11493
       if diff conftest.exp conftest.er2 >/dev/null; then
 
11494
         datrie_cv_have_version_script=yes
 
11495
       fi
 
11496
     else
 
11497
       datrie_cv_have_version_script=yes
 
11498
     fi
 
11499
   fi
 
11500
   $RM -r conftest*
 
11501
   LDFLAGS="$save_LDFLAGS"
 
11502
 
 
11503
fi
 
11504
{ $as_echo "$as_me:$LINENO: result: $datrie_cv_have_version_script" >&5
 
11505
$as_echo "$datrie_cv_have_version_script" >&6; }
 
11506
 
 
11507
if test x"$datrie_cv_have_version_script" = xyes; then
 
11508
    :
 
11509
else
 
11510
    :
 
11511
fi
 
11512
 
 
11513
 
 
11514
 if test "$datrie_cv_have_version_script" = "yes"; then
 
11515
  LD_HAS_VERSION_SCRIPT_TRUE=
 
11516
  LD_HAS_VERSION_SCRIPT_FALSE='#'
 
11517
else
 
11518
  LD_HAS_VERSION_SCRIPT_TRUE='#'
 
11519
  LD_HAS_VERSION_SCRIPT_FALSE=
 
11520
fi
19790
11521
 
19791
11522
 
19792
11523
# Checks for libraries.
19793
11524
 
 
11525
#
 
11526
# Checks for iconv
 
11527
#
 
11528
found_iconv=no
 
11529
# Check in the C library first
 
11530
{ $as_echo "$as_me:$LINENO: checking for iconv_open" >&5
 
11531
$as_echo_n "checking for iconv_open... " >&6; }
 
11532
if test "${ac_cv_func_iconv_open+set}" = set; then
 
11533
  $as_echo_n "(cached) " >&6
 
11534
else
 
11535
  cat >conftest.$ac_ext <<_ACEOF
 
11536
/* confdefs.h.  */
 
11537
_ACEOF
 
11538
cat confdefs.h >>conftest.$ac_ext
 
11539
cat >>conftest.$ac_ext <<_ACEOF
 
11540
/* end confdefs.h.  */
 
11541
/* Define iconv_open to an innocuous variant, in case <limits.h> declares iconv_open.
 
11542
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
11543
#define iconv_open innocuous_iconv_open
 
11544
 
 
11545
/* System header to define __stub macros and hopefully few prototypes,
 
11546
    which can conflict with char iconv_open (); below.
 
11547
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
11548
    <limits.h> exists even on freestanding compilers.  */
 
11549
 
 
11550
#ifdef __STDC__
 
11551
# include <limits.h>
 
11552
#else
 
11553
# include <assert.h>
 
11554
#endif
 
11555
 
 
11556
#undef iconv_open
 
11557
 
 
11558
/* Override any GCC internal prototype to avoid an error.
 
11559
   Use char because int might match the return type of a GCC
 
11560
   builtin and then its argument prototype would still apply.  */
 
11561
#ifdef __cplusplus
 
11562
extern "C"
 
11563
#endif
 
11564
char iconv_open ();
 
11565
/* The GNU C library defines this for functions which it implements
 
11566
    to always fail with ENOSYS.  Some functions are actually named
 
11567
    something starting with __ and the normal name is an alias.  */
 
11568
#if defined __stub_iconv_open || defined __stub___iconv_open
 
11569
choke me
 
11570
#endif
 
11571
 
 
11572
int
 
11573
main ()
 
11574
{
 
11575
return iconv_open ();
 
11576
  ;
 
11577
  return 0;
 
11578
}
 
11579
_ACEOF
 
11580
rm -f conftest.$ac_objext conftest$ac_exeext
 
11581
if { (ac_try="$ac_link"
 
11582
case "(($ac_try" in
 
11583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11584
  *) ac_try_echo=$ac_try;;
 
11585
esac
 
11586
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11587
$as_echo "$ac_try_echo") >&5
 
11588
  (eval "$ac_link") 2>conftest.er1
 
11589
  ac_status=$?
 
11590
  grep -v '^ *+' conftest.er1 >conftest.err
 
11591
  rm -f conftest.er1
 
11592
  cat conftest.err >&5
 
11593
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11594
  (exit $ac_status); } && {
 
11595
         test -z "$ac_c_werror_flag" ||
 
11596
         test ! -s conftest.err
 
11597
       } && test -s conftest$ac_exeext && {
 
11598
         test "$cross_compiling" = yes ||
 
11599
         $as_test_x conftest$ac_exeext
 
11600
       }; then
 
11601
  ac_cv_func_iconv_open=yes
 
11602
else
 
11603
  $as_echo "$as_me: failed program was:" >&5
 
11604
sed 's/^/| /' conftest.$ac_ext >&5
 
11605
 
 
11606
        ac_cv_func_iconv_open=no
 
11607
fi
 
11608
 
 
11609
rm -rf conftest.dSYM
 
11610
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11611
      conftest$ac_exeext conftest.$ac_ext
 
11612
fi
 
11613
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_iconv_open" >&5
 
11614
$as_echo "$ac_cv_func_iconv_open" >&6; }
 
11615
if test "x$ac_cv_func_iconv_open" = x""yes; then
 
11616
  with_libiconv=no; found_iconv=yes
 
11617
fi
 
11618
 
 
11619
# Check if we have GNU libiconv
 
11620
if test $found_iconv = "no"; then
 
11621
  { $as_echo "$as_me:$LINENO: checking for libiconv_open in -liconv" >&5
 
11622
$as_echo_n "checking for libiconv_open in -liconv... " >&6; }
 
11623
if test "${ac_cv_lib_iconv_libiconv_open+set}" = set; then
 
11624
  $as_echo_n "(cached) " >&6
 
11625
else
 
11626
  ac_check_lib_save_LIBS=$LIBS
 
11627
LIBS="-liconv  $LIBS"
 
11628
cat >conftest.$ac_ext <<_ACEOF
 
11629
/* confdefs.h.  */
 
11630
_ACEOF
 
11631
cat confdefs.h >>conftest.$ac_ext
 
11632
cat >>conftest.$ac_ext <<_ACEOF
 
11633
/* end confdefs.h.  */
 
11634
 
 
11635
/* Override any GCC internal prototype to avoid an error.
 
11636
   Use char because int might match the return type of a GCC
 
11637
   builtin and then its argument prototype would still apply.  */
 
11638
#ifdef __cplusplus
 
11639
extern "C"
 
11640
#endif
 
11641
char libiconv_open ();
 
11642
int
 
11643
main ()
 
11644
{
 
11645
return libiconv_open ();
 
11646
  ;
 
11647
  return 0;
 
11648
}
 
11649
_ACEOF
 
11650
rm -f conftest.$ac_objext conftest$ac_exeext
 
11651
if { (ac_try="$ac_link"
 
11652
case "(($ac_try" in
 
11653
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11654
  *) ac_try_echo=$ac_try;;
 
11655
esac
 
11656
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11657
$as_echo "$ac_try_echo") >&5
 
11658
  (eval "$ac_link") 2>conftest.er1
 
11659
  ac_status=$?
 
11660
  grep -v '^ *+' conftest.er1 >conftest.err
 
11661
  rm -f conftest.er1
 
11662
  cat conftest.err >&5
 
11663
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11664
  (exit $ac_status); } && {
 
11665
         test -z "$ac_c_werror_flag" ||
 
11666
         test ! -s conftest.err
 
11667
       } && test -s conftest$ac_exeext && {
 
11668
         test "$cross_compiling" = yes ||
 
11669
         $as_test_x conftest$ac_exeext
 
11670
       }; then
 
11671
  ac_cv_lib_iconv_libiconv_open=yes
 
11672
else
 
11673
  $as_echo "$as_me: failed program was:" >&5
 
11674
sed 's/^/| /' conftest.$ac_ext >&5
 
11675
 
 
11676
        ac_cv_lib_iconv_libiconv_open=no
 
11677
fi
 
11678
 
 
11679
rm -rf conftest.dSYM
 
11680
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11681
      conftest$ac_exeext conftest.$ac_ext
 
11682
LIBS=$ac_check_lib_save_LIBS
 
11683
fi
 
11684
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_libiconv_open" >&5
 
11685
$as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; }
 
11686
if test "x$ac_cv_lib_iconv_libiconv_open" = x""yes; then
 
11687
  with_libiconv=gnu; found_iconv=yes
 
11688
fi
 
11689
 
 
11690
fi
 
11691
# Check if we have a iconv in -liconv, possibly from vendor
 
11692
if test $found_iconv = "no"; then
 
11693
  { $as_echo "$as_me:$LINENO: checking for iconv_open in -liconv" >&5
 
11694
$as_echo_n "checking for iconv_open in -liconv... " >&6; }
 
11695
if test "${ac_cv_lib_iconv_iconv_open+set}" = set; then
 
11696
  $as_echo_n "(cached) " >&6
 
11697
else
 
11698
  ac_check_lib_save_LIBS=$LIBS
 
11699
LIBS="-liconv  $LIBS"
 
11700
cat >conftest.$ac_ext <<_ACEOF
 
11701
/* confdefs.h.  */
 
11702
_ACEOF
 
11703
cat confdefs.h >>conftest.$ac_ext
 
11704
cat >>conftest.$ac_ext <<_ACEOF
 
11705
/* end confdefs.h.  */
 
11706
 
 
11707
/* Override any GCC internal prototype to avoid an error.
 
11708
   Use char because int might match the return type of a GCC
 
11709
   builtin and then its argument prototype would still apply.  */
 
11710
#ifdef __cplusplus
 
11711
extern "C"
 
11712
#endif
 
11713
char iconv_open ();
 
11714
int
 
11715
main ()
 
11716
{
 
11717
return iconv_open ();
 
11718
  ;
 
11719
  return 0;
 
11720
}
 
11721
_ACEOF
 
11722
rm -f conftest.$ac_objext conftest$ac_exeext
 
11723
if { (ac_try="$ac_link"
 
11724
case "(($ac_try" in
 
11725
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11726
  *) ac_try_echo=$ac_try;;
 
11727
esac
 
11728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11729
$as_echo "$ac_try_echo") >&5
 
11730
  (eval "$ac_link") 2>conftest.er1
 
11731
  ac_status=$?
 
11732
  grep -v '^ *+' conftest.er1 >conftest.err
 
11733
  rm -f conftest.er1
 
11734
  cat conftest.err >&5
 
11735
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11736
  (exit $ac_status); } && {
 
11737
         test -z "$ac_c_werror_flag" ||
 
11738
         test ! -s conftest.err
 
11739
       } && test -s conftest$ac_exeext && {
 
11740
         test "$cross_compiling" = yes ||
 
11741
         $as_test_x conftest$ac_exeext
 
11742
       }; then
 
11743
  ac_cv_lib_iconv_iconv_open=yes
 
11744
else
 
11745
  $as_echo "$as_me: failed program was:" >&5
 
11746
sed 's/^/| /' conftest.$ac_ext >&5
 
11747
 
 
11748
        ac_cv_lib_iconv_iconv_open=no
 
11749
fi
 
11750
 
 
11751
rm -rf conftest.dSYM
 
11752
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11753
      conftest$ac_exeext conftest.$ac_ext
 
11754
LIBS=$ac_check_lib_save_LIBS
 
11755
fi
 
11756
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv_open" >&5
 
11757
$as_echo "$ac_cv_lib_iconv_iconv_open" >&6; }
 
11758
if test "x$ac_cv_lib_iconv_iconv_open" = x""yes; then
 
11759
  with_libiconv=native; found_iconv=yes
 
11760
fi
 
11761
 
 
11762
fi
 
11763
if test $found_iconv = "no"; then
 
11764
  { { $as_echo "$as_me:$LINENO: error: *** No usable iconv() implementation found" >&5
 
11765
$as_echo "$as_me: error: *** No usable iconv() implementation found" >&2;}
 
11766
   { (exit 1); exit 1; }; }
 
11767
fi
 
11768
 
 
11769
case $with_libiconv in
 
11770
  gnu|native)
 
11771
    ICONV_LIBS="-liconv"
 
11772
    ;;
 
11773
esac
 
11774
 
 
11775
 
 
11776
#
 
11777
# Checks for locale_charset() and nl_langinfo(CODESET)
 
11778
#
 
11779
{ $as_echo "$as_me:$LINENO: checking for locale_charset in -liconv" >&5
 
11780
$as_echo_n "checking for locale_charset in -liconv... " >&6; }
 
11781
if test "${ac_cv_lib_iconv_locale_charset+set}" = set; then
 
11782
  $as_echo_n "(cached) " >&6
 
11783
else
 
11784
  ac_check_lib_save_LIBS=$LIBS
 
11785
LIBS="-liconv  $LIBS"
 
11786
cat >conftest.$ac_ext <<_ACEOF
 
11787
/* confdefs.h.  */
 
11788
_ACEOF
 
11789
cat confdefs.h >>conftest.$ac_ext
 
11790
cat >>conftest.$ac_ext <<_ACEOF
 
11791
/* end confdefs.h.  */
 
11792
 
 
11793
/* Override any GCC internal prototype to avoid an error.
 
11794
   Use char because int might match the return type of a GCC
 
11795
   builtin and then its argument prototype would still apply.  */
 
11796
#ifdef __cplusplus
 
11797
extern "C"
 
11798
#endif
 
11799
char locale_charset ();
 
11800
int
 
11801
main ()
 
11802
{
 
11803
return locale_charset ();
 
11804
  ;
 
11805
  return 0;
 
11806
}
 
11807
_ACEOF
 
11808
rm -f conftest.$ac_objext conftest$ac_exeext
 
11809
if { (ac_try="$ac_link"
 
11810
case "(($ac_try" in
 
11811
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11812
  *) ac_try_echo=$ac_try;;
 
11813
esac
 
11814
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11815
$as_echo "$ac_try_echo") >&5
 
11816
  (eval "$ac_link") 2>conftest.er1
 
11817
  ac_status=$?
 
11818
  grep -v '^ *+' conftest.er1 >conftest.err
 
11819
  rm -f conftest.er1
 
11820
  cat conftest.err >&5
 
11821
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11822
  (exit $ac_status); } && {
 
11823
         test -z "$ac_c_werror_flag" ||
 
11824
         test ! -s conftest.err
 
11825
       } && test -s conftest$ac_exeext && {
 
11826
         test "$cross_compiling" = yes ||
 
11827
         $as_test_x conftest$ac_exeext
 
11828
       }; then
 
11829
  ac_cv_lib_iconv_locale_charset=yes
 
11830
else
 
11831
  $as_echo "$as_me: failed program was:" >&5
 
11832
sed 's/^/| /' conftest.$ac_ext >&5
 
11833
 
 
11834
        ac_cv_lib_iconv_locale_charset=no
 
11835
fi
 
11836
 
 
11837
rm -rf conftest.dSYM
 
11838
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
11839
      conftest$ac_exeext conftest.$ac_ext
 
11840
LIBS=$ac_check_lib_save_LIBS
 
11841
fi
 
11842
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_locale_charset" >&5
 
11843
$as_echo "$ac_cv_lib_iconv_locale_charset" >&6; }
 
11844
if test "x$ac_cv_lib_iconv_locale_charset" = x""yes; then
 
11845
  have_locale_charset=yes
 
11846
else
 
11847
  have_locale_charset=no
 
11848
fi
 
11849
 
 
11850
if test x$have_locale_charset = xyes; then
 
11851
 
 
11852
cat >>confdefs.h <<\_ACEOF
 
11853
#define HAVE_LOCALE_CHARSET 1
 
11854
_ACEOF
 
11855
 
 
11856
fi
 
11857
{ $as_echo "$as_me:$LINENO: checking for nl_langinfo (CODESET)" >&5
 
11858
$as_echo_n "checking for nl_langinfo (CODESET)... " >&6; }
 
11859
if test "${datrie_cv_langinfo_codeset+set}" = set; then
 
11860
  $as_echo_n "(cached) " >&6
 
11861
else
 
11862
  cat >conftest.$ac_ext <<_ACEOF
 
11863
/* confdefs.h.  */
 
11864
_ACEOF
 
11865
cat confdefs.h >>conftest.$ac_ext
 
11866
cat >>conftest.$ac_ext <<_ACEOF
 
11867
/* end confdefs.h.  */
 
11868
#include <langinfo.h>
 
11869
int
 
11870
main ()
 
11871
{
 
11872
char *codeset = nl_langinfo (CODESET);
 
11873
  ;
 
11874
  return 0;
 
11875
}
 
11876
_ACEOF
 
11877
rm -f conftest.$ac_objext
 
11878
if { (ac_try="$ac_compile"
 
11879
case "(($ac_try" in
 
11880
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
11881
  *) ac_try_echo=$ac_try;;
 
11882
esac
 
11883
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11884
$as_echo "$ac_try_echo") >&5
 
11885
  (eval "$ac_compile") 2>conftest.er1
 
11886
  ac_status=$?
 
11887
  grep -v '^ *+' conftest.er1 >conftest.err
 
11888
  rm -f conftest.er1
 
11889
  cat conftest.err >&5
 
11890
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11891
  (exit $ac_status); } && {
 
11892
         test -z "$ac_c_werror_flag" ||
 
11893
         test ! -s conftest.err
 
11894
       } && test -s conftest.$ac_objext; then
 
11895
  datrie_cv_langinfo_codeset=yes
 
11896
else
 
11897
  $as_echo "$as_me: failed program was:" >&5
 
11898
sed 's/^/| /' conftest.$ac_ext >&5
 
11899
 
 
11900
        datrie_cv_langinfo_codeset=no
 
11901
fi
 
11902
 
 
11903
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
11904
 
 
11905
fi
 
11906
{ $as_echo "$as_me:$LINENO: result: $datrie_cv_langinfo_codeset" >&5
 
11907
$as_echo "$datrie_cv_langinfo_codeset" >&6; }
 
11908
if test x$datrie_cv_langinfo_codeset = xyes; then
 
11909
 
 
11910
cat >>confdefs.h <<\_ACEOF
 
11911
#define HAVE_LANGINFO_CODESET 1
 
11912
_ACEOF
 
11913
 
 
11914
fi
 
11915
if test x$have_locale_charset = xno && test x$datrie_cv_langinfo_codeset = xno
 
11916
then
 
11917
  { { $as_echo "$as_me:$LINENO: error: *** No locale_charset() nor nl_langinfo(CODESET) found.
 
11918
Please consider installing GNU libiconv." >&5
 
11919
$as_echo "$as_me: error: *** No locale_charset() nor nl_langinfo(CODESET) found.
 
11920
Please consider installing GNU libiconv." >&2;}
 
11921
   { (exit 1); exit 1; }; }
 
11922
fi
 
11923
 
 
11924
 
19794
11925
# Checks for header files.
19795
 
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19796
 
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
 
11926
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 
11927
$as_echo_n "checking for ANSI C header files... " >&6; }
19797
11928
if test "${ac_cv_header_stdc+set}" = set; then
19798
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
11929
  $as_echo_n "(cached) " >&6
19799
11930
else
19800
11931
  cat >conftest.$ac_ext <<_ACEOF
19801
11932
/* confdefs.h.  */
19822
11953
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19823
11954
  *) ac_try_echo=$ac_try;;
19824
11955
esac
19825
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
11956
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
11957
$as_echo "$ac_try_echo") >&5
19826
11958
  (eval "$ac_compile") 2>conftest.er1
19827
11959
  ac_status=$?
19828
11960
  grep -v '^ *+' conftest.er1 >conftest.err
19829
11961
  rm -f conftest.er1
19830
11962
  cat conftest.err >&5
19831
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
11963
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832
11964
  (exit $ac_status); } && {
19833
11965
         test -z "$ac_c_werror_flag" ||
19834
11966
         test ! -s conftest.err
19835
11967
       } && test -s conftest.$ac_objext; then
19836
11968
  ac_cv_header_stdc=yes
19837
11969
else
19838
 
  echo "$as_me: failed program was:" >&5
 
11970
  $as_echo "$as_me: failed program was:" >&5
19839
11971
sed 's/^/| /' conftest.$ac_ext >&5
19840
11972
 
19841
11973
        ac_cv_header_stdc=no
19927
12059
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19928
12060
  *) ac_try_echo=$ac_try;;
19929
12061
esac
19930
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12062
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12063
$as_echo "$ac_try_echo") >&5
19931
12064
  (eval "$ac_link") 2>&5
19932
12065
  ac_status=$?
19933
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12066
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934
12067
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19935
12068
  { (case "(($ac_try" in
19936
12069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937
12070
  *) ac_try_echo=$ac_try;;
19938
12071
esac
19939
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12072
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12073
$as_echo "$ac_try_echo") >&5
19940
12074
  (eval "$ac_try") 2>&5
19941
12075
  ac_status=$?
19942
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12076
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943
12077
  (exit $ac_status); }; }; then
19944
12078
  :
19945
12079
else
19946
 
  echo "$as_me: program exited with status $ac_status" >&5
19947
 
echo "$as_me: failed program was:" >&5
 
12080
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
12081
$as_echo "$as_me: failed program was:" >&5
19948
12082
sed 's/^/| /' conftest.$ac_ext >&5
19949
12083
 
19950
12084
( exit $ac_status )
19951
12085
ac_cv_header_stdc=no
19952
12086
fi
 
12087
rm -rf conftest.dSYM
19953
12088
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19954
12089
fi
19955
12090
 
19956
12091
 
19957
12092
fi
19958
12093
fi
19959
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19960
 
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
 
12094
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 
12095
$as_echo "$ac_cv_header_stdc" >&6; }
19961
12096
if test $ac_cv_header_stdc = yes; then
19962
12097
 
19963
12098
cat >>confdefs.h <<\_ACEOF
19972
12107
 
19973
12108
for ac_header in limits.h stdlib.h stdio.h string.h
19974
12109
do
19975
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19976
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19977
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
19978
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19979
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19980
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12110
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12111
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
12112
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
12113
$as_echo_n "checking for $ac_header... " >&6; }
 
12114
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
12115
  $as_echo_n "(cached) " >&6
19981
12116
fi
19982
 
ac_res=`eval echo '${'$as_ac_Header'}'`
19983
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
19984
 
echo "${ECHO_T}$ac_res" >&6; }
 
12117
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
12118
                 $as_echo "$as_val"'`
 
12119
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12120
$as_echo "$ac_res" >&6; }
19985
12121
else
19986
12122
  # Is the header compilable?
19987
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
19988
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
12123
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
12124
$as_echo_n "checking $ac_header usability... " >&6; }
19989
12125
cat >conftest.$ac_ext <<_ACEOF
19990
12126
/* confdefs.h.  */
19991
12127
_ACEOF
20001
12137
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20002
12138
  *) ac_try_echo=$ac_try;;
20003
12139
esac
20004
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12140
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12141
$as_echo "$ac_try_echo") >&5
20005
12142
  (eval "$ac_compile") 2>conftest.er1
20006
12143
  ac_status=$?
20007
12144
  grep -v '^ *+' conftest.er1 >conftest.err
20008
12145
  rm -f conftest.er1
20009
12146
  cat conftest.err >&5
20010
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12147
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20011
12148
  (exit $ac_status); } && {
20012
12149
         test -z "$ac_c_werror_flag" ||
20013
12150
         test ! -s conftest.err
20014
12151
       } && test -s conftest.$ac_objext; then
20015
12152
  ac_header_compiler=yes
20016
12153
else
20017
 
  echo "$as_me: failed program was:" >&5
 
12154
  $as_echo "$as_me: failed program was:" >&5
20018
12155
sed 's/^/| /' conftest.$ac_ext >&5
20019
12156
 
20020
12157
        ac_header_compiler=no
20021
12158
fi
20022
12159
 
20023
12160
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20024
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20025
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
12161
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
12162
$as_echo "$ac_header_compiler" >&6; }
20026
12163
 
20027
12164
# Is the header present?
20028
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20029
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
12165
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
12166
$as_echo_n "checking $ac_header presence... " >&6; }
20030
12167
cat >conftest.$ac_ext <<_ACEOF
20031
12168
/* confdefs.h.  */
20032
12169
_ACEOF
20040
12177
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20041
12178
  *) ac_try_echo=$ac_try;;
20042
12179
esac
20043
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12180
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12181
$as_echo "$ac_try_echo") >&5
20044
12182
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20045
12183
  ac_status=$?
20046
12184
  grep -v '^ *+' conftest.er1 >conftest.err
20047
12185
  rm -f conftest.er1
20048
12186
  cat conftest.err >&5
20049
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12187
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050
12188
  (exit $ac_status); } >/dev/null && {
20051
12189
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20052
12190
         test ! -s conftest.err
20053
12191
       }; then
20054
12192
  ac_header_preproc=yes
20055
12193
else
20056
 
  echo "$as_me: failed program was:" >&5
 
12194
  $as_echo "$as_me: failed program was:" >&5
20057
12195
sed 's/^/| /' conftest.$ac_ext >&5
20058
12196
 
20059
12197
  ac_header_preproc=no
20060
12198
fi
20061
12199
 
20062
12200
rm -f conftest.err conftest.$ac_ext
20063
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20064
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
12201
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
12202
$as_echo "$ac_header_preproc" >&6; }
20065
12203
 
20066
12204
# So?  What about this header?
20067
12205
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20068
12206
  yes:no: )
20069
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20070
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20071
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20072
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
12207
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
12208
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
12209
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
12210
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20073
12211
    ac_header_preproc=yes
20074
12212
    ;;
20075
12213
  no:yes:* )
20076
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20077
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20078
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20079
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20080
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20081
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20082
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20083
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20084
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20085
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20086
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20087
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
12214
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
12215
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
12216
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
12217
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
12218
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
12219
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
12220
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
12221
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
12222
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
12223
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
12224
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
12225
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20088
12226
    ( cat <<\_ASBOX
20089
12227
## ---------------------------------- ##
20090
12228
## Report this to thep@linux.thai.net ##
20093
12231
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20094
12232
    ;;
20095
12233
esac
20096
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20097
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
12234
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
12235
$as_echo_n "checking for $ac_header... " >&6; }
20098
12236
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20099
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12237
  $as_echo_n "(cached) " >&6
20100
12238
else
20101
12239
  eval "$as_ac_Header=\$ac_header_preproc"
20102
12240
fi
20103
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20104
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20105
 
echo "${ECHO_T}$ac_res" >&6; }
 
12241
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
12242
                 $as_echo "$as_val"'`
 
12243
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12244
$as_echo "$ac_res" >&6; }
20106
12245
 
20107
12246
fi
20108
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
12247
as_val=`eval 'as_val=${'$as_ac_Header'}
 
12248
                 $as_echo "$as_val"'`
 
12249
   if test "x$as_val" = x""yes; then
20109
12250
  cat >>confdefs.h <<_ACEOF
20110
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
12251
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20111
12252
_ACEOF
20112
12253
 
20113
12254
fi
20116
12257
 
20117
12258
 
20118
12259
# Checks for typedefs, structures, and compiler characteristics.
20119
 
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20120
 
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
 
12260
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 
12261
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20121
12262
if test "${ac_cv_c_const+set}" = set; then
20122
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12263
  $as_echo_n "(cached) " >&6
20123
12264
else
20124
12265
  cat >conftest.$ac_ext <<_ACEOF
20125
12266
/* confdefs.h.  */
20191
12332
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20192
12333
  *) ac_try_echo=$ac_try;;
20193
12334
esac
20194
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12335
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12336
$as_echo "$ac_try_echo") >&5
20195
12337
  (eval "$ac_compile") 2>conftest.er1
20196
12338
  ac_status=$?
20197
12339
  grep -v '^ *+' conftest.er1 >conftest.err
20198
12340
  rm -f conftest.er1
20199
12341
  cat conftest.err >&5
20200
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12342
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201
12343
  (exit $ac_status); } && {
20202
12344
         test -z "$ac_c_werror_flag" ||
20203
12345
         test ! -s conftest.err
20204
12346
       } && test -s conftest.$ac_objext; then
20205
12347
  ac_cv_c_const=yes
20206
12348
else
20207
 
  echo "$as_me: failed program was:" >&5
 
12349
  $as_echo "$as_me: failed program was:" >&5
20208
12350
sed 's/^/| /' conftest.$ac_ext >&5
20209
12351
 
20210
12352
        ac_cv_c_const=no
20212
12354
 
20213
12355
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20214
12356
fi
20215
 
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20216
 
echo "${ECHO_T}$ac_cv_c_const" >&6; }
 
12357
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 
12358
$as_echo "$ac_cv_c_const" >&6; }
20217
12359
if test $ac_cv_c_const = no; then
20218
12360
 
20219
12361
cat >>confdefs.h <<\_ACEOF
20220
 
#define const
 
12362
#define const /**/
20221
12363
_ACEOF
20222
12364
 
20223
12365
fi
20224
12366
 
20225
 
{ echo "$as_me:$LINENO: checking for size_t" >&5
20226
 
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
 
12367
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
 
12368
$as_echo_n "checking for size_t... " >&6; }
20227
12369
if test "${ac_cv_type_size_t+set}" = set; then
20228
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12370
  $as_echo_n "(cached) " >&6
20229
12371
else
 
12372
  ac_cv_type_size_t=no
 
12373
cat >conftest.$ac_ext <<_ACEOF
 
12374
/* confdefs.h.  */
 
12375
_ACEOF
 
12376
cat confdefs.h >>conftest.$ac_ext
 
12377
cat >>conftest.$ac_ext <<_ACEOF
 
12378
/* end confdefs.h.  */
 
12379
$ac_includes_default
 
12380
int
 
12381
main ()
 
12382
{
 
12383
if (sizeof (size_t))
 
12384
       return 0;
 
12385
  ;
 
12386
  return 0;
 
12387
}
 
12388
_ACEOF
 
12389
rm -f conftest.$ac_objext
 
12390
if { (ac_try="$ac_compile"
 
12391
case "(($ac_try" in
 
12392
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
12393
  *) ac_try_echo=$ac_try;;
 
12394
esac
 
12395
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12396
$as_echo "$ac_try_echo") >&5
 
12397
  (eval "$ac_compile") 2>conftest.er1
 
12398
  ac_status=$?
 
12399
  grep -v '^ *+' conftest.er1 >conftest.err
 
12400
  rm -f conftest.er1
 
12401
  cat conftest.err >&5
 
12402
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12403
  (exit $ac_status); } && {
 
12404
         test -z "$ac_c_werror_flag" ||
 
12405
         test ! -s conftest.err
 
12406
       } && test -s conftest.$ac_objext; then
20230
12407
  cat >conftest.$ac_ext <<_ACEOF
20231
12408
/* confdefs.h.  */
20232
12409
_ACEOF
20234
12411
cat >>conftest.$ac_ext <<_ACEOF
20235
12412
/* end confdefs.h.  */
20236
12413
$ac_includes_default
20237
 
typedef size_t ac__type_new_;
20238
12414
int
20239
12415
main ()
20240
12416
{
20241
 
if ((ac__type_new_ *) 0)
20242
 
  return 0;
20243
 
if (sizeof (ac__type_new_))
20244
 
  return 0;
 
12417
if (sizeof ((size_t)))
 
12418
          return 0;
20245
12419
  ;
20246
12420
  return 0;
20247
12421
}
20252
12426
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20253
12427
  *) ac_try_echo=$ac_try;;
20254
12428
esac
20255
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12429
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12430
$as_echo "$ac_try_echo") >&5
20256
12431
  (eval "$ac_compile") 2>conftest.er1
20257
12432
  ac_status=$?
20258
12433
  grep -v '^ *+' conftest.er1 >conftest.err
20259
12434
  rm -f conftest.er1
20260
12435
  cat conftest.err >&5
20261
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12436
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262
12437
  (exit $ac_status); } && {
20263
12438
         test -z "$ac_c_werror_flag" ||
20264
12439
         test ! -s conftest.err
20265
12440
       } && test -s conftest.$ac_objext; then
20266
 
  ac_cv_type_size_t=yes
20267
 
else
20268
 
  echo "$as_me: failed program was:" >&5
20269
 
sed 's/^/| /' conftest.$ac_ext >&5
20270
 
 
20271
 
        ac_cv_type_size_t=no
20272
 
fi
20273
 
 
20274
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20275
 
fi
20276
 
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20277
 
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20278
 
if test $ac_cv_type_size_t = yes; then
 
12441
  :
 
12442
else
 
12443
  $as_echo "$as_me: failed program was:" >&5
 
12444
sed 's/^/| /' conftest.$ac_ext >&5
 
12445
 
 
12446
        ac_cv_type_size_t=yes
 
12447
fi
 
12448
 
 
12449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12450
else
 
12451
  $as_echo "$as_me: failed program was:" >&5
 
12452
sed 's/^/| /' conftest.$ac_ext >&5
 
12453
 
 
12454
 
 
12455
fi
 
12456
 
 
12457
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12458
fi
 
12459
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 
12460
$as_echo "$ac_cv_type_size_t" >&6; }
 
12461
if test "x$ac_cv_type_size_t" = x""yes; then
20279
12462
  :
20280
12463
else
20281
12464
 
20297
12480
if test "x$enable_doxygen_doc" = "xyes"; then
20298
12481
  # Extract the first word of "doxygen", so it can be a program name with args.
20299
12482
set dummy doxygen; ac_word=$2
20300
 
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20301
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
12483
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 
12484
$as_echo_n "checking for $ac_word... " >&6; }
20302
12485
if test "${ac_cv_prog_DOXYGEN+set}" = set; then
20303
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12486
  $as_echo_n "(cached) " >&6
20304
12487
else
20305
12488
  if test -n "$DOXYGEN"; then
20306
12489
  ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
20313
12496
  for ac_exec_ext in '' $ac_executable_extensions; do
20314
12497
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20315
12498
    ac_cv_prog_DOXYGEN="doxygen"
20316
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12499
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20317
12500
    break 2
20318
12501
  fi
20319
12502
done
20325
12508
fi
20326
12509
DOXYGEN=$ac_cv_prog_DOXYGEN
20327
12510
if test -n "$DOXYGEN"; then
20328
 
  { echo "$as_me:$LINENO: result: $DOXYGEN" >&5
20329
 
echo "${ECHO_T}$DOXYGEN" >&6; }
 
12511
  { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
 
12512
$as_echo "$DOXYGEN" >&6; }
20330
12513
else
20331
 
  { echo "$as_me:$LINENO: result: no" >&5
20332
 
echo "${ECHO_T}no" >&6; }
 
12514
  { $as_echo "$as_me:$LINENO: result: no" >&5
 
12515
$as_echo "no" >&6; }
20333
12516
fi
20334
12517
 
20335
12518
 
20348
12531
 
20349
12532
 
20350
12533
 
20351
 
 
20352
 
 
20353
 
if test "x$enable_doxygen_doc" = "xyes"; then
 
12534
 if test "x$enable_doxygen_doc" = "xyes"; then
20354
12535
  ENABLE_DOXYGEN_DOC_TRUE=
20355
12536
  ENABLE_DOXYGEN_DOC_FALSE='#'
20356
12537
else
20363
12544
 
20364
12545
for ac_header in stdlib.h
20365
12546
do
20366
 
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20367
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20368
 
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
20369
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20370
 
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20371
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12547
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
12548
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
12549
  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
12550
$as_echo_n "checking for $ac_header... " >&6; }
 
12551
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
12552
  $as_echo_n "(cached) " >&6
20372
12553
fi
20373
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20374
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20375
 
echo "${ECHO_T}$ac_res" >&6; }
 
12554
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
12555
                 $as_echo "$as_val"'`
 
12556
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12557
$as_echo "$ac_res" >&6; }
20376
12558
else
20377
12559
  # Is the header compilable?
20378
 
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20379
 
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
12560
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
12561
$as_echo_n "checking $ac_header usability... " >&6; }
20380
12562
cat >conftest.$ac_ext <<_ACEOF
20381
12563
/* confdefs.h.  */
20382
12564
_ACEOF
20392
12574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20393
12575
  *) ac_try_echo=$ac_try;;
20394
12576
esac
20395
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12577
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12578
$as_echo "$ac_try_echo") >&5
20396
12579
  (eval "$ac_compile") 2>conftest.er1
20397
12580
  ac_status=$?
20398
12581
  grep -v '^ *+' conftest.er1 >conftest.err
20399
12582
  rm -f conftest.er1
20400
12583
  cat conftest.err >&5
20401
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12584
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402
12585
  (exit $ac_status); } && {
20403
12586
         test -z "$ac_c_werror_flag" ||
20404
12587
         test ! -s conftest.err
20405
12588
       } && test -s conftest.$ac_objext; then
20406
12589
  ac_header_compiler=yes
20407
12590
else
20408
 
  echo "$as_me: failed program was:" >&5
 
12591
  $as_echo "$as_me: failed program was:" >&5
20409
12592
sed 's/^/| /' conftest.$ac_ext >&5
20410
12593
 
20411
12594
        ac_header_compiler=no
20412
12595
fi
20413
12596
 
20414
12597
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20415
 
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20416
 
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
12598
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
12599
$as_echo "$ac_header_compiler" >&6; }
20417
12600
 
20418
12601
# Is the header present?
20419
 
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20420
 
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
12602
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
12603
$as_echo_n "checking $ac_header presence... " >&6; }
20421
12604
cat >conftest.$ac_ext <<_ACEOF
20422
12605
/* confdefs.h.  */
20423
12606
_ACEOF
20431
12614
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20432
12615
  *) ac_try_echo=$ac_try;;
20433
12616
esac
20434
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12617
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12618
$as_echo "$ac_try_echo") >&5
20435
12619
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20436
12620
  ac_status=$?
20437
12621
  grep -v '^ *+' conftest.er1 >conftest.err
20438
12622
  rm -f conftest.er1
20439
12623
  cat conftest.err >&5
20440
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12624
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441
12625
  (exit $ac_status); } >/dev/null && {
20442
12626
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20443
12627
         test ! -s conftest.err
20444
12628
       }; then
20445
12629
  ac_header_preproc=yes
20446
12630
else
20447
 
  echo "$as_me: failed program was:" >&5
 
12631
  $as_echo "$as_me: failed program was:" >&5
20448
12632
sed 's/^/| /' conftest.$ac_ext >&5
20449
12633
 
20450
12634
  ac_header_preproc=no
20451
12635
fi
20452
12636
 
20453
12637
rm -f conftest.err conftest.$ac_ext
20454
 
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20455
 
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
12638
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
12639
$as_echo "$ac_header_preproc" >&6; }
20456
12640
 
20457
12641
# So?  What about this header?
20458
12642
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20459
12643
  yes:no: )
20460
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20461
 
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20462
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20463
 
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
12644
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
12645
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
12646
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
12647
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20464
12648
    ac_header_preproc=yes
20465
12649
    ;;
20466
12650
  no:yes:* )
20467
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20468
 
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20469
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
20470
 
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
20471
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20472
 
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20473
 
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
20474
 
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
20475
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20476
 
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20477
 
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20478
 
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
12651
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
12652
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
12653
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
12654
$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
12655
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
12656
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
12657
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
12658
$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
12659
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
12660
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
12661
    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
12662
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20479
12663
    ( cat <<\_ASBOX
20480
12664
## ---------------------------------- ##
20481
12665
## Report this to thep@linux.thai.net ##
20484
12668
     ) | sed "s/^/$as_me: WARNING:     /" >&2
20485
12669
    ;;
20486
12670
esac
20487
 
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20488
 
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
12671
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 
12672
$as_echo_n "checking for $ac_header... " >&6; }
20489
12673
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20490
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12674
  $as_echo_n "(cached) " >&6
20491
12675
else
20492
12676
  eval "$as_ac_Header=\$ac_header_preproc"
20493
12677
fi
20494
 
ac_res=`eval echo '${'$as_ac_Header'}'`
20495
 
               { echo "$as_me:$LINENO: result: $ac_res" >&5
20496
 
echo "${ECHO_T}$ac_res" >&6; }
 
12678
ac_res=`eval 'as_val=${'$as_ac_Header'}
 
12679
                 $as_echo "$as_val"'`
 
12680
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
12681
$as_echo "$ac_res" >&6; }
20497
12682
 
20498
12683
fi
20499
 
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
12684
as_val=`eval 'as_val=${'$as_ac_Header'}
 
12685
                 $as_echo "$as_val"'`
 
12686
   if test "x$as_val" = x""yes; then
20500
12687
  cat >>confdefs.h <<_ACEOF
20501
 
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
12688
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20502
12689
_ACEOF
20503
12690
 
20504
12691
fi
20505
12692
 
20506
12693
done
20507
12694
 
20508
 
{ echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
20509
 
echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6; }
 
12695
{ $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
 
12696
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
20510
12697
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
20511
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
12698
  $as_echo_n "(cached) " >&6
20512
12699
else
20513
12700
  if test "$cross_compiling" = yes; then
20514
12701
  ac_cv_func_malloc_0_nonnull=no
20539
12726
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20540
12727
  *) ac_try_echo=$ac_try;;
20541
12728
esac
20542
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12729
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12730
$as_echo "$ac_try_echo") >&5
20543
12731
  (eval "$ac_link") 2>&5
20544
12732
  ac_status=$?
20545
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12733
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546
12734
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20547
12735
  { (case "(($ac_try" in
20548
12736
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20549
12737
  *) ac_try_echo=$ac_try;;
20550
12738
esac
20551
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
12739
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
12740
$as_echo "$ac_try_echo") >&5
20552
12741
  (eval "$ac_try") 2>&5
20553
12742
  ac_status=$?
20554
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12743
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555
12744
  (exit $ac_status); }; }; then
20556
12745
  ac_cv_func_malloc_0_nonnull=yes
20557
12746
else
20558
 
  echo "$as_me: program exited with status $ac_status" >&5
20559
 
echo "$as_me: failed program was:" >&5
 
12747
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
12748
$as_echo "$as_me: failed program was:" >&5
20560
12749
sed 's/^/| /' conftest.$ac_ext >&5
20561
12750
 
20562
12751
( exit $ac_status )
20563
12752
ac_cv_func_malloc_0_nonnull=no
20564
12753
fi
 
12754
rm -rf conftest.dSYM
20565
12755
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20566
12756
fi
20567
12757
 
20568
12758
 
20569
12759
fi
20570
 
{ echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
20571
 
echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6; }
 
12760
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
 
12761
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
20572
12762
if test $ac_cv_func_malloc_0_nonnull = yes; then
20573
12763
 
20574
12764
cat >>confdefs.h <<\_ACEOF
20596
12786
 
20597
12787
 
20598
12788
 
20599
 
ac_config_files="$ac_config_files Makefile datrie.pc datrie/Makefile tools/Makefile man/Makefile doc/Makefile doc/Doxyfile"
 
12789
ac_config_files="$ac_config_files Makefile datrie-0.2.pc datrie/Makefile tools/Makefile man/Makefile doc/Makefile doc/Doxyfile"
20600
12790
 
20601
12791
cat >confcache <<\_ACEOF
20602
12792
# This file is a shell script that caches the results of configure
20625
12815
    case $ac_val in #(
20626
12816
    *${as_nl}*)
20627
12817
      case $ac_var in #(
20628
 
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20629
 
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 
12818
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 
12819
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20630
12820
      esac
20631
12821
      case $ac_var in #(
20632
12822
      _ | IFS | as_nl) ;; #(
 
12823
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20633
12824
      *) $as_unset $ac_var ;;
20634
12825
      esac ;;
20635
12826
    esac
20662
12853
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20663
12854
  if test -w "$cache_file"; then
20664
12855
    test "x$cache_file" != "x/dev/null" &&
20665
 
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20666
 
echo "$as_me: updating cache $cache_file" >&6;}
 
12856
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 
12857
$as_echo "$as_me: updating cache $cache_file" >&6;}
20667
12858
    cat confcache >$cache_file
20668
12859
  else
20669
 
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20670
 
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
12860
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 
12861
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20671
12862
  fi
20672
12863
fi
20673
12864
rm -f confcache
20683
12874
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20684
12875
  # 1. Remove the extension, and $U if already installed.
20685
12876
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20686
 
  ac_i=`echo "$ac_i" | sed "$ac_script"`
 
12877
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20687
12878
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
20688
12879
  #    will be set to the directory where LIBOBJS objects are built.
20689
12880
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20695
12886
 
20696
12887
 
20697
12888
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20698
 
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
12889
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
20699
12890
Usually this means the macro was only invoked conditionally." >&5
20700
 
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
12891
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
20701
12892
Usually this means the macro was only invoked conditionally." >&2;}
20702
12893
   { (exit 1); exit 1; }; }
20703
12894
fi
20704
12895
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20705
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
12896
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
20706
12897
Usually this means the macro was only invoked conditionally." >&5
20707
 
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
12898
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
20708
12899
Usually this means the macro was only invoked conditionally." >&2;}
20709
12900
   { (exit 1); exit 1; }; }
20710
12901
fi
20711
 
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
20712
 
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
12902
if test -z "${LD_HAS_VERSION_SCRIPT_TRUE}" && test -z "${LD_HAS_VERSION_SCRIPT_FALSE}"; then
 
12903
  { { $as_echo "$as_me:$LINENO: error: conditional \"LD_HAS_VERSION_SCRIPT\" was never defined.
20713
12904
Usually this means the macro was only invoked conditionally." >&5
20714
 
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
12905
$as_echo "$as_me: error: conditional \"LD_HAS_VERSION_SCRIPT\" was never defined.
20715
12906
Usually this means the macro was only invoked conditionally." >&2;}
20716
12907
   { (exit 1); exit 1; }; }
20717
12908
fi
20718
12909
if test -z "${ENABLE_DOXYGEN_DOC_TRUE}" && test -z "${ENABLE_DOXYGEN_DOC_FALSE}"; then
20719
 
  { { echo "$as_me:$LINENO: error: conditional \"ENABLE_DOXYGEN_DOC\" was never defined.
 
12910
  { { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_DOXYGEN_DOC\" was never defined.
20720
12911
Usually this means the macro was only invoked conditionally." >&5
20721
 
echo "$as_me: error: conditional \"ENABLE_DOXYGEN_DOC\" was never defined.
 
12912
$as_echo "$as_me: error: conditional \"ENABLE_DOXYGEN_DOC\" was never defined.
20722
12913
Usually this means the macro was only invoked conditionally." >&2;}
20723
12914
   { (exit 1); exit 1; }; }
20724
12915
fi
20725
12916
 
20726
12917
: ${CONFIG_STATUS=./config.status}
 
12918
ac_write_fail=0
20727
12919
ac_clean_files_save=$ac_clean_files
20728
12920
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20729
 
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20730
 
echo "$as_me: creating $CONFIG_STATUS" >&6;}
20731
 
cat >$CONFIG_STATUS <<_ACEOF
 
12921
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 
12922
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
12923
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20732
12924
#! $SHELL
20733
12925
# Generated by $as_me.
20734
12926
# Run this file to recreate the current configuration.
20741
12933
SHELL=\${CONFIG_SHELL-$SHELL}
20742
12934
_ACEOF
20743
12935
 
20744
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
12936
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20745
12937
## --------------------- ##
20746
12938
## M4sh Initialization.  ##
20747
12939
## --------------------- ##
20751
12943
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20752
12944
  emulate sh
20753
12945
  NULLCMD=:
20754
 
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 
12946
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20755
12947
  # is contrary to our usage.  Disable this feature.
20756
12948
  alias -g '${1+"$@"}'='"$@"'
20757
12949
  setopt NO_GLOB_SUBST
20773
12965
as_cr_digits='0123456789'
20774
12966
as_cr_alnum=$as_cr_Letters$as_cr_digits
20775
12967
 
 
12968
as_nl='
 
12969
'
 
12970
export as_nl
 
12971
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
12972
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
12973
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
12974
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
12975
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
12976
  as_echo='printf %s\n'
 
12977
  as_echo_n='printf %s'
 
12978
else
 
12979
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
12980
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
12981
    as_echo_n='/usr/ucb/echo -n'
 
12982
  else
 
12983
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
12984
    as_echo_n_body='eval
 
12985
      arg=$1;
 
12986
      case $arg in
 
12987
      *"$as_nl"*)
 
12988
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
12989
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
12990
      esac;
 
12991
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
12992
    '
 
12993
    export as_echo_n_body
 
12994
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
12995
  fi
 
12996
  export as_echo_body
 
12997
  as_echo='sh -c $as_echo_body as_echo'
 
12998
fi
 
12999
 
20776
13000
# The user is always right.
20777
13001
if test "${PATH_SEPARATOR+set}" != set; then
20778
 
  echo "#! /bin/sh" >conf$$.sh
20779
 
  echo  "exit 0"   >>conf$$.sh
20780
 
  chmod +x conf$$.sh
20781
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20782
 
    PATH_SEPARATOR=';'
20783
 
  else
20784
 
    PATH_SEPARATOR=:
20785
 
  fi
20786
 
  rm -f conf$$.sh
 
13002
  PATH_SEPARATOR=:
 
13003
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
13004
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
13005
      PATH_SEPARATOR=';'
 
13006
  }
20787
13007
fi
20788
13008
 
20789
13009
# Support unset when possible.
20799
13019
# there to prevent editors from complaining about space-tab.
20800
13020
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
20801
13021
# splitting by setting IFS to empty value.)
20802
 
as_nl='
20803
 
'
20804
13022
IFS=" ""        $as_nl"
20805
13023
 
20806
13024
# Find who we are.  Look in the path if we contain no directory separator.
20823
13041
  as_myself=$0
20824
13042
fi
20825
13043
if test ! -f "$as_myself"; then
20826
 
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
13044
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20827
13045
  { (exit 1); exit 1; }
20828
13046
fi
20829
13047
 
20836
13054
PS4='+ '
20837
13055
 
20838
13056
# NLS nuisances.
20839
 
for as_var in \
20840
 
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20841
 
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20842
 
  LC_TELEPHONE LC_TIME
20843
 
do
20844
 
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20845
 
    eval $as_var=C; export $as_var
20846
 
  else
20847
 
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20848
 
  fi
20849
 
done
 
13057
LC_ALL=C
 
13058
export LC_ALL
 
13059
LANGUAGE=C
 
13060
export LANGUAGE
20850
13061
 
20851
13062
# Required to use basename.
20852
13063
if expr a : '\(a\)' >/dev/null 2>&1 &&
20868
13079
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20869
13080
         X"$0" : 'X\(//\)$' \| \
20870
13081
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20871
 
echo X/"$0" |
 
13082
$as_echo X/"$0" |
20872
13083
    sed '/^.*\/\([^/][^/]*\)\/*$/{
20873
13084
            s//\1/
20874
13085
            q
20919
13130
      s/-\n.*//
20920
13131
    ' >$as_me.lineno &&
20921
13132
  chmod +x "$as_me.lineno" ||
20922
 
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 
13133
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20923
13134
   { (exit 1); exit 1; }; }
20924
13135
 
20925
13136
  # Don't try to exec as it changes $[0], causing all sort of problems
20947
13158
*)
20948
13159
  ECHO_N='-n';;
20949
13160
esac
20950
 
 
20951
13161
if expr a : '\(a\)' >/dev/null 2>&1 &&
20952
13162
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
20953
13163
  as_expr=expr
20960
13170
  rm -f conf$$.dir/conf$$.file
20961
13171
else
20962
13172
  rm -f conf$$.dir
20963
 
  mkdir conf$$.dir
 
13173
  mkdir conf$$.dir 2>/dev/null
20964
13174
fi
20965
 
echo >conf$$.file
20966
 
if ln -s conf$$.file conf$$ 2>/dev/null; then
20967
 
  as_ln_s='ln -s'
20968
 
  # ... but there are two gotchas:
20969
 
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20970
 
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20971
 
  # In both cases, we have to default to `cp -p'.
20972
 
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
13175
if (echo >conf$$.file) 2>/dev/null; then
 
13176
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
13177
    as_ln_s='ln -s'
 
13178
    # ... but there are two gotchas:
 
13179
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
13180
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
13181
    # In both cases, we have to default to `cp -p'.
 
13182
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
13183
      as_ln_s='cp -p'
 
13184
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
13185
    as_ln_s=ln
 
13186
  else
20973
13187
    as_ln_s='cp -p'
20974
 
elif ln conf$$.file conf$$ 2>/dev/null; then
20975
 
  as_ln_s=ln
 
13188
  fi
20976
13189
else
20977
13190
  as_ln_s='cp -p'
20978
13191
fi
20997
13210
  as_test_x='
20998
13211
    eval sh -c '\''
20999
13212
      if test -d "$1"; then
21000
 
        test -d "$1/.";
 
13213
        test -d "$1/.";
21001
13214
      else
21002
13215
        case $1 in
21003
 
        -*)set "./$1";;
 
13216
        -*)set "./$1";;
21004
13217
        esac;
21005
13218
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21006
13219
        ???[sx]*):;;*)false;;esac;fi
21022
13235
# report actual input values of CONFIG_FILES etc. instead of their
21023
13236
# values after options handling.
21024
13237
ac_log="
21025
 
This file was extended by libdatrie $as_me 0.1.3, which was
21026
 
generated by GNU Autoconf 2.61.  Invocation command line was
 
13238
This file was extended by libdatrie $as_me 0.2.2, which was
 
13239
generated by GNU Autoconf 2.63.  Invocation command line was
21027
13240
 
21028
13241
  CONFIG_FILES    = $CONFIG_FILES
21029
13242
  CONFIG_HEADERS  = $CONFIG_HEADERS
21036
13249
 
21037
13250
_ACEOF
21038
13251
 
21039
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13252
case $ac_config_files in *"
 
13253
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
13254
esac
 
13255
 
 
13256
case $ac_config_headers in *"
 
13257
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
13258
esac
 
13259
 
 
13260
 
 
13261
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21040
13262
# Files that config.status was made for.
21041
13263
config_files="$ac_config_files"
21042
13264
config_headers="$ac_config_headers"
21044
13266
 
21045
13267
_ACEOF
21046
13268
 
21047
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13269
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21048
13270
ac_cs_usage="\
21049
13271
\`$as_me' instantiates files from templates according to the
21050
13272
current configuration.
21051
13273
 
21052
 
Usage: $0 [OPTIONS] [FILE]...
 
13274
Usage: $0 [OPTION]... [FILE]...
21053
13275
 
21054
13276
  -h, --help       print this help, then exit
21055
13277
  -V, --version    print version number and configuration settings, then exit
21056
 
  -q, --quiet      do not print progress messages
 
13278
  -q, --quiet, --silent
 
13279
                   do not print progress messages
21057
13280
  -d, --debug      don't remove temporary files
21058
13281
      --recheck    update $as_me by reconfiguring in the same conditions
21059
 
  --file=FILE[:TEMPLATE]
21060
 
                   instantiate the configuration file FILE
21061
 
  --header=FILE[:TEMPLATE]
21062
 
                   instantiate the configuration header FILE
 
13282
      --file=FILE[:TEMPLATE]
 
13283
                   instantiate the configuration file FILE
 
13284
      --header=FILE[:TEMPLATE]
 
13285
                   instantiate the configuration header FILE
21063
13286
 
21064
13287
Configuration files:
21065
13288
$config_files
21073
13296
Report bugs to <bug-autoconf@gnu.org>."
21074
13297
 
21075
13298
_ACEOF
21076
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13299
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21077
13300
ac_cs_version="\\
21078
 
libdatrie config.status 0.1.3
21079
 
configured by $0, generated by GNU Autoconf 2.61,
21080
 
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
13301
libdatrie config.status 0.2.2
 
13302
configured by $0, generated by GNU Autoconf 2.63,
 
13303
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21081
13304
 
21082
 
Copyright (C) 2006 Free Software Foundation, Inc.
 
13305
Copyright (C) 2008 Free Software Foundation, Inc.
21083
13306
This config.status script is free software; the Free Software Foundation
21084
13307
gives unlimited permission to copy, distribute and modify it."
21085
13308
 
21086
13309
ac_pwd='$ac_pwd'
21087
13310
srcdir='$srcdir'
21088
13311
INSTALL='$INSTALL'
 
13312
MKDIR_P='$MKDIR_P'
 
13313
AWK='$AWK'
 
13314
test -n "\$AWK" || AWK=awk
21089
13315
_ACEOF
21090
13316
 
21091
 
cat >>$CONFIG_STATUS <<\_ACEOF
21092
 
# If no file are specified by the user, then we need to provide default
21093
 
# value.  By we need to know if files were specified by the user.
 
13317
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13318
# The default lists apply if the user does not specify any file.
21094
13319
ac_need_defaults=:
21095
13320
while test $# != 0
21096
13321
do
21112
13337
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21113
13338
    ac_cs_recheck=: ;;
21114
13339
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21115
 
    echo "$ac_cs_version"; exit ;;
 
13340
    $as_echo "$ac_cs_version"; exit ;;
21116
13341
  --debug | --debu | --deb | --de | --d | -d )
21117
13342
    debug=: ;;
21118
13343
  --file | --fil | --fi | --f )
21119
13344
    $ac_shift
21120
 
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 
13345
    case $ac_optarg in
 
13346
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13347
    esac
 
13348
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
21121
13349
    ac_need_defaults=false;;
21122
13350
  --header | --heade | --head | --hea )
21123
13351
    $ac_shift
21124
 
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 
13352
    case $ac_optarg in
 
13353
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
13354
    esac
 
13355
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
21125
13356
    ac_need_defaults=false;;
21126
13357
  --he | --h)
21127
13358
    # Conflict between --help and --header
21128
 
    { echo "$as_me: error: ambiguous option: $1
 
13359
    { $as_echo "$as_me: error: ambiguous option: $1
21129
13360
Try \`$0 --help' for more information." >&2
21130
13361
   { (exit 1); exit 1; }; };;
21131
13362
  --help | --hel | -h )
21132
 
    echo "$ac_cs_usage"; exit ;;
 
13363
    $as_echo "$ac_cs_usage"; exit ;;
21133
13364
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21134
13365
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
21135
13366
    ac_cs_silent=: ;;
21136
13367
 
21137
13368
  # This is an error.
21138
 
  -*) { echo "$as_me: error: unrecognized option: $1
 
13369
  -*) { $as_echo "$as_me: error: unrecognized option: $1
21139
13370
Try \`$0 --help' for more information." >&2
21140
13371
   { (exit 1); exit 1; }; } ;;
21141
13372
 
21154
13385
fi
21155
13386
 
21156
13387
_ACEOF
21157
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13388
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21158
13389
if \$ac_cs_recheck; then
21159
 
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21160
 
  CONFIG_SHELL=$SHELL
 
13390
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13391
  shift
 
13392
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
13393
  CONFIG_SHELL='$SHELL'
21161
13394
  export CONFIG_SHELL
21162
 
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
13395
  exec "\$@"
21163
13396
fi
21164
13397
 
21165
13398
_ACEOF
21166
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13399
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21167
13400
exec 5>>config.log
21168
13401
{
21169
13402
  echo
21170
13403
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21171
13404
## Running $as_me. ##
21172
13405
_ASBOX
21173
 
  echo "$ac_log"
 
13406
  $as_echo "$ac_log"
21174
13407
} >&5
21175
13408
 
21176
13409
_ACEOF
21177
 
cat >>$CONFIG_STATUS <<_ACEOF
 
13410
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21178
13411
#
21179
13412
# INIT-COMMANDS
21180
13413
#
21181
13414
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21182
13415
 
 
13416
 
 
13417
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
13418
# if CDPATH is set.
 
13419
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
13420
 
 
13421
sed_quote_subst='$sed_quote_subst'
 
13422
double_quote_subst='$double_quote_subst'
 
13423
delay_variable_subst='$delay_variable_subst'
 
13424
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
 
13425
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
13426
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 
13427
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 
13428
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 
13429
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 
13430
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13431
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 
13432
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 
13433
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
13434
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 
13435
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 
13436
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 
13437
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 
13438
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 
13439
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 
13440
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 
13441
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13442
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13443
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 
13444
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 
13445
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 
13446
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 
13447
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 
13448
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 
13449
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 
13450
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 
13451
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 
13452
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 
13453
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13454
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13455
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 
13456
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 
13457
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 
13458
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
13459
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 
13460
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 
13461
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13462
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13463
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13464
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 
13465
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 
13466
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 
13467
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 
13468
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 
13469
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 
13470
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"`'
 
13471
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"`'
 
13472
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 
13473
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 
13474
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 
13475
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 
13476
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13477
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 
13478
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 
13479
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13480
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 
13481
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 
13482
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 
13483
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 
13484
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 
13485
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 
13486
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 
13487
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 
13488
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13489
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13490
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 
13491
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 
13492
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13493
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13494
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 
13495
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13496
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13497
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13498
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13499
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13500
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13501
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
13502
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13503
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 
13504
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13505
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 
13506
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 
13507
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 
13508
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 
13509
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 
13510
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13511
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 
13512
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 
13513
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 
13514
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 
13515
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 
13516
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13517
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
13518
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 
13519
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13520
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13521
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 
13522
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 
13523
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 
13524
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 
13525
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13526
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 
13527
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 
13528
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13529
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13530
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13531
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13532
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13533
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 
13534
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 
13535
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 
13536
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13537
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 
13538
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 
13539
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 
13540
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 
13541
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 
13542
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13543
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 
13544
 
 
13545
LTCC='$LTCC'
 
13546
LTCFLAGS='$LTCFLAGS'
 
13547
compiler='$compiler_DEFAULT'
 
13548
 
 
13549
# Quote evaled strings.
 
13550
for var in SED \
 
13551
GREP \
 
13552
EGREP \
 
13553
FGREP \
 
13554
LD \
 
13555
NM \
 
13556
LN_S \
 
13557
lt_SP2NL \
 
13558
lt_NL2SP \
 
13559
reload_flag \
 
13560
deplibs_check_method \
 
13561
file_magic_cmd \
 
13562
AR \
 
13563
AR_FLAGS \
 
13564
STRIP \
 
13565
RANLIB \
 
13566
CC \
 
13567
CFLAGS \
 
13568
compiler \
 
13569
lt_cv_sys_global_symbol_pipe \
 
13570
lt_cv_sys_global_symbol_to_cdecl \
 
13571
lt_cv_sys_global_symbol_to_c_name_address \
 
13572
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
13573
SHELL \
 
13574
ECHO \
 
13575
lt_prog_compiler_no_builtin_flag \
 
13576
lt_prog_compiler_wl \
 
13577
lt_prog_compiler_pic \
 
13578
lt_prog_compiler_static \
 
13579
lt_cv_prog_compiler_c_o \
 
13580
need_locks \
 
13581
DSYMUTIL \
 
13582
NMEDIT \
 
13583
LIPO \
 
13584
OTOOL \
 
13585
OTOOL64 \
 
13586
shrext_cmds \
 
13587
export_dynamic_flag_spec \
 
13588
whole_archive_flag_spec \
 
13589
compiler_needs_object \
 
13590
with_gnu_ld \
 
13591
allow_undefined_flag \
 
13592
no_undefined_flag \
 
13593
hardcode_libdir_flag_spec \
 
13594
hardcode_libdir_flag_spec_ld \
 
13595
hardcode_libdir_separator \
 
13596
fix_srcfile_path \
 
13597
exclude_expsyms \
 
13598
include_expsyms \
 
13599
file_list_spec \
 
13600
variables_saved_for_relink \
 
13601
libname_spec \
 
13602
library_names_spec \
 
13603
soname_spec \
 
13604
finish_eval \
 
13605
old_striplib \
 
13606
striplib; do
 
13607
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13608
    *[\\\\\\\`\\"\\\$]*)
 
13609
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
13610
      ;;
 
13611
    *)
 
13612
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13613
      ;;
 
13614
    esac
 
13615
done
 
13616
 
 
13617
# Double-quote double-evaled strings.
 
13618
for var in reload_cmds \
 
13619
old_postinstall_cmds \
 
13620
old_postuninstall_cmds \
 
13621
old_archive_cmds \
 
13622
extract_expsyms_cmds \
 
13623
old_archive_from_new_cmds \
 
13624
old_archive_from_expsyms_cmds \
 
13625
archive_cmds \
 
13626
archive_expsym_cmds \
 
13627
module_cmds \
 
13628
module_expsym_cmds \
 
13629
export_symbols_cmds \
 
13630
prelink_cmds \
 
13631
postinstall_cmds \
 
13632
postuninstall_cmds \
 
13633
finish_cmds \
 
13634
sys_lib_search_path_spec \
 
13635
sys_lib_dlsearch_path_spec; do
 
13636
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
13637
    *[\\\\\\\`\\"\\\$]*)
 
13638
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
13639
      ;;
 
13640
    *)
 
13641
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
13642
      ;;
 
13643
    esac
 
13644
done
 
13645
 
 
13646
# Fix-up fallback echo if it was mangled by the above quoting rules.
 
13647
case \$lt_ECHO in
 
13648
*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 
13649
  ;;
 
13650
esac
 
13651
 
 
13652
ac_aux_dir='$ac_aux_dir'
 
13653
xsi_shell='$xsi_shell'
 
13654
lt_shell_append='$lt_shell_append'
 
13655
 
 
13656
# See if we are running on zsh, and set the options which allow our
 
13657
# commands through without removal of \ escapes INIT.
 
13658
if test -n "\${ZSH_VERSION+set}" ; then
 
13659
   setopt NO_GLOB_SUBST
 
13660
fi
 
13661
 
 
13662
 
 
13663
    PACKAGE='$PACKAGE'
 
13664
    VERSION='$VERSION'
 
13665
    TIMESTAMP='$TIMESTAMP'
 
13666
    RM='$RM'
 
13667
    ofile='$ofile'
 
13668
 
 
13669
 
 
13670
 
 
13671
 
21183
13672
_ACEOF
21184
13673
 
21185
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13674
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21186
13675
 
21187
13676
# Handling of arguments.
21188
13677
for ac_config_target in $ac_config_targets
21190
13679
  case $ac_config_target in
21191
13680
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21192
13681
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
13682
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21193
13683
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21194
 
    "datrie.pc") CONFIG_FILES="$CONFIG_FILES datrie.pc" ;;
 
13684
    "datrie-0.2.pc") CONFIG_FILES="$CONFIG_FILES datrie-0.2.pc" ;;
21195
13685
    "datrie/Makefile") CONFIG_FILES="$CONFIG_FILES datrie/Makefile" ;;
21196
13686
    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21197
13687
    "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
21198
13688
    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21199
13689
    "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
21200
13690
 
21201
 
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21202
 
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 
13691
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 
13692
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21203
13693
   { (exit 1); exit 1; }; };;
21204
13694
  esac
21205
13695
done
21240
13730
  (umask 077 && mkdir "$tmp")
21241
13731
} ||
21242
13732
{
21243
 
   echo "$me: cannot create a temporary directory in ." >&2
 
13733
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
21244
13734
   { (exit 1); exit 1; }
21245
13735
}
21246
13736
 
21247
 
#
21248
 
# Set up the sed scripts for CONFIG_FILES section.
21249
 
#
21250
 
 
21251
 
# No need to generate the scripts if there are no CONFIG_FILES.
21252
 
# This happens for instance when ./config.status config.h
 
13737
# Set up the scripts for CONFIG_FILES section.
 
13738
# No need to generate them if there are no CONFIG_FILES.
 
13739
# This happens for instance with `./config.status config.h'.
21253
13740
if test -n "$CONFIG_FILES"; then
21254
13741
 
21255
 
_ACEOF
21256
 
 
21257
 
 
21258
 
 
21259
 
ac_delim='%!_!# '
21260
 
for ac_last_try in false false false false false :; do
21261
 
  cat >conf$$subs.sed <<_ACEOF
21262
 
SHELL!$SHELL$ac_delim
21263
 
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21264
 
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21265
 
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21266
 
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21267
 
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21268
 
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21269
 
exec_prefix!$exec_prefix$ac_delim
21270
 
prefix!$prefix$ac_delim
21271
 
program_transform_name!$program_transform_name$ac_delim
21272
 
bindir!$bindir$ac_delim
21273
 
sbindir!$sbindir$ac_delim
21274
 
libexecdir!$libexecdir$ac_delim
21275
 
datarootdir!$datarootdir$ac_delim
21276
 
datadir!$datadir$ac_delim
21277
 
sysconfdir!$sysconfdir$ac_delim
21278
 
sharedstatedir!$sharedstatedir$ac_delim
21279
 
localstatedir!$localstatedir$ac_delim
21280
 
includedir!$includedir$ac_delim
21281
 
oldincludedir!$oldincludedir$ac_delim
21282
 
docdir!$docdir$ac_delim
21283
 
infodir!$infodir$ac_delim
21284
 
htmldir!$htmldir$ac_delim
21285
 
dvidir!$dvidir$ac_delim
21286
 
pdfdir!$pdfdir$ac_delim
21287
 
psdir!$psdir$ac_delim
21288
 
libdir!$libdir$ac_delim
21289
 
localedir!$localedir$ac_delim
21290
 
mandir!$mandir$ac_delim
21291
 
DEFS!$DEFS$ac_delim
21292
 
ECHO_C!$ECHO_C$ac_delim
21293
 
ECHO_N!$ECHO_N$ac_delim
21294
 
ECHO_T!$ECHO_T$ac_delim
21295
 
LIBS!$LIBS$ac_delim
21296
 
build_alias!$build_alias$ac_delim
21297
 
host_alias!$host_alias$ac_delim
21298
 
target_alias!$target_alias$ac_delim
21299
 
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21300
 
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21301
 
INSTALL_DATA!$INSTALL_DATA$ac_delim
21302
 
CYGPATH_W!$CYGPATH_W$ac_delim
21303
 
PACKAGE!$PACKAGE$ac_delim
21304
 
VERSION!$VERSION$ac_delim
21305
 
ACLOCAL!$ACLOCAL$ac_delim
21306
 
AUTOCONF!$AUTOCONF$ac_delim
21307
 
AUTOMAKE!$AUTOMAKE$ac_delim
21308
 
AUTOHEADER!$AUTOHEADER$ac_delim
21309
 
MAKEINFO!$MAKEINFO$ac_delim
21310
 
install_sh!$install_sh$ac_delim
21311
 
STRIP!$STRIP$ac_delim
21312
 
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21313
 
mkdir_p!$mkdir_p$ac_delim
21314
 
AWK!$AWK$ac_delim
21315
 
SET_MAKE!$SET_MAKE$ac_delim
21316
 
am__leading_dot!$am__leading_dot$ac_delim
21317
 
AMTAR!$AMTAR$ac_delim
21318
 
am__tar!$am__tar$ac_delim
21319
 
am__untar!$am__untar$ac_delim
21320
 
LT_CURRENT!$LT_CURRENT$ac_delim
21321
 
LT_REVISION!$LT_REVISION$ac_delim
21322
 
LT_AGE!$LT_AGE$ac_delim
21323
 
CC!$CC$ac_delim
21324
 
CFLAGS!$CFLAGS$ac_delim
21325
 
LDFLAGS!$LDFLAGS$ac_delim
21326
 
CPPFLAGS!$CPPFLAGS$ac_delim
21327
 
ac_ct_CC!$ac_ct_CC$ac_delim
21328
 
EXEEXT!$EXEEXT$ac_delim
21329
 
OBJEXT!$OBJEXT$ac_delim
21330
 
DEPDIR!$DEPDIR$ac_delim
21331
 
am__include!$am__include$ac_delim
21332
 
am__quote!$am__quote$ac_delim
21333
 
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21334
 
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21335
 
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21336
 
CCDEPMODE!$CCDEPMODE$ac_delim
21337
 
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21338
 
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21339
 
build!$build$ac_delim
21340
 
build_cpu!$build_cpu$ac_delim
21341
 
build_vendor!$build_vendor$ac_delim
21342
 
build_os!$build_os$ac_delim
21343
 
host!$host$ac_delim
21344
 
host_cpu!$host_cpu$ac_delim
21345
 
host_vendor!$host_vendor$ac_delim
21346
 
host_os!$host_os$ac_delim
21347
 
SED!$SED$ac_delim
21348
 
GREP!$GREP$ac_delim
21349
 
EGREP!$EGREP$ac_delim
21350
 
LN_S!$LN_S$ac_delim
21351
 
ECHO!$ECHO$ac_delim
21352
 
AR!$AR$ac_delim
21353
 
RANLIB!$RANLIB$ac_delim
21354
 
DLLTOOL!$DLLTOOL$ac_delim
21355
 
AS!$AS$ac_delim
21356
 
OBJDUMP!$OBJDUMP$ac_delim
21357
 
CPP!$CPP$ac_delim
21358
 
CXX!$CXX$ac_delim
21359
 
_ACEOF
21360
 
 
21361
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21362
 
    break
21363
 
  elif $ac_last_try; then
21364
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21365
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21366
 
   { (exit 1); exit 1; }; }
21367
 
  else
21368
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21369
 
  fi
21370
 
done
21371
 
 
21372
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21373
 
if test -n "$ac_eof"; then
21374
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21375
 
  ac_eof=`expr $ac_eof + 1`
21376
 
fi
21377
 
 
21378
 
cat >>$CONFIG_STATUS <<_ACEOF
21379
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21380
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21381
 
_ACEOF
21382
 
sed '
21383
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21384
 
s/^/s,@/; s/!/@,|#_!!_#|/
21385
 
:n
21386
 
t n
21387
 
s/'"$ac_delim"'$/,g/; t
21388
 
s/$/\\/; p
21389
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21390
 
' >>$CONFIG_STATUS <conf$$subs.sed
21391
 
rm -f conf$$subs.sed
21392
 
cat >>$CONFIG_STATUS <<_ACEOF
21393
 
CEOF$ac_eof
21394
 
_ACEOF
21395
 
 
21396
 
 
21397
 
ac_delim='%!_!# '
21398
 
for ac_last_try in false false false false false :; do
21399
 
  cat >conf$$subs.sed <<_ACEOF
21400
 
CXXFLAGS!$CXXFLAGS$ac_delim
21401
 
ac_ct_CXX!$ac_ct_CXX$ac_delim
21402
 
CXXDEPMODE!$CXXDEPMODE$ac_delim
21403
 
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21404
 
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21405
 
CXXCPP!$CXXCPP$ac_delim
21406
 
F77!$F77$ac_delim
21407
 
FFLAGS!$FFLAGS$ac_delim
21408
 
ac_ct_F77!$ac_ct_F77$ac_delim
21409
 
LIBTOOL!$LIBTOOL$ac_delim
21410
 
DOXYGEN!$DOXYGEN$ac_delim
21411
 
htmldocdir!$htmldocdir$ac_delim
21412
 
ENABLE_DOXYGEN_DOC_TRUE!$ENABLE_DOXYGEN_DOC_TRUE$ac_delim
21413
 
ENABLE_DOXYGEN_DOC_FALSE!$ENABLE_DOXYGEN_DOC_FALSE$ac_delim
21414
 
LIBOBJS!$LIBOBJS$ac_delim
21415
 
LTLIBOBJS!$LTLIBOBJS$ac_delim
21416
 
_ACEOF
21417
 
 
21418
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then
21419
 
    break
21420
 
  elif $ac_last_try; then
21421
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21422
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21423
 
   { (exit 1); exit 1; }; }
21424
 
  else
21425
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21426
 
  fi
21427
 
done
21428
 
 
21429
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21430
 
if test -n "$ac_eof"; then
21431
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21432
 
  ac_eof=`expr $ac_eof + 1`
21433
 
fi
21434
 
 
21435
 
cat >>$CONFIG_STATUS <<_ACEOF
21436
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21437
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21438
 
_ACEOF
21439
 
sed '
21440
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21441
 
s/^/s,@/; s/!/@,|#_!!_#|/
21442
 
:n
21443
 
t n
21444
 
s/'"$ac_delim"'$/,g/; t
21445
 
s/$/\\/; p
21446
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21447
 
' >>$CONFIG_STATUS <conf$$subs.sed
21448
 
rm -f conf$$subs.sed
21449
 
cat >>$CONFIG_STATUS <<_ACEOF
21450
 
:end
21451
 
s/|#_!!_#|//g
21452
 
CEOF$ac_eof
21453
 
_ACEOF
21454
 
 
 
13742
 
 
13743
ac_cr='
 
 
b"'"
 
13744
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
13745
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
13746
  ac_cs_awk_cr='\\r'
 
13747
else
 
13748
  ac_cs_awk_cr=$ac_cr
 
13749
fi
 
13750
 
 
13751
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
13752
_ACEOF
 
13753
 
 
13754
 
 
13755
{
 
13756
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
13757
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
13758
  echo "_ACEOF"
 
13759
} >conf$$subs.sh ||
 
13760
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
13761
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
13762
   { (exit 1); exit 1; }; }
 
13763
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 
13764
ac_delim='%!_!# '
 
13765
for ac_last_try in false false false false false :; do
 
13766
  . ./conf$$subs.sh ||
 
13767
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
13768
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
13769
   { (exit 1); exit 1; }; }
 
13770
 
 
13771
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
13772
  if test $ac_delim_n = $ac_delim_num; then
 
13773
    break
 
13774
  elif $ac_last_try; then
 
13775
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
13776
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
13777
   { (exit 1); exit 1; }; }
 
13778
  else
 
13779
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
13780
  fi
 
13781
done
 
13782
rm -f conf$$subs.sh
 
13783
 
 
13784
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13785
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
13786
_ACEOF
 
13787
sed -n '
 
13788
h
 
13789
s/^/S["/; s/!.*/"]=/
 
13790
p
 
13791
g
 
13792
s/^[^!]*!//
 
13793
:repl
 
13794
t repl
 
13795
s/'"$ac_delim"'$//
 
13796
t delim
 
13797
:nl
 
13798
h
 
13799
s/\(.\{148\}\).*/\1/
 
13800
t more1
 
13801
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
13802
p
 
13803
n
 
13804
b repl
 
13805
:more1
 
13806
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
13807
p
 
13808
g
 
13809
s/.\{148\}//
 
13810
t nl
 
13811
:delim
 
13812
h
 
13813
s/\(.\{148\}\).*/\1/
 
13814
t more2
 
13815
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
13816
p
 
13817
b
 
13818
:more2
 
13819
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
13820
p
 
13821
g
 
13822
s/.\{148\}//
 
13823
t delim
 
13824
' <conf$$subs.awk | sed '
 
13825
/^[^""]/{
 
13826
  N
 
13827
  s/\n//
 
13828
}
 
13829
' >>$CONFIG_STATUS || ac_write_fail=1
 
13830
rm -f conf$$subs.awk
 
13831
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13832
_ACAWK
 
13833
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
13834
  for (key in S) S_is_set[key] = 1
 
13835
  FS = ""
 
13836
 
 
13837
}
 
13838
{
 
13839
  line = $ 0
 
13840
  nfields = split(line, field, "@")
 
13841
  substed = 0
 
13842
  len = length(field[1])
 
13843
  for (i = 2; i < nfields; i++) {
 
13844
    key = field[i]
 
13845
    keylen = length(key)
 
13846
    if (S_is_set[key]) {
 
13847
      value = S[key]
 
13848
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
13849
      len += length(value) + length(field[++i])
 
13850
      substed = 1
 
13851
    } else
 
13852
      len += 1 + keylen
 
13853
  }
 
13854
 
 
13855
  print line
 
13856
}
 
13857
 
 
13858
_ACAWK
 
13859
_ACEOF
 
13860
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13861
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
13862
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
13863
else
 
13864
  cat
 
13865
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
13866
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 
13867
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
 
13868
   { (exit 1); exit 1; }; }
 
13869
_ACEOF
21455
13870
 
21456
13871
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21457
13872
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21468
13883
}'
21469
13884
fi
21470
13885
 
21471
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
13886
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21472
13887
fi # test -n "$CONFIG_FILES"
21473
13888
 
21474
 
 
21475
 
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 
13889
# Set up the scripts for CONFIG_HEADERS section.
 
13890
# No need to generate them if there are no CONFIG_HEADERS.
 
13891
# This happens for instance with `./config.status Makefile'.
 
13892
if test -n "$CONFIG_HEADERS"; then
 
13893
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
13894
BEGIN {
 
13895
_ACEOF
 
13896
 
 
13897
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
13898
# here-document in config.status, that substitutes the proper values into
 
13899
# config.h.in to produce config.h.
 
13900
 
 
13901
# Create a delimiter string that does not exist in confdefs.h, to ease
 
13902
# handling of long lines.
 
13903
ac_delim='%!_!# '
 
13904
for ac_last_try in false false :; do
 
13905
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 
13906
  if test -z "$ac_t"; then
 
13907
    break
 
13908
  elif $ac_last_try; then
 
13909
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 
13910
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 
13911
   { (exit 1); exit 1; }; }
 
13912
  else
 
13913
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
13914
  fi
 
13915
done
 
13916
 
 
13917
# For the awk script, D is an array of macro values keyed by name,
 
13918
# likewise P contains macro parameters if any.  Preserve backslash
 
13919
# newline sequences.
 
13920
 
 
13921
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
13922
sed -n '
 
13923
s/.\{148\}/&'"$ac_delim"'/g
 
13924
t rset
 
13925
:rset
 
13926
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
13927
t def
 
13928
d
 
13929
:def
 
13930
s/\\$//
 
13931
t bsnl
 
13932
s/["\\]/\\&/g
 
13933
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
13934
D["\1"]=" \3"/p
 
13935
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
13936
d
 
13937
:bsnl
 
13938
s/["\\]/\\&/g
 
13939
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
13940
D["\1"]=" \3\\\\\\n"\\/p
 
13941
t cont
 
13942
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
13943
t cont
 
13944
d
 
13945
:cont
 
13946
n
 
13947
s/.\{148\}/&'"$ac_delim"'/g
 
13948
t clear
 
13949
:clear
 
13950
s/\\$//
 
13951
t bsnlc
 
13952
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
13953
d
 
13954
:bsnlc
 
13955
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
13956
b cont
 
13957
' <confdefs.h | sed '
 
13958
s/'"$ac_delim"'/"\\\
 
13959
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
13960
 
 
13961
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
13962
  for (key in D) D_is_set[key] = 1
 
13963
  FS = ""
 
13964
}
 
13965
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
13966
  line = \$ 0
 
13967
  split(line, arg, " ")
 
13968
  if (arg[1] == "#") {
 
13969
    defundef = arg[2]
 
13970
    mac1 = arg[3]
 
13971
  } else {
 
13972
    defundef = substr(arg[1], 2)
 
13973
    mac1 = arg[2]
 
13974
  }
 
13975
  split(mac1, mac2, "(") #)
 
13976
  macro = mac2[1]
 
13977
  prefix = substr(line, 1, index(line, defundef) - 1)
 
13978
  if (D_is_set[macro]) {
 
13979
    # Preserve the white space surrounding the "#".
 
13980
    print prefix "define", macro P[macro] D[macro]
 
13981
    next
 
13982
  } else {
 
13983
    # Replace #undef with comments.  This is necessary, for example,
 
13984
    # in the case of _POSIX_SOURCE, which is predefined and required
 
13985
    # on some systems where configure will not decide to define it.
 
13986
    if (defundef == "undef") {
 
13987
      print "/*", prefix defundef, macro, "*/"
 
13988
      next
 
13989
    }
 
13990
  }
 
13991
}
 
13992
{ print }
 
13993
_ACAWK
 
13994
_ACEOF
 
13995
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
13996
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 
13997
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 
13998
   { (exit 1); exit 1; }; }
 
13999
fi # test -n "$CONFIG_HEADERS"
 
14000
 
 
14001
 
 
14002
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
14003
shift
 
14004
for ac_tag
21476
14005
do
21477
14006
  case $ac_tag in
21478
14007
  :[FHLC]) ac_mode=$ac_tag; continue;;
21479
14008
  esac
21480
14009
  case $ac_mode$ac_tag in
21481
14010
  :[FHL]*:*);;
21482
 
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21483
 
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 
14011
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 
14012
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
21484
14013
   { (exit 1); exit 1; }; };;
21485
14014
  :[FH]-) ac_tag=-:-;;
21486
14015
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21509
14038
           [\\/$]*) false;;
21510
14039
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21511
14040
           esac ||
21512
 
           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21513
 
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 
14041
           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 
14042
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21514
14043
   { (exit 1); exit 1; }; };;
21515
14044
      esac
21516
 
      ac_file_inputs="$ac_file_inputs $ac_f"
 
14045
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
14046
      ac_file_inputs="$ac_file_inputs '$ac_f'"
21517
14047
    done
21518
14048
 
21519
14049
    # Let's still pretend it is `configure' which instantiates (i.e., don't
21520
14050
    # use $as_me), people would be surprised to read:
21521
14051
    #    /* config.h.  Generated by config.status.  */
21522
 
    configure_input="Generated from "`IFS=:
21523
 
          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 
14052
    configure_input='Generated from '`
 
14053
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
14054
        `' by configure.'
21524
14055
    if test x"$ac_file" != x-; then
21525
14056
      configure_input="$ac_file.  $configure_input"
21526
 
      { echo "$as_me:$LINENO: creating $ac_file" >&5
21527
 
echo "$as_me: creating $ac_file" >&6;}
 
14057
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 
14058
$as_echo "$as_me: creating $ac_file" >&6;}
21528
14059
    fi
 
14060
    # Neutralize special characters interpreted by sed in replacement strings.
 
14061
    case $configure_input in #(
 
14062
    *\&* | *\|* | *\\* )
 
14063
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
14064
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
14065
    *) ac_sed_conf_input=$configure_input;;
 
14066
    esac
21529
14067
 
21530
14068
    case $ac_tag in
21531
 
    *:-:* | *:-) cat >"$tmp/stdin";;
 
14069
    *:-:* | *:-) cat >"$tmp/stdin" \
 
14070
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14071
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14072
   { (exit 1); exit 1; }; } ;;
21532
14073
    esac
21533
14074
    ;;
21534
14075
  esac
21538
14079
         X"$ac_file" : 'X\(//\)[^/]' \| \
21539
14080
         X"$ac_file" : 'X\(//\)$' \| \
21540
14081
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21541
 
echo X"$ac_file" |
 
14082
$as_echo X"$ac_file" |
21542
14083
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21543
14084
            s//\1/
21544
14085
            q
21564
14105
    as_dirs=
21565
14106
    while :; do
21566
14107
      case $as_dir in #(
21567
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
14108
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21568
14109
      *) as_qdir=$as_dir;;
21569
14110
      esac
21570
14111
      as_dirs="'$as_qdir' $as_dirs"
21573
14114
         X"$as_dir" : 'X\(//\)[^/]' \| \
21574
14115
         X"$as_dir" : 'X\(//\)$' \| \
21575
14116
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21576
 
echo X"$as_dir" |
 
14117
$as_echo X"$as_dir" |
21577
14118
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21578
14119
            s//\1/
21579
14120
            q
21594
14135
      test -d "$as_dir" && break
21595
14136
    done
21596
14137
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21597
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21598
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
14138
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
14139
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21599
14140
   { (exit 1); exit 1; }; }; }
21600
14141
  ac_builddir=.
21601
14142
 
21602
14143
case "$ac_dir" in
21603
14144
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21604
14145
*)
21605
 
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 
14146
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21606
14147
  # A ".." for each directory in $ac_dir_suffix.
21607
 
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 
14148
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21608
14149
  case $ac_top_builddir_sub in
21609
14150
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21610
14151
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21642
14183
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21643
14184
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21644
14185
  esac
 
14186
  ac_MKDIR_P=$MKDIR_P
 
14187
  case $MKDIR_P in
 
14188
  [\\/$]* | ?:[\\/]* ) ;;
 
14189
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
14190
  esac
21645
14191
_ACEOF
21646
14192
 
21647
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14193
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21648
14194
# If the template does not know about datarootdir, expand it.
21649
14195
# FIXME: This hack should be removed a few years after 2.60.
21650
14196
ac_datarootdir_hack=; ac_datarootdir_seen=
21651
14197
 
21652
 
case `sed -n '/datarootdir/ {
 
14198
ac_sed_dataroot='
 
14199
/datarootdir/ {
21653
14200
  p
21654
14201
  q
21655
14202
}
21658
14205
/@infodir@/p
21659
14206
/@localedir@/p
21660
14207
/@mandir@/p
21661
 
' $ac_file_inputs` in
 
14208
'
 
14209
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21662
14210
*datarootdir*) ac_datarootdir_seen=yes;;
21663
14211
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21664
 
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21665
 
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
14212
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
14213
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21666
14214
_ACEOF
21667
 
cat >>$CONFIG_STATUS <<_ACEOF
 
14215
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21668
14216
  ac_datarootdir_hack='
21669
14217
  s&@datadir@&$datadir&g
21670
14218
  s&@docdir@&$docdir&g
21678
14226
# Neutralize VPATH when `$srcdir' = `.'.
21679
14227
# Shell code in configure.ac might set extrasub.
21680
14228
# FIXME: do we really want to maintain this feature?
21681
 
cat >>$CONFIG_STATUS <<_ACEOF
21682
 
  sed "$ac_vpsub
 
14229
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
14230
ac_sed_extra="$ac_vpsub
21683
14231
$extrasub
21684
14232
_ACEOF
21685
 
cat >>$CONFIG_STATUS <<\_ACEOF
 
14233
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21686
14234
:t
21687
14235
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21688
 
s&@configure_input@&$configure_input&;t t
 
14236
s|@configure_input@|$ac_sed_conf_input|;t t
21689
14237
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
14238
s&@top_build_prefix@&$ac_top_build_prefix&;t t
21690
14239
s&@srcdir@&$ac_srcdir&;t t
21691
14240
s&@abs_srcdir@&$ac_abs_srcdir&;t t
21692
14241
s&@top_srcdir@&$ac_top_srcdir&;t t
21695
14244
s&@abs_builddir@&$ac_abs_builddir&;t t
21696
14245
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21697
14246
s&@INSTALL@&$ac_INSTALL&;t t
 
14247
s&@MKDIR_P@&$ac_MKDIR_P&;t t
21698
14248
$ac_datarootdir_hack
21699
 
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
 
14249
"
 
14250
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 
14251
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14252
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14253
   { (exit 1); exit 1; }; }
21700
14254
 
21701
14255
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21702
14256
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21703
14257
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21704
 
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14258
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21705
14259
which seems to be undefined.  Please make sure it is defined." >&5
21706
 
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
14260
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21707
14261
which seems to be undefined.  Please make sure it is defined." >&2;}
21708
14262
 
21709
14263
  rm -f "$tmp/stdin"
21710
14264
  case $ac_file in
21711
 
  -) cat "$tmp/out"; rm -f "$tmp/out";;
21712
 
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21713
 
  esac
 
14265
  -) cat "$tmp/out" && rm -f "$tmp/out";;
 
14266
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
14267
  esac \
 
14268
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14269
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14270
   { (exit 1); exit 1; }; }
21714
14271
 ;;
21715
14272
  :H)
21716
14273
  #
21717
14274
  # CONFIG_HEADER
21718
14275
  #
21719
 
_ACEOF
21720
 
 
21721
 
# Transform confdefs.h into a sed script `conftest.defines', that
21722
 
# substitutes the proper values into config.h.in to produce config.h.
21723
 
rm -f conftest.defines conftest.tail
21724
 
# First, append a space to every undef/define line, to ease matching.
21725
 
echo 's/$/ /' >conftest.defines
21726
 
# Then, protect against being on the right side of a sed subst, or in
21727
 
# an unquoted here document, in config.status.  If some macros were
21728
 
# called several times there might be several #defines for the same
21729
 
# symbol, which is useless.  But do not sort them, since the last
21730
 
# AC_DEFINE must be honored.
21731
 
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21732
 
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21733
 
# NAME is the cpp macro being defined, VALUE is the value it is being given.
21734
 
# PARAMS is the parameter list in the macro definition--in most cases, it's
21735
 
# just an empty string.
21736
 
ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
21737
 
ac_dB='\\)[      (].*,\\1define\\2'
21738
 
ac_dC=' '
21739
 
ac_dD=' ,'
21740
 
 
21741
 
uniq confdefs.h |
21742
 
  sed -n '
21743
 
        t rset
21744
 
        :rset
21745
 
        s/^[     ]*#[    ]*define[       ][      ]*//
21746
 
        t ok
21747
 
        d
21748
 
        :ok
21749
 
        s/[\\&,]/\\&/g
21750
 
        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21751
 
        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21752
 
  ' >>conftest.defines
21753
 
 
21754
 
# Remove the space that was appended to ease matching.
21755
 
# Then replace #undef with comments.  This is necessary, for
21756
 
# example, in the case of _POSIX_SOURCE, which is predefined and required
21757
 
# on some systems where configure will not decide to define it.
21758
 
# (The regexp can be short, since the line contains either #define or #undef.)
21759
 
echo 's/ $//
21760
 
s,^[     #]*u.*,/* & */,' >>conftest.defines
21761
 
 
21762
 
# Break up conftest.defines:
21763
 
ac_max_sed_lines=50
21764
 
 
21765
 
# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21766
 
# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21767
 
# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21768
 
# et cetera.
21769
 
ac_in='$ac_file_inputs'
21770
 
ac_out='"$tmp/out1"'
21771
 
ac_nxt='"$tmp/out2"'
21772
 
 
21773
 
while :
21774
 
do
21775
 
  # Write a here document:
21776
 
    cat >>$CONFIG_STATUS <<_ACEOF
21777
 
    # First, check the format of the line:
21778
 
    cat >"\$tmp/defines.sed" <<\\CEOF
21779
 
/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
21780
 
/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
21781
 
b
21782
 
:def
21783
 
_ACEOF
21784
 
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21785
 
  echo 'CEOF
21786
 
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21787
 
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
21788
 
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
21789
 
  grep . conftest.tail >/dev/null || break
21790
 
  rm -f conftest.defines
21791
 
  mv conftest.tail conftest.defines
21792
 
done
21793
 
rm -f conftest.defines conftest.tail
21794
 
 
21795
 
echo "ac_result=$ac_in" >>$CONFIG_STATUS
21796
 
cat >>$CONFIG_STATUS <<\_ACEOF
21797
14276
  if test x"$ac_file" != x-; then
21798
 
    echo "/* $configure_input  */" >"$tmp/config.h"
21799
 
    cat "$ac_result" >>"$tmp/config.h"
21800
 
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21801
 
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21802
 
echo "$as_me: $ac_file is unchanged" >&6;}
 
14277
    {
 
14278
      $as_echo "/* $configure_input  */" \
 
14279
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 
14280
    } >"$tmp/config.h" \
 
14281
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14282
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14283
   { (exit 1); exit 1; }; }
 
14284
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
14285
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 
14286
$as_echo "$as_me: $ac_file is unchanged" >&6;}
21803
14287
    else
21804
 
      rm -f $ac_file
21805
 
      mv "$tmp/config.h" $ac_file
 
14288
      rm -f "$ac_file"
 
14289
      mv "$tmp/config.h" "$ac_file" \
 
14290
        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 
14291
$as_echo "$as_me: error: could not create $ac_file" >&2;}
 
14292
   { (exit 1); exit 1; }; }
21806
14293
    fi
21807
14294
  else
21808
 
    echo "/* $configure_input  */"
21809
 
    cat "$ac_result"
 
14295
    $as_echo "/* $configure_input  */" \
 
14296
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
14297
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 
14298
$as_echo "$as_me: error: could not create -" >&2;}
 
14299
   { (exit 1); exit 1; }; }
21810
14300
  fi
21811
 
  rm -f "$tmp/out12"
21812
 
# Compute $ac_file's index in $config_headers.
 
14301
# Compute "$ac_file"'s index in $config_headers.
 
14302
_am_arg="$ac_file"
21813
14303
_am_stamp_count=1
21814
14304
for _am_header in $config_headers :; do
21815
14305
  case $_am_header in
21816
 
    $ac_file | $ac_file:* )
 
14306
    $_am_arg | $_am_arg:* )
21817
14307
      break ;;
21818
14308
    * )
21819
14309
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21820
14310
  esac
21821
14311
done
21822
 
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
21823
 
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21824
 
         X$ac_file : 'X\(//\)[^/]' \| \
21825
 
         X$ac_file : 'X\(//\)$' \| \
21826
 
         X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
21827
 
echo X$ac_file |
 
14312
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
14313
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
14314
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
14315
         X"$_am_arg" : 'X\(//\)$' \| \
 
14316
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
14317
$as_echo X"$_am_arg" |
21828
14318
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21829
14319
            s//\1/
21830
14320
            q
21844
14334
          s/.*/./; q'`/stamp-h$_am_stamp_count
21845
14335
 ;;
21846
14336
 
21847
 
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21848
 
echo "$as_me: executing $ac_file commands" >&6;}
 
14337
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 
14338
$as_echo "$as_me: executing $ac_file commands" >&6;}
21849
14339
 ;;
21850
14340
  esac
21851
14341
 
21852
14342
 
21853
14343
  case $ac_file$ac_mode in
21854
 
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
14344
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
14345
# are listed without --file.  Let's play safe and only enable the eval
 
14346
# if we detect the quoting.
 
14347
case $CONFIG_FILES in
 
14348
*\'*) eval set x "$CONFIG_FILES" ;;
 
14349
*)   set x $CONFIG_FILES ;;
 
14350
esac
 
14351
shift
 
14352
for mf
 
14353
do
21855
14354
  # Strip MF so we end up with the name of the file.
21856
14355
  mf=`echo "$mf" | sed -e 's/:.*$//'`
21857
14356
  # Check whether this is an Automake generated Makefile or not.
21859
14358
  # some people rename them; so instead we look at the file content.
21860
14359
  # Grep'ing the first line is not enough: some people post-process
21861
14360
  # each Makefile.in and add a new line on top of each file to say so.
21862
 
  # So let's grep whole file.
21863
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
14361
  # Grep'ing the whole file is not good either: AIX grep has a line
 
14362
  # limit of 2048, but all sed's we know have understand at least 4000.
 
14363
  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21864
14364
    dirpart=`$as_dirname -- "$mf" ||
21865
14365
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21866
14366
         X"$mf" : 'X\(//\)[^/]' \| \
21867
14367
         X"$mf" : 'X\(//\)$' \| \
21868
14368
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21869
 
echo X"$mf" |
 
14369
$as_echo X"$mf" |
21870
14370
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21871
14371
            s//\1/
21872
14372
            q
21910
14410
         X"$file" : 'X\(//\)[^/]' \| \
21911
14411
         X"$file" : 'X\(//\)$' \| \
21912
14412
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21913
 
echo X"$file" |
 
14413
$as_echo X"$file" |
21914
14414
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21915
14415
            s//\1/
21916
14416
            q
21936
14436
    as_dirs=
21937
14437
    while :; do
21938
14438
      case $as_dir in #(
21939
 
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 
14439
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21940
14440
      *) as_qdir=$as_dir;;
21941
14441
      esac
21942
14442
      as_dirs="'$as_qdir' $as_dirs"
21945
14445
         X"$as_dir" : 'X\(//\)[^/]' \| \
21946
14446
         X"$as_dir" : 'X\(//\)$' \| \
21947
14447
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21948
 
echo X"$as_dir" |
 
14448
$as_echo X"$as_dir" |
21949
14449
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21950
14450
            s//\1/
21951
14451
            q
21966
14466
      test -d "$as_dir" && break
21967
14467
    done
21968
14468
    test -z "$as_dirs" || eval "mkdir $as_dirs"
21969
 
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21970
 
echo "$as_me: error: cannot create directory $as_dir" >&2;}
 
14469
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 
14470
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
21971
14471
   { (exit 1); exit 1; }; }; }
21972
14472
    # echo "creating $dirpart/$file"
21973
14473
    echo '# dummy' > "$dirpart/$file"
21974
14474
  done
21975
14475
done
21976
14476
 ;;
 
14477
    "libtool":C)
 
14478
 
 
14479
    # See if we are running on zsh, and set the options which allow our
 
14480
    # commands through without removal of \ escapes.
 
14481
    if test -n "${ZSH_VERSION+set}" ; then
 
14482
      setopt NO_GLOB_SUBST
 
14483
    fi
 
14484
 
 
14485
    cfgfile="${ofile}T"
 
14486
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
14487
    $RM "$cfgfile"
 
14488
 
 
14489
    cat <<_LT_EOF >> "$cfgfile"
 
14490
#! $SHELL
 
14491
 
 
14492
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
14493
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
14494
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
14495
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
14496
#
 
14497
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
14498
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
14499
#   Written by Gordon Matzigkeit, 1996
 
14500
#
 
14501
#   This file is part of GNU Libtool.
 
14502
#
 
14503
# GNU Libtool is free software; you can redistribute it and/or
 
14504
# modify it under the terms of the GNU General Public License as
 
14505
# published by the Free Software Foundation; either version 2 of
 
14506
# the License, or (at your option) any later version.
 
14507
#
 
14508
# As a special exception to the GNU General Public License,
 
14509
# if you distribute this file as part of a program or library that
 
14510
# is built using GNU Libtool, you may include this file under the
 
14511
# same distribution terms that you use for the rest of that program.
 
14512
#
 
14513
# GNU Libtool is distributed in the hope that it will be useful,
 
14514
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14515
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14516
# GNU General Public License for more details.
 
14517
#
 
14518
# You should have received a copy of the GNU General Public License
 
14519
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
14520
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
14521
# obtained by writing to the Free Software Foundation, Inc.,
 
14522
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
14523
 
 
14524
 
 
14525
# The names of the tagged configurations supported by this script.
 
14526
available_tags=""
 
14527
 
 
14528
# ### BEGIN LIBTOOL CONFIG
 
14529
 
 
14530
# Assembler program.
 
14531
AS=$AS
 
14532
 
 
14533
# DLL creation program.
 
14534
DLLTOOL=$DLLTOOL
 
14535
 
 
14536
# Object dumper program.
 
14537
OBJDUMP=$OBJDUMP
 
14538
 
 
14539
# Which release of libtool.m4 was used?
 
14540
macro_version=$macro_version
 
14541
macro_revision=$macro_revision
 
14542
 
 
14543
# Whether or not to build shared libraries.
 
14544
build_libtool_libs=$enable_shared
 
14545
 
 
14546
# Whether or not to build static libraries.
 
14547
build_old_libs=$enable_static
 
14548
 
 
14549
# What type of objects to build.
 
14550
pic_mode=$pic_mode
 
14551
 
 
14552
# Whether or not to optimize for fast installation.
 
14553
fast_install=$enable_fast_install
 
14554
 
 
14555
# The host system.
 
14556
host_alias=$host_alias
 
14557
host=$host
 
14558
host_os=$host_os
 
14559
 
 
14560
# The build system.
 
14561
build_alias=$build_alias
 
14562
build=$build
 
14563
build_os=$build_os
 
14564
 
 
14565
# A sed program that does not truncate output.
 
14566
SED=$lt_SED
 
14567
 
 
14568
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
14569
Xsed="\$SED -e 1s/^X//"
 
14570
 
 
14571
# A grep program that handles long lines.
 
14572
GREP=$lt_GREP
 
14573
 
 
14574
# An ERE matcher.
 
14575
EGREP=$lt_EGREP
 
14576
 
 
14577
# A literal string matcher.
 
14578
FGREP=$lt_FGREP
 
14579
 
 
14580
# A BSD- or MS-compatible name lister.
 
14581
NM=$lt_NM
 
14582
 
 
14583
# Whether we need soft or hard links.
 
14584
LN_S=$lt_LN_S
 
14585
 
 
14586
# What is the maximum length of a command?
 
14587
max_cmd_len=$max_cmd_len
 
14588
 
 
14589
# Object file suffix (normally "o").
 
14590
objext=$ac_objext
 
14591
 
 
14592
# Executable file suffix (normally "").
 
14593
exeext=$exeext
 
14594
 
 
14595
# whether the shell understands "unset".
 
14596
lt_unset=$lt_unset
 
14597
 
 
14598
# turn spaces into newlines.
 
14599
SP2NL=$lt_lt_SP2NL
 
14600
 
 
14601
# turn newlines into spaces.
 
14602
NL2SP=$lt_lt_NL2SP
 
14603
 
 
14604
# How to create reloadable object files.
 
14605
reload_flag=$lt_reload_flag
 
14606
reload_cmds=$lt_reload_cmds
 
14607
 
 
14608
# Method to check whether dependent libraries are shared objects.
 
14609
deplibs_check_method=$lt_deplibs_check_method
 
14610
 
 
14611
# Command to use when deplibs_check_method == "file_magic".
 
14612
file_magic_cmd=$lt_file_magic_cmd
 
14613
 
 
14614
# The archiver.
 
14615
AR=$lt_AR
 
14616
AR_FLAGS=$lt_AR_FLAGS
 
14617
 
 
14618
# A symbol stripping program.
 
14619
STRIP=$lt_STRIP
 
14620
 
 
14621
# Commands used to install an old-style archive.
 
14622
RANLIB=$lt_RANLIB
 
14623
old_postinstall_cmds=$lt_old_postinstall_cmds
 
14624
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
14625
 
 
14626
# A C compiler.
 
14627
LTCC=$lt_CC
 
14628
 
 
14629
# LTCC compiler flags.
 
14630
LTCFLAGS=$lt_CFLAGS
 
14631
 
 
14632
# Take the output of nm and produce a listing of raw symbols and C names.
 
14633
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
14634
 
 
14635
# Transform the output of nm in a proper C declaration.
 
14636
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
14637
 
 
14638
# Transform the output of nm in a C name address pair.
 
14639
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
14640
 
 
14641
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
14642
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
14643
 
 
14644
# The name of the directory that contains temporary libtool files.
 
14645
objdir=$objdir
 
14646
 
 
14647
# Shell to use when invoking shell scripts.
 
14648
SHELL=$lt_SHELL
 
14649
 
 
14650
# An echo program that does not interpret backslashes.
 
14651
ECHO=$lt_ECHO
 
14652
 
 
14653
# Used to examine libraries when file_magic_cmd begins with "file".
 
14654
MAGIC_CMD=$MAGIC_CMD
 
14655
 
 
14656
# Must we lock files when doing compilation?
 
14657
need_locks=$lt_need_locks
 
14658
 
 
14659
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
14660
DSYMUTIL=$lt_DSYMUTIL
 
14661
 
 
14662
# Tool to change global to local symbols on Mac OS X.
 
14663
NMEDIT=$lt_NMEDIT
 
14664
 
 
14665
# Tool to manipulate fat objects and archives on Mac OS X.
 
14666
LIPO=$lt_LIPO
 
14667
 
 
14668
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
14669
OTOOL=$lt_OTOOL
 
14670
 
 
14671
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
14672
OTOOL64=$lt_OTOOL64
 
14673
 
 
14674
# Old archive suffix (normally "a").
 
14675
libext=$libext
 
14676
 
 
14677
# Shared library suffix (normally ".so").
 
14678
shrext_cmds=$lt_shrext_cmds
 
14679
 
 
14680
# The commands to extract the exported symbol list from a shared archive.
 
14681
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
14682
 
 
14683
# Variables whose values should be saved in libtool wrapper scripts and
 
14684
# restored at link time.
 
14685
variables_saved_for_relink=$lt_variables_saved_for_relink
 
14686
 
 
14687
# Do we need the "lib" prefix for modules?
 
14688
need_lib_prefix=$need_lib_prefix
 
14689
 
 
14690
# Do we need a version for libraries?
 
14691
need_version=$need_version
 
14692
 
 
14693
# Library versioning type.
 
14694
version_type=$version_type
 
14695
 
 
14696
# Shared library runtime path variable.
 
14697
runpath_var=$runpath_var
 
14698
 
 
14699
# Shared library path variable.
 
14700
shlibpath_var=$shlibpath_var
 
14701
 
 
14702
# Is shlibpath searched before the hard-coded library search path?
 
14703
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
14704
 
 
14705
# Format of library name prefix.
 
14706
libname_spec=$lt_libname_spec
 
14707
 
 
14708
# List of archive names.  First name is the real one, the rest are links.
 
14709
# The last name is the one that the linker finds with -lNAME
 
14710
library_names_spec=$lt_library_names_spec
 
14711
 
 
14712
# The coded name of the library, if different from the real name.
 
14713
soname_spec=$lt_soname_spec
 
14714
 
 
14715
# Command to use after installation of a shared archive.
 
14716
postinstall_cmds=$lt_postinstall_cmds
 
14717
 
 
14718
# Command to use after uninstallation of a shared archive.
 
14719
postuninstall_cmds=$lt_postuninstall_cmds
 
14720
 
 
14721
# Commands used to finish a libtool library installation in a directory.
 
14722
finish_cmds=$lt_finish_cmds
 
14723
 
 
14724
# As "finish_cmds", except a single script fragment to be evaled but
 
14725
# not shown.
 
14726
finish_eval=$lt_finish_eval
 
14727
 
 
14728
# Whether we should hardcode library paths into libraries.
 
14729
hardcode_into_libs=$hardcode_into_libs
 
14730
 
 
14731
# Compile-time system search path for libraries.
 
14732
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
14733
 
 
14734
# Run-time system search path for libraries.
 
14735
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
14736
 
 
14737
# Whether dlopen is supported.
 
14738
dlopen_support=$enable_dlopen
 
14739
 
 
14740
# Whether dlopen of programs is supported.
 
14741
dlopen_self=$enable_dlopen_self
 
14742
 
 
14743
# Whether dlopen of statically linked programs is supported.
 
14744
dlopen_self_static=$enable_dlopen_self_static
 
14745
 
 
14746
# Commands to strip libraries.
 
14747
old_striplib=$lt_old_striplib
 
14748
striplib=$lt_striplib
 
14749
 
 
14750
 
 
14751
# The linker used to build libraries.
 
14752
LD=$lt_LD
 
14753
 
 
14754
# Commands used to build an old-style archive.
 
14755
old_archive_cmds=$lt_old_archive_cmds
 
14756
 
 
14757
# A language specific compiler.
 
14758
CC=$lt_compiler
 
14759
 
 
14760
# Is the compiler the GNU compiler?
 
14761
with_gcc=$GCC
 
14762
 
 
14763
# Compiler flag to turn off builtin functions.
 
14764
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
14765
 
 
14766
# How to pass a linker flag through the compiler.
 
14767
wl=$lt_lt_prog_compiler_wl
 
14768
 
 
14769
# Additional compiler flags for building library objects.
 
14770
pic_flag=$lt_lt_prog_compiler_pic
 
14771
 
 
14772
# Compiler flag to prevent dynamic linking.
 
14773
link_static_flag=$lt_lt_prog_compiler_static
 
14774
 
 
14775
# Does compiler simultaneously support -c and -o options?
 
14776
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
14777
 
 
14778
# Whether or not to add -lc for building shared libraries.
 
14779
build_libtool_need_lc=$archive_cmds_need_lc
 
14780
 
 
14781
# Whether or not to disallow shared libs when runtime libs are static.
 
14782
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
14783
 
 
14784
# Compiler flag to allow reflexive dlopens.
 
14785
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
14786
 
 
14787
# Compiler flag to generate shared objects directly from archives.
 
14788
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
14789
 
 
14790
# Whether the compiler copes with passing no objects directly.
 
14791
compiler_needs_object=$lt_compiler_needs_object
 
14792
 
 
14793
# Create an old-style archive from a shared archive.
 
14794
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
14795
 
 
14796
# Create a temporary old-style archive to link instead of a shared archive.
 
14797
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
14798
 
 
14799
# Commands used to build a shared archive.
 
14800
archive_cmds=$lt_archive_cmds
 
14801
archive_expsym_cmds=$lt_archive_expsym_cmds
 
14802
 
 
14803
# Commands used to build a loadable module if different from building
 
14804
# a shared archive.
 
14805
module_cmds=$lt_module_cmds
 
14806
module_expsym_cmds=$lt_module_expsym_cmds
 
14807
 
 
14808
# Whether we are building with GNU ld or not.
 
14809
with_gnu_ld=$lt_with_gnu_ld
 
14810
 
 
14811
# Flag that allows shared libraries with undefined symbols to be built.
 
14812
allow_undefined_flag=$lt_allow_undefined_flag
 
14813
 
 
14814
# Flag that enforces no undefined symbols.
 
14815
no_undefined_flag=$lt_no_undefined_flag
 
14816
 
 
14817
# Flag to hardcode \$libdir into a binary during linking.
 
14818
# This must work even if \$libdir does not exist
 
14819
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
14820
 
 
14821
# If ld is used when linking, flag to hardcode \$libdir into a binary
 
14822
# during linking.  This must work even if \$libdir does not exist.
 
14823
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 
14824
 
 
14825
# Whether we need a single "-rpath" flag with a separated argument.
 
14826
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
14827
 
 
14828
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
14829
# DIR into the resulting binary.
 
14830
hardcode_direct=$hardcode_direct
 
14831
 
 
14832
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
14833
# DIR into the resulting binary and the resulting library dependency is
 
14834
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
14835
# library is relocated.
 
14836
hardcode_direct_absolute=$hardcode_direct_absolute
 
14837
 
 
14838
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
14839
# into the resulting binary.
 
14840
hardcode_minus_L=$hardcode_minus_L
 
14841
 
 
14842
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
14843
# into the resulting binary.
 
14844
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
14845
 
 
14846
# Set to "yes" if building a shared library automatically hardcodes DIR
 
14847
# into the library and all subsequent libraries and executables linked
 
14848
# against it.
 
14849
hardcode_automatic=$hardcode_automatic
 
14850
 
 
14851
# Set to yes if linker adds runtime paths of dependent libraries
 
14852
# to runtime path list.
 
14853
inherit_rpath=$inherit_rpath
 
14854
 
 
14855
# Whether libtool must link a program against all its dependency libraries.
 
14856
link_all_deplibs=$link_all_deplibs
 
14857
 
 
14858
# Fix the shell variable \$srcfile for the compiler.
 
14859
fix_srcfile_path=$lt_fix_srcfile_path
 
14860
 
 
14861
# Set to "yes" if exported symbols are required.
 
14862
always_export_symbols=$always_export_symbols
 
14863
 
 
14864
# The commands to list exported symbols.
 
14865
export_symbols_cmds=$lt_export_symbols_cmds
 
14866
 
 
14867
# Symbols that should not be listed in the preloaded symbols.
 
14868
exclude_expsyms=$lt_exclude_expsyms
 
14869
 
 
14870
# Symbols that must always be exported.
 
14871
include_expsyms=$lt_include_expsyms
 
14872
 
 
14873
# Commands necessary for linking programs (against libraries) with templates.
 
14874
prelink_cmds=$lt_prelink_cmds
 
14875
 
 
14876
# Specify filename containing input files.
 
14877
file_list_spec=$lt_file_list_spec
 
14878
 
 
14879
# How to hardcode a shared library path into an executable.
 
14880
hardcode_action=$hardcode_action
 
14881
 
 
14882
# ### END LIBTOOL CONFIG
 
14883
 
 
14884
_LT_EOF
 
14885
 
 
14886
  case $host_os in
 
14887
  aix3*)
 
14888
    cat <<\_LT_EOF >> "$cfgfile"
 
14889
# AIX sometimes has problems with the GCC collect2 program.  For some
 
14890
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
14891
# vanish in a puff of smoke.
 
14892
if test "X${COLLECT_NAMES+set}" != Xset; then
 
14893
  COLLECT_NAMES=
 
14894
  export COLLECT_NAMES
 
14895
fi
 
14896
_LT_EOF
 
14897
    ;;
 
14898
  esac
 
14899
 
 
14900
 
 
14901
ltmain="$ac_aux_dir/ltmain.sh"
 
14902
 
 
14903
 
 
14904
  # We use sed instead of cat because bash on DJGPP gets confused if
 
14905
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
14906
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
14907
  # is reportedly fixed, but why not run on old versions too?
 
14908
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 
14909
    || (rm -f "$cfgfile"; exit 1)
 
14910
 
 
14911
  case $xsi_shell in
 
14912
  yes)
 
14913
    cat << \_LT_EOF >> "$cfgfile"
 
14914
 
 
14915
# func_dirname file append nondir_replacement
 
14916
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
14917
# otherwise set result to NONDIR_REPLACEMENT.
 
14918
func_dirname ()
 
14919
{
 
14920
  case ${1} in
 
14921
    */*) func_dirname_result="${1%/*}${2}" ;;
 
14922
    *  ) func_dirname_result="${3}" ;;
 
14923
  esac
 
14924
}
 
14925
 
 
14926
# func_basename file
 
14927
func_basename ()
 
14928
{
 
14929
  func_basename_result="${1##*/}"
 
14930
}
 
14931
 
 
14932
# func_dirname_and_basename file append nondir_replacement
 
14933
# perform func_basename and func_dirname in a single function
 
14934
# call:
 
14935
#   dirname:  Compute the dirname of FILE.  If nonempty,
 
14936
#             add APPEND to the result, otherwise set result
 
14937
#             to NONDIR_REPLACEMENT.
 
14938
#             value returned in "$func_dirname_result"
 
14939
#   basename: Compute filename of FILE.
 
14940
#             value retuned in "$func_basename_result"
 
14941
# Implementation must be kept synchronized with func_dirname
 
14942
# and func_basename. For efficiency, we do not delegate to
 
14943
# those functions but instead duplicate the functionality here.
 
14944
func_dirname_and_basename ()
 
14945
{
 
14946
  case ${1} in
 
14947
    */*) func_dirname_result="${1%/*}${2}" ;;
 
14948
    *  ) func_dirname_result="${3}" ;;
 
14949
  esac
 
14950
  func_basename_result="${1##*/}"
 
14951
}
 
14952
 
 
14953
# func_stripname prefix suffix name
 
14954
# strip PREFIX and SUFFIX off of NAME.
 
14955
# PREFIX and SUFFIX must not contain globbing or regex special
 
14956
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
14957
# dot (in which case that matches only a dot).
 
14958
func_stripname ()
 
14959
{
 
14960
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 
14961
  # positional parameters, so assign one to ordinary parameter first.
 
14962
  func_stripname_result=${3}
 
14963
  func_stripname_result=${func_stripname_result#"${1}"}
 
14964
  func_stripname_result=${func_stripname_result%"${2}"}
 
14965
}
 
14966
 
 
14967
# func_opt_split
 
14968
func_opt_split ()
 
14969
{
 
14970
  func_opt_split_opt=${1%%=*}
 
14971
  func_opt_split_arg=${1#*=}
 
14972
}
 
14973
 
 
14974
# func_lo2o object
 
14975
func_lo2o ()
 
14976
{
 
14977
  case ${1} in
 
14978
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 
14979
    *)    func_lo2o_result=${1} ;;
 
14980
  esac
 
14981
}
 
14982
 
 
14983
# func_xform libobj-or-source
 
14984
func_xform ()
 
14985
{
 
14986
  func_xform_result=${1%.*}.lo
 
14987
}
 
14988
 
 
14989
# func_arith arithmetic-term...
 
14990
func_arith ()
 
14991
{
 
14992
  func_arith_result=$(( $* ))
 
14993
}
 
14994
 
 
14995
# func_len string
 
14996
# STRING may not start with a hyphen.
 
14997
func_len ()
 
14998
{
 
14999
  func_len_result=${#1}
 
15000
}
 
15001
 
 
15002
_LT_EOF
 
15003
    ;;
 
15004
  *) # Bourne compatible functions.
 
15005
    cat << \_LT_EOF >> "$cfgfile"
 
15006
 
 
15007
# func_dirname file append nondir_replacement
 
15008
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 
15009
# otherwise set result to NONDIR_REPLACEMENT.
 
15010
func_dirname ()
 
15011
{
 
15012
  # Extract subdirectory from the argument.
 
15013
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
15014
  if test "X$func_dirname_result" = "X${1}"; then
 
15015
    func_dirname_result="${3}"
 
15016
  else
 
15017
    func_dirname_result="$func_dirname_result${2}"
 
15018
  fi
 
15019
}
 
15020
 
 
15021
# func_basename file
 
15022
func_basename ()
 
15023
{
 
15024
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
15025
}
 
15026
 
 
15027
 
 
15028
# func_stripname prefix suffix name
 
15029
# strip PREFIX and SUFFIX off of NAME.
 
15030
# PREFIX and SUFFIX must not contain globbing or regex special
 
15031
# characters, hashes, percent signs, but SUFFIX may contain a leading
 
15032
# dot (in which case that matches only a dot).
 
15033
# func_strip_suffix prefix name
 
15034
func_stripname ()
 
15035
{
 
15036
  case ${2} in
 
15037
    .*) func_stripname_result=`$ECHO "X${3}" \
 
15038
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 
15039
    *)  func_stripname_result=`$ECHO "X${3}" \
 
15040
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
15041
  esac
 
15042
}
 
15043
 
 
15044
# sed scripts:
 
15045
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 
15046
my_sed_long_arg='1s/^-[^=]*=//'
 
15047
 
 
15048
# func_opt_split
 
15049
func_opt_split ()
 
15050
{
 
15051
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 
15052
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
15053
}
 
15054
 
 
15055
# func_lo2o object
 
15056
func_lo2o ()
 
15057
{
 
15058
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
15059
}
 
15060
 
 
15061
# func_xform libobj-or-source
 
15062
func_xform ()
 
15063
{
 
15064
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 
15065
}
 
15066
 
 
15067
# func_arith arithmetic-term...
 
15068
func_arith ()
 
15069
{
 
15070
  func_arith_result=`expr "$@"`
 
15071
}
 
15072
 
 
15073
# func_len string
 
15074
# STRING may not start with a hyphen.
 
15075
func_len ()
 
15076
{
 
15077
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 
15078
}
 
15079
 
 
15080
_LT_EOF
 
15081
esac
 
15082
 
 
15083
case $lt_shell_append in
 
15084
  yes)
 
15085
    cat << \_LT_EOF >> "$cfgfile"
 
15086
 
 
15087
# func_append var value
 
15088
# Append VALUE to the end of shell variable VAR.
 
15089
func_append ()
 
15090
{
 
15091
  eval "$1+=\$2"
 
15092
}
 
15093
_LT_EOF
 
15094
    ;;
 
15095
  *)
 
15096
    cat << \_LT_EOF >> "$cfgfile"
 
15097
 
 
15098
# func_append var value
 
15099
# Append VALUE to the end of shell variable VAR.
 
15100
func_append ()
 
15101
{
 
15102
  eval "$1=\$$1\$2"
 
15103
}
 
15104
 
 
15105
_LT_EOF
 
15106
    ;;
 
15107
  esac
 
15108
 
 
15109
 
 
15110
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 
15111
    || (rm -f "$cfgfile"; exit 1)
 
15112
 
 
15113
  mv -f "$cfgfile" "$ofile" ||
 
15114
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
15115
  chmod +x "$ofile"
 
15116
 
 
15117
 ;;
21977
15118
 
21978
15119
  esac
21979
15120
done # for ac_tag
21984
15125
chmod +x $CONFIG_STATUS
21985
15126
ac_clean_files=$ac_clean_files_save
21986
15127
 
 
15128
test $ac_write_fail = 0 ||
 
15129
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 
15130
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 
15131
   { (exit 1); exit 1; }; }
 
15132
 
21987
15133
 
21988
15134
# configure is writing to config.log, and then calls config.status.
21989
15135
# config.status does its own redirection, appending to config.log.
22005
15151
  # would make configure fail if this is the last instruction.
22006
15152
  $ac_cs_success || { (exit 1); exit 1; }
22007
15153
fi
 
15154
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
15155
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
15156
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 
15157
fi
22008
15158